PR target/68400
[official-gcc.git] / libstdc++-v3 / configure
blobefba47a1b0432e9ea5426d97f9606138948a951e
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 ENABLE_FILESYSTEM_TS_FALSE
642 ENABLE_FILESYSTEM_TS_TRUE
643 baseline_subdir_switch
644 baseline_dir
645 HWCAP_FLAGS
646 GLIBCXX_LDBL_COMPAT_FALSE
647 GLIBCXX_LDBL_COMPAT_TRUE
648 ENABLE_CXX11_ABI_FALSE
649 ENABLE_CXX11_ABI_TRUE
650 glibcxx_cxx98_abi
651 ENABLE_DUAL_ABI_FALSE
652 ENABLE_DUAL_ABI_TRUE
653 ENABLE_VISIBILITY_FALSE
654 ENABLE_VISIBILITY_TRUE
655 libtool_VERSION
656 ENABLE_SYMVERS_SUN_FALSE
657 ENABLE_SYMVERS_SUN_TRUE
658 ENABLE_SYMVERS_DARWIN_FALSE
659 ENABLE_SYMVERS_DARWIN_TRUE
660 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
661 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
662 ENABLE_SYMVERS_GNU_FALSE
663 ENABLE_SYMVERS_GNU_TRUE
664 ENABLE_SYMVERS_FALSE
665 ENABLE_SYMVERS_TRUE
666 port_specific_symbol_files
667 SYMVER_FILE
668 CXXFILT
669 LTLIBICONV
670 LIBICONV
671 OPT_LDFLAGS
672 SECTION_LDFLAGS
673 GLIBCXX_LIBS
674 ENABLE_VTABLE_VERIFY_FALSE
675 ENABLE_VTABLE_VERIFY_TRUE
676 VTV_CYGMIN_FALSE
677 VTV_CYGMIN_TRUE
678 VTV_CXXLINKFLAGS
679 VTV_PCH_CXXFLAGS
680 VTV_CXXFLAGS
681 ENABLE_WERROR_FALSE
682 ENABLE_WERROR_TRUE
683 ENABLE_PYTHONDIR_FALSE
684 ENABLE_PYTHONDIR_TRUE
685 python_mod_dir
686 ENABLE_EXTERN_TEMPLATE_FALSE
687 ENABLE_EXTERN_TEMPLATE_TRUE
688 EXTRA_CXX_FLAGS
689 GLIBCXX_BUILD_DEBUG_FALSE
690 GLIBCXX_BUILD_DEBUG_TRUE
691 DEBUG_FLAGS
692 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
693 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
694 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
695 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
696 GLIBCXX_C_HEADERS_C_STD_FALSE
697 GLIBCXX_C_HEADERS_C_STD_TRUE
698 GLIBCXX_C_HEADERS_C_FALSE
699 GLIBCXX_C_HEADERS_C_TRUE
700 C_INCLUDE_DIR
701 ALLOCATOR_NAME
702 ALLOCATOR_H
703 ENABLE_ALLOCATOR_NEW_FALSE
704 ENABLE_ALLOCATOR_NEW_TRUE
705 CLOCALE_INTERNAL_H
706 CLOCALE_CC
707 CTIME_CC
708 CTIME_H
709 CNUMERIC_CC
710 CMONEY_CC
711 CMESSAGES_CC
712 CCTYPE_CC
713 CCOLLATE_CC
714 CCODECVT_CC
715 CMESSAGES_H
716 CLOCALE_H
717 USE_NLS
718 glibcxx_localedir
719 glibcxx_POFILES
720 glibcxx_MOFILES
721 check_msgfmt
722 BASIC_FILE_CC
723 BASIC_FILE_H
724 CSTDIO_H
725 SECTION_FLAGS
726 WERROR
727 thread_header
728 glibcxx_PCHFLAGS
729 GLIBCXX_BUILD_PCH_FALSE
730 GLIBCXX_BUILD_PCH_TRUE
731 GLIBCXX_HOSTED_FALSE
732 GLIBCXX_HOSTED_TRUE
733 glibcxx_compiler_shared_flag
734 glibcxx_compiler_pic_flag
735 glibcxx_lt_pic_flag
736 enable_static
737 enable_shared
738 lt_host_flags
739 CXXCPP
740 OTOOL64
741 OTOOL
742 LIPO
743 NMEDIT
744 DSYMUTIL
745 OBJDUMP
747 ac_ct_DUMPBIN
748 DUMPBIN
750 FGREP
752 LIBTOOL
753 EGREP
754 GREP
756 MAINT
757 MAINTAINER_MODE_FALSE
758 MAINTAINER_MODE_TRUE
759 RANLIB
762 LN_S
763 toplevel_srcdir
764 toplevel_builddir
765 glibcxx_srcdir
766 glibcxx_builddir
767 ac_ct_CXX
768 CXXFLAGS
770 OBJEXT
771 EXEEXT
772 ac_ct_CC
773 CPPFLAGS
774 LDFLAGS
775 CFLAGS
777 am__untar
778 am__tar
779 AMTAR
780 am__leading_dot
781 SET_MAKE
783 mkdir_p
784 MKDIR_P
785 INSTALL_STRIP_PROGRAM
786 STRIP
787 install_sh
788 MAKEINFO
789 AUTOHEADER
790 AUTOMAKE
791 AUTOCONF
792 ACLOCAL
793 VERSION
794 PACKAGE
795 CYGPATH_W
796 am__isrc
797 INSTALL_DATA
798 INSTALL_SCRIPT
799 INSTALL_PROGRAM
800 target_os
801 target_vendor
802 target_cpu
803 target
804 host_os
805 host_vendor
806 host_cpu
807 host
808 build_os
809 build_vendor
810 build_cpu
811 build
812 multi_basedir
813 target_alias
814 host_alias
815 build_alias
816 LIBS
817 ECHO_T
818 ECHO_N
819 ECHO_C
820 DEFS
821 mandir
822 localedir
823 libdir
824 psdir
825 pdfdir
826 dvidir
827 htmldir
828 infodir
829 docdir
830 oldincludedir
831 includedir
832 localstatedir
833 sharedstatedir
834 sysconfdir
835 datadir
836 datarootdir
837 libexecdir
838 sbindir
839 bindir
840 program_transform_name
841 prefix
842 exec_prefix
843 PACKAGE_URL
844 PACKAGE_BUGREPORT
845 PACKAGE_STRING
846 PACKAGE_VERSION
847 PACKAGE_TARNAME
848 PACKAGE_NAME
849 PATH_SEPARATOR
850 SHELL'
851 ac_subst_files=''
852 ac_user_opts='
853 enable_option_checking
854 enable_multilib
855 with_target_subdir
856 with_cross_host
857 with_newlib
858 enable_maintainer_mode
859 enable_shared
860 enable_static
861 with_pic
862 enable_fast_install
863 with_gnu_ld
864 enable_libtool_lock
865 enable_hosted_libstdcxx
866 enable_libstdcxx_verbose
867 enable_libstdcxx_pch
868 enable_cstdio
869 enable_clocale
870 enable_nls
871 enable_libstdcxx_allocator
872 enable_cheaders
873 enable_long_long
874 enable_wchar_t
875 enable_c99
876 enable_concept_checks
877 enable_libstdcxx_debug_flags
878 enable_libstdcxx_debug
879 enable_cxx_flags
880 enable_fully_dynamic_string
881 enable_extern_template
882 with_python_dir
883 enable_werror
884 enable_vtable_verify
885 enable_libstdcxx_time
886 enable_tls
887 enable_rpath
888 with_libiconv_prefix
889 with_system_libunwind
890 enable_linux_futex
891 enable_symvers
892 enable_libstdcxx_visibility
893 enable_libstdcxx_dual_abi
894 with_default_libstdcxx_abi
895 enable_libstdcxx_threads
896 enable_libstdcxx_filesystem_ts
897 with_gxx_include_dir
898 enable_version_specific_runtime_libs
900 ac_precious_vars='build_alias
901 host_alias
902 target_alias
904 CFLAGS
905 LDFLAGS
906 LIBS
907 CPPFLAGS
909 CXXFLAGS
912 CXXCPP
913 CXXFILT'
916 # Initialize some variables set by options.
917 ac_init_help=
918 ac_init_version=false
919 ac_unrecognized_opts=
920 ac_unrecognized_sep=
921 # The variables have the same names as the options, with
922 # dashes changed to underlines.
923 cache_file=/dev/null
924 exec_prefix=NONE
925 no_create=
926 no_recursion=
927 prefix=NONE
928 program_prefix=NONE
929 program_suffix=NONE
930 program_transform_name=s,x,x,
931 silent=
932 site=
933 srcdir=
934 verbose=
935 x_includes=NONE
936 x_libraries=NONE
938 # Installation directory options.
939 # These are left unexpanded so users can "make install exec_prefix=/foo"
940 # and all the variables that are supposed to be based on exec_prefix
941 # by default will actually change.
942 # Use braces instead of parens because sh, perl, etc. also accept them.
943 # (The list follows the same order as the GNU Coding Standards.)
944 bindir='${exec_prefix}/bin'
945 sbindir='${exec_prefix}/sbin'
946 libexecdir='${exec_prefix}/libexec'
947 datarootdir='${prefix}/share'
948 datadir='${datarootdir}'
949 sysconfdir='${prefix}/etc'
950 sharedstatedir='${prefix}/com'
951 localstatedir='${prefix}/var'
952 includedir='${prefix}/include'
953 oldincludedir='/usr/include'
954 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
955 infodir='${datarootdir}/info'
956 htmldir='${docdir}'
957 dvidir='${docdir}'
958 pdfdir='${docdir}'
959 psdir='${docdir}'
960 libdir='${exec_prefix}/lib'
961 localedir='${datarootdir}/locale'
962 mandir='${datarootdir}/man'
964 ac_prev=
965 ac_dashdash=
966 for ac_option
968 # If the previous option needs an argument, assign it.
969 if test -n "$ac_prev"; then
970 eval $ac_prev=\$ac_option
971 ac_prev=
972 continue
975 case $ac_option in
976 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
977 *) ac_optarg=yes ;;
978 esac
980 # Accept the important Cygnus configure options, so we can diagnose typos.
982 case $ac_dashdash$ac_option in
984 ac_dashdash=yes ;;
986 -bindir | --bindir | --bindi | --bind | --bin | --bi)
987 ac_prev=bindir ;;
988 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
989 bindir=$ac_optarg ;;
991 -build | --build | --buil | --bui | --bu)
992 ac_prev=build_alias ;;
993 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
994 build_alias=$ac_optarg ;;
996 -cache-file | --cache-file | --cache-fil | --cache-fi \
997 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
998 ac_prev=cache_file ;;
999 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1000 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1001 cache_file=$ac_optarg ;;
1003 --config-cache | -C)
1004 cache_file=config.cache ;;
1006 -datadir | --datadir | --datadi | --datad)
1007 ac_prev=datadir ;;
1008 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1009 datadir=$ac_optarg ;;
1011 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1012 | --dataroo | --dataro | --datar)
1013 ac_prev=datarootdir ;;
1014 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1015 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1016 datarootdir=$ac_optarg ;;
1018 -disable-* | --disable-*)
1019 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1020 # Reject names that are not valid shell variable names.
1021 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1022 as_fn_error "invalid feature name: $ac_useropt"
1023 ac_useropt_orig=$ac_useropt
1024 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1025 case $ac_user_opts in
1027 "enable_$ac_useropt"
1028 "*) ;;
1029 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1030 ac_unrecognized_sep=', ';;
1031 esac
1032 eval enable_$ac_useropt=no ;;
1034 -docdir | --docdir | --docdi | --doc | --do)
1035 ac_prev=docdir ;;
1036 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1037 docdir=$ac_optarg ;;
1039 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1040 ac_prev=dvidir ;;
1041 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1042 dvidir=$ac_optarg ;;
1044 -enable-* | --enable-*)
1045 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1046 # Reject names that are not valid shell variable names.
1047 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1048 as_fn_error "invalid feature name: $ac_useropt"
1049 ac_useropt_orig=$ac_useropt
1050 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1051 case $ac_user_opts in
1053 "enable_$ac_useropt"
1054 "*) ;;
1055 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1056 ac_unrecognized_sep=', ';;
1057 esac
1058 eval enable_$ac_useropt=\$ac_optarg ;;
1060 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1061 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1062 | --exec | --exe | --ex)
1063 ac_prev=exec_prefix ;;
1064 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1065 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1066 | --exec=* | --exe=* | --ex=*)
1067 exec_prefix=$ac_optarg ;;
1069 -gas | --gas | --ga | --g)
1070 # Obsolete; use --with-gas.
1071 with_gas=yes ;;
1073 -help | --help | --hel | --he | -h)
1074 ac_init_help=long ;;
1075 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1076 ac_init_help=recursive ;;
1077 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1078 ac_init_help=short ;;
1080 -host | --host | --hos | --ho)
1081 ac_prev=host_alias ;;
1082 -host=* | --host=* | --hos=* | --ho=*)
1083 host_alias=$ac_optarg ;;
1085 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1086 ac_prev=htmldir ;;
1087 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1088 | --ht=*)
1089 htmldir=$ac_optarg ;;
1091 -includedir | --includedir | --includedi | --included | --include \
1092 | --includ | --inclu | --incl | --inc)
1093 ac_prev=includedir ;;
1094 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1095 | --includ=* | --inclu=* | --incl=* | --inc=*)
1096 includedir=$ac_optarg ;;
1098 -infodir | --infodir | --infodi | --infod | --info | --inf)
1099 ac_prev=infodir ;;
1100 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1101 infodir=$ac_optarg ;;
1103 -libdir | --libdir | --libdi | --libd)
1104 ac_prev=libdir ;;
1105 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1106 libdir=$ac_optarg ;;
1108 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1109 | --libexe | --libex | --libe)
1110 ac_prev=libexecdir ;;
1111 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1112 | --libexe=* | --libex=* | --libe=*)
1113 libexecdir=$ac_optarg ;;
1115 -localedir | --localedir | --localedi | --localed | --locale)
1116 ac_prev=localedir ;;
1117 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1118 localedir=$ac_optarg ;;
1120 -localstatedir | --localstatedir | --localstatedi | --localstated \
1121 | --localstate | --localstat | --localsta | --localst | --locals)
1122 ac_prev=localstatedir ;;
1123 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1124 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1125 localstatedir=$ac_optarg ;;
1127 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1128 ac_prev=mandir ;;
1129 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1130 mandir=$ac_optarg ;;
1132 -nfp | --nfp | --nf)
1133 # Obsolete; use --without-fp.
1134 with_fp=no ;;
1136 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1137 | --no-cr | --no-c | -n)
1138 no_create=yes ;;
1140 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1141 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1142 no_recursion=yes ;;
1144 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1145 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1146 | --oldin | --oldi | --old | --ol | --o)
1147 ac_prev=oldincludedir ;;
1148 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1149 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1150 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1151 oldincludedir=$ac_optarg ;;
1153 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1154 ac_prev=prefix ;;
1155 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1156 prefix=$ac_optarg ;;
1158 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1159 | --program-pre | --program-pr | --program-p)
1160 ac_prev=program_prefix ;;
1161 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1162 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1163 program_prefix=$ac_optarg ;;
1165 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1166 | --program-suf | --program-su | --program-s)
1167 ac_prev=program_suffix ;;
1168 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1169 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1170 program_suffix=$ac_optarg ;;
1172 -program-transform-name | --program-transform-name \
1173 | --program-transform-nam | --program-transform-na \
1174 | --program-transform-n | --program-transform- \
1175 | --program-transform | --program-transfor \
1176 | --program-transfo | --program-transf \
1177 | --program-trans | --program-tran \
1178 | --progr-tra | --program-tr | --program-t)
1179 ac_prev=program_transform_name ;;
1180 -program-transform-name=* | --program-transform-name=* \
1181 | --program-transform-nam=* | --program-transform-na=* \
1182 | --program-transform-n=* | --program-transform-=* \
1183 | --program-transform=* | --program-transfor=* \
1184 | --program-transfo=* | --program-transf=* \
1185 | --program-trans=* | --program-tran=* \
1186 | --progr-tra=* | --program-tr=* | --program-t=*)
1187 program_transform_name=$ac_optarg ;;
1189 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1190 ac_prev=pdfdir ;;
1191 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1192 pdfdir=$ac_optarg ;;
1194 -psdir | --psdir | --psdi | --psd | --ps)
1195 ac_prev=psdir ;;
1196 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1197 psdir=$ac_optarg ;;
1199 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1200 | -silent | --silent | --silen | --sile | --sil)
1201 silent=yes ;;
1203 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1204 ac_prev=sbindir ;;
1205 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1206 | --sbi=* | --sb=*)
1207 sbindir=$ac_optarg ;;
1209 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1210 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1211 | --sharedst | --shareds | --shared | --share | --shar \
1212 | --sha | --sh)
1213 ac_prev=sharedstatedir ;;
1214 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1215 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1216 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1217 | --sha=* | --sh=*)
1218 sharedstatedir=$ac_optarg ;;
1220 -site | --site | --sit)
1221 ac_prev=site ;;
1222 -site=* | --site=* | --sit=*)
1223 site=$ac_optarg ;;
1225 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1226 ac_prev=srcdir ;;
1227 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1228 srcdir=$ac_optarg ;;
1230 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1231 | --syscon | --sysco | --sysc | --sys | --sy)
1232 ac_prev=sysconfdir ;;
1233 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1234 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1235 sysconfdir=$ac_optarg ;;
1237 -target | --target | --targe | --targ | --tar | --ta | --t)
1238 ac_prev=target_alias ;;
1239 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1240 target_alias=$ac_optarg ;;
1242 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1243 verbose=yes ;;
1245 -version | --version | --versio | --versi | --vers | -V)
1246 ac_init_version=: ;;
1248 -with-* | --with-*)
1249 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1250 # Reject names that are not valid shell variable names.
1251 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1252 as_fn_error "invalid package name: $ac_useropt"
1253 ac_useropt_orig=$ac_useropt
1254 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1255 case $ac_user_opts in
1257 "with_$ac_useropt"
1258 "*) ;;
1259 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1260 ac_unrecognized_sep=', ';;
1261 esac
1262 eval with_$ac_useropt=\$ac_optarg ;;
1264 -without-* | --without-*)
1265 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1266 # Reject names that are not valid shell variable names.
1267 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1268 as_fn_error "invalid package name: $ac_useropt"
1269 ac_useropt_orig=$ac_useropt
1270 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1271 case $ac_user_opts in
1273 "with_$ac_useropt"
1274 "*) ;;
1275 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1276 ac_unrecognized_sep=', ';;
1277 esac
1278 eval with_$ac_useropt=no ;;
1280 --x)
1281 # Obsolete; use --with-x.
1282 with_x=yes ;;
1284 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1285 | --x-incl | --x-inc | --x-in | --x-i)
1286 ac_prev=x_includes ;;
1287 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1288 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1289 x_includes=$ac_optarg ;;
1291 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1292 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1293 ac_prev=x_libraries ;;
1294 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1295 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1296 x_libraries=$ac_optarg ;;
1298 -*) as_fn_error "unrecognized option: \`$ac_option'
1299 Try \`$0 --help' for more information."
1302 *=*)
1303 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1304 # Reject names that are not valid shell variable names.
1305 case $ac_envvar in #(
1306 '' | [0-9]* | *[!_$as_cr_alnum]* )
1307 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1308 esac
1309 eval $ac_envvar=\$ac_optarg
1310 export $ac_envvar ;;
1313 # FIXME: should be removed in autoconf 3.0.
1314 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1315 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1316 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1317 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1320 esac
1321 done
1323 if test -n "$ac_prev"; then
1324 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1325 as_fn_error "missing argument to $ac_option"
1328 if test -n "$ac_unrecognized_opts"; then
1329 case $enable_option_checking in
1330 no) ;;
1331 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1332 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1333 esac
1336 # Check all directory arguments for consistency.
1337 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1338 datadir sysconfdir sharedstatedir localstatedir includedir \
1339 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1340 libdir localedir mandir
1342 eval ac_val=\$$ac_var
1343 # Remove trailing slashes.
1344 case $ac_val in
1345 */ )
1346 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1347 eval $ac_var=\$ac_val;;
1348 esac
1349 # Be sure to have absolute directory names.
1350 case $ac_val in
1351 [\\/$]* | ?:[\\/]* ) continue;;
1352 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1353 esac
1354 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1355 done
1357 # There might be people who depend on the old broken behavior: `$host'
1358 # used to hold the argument of --host etc.
1359 # FIXME: To remove some day.
1360 build=$build_alias
1361 host=$host_alias
1362 target=$target_alias
1364 # FIXME: To remove some day.
1365 if test "x$host_alias" != x; then
1366 if test "x$build_alias" = x; then
1367 cross_compiling=maybe
1368 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1369 If a cross compiler is detected then cross compile mode will be used." >&2
1370 elif test "x$build_alias" != "x$host_alias"; then
1371 cross_compiling=yes
1375 ac_tool_prefix=
1376 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1378 test "$silent" = yes && exec 6>/dev/null
1381 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1382 ac_ls_di=`ls -di .` &&
1383 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1384 as_fn_error "working directory cannot be determined"
1385 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1386 as_fn_error "pwd does not report name of working directory"
1389 # Find the source files, if location was not specified.
1390 if test -z "$srcdir"; then
1391 ac_srcdir_defaulted=yes
1392 # Try the directory containing this script, then the parent directory.
1393 ac_confdir=`$as_dirname -- "$as_myself" ||
1394 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1395 X"$as_myself" : 'X\(//\)[^/]' \| \
1396 X"$as_myself" : 'X\(//\)$' \| \
1397 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1398 $as_echo X"$as_myself" |
1399 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1400 s//\1/
1403 /^X\(\/\/\)[^/].*/{
1404 s//\1/
1407 /^X\(\/\/\)$/{
1408 s//\1/
1411 /^X\(\/\).*/{
1412 s//\1/
1415 s/.*/./; q'`
1416 srcdir=$ac_confdir
1417 if test ! -r "$srcdir/$ac_unique_file"; then
1418 srcdir=..
1420 else
1421 ac_srcdir_defaulted=no
1423 if test ! -r "$srcdir/$ac_unique_file"; then
1424 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1425 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1427 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1428 ac_abs_confdir=`(
1429 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1430 pwd)`
1431 # When building in place, set srcdir=.
1432 if test "$ac_abs_confdir" = "$ac_pwd"; then
1433 srcdir=.
1435 # Remove unnecessary trailing slashes from srcdir.
1436 # Double slashes in file names in object file debugging info
1437 # mess up M-x gdb in Emacs.
1438 case $srcdir in
1439 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1440 esac
1441 for ac_var in $ac_precious_vars; do
1442 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1443 eval ac_env_${ac_var}_value=\$${ac_var}
1444 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1445 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1446 done
1449 # Report the --help message.
1451 if test "$ac_init_help" = "long"; then
1452 # Omit some internal or obsolete options to make the list less imposing.
1453 # This message is too long to be a string in the A/UX 3.1 sh.
1454 cat <<_ACEOF
1455 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1457 Usage: $0 [OPTION]... [VAR=VALUE]...
1459 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1460 VAR=VALUE. See below for descriptions of some of the useful variables.
1462 Defaults for the options are specified in brackets.
1464 Configuration:
1465 -h, --help display this help and exit
1466 --help=short display options specific to this package
1467 --help=recursive display the short help of all the included packages
1468 -V, --version display version information and exit
1469 -q, --quiet, --silent do not print \`checking...' messages
1470 --cache-file=FILE cache test results in FILE [disabled]
1471 -C, --config-cache alias for \`--cache-file=config.cache'
1472 -n, --no-create do not create output files
1473 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1475 Installation directories:
1476 --prefix=PREFIX install architecture-independent files in PREFIX
1477 [$ac_default_prefix]
1478 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1479 [PREFIX]
1481 By default, \`make install' will install all the files in
1482 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1483 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1484 for instance \`--prefix=\$HOME'.
1486 For better control, use the options below.
1488 Fine tuning of the installation directories:
1489 --bindir=DIR user executables [EPREFIX/bin]
1490 --sbindir=DIR system admin executables [EPREFIX/sbin]
1491 --libexecdir=DIR program executables [EPREFIX/libexec]
1492 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1493 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1494 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1495 --libdir=DIR object code libraries [EPREFIX/lib]
1496 --includedir=DIR C header files [PREFIX/include]
1497 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1498 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1499 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1500 --infodir=DIR info documentation [DATAROOTDIR/info]
1501 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1502 --mandir=DIR man documentation [DATAROOTDIR/man]
1503 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1504 --htmldir=DIR html documentation [DOCDIR]
1505 --dvidir=DIR dvi documentation [DOCDIR]
1506 --pdfdir=DIR pdf documentation [DOCDIR]
1507 --psdir=DIR ps documentation [DOCDIR]
1508 _ACEOF
1510 cat <<\_ACEOF
1512 Program names:
1513 --program-prefix=PREFIX prepend PREFIX to installed program names
1514 --program-suffix=SUFFIX append SUFFIX to installed program names
1515 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1517 System types:
1518 --build=BUILD configure for building on BUILD [guessed]
1519 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1520 --target=TARGET configure for building compilers for TARGET [HOST]
1521 _ACEOF
1524 if test -n "$ac_init_help"; then
1525 case $ac_init_help in
1526 short | recursive ) echo "Configuration of package-unused version-unused:";;
1527 esac
1528 cat <<\_ACEOF
1530 Optional Features:
1531 --disable-option-checking ignore unrecognized --enable/--with options
1532 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1533 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1534 --enable-multilib build many library versions (default)
1535 --enable-maintainer-mode enable make rules and dependencies not useful
1536 (and sometimes confusing) to the casual installer
1537 --enable-shared[=PKGS] build shared libraries [default=yes]
1538 --enable-static[=PKGS] build static libraries [default=yes]
1539 --enable-fast-install[=PKGS]
1540 optimize for fast installation [default=yes]
1541 --disable-libtool-lock avoid locking (might break parallel builds)
1542 --disable-hosted-libstdcxx
1543 only build freestanding C++ runtime support
1544 --disable-libstdcxx-verbose
1545 disable termination messages to standard error
1546 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1547 [default=$is_hosted]
1548 --enable-cstdio[=PACKAGE]
1549 use target-specific I/O package [default=stdio]
1550 --enable-clocale[=MODEL]
1551 use MODEL for target locale package [default=auto]
1552 --enable-nls use Native Language Support (default)
1553 --enable-libstdcxx-allocator[=KIND]
1554 use KIND for target std::allocator base
1555 [default=auto]
1556 --enable-cheaders[=KIND]
1557 construct "C" headers for g++ [default=$c_model]
1558 --enable-long-long enable template specializations for 'long long'
1559 [default=yes]
1560 --enable-wchar_t enable template specializations for 'wchar_t'
1561 [default=yes]
1562 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1563 --enable-concept-checks use Boost-derived template checks [default=no]
1564 --enable-libstdcxx-debug-flags=FLAGS
1565 pass compiler FLAGS when building debug library
1566 [default="-gdwarf-4 -g3 -O0"]
1567 --enable-libstdcxx-debug
1568 build extra debug library [default=no]
1569 --enable-cxx-flags=FLAGS
1570 pass compiler FLAGS when building library [default=]
1571 --enable-fully-dynamic-string
1572 do not put empty strings in per-process static
1573 memory [default=no]
1574 --enable-extern-template
1575 enable extern template [default=yes]
1576 --enable-werror turns on -Werror [default=yes]
1577 --enable-vtable-verify enable vtable verify [default=no]
1578 --enable-libstdcxx-time[=KIND]
1579 use KIND for check type [default=auto]
1580 --enable-tls Use thread-local storage [default=yes]
1581 --disable-rpath do not hardcode runtime library paths
1582 --enable-linux-futex use the Linux futex system call [default=default]
1583 --enable-symvers[=STYLE]
1584 enables symbol versioning of the shared library
1585 [default=yes]
1586 --enable-libstdcxx-visibility
1587 enables visibility safe usage [default=yes]
1588 --enable-libstdcxx-dual-abi
1589 support two versions of std::string [default=yes]
1590 --enable-libstdcxx-threads
1591 enable C++11 threads support [default=auto]
1592 --enable-libstdcxx-filesystem-ts
1593 turns on ISO/IEC TS 18822 support [default=auto]
1594 --enable-version-specific-runtime-libs
1595 Specify that runtime libraries should be installed
1596 in a compiler-specific directory
1598 Optional Packages:
1599 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1600 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1601 --with-target-subdir=SUBDIR
1602 configuring in a subdirectory
1603 --with-cross-host=HOST configuring with a cross compiler
1604 --with-newlib assume newlib as a system C library
1605 --with-pic try to use only PIC/non-PIC objects [default=use
1606 both]
1607 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1608 --with-python-dir the location to install Python modules. This path is
1609 relative starting from the prefix.
1610 --with-gnu-ld assume the C compiler uses GNU ld default=no
1611 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1612 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1613 --with-system-libunwind use installed libunwind
1614 --with-default-libstdcxx-abi
1615 set the std::string ABI to use by default
1616 --with-gxx-include-dir=DIR
1617 installation directory for include files
1619 Some influential environment variables:
1620 CC C compiler command
1621 CFLAGS C compiler flags
1622 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1623 nonstandard directory <lib dir>
1624 LIBS libraries to pass to the linker, e.g. -l<library>
1625 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1626 you have headers in a nonstandard directory <include dir>
1627 CXX C++ compiler command
1628 CXXFLAGS C++ compiler flags
1629 CPP C preprocessor
1630 CXXCPP C++ preprocessor
1631 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1632 `c++filt', `gc++filt' on PATH.
1634 Use these variables to override the choices made by `configure' or to help
1635 it to find libraries and programs with nonstandard names/locations.
1637 Report bugs to the package provider.
1638 _ACEOF
1639 ac_status=$?
1642 if test "$ac_init_help" = "recursive"; then
1643 # If there are subdirs, report their specific --help.
1644 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1645 test -d "$ac_dir" ||
1646 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1647 continue
1648 ac_builddir=.
1650 case "$ac_dir" in
1651 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1653 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1654 # A ".." for each directory in $ac_dir_suffix.
1655 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1656 case $ac_top_builddir_sub in
1657 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1658 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1659 esac ;;
1660 esac
1661 ac_abs_top_builddir=$ac_pwd
1662 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1663 # for backward compatibility:
1664 ac_top_builddir=$ac_top_build_prefix
1666 case $srcdir in
1667 .) # We are building in place.
1668 ac_srcdir=.
1669 ac_top_srcdir=$ac_top_builddir_sub
1670 ac_abs_top_srcdir=$ac_pwd ;;
1671 [\\/]* | ?:[\\/]* ) # Absolute name.
1672 ac_srcdir=$srcdir$ac_dir_suffix;
1673 ac_top_srcdir=$srcdir
1674 ac_abs_top_srcdir=$srcdir ;;
1675 *) # Relative name.
1676 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1677 ac_top_srcdir=$ac_top_build_prefix$srcdir
1678 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1679 esac
1680 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1682 cd "$ac_dir" || { ac_status=$?; continue; }
1683 # Check for guested configure.
1684 if test -f "$ac_srcdir/configure.gnu"; then
1685 echo &&
1686 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1687 elif test -f "$ac_srcdir/configure"; then
1688 echo &&
1689 $SHELL "$ac_srcdir/configure" --help=recursive
1690 else
1691 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1692 fi || ac_status=$?
1693 cd "$ac_pwd" || { ac_status=$?; break; }
1694 done
1697 test -n "$ac_init_help" && exit $ac_status
1698 if $ac_init_version; then
1699 cat <<\_ACEOF
1700 package-unused configure version-unused
1701 generated by GNU Autoconf 2.64
1703 Copyright (C) 2009 Free Software Foundation, Inc.
1704 This configure script is free software; the Free Software Foundation
1705 gives unlimited permission to copy, distribute and modify it.
1706 _ACEOF
1707 exit
1710 ## ------------------------ ##
1711 ## Autoconf initialization. ##
1712 ## ------------------------ ##
1714 # ac_fn_c_try_compile LINENO
1715 # --------------------------
1716 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1717 ac_fn_c_try_compile ()
1719 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1720 rm -f conftest.$ac_objext
1721 if { { ac_try="$ac_compile"
1722 case "(($ac_try" in
1723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1724 *) ac_try_echo=$ac_try;;
1725 esac
1726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1727 $as_echo "$ac_try_echo"; } >&5
1728 (eval "$ac_compile") 2>conftest.err
1729 ac_status=$?
1730 if test -s conftest.err; then
1731 grep -v '^ *+' conftest.err >conftest.er1
1732 cat conftest.er1 >&5
1733 mv -f conftest.er1 conftest.err
1735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1736 test $ac_status = 0; } && {
1737 test -z "$ac_c_werror_flag" ||
1738 test ! -s conftest.err
1739 } && test -s conftest.$ac_objext; then :
1740 ac_retval=0
1741 else
1742 $as_echo "$as_me: failed program was:" >&5
1743 sed 's/^/| /' conftest.$ac_ext >&5
1745 ac_retval=1
1747 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1748 return $ac_retval
1750 } # ac_fn_c_try_compile
1752 # ac_fn_cxx_try_compile LINENO
1753 # ----------------------------
1754 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1755 ac_fn_cxx_try_compile ()
1757 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1758 rm -f conftest.$ac_objext
1759 if { { ac_try="$ac_compile"
1760 case "(($ac_try" in
1761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1762 *) ac_try_echo=$ac_try;;
1763 esac
1764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1765 $as_echo "$ac_try_echo"; } >&5
1766 (eval "$ac_compile") 2>conftest.err
1767 ac_status=$?
1768 if test -s conftest.err; then
1769 grep -v '^ *+' conftest.err >conftest.er1
1770 cat conftest.er1 >&5
1771 mv -f conftest.er1 conftest.err
1773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1774 test $ac_status = 0; } && {
1775 test -z "$ac_cxx_werror_flag" ||
1776 test ! -s conftest.err
1777 } && test -s conftest.$ac_objext; then :
1778 ac_retval=0
1779 else
1780 $as_echo "$as_me: failed program was:" >&5
1781 sed 's/^/| /' conftest.$ac_ext >&5
1783 ac_retval=1
1785 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1786 return $ac_retval
1788 } # ac_fn_cxx_try_compile
1790 # ac_fn_c_try_cpp LINENO
1791 # ----------------------
1792 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1793 ac_fn_c_try_cpp ()
1795 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1796 if { { ac_try="$ac_cpp conftest.$ac_ext"
1797 case "(($ac_try" in
1798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1799 *) ac_try_echo=$ac_try;;
1800 esac
1801 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1802 $as_echo "$ac_try_echo"; } >&5
1803 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1804 ac_status=$?
1805 if test -s conftest.err; then
1806 grep -v '^ *+' conftest.err >conftest.er1
1807 cat conftest.er1 >&5
1808 mv -f conftest.er1 conftest.err
1810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1811 test $ac_status = 0; } >/dev/null && {
1812 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1813 test ! -s conftest.err
1814 }; then :
1815 ac_retval=0
1816 else
1817 $as_echo "$as_me: failed program was:" >&5
1818 sed 's/^/| /' conftest.$ac_ext >&5
1820 ac_retval=1
1822 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1823 return $ac_retval
1825 } # ac_fn_c_try_cpp
1827 # ac_fn_c_try_link LINENO
1828 # -----------------------
1829 # Try to link conftest.$ac_ext, and return whether this succeeded.
1830 ac_fn_c_try_link ()
1832 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1833 rm -f conftest.$ac_objext conftest$ac_exeext
1834 if { { ac_try="$ac_link"
1835 case "(($ac_try" in
1836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1837 *) ac_try_echo=$ac_try;;
1838 esac
1839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1840 $as_echo "$ac_try_echo"; } >&5
1841 (eval "$ac_link") 2>conftest.err
1842 ac_status=$?
1843 if test -s conftest.err; then
1844 grep -v '^ *+' conftest.err >conftest.er1
1845 cat conftest.er1 >&5
1846 mv -f conftest.er1 conftest.err
1848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1849 test $ac_status = 0; } && {
1850 test -z "$ac_c_werror_flag" ||
1851 test ! -s conftest.err
1852 } && test -s conftest$ac_exeext && {
1853 test "$cross_compiling" = yes ||
1854 $as_test_x conftest$ac_exeext
1855 }; then :
1856 ac_retval=0
1857 else
1858 $as_echo "$as_me: failed program was:" >&5
1859 sed 's/^/| /' conftest.$ac_ext >&5
1861 ac_retval=1
1863 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1864 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1865 # interfere with the next link command; also delete a directory that is
1866 # left behind by Apple's compiler. We do this before executing the actions.
1867 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1868 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1869 return $ac_retval
1871 } # ac_fn_c_try_link
1873 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1874 # -------------------------------------------------------
1875 # Tests whether HEADER exists and can be compiled using the include files in
1876 # INCLUDES, setting the cache variable VAR accordingly.
1877 ac_fn_c_check_header_compile ()
1879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1881 $as_echo_n "checking for $2... " >&6; }
1882 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1883 $as_echo_n "(cached) " >&6
1884 else
1885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1886 /* end confdefs.h. */
1888 #include <$2>
1889 _ACEOF
1890 if ac_fn_c_try_compile "$LINENO"; then :
1891 eval "$3=yes"
1892 else
1893 eval "$3=no"
1895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1897 eval ac_res=\$$3
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1899 $as_echo "$ac_res" >&6; }
1900 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1902 } # ac_fn_c_check_header_compile
1904 # ac_fn_c_try_run LINENO
1905 # ----------------------
1906 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1907 # that executables *can* be run.
1908 ac_fn_c_try_run ()
1910 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1911 if { { ac_try="$ac_link"
1912 case "(($ac_try" in
1913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1914 *) ac_try_echo=$ac_try;;
1915 esac
1916 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1917 $as_echo "$ac_try_echo"; } >&5
1918 (eval "$ac_link") 2>&5
1919 ac_status=$?
1920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1921 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1922 { { case "(($ac_try" in
1923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1924 *) ac_try_echo=$ac_try;;
1925 esac
1926 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1927 $as_echo "$ac_try_echo"; } >&5
1928 (eval "$ac_try") 2>&5
1929 ac_status=$?
1930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1931 test $ac_status = 0; }; }; then :
1932 ac_retval=0
1933 else
1934 $as_echo "$as_me: program exited with status $ac_status" >&5
1935 $as_echo "$as_me: failed program was:" >&5
1936 sed 's/^/| /' conftest.$ac_ext >&5
1938 ac_retval=$ac_status
1940 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1941 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1942 return $ac_retval
1944 } # ac_fn_c_try_run
1946 # ac_fn_c_check_func LINENO FUNC VAR
1947 # ----------------------------------
1948 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1949 ac_fn_c_check_func ()
1951 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1953 $as_echo_n "checking for $2... " >&6; }
1954 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1955 $as_echo_n "(cached) " >&6
1956 else
1957 if test x$gcc_no_link = xyes; then
1958 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1961 /* end confdefs.h. */
1962 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1964 #define $2 innocuous_$2
1966 /* System header to define __stub macros and hopefully few prototypes,
1967 which can conflict with char $2 (); below.
1968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1969 <limits.h> exists even on freestanding compilers. */
1971 #ifdef __STDC__
1972 # include <limits.h>
1973 #else
1974 # include <assert.h>
1975 #endif
1977 #undef $2
1979 /* Override any GCC internal prototype to avoid an error.
1980 Use char because int might match the return type of a GCC
1981 builtin and then its argument prototype would still apply. */
1982 #ifdef __cplusplus
1983 extern "C"
1984 #endif
1985 char $2 ();
1986 /* The GNU C library defines this for functions which it implements
1987 to always fail with ENOSYS. Some functions are actually named
1988 something starting with __ and the normal name is an alias. */
1989 #if defined __stub_$2 || defined __stub___$2
1990 choke me
1991 #endif
1994 main ()
1996 return $2 ();
1998 return 0;
2000 _ACEOF
2001 if ac_fn_c_try_link "$LINENO"; then :
2002 eval "$3=yes"
2003 else
2004 eval "$3=no"
2006 rm -f core conftest.err conftest.$ac_objext \
2007 conftest$ac_exeext conftest.$ac_ext
2009 eval ac_res=\$$3
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2011 $as_echo "$ac_res" >&6; }
2012 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2014 } # ac_fn_c_check_func
2016 # ac_fn_cxx_try_cpp LINENO
2017 # ------------------------
2018 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2019 ac_fn_cxx_try_cpp ()
2021 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2022 if { { ac_try="$ac_cpp conftest.$ac_ext"
2023 case "(($ac_try" in
2024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2025 *) ac_try_echo=$ac_try;;
2026 esac
2027 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2028 $as_echo "$ac_try_echo"; } >&5
2029 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2030 ac_status=$?
2031 if test -s conftest.err; then
2032 grep -v '^ *+' conftest.err >conftest.er1
2033 cat conftest.er1 >&5
2034 mv -f conftest.er1 conftest.err
2036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2037 test $ac_status = 0; } >/dev/null && {
2038 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2039 test ! -s conftest.err
2040 }; then :
2041 ac_retval=0
2042 else
2043 $as_echo "$as_me: failed program was:" >&5
2044 sed 's/^/| /' conftest.$ac_ext >&5
2046 ac_retval=1
2048 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2049 return $ac_retval
2051 } # ac_fn_cxx_try_cpp
2053 # ac_fn_cxx_try_link LINENO
2054 # -------------------------
2055 # Try to link conftest.$ac_ext, and return whether this succeeded.
2056 ac_fn_cxx_try_link ()
2058 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2059 rm -f conftest.$ac_objext conftest$ac_exeext
2060 if { { ac_try="$ac_link"
2061 case "(($ac_try" in
2062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2063 *) ac_try_echo=$ac_try;;
2064 esac
2065 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2066 $as_echo "$ac_try_echo"; } >&5
2067 (eval "$ac_link") 2>conftest.err
2068 ac_status=$?
2069 if test -s conftest.err; then
2070 grep -v '^ *+' conftest.err >conftest.er1
2071 cat conftest.er1 >&5
2072 mv -f conftest.er1 conftest.err
2074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2075 test $ac_status = 0; } && {
2076 test -z "$ac_cxx_werror_flag" ||
2077 test ! -s conftest.err
2078 } && test -s conftest$ac_exeext && {
2079 test "$cross_compiling" = yes ||
2080 $as_test_x conftest$ac_exeext
2081 }; then :
2082 ac_retval=0
2083 else
2084 $as_echo "$as_me: failed program was:" >&5
2085 sed 's/^/| /' conftest.$ac_ext >&5
2087 ac_retval=1
2089 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2090 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2091 # interfere with the next link command; also delete a directory that is
2092 # left behind by Apple's compiler. We do this before executing the actions.
2093 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2094 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2095 return $ac_retval
2097 } # ac_fn_cxx_try_link
2099 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2100 # -------------------------------------------------------
2101 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2102 # the include files in INCLUDES and setting the cache variable VAR
2103 # accordingly.
2104 ac_fn_c_check_header_mongrel ()
2106 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2107 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2109 $as_echo_n "checking for $2... " >&6; }
2110 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2111 $as_echo_n "(cached) " >&6
2113 eval ac_res=\$$3
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2115 $as_echo "$ac_res" >&6; }
2116 else
2117 # Is the header compilable?
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2119 $as_echo_n "checking $2 usability... " >&6; }
2120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2121 /* end confdefs.h. */
2123 #include <$2>
2124 _ACEOF
2125 if ac_fn_c_try_compile "$LINENO"; then :
2126 ac_header_compiler=yes
2127 else
2128 ac_header_compiler=no
2130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2132 $as_echo "$ac_header_compiler" >&6; }
2134 # Is the header present?
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2136 $as_echo_n "checking $2 presence... " >&6; }
2137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2138 /* end confdefs.h. */
2139 #include <$2>
2140 _ACEOF
2141 if ac_fn_c_try_cpp "$LINENO"; then :
2142 ac_header_preproc=yes
2143 else
2144 ac_header_preproc=no
2146 rm -f conftest.err conftest.$ac_ext
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2148 $as_echo "$ac_header_preproc" >&6; }
2150 # So? What about this header?
2151 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2152 yes:no: )
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2154 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2156 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2158 no:yes:* )
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2160 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2162 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2164 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2166 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2168 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2170 esac
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2172 $as_echo_n "checking for $2... " >&6; }
2173 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2174 $as_echo_n "(cached) " >&6
2175 else
2176 eval "$3=\$ac_header_compiler"
2178 eval ac_res=\$$3
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2180 $as_echo "$ac_res" >&6; }
2182 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2184 } # ac_fn_c_check_header_mongrel
2186 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2187 # ---------------------------------------------------------
2188 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2189 # the include files in INCLUDES and setting the cache variable VAR
2190 # accordingly.
2191 ac_fn_cxx_check_header_mongrel ()
2193 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2194 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2196 $as_echo_n "checking for $2... " >&6; }
2197 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2198 $as_echo_n "(cached) " >&6
2200 eval ac_res=\$$3
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2202 $as_echo "$ac_res" >&6; }
2203 else
2204 # Is the header compilable?
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2206 $as_echo_n "checking $2 usability... " >&6; }
2207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2208 /* end confdefs.h. */
2210 #include <$2>
2211 _ACEOF
2212 if ac_fn_cxx_try_compile "$LINENO"; then :
2213 ac_header_compiler=yes
2214 else
2215 ac_header_compiler=no
2217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2219 $as_echo "$ac_header_compiler" >&6; }
2221 # Is the header present?
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2223 $as_echo_n "checking $2 presence... " >&6; }
2224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2225 /* end confdefs.h. */
2226 #include <$2>
2227 _ACEOF
2228 if ac_fn_cxx_try_cpp "$LINENO"; then :
2229 ac_header_preproc=yes
2230 else
2231 ac_header_preproc=no
2233 rm -f conftest.err conftest.$ac_ext
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2235 $as_echo "$ac_header_preproc" >&6; }
2237 # So? What about this header?
2238 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2239 yes:no: )
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2241 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2243 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2245 no:yes:* )
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2247 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2249 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2251 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2253 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2255 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2257 esac
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2259 $as_echo_n "checking for $2... " >&6; }
2260 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2261 $as_echo_n "(cached) " >&6
2262 else
2263 eval "$3=\$ac_header_compiler"
2265 eval ac_res=\$$3
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2267 $as_echo "$ac_res" >&6; }
2269 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2271 } # ac_fn_cxx_check_header_mongrel
2273 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2274 # --------------------------------------------
2275 # Tries to find the compile-time value of EXPR in a program that includes
2276 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2277 # computed
2278 ac_fn_c_compute_int ()
2280 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2281 if test "$cross_compiling" = yes; then
2282 # Depending upon the size, compute the lo and hi bounds.
2283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2284 /* end confdefs.h. */
2287 main ()
2289 static int test_array [1 - 2 * !(($2) >= 0)];
2290 test_array [0] = 0
2293 return 0;
2295 _ACEOF
2296 if ac_fn_c_try_compile "$LINENO"; then :
2297 ac_lo=0 ac_mid=0
2298 while :; do
2299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2300 /* end confdefs.h. */
2303 main ()
2305 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2306 test_array [0] = 0
2309 return 0;
2311 _ACEOF
2312 if ac_fn_c_try_compile "$LINENO"; then :
2313 ac_hi=$ac_mid; break
2314 else
2315 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2316 if test $ac_lo -le $ac_mid; then
2317 ac_lo= ac_hi=
2318 break
2320 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2323 done
2324 else
2325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2326 /* end confdefs.h. */
2329 main ()
2331 static int test_array [1 - 2 * !(($2) < 0)];
2332 test_array [0] = 0
2335 return 0;
2337 _ACEOF
2338 if ac_fn_c_try_compile "$LINENO"; then :
2339 ac_hi=-1 ac_mid=-1
2340 while :; do
2341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2342 /* end confdefs.h. */
2345 main ()
2347 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2348 test_array [0] = 0
2351 return 0;
2353 _ACEOF
2354 if ac_fn_c_try_compile "$LINENO"; then :
2355 ac_lo=$ac_mid; break
2356 else
2357 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2358 if test $ac_mid -le $ac_hi; then
2359 ac_lo= ac_hi=
2360 break
2362 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2365 done
2366 else
2367 ac_lo= ac_hi=
2369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2372 # Binary search between lo and hi bounds.
2373 while test "x$ac_lo" != "x$ac_hi"; do
2374 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2376 /* end confdefs.h. */
2379 main ()
2381 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2382 test_array [0] = 0
2385 return 0;
2387 _ACEOF
2388 if ac_fn_c_try_compile "$LINENO"; then :
2389 ac_hi=$ac_mid
2390 else
2391 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2394 done
2395 case $ac_lo in #((
2396 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2397 '') ac_retval=1 ;;
2398 esac
2399 else
2400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2401 /* end confdefs.h. */
2403 static long int longval () { return $2; }
2404 static unsigned long int ulongval () { return $2; }
2405 #include <stdio.h>
2406 #include <stdlib.h>
2408 main ()
2411 FILE *f = fopen ("conftest.val", "w");
2412 if (! f)
2413 return 1;
2414 if (($2) < 0)
2416 long int i = longval ();
2417 if (i != ($2))
2418 return 1;
2419 fprintf (f, "%ld", i);
2421 else
2423 unsigned long int i = ulongval ();
2424 if (i != ($2))
2425 return 1;
2426 fprintf (f, "%lu", i);
2428 /* Do not output a trailing newline, as this causes \r\n confusion
2429 on some platforms. */
2430 return ferror (f) || fclose (f) != 0;
2433 return 0;
2435 _ACEOF
2436 if ac_fn_c_try_run "$LINENO"; then :
2437 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2438 else
2439 ac_retval=1
2441 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2442 conftest.$ac_objext conftest.beam conftest.$ac_ext
2443 rm -f conftest.val
2446 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2447 return $ac_retval
2449 } # ac_fn_c_compute_int
2451 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2452 # -------------------------------------------
2453 # Tests whether TYPE exists after having included INCLUDES, setting cache
2454 # variable VAR accordingly.
2455 ac_fn_c_check_type ()
2457 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2459 $as_echo_n "checking for $2... " >&6; }
2460 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2461 $as_echo_n "(cached) " >&6
2462 else
2463 eval "$3=no"
2464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2465 /* end confdefs.h. */
2468 main ()
2470 if (sizeof ($2))
2471 return 0;
2473 return 0;
2475 _ACEOF
2476 if ac_fn_c_try_compile "$LINENO"; then :
2477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2478 /* end confdefs.h. */
2481 main ()
2483 if (sizeof (($2)))
2484 return 0;
2486 return 0;
2488 _ACEOF
2489 if ac_fn_c_try_compile "$LINENO"; then :
2491 else
2492 eval "$3=yes"
2494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2498 eval ac_res=\$$3
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2500 $as_echo "$ac_res" >&6; }
2501 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2503 } # ac_fn_c_check_type
2505 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2506 # ---------------------------------------------
2507 # Tests whether TYPE exists after having included INCLUDES, setting cache
2508 # variable VAR accordingly.
2509 ac_fn_cxx_check_type ()
2511 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2513 $as_echo_n "checking for $2... " >&6; }
2514 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2515 $as_echo_n "(cached) " >&6
2516 else
2517 eval "$3=no"
2518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2519 /* end confdefs.h. */
2522 main ()
2524 if (sizeof ($2))
2525 return 0;
2527 return 0;
2529 _ACEOF
2530 if ac_fn_cxx_try_compile "$LINENO"; then :
2531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2532 /* end confdefs.h. */
2535 main ()
2537 if (sizeof (($2)))
2538 return 0;
2540 return 0;
2542 _ACEOF
2543 if ac_fn_cxx_try_compile "$LINENO"; then :
2545 else
2546 eval "$3=yes"
2548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2552 eval ac_res=\$$3
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2554 $as_echo "$ac_res" >&6; }
2555 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2557 } # ac_fn_cxx_check_type
2558 cat >config.log <<_ACEOF
2559 This file contains any messages produced by compilers while
2560 running configure, to aid debugging if configure makes a mistake.
2562 It was created by package-unused $as_me version-unused, which was
2563 generated by GNU Autoconf 2.64. Invocation command line was
2565 $ $0 $@
2567 _ACEOF
2568 exec 5>>config.log
2570 cat <<_ASUNAME
2571 ## --------- ##
2572 ## Platform. ##
2573 ## --------- ##
2575 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2576 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2577 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2578 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2579 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2581 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2582 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2584 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2585 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2586 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2587 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2588 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2589 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2590 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2592 _ASUNAME
2594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2595 for as_dir in $PATH
2597 IFS=$as_save_IFS
2598 test -z "$as_dir" && as_dir=.
2599 $as_echo "PATH: $as_dir"
2600 done
2601 IFS=$as_save_IFS
2603 } >&5
2605 cat >&5 <<_ACEOF
2608 ## ----------- ##
2609 ## Core tests. ##
2610 ## ----------- ##
2612 _ACEOF
2615 # Keep a trace of the command line.
2616 # Strip out --no-create and --no-recursion so they do not pile up.
2617 # Strip out --silent because we don't want to record it for future runs.
2618 # Also quote any args containing shell meta-characters.
2619 # Make two passes to allow for proper duplicate-argument suppression.
2620 ac_configure_args=
2621 ac_configure_args0=
2622 ac_configure_args1=
2623 ac_must_keep_next=false
2624 for ac_pass in 1 2
2626 for ac_arg
2628 case $ac_arg in
2629 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2630 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2631 | -silent | --silent | --silen | --sile | --sil)
2632 continue ;;
2633 *\'*)
2634 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2635 esac
2636 case $ac_pass in
2637 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2639 as_fn_append ac_configure_args1 " '$ac_arg'"
2640 if test $ac_must_keep_next = true; then
2641 ac_must_keep_next=false # Got value, back to normal.
2642 else
2643 case $ac_arg in
2644 *=* | --config-cache | -C | -disable-* | --disable-* \
2645 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2646 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2647 | -with-* | --with-* | -without-* | --without-* | --x)
2648 case "$ac_configure_args0 " in
2649 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2650 esac
2652 -* ) ac_must_keep_next=true ;;
2653 esac
2655 as_fn_append ac_configure_args " '$ac_arg'"
2657 esac
2658 done
2659 done
2660 { ac_configure_args0=; unset ac_configure_args0;}
2661 { ac_configure_args1=; unset ac_configure_args1;}
2663 # When interrupted or exit'd, cleanup temporary files, and complete
2664 # config.log. We remove comments because anyway the quotes in there
2665 # would cause problems or look ugly.
2666 # WARNING: Use '\'' to represent an apostrophe within the trap.
2667 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2668 trap 'exit_status=$?
2669 # Save into config.log some information that might help in debugging.
2671 echo
2673 cat <<\_ASBOX
2674 ## ---------------- ##
2675 ## Cache variables. ##
2676 ## ---------------- ##
2677 _ASBOX
2678 echo
2679 # The following way of writing the cache mishandles newlines in values,
2681 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2682 eval ac_val=\$$ac_var
2683 case $ac_val in #(
2684 *${as_nl}*)
2685 case $ac_var in #(
2686 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2687 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2688 esac
2689 case $ac_var in #(
2690 _ | IFS | as_nl) ;; #(
2691 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2692 *) { eval $ac_var=; unset $ac_var;} ;;
2693 esac ;;
2694 esac
2695 done
2696 (set) 2>&1 |
2697 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2698 *${as_nl}ac_space=\ *)
2699 sed -n \
2700 "s/'\''/'\''\\\\'\'''\''/g;
2701 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2702 ;; #(
2704 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2706 esac |
2707 sort
2709 echo
2711 cat <<\_ASBOX
2712 ## ----------------- ##
2713 ## Output variables. ##
2714 ## ----------------- ##
2715 _ASBOX
2716 echo
2717 for ac_var in $ac_subst_vars
2719 eval ac_val=\$$ac_var
2720 case $ac_val in
2721 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2722 esac
2723 $as_echo "$ac_var='\''$ac_val'\''"
2724 done | sort
2725 echo
2727 if test -n "$ac_subst_files"; then
2728 cat <<\_ASBOX
2729 ## ------------------- ##
2730 ## File substitutions. ##
2731 ## ------------------- ##
2732 _ASBOX
2733 echo
2734 for ac_var in $ac_subst_files
2736 eval ac_val=\$$ac_var
2737 case $ac_val in
2738 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2739 esac
2740 $as_echo "$ac_var='\''$ac_val'\''"
2741 done | sort
2742 echo
2745 if test -s confdefs.h; then
2746 cat <<\_ASBOX
2747 ## ----------- ##
2748 ## confdefs.h. ##
2749 ## ----------- ##
2750 _ASBOX
2751 echo
2752 cat confdefs.h
2753 echo
2755 test "$ac_signal" != 0 &&
2756 $as_echo "$as_me: caught signal $ac_signal"
2757 $as_echo "$as_me: exit $exit_status"
2758 } >&5
2759 rm -f core *.core core.conftest.* &&
2760 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2761 exit $exit_status
2763 for ac_signal in 1 2 13 15; do
2764 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2765 done
2766 ac_signal=0
2768 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2769 rm -f -r conftest* confdefs.h
2771 $as_echo "/* confdefs.h */" > confdefs.h
2773 # Predefined preprocessor variables.
2775 cat >>confdefs.h <<_ACEOF
2776 #define PACKAGE_NAME "$PACKAGE_NAME"
2777 _ACEOF
2779 cat >>confdefs.h <<_ACEOF
2780 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2781 _ACEOF
2783 cat >>confdefs.h <<_ACEOF
2784 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2785 _ACEOF
2787 cat >>confdefs.h <<_ACEOF
2788 #define PACKAGE_STRING "$PACKAGE_STRING"
2789 _ACEOF
2791 cat >>confdefs.h <<_ACEOF
2792 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2793 _ACEOF
2795 cat >>confdefs.h <<_ACEOF
2796 #define PACKAGE_URL "$PACKAGE_URL"
2797 _ACEOF
2800 # Let the site file select an alternate cache file if it wants to.
2801 # Prefer an explicitly selected file to automatically selected ones.
2802 ac_site_file1=NONE
2803 ac_site_file2=NONE
2804 if test -n "$CONFIG_SITE"; then
2805 ac_site_file1=$CONFIG_SITE
2806 elif test "x$prefix" != xNONE; then
2807 ac_site_file1=$prefix/share/config.site
2808 ac_site_file2=$prefix/etc/config.site
2809 else
2810 ac_site_file1=$ac_default_prefix/share/config.site
2811 ac_site_file2=$ac_default_prefix/etc/config.site
2813 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2815 test "x$ac_site_file" = xNONE && continue
2816 if test -r "$ac_site_file"; then
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2818 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2819 sed 's/^/| /' "$ac_site_file" >&5
2820 . "$ac_site_file"
2822 done
2824 if test -r "$cache_file"; then
2825 # Some versions of bash will fail to source /dev/null (special
2826 # files actually), so we avoid doing that.
2827 if test -f "$cache_file"; then
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2829 $as_echo "$as_me: loading cache $cache_file" >&6;}
2830 case $cache_file in
2831 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2832 *) . "./$cache_file";;
2833 esac
2835 else
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2837 $as_echo "$as_me: creating cache $cache_file" >&6;}
2838 >$cache_file
2841 # Check that the precious variables saved in the cache have kept the same
2842 # value.
2843 ac_cache_corrupted=false
2844 for ac_var in $ac_precious_vars; do
2845 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2846 eval ac_new_set=\$ac_env_${ac_var}_set
2847 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2848 eval ac_new_val=\$ac_env_${ac_var}_value
2849 case $ac_old_set,$ac_new_set in
2850 set,)
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2852 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2853 ac_cache_corrupted=: ;;
2854 ,set)
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2856 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2857 ac_cache_corrupted=: ;;
2858 ,);;
2860 if test "x$ac_old_val" != "x$ac_new_val"; then
2861 # differences in whitespace do not lead to failure.
2862 ac_old_val_w=`echo x $ac_old_val`
2863 ac_new_val_w=`echo x $ac_new_val`
2864 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2866 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2867 ac_cache_corrupted=:
2868 else
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2870 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2871 eval $ac_var=\$ac_old_val
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2874 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2876 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2877 fi;;
2878 esac
2879 # Pass precious variables to config.status.
2880 if test "$ac_new_set" = set; then
2881 case $ac_new_val in
2882 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2883 *) ac_arg=$ac_var=$ac_new_val ;;
2884 esac
2885 case " $ac_configure_args " in
2886 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2887 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2888 esac
2890 done
2891 if $ac_cache_corrupted; then
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2893 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2895 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2896 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2898 ## -------------------- ##
2899 ## Main body of script. ##
2900 ## -------------------- ##
2902 ac_ext=c
2903 ac_cpp='$CPP $CPPFLAGS'
2904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2913 ac_config_headers="$ac_config_headers config.h"
2916 # This works around the fact that libtool configuration may change LD
2917 # for this particular configuration, but some shells, instead of
2918 # keeping the changes in LD private, export them just because LD is
2919 # exported. Only used at the end of this file.
2920 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2922 # Find the rest of the source tree framework.
2923 # Default to --enable-multilib
2924 # Check whether --enable-multilib was given.
2925 if test "${enable_multilib+set}" = set; then :
2926 enableval=$enable_multilib; case "$enableval" in
2927 yes) multilib=yes ;;
2928 no) multilib=no ;;
2929 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2930 esac
2931 else
2932 multilib=yes
2936 # We may get other options which we leave undocumented:
2937 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2938 # See config-ml.in if you want the gory details.
2940 if test "$srcdir" = "."; then
2941 if test "$with_target_subdir" != "."; then
2942 multi_basedir="$srcdir/$with_multisrctop../.."
2943 else
2944 multi_basedir="$srcdir/$with_multisrctop.."
2946 else
2947 multi_basedir="$srcdir/.."
2951 # Even if the default multilib is not a cross compilation,
2952 # it may be that some of the other multilibs are.
2953 if test $cross_compiling = no && test $multilib = yes \
2954 && test "x${with_multisubdir}" != x ; then
2955 cross_compiling=maybe
2958 ac_config_commands="$ac_config_commands default-1"
2961 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2963 # You will slowly go insane if you do not grok the following fact: when
2964 # building v3 as part of the compiler, the top-level /target/ becomes the
2965 # library's /host/. configure then causes --target to default to --host,
2966 # exactly like any other package using autoconf. Therefore, 'target' and
2967 # 'host' will always be the same. This makes sense both for native and
2968 # cross compilers, just think about it for a little while. :-)
2970 # Also, if v3 is being configured as part of a cross compiler, the top-level
2971 # configure script will pass the "real" host as $with_cross_host.
2973 # Do not delete or change the following two lines. For why, see
2974 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2975 ac_aux_dir=
2976 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2977 for ac_t in install-sh install.sh shtool; do
2978 if test -f "$ac_dir/$ac_t"; then
2979 ac_aux_dir=$ac_dir
2980 ac_install_sh="$ac_aux_dir/$ac_t -c"
2981 break 2
2983 done
2984 done
2985 if test -z "$ac_aux_dir"; then
2986 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2989 # These three variables are undocumented and unsupported,
2990 # and are intended to be withdrawn in a future Autoconf release.
2991 # They can cause serious problems if a builder's source tree is in a directory
2992 # whose full name contains unusual characters.
2993 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2994 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2995 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2998 # Make sure we can run config.sub.
2999 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3000 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3003 $as_echo_n "checking build system type... " >&6; }
3004 if test "${ac_cv_build+set}" = set; then :
3005 $as_echo_n "(cached) " >&6
3006 else
3007 ac_build_alias=$build_alias
3008 test "x$ac_build_alias" = x &&
3009 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3010 test "x$ac_build_alias" = x &&
3011 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3012 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3013 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3017 $as_echo "$ac_cv_build" >&6; }
3018 case $ac_cv_build in
3019 *-*-*) ;;
3020 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3021 esac
3022 build=$ac_cv_build
3023 ac_save_IFS=$IFS; IFS='-'
3024 set x $ac_cv_build
3025 shift
3026 build_cpu=$1
3027 build_vendor=$2
3028 shift; shift
3029 # Remember, the first character of IFS is used to create $*,
3030 # except with old shells:
3031 build_os=$*
3032 IFS=$ac_save_IFS
3033 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3037 $as_echo_n "checking host system type... " >&6; }
3038 if test "${ac_cv_host+set}" = set; then :
3039 $as_echo_n "(cached) " >&6
3040 else
3041 if test "x$host_alias" = x; then
3042 ac_cv_host=$ac_cv_build
3043 else
3044 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3045 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3050 $as_echo "$ac_cv_host" >&6; }
3051 case $ac_cv_host in
3052 *-*-*) ;;
3053 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3054 esac
3055 host=$ac_cv_host
3056 ac_save_IFS=$IFS; IFS='-'
3057 set x $ac_cv_host
3058 shift
3059 host_cpu=$1
3060 host_vendor=$2
3061 shift; shift
3062 # Remember, the first character of IFS is used to create $*,
3063 # except with old shells:
3064 host_os=$*
3065 IFS=$ac_save_IFS
3066 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3070 $as_echo_n "checking target system type... " >&6; }
3071 if test "${ac_cv_target+set}" = set; then :
3072 $as_echo_n "(cached) " >&6
3073 else
3074 if test "x$target_alias" = x; then
3075 ac_cv_target=$ac_cv_host
3076 else
3077 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3078 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3083 $as_echo "$ac_cv_target" >&6; }
3084 case $ac_cv_target in
3085 *-*-*) ;;
3086 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3087 esac
3088 target=$ac_cv_target
3089 ac_save_IFS=$IFS; IFS='-'
3090 set x $ac_cv_target
3091 shift
3092 target_cpu=$1
3093 target_vendor=$2
3094 shift; shift
3095 # Remember, the first character of IFS is used to create $*,
3096 # except with old shells:
3097 target_os=$*
3098 IFS=$ac_save_IFS
3099 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3102 # The aliases save the names the user supplied, while $host etc.
3103 # will get canonicalized.
3104 test -n "$target_alias" &&
3105 test "$program_prefix$program_suffix$program_transform_name" = \
3106 NONENONEs,x,x, &&
3107 program_prefix=${target_alias}-
3109 target_alias=${target_alias-$host_alias}
3111 # Handy for debugging:
3112 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3114 if test "$build" != "$host"; then
3115 # We are being configured with some form of cross compiler.
3116 GLIBCXX_IS_NATIVE=false
3117 case "$host","$target" in
3118 # Darwin crosses can use the host system's libraries and headers,
3119 # because of the fat library support. Of course, it must be the
3120 # same version of Darwin on both sides. Allow the user to
3121 # just say --target=foo-darwin without a version number to mean
3122 # "the version on this system".
3123 *-*-darwin*,*-*-darwin*)
3124 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3125 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3126 if test $hostos = $targetos -o $targetos = darwin ; then
3127 GLIBCXX_IS_NATIVE=true
3134 esac
3135 else
3136 GLIBCXX_IS_NATIVE=true
3139 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3140 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3141 # 1.x: minimum required version
3142 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3143 # of other PACKAGE_* variables will, however, and there's nothing
3144 # we can do about that; they come from AC_INIT).
3145 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3146 # file in the top srcdir, etc, etc), so stop complaining.
3147 # no-dependencies: turns off auto dependency generation (just for now)
3148 # no-dist: we don't want 'dist' and related rules.
3149 # -Wall: turns on all automake warnings...
3150 # -Wno-portability: ...except this one, since GNU make is now required.
3151 am__api_version='1.11'
3153 # Find a good install program. We prefer a C program (faster),
3154 # so one script is as good as another. But avoid the broken or
3155 # incompatible versions:
3156 # SysV /etc/install, /usr/sbin/install
3157 # SunOS /usr/etc/install
3158 # IRIX /sbin/install
3159 # AIX /bin/install
3160 # AmigaOS /C/install, which installs bootblocks on floppy discs
3161 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3162 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3163 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3164 # OS/2's system install, which has a completely different semantic
3165 # ./install, which can be erroneously created by make from ./install.sh.
3166 # Reject install programs that cannot install multiple files.
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3168 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3169 if test -z "$INSTALL"; then
3170 if test "${ac_cv_path_install+set}" = set; then :
3171 $as_echo_n "(cached) " >&6
3172 else
3173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3174 for as_dir in $PATH
3176 IFS=$as_save_IFS
3177 test -z "$as_dir" && as_dir=.
3178 # Account for people who put trailing slashes in PATH elements.
3179 case $as_dir/ in #((
3180 ./ | .// | /[cC]/* | \
3181 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3182 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3183 /usr/ucb/* ) ;;
3185 # OSF1 and SCO ODT 3.0 have their own names for install.
3186 # Don't use installbsd from OSF since it installs stuff as root
3187 # by default.
3188 for ac_prog in ginstall scoinst install; do
3189 for ac_exec_ext in '' $ac_executable_extensions; do
3190 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3191 if test $ac_prog = install &&
3192 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3193 # AIX install. It has an incompatible calling convention.
3195 elif test $ac_prog = install &&
3196 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3197 # program-specific install script used by HP pwplus--don't use.
3199 else
3200 rm -rf conftest.one conftest.two conftest.dir
3201 echo one > conftest.one
3202 echo two > conftest.two
3203 mkdir conftest.dir
3204 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3205 test -s conftest.one && test -s conftest.two &&
3206 test -s conftest.dir/conftest.one &&
3207 test -s conftest.dir/conftest.two
3208 then
3209 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3210 break 3
3214 done
3215 done
3217 esac
3219 done
3220 IFS=$as_save_IFS
3222 rm -rf conftest.one conftest.two conftest.dir
3225 if test "${ac_cv_path_install+set}" = set; then
3226 INSTALL=$ac_cv_path_install
3227 else
3228 # As a last resort, use the slow shell script. Don't cache a
3229 # value for INSTALL within a source directory, because that will
3230 # break other packages using the cache if that directory is
3231 # removed, or if the value is a relative name.
3232 INSTALL=$ac_install_sh
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3236 $as_echo "$INSTALL" >&6; }
3238 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3239 # It thinks the first close brace ends the variable substitution.
3240 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3242 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3244 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3247 $as_echo_n "checking whether build environment is sane... " >&6; }
3248 # Just in case
3249 sleep 1
3250 echo timestamp > conftest.file
3251 # Reject unsafe characters in $srcdir or the absolute working directory
3252 # name. Accept space and tab only in the latter.
3253 am_lf='
3255 case `pwd` in
3256 *[\\\"\#\$\&\'\`$am_lf]*)
3257 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3258 esac
3259 case $srcdir in
3260 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3261 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3262 esac
3264 # Do `set' in a subshell so we don't clobber the current shell's
3265 # arguments. Must try -L first in case configure is actually a
3266 # symlink; some systems play weird games with the mod time of symlinks
3267 # (eg FreeBSD returns the mod time of the symlink's containing
3268 # directory).
3269 if (
3270 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3271 if test "$*" = "X"; then
3272 # -L didn't work.
3273 set X `ls -t "$srcdir/configure" conftest.file`
3275 rm -f conftest.file
3276 if test "$*" != "X $srcdir/configure conftest.file" \
3277 && test "$*" != "X conftest.file $srcdir/configure"; then
3279 # If neither matched, then we have a broken ls. This can happen
3280 # if, for instance, CONFIG_SHELL is bash and it inherits a
3281 # broken ls alias from the environment. This has actually
3282 # happened. Such a system could not be considered "sane".
3283 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3284 alias in your environment" "$LINENO" 5
3287 test "$2" = conftest.file
3289 then
3290 # Ok.
3292 else
3293 as_fn_error "newly created file is older than distributed files!
3294 Check your system clock" "$LINENO" 5
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3297 $as_echo "yes" >&6; }
3298 test "$program_prefix" != NONE &&
3299 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3300 # Use a double $ so make ignores it.
3301 test "$program_suffix" != NONE &&
3302 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3303 # Double any \ or $.
3304 # By default was `s,x,x', remove it if useless.
3305 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3306 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3308 # expand $ac_aux_dir to an absolute path
3309 am_aux_dir=`cd $ac_aux_dir && pwd`
3311 if test x"${MISSING+set}" != xset; then
3312 case $am_aux_dir in
3313 *\ * | *\ *)
3314 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3316 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3317 esac
3319 # Use eval to expand $SHELL
3320 if eval "$MISSING --run true"; then
3321 am_missing_run="$MISSING --run "
3322 else
3323 am_missing_run=
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3325 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3328 if test x"${install_sh}" != xset; then
3329 case $am_aux_dir in
3330 *\ * | *\ *)
3331 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3333 install_sh="\${SHELL} $am_aux_dir/install-sh"
3334 esac
3337 # Installed binaries are usually stripped using `strip' when the user
3338 # run `make install-strip'. However `strip' might not be the right
3339 # tool to use in cross-compilation environments, therefore Automake
3340 # will honor the `STRIP' environment variable to overrule this program.
3341 if test "$cross_compiling" != no; then
3342 if test -n "$ac_tool_prefix"; then
3343 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3344 set dummy ${ac_tool_prefix}strip; ac_word=$2
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3346 $as_echo_n "checking for $ac_word... " >&6; }
3347 if test "${ac_cv_prog_STRIP+set}" = set; then :
3348 $as_echo_n "(cached) " >&6
3349 else
3350 if test -n "$STRIP"; then
3351 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3352 else
3353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3354 for as_dir in $PATH
3356 IFS=$as_save_IFS
3357 test -z "$as_dir" && as_dir=.
3358 for ac_exec_ext in '' $ac_executable_extensions; do
3359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3360 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3362 break 2
3364 done
3365 done
3366 IFS=$as_save_IFS
3370 STRIP=$ac_cv_prog_STRIP
3371 if test -n "$STRIP"; then
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3373 $as_echo "$STRIP" >&6; }
3374 else
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3376 $as_echo "no" >&6; }
3381 if test -z "$ac_cv_prog_STRIP"; then
3382 ac_ct_STRIP=$STRIP
3383 # Extract the first word of "strip", so it can be a program name with args.
3384 set dummy strip; ac_word=$2
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3386 $as_echo_n "checking for $ac_word... " >&6; }
3387 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3388 $as_echo_n "(cached) " >&6
3389 else
3390 if test -n "$ac_ct_STRIP"; then
3391 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3392 else
3393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3394 for as_dir in $PATH
3396 IFS=$as_save_IFS
3397 test -z "$as_dir" && as_dir=.
3398 for ac_exec_ext in '' $ac_executable_extensions; do
3399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3400 ac_cv_prog_ac_ct_STRIP="strip"
3401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3402 break 2
3404 done
3405 done
3406 IFS=$as_save_IFS
3410 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3411 if test -n "$ac_ct_STRIP"; then
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3413 $as_echo "$ac_ct_STRIP" >&6; }
3414 else
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3416 $as_echo "no" >&6; }
3419 if test "x$ac_ct_STRIP" = x; then
3420 STRIP=":"
3421 else
3422 case $cross_compiling:$ac_tool_warned in
3423 yes:)
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3425 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3426 ac_tool_warned=yes ;;
3427 esac
3428 STRIP=$ac_ct_STRIP
3430 else
3431 STRIP="$ac_cv_prog_STRIP"
3435 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3438 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3439 if test -z "$MKDIR_P"; then
3440 if test "${ac_cv_path_mkdir+set}" = set; then :
3441 $as_echo_n "(cached) " >&6
3442 else
3443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3444 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3446 IFS=$as_save_IFS
3447 test -z "$as_dir" && as_dir=.
3448 for ac_prog in mkdir gmkdir; do
3449 for ac_exec_ext in '' $ac_executable_extensions; do
3450 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3451 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3452 'mkdir (GNU coreutils) '* | \
3453 'mkdir (coreutils) '* | \
3454 'mkdir (fileutils) '4.1*)
3455 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3456 break 3;;
3457 esac
3458 done
3459 done
3460 done
3461 IFS=$as_save_IFS
3465 if test "${ac_cv_path_mkdir+set}" = set; then
3466 MKDIR_P="$ac_cv_path_mkdir -p"
3467 else
3468 # As a last resort, use the slow shell script. Don't cache a
3469 # value for MKDIR_P within a source directory, because that will
3470 # break other packages using the cache if that directory is
3471 # removed, or if the value is a relative name.
3472 test -d ./--version && rmdir ./--version
3473 MKDIR_P="$ac_install_sh -d"
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3477 $as_echo "$MKDIR_P" >&6; }
3479 mkdir_p="$MKDIR_P"
3480 case $mkdir_p in
3481 [\\/$]* | ?:[\\/]*) ;;
3482 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3483 esac
3485 for ac_prog in gawk mawk nawk awk
3487 # Extract the first word of "$ac_prog", so it can be a program name with args.
3488 set dummy $ac_prog; ac_word=$2
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3490 $as_echo_n "checking for $ac_word... " >&6; }
3491 if test "${ac_cv_prog_AWK+set}" = set; then :
3492 $as_echo_n "(cached) " >&6
3493 else
3494 if test -n "$AWK"; then
3495 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3496 else
3497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3498 for as_dir in $PATH
3500 IFS=$as_save_IFS
3501 test -z "$as_dir" && as_dir=.
3502 for ac_exec_ext in '' $ac_executable_extensions; do
3503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3504 ac_cv_prog_AWK="$ac_prog"
3505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3506 break 2
3508 done
3509 done
3510 IFS=$as_save_IFS
3514 AWK=$ac_cv_prog_AWK
3515 if test -n "$AWK"; then
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3517 $as_echo "$AWK" >&6; }
3518 else
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3520 $as_echo "no" >&6; }
3524 test -n "$AWK" && break
3525 done
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3528 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3529 set x ${MAKE-make}
3530 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3531 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3532 $as_echo_n "(cached) " >&6
3533 else
3534 cat >conftest.make <<\_ACEOF
3535 SHELL = /bin/sh
3536 all:
3537 @echo '@@@%%%=$(MAKE)=@@@%%%'
3538 _ACEOF
3539 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3540 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3541 *@@@%%%=?*=@@@%%%*)
3542 eval ac_cv_prog_make_${ac_make}_set=yes;;
3544 eval ac_cv_prog_make_${ac_make}_set=no;;
3545 esac
3546 rm -f conftest.make
3548 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3550 $as_echo "yes" >&6; }
3551 SET_MAKE=
3552 else
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3554 $as_echo "no" >&6; }
3555 SET_MAKE="MAKE=${MAKE-make}"
3558 rm -rf .tst 2>/dev/null
3559 mkdir .tst 2>/dev/null
3560 if test -d .tst; then
3561 am__leading_dot=.
3562 else
3563 am__leading_dot=_
3565 rmdir .tst 2>/dev/null
3567 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3568 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3569 # is not polluted with repeated "-I."
3570 am__isrc=' -I$(srcdir)'
3571 # test to see if srcdir already configured
3572 if test -f $srcdir/config.status; then
3573 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3577 # test whether we have cygpath
3578 if test -z "$CYGPATH_W"; then
3579 if (cygpath --version) >/dev/null 2>/dev/null; then
3580 CYGPATH_W='cygpath -w'
3581 else
3582 CYGPATH_W=echo
3587 # Define the identity of the package.
3588 PACKAGE='libstdc++'
3589 VERSION='version-unused'
3592 # Some tools Automake needs.
3594 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3597 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3600 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3603 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3606 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3608 # We need awk for the "check" target. The system "awk" is bad on
3609 # some platforms.
3610 # Always define AMTAR for backward compatibility. Yes, it's still used
3611 # in the wild :-( We should find a proper way to deprecate it ...
3612 AMTAR='$${TAR-tar}'
3614 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3623 # -fno-builtin must be present here so that a non-conflicting form of
3624 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3626 save_CXXFLAGS="$CXXFLAGS"
3627 CXXFLAGS="$CXXFLAGS -fno-builtin"
3628 ac_ext=c
3629 ac_cpp='$CPP $CPPFLAGS'
3630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3633 if test -n "$ac_tool_prefix"; then
3634 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3635 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3637 $as_echo_n "checking for $ac_word... " >&6; }
3638 if test "${ac_cv_prog_CC+set}" = set; then :
3639 $as_echo_n "(cached) " >&6
3640 else
3641 if test -n "$CC"; then
3642 ac_cv_prog_CC="$CC" # Let the user override the test.
3643 else
3644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3645 for as_dir in $PATH
3647 IFS=$as_save_IFS
3648 test -z "$as_dir" && as_dir=.
3649 for ac_exec_ext in '' $ac_executable_extensions; do
3650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3651 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3653 break 2
3655 done
3656 done
3657 IFS=$as_save_IFS
3661 CC=$ac_cv_prog_CC
3662 if test -n "$CC"; then
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3664 $as_echo "$CC" >&6; }
3665 else
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3667 $as_echo "no" >&6; }
3672 if test -z "$ac_cv_prog_CC"; then
3673 ac_ct_CC=$CC
3674 # Extract the first word of "gcc", so it can be a program name with args.
3675 set dummy gcc; ac_word=$2
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3677 $as_echo_n "checking for $ac_word... " >&6; }
3678 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3679 $as_echo_n "(cached) " >&6
3680 else
3681 if test -n "$ac_ct_CC"; then
3682 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3683 else
3684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3685 for as_dir in $PATH
3687 IFS=$as_save_IFS
3688 test -z "$as_dir" && as_dir=.
3689 for ac_exec_ext in '' $ac_executable_extensions; do
3690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3691 ac_cv_prog_ac_ct_CC="gcc"
3692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3693 break 2
3695 done
3696 done
3697 IFS=$as_save_IFS
3701 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3702 if test -n "$ac_ct_CC"; then
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3704 $as_echo "$ac_ct_CC" >&6; }
3705 else
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3707 $as_echo "no" >&6; }
3710 if test "x$ac_ct_CC" = x; then
3711 CC=""
3712 else
3713 case $cross_compiling:$ac_tool_warned in
3714 yes:)
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3716 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3717 ac_tool_warned=yes ;;
3718 esac
3719 CC=$ac_ct_CC
3721 else
3722 CC="$ac_cv_prog_CC"
3725 if test -z "$CC"; then
3726 if test -n "$ac_tool_prefix"; then
3727 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3728 set dummy ${ac_tool_prefix}cc; ac_word=$2
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3730 $as_echo_n "checking for $ac_word... " >&6; }
3731 if test "${ac_cv_prog_CC+set}" = set; then :
3732 $as_echo_n "(cached) " >&6
3733 else
3734 if test -n "$CC"; then
3735 ac_cv_prog_CC="$CC" # Let the user override the test.
3736 else
3737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3738 for as_dir in $PATH
3740 IFS=$as_save_IFS
3741 test -z "$as_dir" && as_dir=.
3742 for ac_exec_ext in '' $ac_executable_extensions; do
3743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3744 ac_cv_prog_CC="${ac_tool_prefix}cc"
3745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3746 break 2
3748 done
3749 done
3750 IFS=$as_save_IFS
3754 CC=$ac_cv_prog_CC
3755 if test -n "$CC"; then
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3757 $as_echo "$CC" >&6; }
3758 else
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3760 $as_echo "no" >&6; }
3766 if test -z "$CC"; then
3767 # Extract the first word of "cc", so it can be a program name with args.
3768 set dummy cc; ac_word=$2
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3770 $as_echo_n "checking for $ac_word... " >&6; }
3771 if test "${ac_cv_prog_CC+set}" = set; then :
3772 $as_echo_n "(cached) " >&6
3773 else
3774 if test -n "$CC"; then
3775 ac_cv_prog_CC="$CC" # Let the user override the test.
3776 else
3777 ac_prog_rejected=no
3778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3779 for as_dir in $PATH
3781 IFS=$as_save_IFS
3782 test -z "$as_dir" && as_dir=.
3783 for ac_exec_ext in '' $ac_executable_extensions; do
3784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3785 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3786 ac_prog_rejected=yes
3787 continue
3789 ac_cv_prog_CC="cc"
3790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3791 break 2
3793 done
3794 done
3795 IFS=$as_save_IFS
3797 if test $ac_prog_rejected = yes; then
3798 # We found a bogon in the path, so make sure we never use it.
3799 set dummy $ac_cv_prog_CC
3800 shift
3801 if test $# != 0; then
3802 # We chose a different compiler from the bogus one.
3803 # However, it has the same basename, so the bogon will be chosen
3804 # first if we set CC to just the basename; use the full file name.
3805 shift
3806 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3811 CC=$ac_cv_prog_CC
3812 if test -n "$CC"; then
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3814 $as_echo "$CC" >&6; }
3815 else
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3817 $as_echo "no" >&6; }
3822 if test -z "$CC"; then
3823 if test -n "$ac_tool_prefix"; then
3824 for ac_prog in cl.exe
3826 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3827 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3829 $as_echo_n "checking for $ac_word... " >&6; }
3830 if test "${ac_cv_prog_CC+set}" = set; then :
3831 $as_echo_n "(cached) " >&6
3832 else
3833 if test -n "$CC"; then
3834 ac_cv_prog_CC="$CC" # Let the user override the test.
3835 else
3836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3837 for as_dir in $PATH
3839 IFS=$as_save_IFS
3840 test -z "$as_dir" && as_dir=.
3841 for ac_exec_ext in '' $ac_executable_extensions; do
3842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3843 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3845 break 2
3847 done
3848 done
3849 IFS=$as_save_IFS
3853 CC=$ac_cv_prog_CC
3854 if test -n "$CC"; then
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3856 $as_echo "$CC" >&6; }
3857 else
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3859 $as_echo "no" >&6; }
3863 test -n "$CC" && break
3864 done
3866 if test -z "$CC"; then
3867 ac_ct_CC=$CC
3868 for ac_prog in cl.exe
3870 # Extract the first word of "$ac_prog", so it can be a program name with args.
3871 set dummy $ac_prog; ac_word=$2
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3873 $as_echo_n "checking for $ac_word... " >&6; }
3874 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3875 $as_echo_n "(cached) " >&6
3876 else
3877 if test -n "$ac_ct_CC"; then
3878 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3879 else
3880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3881 for as_dir in $PATH
3883 IFS=$as_save_IFS
3884 test -z "$as_dir" && as_dir=.
3885 for ac_exec_ext in '' $ac_executable_extensions; do
3886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3887 ac_cv_prog_ac_ct_CC="$ac_prog"
3888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3889 break 2
3891 done
3892 done
3893 IFS=$as_save_IFS
3897 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3898 if test -n "$ac_ct_CC"; then
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3900 $as_echo "$ac_ct_CC" >&6; }
3901 else
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3903 $as_echo "no" >&6; }
3907 test -n "$ac_ct_CC" && break
3908 done
3910 if test "x$ac_ct_CC" = x; then
3911 CC=""
3912 else
3913 case $cross_compiling:$ac_tool_warned in
3914 yes:)
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3916 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3917 ac_tool_warned=yes ;;
3918 esac
3919 CC=$ac_ct_CC
3926 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3927 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3928 as_fn_error "no acceptable C compiler found in \$PATH
3929 See \`config.log' for more details." "$LINENO" 5; }
3931 # Provide some information about the compiler.
3932 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3933 set X $ac_compile
3934 ac_compiler=$2
3935 for ac_option in --version -v -V -qversion; do
3936 { { ac_try="$ac_compiler $ac_option >&5"
3937 case "(($ac_try" in
3938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3939 *) ac_try_echo=$ac_try;;
3940 esac
3941 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3942 $as_echo "$ac_try_echo"; } >&5
3943 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3944 ac_status=$?
3945 if test -s conftest.err; then
3946 sed '10a\
3947 ... rest of stderr output deleted ...
3948 10q' conftest.err >conftest.er1
3949 cat conftest.er1 >&5
3950 rm -f conftest.er1 conftest.err
3952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3953 test $ac_status = 0; }
3954 done
3956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3957 /* end confdefs.h. */
3960 main ()
3964 return 0;
3966 _ACEOF
3967 # FIXME: Cleanup?
3968 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3969 (eval $ac_link) 2>&5
3970 ac_status=$?
3971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3972 test $ac_status = 0; }; then :
3973 gcc_no_link=no
3974 else
3975 gcc_no_link=yes
3977 if test x$gcc_no_link = xyes; then
3978 # Setting cross_compile will disable run tests; it will
3979 # also disable AC_CHECK_FILE but that's generally
3980 # correct if we can't link.
3981 cross_compiling=yes
3982 EXEEXT=
3983 else
3984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3985 /* end confdefs.h. */
3988 main ()
3992 return 0;
3994 _ACEOF
3995 ac_clean_files_save=$ac_clean_files
3996 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3997 # Try to create an executable without -o first, disregard a.out.
3998 # It will help us diagnose broken compilers, and finding out an intuition
3999 # of exeext.
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4001 $as_echo_n "checking for C compiler default output file name... " >&6; }
4002 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4004 # The possible output files:
4005 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4007 ac_rmfiles=
4008 for ac_file in $ac_files
4010 case $ac_file in
4011 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4012 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4013 esac
4014 done
4015 rm -f $ac_rmfiles
4017 if { { ac_try="$ac_link_default"
4018 case "(($ac_try" in
4019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4020 *) ac_try_echo=$ac_try;;
4021 esac
4022 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4023 $as_echo "$ac_try_echo"; } >&5
4024 (eval "$ac_link_default") 2>&5
4025 ac_status=$?
4026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4027 test $ac_status = 0; }; then :
4028 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4029 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4030 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4031 # so that the user can short-circuit this test for compilers unknown to
4032 # Autoconf.
4033 for ac_file in $ac_files ''
4035 test -f "$ac_file" || continue
4036 case $ac_file in
4037 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4039 [ab].out )
4040 # We found the default executable, but exeext='' is most
4041 # certainly right.
4042 break;;
4043 *.* )
4044 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4045 then :; else
4046 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4048 # We set ac_cv_exeext here because the later test for it is not
4049 # safe: cross compilers may not add the suffix if given an `-o'
4050 # argument, so we may need to know it at that point already.
4051 # Even if this section looks crufty: it has the advantage of
4052 # actually working.
4053 break;;
4055 break;;
4056 esac
4057 done
4058 test "$ac_cv_exeext" = no && ac_cv_exeext=
4060 else
4061 ac_file=''
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4064 $as_echo "$ac_file" >&6; }
4065 if test -z "$ac_file"; then :
4066 $as_echo "$as_me: failed program was:" >&5
4067 sed 's/^/| /' conftest.$ac_ext >&5
4069 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4070 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4071 { as_fn_set_status 77
4072 as_fn_error "C compiler cannot create executables
4073 See \`config.log' for more details." "$LINENO" 5; }; }
4075 ac_exeext=$ac_cv_exeext
4077 # Check that the compiler produces executables we can run. If not, either
4078 # the compiler is broken, or we cross compile.
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4080 $as_echo_n "checking whether the C compiler works... " >&6; }
4081 # If not cross compiling, check that we can run a simple program.
4082 if test "$cross_compiling" != yes; then
4083 if { ac_try='./$ac_file'
4084 { { case "(($ac_try" in
4085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4086 *) ac_try_echo=$ac_try;;
4087 esac
4088 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4089 $as_echo "$ac_try_echo"; } >&5
4090 (eval "$ac_try") 2>&5
4091 ac_status=$?
4092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4093 test $ac_status = 0; }; }; then
4094 cross_compiling=no
4095 else
4096 if test "$cross_compiling" = maybe; then
4097 cross_compiling=yes
4098 else
4099 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4100 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4101 as_fn_error "cannot run C compiled programs.
4102 If you meant to cross compile, use \`--host'.
4103 See \`config.log' for more details." "$LINENO" 5; }
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4108 $as_echo "yes" >&6; }
4110 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4111 ac_clean_files=$ac_clean_files_save
4112 # Check that the compiler produces executables we can run. If not, either
4113 # the compiler is broken, or we cross compile.
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4115 $as_echo_n "checking whether we are cross compiling... " >&6; }
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4117 $as_echo "$cross_compiling" >&6; }
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4120 $as_echo_n "checking for suffix of executables... " >&6; }
4121 if { { ac_try="$ac_link"
4122 case "(($ac_try" in
4123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4124 *) ac_try_echo=$ac_try;;
4125 esac
4126 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4127 $as_echo "$ac_try_echo"; } >&5
4128 (eval "$ac_link") 2>&5
4129 ac_status=$?
4130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4131 test $ac_status = 0; }; then :
4132 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4133 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4134 # work properly (i.e., refer to `conftest.exe'), while it won't with
4135 # `rm'.
4136 for ac_file in conftest.exe conftest conftest.*; do
4137 test -f "$ac_file" || continue
4138 case $ac_file in
4139 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4140 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4141 break;;
4142 * ) break;;
4143 esac
4144 done
4145 else
4146 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4147 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4148 as_fn_error "cannot compute suffix of executables: cannot compile and link
4149 See \`config.log' for more details." "$LINENO" 5; }
4151 rm -f conftest$ac_cv_exeext
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4153 $as_echo "$ac_cv_exeext" >&6; }
4155 rm -f conftest.$ac_ext
4156 EXEEXT=$ac_cv_exeext
4157 ac_exeext=$EXEEXT
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4160 $as_echo_n "checking for suffix of object files... " >&6; }
4161 if test "${ac_cv_objext+set}" = set; then :
4162 $as_echo_n "(cached) " >&6
4163 else
4164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4165 /* end confdefs.h. */
4168 main ()
4172 return 0;
4174 _ACEOF
4175 rm -f conftest.o conftest.obj
4176 if { { ac_try="$ac_compile"
4177 case "(($ac_try" in
4178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4179 *) ac_try_echo=$ac_try;;
4180 esac
4181 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4182 $as_echo "$ac_try_echo"; } >&5
4183 (eval "$ac_compile") 2>&5
4184 ac_status=$?
4185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4186 test $ac_status = 0; }; then :
4187 for ac_file in conftest.o conftest.obj conftest.*; do
4188 test -f "$ac_file" || continue;
4189 case $ac_file in
4190 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4191 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4192 break;;
4193 esac
4194 done
4195 else
4196 $as_echo "$as_me: failed program was:" >&5
4197 sed 's/^/| /' conftest.$ac_ext >&5
4199 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4200 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4201 as_fn_error "cannot compute suffix of object files: cannot compile
4202 See \`config.log' for more details." "$LINENO" 5; }
4204 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4207 $as_echo "$ac_cv_objext" >&6; }
4208 OBJEXT=$ac_cv_objext
4209 ac_objext=$OBJEXT
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4211 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4212 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4213 $as_echo_n "(cached) " >&6
4214 else
4215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4216 /* end confdefs.h. */
4219 main ()
4221 #ifndef __GNUC__
4222 choke me
4223 #endif
4226 return 0;
4228 _ACEOF
4229 if ac_fn_c_try_compile "$LINENO"; then :
4230 ac_compiler_gnu=yes
4231 else
4232 ac_compiler_gnu=no
4234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4235 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4239 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4240 if test $ac_compiler_gnu = yes; then
4241 GCC=yes
4242 else
4243 GCC=
4245 ac_test_CFLAGS=${CFLAGS+set}
4246 ac_save_CFLAGS=$CFLAGS
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4248 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4249 if test "${ac_cv_prog_cc_g+set}" = set; then :
4250 $as_echo_n "(cached) " >&6
4251 else
4252 ac_save_c_werror_flag=$ac_c_werror_flag
4253 ac_c_werror_flag=yes
4254 ac_cv_prog_cc_g=no
4255 CFLAGS="-g"
4256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4257 /* end confdefs.h. */
4260 main ()
4264 return 0;
4266 _ACEOF
4267 if ac_fn_c_try_compile "$LINENO"; then :
4268 ac_cv_prog_cc_g=yes
4269 else
4270 CFLAGS=""
4271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4272 /* end confdefs.h. */
4275 main ()
4279 return 0;
4281 _ACEOF
4282 if ac_fn_c_try_compile "$LINENO"; then :
4284 else
4285 ac_c_werror_flag=$ac_save_c_werror_flag
4286 CFLAGS="-g"
4287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4288 /* end confdefs.h. */
4291 main ()
4295 return 0;
4297 _ACEOF
4298 if ac_fn_c_try_compile "$LINENO"; then :
4299 ac_cv_prog_cc_g=yes
4301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4306 ac_c_werror_flag=$ac_save_c_werror_flag
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4309 $as_echo "$ac_cv_prog_cc_g" >&6; }
4310 if test "$ac_test_CFLAGS" = set; then
4311 CFLAGS=$ac_save_CFLAGS
4312 elif test $ac_cv_prog_cc_g = yes; then
4313 if test "$GCC" = yes; then
4314 CFLAGS="-g -O2"
4315 else
4316 CFLAGS="-g"
4318 else
4319 if test "$GCC" = yes; then
4320 CFLAGS="-O2"
4321 else
4322 CFLAGS=
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4326 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4327 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4328 $as_echo_n "(cached) " >&6
4329 else
4330 ac_cv_prog_cc_c89=no
4331 ac_save_CC=$CC
4332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4333 /* end confdefs.h. */
4334 #include <stdarg.h>
4335 #include <stdio.h>
4336 #include <sys/types.h>
4337 #include <sys/stat.h>
4338 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4339 struct buf { int x; };
4340 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4341 static char *e (p, i)
4342 char **p;
4343 int i;
4345 return p[i];
4347 static char *f (char * (*g) (char **, int), char **p, ...)
4349 char *s;
4350 va_list v;
4351 va_start (v,p);
4352 s = g (p, va_arg (v,int));
4353 va_end (v);
4354 return s;
4357 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4358 function prototypes and stuff, but not '\xHH' hex character constants.
4359 These don't provoke an error unfortunately, instead are silently treated
4360 as 'x'. The following induces an error, until -std is added to get
4361 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4362 array size at least. It's necessary to write '\x00'==0 to get something
4363 that's true only with -std. */
4364 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4366 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4367 inside strings and character constants. */
4368 #define FOO(x) 'x'
4369 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4371 int test (int i, double x);
4372 struct s1 {int (*f) (int a);};
4373 struct s2 {int (*f) (double a);};
4374 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4375 int argc;
4376 char **argv;
4378 main ()
4380 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4382 return 0;
4384 _ACEOF
4385 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4386 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4388 CC="$ac_save_CC $ac_arg"
4389 if ac_fn_c_try_compile "$LINENO"; then :
4390 ac_cv_prog_cc_c89=$ac_arg
4392 rm -f core conftest.err conftest.$ac_objext
4393 test "x$ac_cv_prog_cc_c89" != "xno" && break
4394 done
4395 rm -f conftest.$ac_ext
4396 CC=$ac_save_CC
4399 # AC_CACHE_VAL
4400 case "x$ac_cv_prog_cc_c89" in
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4403 $as_echo "none needed" >&6; } ;;
4404 xno)
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4406 $as_echo "unsupported" >&6; } ;;
4408 CC="$CC $ac_cv_prog_cc_c89"
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4410 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4411 esac
4412 if test "x$ac_cv_prog_cc_c89" != xno; then :
4416 ac_ext=c
4417 ac_cpp='$CPP $CPPFLAGS'
4418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4422 ac_ext=cpp
4423 ac_cpp='$CXXCPP $CPPFLAGS'
4424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4427 if test -z "$CXX"; then
4428 if test -n "$CCC"; then
4429 CXX=$CCC
4430 else
4431 if test -n "$ac_tool_prefix"; then
4432 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4434 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4435 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4437 $as_echo_n "checking for $ac_word... " >&6; }
4438 if test "${ac_cv_prog_CXX+set}" = set; then :
4439 $as_echo_n "(cached) " >&6
4440 else
4441 if test -n "$CXX"; then
4442 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4443 else
4444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4445 for as_dir in $PATH
4447 IFS=$as_save_IFS
4448 test -z "$as_dir" && as_dir=.
4449 for ac_exec_ext in '' $ac_executable_extensions; do
4450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4451 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4453 break 2
4455 done
4456 done
4457 IFS=$as_save_IFS
4461 CXX=$ac_cv_prog_CXX
4462 if test -n "$CXX"; then
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4464 $as_echo "$CXX" >&6; }
4465 else
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4467 $as_echo "no" >&6; }
4471 test -n "$CXX" && break
4472 done
4474 if test -z "$CXX"; then
4475 ac_ct_CXX=$CXX
4476 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4478 # Extract the first word of "$ac_prog", so it can be a program name with args.
4479 set dummy $ac_prog; ac_word=$2
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4481 $as_echo_n "checking for $ac_word... " >&6; }
4482 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4483 $as_echo_n "(cached) " >&6
4484 else
4485 if test -n "$ac_ct_CXX"; then
4486 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4487 else
4488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4489 for as_dir in $PATH
4491 IFS=$as_save_IFS
4492 test -z "$as_dir" && as_dir=.
4493 for ac_exec_ext in '' $ac_executable_extensions; do
4494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4495 ac_cv_prog_ac_ct_CXX="$ac_prog"
4496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4497 break 2
4499 done
4500 done
4501 IFS=$as_save_IFS
4505 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4506 if test -n "$ac_ct_CXX"; then
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4508 $as_echo "$ac_ct_CXX" >&6; }
4509 else
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4511 $as_echo "no" >&6; }
4515 test -n "$ac_ct_CXX" && break
4516 done
4518 if test "x$ac_ct_CXX" = x; then
4519 CXX="g++"
4520 else
4521 case $cross_compiling:$ac_tool_warned in
4522 yes:)
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4524 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4525 ac_tool_warned=yes ;;
4526 esac
4527 CXX=$ac_ct_CXX
4533 # Provide some information about the compiler.
4534 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4535 set X $ac_compile
4536 ac_compiler=$2
4537 for ac_option in --version -v -V -qversion; do
4538 { { ac_try="$ac_compiler $ac_option >&5"
4539 case "(($ac_try" in
4540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4541 *) ac_try_echo=$ac_try;;
4542 esac
4543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4544 $as_echo "$ac_try_echo"; } >&5
4545 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4546 ac_status=$?
4547 if test -s conftest.err; then
4548 sed '10a\
4549 ... rest of stderr output deleted ...
4550 10q' conftest.err >conftest.er1
4551 cat conftest.er1 >&5
4552 rm -f conftest.er1 conftest.err
4554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4555 test $ac_status = 0; }
4556 done
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4559 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4560 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4561 $as_echo_n "(cached) " >&6
4562 else
4563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4564 /* end confdefs.h. */
4567 main ()
4569 #ifndef __GNUC__
4570 choke me
4571 #endif
4574 return 0;
4576 _ACEOF
4577 if ac_fn_cxx_try_compile "$LINENO"; then :
4578 ac_compiler_gnu=yes
4579 else
4580 ac_compiler_gnu=no
4582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4583 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4587 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4588 if test $ac_compiler_gnu = yes; then
4589 GXX=yes
4590 else
4591 GXX=
4593 ac_test_CXXFLAGS=${CXXFLAGS+set}
4594 ac_save_CXXFLAGS=$CXXFLAGS
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4596 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4597 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4598 $as_echo_n "(cached) " >&6
4599 else
4600 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4601 ac_cxx_werror_flag=yes
4602 ac_cv_prog_cxx_g=no
4603 CXXFLAGS="-g"
4604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4605 /* end confdefs.h. */
4608 main ()
4612 return 0;
4614 _ACEOF
4615 if ac_fn_cxx_try_compile "$LINENO"; then :
4616 ac_cv_prog_cxx_g=yes
4617 else
4618 CXXFLAGS=""
4619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4620 /* end confdefs.h. */
4623 main ()
4627 return 0;
4629 _ACEOF
4630 if ac_fn_cxx_try_compile "$LINENO"; then :
4632 else
4633 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4634 CXXFLAGS="-g"
4635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4636 /* end confdefs.h. */
4639 main ()
4643 return 0;
4645 _ACEOF
4646 if ac_fn_cxx_try_compile "$LINENO"; then :
4647 ac_cv_prog_cxx_g=yes
4649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4654 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4657 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4658 if test "$ac_test_CXXFLAGS" = set; then
4659 CXXFLAGS=$ac_save_CXXFLAGS
4660 elif test $ac_cv_prog_cxx_g = yes; then
4661 if test "$GXX" = yes; then
4662 CXXFLAGS="-g -O2"
4663 else
4664 CXXFLAGS="-g"
4666 else
4667 if test "$GXX" = yes; then
4668 CXXFLAGS="-O2"
4669 else
4670 CXXFLAGS=
4673 ac_ext=c
4674 ac_cpp='$CPP $CPPFLAGS'
4675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4679 CXXFLAGS="$save_CXXFLAGS"
4681 # Runs configure.host, and assorted other critical bits. Sets
4682 # up critical shell variables.
4684 ac_ext=c
4685 ac_cpp='$CPP $CPPFLAGS'
4686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4690 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4691 # On Suns, sometimes $CPP names a directory.
4692 if test -n "$CPP" && test -d "$CPP"; then
4693 CPP=
4695 if test -z "$CPP"; then
4696 if test "${ac_cv_prog_CPP+set}" = set; then :
4697 $as_echo_n "(cached) " >&6
4698 else
4699 # Double quotes because CPP needs to be expanded
4700 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4702 ac_preproc_ok=false
4703 for ac_c_preproc_warn_flag in '' yes
4705 # Use a header file that comes with gcc, so configuring glibc
4706 # with a fresh cross-compiler works.
4707 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4708 # <limits.h> exists even on freestanding compilers.
4709 # On the NeXT, cc -E runs the code through the compiler's parser,
4710 # not just through cpp. "Syntax error" is here to catch this case.
4711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4712 /* end confdefs.h. */
4713 #ifdef __STDC__
4714 # include <limits.h>
4715 #else
4716 # include <assert.h>
4717 #endif
4718 Syntax error
4719 _ACEOF
4720 if ac_fn_c_try_cpp "$LINENO"; then :
4722 else
4723 # Broken: fails on valid input.
4724 continue
4726 rm -f conftest.err conftest.$ac_ext
4728 # OK, works on sane cases. Now check whether nonexistent headers
4729 # can be detected and how.
4730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4731 /* end confdefs.h. */
4732 #include <ac_nonexistent.h>
4733 _ACEOF
4734 if ac_fn_c_try_cpp "$LINENO"; then :
4735 # Broken: success on invalid input.
4736 continue
4737 else
4738 # Passes both tests.
4739 ac_preproc_ok=:
4740 break
4742 rm -f conftest.err conftest.$ac_ext
4744 done
4745 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4746 rm -f conftest.err conftest.$ac_ext
4747 if $ac_preproc_ok; then :
4748 break
4751 done
4752 ac_cv_prog_CPP=$CPP
4755 CPP=$ac_cv_prog_CPP
4756 else
4757 ac_cv_prog_CPP=$CPP
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4760 $as_echo "$CPP" >&6; }
4761 ac_preproc_ok=false
4762 for ac_c_preproc_warn_flag in '' yes
4764 # Use a header file that comes with gcc, so configuring glibc
4765 # with a fresh cross-compiler works.
4766 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4767 # <limits.h> exists even on freestanding compilers.
4768 # On the NeXT, cc -E runs the code through the compiler's parser,
4769 # not just through cpp. "Syntax error" is here to catch this case.
4770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4771 /* end confdefs.h. */
4772 #ifdef __STDC__
4773 # include <limits.h>
4774 #else
4775 # include <assert.h>
4776 #endif
4777 Syntax error
4778 _ACEOF
4779 if ac_fn_c_try_cpp "$LINENO"; then :
4781 else
4782 # Broken: fails on valid input.
4783 continue
4785 rm -f conftest.err conftest.$ac_ext
4787 # OK, works on sane cases. Now check whether nonexistent headers
4788 # can be detected and how.
4789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4790 /* end confdefs.h. */
4791 #include <ac_nonexistent.h>
4792 _ACEOF
4793 if ac_fn_c_try_cpp "$LINENO"; then :
4794 # Broken: success on invalid input.
4795 continue
4796 else
4797 # Passes both tests.
4798 ac_preproc_ok=:
4799 break
4801 rm -f conftest.err conftest.$ac_ext
4803 done
4804 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4805 rm -f conftest.err conftest.$ac_ext
4806 if $ac_preproc_ok; then :
4808 else
4809 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4810 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4811 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4812 See \`config.log' for more details." "$LINENO" 5; }
4815 ac_ext=c
4816 ac_cpp='$CPP $CPPFLAGS'
4817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4823 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4824 if test "${ac_cv_path_GREP+set}" = set; then :
4825 $as_echo_n "(cached) " >&6
4826 else
4827 if test -z "$GREP"; then
4828 ac_path_GREP_found=false
4829 # Loop through the user's path and test for each of PROGNAME-LIST
4830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4831 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4833 IFS=$as_save_IFS
4834 test -z "$as_dir" && as_dir=.
4835 for ac_prog in grep ggrep; do
4836 for ac_exec_ext in '' $ac_executable_extensions; do
4837 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4838 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4839 # Check for GNU ac_path_GREP and select it if it is found.
4840 # Check for GNU $ac_path_GREP
4841 case `"$ac_path_GREP" --version 2>&1` in
4842 *GNU*)
4843 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4845 ac_count=0
4846 $as_echo_n 0123456789 >"conftest.in"
4847 while :
4849 cat "conftest.in" "conftest.in" >"conftest.tmp"
4850 mv "conftest.tmp" "conftest.in"
4851 cp "conftest.in" "conftest.nl"
4852 $as_echo 'GREP' >> "conftest.nl"
4853 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4854 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4855 as_fn_arith $ac_count + 1 && ac_count=$as_val
4856 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4857 # Best one so far, save it but keep looking for a better one
4858 ac_cv_path_GREP="$ac_path_GREP"
4859 ac_path_GREP_max=$ac_count
4861 # 10*(2^10) chars as input seems more than enough
4862 test $ac_count -gt 10 && break
4863 done
4864 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4865 esac
4867 $ac_path_GREP_found && break 3
4868 done
4869 done
4870 done
4871 IFS=$as_save_IFS
4872 if test -z "$ac_cv_path_GREP"; then
4873 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4875 else
4876 ac_cv_path_GREP=$GREP
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4881 $as_echo "$ac_cv_path_GREP" >&6; }
4882 GREP="$ac_cv_path_GREP"
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4886 $as_echo_n "checking for egrep... " >&6; }
4887 if test "${ac_cv_path_EGREP+set}" = set; then :
4888 $as_echo_n "(cached) " >&6
4889 else
4890 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4891 then ac_cv_path_EGREP="$GREP -E"
4892 else
4893 if test -z "$EGREP"; then
4894 ac_path_EGREP_found=false
4895 # Loop through the user's path and test for each of PROGNAME-LIST
4896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4897 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4899 IFS=$as_save_IFS
4900 test -z "$as_dir" && as_dir=.
4901 for ac_prog in egrep; do
4902 for ac_exec_ext in '' $ac_executable_extensions; do
4903 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4904 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4905 # Check for GNU ac_path_EGREP and select it if it is found.
4906 # Check for GNU $ac_path_EGREP
4907 case `"$ac_path_EGREP" --version 2>&1` in
4908 *GNU*)
4909 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4911 ac_count=0
4912 $as_echo_n 0123456789 >"conftest.in"
4913 while :
4915 cat "conftest.in" "conftest.in" >"conftest.tmp"
4916 mv "conftest.tmp" "conftest.in"
4917 cp "conftest.in" "conftest.nl"
4918 $as_echo 'EGREP' >> "conftest.nl"
4919 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4920 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4921 as_fn_arith $ac_count + 1 && ac_count=$as_val
4922 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4923 # Best one so far, save it but keep looking for a better one
4924 ac_cv_path_EGREP="$ac_path_EGREP"
4925 ac_path_EGREP_max=$ac_count
4927 # 10*(2^10) chars as input seems more than enough
4928 test $ac_count -gt 10 && break
4929 done
4930 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4931 esac
4933 $ac_path_EGREP_found && break 3
4934 done
4935 done
4936 done
4937 IFS=$as_save_IFS
4938 if test -z "$ac_cv_path_EGREP"; then
4939 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4941 else
4942 ac_cv_path_EGREP=$EGREP
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4948 $as_echo "$ac_cv_path_EGREP" >&6; }
4949 EGREP="$ac_cv_path_EGREP"
4953 # Keep these sync'd with the list in Makefile.am. The first provides an
4954 # expandable list at autoconf time; the second provides an expandable list
4955 # (i.e., shell variable) at configure time.
4957 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/filesystem doc po testsuite python'
4959 # These need to be absolute paths, yet at the same time need to
4960 # canonicalize only relative paths, because then amd will not unmount
4961 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4962 glibcxx_builddir=`${PWDCMD-pwd}`
4963 case $srcdir in
4964 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4965 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4966 esac
4967 toplevel_builddir=${glibcxx_builddir}/..
4968 toplevel_srcdir=${glibcxx_srcdir}/..
4974 # We use these options to decide which functions to include. They are
4975 # set from the top level.
4977 # Check whether --with-target-subdir was given.
4978 if test "${with_target_subdir+set}" = set; then :
4979 withval=$with_target_subdir;
4984 # Check whether --with-cross-host was given.
4985 if test "${with_cross_host+set}" = set; then :
4986 withval=$with_cross_host;
4991 # Check whether --with-newlib was given.
4992 if test "${with_newlib+set}" = set; then :
4993 withval=$with_newlib;
4997 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4998 # available). Uncomment the next line to force a particular method.
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5000 $as_echo_n "checking whether ln -s works... " >&6; }
5001 LN_S=$as_ln_s
5002 if test "$LN_S" = "ln -s"; then
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5004 $as_echo "yes" >&6; }
5005 else
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5007 $as_echo "no, using $LN_S" >&6; }
5010 #LN_S='cp -p'
5012 if test -n "$ac_tool_prefix"; then
5013 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5014 set dummy ${ac_tool_prefix}as; ac_word=$2
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5016 $as_echo_n "checking for $ac_word... " >&6; }
5017 if test "${ac_cv_prog_AS+set}" = set; then :
5018 $as_echo_n "(cached) " >&6
5019 else
5020 if test -n "$AS"; then
5021 ac_cv_prog_AS="$AS" # Let the user override the test.
5022 else
5023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5024 for as_dir in $PATH
5026 IFS=$as_save_IFS
5027 test -z "$as_dir" && as_dir=.
5028 for ac_exec_ext in '' $ac_executable_extensions; do
5029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5030 ac_cv_prog_AS="${ac_tool_prefix}as"
5031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5032 break 2
5034 done
5035 done
5036 IFS=$as_save_IFS
5040 AS=$ac_cv_prog_AS
5041 if test -n "$AS"; then
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5043 $as_echo "$AS" >&6; }
5044 else
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5046 $as_echo "no" >&6; }
5051 if test -z "$ac_cv_prog_AS"; then
5052 ac_ct_AS=$AS
5053 # Extract the first word of "as", so it can be a program name with args.
5054 set dummy as; ac_word=$2
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5056 $as_echo_n "checking for $ac_word... " >&6; }
5057 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5058 $as_echo_n "(cached) " >&6
5059 else
5060 if test -n "$ac_ct_AS"; then
5061 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5062 else
5063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5064 for as_dir in $PATH
5066 IFS=$as_save_IFS
5067 test -z "$as_dir" && as_dir=.
5068 for ac_exec_ext in '' $ac_executable_extensions; do
5069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5070 ac_cv_prog_ac_ct_AS="as"
5071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5072 break 2
5074 done
5075 done
5076 IFS=$as_save_IFS
5080 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5081 if test -n "$ac_ct_AS"; then
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5083 $as_echo "$ac_ct_AS" >&6; }
5084 else
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5086 $as_echo "no" >&6; }
5089 if test "x$ac_ct_AS" = x; then
5090 AS=""
5091 else
5092 case $cross_compiling:$ac_tool_warned in
5093 yes:)
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5095 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5096 ac_tool_warned=yes ;;
5097 esac
5098 AS=$ac_ct_AS
5100 else
5101 AS="$ac_cv_prog_AS"
5104 if test -n "$ac_tool_prefix"; then
5105 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5106 set dummy ${ac_tool_prefix}ar; ac_word=$2
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5108 $as_echo_n "checking for $ac_word... " >&6; }
5109 if test "${ac_cv_prog_AR+set}" = set; then :
5110 $as_echo_n "(cached) " >&6
5111 else
5112 if test -n "$AR"; then
5113 ac_cv_prog_AR="$AR" # Let the user override the test.
5114 else
5115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5116 for as_dir in $PATH
5118 IFS=$as_save_IFS
5119 test -z "$as_dir" && as_dir=.
5120 for ac_exec_ext in '' $ac_executable_extensions; do
5121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5122 ac_cv_prog_AR="${ac_tool_prefix}ar"
5123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5124 break 2
5126 done
5127 done
5128 IFS=$as_save_IFS
5132 AR=$ac_cv_prog_AR
5133 if test -n "$AR"; then
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5135 $as_echo "$AR" >&6; }
5136 else
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5138 $as_echo "no" >&6; }
5143 if test -z "$ac_cv_prog_AR"; then
5144 ac_ct_AR=$AR
5145 # Extract the first word of "ar", so it can be a program name with args.
5146 set dummy ar; ac_word=$2
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5148 $as_echo_n "checking for $ac_word... " >&6; }
5149 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5150 $as_echo_n "(cached) " >&6
5151 else
5152 if test -n "$ac_ct_AR"; then
5153 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5154 else
5155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5156 for as_dir in $PATH
5158 IFS=$as_save_IFS
5159 test -z "$as_dir" && as_dir=.
5160 for ac_exec_ext in '' $ac_executable_extensions; do
5161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5162 ac_cv_prog_ac_ct_AR="ar"
5163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5164 break 2
5166 done
5167 done
5168 IFS=$as_save_IFS
5172 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5173 if test -n "$ac_ct_AR"; then
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5175 $as_echo "$ac_ct_AR" >&6; }
5176 else
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5178 $as_echo "no" >&6; }
5181 if test "x$ac_ct_AR" = x; then
5182 AR=""
5183 else
5184 case $cross_compiling:$ac_tool_warned in
5185 yes:)
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5188 ac_tool_warned=yes ;;
5189 esac
5190 AR=$ac_ct_AR
5192 else
5193 AR="$ac_cv_prog_AR"
5196 if test -n "$ac_tool_prefix"; then
5197 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5198 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5200 $as_echo_n "checking for $ac_word... " >&6; }
5201 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5202 $as_echo_n "(cached) " >&6
5203 else
5204 if test -n "$RANLIB"; then
5205 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5206 else
5207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5208 for as_dir in $PATH
5210 IFS=$as_save_IFS
5211 test -z "$as_dir" && as_dir=.
5212 for ac_exec_ext in '' $ac_executable_extensions; do
5213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5214 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5216 break 2
5218 done
5219 done
5220 IFS=$as_save_IFS
5224 RANLIB=$ac_cv_prog_RANLIB
5225 if test -n "$RANLIB"; then
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5227 $as_echo "$RANLIB" >&6; }
5228 else
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5230 $as_echo "no" >&6; }
5235 if test -z "$ac_cv_prog_RANLIB"; then
5236 ac_ct_RANLIB=$RANLIB
5237 # Extract the first word of "ranlib", so it can be a program name with args.
5238 set dummy ranlib; ac_word=$2
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5240 $as_echo_n "checking for $ac_word... " >&6; }
5241 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5242 $as_echo_n "(cached) " >&6
5243 else
5244 if test -n "$ac_ct_RANLIB"; then
5245 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5246 else
5247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5248 for as_dir in $PATH
5250 IFS=$as_save_IFS
5251 test -z "$as_dir" && as_dir=.
5252 for ac_exec_ext in '' $ac_executable_extensions; do
5253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5254 ac_cv_prog_ac_ct_RANLIB="ranlib"
5255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5256 break 2
5258 done
5259 done
5260 IFS=$as_save_IFS
5264 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5265 if test -n "$ac_ct_RANLIB"; then
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5267 $as_echo "$ac_ct_RANLIB" >&6; }
5268 else
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5270 $as_echo "no" >&6; }
5273 if test "x$ac_ct_RANLIB" = x; then
5274 RANLIB="ranlib-not-found-in-path-error"
5275 else
5276 case $cross_compiling:$ac_tool_warned in
5277 yes:)
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5279 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5280 ac_tool_warned=yes ;;
5281 esac
5282 RANLIB=$ac_ct_RANLIB
5284 else
5285 RANLIB="$ac_cv_prog_RANLIB"
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5291 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5292 # Check whether --enable-maintainer-mode was given.
5293 if test "${enable_maintainer_mode+set}" = set; then :
5294 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5295 else
5296 USE_MAINTAINER_MODE=no
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5300 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5301 if test $USE_MAINTAINER_MODE = yes; then
5302 MAINTAINER_MODE_TRUE=
5303 MAINTAINER_MODE_FALSE='#'
5304 else
5305 MAINTAINER_MODE_TRUE='#'
5306 MAINTAINER_MODE_FALSE=
5309 MAINT=$MAINTAINER_MODE_TRUE
5313 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5314 # which are themselves conditionally expanded.
5315 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5316 ## other macros from doing the same. This should be automated.) -pme
5318 # Check for C library flavor since GNU/Linux platforms use different
5319 # configuration directories depending on the C library in use.
5320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5321 /* end confdefs.h. */
5323 #include <stdio.h>
5324 #if __UCLIBC__
5325 _using_uclibc
5326 #endif
5328 _ACEOF
5329 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5330 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5331 uclibc=yes
5332 else
5333 uclibc=no
5335 rm -f conftest*
5338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5339 /* end confdefs.h. */
5341 #include <stdio.h>
5342 #if __BIONIC__
5343 _using_bionic
5344 #endif
5346 _ACEOF
5347 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5348 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5349 bionic=yes
5350 else
5351 bionic=no
5353 rm -f conftest*
5356 # Find platform-specific directories containing configuration info.
5357 # Also possibly modify flags used elsewhere, as needed by the platform.
5359 . $glibcxx_srcdir/configure.host
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5361 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5363 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5367 # Libtool setup.
5368 if test "x${with_newlib}" != "xyes"; then
5369 enable_dlopen=yes
5374 case `pwd` in
5375 *\ * | *\ *)
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5377 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5378 esac
5382 macro_version='2.2.7a'
5383 macro_revision='1.3134'
5397 ltmain="$ac_aux_dir/ltmain.sh"
5399 # Backslashify metacharacters that are still active within
5400 # double-quoted strings.
5401 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5403 # Same as above, but do not quote variable references.
5404 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5406 # Sed substitution to delay expansion of an escaped shell variable in a
5407 # double_quote_subst'ed string.
5408 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5410 # Sed substitution to delay expansion of an escaped single quote.
5411 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5413 # Sed substitution to avoid accidental globbing in evaled expressions
5414 no_glob_subst='s/\*/\\\*/g'
5416 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5417 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5418 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5421 $as_echo_n "checking how to print strings... " >&6; }
5422 # Test print first, because it will be a builtin if present.
5423 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5424 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5425 ECHO='print -r --'
5426 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5427 ECHO='printf %s\n'
5428 else
5429 # Use this function as a fallback that always works.
5430 func_fallback_echo ()
5432 eval 'cat <<_LTECHO_EOF
5434 _LTECHO_EOF'
5436 ECHO='func_fallback_echo'
5439 # func_echo_all arg...
5440 # Invoke $ECHO with all args, space-separated.
5441 func_echo_all ()
5443 $ECHO ""
5446 case "$ECHO" in
5447 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5448 $as_echo "printf" >&6; } ;;
5449 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5450 $as_echo "print -r" >&6; } ;;
5451 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5452 $as_echo "cat" >&6; } ;;
5453 esac
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5469 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5470 if test "${ac_cv_path_SED+set}" = set; then :
5471 $as_echo_n "(cached) " >&6
5472 else
5473 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5474 for ac_i in 1 2 3 4 5 6 7; do
5475 ac_script="$ac_script$as_nl$ac_script"
5476 done
5477 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5478 { ac_script=; unset ac_script;}
5479 if test -z "$SED"; then
5480 ac_path_SED_found=false
5481 # Loop through the user's path and test for each of PROGNAME-LIST
5482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5483 for as_dir in $PATH
5485 IFS=$as_save_IFS
5486 test -z "$as_dir" && as_dir=.
5487 for ac_prog in sed gsed; do
5488 for ac_exec_ext in '' $ac_executable_extensions; do
5489 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5490 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5491 # Check for GNU ac_path_SED and select it if it is found.
5492 # Check for GNU $ac_path_SED
5493 case `"$ac_path_SED" --version 2>&1` in
5494 *GNU*)
5495 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5497 ac_count=0
5498 $as_echo_n 0123456789 >"conftest.in"
5499 while :
5501 cat "conftest.in" "conftest.in" >"conftest.tmp"
5502 mv "conftest.tmp" "conftest.in"
5503 cp "conftest.in" "conftest.nl"
5504 $as_echo '' >> "conftest.nl"
5505 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5506 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5507 as_fn_arith $ac_count + 1 && ac_count=$as_val
5508 if test $ac_count -gt ${ac_path_SED_max-0}; then
5509 # Best one so far, save it but keep looking for a better one
5510 ac_cv_path_SED="$ac_path_SED"
5511 ac_path_SED_max=$ac_count
5513 # 10*(2^10) chars as input seems more than enough
5514 test $ac_count -gt 10 && break
5515 done
5516 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5517 esac
5519 $ac_path_SED_found && break 3
5520 done
5521 done
5522 done
5523 IFS=$as_save_IFS
5524 if test -z "$ac_cv_path_SED"; then
5525 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5527 else
5528 ac_cv_path_SED=$SED
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5533 $as_echo "$ac_cv_path_SED" >&6; }
5534 SED="$ac_cv_path_SED"
5535 rm -f conftest.sed
5537 test -z "$SED" && SED=sed
5538 Xsed="$SED -e 1s/^X//"
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5551 $as_echo_n "checking for fgrep... " >&6; }
5552 if test "${ac_cv_path_FGREP+set}" = set; then :
5553 $as_echo_n "(cached) " >&6
5554 else
5555 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5556 then ac_cv_path_FGREP="$GREP -F"
5557 else
5558 if test -z "$FGREP"; then
5559 ac_path_FGREP_found=false
5560 # Loop through the user's path and test for each of PROGNAME-LIST
5561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5562 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5564 IFS=$as_save_IFS
5565 test -z "$as_dir" && as_dir=.
5566 for ac_prog in fgrep; do
5567 for ac_exec_ext in '' $ac_executable_extensions; do
5568 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5569 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5570 # Check for GNU ac_path_FGREP and select it if it is found.
5571 # Check for GNU $ac_path_FGREP
5572 case `"$ac_path_FGREP" --version 2>&1` in
5573 *GNU*)
5574 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5576 ac_count=0
5577 $as_echo_n 0123456789 >"conftest.in"
5578 while :
5580 cat "conftest.in" "conftest.in" >"conftest.tmp"
5581 mv "conftest.tmp" "conftest.in"
5582 cp "conftest.in" "conftest.nl"
5583 $as_echo 'FGREP' >> "conftest.nl"
5584 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5585 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5586 as_fn_arith $ac_count + 1 && ac_count=$as_val
5587 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5588 # Best one so far, save it but keep looking for a better one
5589 ac_cv_path_FGREP="$ac_path_FGREP"
5590 ac_path_FGREP_max=$ac_count
5592 # 10*(2^10) chars as input seems more than enough
5593 test $ac_count -gt 10 && break
5594 done
5595 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5596 esac
5598 $ac_path_FGREP_found && break 3
5599 done
5600 done
5601 done
5602 IFS=$as_save_IFS
5603 if test -z "$ac_cv_path_FGREP"; then
5604 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5606 else
5607 ac_cv_path_FGREP=$FGREP
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5613 $as_echo "$ac_cv_path_FGREP" >&6; }
5614 FGREP="$ac_cv_path_FGREP"
5617 test -z "$GREP" && GREP=grep
5637 # Check whether --with-gnu-ld was given.
5638 if test "${with_gnu_ld+set}" = set; then :
5639 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5640 else
5641 with_gnu_ld=no
5644 ac_prog=ld
5645 if test "$GCC" = yes; then
5646 # Check if gcc -print-prog-name=ld gives a path.
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5648 $as_echo_n "checking for ld used by $CC... " >&6; }
5649 case $host in
5650 *-*-mingw*)
5651 # gcc leaves a trailing carriage return which upsets mingw
5652 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5654 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5655 esac
5656 case $ac_prog in
5657 # Accept absolute paths.
5658 [\\/]* | ?:[\\/]*)
5659 re_direlt='/[^/][^/]*/\.\./'
5660 # Canonicalize the pathname of ld
5661 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5662 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5663 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5664 done
5665 test -z "$LD" && LD="$ac_prog"
5668 # If it fails, then pretend we aren't using GCC.
5669 ac_prog=ld
5672 # If it is relative, then search for the first ld in PATH.
5673 with_gnu_ld=unknown
5675 esac
5676 elif test "$with_gnu_ld" = yes; then
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5678 $as_echo_n "checking for GNU ld... " >&6; }
5679 else
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5681 $as_echo_n "checking for non-GNU ld... " >&6; }
5683 if test "${lt_cv_path_LD+set}" = set; then :
5684 $as_echo_n "(cached) " >&6
5685 else
5686 if test -z "$LD"; then
5687 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5688 for ac_dir in $PATH; do
5689 IFS="$lt_save_ifs"
5690 test -z "$ac_dir" && ac_dir=.
5691 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5692 lt_cv_path_LD="$ac_dir/$ac_prog"
5693 # Check to see if the program is GNU ld. I'd rather use --version,
5694 # but apparently some variants of GNU ld only accept -v.
5695 # Break only if it was the GNU/non-GNU ld that we prefer.
5696 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5697 *GNU* | *'with BFD'*)
5698 test "$with_gnu_ld" != no && break
5701 test "$with_gnu_ld" != yes && break
5703 esac
5705 done
5706 IFS="$lt_save_ifs"
5707 else
5708 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5712 LD="$lt_cv_path_LD"
5713 if test -n "$LD"; then
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5715 $as_echo "$LD" >&6; }
5716 else
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5718 $as_echo "no" >&6; }
5720 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5722 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5723 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5724 $as_echo_n "(cached) " >&6
5725 else
5726 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5727 case `$LD -v 2>&1 </dev/null` in
5728 *GNU* | *'with BFD'*)
5729 lt_cv_prog_gnu_ld=yes
5732 lt_cv_prog_gnu_ld=no
5734 esac
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5737 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5738 with_gnu_ld=$lt_cv_prog_gnu_ld
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5749 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5750 if test "${lt_cv_path_NM+set}" = set; then :
5751 $as_echo_n "(cached) " >&6
5752 else
5753 if test -n "$NM"; then
5754 # Let the user override the test.
5755 lt_cv_path_NM="$NM"
5756 else
5757 lt_nm_to_check="${ac_tool_prefix}nm"
5758 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5759 lt_nm_to_check="$lt_nm_to_check nm"
5761 for lt_tmp_nm in $lt_nm_to_check; do
5762 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5763 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5764 IFS="$lt_save_ifs"
5765 test -z "$ac_dir" && ac_dir=.
5766 tmp_nm="$ac_dir/$lt_tmp_nm"
5767 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5768 # Check to see if the nm accepts a BSD-compat flag.
5769 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5770 # nm: unknown option "B" ignored
5771 # Tru64's nm complains that /dev/null is an invalid object file
5772 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5773 */dev/null* | *'Invalid file or object type'*)
5774 lt_cv_path_NM="$tmp_nm -B"
5775 break
5778 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5779 */dev/null*)
5780 lt_cv_path_NM="$tmp_nm -p"
5781 break
5784 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5785 continue # so that we can try to find one that supports BSD flags
5787 esac
5789 esac
5791 done
5792 IFS="$lt_save_ifs"
5793 done
5794 : ${lt_cv_path_NM=no}
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5798 $as_echo "$lt_cv_path_NM" >&6; }
5799 if test "$lt_cv_path_NM" != "no"; then
5800 NM="$lt_cv_path_NM"
5801 else
5802 # Didn't find any BSD compatible name lister, look for dumpbin.
5803 if test -n "$DUMPBIN"; then :
5804 # Let the user override the test.
5805 else
5806 if test -n "$ac_tool_prefix"; then
5807 for ac_prog in dumpbin "link -dump"
5809 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5810 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5812 $as_echo_n "checking for $ac_word... " >&6; }
5813 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5814 $as_echo_n "(cached) " >&6
5815 else
5816 if test -n "$DUMPBIN"; then
5817 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5818 else
5819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5820 for as_dir in $PATH
5822 IFS=$as_save_IFS
5823 test -z "$as_dir" && as_dir=.
5824 for ac_exec_ext in '' $ac_executable_extensions; do
5825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5826 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5828 break 2
5830 done
5831 done
5832 IFS=$as_save_IFS
5836 DUMPBIN=$ac_cv_prog_DUMPBIN
5837 if test -n "$DUMPBIN"; then
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5839 $as_echo "$DUMPBIN" >&6; }
5840 else
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5842 $as_echo "no" >&6; }
5846 test -n "$DUMPBIN" && break
5847 done
5849 if test -z "$DUMPBIN"; then
5850 ac_ct_DUMPBIN=$DUMPBIN
5851 for ac_prog in dumpbin "link -dump"
5853 # Extract the first word of "$ac_prog", so it can be a program name with args.
5854 set dummy $ac_prog; ac_word=$2
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5856 $as_echo_n "checking for $ac_word... " >&6; }
5857 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5858 $as_echo_n "(cached) " >&6
5859 else
5860 if test -n "$ac_ct_DUMPBIN"; then
5861 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5862 else
5863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5864 for as_dir in $PATH
5866 IFS=$as_save_IFS
5867 test -z "$as_dir" && as_dir=.
5868 for ac_exec_ext in '' $ac_executable_extensions; do
5869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5870 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5872 break 2
5874 done
5875 done
5876 IFS=$as_save_IFS
5880 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5881 if test -n "$ac_ct_DUMPBIN"; then
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5883 $as_echo "$ac_ct_DUMPBIN" >&6; }
5884 else
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5886 $as_echo "no" >&6; }
5890 test -n "$ac_ct_DUMPBIN" && break
5891 done
5893 if test "x$ac_ct_DUMPBIN" = x; then
5894 DUMPBIN=":"
5895 else
5896 case $cross_compiling:$ac_tool_warned in
5897 yes:)
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5899 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5900 ac_tool_warned=yes ;;
5901 esac
5902 DUMPBIN=$ac_ct_DUMPBIN
5906 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5907 *COFF*)
5908 DUMPBIN="$DUMPBIN -symbols"
5911 DUMPBIN=:
5913 esac
5916 if test "$DUMPBIN" != ":"; then
5917 NM="$DUMPBIN"
5920 test -z "$NM" && NM=nm
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5928 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5929 if test "${lt_cv_nm_interface+set}" = set; then :
5930 $as_echo_n "(cached) " >&6
5931 else
5932 lt_cv_nm_interface="BSD nm"
5933 echo "int some_variable = 0;" > conftest.$ac_ext
5934 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5935 (eval "$ac_compile" 2>conftest.err)
5936 cat conftest.err >&5
5937 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5938 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5939 cat conftest.err >&5
5940 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5941 cat conftest.out >&5
5942 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5943 lt_cv_nm_interface="MS dumpbin"
5945 rm -f conftest*
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5948 $as_echo "$lt_cv_nm_interface" >&6; }
5950 # find the maximum length of command line arguments
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5952 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5953 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5954 $as_echo_n "(cached) " >&6
5955 else
5957 teststring="ABCD"
5959 case $build_os in
5960 msdosdjgpp*)
5961 # On DJGPP, this test can blow up pretty badly due to problems in libc
5962 # (any single argument exceeding 2000 bytes causes a buffer overrun
5963 # during glob expansion). Even if it were fixed, the result of this
5964 # check would be larger than it should be.
5965 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5968 gnu*)
5969 # Under GNU Hurd, this test is not required because there is
5970 # no limit to the length of command line arguments.
5971 # Libtool will interpret -1 as no limit whatsoever
5972 lt_cv_sys_max_cmd_len=-1;
5975 cygwin* | mingw* | cegcc*)
5976 # On Win9x/ME, this test blows up -- it succeeds, but takes
5977 # about 5 minutes as the teststring grows exponentially.
5978 # Worse, since 9x/ME are not pre-emptively multitasking,
5979 # you end up with a "frozen" computer, even though with patience
5980 # the test eventually succeeds (with a max line length of 256k).
5981 # Instead, let's just punt: use the minimum linelength reported by
5982 # all of the supported platforms: 8192 (on NT/2K/XP).
5983 lt_cv_sys_max_cmd_len=8192;
5986 mint*)
5987 # On MiNT this can take a long time and run out of memory.
5988 lt_cv_sys_max_cmd_len=8192;
5991 amigaos*)
5992 # On AmigaOS with pdksh, this test takes hours, literally.
5993 # So we just punt and use a minimum line length of 8192.
5994 lt_cv_sys_max_cmd_len=8192;
5997 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5998 # This has been around since 386BSD, at least. Likely further.
5999 if test -x /sbin/sysctl; then
6000 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6001 elif test -x /usr/sbin/sysctl; then
6002 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6003 else
6004 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6006 # And add a safety zone
6007 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6008 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6011 interix*)
6012 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6013 lt_cv_sys_max_cmd_len=196608
6016 osf*)
6017 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6018 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6019 # nice to cause kernel panics so lets avoid the loop below.
6020 # First set a reasonable default.
6021 lt_cv_sys_max_cmd_len=16384
6023 if test -x /sbin/sysconfig; then
6024 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6025 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6026 esac
6029 sco3.2v5*)
6030 lt_cv_sys_max_cmd_len=102400
6032 sysv5* | sco5v6* | sysv4.2uw2*)
6033 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6034 if test -n "$kargmax"; then
6035 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6036 else
6037 lt_cv_sys_max_cmd_len=32768
6041 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6042 if test -n "$lt_cv_sys_max_cmd_len"; then
6043 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6044 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6045 else
6046 # Make teststring a little bigger before we do anything with it.
6047 # a 1K string should be a reasonable start.
6048 for i in 1 2 3 4 5 6 7 8 ; do
6049 teststring=$teststring$teststring
6050 done
6051 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6052 # If test is not a shell built-in, we'll probably end up computing a
6053 # maximum length that is only half of the actual maximum length, but
6054 # we can't tell.
6055 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6056 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6057 test $i != 17 # 1/2 MB should be enough
6059 i=`expr $i + 1`
6060 teststring=$teststring$teststring
6061 done
6062 # Only check the string length outside the loop.
6063 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6064 teststring=
6065 # Add a significant safety factor because C++ compilers can tack on
6066 # massive amounts of additional arguments before passing them to the
6067 # linker. It appears as though 1/2 is a usable value.
6068 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6071 esac
6075 if test -n $lt_cv_sys_max_cmd_len ; then
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6077 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6078 else
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6080 $as_echo "none" >&6; }
6082 max_cmd_len=$lt_cv_sys_max_cmd_len
6089 : ${CP="cp -f"}
6090 : ${MV="mv -f"}
6091 : ${RM="rm -f"}
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6094 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6095 # Try some XSI features
6096 xsi_shell=no
6097 ( _lt_dummy="a/b/c"
6098 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6099 = c,a/b,, \
6100 && eval 'test $(( 1 + 1 )) -eq 2 \
6101 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6102 && xsi_shell=yes
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6104 $as_echo "$xsi_shell" >&6; }
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6108 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6109 lt_shell_append=no
6110 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6111 >/dev/null 2>&1 \
6112 && lt_shell_append=yes
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6114 $as_echo "$lt_shell_append" >&6; }
6117 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6118 lt_unset=unset
6119 else
6120 lt_unset=false
6127 # test EBCDIC or ASCII
6128 case `echo X|tr X '\101'` in
6129 A) # ASCII based system
6130 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6131 lt_SP2NL='tr \040 \012'
6132 lt_NL2SP='tr \015\012 \040\040'
6134 *) # EBCDIC based system
6135 lt_SP2NL='tr \100 \n'
6136 lt_NL2SP='tr \r\n \100\100'
6138 esac
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6149 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6150 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6151 $as_echo_n "(cached) " >&6
6152 else
6153 lt_cv_ld_reload_flag='-r'
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6156 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6157 reload_flag=$lt_cv_ld_reload_flag
6158 case $reload_flag in
6159 "" | " "*) ;;
6160 *) reload_flag=" $reload_flag" ;;
6161 esac
6162 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6163 case $host_os in
6164 darwin*)
6165 if test "$GCC" = yes; then
6166 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6167 else
6168 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6171 esac
6181 if test -n "$ac_tool_prefix"; then
6182 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6183 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6185 $as_echo_n "checking for $ac_word... " >&6; }
6186 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6187 $as_echo_n "(cached) " >&6
6188 else
6189 if test -n "$OBJDUMP"; then
6190 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6191 else
6192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6193 for as_dir in $PATH
6195 IFS=$as_save_IFS
6196 test -z "$as_dir" && as_dir=.
6197 for ac_exec_ext in '' $ac_executable_extensions; do
6198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6199 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6201 break 2
6203 done
6204 done
6205 IFS=$as_save_IFS
6209 OBJDUMP=$ac_cv_prog_OBJDUMP
6210 if test -n "$OBJDUMP"; then
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6212 $as_echo "$OBJDUMP" >&6; }
6213 else
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6215 $as_echo "no" >&6; }
6220 if test -z "$ac_cv_prog_OBJDUMP"; then
6221 ac_ct_OBJDUMP=$OBJDUMP
6222 # Extract the first word of "objdump", so it can be a program name with args.
6223 set dummy objdump; ac_word=$2
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6225 $as_echo_n "checking for $ac_word... " >&6; }
6226 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6227 $as_echo_n "(cached) " >&6
6228 else
6229 if test -n "$ac_ct_OBJDUMP"; then
6230 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6231 else
6232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6233 for as_dir in $PATH
6235 IFS=$as_save_IFS
6236 test -z "$as_dir" && as_dir=.
6237 for ac_exec_ext in '' $ac_executable_extensions; do
6238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6239 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6241 break 2
6243 done
6244 done
6245 IFS=$as_save_IFS
6249 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6250 if test -n "$ac_ct_OBJDUMP"; then
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6252 $as_echo "$ac_ct_OBJDUMP" >&6; }
6253 else
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6255 $as_echo "no" >&6; }
6258 if test "x$ac_ct_OBJDUMP" = x; then
6259 OBJDUMP="false"
6260 else
6261 case $cross_compiling:$ac_tool_warned in
6262 yes:)
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6264 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6265 ac_tool_warned=yes ;;
6266 esac
6267 OBJDUMP=$ac_ct_OBJDUMP
6269 else
6270 OBJDUMP="$ac_cv_prog_OBJDUMP"
6273 test -z "$OBJDUMP" && OBJDUMP=objdump
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6284 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6285 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6286 $as_echo_n "(cached) " >&6
6287 else
6288 lt_cv_file_magic_cmd='$MAGIC_CMD'
6289 lt_cv_file_magic_test_file=
6290 lt_cv_deplibs_check_method='unknown'
6291 # Need to set the preceding variable on all platforms that support
6292 # interlibrary dependencies.
6293 # 'none' -- dependencies not supported.
6294 # `unknown' -- same as none, but documents that we really don't know.
6295 # 'pass_all' -- all dependencies passed with no checks.
6296 # 'test_compile' -- check by making test program.
6297 # 'file_magic [[regex]]' -- check by looking for files in library path
6298 # which responds to the $file_magic_cmd with a given extended regex.
6299 # If you have `file' or equivalent on your system and you're not sure
6300 # whether `pass_all' will *always* work, you probably want this one.
6302 case $host_os in
6303 aix[4-9]*)
6304 lt_cv_deplibs_check_method=pass_all
6307 beos*)
6308 lt_cv_deplibs_check_method=pass_all
6311 bsdi[45]*)
6312 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6313 lt_cv_file_magic_cmd='/usr/bin/file -L'
6314 lt_cv_file_magic_test_file=/shlib/libc.so
6317 cygwin*)
6318 # func_win32_libid is a shell function defined in ltmain.sh
6319 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6320 lt_cv_file_magic_cmd='func_win32_libid'
6323 mingw* | pw32*)
6324 # Base MSYS/MinGW do not provide the 'file' command needed by
6325 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6326 # unless we find 'file', for example because we are cross-compiling.
6327 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6328 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6329 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6330 lt_cv_file_magic_cmd='func_win32_libid'
6331 else
6332 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6333 lt_cv_file_magic_cmd='$OBJDUMP -f'
6337 cegcc*)
6338 # use the weaker test based on 'objdump'. See mingw*.
6339 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6340 lt_cv_file_magic_cmd='$OBJDUMP -f'
6343 darwin* | rhapsody*)
6344 lt_cv_deplibs_check_method=pass_all
6347 freebsd* | dragonfly*)
6348 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6349 case $host_cpu in
6350 i*86 )
6351 # Not sure whether the presence of OpenBSD here was a mistake.
6352 # Let's accept both of them until this is cleared up.
6353 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6354 lt_cv_file_magic_cmd=/usr/bin/file
6355 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6357 esac
6358 else
6359 lt_cv_deplibs_check_method=pass_all
6363 gnu*)
6364 lt_cv_deplibs_check_method=pass_all
6367 haiku*)
6368 lt_cv_deplibs_check_method=pass_all
6371 hpux10.20* | hpux11*)
6372 lt_cv_file_magic_cmd=/usr/bin/file
6373 case $host_cpu in
6374 ia64*)
6375 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6376 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6378 hppa*64*)
6379 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]'
6380 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6383 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6384 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6386 esac
6389 interix[3-9]*)
6390 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6391 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6394 irix5* | irix6* | nonstopux*)
6395 case $LD in
6396 *-32|*"-32 ") libmagic=32-bit;;
6397 *-n32|*"-n32 ") libmagic=N32;;
6398 *-64|*"-64 ") libmagic=64-bit;;
6399 *) libmagic=never-match;;
6400 esac
6401 lt_cv_deplibs_check_method=pass_all
6404 # This must be Linux ELF.
6405 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6406 lt_cv_deplibs_check_method=pass_all
6409 netbsd*)
6410 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6411 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6412 else
6413 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6417 newos6*)
6418 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6419 lt_cv_file_magic_cmd=/usr/bin/file
6420 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6423 *nto* | *qnx*)
6424 lt_cv_deplibs_check_method=pass_all
6427 openbsd*)
6428 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6429 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6430 else
6431 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6435 osf3* | osf4* | osf5*)
6436 lt_cv_deplibs_check_method=pass_all
6439 rdos*)
6440 lt_cv_deplibs_check_method=pass_all
6443 solaris*)
6444 lt_cv_deplibs_check_method=pass_all
6447 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6448 lt_cv_deplibs_check_method=pass_all
6451 sysv4 | sysv4.3*)
6452 case $host_vendor in
6453 motorola)
6454 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]'
6455 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6457 ncr)
6458 lt_cv_deplibs_check_method=pass_all
6460 sequent)
6461 lt_cv_file_magic_cmd='/bin/file'
6462 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6464 sni)
6465 lt_cv_file_magic_cmd='/bin/file'
6466 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6467 lt_cv_file_magic_test_file=/lib/libc.so
6469 siemens)
6470 lt_cv_deplibs_check_method=pass_all
6473 lt_cv_deplibs_check_method=pass_all
6475 esac
6478 tpf*)
6479 lt_cv_deplibs_check_method=pass_all
6481 esac
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6485 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6486 file_magic_cmd=$lt_cv_file_magic_cmd
6487 deplibs_check_method=$lt_cv_deplibs_check_method
6488 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6501 if test -n "$ac_tool_prefix"; then
6502 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6503 set dummy ${ac_tool_prefix}ar; ac_word=$2
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6505 $as_echo_n "checking for $ac_word... " >&6; }
6506 if test "${ac_cv_prog_AR+set}" = set; then :
6507 $as_echo_n "(cached) " >&6
6508 else
6509 if test -n "$AR"; then
6510 ac_cv_prog_AR="$AR" # Let the user override the test.
6511 else
6512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6513 for as_dir in $PATH
6515 IFS=$as_save_IFS
6516 test -z "$as_dir" && as_dir=.
6517 for ac_exec_ext in '' $ac_executable_extensions; do
6518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6519 ac_cv_prog_AR="${ac_tool_prefix}ar"
6520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6521 break 2
6523 done
6524 done
6525 IFS=$as_save_IFS
6529 AR=$ac_cv_prog_AR
6530 if test -n "$AR"; then
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6532 $as_echo "$AR" >&6; }
6533 else
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6535 $as_echo "no" >&6; }
6540 if test -z "$ac_cv_prog_AR"; then
6541 ac_ct_AR=$AR
6542 # Extract the first word of "ar", so it can be a program name with args.
6543 set dummy ar; ac_word=$2
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6545 $as_echo_n "checking for $ac_word... " >&6; }
6546 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6547 $as_echo_n "(cached) " >&6
6548 else
6549 if test -n "$ac_ct_AR"; then
6550 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6551 else
6552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6553 for as_dir in $PATH
6555 IFS=$as_save_IFS
6556 test -z "$as_dir" && as_dir=.
6557 for ac_exec_ext in '' $ac_executable_extensions; do
6558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6559 ac_cv_prog_ac_ct_AR="ar"
6560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6561 break 2
6563 done
6564 done
6565 IFS=$as_save_IFS
6569 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6570 if test -n "$ac_ct_AR"; then
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6572 $as_echo "$ac_ct_AR" >&6; }
6573 else
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6575 $as_echo "no" >&6; }
6578 if test "x$ac_ct_AR" = x; then
6579 AR="false"
6580 else
6581 case $cross_compiling:$ac_tool_warned in
6582 yes:)
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6584 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6585 ac_tool_warned=yes ;;
6586 esac
6587 AR=$ac_ct_AR
6589 else
6590 AR="$ac_cv_prog_AR"
6593 test -z "$AR" && AR=ar
6594 test -z "$AR_FLAGS" && AR_FLAGS=cru
6606 if test -n "$ac_tool_prefix"; then
6607 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6608 set dummy ${ac_tool_prefix}strip; ac_word=$2
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6610 $as_echo_n "checking for $ac_word... " >&6; }
6611 if test "${ac_cv_prog_STRIP+set}" = set; then :
6612 $as_echo_n "(cached) " >&6
6613 else
6614 if test -n "$STRIP"; then
6615 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6616 else
6617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6618 for as_dir in $PATH
6620 IFS=$as_save_IFS
6621 test -z "$as_dir" && as_dir=.
6622 for ac_exec_ext in '' $ac_executable_extensions; do
6623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6624 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6626 break 2
6628 done
6629 done
6630 IFS=$as_save_IFS
6634 STRIP=$ac_cv_prog_STRIP
6635 if test -n "$STRIP"; then
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6637 $as_echo "$STRIP" >&6; }
6638 else
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6640 $as_echo "no" >&6; }
6645 if test -z "$ac_cv_prog_STRIP"; then
6646 ac_ct_STRIP=$STRIP
6647 # Extract the first word of "strip", so it can be a program name with args.
6648 set dummy strip; ac_word=$2
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6650 $as_echo_n "checking for $ac_word... " >&6; }
6651 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6652 $as_echo_n "(cached) " >&6
6653 else
6654 if test -n "$ac_ct_STRIP"; then
6655 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6656 else
6657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6658 for as_dir in $PATH
6660 IFS=$as_save_IFS
6661 test -z "$as_dir" && as_dir=.
6662 for ac_exec_ext in '' $ac_executable_extensions; do
6663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6664 ac_cv_prog_ac_ct_STRIP="strip"
6665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6666 break 2
6668 done
6669 done
6670 IFS=$as_save_IFS
6674 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6675 if test -n "$ac_ct_STRIP"; then
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6677 $as_echo "$ac_ct_STRIP" >&6; }
6678 else
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6680 $as_echo "no" >&6; }
6683 if test "x$ac_ct_STRIP" = x; then
6684 STRIP=":"
6685 else
6686 case $cross_compiling:$ac_tool_warned in
6687 yes:)
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6689 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6690 ac_tool_warned=yes ;;
6691 esac
6692 STRIP=$ac_ct_STRIP
6694 else
6695 STRIP="$ac_cv_prog_STRIP"
6698 test -z "$STRIP" && STRIP=:
6705 if test -n "$ac_tool_prefix"; then
6706 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6707 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6709 $as_echo_n "checking for $ac_word... " >&6; }
6710 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6711 $as_echo_n "(cached) " >&6
6712 else
6713 if test -n "$RANLIB"; then
6714 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6715 else
6716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6717 for as_dir in $PATH
6719 IFS=$as_save_IFS
6720 test -z "$as_dir" && as_dir=.
6721 for ac_exec_ext in '' $ac_executable_extensions; do
6722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6723 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6725 break 2
6727 done
6728 done
6729 IFS=$as_save_IFS
6733 RANLIB=$ac_cv_prog_RANLIB
6734 if test -n "$RANLIB"; then
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6736 $as_echo "$RANLIB" >&6; }
6737 else
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6739 $as_echo "no" >&6; }
6744 if test -z "$ac_cv_prog_RANLIB"; then
6745 ac_ct_RANLIB=$RANLIB
6746 # Extract the first word of "ranlib", so it can be a program name with args.
6747 set dummy ranlib; ac_word=$2
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6749 $as_echo_n "checking for $ac_word... " >&6; }
6750 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6751 $as_echo_n "(cached) " >&6
6752 else
6753 if test -n "$ac_ct_RANLIB"; then
6754 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6755 else
6756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6757 for as_dir in $PATH
6759 IFS=$as_save_IFS
6760 test -z "$as_dir" && as_dir=.
6761 for ac_exec_ext in '' $ac_executable_extensions; do
6762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6763 ac_cv_prog_ac_ct_RANLIB="ranlib"
6764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6765 break 2
6767 done
6768 done
6769 IFS=$as_save_IFS
6773 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6774 if test -n "$ac_ct_RANLIB"; then
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6776 $as_echo "$ac_ct_RANLIB" >&6; }
6777 else
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6779 $as_echo "no" >&6; }
6782 if test "x$ac_ct_RANLIB" = x; then
6783 RANLIB=":"
6784 else
6785 case $cross_compiling:$ac_tool_warned in
6786 yes:)
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6788 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6789 ac_tool_warned=yes ;;
6790 esac
6791 RANLIB=$ac_ct_RANLIB
6793 else
6794 RANLIB="$ac_cv_prog_RANLIB"
6797 test -z "$RANLIB" && RANLIB=:
6804 # Determine commands to create old-style static archives.
6805 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6806 old_postinstall_cmds='chmod 644 $oldlib'
6807 old_postuninstall_cmds=
6809 if test -n "$RANLIB"; then
6810 case $host_os in
6811 openbsd*)
6812 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6815 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6817 esac
6818 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6821 case $host_os in
6822 darwin*)
6823 lock_old_archive_extraction=yes ;;
6825 lock_old_archive_extraction=no ;;
6826 esac
6866 # If no C compiler was specified, use CC.
6867 LTCC=${LTCC-"$CC"}
6869 # If no C compiler flags were specified, use CFLAGS.
6870 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6872 # Allow CC to be a program name with arguments.
6873 compiler=$CC
6876 # Check for command to grab the raw symbol name followed by C symbol from nm.
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6878 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6879 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6880 $as_echo_n "(cached) " >&6
6881 else
6883 # These are sane defaults that work on at least a few old systems.
6884 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6886 # Character class describing NM global symbol codes.
6887 symcode='[BCDEGRST]'
6889 # Regexp to match symbols that can be accessed directly from C.
6890 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6892 # Define system-specific variables.
6893 case $host_os in
6894 aix*)
6895 symcode='[BCDT]'
6897 cygwin* | mingw* | pw32* | cegcc*)
6898 symcode='[ABCDGISTW]'
6900 hpux*)
6901 if test "$host_cpu" = ia64; then
6902 symcode='[ABCDEGRST]'
6905 irix* | nonstopux*)
6906 symcode='[BCDEGRST]'
6908 osf*)
6909 symcode='[BCDEGQRST]'
6911 solaris*)
6912 symcode='[BDRT]'
6914 sco3.2v5*)
6915 symcode='[DT]'
6917 sysv4.2uw2*)
6918 symcode='[DT]'
6920 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6921 symcode='[ABDT]'
6923 sysv4)
6924 symcode='[DFNSTU]'
6926 esac
6928 # If we're using GNU nm, then use its standard symbol codes.
6929 case `$NM -V 2>&1` in
6930 *GNU* | *'with BFD'*)
6931 symcode='[ABCDGIRSTW]' ;;
6932 esac
6934 # Transform an extracted symbol line into a proper C declaration.
6935 # Some systems (esp. on ia64) link data and code symbols differently,
6936 # so use this general approach.
6937 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6939 # Transform an extracted symbol line into symbol name and symbol address
6940 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6941 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'"
6943 # Handle CRLF in mingw tool chain
6944 opt_cr=
6945 case $build_os in
6946 mingw*)
6947 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6949 esac
6951 # Try without a prefix underscore, then with it.
6952 for ac_symprfx in "" "_"; do
6954 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6955 symxfrm="\\1 $ac_symprfx\\2 \\2"
6957 # Write the raw and C identifiers.
6958 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6959 # Fake it for dumpbin and say T for any non-static function
6960 # and D for any global variable.
6961 # Also find C++ and __fastcall symbols from MSVC++,
6962 # which start with @ or ?.
6963 lt_cv_sys_global_symbol_pipe="$AWK '"\
6964 " {last_section=section; section=\$ 3};"\
6965 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6966 " \$ 0!~/External *\|/{next};"\
6967 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6968 " {if(hide[section]) next};"\
6969 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6970 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6971 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6972 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6973 " ' prfx=^$ac_symprfx"
6974 else
6975 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6978 # Check to see that the pipe works correctly.
6979 pipe_works=no
6981 rm -f conftest*
6982 cat > conftest.$ac_ext <<_LT_EOF
6983 #ifdef __cplusplus
6984 extern "C" {
6985 #endif
6986 char nm_test_var;
6987 void nm_test_func(void);
6988 void nm_test_func(void){}
6989 #ifdef __cplusplus
6991 #endif
6992 int main(){nm_test_var='a';nm_test_func();return(0);}
6993 _LT_EOF
6995 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6996 (eval $ac_compile) 2>&5
6997 ac_status=$?
6998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6999 test $ac_status = 0; }; then
7000 # Now try to grab the symbols.
7001 nlist=conftest.nm
7002 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7003 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7004 ac_status=$?
7005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7006 test $ac_status = 0; } && test -s "$nlist"; then
7007 # Try sorting and uniquifying the output.
7008 if sort "$nlist" | uniq > "$nlist"T; then
7009 mv -f "$nlist"T "$nlist"
7010 else
7011 rm -f "$nlist"T
7014 # Make sure that we snagged all the symbols we need.
7015 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7016 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7017 cat <<_LT_EOF > conftest.$ac_ext
7018 #ifdef __cplusplus
7019 extern "C" {
7020 #endif
7022 _LT_EOF
7023 # Now generate the symbol file.
7024 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7026 cat <<_LT_EOF >> conftest.$ac_ext
7028 /* The mapping between symbol names and symbols. */
7029 const struct {
7030 const char *name;
7031 void *address;
7033 lt__PROGRAM__LTX_preloaded_symbols[] =
7035 { "@PROGRAM@", (void *) 0 },
7036 _LT_EOF
7037 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7038 cat <<\_LT_EOF >> conftest.$ac_ext
7039 {0, (void *) 0}
7042 /* This works around a problem in FreeBSD linker */
7043 #ifdef FREEBSD_WORKAROUND
7044 static const void *lt_preloaded_setup() {
7045 return lt__PROGRAM__LTX_preloaded_symbols;
7047 #endif
7049 #ifdef __cplusplus
7051 #endif
7052 _LT_EOF
7053 # Now try linking the two files.
7054 mv conftest.$ac_objext conftstm.$ac_objext
7055 lt_save_LIBS="$LIBS"
7056 lt_save_CFLAGS="$CFLAGS"
7057 LIBS="conftstm.$ac_objext"
7058 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7059 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7060 (eval $ac_link) 2>&5
7061 ac_status=$?
7062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7063 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7064 pipe_works=yes
7066 LIBS="$lt_save_LIBS"
7067 CFLAGS="$lt_save_CFLAGS"
7068 else
7069 echo "cannot find nm_test_func in $nlist" >&5
7071 else
7072 echo "cannot find nm_test_var in $nlist" >&5
7074 else
7075 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7077 else
7078 echo "$progname: failed program was:" >&5
7079 cat conftest.$ac_ext >&5
7081 rm -rf conftest* conftst*
7083 # Do not use the global_symbol_pipe unless it works.
7084 if test "$pipe_works" = yes; then
7085 break
7086 else
7087 lt_cv_sys_global_symbol_pipe=
7089 done
7093 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7094 lt_cv_sys_global_symbol_to_cdecl=
7096 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7098 $as_echo "failed" >&6; }
7099 else
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7101 $as_echo "ok" >&6; }
7125 # Check whether --enable-libtool-lock was given.
7126 if test "${enable_libtool_lock+set}" = set; then :
7127 enableval=$enable_libtool_lock;
7130 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7132 # Some flags need to be propagated to the compiler or linker for good
7133 # libtool support.
7134 case $host in
7135 ia64-*-hpux*)
7136 # Find out which ABI we are using.
7137 echo 'int i;' > conftest.$ac_ext
7138 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7139 (eval $ac_compile) 2>&5
7140 ac_status=$?
7141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7142 test $ac_status = 0; }; then
7143 case `/usr/bin/file conftest.$ac_objext` in
7144 *ELF-32*)
7145 HPUX_IA64_MODE="32"
7147 *ELF-64*)
7148 HPUX_IA64_MODE="64"
7150 esac
7152 rm -rf conftest*
7154 *-*-irix6*)
7155 # Find out which ABI we are using.
7156 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7157 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7158 (eval $ac_compile) 2>&5
7159 ac_status=$?
7160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7161 test $ac_status = 0; }; then
7162 if test "$lt_cv_prog_gnu_ld" = yes; then
7163 case `/usr/bin/file conftest.$ac_objext` in
7164 *32-bit*)
7165 LD="${LD-ld} -melf32bsmip"
7167 *N32*)
7168 LD="${LD-ld} -melf32bmipn32"
7170 *64-bit*)
7171 LD="${LD-ld} -melf64bmip"
7173 esac
7174 else
7175 case `/usr/bin/file conftest.$ac_objext` in
7176 *32-bit*)
7177 LD="${LD-ld} -32"
7179 *N32*)
7180 LD="${LD-ld} -n32"
7182 *64-bit*)
7183 LD="${LD-ld} -64"
7185 esac
7188 rm -rf conftest*
7191 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7192 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7193 # Find out which ABI we are using.
7194 echo 'int i;' > conftest.$ac_ext
7195 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7196 (eval $ac_compile) 2>&5
7197 ac_status=$?
7198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7199 test $ac_status = 0; }; then
7200 case `/usr/bin/file conftest.o` in
7201 *32-bit*)
7202 case $host in
7203 x86_64-*kfreebsd*-gnu)
7204 LD="${LD-ld} -m elf_i386_fbsd"
7206 x86_64-*linux*)
7207 case `/usr/bin/file conftest.o` in
7208 *x86-64*)
7209 LD="${LD-ld} -m elf32_x86_64"
7212 LD="${LD-ld} -m elf_i386"
7214 esac
7216 powerpc64le-*linux*)
7217 LD="${LD-ld} -m elf32lppclinux"
7219 powerpc64-*linux*)
7220 LD="${LD-ld} -m elf32ppclinux"
7222 s390x-*linux*)
7223 LD="${LD-ld} -m elf_s390"
7225 sparc64-*linux*)
7226 LD="${LD-ld} -m elf32_sparc"
7228 esac
7230 *64-bit*)
7231 case $host in
7232 x86_64-*kfreebsd*-gnu)
7233 LD="${LD-ld} -m elf_x86_64_fbsd"
7235 x86_64-*linux*)
7236 LD="${LD-ld} -m elf_x86_64"
7238 powerpcle-*linux*)
7239 LD="${LD-ld} -m elf64lppc"
7241 powerpc-*linux*)
7242 LD="${LD-ld} -m elf64ppc"
7244 s390*-*linux*|s390*-*tpf*)
7245 LD="${LD-ld} -m elf64_s390"
7247 sparc*-*linux*)
7248 LD="${LD-ld} -m elf64_sparc"
7250 esac
7252 esac
7254 rm -rf conftest*
7257 *-*-sco3.2v5*)
7258 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7259 SAVE_CFLAGS="$CFLAGS"
7260 CFLAGS="$CFLAGS -belf"
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7262 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7263 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7264 $as_echo_n "(cached) " >&6
7265 else
7266 ac_ext=c
7267 ac_cpp='$CPP $CPPFLAGS'
7268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7272 if test x$gcc_no_link = xyes; then
7273 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7276 /* end confdefs.h. */
7279 main ()
7283 return 0;
7285 _ACEOF
7286 if ac_fn_c_try_link "$LINENO"; then :
7287 lt_cv_cc_needs_belf=yes
7288 else
7289 lt_cv_cc_needs_belf=no
7291 rm -f core conftest.err conftest.$ac_objext \
7292 conftest$ac_exeext conftest.$ac_ext
7293 ac_ext=c
7294 ac_cpp='$CPP $CPPFLAGS'
7295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7301 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7302 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7303 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7304 CFLAGS="$SAVE_CFLAGS"
7307 sparc*-*solaris*)
7308 # Find out which ABI we are using.
7309 echo 'int i;' > conftest.$ac_ext
7310 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7311 (eval $ac_compile) 2>&5
7312 ac_status=$?
7313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7314 test $ac_status = 0; }; then
7315 case `/usr/bin/file conftest.o` in
7316 *64-bit*)
7317 case $lt_cv_prog_gnu_ld in
7318 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7320 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7321 LD="${LD-ld} -64"
7324 esac
7326 esac
7328 rm -rf conftest*
7330 esac
7332 need_locks="$enable_libtool_lock"
7335 case $host_os in
7336 rhapsody* | darwin*)
7337 if test -n "$ac_tool_prefix"; then
7338 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7339 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7341 $as_echo_n "checking for $ac_word... " >&6; }
7342 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7343 $as_echo_n "(cached) " >&6
7344 else
7345 if test -n "$DSYMUTIL"; then
7346 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7347 else
7348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7349 for as_dir in $PATH
7351 IFS=$as_save_IFS
7352 test -z "$as_dir" && as_dir=.
7353 for ac_exec_ext in '' $ac_executable_extensions; do
7354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7355 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7357 break 2
7359 done
7360 done
7361 IFS=$as_save_IFS
7365 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7366 if test -n "$DSYMUTIL"; then
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7368 $as_echo "$DSYMUTIL" >&6; }
7369 else
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7371 $as_echo "no" >&6; }
7376 if test -z "$ac_cv_prog_DSYMUTIL"; then
7377 ac_ct_DSYMUTIL=$DSYMUTIL
7378 # Extract the first word of "dsymutil", so it can be a program name with args.
7379 set dummy dsymutil; ac_word=$2
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7381 $as_echo_n "checking for $ac_word... " >&6; }
7382 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7383 $as_echo_n "(cached) " >&6
7384 else
7385 if test -n "$ac_ct_DSYMUTIL"; then
7386 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7387 else
7388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7389 for as_dir in $PATH
7391 IFS=$as_save_IFS
7392 test -z "$as_dir" && as_dir=.
7393 for ac_exec_ext in '' $ac_executable_extensions; do
7394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7395 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7397 break 2
7399 done
7400 done
7401 IFS=$as_save_IFS
7405 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7406 if test -n "$ac_ct_DSYMUTIL"; then
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7408 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7409 else
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7411 $as_echo "no" >&6; }
7414 if test "x$ac_ct_DSYMUTIL" = x; then
7415 DSYMUTIL=":"
7416 else
7417 case $cross_compiling:$ac_tool_warned in
7418 yes:)
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7420 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7421 ac_tool_warned=yes ;;
7422 esac
7423 DSYMUTIL=$ac_ct_DSYMUTIL
7425 else
7426 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7429 if test -n "$ac_tool_prefix"; then
7430 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7431 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7433 $as_echo_n "checking for $ac_word... " >&6; }
7434 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7435 $as_echo_n "(cached) " >&6
7436 else
7437 if test -n "$NMEDIT"; then
7438 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7439 else
7440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7441 for as_dir in $PATH
7443 IFS=$as_save_IFS
7444 test -z "$as_dir" && as_dir=.
7445 for ac_exec_ext in '' $ac_executable_extensions; do
7446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7447 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7449 break 2
7451 done
7452 done
7453 IFS=$as_save_IFS
7457 NMEDIT=$ac_cv_prog_NMEDIT
7458 if test -n "$NMEDIT"; then
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7460 $as_echo "$NMEDIT" >&6; }
7461 else
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7463 $as_echo "no" >&6; }
7468 if test -z "$ac_cv_prog_NMEDIT"; then
7469 ac_ct_NMEDIT=$NMEDIT
7470 # Extract the first word of "nmedit", so it can be a program name with args.
7471 set dummy nmedit; ac_word=$2
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7473 $as_echo_n "checking for $ac_word... " >&6; }
7474 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7475 $as_echo_n "(cached) " >&6
7476 else
7477 if test -n "$ac_ct_NMEDIT"; then
7478 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7479 else
7480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7481 for as_dir in $PATH
7483 IFS=$as_save_IFS
7484 test -z "$as_dir" && as_dir=.
7485 for ac_exec_ext in '' $ac_executable_extensions; do
7486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7487 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7489 break 2
7491 done
7492 done
7493 IFS=$as_save_IFS
7497 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7498 if test -n "$ac_ct_NMEDIT"; then
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7500 $as_echo "$ac_ct_NMEDIT" >&6; }
7501 else
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7503 $as_echo "no" >&6; }
7506 if test "x$ac_ct_NMEDIT" = x; then
7507 NMEDIT=":"
7508 else
7509 case $cross_compiling:$ac_tool_warned in
7510 yes:)
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7513 ac_tool_warned=yes ;;
7514 esac
7515 NMEDIT=$ac_ct_NMEDIT
7517 else
7518 NMEDIT="$ac_cv_prog_NMEDIT"
7521 if test -n "$ac_tool_prefix"; then
7522 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7523 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7525 $as_echo_n "checking for $ac_word... " >&6; }
7526 if test "${ac_cv_prog_LIPO+set}" = set; then :
7527 $as_echo_n "(cached) " >&6
7528 else
7529 if test -n "$LIPO"; then
7530 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7531 else
7532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7533 for as_dir in $PATH
7535 IFS=$as_save_IFS
7536 test -z "$as_dir" && as_dir=.
7537 for ac_exec_ext in '' $ac_executable_extensions; do
7538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7539 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7541 break 2
7543 done
7544 done
7545 IFS=$as_save_IFS
7549 LIPO=$ac_cv_prog_LIPO
7550 if test -n "$LIPO"; then
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7552 $as_echo "$LIPO" >&6; }
7553 else
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7555 $as_echo "no" >&6; }
7560 if test -z "$ac_cv_prog_LIPO"; then
7561 ac_ct_LIPO=$LIPO
7562 # Extract the first word of "lipo", so it can be a program name with args.
7563 set dummy lipo; ac_word=$2
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7565 $as_echo_n "checking for $ac_word... " >&6; }
7566 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7567 $as_echo_n "(cached) " >&6
7568 else
7569 if test -n "$ac_ct_LIPO"; then
7570 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7571 else
7572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7573 for as_dir in $PATH
7575 IFS=$as_save_IFS
7576 test -z "$as_dir" && as_dir=.
7577 for ac_exec_ext in '' $ac_executable_extensions; do
7578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7579 ac_cv_prog_ac_ct_LIPO="lipo"
7580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7581 break 2
7583 done
7584 done
7585 IFS=$as_save_IFS
7589 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7590 if test -n "$ac_ct_LIPO"; then
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7592 $as_echo "$ac_ct_LIPO" >&6; }
7593 else
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7595 $as_echo "no" >&6; }
7598 if test "x$ac_ct_LIPO" = x; then
7599 LIPO=":"
7600 else
7601 case $cross_compiling:$ac_tool_warned in
7602 yes:)
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7604 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7605 ac_tool_warned=yes ;;
7606 esac
7607 LIPO=$ac_ct_LIPO
7609 else
7610 LIPO="$ac_cv_prog_LIPO"
7613 if test -n "$ac_tool_prefix"; then
7614 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7615 set dummy ${ac_tool_prefix}otool; ac_word=$2
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7617 $as_echo_n "checking for $ac_word... " >&6; }
7618 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7619 $as_echo_n "(cached) " >&6
7620 else
7621 if test -n "$OTOOL"; then
7622 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7623 else
7624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7625 for as_dir in $PATH
7627 IFS=$as_save_IFS
7628 test -z "$as_dir" && as_dir=.
7629 for ac_exec_ext in '' $ac_executable_extensions; do
7630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7631 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7633 break 2
7635 done
7636 done
7637 IFS=$as_save_IFS
7641 OTOOL=$ac_cv_prog_OTOOL
7642 if test -n "$OTOOL"; then
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7644 $as_echo "$OTOOL" >&6; }
7645 else
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7647 $as_echo "no" >&6; }
7652 if test -z "$ac_cv_prog_OTOOL"; then
7653 ac_ct_OTOOL=$OTOOL
7654 # Extract the first word of "otool", so it can be a program name with args.
7655 set dummy otool; ac_word=$2
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7657 $as_echo_n "checking for $ac_word... " >&6; }
7658 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7659 $as_echo_n "(cached) " >&6
7660 else
7661 if test -n "$ac_ct_OTOOL"; then
7662 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7663 else
7664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7665 for as_dir in $PATH
7667 IFS=$as_save_IFS
7668 test -z "$as_dir" && as_dir=.
7669 for ac_exec_ext in '' $ac_executable_extensions; do
7670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7671 ac_cv_prog_ac_ct_OTOOL="otool"
7672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7673 break 2
7675 done
7676 done
7677 IFS=$as_save_IFS
7681 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7682 if test -n "$ac_ct_OTOOL"; then
7683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7684 $as_echo "$ac_ct_OTOOL" >&6; }
7685 else
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7687 $as_echo "no" >&6; }
7690 if test "x$ac_ct_OTOOL" = x; then
7691 OTOOL=":"
7692 else
7693 case $cross_compiling:$ac_tool_warned in
7694 yes:)
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7697 ac_tool_warned=yes ;;
7698 esac
7699 OTOOL=$ac_ct_OTOOL
7701 else
7702 OTOOL="$ac_cv_prog_OTOOL"
7705 if test -n "$ac_tool_prefix"; then
7706 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7707 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7709 $as_echo_n "checking for $ac_word... " >&6; }
7710 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7711 $as_echo_n "(cached) " >&6
7712 else
7713 if test -n "$OTOOL64"; then
7714 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7715 else
7716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7717 for as_dir in $PATH
7719 IFS=$as_save_IFS
7720 test -z "$as_dir" && as_dir=.
7721 for ac_exec_ext in '' $ac_executable_extensions; do
7722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7723 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7725 break 2
7727 done
7728 done
7729 IFS=$as_save_IFS
7733 OTOOL64=$ac_cv_prog_OTOOL64
7734 if test -n "$OTOOL64"; then
7735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7736 $as_echo "$OTOOL64" >&6; }
7737 else
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7739 $as_echo "no" >&6; }
7744 if test -z "$ac_cv_prog_OTOOL64"; then
7745 ac_ct_OTOOL64=$OTOOL64
7746 # Extract the first word of "otool64", so it can be a program name with args.
7747 set dummy otool64; ac_word=$2
7748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7749 $as_echo_n "checking for $ac_word... " >&6; }
7750 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7751 $as_echo_n "(cached) " >&6
7752 else
7753 if test -n "$ac_ct_OTOOL64"; then
7754 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7755 else
7756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7757 for as_dir in $PATH
7759 IFS=$as_save_IFS
7760 test -z "$as_dir" && as_dir=.
7761 for ac_exec_ext in '' $ac_executable_extensions; do
7762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7763 ac_cv_prog_ac_ct_OTOOL64="otool64"
7764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7765 break 2
7767 done
7768 done
7769 IFS=$as_save_IFS
7773 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7774 if test -n "$ac_ct_OTOOL64"; then
7775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7776 $as_echo "$ac_ct_OTOOL64" >&6; }
7777 else
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7779 $as_echo "no" >&6; }
7782 if test "x$ac_ct_OTOOL64" = x; then
7783 OTOOL64=":"
7784 else
7785 case $cross_compiling:$ac_tool_warned in
7786 yes:)
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7788 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7789 ac_tool_warned=yes ;;
7790 esac
7791 OTOOL64=$ac_ct_OTOOL64
7793 else
7794 OTOOL64="$ac_cv_prog_OTOOL64"
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7824 $as_echo_n "checking for -single_module linker flag... " >&6; }
7825 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7826 $as_echo_n "(cached) " >&6
7827 else
7828 lt_cv_apple_cc_single_mod=no
7829 if test -z "${LT_MULTI_MODULE}"; then
7830 # By default we will add the -single_module flag. You can override
7831 # by either setting the environment variable LT_MULTI_MODULE
7832 # non-empty at configure time, or by adding -multi_module to the
7833 # link flags.
7834 rm -rf libconftest.dylib*
7835 echo "int foo(void){return 1;}" > conftest.c
7836 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7837 -dynamiclib -Wl,-single_module conftest.c" >&5
7838 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7839 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7840 _lt_result=$?
7841 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7842 lt_cv_apple_cc_single_mod=yes
7843 else
7844 cat conftest.err >&5
7846 rm -rf libconftest.dylib*
7847 rm -f conftest.*
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7851 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7853 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7854 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7855 $as_echo_n "(cached) " >&6
7856 else
7857 lt_cv_ld_exported_symbols_list=no
7858 save_LDFLAGS=$LDFLAGS
7859 echo "_main" > conftest.sym
7860 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7861 if test x$gcc_no_link = xyes; then
7862 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7865 /* end confdefs.h. */
7868 main ()
7872 return 0;
7874 _ACEOF
7875 if ac_fn_c_try_link "$LINENO"; then :
7876 lt_cv_ld_exported_symbols_list=yes
7877 else
7878 lt_cv_ld_exported_symbols_list=no
7880 rm -f core conftest.err conftest.$ac_objext \
7881 conftest$ac_exeext conftest.$ac_ext
7882 LDFLAGS="$save_LDFLAGS"
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7886 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7888 $as_echo_n "checking for -force_load linker flag... " >&6; }
7889 if test "${lt_cv_ld_force_load+set}" = set; then :
7890 $as_echo_n "(cached) " >&6
7891 else
7892 lt_cv_ld_force_load=no
7893 cat > conftest.c << _LT_EOF
7894 int forced_loaded() { return 2;}
7895 _LT_EOF
7896 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7897 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7898 echo "$AR cru libconftest.a conftest.o" >&5
7899 $AR cru libconftest.a conftest.o 2>&5
7900 cat > conftest.c << _LT_EOF
7901 int main() { return 0;}
7902 _LT_EOF
7903 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7904 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7905 _lt_result=$?
7906 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7907 lt_cv_ld_force_load=yes
7908 else
7909 cat conftest.err >&5
7911 rm -f conftest.err libconftest.a conftest conftest.c
7912 rm -rf conftest.dSYM
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7916 $as_echo "$lt_cv_ld_force_load" >&6; }
7917 case $host_os in
7918 rhapsody* | darwin1.[012])
7919 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7920 darwin1.*)
7921 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7922 darwin*) # darwin 5.x on
7923 # if running on 10.5 or later, the deployment target defaults
7924 # to the OS version, if on x86, and 10.4, the deployment
7925 # target defaults to 10.4. Don't you love it?
7926 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7927 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7928 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7929 10.[012][,.]*)
7930 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7931 10.*)
7932 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7933 esac
7935 esac
7936 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7937 _lt_dar_single_mod='$single_module'
7939 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7940 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7941 else
7942 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7944 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7945 _lt_dsymutil='~$DSYMUTIL $lib || :'
7946 else
7947 _lt_dsymutil=
7950 esac
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7953 $as_echo_n "checking for ANSI C header files... " >&6; }
7954 if test "${ac_cv_header_stdc+set}" = set; then :
7955 $as_echo_n "(cached) " >&6
7956 else
7957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7958 /* end confdefs.h. */
7959 #include <stdlib.h>
7960 #include <stdarg.h>
7961 #include <string.h>
7962 #include <float.h>
7965 main ()
7969 return 0;
7971 _ACEOF
7972 if ac_fn_c_try_compile "$LINENO"; then :
7973 ac_cv_header_stdc=yes
7974 else
7975 ac_cv_header_stdc=no
7977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7979 if test $ac_cv_header_stdc = yes; then
7980 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7982 /* end confdefs.h. */
7983 #include <string.h>
7985 _ACEOF
7986 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7987 $EGREP "memchr" >/dev/null 2>&1; then :
7989 else
7990 ac_cv_header_stdc=no
7992 rm -f conftest*
7996 if test $ac_cv_header_stdc = yes; then
7997 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7999 /* end confdefs.h. */
8000 #include <stdlib.h>
8002 _ACEOF
8003 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8004 $EGREP "free" >/dev/null 2>&1; then :
8006 else
8007 ac_cv_header_stdc=no
8009 rm -f conftest*
8013 if test $ac_cv_header_stdc = yes; then
8014 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8015 if test "$cross_compiling" = yes; then :
8017 else
8018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8019 /* end confdefs.h. */
8020 #include <ctype.h>
8021 #include <stdlib.h>
8022 #if ((' ' & 0x0FF) == 0x020)
8023 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8024 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8025 #else
8026 # define ISLOWER(c) \
8027 (('a' <= (c) && (c) <= 'i') \
8028 || ('j' <= (c) && (c) <= 'r') \
8029 || ('s' <= (c) && (c) <= 'z'))
8030 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8031 #endif
8033 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8035 main ()
8037 int i;
8038 for (i = 0; i < 256; i++)
8039 if (XOR (islower (i), ISLOWER (i))
8040 || toupper (i) != TOUPPER (i))
8041 return 2;
8042 return 0;
8044 _ACEOF
8045 if ac_fn_c_try_run "$LINENO"; then :
8047 else
8048 ac_cv_header_stdc=no
8050 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8051 conftest.$ac_objext conftest.beam conftest.$ac_ext
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8057 $as_echo "$ac_cv_header_stdc" >&6; }
8058 if test $ac_cv_header_stdc = yes; then
8060 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8064 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8065 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8066 inttypes.h stdint.h unistd.h
8067 do :
8068 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8069 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8071 eval as_val=\$$as_ac_Header
8072 if test "x$as_val" = x""yes; then :
8073 cat >>confdefs.h <<_ACEOF
8074 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8075 _ACEOF
8079 done
8082 for ac_header in dlfcn.h
8083 do :
8084 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8086 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8087 cat >>confdefs.h <<_ACEOF
8088 #define HAVE_DLFCN_H 1
8089 _ACEOF
8093 done
8100 # Set options
8105 enable_win32_dll=no
8108 # Check whether --enable-shared was given.
8109 if test "${enable_shared+set}" = set; then :
8110 enableval=$enable_shared; p=${PACKAGE-default}
8111 case $enableval in
8112 yes) enable_shared=yes ;;
8113 no) enable_shared=no ;;
8115 enable_shared=no
8116 # Look at the argument we got. We use all the common list separators.
8117 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8118 for pkg in $enableval; do
8119 IFS="$lt_save_ifs"
8120 if test "X$pkg" = "X$p"; then
8121 enable_shared=yes
8123 done
8124 IFS="$lt_save_ifs"
8126 esac
8127 else
8128 enable_shared=yes
8139 # Check whether --enable-static was given.
8140 if test "${enable_static+set}" = set; then :
8141 enableval=$enable_static; p=${PACKAGE-default}
8142 case $enableval in
8143 yes) enable_static=yes ;;
8144 no) enable_static=no ;;
8146 enable_static=no
8147 # Look at the argument we got. We use all the common list separators.
8148 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8149 for pkg in $enableval; do
8150 IFS="$lt_save_ifs"
8151 if test "X$pkg" = "X$p"; then
8152 enable_static=yes
8154 done
8155 IFS="$lt_save_ifs"
8157 esac
8158 else
8159 enable_static=yes
8171 # Check whether --with-pic was given.
8172 if test "${with_pic+set}" = set; then :
8173 withval=$with_pic; pic_mode="$withval"
8174 else
8175 pic_mode=default
8179 test -z "$pic_mode" && pic_mode=default
8187 # Check whether --enable-fast-install was given.
8188 if test "${enable_fast_install+set}" = set; then :
8189 enableval=$enable_fast_install; p=${PACKAGE-default}
8190 case $enableval in
8191 yes) enable_fast_install=yes ;;
8192 no) enable_fast_install=no ;;
8194 enable_fast_install=no
8195 # Look at the argument we got. We use all the common list separators.
8196 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8197 for pkg in $enableval; do
8198 IFS="$lt_save_ifs"
8199 if test "X$pkg" = "X$p"; then
8200 enable_fast_install=yes
8202 done
8203 IFS="$lt_save_ifs"
8205 esac
8206 else
8207 enable_fast_install=yes
8220 # This can be used to rebuild libtool when needed
8221 LIBTOOL_DEPS="$ltmain"
8223 # Always use our own libtool.
8224 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8251 test -z "$LN_S" && LN_S="ln -s"
8266 if test -n "${ZSH_VERSION+set}" ; then
8267 setopt NO_GLOB_SUBST
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8271 $as_echo_n "checking for objdir... " >&6; }
8272 if test "${lt_cv_objdir+set}" = set; then :
8273 $as_echo_n "(cached) " >&6
8274 else
8275 rm -f .libs 2>/dev/null
8276 mkdir .libs 2>/dev/null
8277 if test -d .libs; then
8278 lt_cv_objdir=.libs
8279 else
8280 # MS-DOS does not allow filenames that begin with a dot.
8281 lt_cv_objdir=_libs
8283 rmdir .libs 2>/dev/null
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8286 $as_echo "$lt_cv_objdir" >&6; }
8287 objdir=$lt_cv_objdir
8293 cat >>confdefs.h <<_ACEOF
8294 #define LT_OBJDIR "$lt_cv_objdir/"
8295 _ACEOF
8300 case $host_os in
8301 aix3*)
8302 # AIX sometimes has problems with the GCC collect2 program. For some
8303 # reason, if we set the COLLECT_NAMES environment variable, the problems
8304 # vanish in a puff of smoke.
8305 if test "X${COLLECT_NAMES+set}" != Xset; then
8306 COLLECT_NAMES=
8307 export COLLECT_NAMES
8310 esac
8312 # Global variables:
8313 ofile=libtool
8314 can_build_shared=yes
8316 # All known linkers require a `.a' archive for static linking (except MSVC,
8317 # which needs '.lib').
8318 libext=a
8320 with_gnu_ld="$lt_cv_prog_gnu_ld"
8322 old_CC="$CC"
8323 old_CFLAGS="$CFLAGS"
8325 # Set sane defaults for various variables
8326 test -z "$CC" && CC=cc
8327 test -z "$LTCC" && LTCC=$CC
8328 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8329 test -z "$LD" && LD=ld
8330 test -z "$ac_objext" && ac_objext=o
8332 for cc_temp in $compiler""; do
8333 case $cc_temp in
8334 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8335 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8336 \-*) ;;
8337 *) break;;
8338 esac
8339 done
8340 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8343 # Only perform the check for file, if the check method requires it
8344 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8345 case $deplibs_check_method in
8346 file_magic*)
8347 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8349 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8350 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8351 $as_echo_n "(cached) " >&6
8352 else
8353 case $MAGIC_CMD in
8354 [\\/*] | ?:[\\/]*)
8355 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8358 lt_save_MAGIC_CMD="$MAGIC_CMD"
8359 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8360 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8361 for ac_dir in $ac_dummy; do
8362 IFS="$lt_save_ifs"
8363 test -z "$ac_dir" && ac_dir=.
8364 if test -f $ac_dir/${ac_tool_prefix}file; then
8365 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8366 if test -n "$file_magic_test_file"; then
8367 case $deplibs_check_method in
8368 "file_magic "*)
8369 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8370 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8371 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8372 $EGREP "$file_magic_regex" > /dev/null; then
8374 else
8375 cat <<_LT_EOF 1>&2
8377 *** Warning: the command libtool uses to detect shared libraries,
8378 *** $file_magic_cmd, produces output that libtool cannot recognize.
8379 *** The result is that libtool may fail to recognize shared libraries
8380 *** as such. This will affect the creation of libtool libraries that
8381 *** depend on shared libraries, but programs linked with such libtool
8382 *** libraries will work regardless of this problem. Nevertheless, you
8383 *** may want to report the problem to your system manager and/or to
8384 *** bug-libtool@gnu.org
8386 _LT_EOF
8387 fi ;;
8388 esac
8390 break
8392 done
8393 IFS="$lt_save_ifs"
8394 MAGIC_CMD="$lt_save_MAGIC_CMD"
8396 esac
8399 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8400 if test -n "$MAGIC_CMD"; then
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8402 $as_echo "$MAGIC_CMD" >&6; }
8403 else
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8405 $as_echo "no" >&6; }
8412 if test -z "$lt_cv_path_MAGIC_CMD"; then
8413 if test -n "$ac_tool_prefix"; then
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8415 $as_echo_n "checking for file... " >&6; }
8416 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8417 $as_echo_n "(cached) " >&6
8418 else
8419 case $MAGIC_CMD in
8420 [\\/*] | ?:[\\/]*)
8421 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8424 lt_save_MAGIC_CMD="$MAGIC_CMD"
8425 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8426 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8427 for ac_dir in $ac_dummy; do
8428 IFS="$lt_save_ifs"
8429 test -z "$ac_dir" && ac_dir=.
8430 if test -f $ac_dir/file; then
8431 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8432 if test -n "$file_magic_test_file"; then
8433 case $deplibs_check_method in
8434 "file_magic "*)
8435 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8436 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8437 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8438 $EGREP "$file_magic_regex" > /dev/null; then
8440 else
8441 cat <<_LT_EOF 1>&2
8443 *** Warning: the command libtool uses to detect shared libraries,
8444 *** $file_magic_cmd, produces output that libtool cannot recognize.
8445 *** The result is that libtool may fail to recognize shared libraries
8446 *** as such. This will affect the creation of libtool libraries that
8447 *** depend on shared libraries, but programs linked with such libtool
8448 *** libraries will work regardless of this problem. Nevertheless, you
8449 *** may want to report the problem to your system manager and/or to
8450 *** bug-libtool@gnu.org
8452 _LT_EOF
8453 fi ;;
8454 esac
8456 break
8458 done
8459 IFS="$lt_save_ifs"
8460 MAGIC_CMD="$lt_save_MAGIC_CMD"
8462 esac
8465 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8466 if test -n "$MAGIC_CMD"; then
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8468 $as_echo "$MAGIC_CMD" >&6; }
8469 else
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8471 $as_echo "no" >&6; }
8475 else
8476 MAGIC_CMD=:
8482 esac
8484 # Use C for the default configuration in the libtool script
8486 lt_save_CC="$CC"
8487 ac_ext=c
8488 ac_cpp='$CPP $CPPFLAGS'
8489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8494 # Source file extension for C test sources.
8495 ac_ext=c
8497 # Object file extension for compiled C test sources.
8498 objext=o
8499 objext=$objext
8501 # Code to be used in simple compile tests
8502 lt_simple_compile_test_code="int some_variable = 0;"
8504 # Code to be used in simple link tests
8505 lt_simple_link_test_code='int main(){return(0);}'
8513 # If no C compiler was specified, use CC.
8514 LTCC=${LTCC-"$CC"}
8516 # If no C compiler flags were specified, use CFLAGS.
8517 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8519 # Allow CC to be a program name with arguments.
8520 compiler=$CC
8522 # Save the default compiler, since it gets overwritten when the other
8523 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8524 compiler_DEFAULT=$CC
8526 # save warnings/boilerplate of simple test code
8527 ac_outfile=conftest.$ac_objext
8528 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8529 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8530 _lt_compiler_boilerplate=`cat conftest.err`
8531 $RM conftest*
8533 ac_outfile=conftest.$ac_objext
8534 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8535 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8536 _lt_linker_boilerplate=`cat conftest.err`
8537 $RM -r conftest*
8540 ## CAVEAT EMPTOR:
8541 ## There is no encapsulation within the following macros, do not change
8542 ## the running order or otherwise move them around unless you know exactly
8543 ## what you are doing...
8544 if test -n "$compiler"; then
8546 lt_prog_compiler_no_builtin_flag=
8548 if test "$GCC" = yes; then
8549 case $cc_basename in
8550 nvcc*)
8551 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8553 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8554 esac
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8557 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8558 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8559 $as_echo_n "(cached) " >&6
8560 else
8561 lt_cv_prog_compiler_rtti_exceptions=no
8562 ac_outfile=conftest.$ac_objext
8563 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8564 lt_compiler_flag="-fno-rtti -fno-exceptions"
8565 # Insert the option either (1) after the last *FLAGS variable, or
8566 # (2) before a word containing "conftest.", or (3) at the end.
8567 # Note that $ac_compile itself does not contain backslashes and begins
8568 # with a dollar sign (not a hyphen), so the echo should work correctly.
8569 # The option is referenced via a variable to avoid confusing sed.
8570 lt_compile=`echo "$ac_compile" | $SED \
8571 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8572 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8573 -e 's:$: $lt_compiler_flag:'`
8574 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8575 (eval "$lt_compile" 2>conftest.err)
8576 ac_status=$?
8577 cat conftest.err >&5
8578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8579 if (exit $ac_status) && test -s "$ac_outfile"; then
8580 # The compiler can only warn and ignore the option if not recognized
8581 # So say no if there are warnings other than the usual output.
8582 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8583 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8584 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8585 lt_cv_prog_compiler_rtti_exceptions=yes
8588 $RM conftest*
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8592 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8594 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8595 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8596 else
8607 lt_prog_compiler_wl=
8608 lt_prog_compiler_pic=
8609 lt_prog_compiler_static=
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8612 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8614 if test "$GCC" = yes; then
8615 lt_prog_compiler_wl='-Wl,'
8616 lt_prog_compiler_static='-static'
8618 case $host_os in
8619 aix*)
8620 # All AIX code is PIC.
8621 if test "$host_cpu" = ia64; then
8622 # AIX 5 now supports IA64 processor
8623 lt_prog_compiler_static='-Bstatic'
8625 lt_prog_compiler_pic='-fPIC'
8628 amigaos*)
8629 case $host_cpu in
8630 powerpc)
8631 # see comment about AmigaOS4 .so support
8632 lt_prog_compiler_pic='-fPIC'
8634 m68k)
8635 # FIXME: we need at least 68020 code to build shared libraries, but
8636 # adding the `-m68020' flag to GCC prevents building anything better,
8637 # like `-m68040'.
8638 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8640 esac
8643 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8644 # PIC is the default for these OSes.
8647 mingw* | cygwin* | pw32* | os2* | cegcc*)
8648 # This hack is so that the source file can tell whether it is being
8649 # built for inclusion in a dll (and should export symbols for example).
8650 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8651 # (--disable-auto-import) libraries
8652 lt_prog_compiler_pic='-DDLL_EXPORT'
8655 darwin* | rhapsody*)
8656 # PIC is the default on this platform
8657 # Common symbols not allowed in MH_DYLIB files
8658 lt_prog_compiler_pic='-fno-common'
8661 haiku*)
8662 # PIC is the default for Haiku.
8663 # The "-static" flag exists, but is broken.
8664 lt_prog_compiler_static=
8667 hpux*)
8668 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8669 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8670 # sets the default TLS model and affects inlining.
8671 case $host_cpu in
8672 hppa*64*)
8673 # +Z the default
8676 lt_prog_compiler_pic='-fPIC'
8678 esac
8681 interix[3-9]*)
8682 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8683 # Instead, we relocate shared libraries at runtime.
8686 msdosdjgpp*)
8687 # Just because we use GCC doesn't mean we suddenly get shared libraries
8688 # on systems that don't support them.
8689 lt_prog_compiler_can_build_shared=no
8690 enable_shared=no
8693 *nto* | *qnx*)
8694 # QNX uses GNU C++, but need to define -shared option too, otherwise
8695 # it will coredump.
8696 lt_prog_compiler_pic='-fPIC -shared'
8699 sysv4*MP*)
8700 if test -d /usr/nec; then
8701 lt_prog_compiler_pic=-Kconform_pic
8706 lt_prog_compiler_pic='-fPIC'
8708 esac
8710 case $cc_basename in
8711 nvcc*) # Cuda Compiler Driver 2.2
8712 lt_prog_compiler_wl='-Xlinker '
8713 lt_prog_compiler_pic='-Xcompiler -fPIC'
8715 esac
8716 else
8717 # PORTME Check for flag to pass linker flags through the system compiler.
8718 case $host_os in
8719 aix*)
8720 lt_prog_compiler_wl='-Wl,'
8721 if test "$host_cpu" = ia64; then
8722 # AIX 5 now supports IA64 processor
8723 lt_prog_compiler_static='-Bstatic'
8724 else
8725 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8729 mingw* | cygwin* | pw32* | os2* | cegcc*)
8730 # This hack is so that the source file can tell whether it is being
8731 # built for inclusion in a dll (and should export symbols for example).
8732 lt_prog_compiler_pic='-DDLL_EXPORT'
8735 hpux9* | hpux10* | hpux11*)
8736 lt_prog_compiler_wl='-Wl,'
8737 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8738 # not for PA HP-UX.
8739 case $host_cpu in
8740 hppa*64*|ia64*)
8741 # +Z the default
8744 lt_prog_compiler_pic='+Z'
8746 esac
8747 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8748 lt_prog_compiler_static='${wl}-a ${wl}archive'
8751 irix5* | irix6* | nonstopux*)
8752 lt_prog_compiler_wl='-Wl,'
8753 # PIC (with -KPIC) is the default.
8754 lt_prog_compiler_static='-non_shared'
8757 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8758 case $cc_basename in
8759 # old Intel for x86_64 which still supported -KPIC.
8760 ecc*)
8761 lt_prog_compiler_wl='-Wl,'
8762 lt_prog_compiler_pic='-KPIC'
8763 lt_prog_compiler_static='-static'
8765 # icc used to be incompatible with GCC.
8766 # ICC 10 doesn't accept -KPIC any more.
8767 icc* | ifort*)
8768 lt_prog_compiler_wl='-Wl,'
8769 lt_prog_compiler_pic='-fPIC'
8770 lt_prog_compiler_static='-static'
8772 # Lahey Fortran 8.1.
8773 lf95*)
8774 lt_prog_compiler_wl='-Wl,'
8775 lt_prog_compiler_pic='--shared'
8776 lt_prog_compiler_static='--static'
8778 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8779 # Portland Group compilers (*not* the Pentium gcc compiler,
8780 # which looks to be a dead project)
8781 lt_prog_compiler_wl='-Wl,'
8782 lt_prog_compiler_pic='-fpic'
8783 lt_prog_compiler_static='-Bstatic'
8785 ccc*)
8786 lt_prog_compiler_wl='-Wl,'
8787 # All Alpha code is PIC.
8788 lt_prog_compiler_static='-non_shared'
8790 xl* | bgxl* | bgf* | mpixl*)
8791 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8792 lt_prog_compiler_wl='-Wl,'
8793 lt_prog_compiler_pic='-qpic'
8794 lt_prog_compiler_static='-qstaticlink'
8797 case `$CC -V 2>&1 | sed 5q` in
8798 *Sun\ F* | *Sun*Fortran*)
8799 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8800 lt_prog_compiler_pic='-KPIC'
8801 lt_prog_compiler_static='-Bstatic'
8802 lt_prog_compiler_wl=''
8804 *Sun\ C*)
8805 # Sun C 5.9
8806 lt_prog_compiler_pic='-KPIC'
8807 lt_prog_compiler_static='-Bstatic'
8808 lt_prog_compiler_wl='-Wl,'
8810 esac
8812 esac
8815 newsos6)
8816 lt_prog_compiler_pic='-KPIC'
8817 lt_prog_compiler_static='-Bstatic'
8820 *nto* | *qnx*)
8821 # QNX uses GNU C++, but need to define -shared option too, otherwise
8822 # it will coredump.
8823 lt_prog_compiler_pic='-fPIC -shared'
8826 osf3* | osf4* | osf5*)
8827 lt_prog_compiler_wl='-Wl,'
8828 # All OSF/1 code is PIC.
8829 lt_prog_compiler_static='-non_shared'
8832 rdos*)
8833 lt_prog_compiler_static='-non_shared'
8836 solaris*)
8837 lt_prog_compiler_pic='-KPIC'
8838 lt_prog_compiler_static='-Bstatic'
8839 case $cc_basename in
8840 f77* | f90* | f95*)
8841 lt_prog_compiler_wl='-Qoption ld ';;
8843 lt_prog_compiler_wl='-Wl,';;
8844 esac
8847 sunos4*)
8848 lt_prog_compiler_wl='-Qoption ld '
8849 lt_prog_compiler_pic='-PIC'
8850 lt_prog_compiler_static='-Bstatic'
8853 sysv4 | sysv4.2uw2* | sysv4.3*)
8854 lt_prog_compiler_wl='-Wl,'
8855 lt_prog_compiler_pic='-KPIC'
8856 lt_prog_compiler_static='-Bstatic'
8859 sysv4*MP*)
8860 if test -d /usr/nec ;then
8861 lt_prog_compiler_pic='-Kconform_pic'
8862 lt_prog_compiler_static='-Bstatic'
8866 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8867 lt_prog_compiler_wl='-Wl,'
8868 lt_prog_compiler_pic='-KPIC'
8869 lt_prog_compiler_static='-Bstatic'
8872 unicos*)
8873 lt_prog_compiler_wl='-Wl,'
8874 lt_prog_compiler_can_build_shared=no
8877 uts4*)
8878 lt_prog_compiler_pic='-pic'
8879 lt_prog_compiler_static='-Bstatic'
8883 lt_prog_compiler_can_build_shared=no
8885 esac
8888 case $host_os in
8889 # For platforms which do not support PIC, -DPIC is meaningless:
8890 *djgpp*)
8891 lt_prog_compiler_pic=
8894 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8896 esac
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8898 $as_echo "$lt_prog_compiler_pic" >&6; }
8906 # Check to make sure the PIC flag actually works.
8908 if test -n "$lt_prog_compiler_pic"; then
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8910 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8911 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8912 $as_echo_n "(cached) " >&6
8913 else
8914 lt_cv_prog_compiler_pic_works=no
8915 ac_outfile=conftest.$ac_objext
8916 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8917 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8918 # Insert the option either (1) after the last *FLAGS variable, or
8919 # (2) before a word containing "conftest.", or (3) at the end.
8920 # Note that $ac_compile itself does not contain backslashes and begins
8921 # with a dollar sign (not a hyphen), so the echo should work correctly.
8922 # The option is referenced via a variable to avoid confusing sed.
8923 lt_compile=`echo "$ac_compile" | $SED \
8924 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8925 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8926 -e 's:$: $lt_compiler_flag:'`
8927 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8928 (eval "$lt_compile" 2>conftest.err)
8929 ac_status=$?
8930 cat conftest.err >&5
8931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8932 if (exit $ac_status) && test -s "$ac_outfile"; then
8933 # The compiler can only warn and ignore the option if not recognized
8934 # So say no if there are warnings other than the usual output.
8935 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8936 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8937 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8938 lt_cv_prog_compiler_pic_works=yes
8941 $RM conftest*
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8945 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8947 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8948 case $lt_prog_compiler_pic in
8949 "" | " "*) ;;
8950 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8951 esac
8952 else
8953 lt_prog_compiler_pic=
8954 lt_prog_compiler_can_build_shared=no
8965 # Check to make sure the static flag actually works.
8967 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8969 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8970 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8971 $as_echo_n "(cached) " >&6
8972 else
8973 lt_cv_prog_compiler_static_works=no
8974 save_LDFLAGS="$LDFLAGS"
8975 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8976 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8977 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8978 # The linker can only warn and ignore the option if not recognized
8979 # So say no if there are warnings
8980 if test -s conftest.err; then
8981 # Append any errors to the config.log.
8982 cat conftest.err 1>&5
8983 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8984 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8985 if diff conftest.exp conftest.er2 >/dev/null; then
8986 lt_cv_prog_compiler_static_works=yes
8988 else
8989 lt_cv_prog_compiler_static_works=yes
8992 $RM -r conftest*
8993 LDFLAGS="$save_LDFLAGS"
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8997 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8999 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9001 else
9002 lt_prog_compiler_static=
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9012 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9013 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9014 $as_echo_n "(cached) " >&6
9015 else
9016 lt_cv_prog_compiler_c_o=no
9017 $RM -r conftest 2>/dev/null
9018 mkdir conftest
9019 cd conftest
9020 mkdir out
9021 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9023 lt_compiler_flag="-o out/conftest2.$ac_objext"
9024 # Insert the option either (1) after the last *FLAGS variable, or
9025 # (2) before a word containing "conftest.", or (3) at the end.
9026 # Note that $ac_compile itself does not contain backslashes and begins
9027 # with a dollar sign (not a hyphen), so the echo should work correctly.
9028 lt_compile=`echo "$ac_compile" | $SED \
9029 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9030 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9031 -e 's:$: $lt_compiler_flag:'`
9032 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9033 (eval "$lt_compile" 2>out/conftest.err)
9034 ac_status=$?
9035 cat out/conftest.err >&5
9036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9037 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9038 then
9039 # The compiler can only warn and ignore the option if not recognized
9040 # So say no if there are warnings
9041 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9042 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9043 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9044 lt_cv_prog_compiler_c_o=yes
9047 chmod u+w . 2>&5
9048 $RM conftest*
9049 # SGI C++ compiler will create directory out/ii_files/ for
9050 # template instantiation
9051 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9052 $RM out/* && rmdir out
9053 cd ..
9054 $RM -r conftest
9055 $RM conftest*
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9059 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9067 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9068 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9069 $as_echo_n "(cached) " >&6
9070 else
9071 lt_cv_prog_compiler_c_o=no
9072 $RM -r conftest 2>/dev/null
9073 mkdir conftest
9074 cd conftest
9075 mkdir out
9076 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9078 lt_compiler_flag="-o out/conftest2.$ac_objext"
9079 # Insert the option either (1) after the last *FLAGS variable, or
9080 # (2) before a word containing "conftest.", or (3) at the end.
9081 # Note that $ac_compile itself does not contain backslashes and begins
9082 # with a dollar sign (not a hyphen), so the echo should work correctly.
9083 lt_compile=`echo "$ac_compile" | $SED \
9084 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9085 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9086 -e 's:$: $lt_compiler_flag:'`
9087 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9088 (eval "$lt_compile" 2>out/conftest.err)
9089 ac_status=$?
9090 cat out/conftest.err >&5
9091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9092 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9093 then
9094 # The compiler can only warn and ignore the option if not recognized
9095 # So say no if there are warnings
9096 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9097 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9098 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9099 lt_cv_prog_compiler_c_o=yes
9102 chmod u+w . 2>&5
9103 $RM conftest*
9104 # SGI C++ compiler will create directory out/ii_files/ for
9105 # template instantiation
9106 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9107 $RM out/* && rmdir out
9108 cd ..
9109 $RM -r conftest
9110 $RM conftest*
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9114 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9119 hard_links="nottested"
9120 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9121 # do not overwrite the value of need_locks provided by the user
9122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9123 $as_echo_n "checking if we can lock with hard links... " >&6; }
9124 hard_links=yes
9125 $RM conftest*
9126 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9127 touch conftest.a
9128 ln conftest.a conftest.b 2>&5 || hard_links=no
9129 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9131 $as_echo "$hard_links" >&6; }
9132 if test "$hard_links" = no; then
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9134 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9135 need_locks=warn
9137 else
9138 need_locks=no
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9147 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9149 runpath_var=
9150 allow_undefined_flag=
9151 always_export_symbols=no
9152 archive_cmds=
9153 archive_expsym_cmds=
9154 compiler_needs_object=no
9155 enable_shared_with_static_runtimes=no
9156 export_dynamic_flag_spec=
9157 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9158 hardcode_automatic=no
9159 hardcode_direct=no
9160 hardcode_direct_absolute=no
9161 hardcode_libdir_flag_spec=
9162 hardcode_libdir_flag_spec_ld=
9163 hardcode_libdir_separator=
9164 hardcode_minus_L=no
9165 hardcode_shlibpath_var=unsupported
9166 inherit_rpath=no
9167 link_all_deplibs=unknown
9168 module_cmds=
9169 module_expsym_cmds=
9170 old_archive_from_new_cmds=
9171 old_archive_from_expsyms_cmds=
9172 thread_safe_flag_spec=
9173 whole_archive_flag_spec=
9174 # include_expsyms should be a list of space-separated symbols to be *always*
9175 # included in the symbol list
9176 include_expsyms=
9177 # exclude_expsyms can be an extended regexp of symbols to exclude
9178 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9179 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9180 # as well as any symbol that contains `d'.
9181 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9182 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9183 # platforms (ab)use it in PIC code, but their linkers get confused if
9184 # the symbol is explicitly referenced. Since portable code cannot
9185 # rely on this symbol name, it's probably fine to never include it in
9186 # preloaded symbol tables.
9187 # Exclude shared library initialization/finalization symbols.
9188 extract_expsyms_cmds=
9190 case $host_os in
9191 cygwin* | mingw* | pw32* | cegcc*)
9192 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9193 # When not using gcc, we currently assume that we are using
9194 # Microsoft Visual C++.
9195 if test "$GCC" != yes; then
9196 with_gnu_ld=no
9199 interix*)
9200 # we just hope/assume this is gcc and not c89 (= MSVC++)
9201 with_gnu_ld=yes
9203 openbsd*)
9204 with_gnu_ld=no
9206 esac
9208 ld_shlibs=yes
9210 # On some targets, GNU ld is compatible enough with the native linker
9211 # that we're better off using the native interface for both.
9212 lt_use_gnu_ld_interface=no
9213 if test "$with_gnu_ld" = yes; then
9214 case $host_os in
9215 aix*)
9216 # The AIX port of GNU ld has always aspired to compatibility
9217 # with the native linker. However, as the warning in the GNU ld
9218 # block says, versions before 2.19.5* couldn't really create working
9219 # shared libraries, regardless of the interface used.
9220 case `$LD -v 2>&1` in
9221 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9222 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9223 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9225 lt_use_gnu_ld_interface=yes
9227 esac
9230 lt_use_gnu_ld_interface=yes
9232 esac
9235 if test "$lt_use_gnu_ld_interface" = yes; then
9236 # If archive_cmds runs LD, not CC, wlarc should be empty
9237 wlarc='${wl}'
9239 # Set some defaults for GNU ld with shared library support. These
9240 # are reset later if shared libraries are not supported. Putting them
9241 # here allows them to be overridden if necessary.
9242 runpath_var=LD_RUN_PATH
9243 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9244 export_dynamic_flag_spec='${wl}--export-dynamic'
9245 # ancient GNU ld didn't support --whole-archive et. al.
9246 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9247 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9248 else
9249 whole_archive_flag_spec=
9251 supports_anon_versioning=no
9252 case `$LD -v 2>&1` in
9253 *GNU\ gold*) supports_anon_versioning=yes ;;
9254 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9255 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9256 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9257 *\ 2.11.*) ;; # other 2.11 versions
9258 *) supports_anon_versioning=yes ;;
9259 esac
9261 # See if GNU ld supports shared libraries.
9262 case $host_os in
9263 aix[3-9]*)
9264 # On AIX/PPC, the GNU linker is very broken
9265 if test "$host_cpu" != ia64; then
9266 ld_shlibs=no
9267 cat <<_LT_EOF 1>&2
9269 *** Warning: the GNU linker, at least up to release 2.19, is reported
9270 *** to be unable to reliably create shared libraries on AIX.
9271 *** Therefore, libtool is disabling shared libraries support. If you
9272 *** really care for shared libraries, you may want to install binutils
9273 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9274 *** You will then need to restart the configuration process.
9276 _LT_EOF
9280 amigaos*)
9281 case $host_cpu in
9282 powerpc)
9283 # see comment about AmigaOS4 .so support
9284 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9285 archive_expsym_cmds=''
9287 m68k)
9288 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)'
9289 hardcode_libdir_flag_spec='-L$libdir'
9290 hardcode_minus_L=yes
9292 esac
9295 beos*)
9296 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9297 allow_undefined_flag=unsupported
9298 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9299 # support --undefined. This deserves some investigation. FIXME
9300 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9301 else
9302 ld_shlibs=no
9306 cygwin* | mingw* | pw32* | cegcc*)
9307 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9308 # as there is no search path for DLLs.
9309 hardcode_libdir_flag_spec='-L$libdir'
9310 export_dynamic_flag_spec='${wl}--export-all-symbols'
9311 allow_undefined_flag=unsupported
9312 always_export_symbols=no
9313 enable_shared_with_static_runtimes=yes
9314 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9316 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9317 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9318 # If the export-symbols file already is a .def file (1st line
9319 # is EXPORTS), use it as is; otherwise, prepend...
9320 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9321 cp $export_symbols $output_objdir/$soname.def;
9322 else
9323 echo EXPORTS > $output_objdir/$soname.def;
9324 cat $export_symbols >> $output_objdir/$soname.def;
9326 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9327 else
9328 ld_shlibs=no
9332 haiku*)
9333 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9334 link_all_deplibs=yes
9337 interix[3-9]*)
9338 hardcode_direct=no
9339 hardcode_shlibpath_var=no
9340 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9341 export_dynamic_flag_spec='${wl}-E'
9342 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9343 # Instead, shared libraries are loaded at an image base (0x10000000 by
9344 # default) and relocated if they conflict, which is a slow very memory
9345 # consuming and fragmenting process. To avoid this, we pick a random,
9346 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9347 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9348 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9349 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'
9352 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9353 tmp_diet=no
9354 if test "$host_os" = linux-dietlibc; then
9355 case $cc_basename in
9356 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9357 esac
9359 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9360 && test "$tmp_diet" = no
9361 then
9362 tmp_addflag=' $pic_flag'
9363 tmp_sharedflag='-shared'
9364 case $cc_basename,$host_cpu in
9365 pgcc*) # Portland Group C compiler
9366 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'
9367 tmp_addflag=' $pic_flag'
9369 pgf77* | pgf90* | pgf95* | pgfortran*)
9370 # Portland Group f77 and f90 compilers
9371 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'
9372 tmp_addflag=' $pic_flag -Mnomain' ;;
9373 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9374 tmp_addflag=' -i_dynamic' ;;
9375 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9376 tmp_addflag=' -i_dynamic -nofor_main' ;;
9377 ifc* | ifort*) # Intel Fortran compiler
9378 tmp_addflag=' -nofor_main' ;;
9379 lf95*) # Lahey Fortran 8.1
9380 whole_archive_flag_spec=
9381 tmp_sharedflag='--shared' ;;
9382 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9383 tmp_sharedflag='-qmkshrobj'
9384 tmp_addflag= ;;
9385 nvcc*) # Cuda Compiler Driver 2.2
9386 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'
9387 compiler_needs_object=yes
9389 esac
9390 case `$CC -V 2>&1 | sed 5q` in
9391 *Sun\ C*) # Sun C 5.9
9392 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'
9393 compiler_needs_object=yes
9394 tmp_sharedflag='-G' ;;
9395 *Sun\ F*) # Sun Fortran 8.3
9396 tmp_sharedflag='-G' ;;
9397 esac
9398 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9400 if test "x$supports_anon_versioning" = xyes; then
9401 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9402 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9403 echo "local: *; };" >> $output_objdir/$libname.ver~
9404 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9407 case $cc_basename in
9408 xlf* | bgf* | bgxlf* | mpixlf*)
9409 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9410 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9411 hardcode_libdir_flag_spec=
9412 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9413 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9414 if test "x$supports_anon_versioning" = xyes; then
9415 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9416 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9417 echo "local: *; };" >> $output_objdir/$libname.ver~
9418 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9421 esac
9422 else
9423 ld_shlibs=no
9427 netbsd*)
9428 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9429 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9430 wlarc=
9431 else
9432 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9433 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9437 solaris*)
9438 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9439 ld_shlibs=no
9440 cat <<_LT_EOF 1>&2
9442 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9443 *** create shared libraries on Solaris systems. Therefore, libtool
9444 *** is disabling shared libraries support. We urge you to upgrade GNU
9445 *** binutils to release 2.9.1 or newer. Another option is to modify
9446 *** your PATH or compiler configuration so that the native linker is
9447 *** used, and then restart.
9449 _LT_EOF
9450 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9451 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9452 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9453 else
9454 ld_shlibs=no
9458 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9459 case `$LD -v 2>&1` in
9460 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9461 ld_shlibs=no
9462 cat <<_LT_EOF 1>&2
9464 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9465 *** reliably create shared libraries on SCO systems. Therefore, libtool
9466 *** is disabling shared libraries support. We urge you to upgrade GNU
9467 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9468 *** your PATH or compiler configuration so that the native linker is
9469 *** used, and then restart.
9471 _LT_EOF
9474 # For security reasons, it is highly recommended that you always
9475 # use absolute paths for naming shared libraries, and exclude the
9476 # DT_RUNPATH tag from executables and libraries. But doing so
9477 # requires that you compile everything twice, which is a pain.
9478 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9479 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9480 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9481 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9482 else
9483 ld_shlibs=no
9486 esac
9489 sunos4*)
9490 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9491 wlarc=
9492 hardcode_direct=yes
9493 hardcode_shlibpath_var=no
9497 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9498 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9499 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9500 else
9501 ld_shlibs=no
9504 esac
9506 if test "$ld_shlibs" = no; then
9507 runpath_var=
9508 hardcode_libdir_flag_spec=
9509 export_dynamic_flag_spec=
9510 whole_archive_flag_spec=
9512 else
9513 # PORTME fill in a description of your system's linker (not GNU ld)
9514 case $host_os in
9515 aix3*)
9516 allow_undefined_flag=unsupported
9517 always_export_symbols=yes
9518 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'
9519 # Note: this linker hardcodes the directories in LIBPATH if there
9520 # are no directories specified by -L.
9521 hardcode_minus_L=yes
9522 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9523 # Neither direct hardcoding nor static linking is supported with a
9524 # broken collect2.
9525 hardcode_direct=unsupported
9529 aix[4-9]*)
9530 if test "$host_cpu" = ia64; then
9531 # On IA64, the linker does run time linking by default, so we don't
9532 # have to do anything special.
9533 aix_use_runtimelinking=no
9534 exp_sym_flag='-Bexport'
9535 no_entry_flag=""
9536 else
9537 # If we're using GNU nm, then we don't want the "-C" option.
9538 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9539 # Also, AIX nm treats weak defined symbols like other global
9540 # defined symbols, whereas GNU nm marks them as "W".
9541 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9542 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'
9543 else
9544 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9546 aix_use_runtimelinking=no
9548 # Test if we are trying to use run time linking or normal
9549 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9550 # need to do runtime linking.
9551 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9552 for ld_flag in $LDFLAGS; do
9553 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9554 aix_use_runtimelinking=yes
9555 break
9557 done
9559 esac
9561 exp_sym_flag='-bexport'
9562 no_entry_flag='-bnoentry'
9565 # When large executables or shared objects are built, AIX ld can
9566 # have problems creating the table of contents. If linking a library
9567 # or program results in "error TOC overflow" add -mminimal-toc to
9568 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9569 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9571 archive_cmds=''
9572 hardcode_direct=yes
9573 hardcode_direct_absolute=yes
9574 hardcode_libdir_separator=':'
9575 link_all_deplibs=yes
9576 file_list_spec='${wl}-f,'
9578 if test "$GCC" = yes; then
9579 case $host_os in aix4.[012]|aix4.[012].*)
9580 # We only want to do this on AIX 4.2 and lower, the check
9581 # below for broken collect2 doesn't work under 4.3+
9582 collect2name=`${CC} -print-prog-name=collect2`
9583 if test -f "$collect2name" &&
9584 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9585 then
9586 # We have reworked collect2
9588 else
9589 # We have old collect2
9590 hardcode_direct=unsupported
9591 # It fails to find uninstalled libraries when the uninstalled
9592 # path is not listed in the libpath. Setting hardcode_minus_L
9593 # to unsupported forces relinking
9594 hardcode_minus_L=yes
9595 hardcode_libdir_flag_spec='-L$libdir'
9596 hardcode_libdir_separator=
9599 esac
9600 shared_flag='-shared'
9601 if test "$aix_use_runtimelinking" = yes; then
9602 shared_flag="$shared_flag "'${wl}-G'
9604 else
9605 # not using gcc
9606 if test "$host_cpu" = ia64; then
9607 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9608 # chokes on -Wl,-G. The following line is correct:
9609 shared_flag='-G'
9610 else
9611 if test "$aix_use_runtimelinking" = yes; then
9612 shared_flag='${wl}-G'
9613 else
9614 shared_flag='${wl}-bM:SRE'
9619 export_dynamic_flag_spec='${wl}-bexpall'
9620 # It seems that -bexpall does not export symbols beginning with
9621 # underscore (_), so it is better to generate a list of symbols to export.
9622 always_export_symbols=yes
9623 if test "$aix_use_runtimelinking" = yes; then
9624 # Warning - without using the other runtime loading flags (-brtl),
9625 # -berok will link without error, but may produce a broken library.
9626 allow_undefined_flag='-berok'
9627 # Determine the default libpath from the value encoded in an
9628 # empty executable.
9629 if test x$gcc_no_link = xyes; then
9630 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9633 /* end confdefs.h. */
9636 main ()
9640 return 0;
9642 _ACEOF
9643 if ac_fn_c_try_link "$LINENO"; then :
9645 lt_aix_libpath_sed='
9646 /Import File Strings/,/^$/ {
9647 /^0/ {
9648 s/^0 *\(.*\)$/\1/
9652 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9653 # Check for a 64-bit object if we didn't find anything.
9654 if test -z "$aix_libpath"; then
9655 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9658 rm -f core conftest.err conftest.$ac_objext \
9659 conftest$ac_exeext conftest.$ac_ext
9660 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9662 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9663 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"
9664 else
9665 if test "$host_cpu" = ia64; then
9666 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9667 allow_undefined_flag="-z nodefs"
9668 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"
9669 else
9670 # Determine the default libpath from the value encoded in an
9671 # empty executable.
9672 if test x$gcc_no_link = xyes; then
9673 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9676 /* end confdefs.h. */
9679 main ()
9683 return 0;
9685 _ACEOF
9686 if ac_fn_c_try_link "$LINENO"; then :
9688 lt_aix_libpath_sed='
9689 /Import File Strings/,/^$/ {
9690 /^0/ {
9691 s/^0 *\(.*\)$/\1/
9695 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9696 # Check for a 64-bit object if we didn't find anything.
9697 if test -z "$aix_libpath"; then
9698 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9701 rm -f core conftest.err conftest.$ac_objext \
9702 conftest$ac_exeext conftest.$ac_ext
9703 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9705 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9706 # Warning - without using the other run time loading flags,
9707 # -berok will link without error, but may produce a broken library.
9708 no_undefined_flag=' ${wl}-bernotok'
9709 allow_undefined_flag=' ${wl}-berok'
9710 if test "$with_gnu_ld" = yes; then
9711 # We only use this code for GNU lds that support --whole-archive.
9712 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9713 else
9714 # Exported symbols can be pulled into shared objects from archives
9715 whole_archive_flag_spec='$convenience'
9717 archive_cmds_need_lc=yes
9718 # This is similar to how AIX traditionally builds its shared libraries.
9719 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'
9724 amigaos*)
9725 case $host_cpu in
9726 powerpc)
9727 # see comment about AmigaOS4 .so support
9728 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9729 archive_expsym_cmds=''
9731 m68k)
9732 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)'
9733 hardcode_libdir_flag_spec='-L$libdir'
9734 hardcode_minus_L=yes
9736 esac
9739 bsdi[45]*)
9740 export_dynamic_flag_spec=-rdynamic
9743 cygwin* | mingw* | pw32* | cegcc*)
9744 # When not using gcc, we currently assume that we are using
9745 # Microsoft Visual C++.
9746 # hardcode_libdir_flag_spec is actually meaningless, as there is
9747 # no search path for DLLs.
9748 hardcode_libdir_flag_spec=' '
9749 allow_undefined_flag=unsupported
9750 # Tell ltmain to make .lib files, not .a files.
9751 libext=lib
9752 # Tell ltmain to make .dll files, not .so files.
9753 shrext_cmds=".dll"
9754 # FIXME: Setting linknames here is a bad hack.
9755 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9756 # The linker will automatically build a .lib file if we build a DLL.
9757 old_archive_from_new_cmds='true'
9758 # FIXME: Should let the user specify the lib program.
9759 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9760 fix_srcfile_path='`cygpath -w "$srcfile"`'
9761 enable_shared_with_static_runtimes=yes
9764 darwin* | rhapsody*)
9767 archive_cmds_need_lc=no
9768 hardcode_direct=no
9769 hardcode_automatic=yes
9770 hardcode_shlibpath_var=unsupported
9771 if test "$lt_cv_ld_force_load" = "yes"; then
9772 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\"`'
9773 else
9774 whole_archive_flag_spec=''
9776 link_all_deplibs=yes
9777 allow_undefined_flag="$_lt_dar_allow_undefined"
9778 case $cc_basename in
9779 ifort*) _lt_dar_can_shared=yes ;;
9780 *) _lt_dar_can_shared=$GCC ;;
9781 esac
9782 if test "$_lt_dar_can_shared" = "yes"; then
9783 output_verbose_link_cmd=func_echo_all
9784 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9785 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9786 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}"
9787 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}"
9789 else
9790 ld_shlibs=no
9795 dgux*)
9796 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9797 hardcode_libdir_flag_spec='-L$libdir'
9798 hardcode_shlibpath_var=no
9801 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9802 # support. Future versions do this automatically, but an explicit c++rt0.o
9803 # does not break anything, and helps significantly (at the cost of a little
9804 # extra space).
9805 freebsd2.2*)
9806 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9807 hardcode_libdir_flag_spec='-R$libdir'
9808 hardcode_direct=yes
9809 hardcode_shlibpath_var=no
9812 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9813 freebsd2.*)
9814 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9815 hardcode_direct=yes
9816 hardcode_minus_L=yes
9817 hardcode_shlibpath_var=no
9820 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9821 freebsd* | dragonfly*)
9822 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9823 hardcode_libdir_flag_spec='-R$libdir'
9824 hardcode_direct=yes
9825 hardcode_shlibpath_var=no
9828 hpux9*)
9829 if test "$GCC" = yes; then
9830 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'
9831 else
9832 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'
9834 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9835 hardcode_libdir_separator=:
9836 hardcode_direct=yes
9838 # hardcode_minus_L: Not really in the search PATH,
9839 # but as the default location of the library.
9840 hardcode_minus_L=yes
9841 export_dynamic_flag_spec='${wl}-E'
9844 hpux10*)
9845 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9846 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9847 else
9848 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9850 if test "$with_gnu_ld" = no; then
9851 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9852 hardcode_libdir_flag_spec_ld='+b $libdir'
9853 hardcode_libdir_separator=:
9854 hardcode_direct=yes
9855 hardcode_direct_absolute=yes
9856 export_dynamic_flag_spec='${wl}-E'
9857 # hardcode_minus_L: Not really in the search PATH,
9858 # but as the default location of the library.
9859 hardcode_minus_L=yes
9863 hpux11*)
9864 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9865 case $host_cpu in
9866 hppa*64*)
9867 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9869 ia64*)
9870 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9873 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9875 esac
9876 else
9877 case $host_cpu in
9878 hppa*64*)
9879 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9881 ia64*)
9882 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9886 # Older versions of the 11.00 compiler do not understand -b yet
9887 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9889 $as_echo_n "checking if $CC understands -b... " >&6; }
9890 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9891 $as_echo_n "(cached) " >&6
9892 else
9893 lt_cv_prog_compiler__b=no
9894 save_LDFLAGS="$LDFLAGS"
9895 LDFLAGS="$LDFLAGS -b"
9896 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9897 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9898 # The linker can only warn and ignore the option if not recognized
9899 # So say no if there are warnings
9900 if test -s conftest.err; then
9901 # Append any errors to the config.log.
9902 cat conftest.err 1>&5
9903 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9904 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9905 if diff conftest.exp conftest.er2 >/dev/null; then
9906 lt_cv_prog_compiler__b=yes
9908 else
9909 lt_cv_prog_compiler__b=yes
9912 $RM -r conftest*
9913 LDFLAGS="$save_LDFLAGS"
9916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9917 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9919 if test x"$lt_cv_prog_compiler__b" = xyes; then
9920 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9921 else
9922 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9926 esac
9928 if test "$with_gnu_ld" = no; then
9929 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9930 hardcode_libdir_separator=:
9932 case $host_cpu in
9933 hppa*64*|ia64*)
9934 hardcode_direct=no
9935 hardcode_shlibpath_var=no
9938 hardcode_direct=yes
9939 hardcode_direct_absolute=yes
9940 export_dynamic_flag_spec='${wl}-E'
9942 # hardcode_minus_L: Not really in the search PATH,
9943 # but as the default location of the library.
9944 hardcode_minus_L=yes
9946 esac
9950 irix5* | irix6* | nonstopux*)
9951 if test "$GCC" = yes; then
9952 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'
9953 # Try to use the -exported_symbol ld option, if it does not
9954 # work, assume that -exports_file does not work either and
9955 # implicitly export all symbols.
9956 save_LDFLAGS="$LDFLAGS"
9957 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9958 if test x$gcc_no_link = xyes; then
9959 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9962 /* end confdefs.h. */
9963 int foo(void) {}
9964 _ACEOF
9965 if ac_fn_c_try_link "$LINENO"; then :
9966 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'
9969 rm -f core conftest.err conftest.$ac_objext \
9970 conftest$ac_exeext conftest.$ac_ext
9971 LDFLAGS="$save_LDFLAGS"
9972 else
9973 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'
9974 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'
9976 archive_cmds_need_lc='no'
9977 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9978 hardcode_libdir_separator=:
9979 inherit_rpath=yes
9980 link_all_deplibs=yes
9983 netbsd*)
9984 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9985 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9986 else
9987 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9989 hardcode_libdir_flag_spec='-R$libdir'
9990 hardcode_direct=yes
9991 hardcode_shlibpath_var=no
9994 newsos6)
9995 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9996 hardcode_direct=yes
9997 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9998 hardcode_libdir_separator=:
9999 hardcode_shlibpath_var=no
10002 *nto* | *qnx*)
10005 openbsd*)
10006 if test -f /usr/libexec/ld.so; then
10007 hardcode_direct=yes
10008 hardcode_shlibpath_var=no
10009 hardcode_direct_absolute=yes
10010 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10011 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10012 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10013 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10014 export_dynamic_flag_spec='${wl}-E'
10015 else
10016 case $host_os in
10017 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10018 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10019 hardcode_libdir_flag_spec='-R$libdir'
10022 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10023 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10025 esac
10027 else
10028 ld_shlibs=no
10032 os2*)
10033 hardcode_libdir_flag_spec='-L$libdir'
10034 hardcode_minus_L=yes
10035 allow_undefined_flag=unsupported
10036 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'
10037 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10040 osf3*)
10041 if test "$GCC" = yes; then
10042 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10043 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'
10044 else
10045 allow_undefined_flag=' -expect_unresolved \*'
10046 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'
10048 archive_cmds_need_lc='no'
10049 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10050 hardcode_libdir_separator=:
10053 osf4* | osf5*) # as osf3* with the addition of -msym flag
10054 if test "$GCC" = yes; then
10055 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10056 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'
10057 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10058 else
10059 allow_undefined_flag=' -expect_unresolved \*'
10060 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'
10061 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~
10062 $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'
10064 # Both c and cxx compiler support -rpath directly
10065 hardcode_libdir_flag_spec='-rpath $libdir'
10067 archive_cmds_need_lc='no'
10068 hardcode_libdir_separator=:
10071 solaris*)
10072 no_undefined_flag=' -z defs'
10073 if test "$GCC" = yes; then
10074 wlarc='${wl}'
10075 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10076 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10077 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10078 else
10079 case `$CC -V 2>&1` in
10080 *"Compilers 5.0"*)
10081 wlarc=''
10082 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10083 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10084 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10087 wlarc='${wl}'
10088 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10089 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10090 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10092 esac
10094 hardcode_libdir_flag_spec='-R$libdir'
10095 hardcode_shlibpath_var=no
10096 case $host_os in
10097 solaris2.[0-5] | solaris2.[0-5].*) ;;
10099 # The compiler driver will combine and reorder linker options,
10100 # but understands `-z linker_flag'. GCC discards it without `$wl',
10101 # but is careful enough not to reorder.
10102 # Supported since Solaris 2.6 (maybe 2.5.1?)
10103 if test "$GCC" = yes; then
10104 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10105 else
10106 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10109 esac
10110 link_all_deplibs=yes
10113 sunos4*)
10114 if test "x$host_vendor" = xsequent; then
10115 # Use $CC to link under sequent, because it throws in some extra .o
10116 # files that make .init and .fini sections work.
10117 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10118 else
10119 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10121 hardcode_libdir_flag_spec='-L$libdir'
10122 hardcode_direct=yes
10123 hardcode_minus_L=yes
10124 hardcode_shlibpath_var=no
10127 sysv4)
10128 case $host_vendor in
10129 sni)
10130 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10131 hardcode_direct=yes # is this really true???
10133 siemens)
10134 ## LD is ld it makes a PLAMLIB
10135 ## CC just makes a GrossModule.
10136 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10137 reload_cmds='$CC -r -o $output$reload_objs'
10138 hardcode_direct=no
10140 motorola)
10141 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10142 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10144 esac
10145 runpath_var='LD_RUN_PATH'
10146 hardcode_shlibpath_var=no
10149 sysv4.3*)
10150 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10151 hardcode_shlibpath_var=no
10152 export_dynamic_flag_spec='-Bexport'
10155 sysv4*MP*)
10156 if test -d /usr/nec; then
10157 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10158 hardcode_shlibpath_var=no
10159 runpath_var=LD_RUN_PATH
10160 hardcode_runpath_var=yes
10161 ld_shlibs=yes
10165 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10166 no_undefined_flag='${wl}-z,text'
10167 archive_cmds_need_lc=no
10168 hardcode_shlibpath_var=no
10169 runpath_var='LD_RUN_PATH'
10171 if test "$GCC" = yes; then
10172 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10173 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10174 else
10175 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10176 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10180 sysv5* | sco3.2v5* | sco5v6*)
10181 # Note: We can NOT use -z defs as we might desire, because we do not
10182 # link with -lc, and that would cause any symbols used from libc to
10183 # always be unresolved, which means just about no library would
10184 # ever link correctly. If we're not using GNU ld we use -z text
10185 # though, which does catch some bad symbols but isn't as heavy-handed
10186 # as -z defs.
10187 no_undefined_flag='${wl}-z,text'
10188 allow_undefined_flag='${wl}-z,nodefs'
10189 archive_cmds_need_lc=no
10190 hardcode_shlibpath_var=no
10191 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10192 hardcode_libdir_separator=':'
10193 link_all_deplibs=yes
10194 export_dynamic_flag_spec='${wl}-Bexport'
10195 runpath_var='LD_RUN_PATH'
10197 if test "$GCC" = yes; then
10198 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10199 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10200 else
10201 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10202 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10206 uts4*)
10207 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10208 hardcode_libdir_flag_spec='-L$libdir'
10209 hardcode_shlibpath_var=no
10213 ld_shlibs=no
10215 esac
10217 if test x$host_vendor = xsni; then
10218 case $host in
10219 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10220 export_dynamic_flag_spec='${wl}-Blargedynsym'
10222 esac
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10227 $as_echo "$ld_shlibs" >&6; }
10228 test "$ld_shlibs" = no && can_build_shared=no
10230 with_gnu_ld=$with_gnu_ld
10247 # Do we need to explicitly link libc?
10249 case "x$archive_cmds_need_lc" in
10250 x|xyes)
10251 # Assume -lc should be added
10252 archive_cmds_need_lc=yes
10254 if test "$enable_shared" = yes && test "$GCC" = yes; then
10255 case $archive_cmds in
10256 *'~'*)
10257 # FIXME: we may have to deal with multi-command sequences.
10259 '$CC '*)
10260 # Test whether the compiler implicitly links with -lc since on some
10261 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10262 # to ld, don't add -lc before -lgcc.
10263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10264 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10265 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10266 $as_echo_n "(cached) " >&6
10267 else
10268 $RM conftest*
10269 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10271 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10272 (eval $ac_compile) 2>&5
10273 ac_status=$?
10274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10275 test $ac_status = 0; } 2>conftest.err; then
10276 soname=conftest
10277 lib=conftest
10278 libobjs=conftest.$ac_objext
10279 deplibs=
10280 wl=$lt_prog_compiler_wl
10281 pic_flag=$lt_prog_compiler_pic
10282 compiler_flags=-v
10283 linker_flags=-v
10284 verstring=
10285 output_objdir=.
10286 libname=conftest
10287 lt_save_allow_undefined_flag=$allow_undefined_flag
10288 allow_undefined_flag=
10289 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10290 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10291 ac_status=$?
10292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10293 test $ac_status = 0; }
10294 then
10295 lt_cv_archive_cmds_need_lc=no
10296 else
10297 lt_cv_archive_cmds_need_lc=yes
10299 allow_undefined_flag=$lt_save_allow_undefined_flag
10300 else
10301 cat conftest.err 1>&5
10303 $RM conftest*
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10307 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10308 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10310 esac
10313 esac
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10472 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10474 if test "$GCC" = yes; then
10475 case $host_os in
10476 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10477 *) lt_awk_arg="/^libraries:/" ;;
10478 esac
10479 case $host_os in
10480 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10481 *) lt_sed_strip_eq="s,=/,/,g" ;;
10482 esac
10483 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10484 case $lt_search_path_spec in
10485 *\;*)
10486 # if the path contains ";" then we assume it to be the separator
10487 # otherwise default to the standard path separator (i.e. ":") - it is
10488 # assumed that no part of a normal pathname contains ";" but that should
10489 # okay in the real world where ";" in dirpaths is itself problematic.
10490 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10493 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10495 esac
10496 # Ok, now we have the path, separated by spaces, we can step through it
10497 # and add multilib dir if necessary.
10498 lt_tmp_lt_search_path_spec=
10499 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10500 for lt_sys_path in $lt_search_path_spec; do
10501 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10502 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10503 else
10504 test -d "$lt_sys_path" && \
10505 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10507 done
10508 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10509 BEGIN {RS=" "; FS="/|\n";} {
10510 lt_foo="";
10511 lt_count=0;
10512 for (lt_i = NF; lt_i > 0; lt_i--) {
10513 if ($lt_i != "" && $lt_i != ".") {
10514 if ($lt_i == "..") {
10515 lt_count++;
10516 } else {
10517 if (lt_count == 0) {
10518 lt_foo="/" $lt_i lt_foo;
10519 } else {
10520 lt_count--;
10525 if (lt_foo != "") { lt_freq[lt_foo]++; }
10526 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10528 # AWK program above erroneously prepends '/' to C:/dos/paths
10529 # for these hosts.
10530 case $host_os in
10531 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10532 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10533 esac
10534 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10535 else
10536 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10538 library_names_spec=
10539 libname_spec='lib$name'
10540 soname_spec=
10541 shrext_cmds=".so"
10542 postinstall_cmds=
10543 postuninstall_cmds=
10544 finish_cmds=
10545 finish_eval=
10546 shlibpath_var=
10547 shlibpath_overrides_runpath=unknown
10548 version_type=none
10549 dynamic_linker="$host_os ld.so"
10550 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10551 need_lib_prefix=unknown
10552 hardcode_into_libs=no
10554 # when you set need_version to no, make sure it does not cause -set_version
10555 # flags to be left without arguments
10556 need_version=unknown
10558 case $host_os in
10559 aix3*)
10560 version_type=linux
10561 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10562 shlibpath_var=LIBPATH
10564 # AIX 3 has no versioning support, so we append a major version to the name.
10565 soname_spec='${libname}${release}${shared_ext}$major'
10568 aix[4-9]*)
10569 version_type=linux
10570 need_lib_prefix=no
10571 need_version=no
10572 hardcode_into_libs=yes
10573 if test "$host_cpu" = ia64; then
10574 # AIX 5 supports IA64
10575 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10576 shlibpath_var=LD_LIBRARY_PATH
10577 else
10578 # With GCC up to 2.95.x, collect2 would create an import file
10579 # for dependence libraries. The import file would start with
10580 # the line `#! .'. This would cause the generated library to
10581 # depend on `.', always an invalid library. This was fixed in
10582 # development snapshots of GCC prior to 3.0.
10583 case $host_os in
10584 aix4 | aix4.[01] | aix4.[01].*)
10585 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10586 echo ' yes '
10587 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10589 else
10590 can_build_shared=no
10593 esac
10594 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10595 # soname into executable. Probably we can add versioning support to
10596 # collect2, so additional links can be useful in future.
10597 if test "$aix_use_runtimelinking" = yes; then
10598 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10599 # instead of lib<name>.a to let people know that these are not
10600 # typical AIX shared libraries.
10601 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10602 else
10603 # We preserve .a as extension for shared libraries through AIX4.2
10604 # and later when we are not doing run time linking.
10605 library_names_spec='${libname}${release}.a $libname.a'
10606 soname_spec='${libname}${release}${shared_ext}$major'
10608 shlibpath_var=LIBPATH
10612 amigaos*)
10613 case $host_cpu in
10614 powerpc)
10615 # Since July 2007 AmigaOS4 officially supports .so libraries.
10616 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10617 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10619 m68k)
10620 library_names_spec='$libname.ixlibrary $libname.a'
10621 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10622 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'
10624 esac
10627 beos*)
10628 library_names_spec='${libname}${shared_ext}'
10629 dynamic_linker="$host_os ld.so"
10630 shlibpath_var=LIBRARY_PATH
10633 bsdi[45]*)
10634 version_type=linux
10635 need_version=no
10636 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10637 soname_spec='${libname}${release}${shared_ext}$major'
10638 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10639 shlibpath_var=LD_LIBRARY_PATH
10640 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10641 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10642 # the default ld.so.conf also contains /usr/contrib/lib and
10643 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10644 # libtool to hard-code these into programs
10647 cygwin* | mingw* | pw32* | cegcc*)
10648 version_type=windows
10649 shrext_cmds=".dll"
10650 need_version=no
10651 need_lib_prefix=no
10653 case $GCC,$host_os in
10654 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10655 library_names_spec='$libname.dll.a'
10656 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10657 postinstall_cmds='base_file=`basename \${file}`~
10658 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10659 dldir=$destdir/`dirname \$dlpath`~
10660 test -d \$dldir || mkdir -p \$dldir~
10661 $install_prog $dir/$dlname \$dldir/$dlname~
10662 chmod a+x \$dldir/$dlname~
10663 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10664 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10666 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10667 dlpath=$dir/\$dldll~
10668 $RM \$dlpath'
10669 shlibpath_overrides_runpath=yes
10671 case $host_os in
10672 cygwin*)
10673 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10674 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10676 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10678 mingw* | cegcc*)
10679 # MinGW DLLs use traditional 'lib' prefix
10680 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10682 pw32*)
10683 # pw32 DLLs use 'pw' prefix rather than 'lib'
10684 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10686 esac
10690 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10692 esac
10693 dynamic_linker='Win32 ld.exe'
10694 # FIXME: first we should search . and the directory the executable is in
10695 shlibpath_var=PATH
10698 darwin* | rhapsody*)
10699 dynamic_linker="$host_os dyld"
10700 version_type=darwin
10701 need_lib_prefix=no
10702 need_version=no
10703 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10704 soname_spec='${libname}${release}${major}$shared_ext'
10705 shlibpath_overrides_runpath=yes
10706 shlibpath_var=DYLD_LIBRARY_PATH
10707 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10709 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10710 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10713 dgux*)
10714 version_type=linux
10715 need_lib_prefix=no
10716 need_version=no
10717 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10718 soname_spec='${libname}${release}${shared_ext}$major'
10719 shlibpath_var=LD_LIBRARY_PATH
10722 freebsd* | dragonfly*)
10723 # DragonFly does not have aout. When/if they implement a new
10724 # versioning mechanism, adjust this.
10725 if test -x /usr/bin/objformat; then
10726 objformat=`/usr/bin/objformat`
10727 else
10728 case $host_os in
10729 freebsd[23].*) objformat=aout ;;
10730 *) objformat=elf ;;
10731 esac
10733 version_type=freebsd-$objformat
10734 case $version_type in
10735 freebsd-elf*)
10736 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10737 need_version=no
10738 need_lib_prefix=no
10740 freebsd-*)
10741 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10742 need_version=yes
10744 esac
10745 shlibpath_var=LD_LIBRARY_PATH
10746 case $host_os in
10747 freebsd2.*)
10748 shlibpath_overrides_runpath=yes
10750 freebsd3.[01]* | freebsdelf3.[01]*)
10751 shlibpath_overrides_runpath=yes
10752 hardcode_into_libs=yes
10754 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10755 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10756 shlibpath_overrides_runpath=no
10757 hardcode_into_libs=yes
10759 *) # from 4.6 on, and DragonFly
10760 shlibpath_overrides_runpath=yes
10761 hardcode_into_libs=yes
10763 esac
10766 gnu*)
10767 version_type=linux
10768 need_lib_prefix=no
10769 need_version=no
10770 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10771 soname_spec='${libname}${release}${shared_ext}$major'
10772 shlibpath_var=LD_LIBRARY_PATH
10773 hardcode_into_libs=yes
10776 haiku*)
10777 version_type=linux
10778 need_lib_prefix=no
10779 need_version=no
10780 dynamic_linker="$host_os runtime_loader"
10781 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10782 soname_spec='${libname}${release}${shared_ext}$major'
10783 shlibpath_var=LIBRARY_PATH
10784 shlibpath_overrides_runpath=yes
10785 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10786 hardcode_into_libs=yes
10789 hpux9* | hpux10* | hpux11*)
10790 # Give a soname corresponding to the major version so that dld.sl refuses to
10791 # link against other versions.
10792 version_type=sunos
10793 need_lib_prefix=no
10794 need_version=no
10795 case $host_cpu in
10796 ia64*)
10797 shrext_cmds='.so'
10798 hardcode_into_libs=yes
10799 dynamic_linker="$host_os dld.so"
10800 shlibpath_var=LD_LIBRARY_PATH
10801 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10802 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10803 soname_spec='${libname}${release}${shared_ext}$major'
10804 if test "X$HPUX_IA64_MODE" = X32; then
10805 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10806 else
10807 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10809 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10811 hppa*64*)
10812 shrext_cmds='.sl'
10813 hardcode_into_libs=yes
10814 dynamic_linker="$host_os dld.sl"
10815 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10816 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10817 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10818 soname_spec='${libname}${release}${shared_ext}$major'
10819 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10820 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10823 shrext_cmds='.sl'
10824 dynamic_linker="$host_os dld.sl"
10825 shlibpath_var=SHLIB_PATH
10826 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10827 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10828 soname_spec='${libname}${release}${shared_ext}$major'
10830 esac
10831 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10832 postinstall_cmds='chmod 555 $lib'
10833 # or fails outright, so override atomically:
10834 install_override_mode=555
10837 interix[3-9]*)
10838 version_type=linux
10839 need_lib_prefix=no
10840 need_version=no
10841 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10842 soname_spec='${libname}${release}${shared_ext}$major'
10843 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10844 shlibpath_var=LD_LIBRARY_PATH
10845 shlibpath_overrides_runpath=no
10846 hardcode_into_libs=yes
10849 irix5* | irix6* | nonstopux*)
10850 case $host_os in
10851 nonstopux*) version_type=nonstopux ;;
10853 if test "$lt_cv_prog_gnu_ld" = yes; then
10854 version_type=linux
10855 else
10856 version_type=irix
10857 fi ;;
10858 esac
10859 need_lib_prefix=no
10860 need_version=no
10861 soname_spec='${libname}${release}${shared_ext}$major'
10862 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10863 case $host_os in
10864 irix5* | nonstopux*)
10865 libsuff= shlibsuff=
10868 case $LD in # libtool.m4 will add one of these switches to LD
10869 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10870 libsuff= shlibsuff= libmagic=32-bit;;
10871 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10872 libsuff=32 shlibsuff=N32 libmagic=N32;;
10873 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10874 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10875 *) libsuff= shlibsuff= libmagic=never-match;;
10876 esac
10878 esac
10879 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10880 shlibpath_overrides_runpath=no
10881 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10882 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10883 hardcode_into_libs=yes
10886 # No shared lib support for Linux oldld, aout, or coff.
10887 linux*oldld* | linux*aout* | linux*coff*)
10888 dynamic_linker=no
10891 # This must be Linux ELF.
10892 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10893 version_type=linux
10894 need_lib_prefix=no
10895 need_version=no
10896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10897 soname_spec='${libname}${release}${shared_ext}$major'
10898 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10899 shlibpath_var=LD_LIBRARY_PATH
10900 shlibpath_overrides_runpath=no
10902 # Some binutils ld are patched to set DT_RUNPATH
10903 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10904 $as_echo_n "(cached) " >&6
10905 else
10906 lt_cv_shlibpath_overrides_runpath=no
10907 save_LDFLAGS=$LDFLAGS
10908 save_libdir=$libdir
10909 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10910 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10911 if test x$gcc_no_link = xyes; then
10912 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10915 /* end confdefs.h. */
10918 main ()
10922 return 0;
10924 _ACEOF
10925 if ac_fn_c_try_link "$LINENO"; then :
10926 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10927 lt_cv_shlibpath_overrides_runpath=yes
10930 rm -f core conftest.err conftest.$ac_objext \
10931 conftest$ac_exeext conftest.$ac_ext
10932 LDFLAGS=$save_LDFLAGS
10933 libdir=$save_libdir
10937 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10939 # This implies no fast_install, which is unacceptable.
10940 # Some rework will be needed to allow for fast_install
10941 # before this can be enabled.
10942 hardcode_into_libs=yes
10944 # Append ld.so.conf contents to the search path
10945 if test -f /etc/ld.so.conf; then
10946 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' ' '`
10947 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10950 # We used to test for /lib/ld.so.1 and disable shared libraries on
10951 # powerpc, because MkLinux only supported shared libraries with the
10952 # GNU dynamic linker. Since this was broken with cross compilers,
10953 # most powerpc-linux boxes support dynamic linking these days and
10954 # people can always --disable-shared, the test was removed, and we
10955 # assume the GNU/Linux dynamic linker is in use.
10956 dynamic_linker='GNU/Linux ld.so'
10959 netbsd*)
10960 version_type=sunos
10961 need_lib_prefix=no
10962 need_version=no
10963 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10964 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10965 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10966 dynamic_linker='NetBSD (a.out) ld.so'
10967 else
10968 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10969 soname_spec='${libname}${release}${shared_ext}$major'
10970 dynamic_linker='NetBSD ld.elf_so'
10972 shlibpath_var=LD_LIBRARY_PATH
10973 shlibpath_overrides_runpath=yes
10974 hardcode_into_libs=yes
10977 newsos6)
10978 version_type=linux
10979 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10980 shlibpath_var=LD_LIBRARY_PATH
10981 shlibpath_overrides_runpath=yes
10984 *nto* | *qnx*)
10985 version_type=qnx
10986 need_lib_prefix=no
10987 need_version=no
10988 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10989 soname_spec='${libname}${release}${shared_ext}$major'
10990 shlibpath_var=LD_LIBRARY_PATH
10991 shlibpath_overrides_runpath=no
10992 hardcode_into_libs=yes
10993 dynamic_linker='ldqnx.so'
10996 openbsd*)
10997 version_type=sunos
10998 sys_lib_dlsearch_path_spec="/usr/lib"
10999 need_lib_prefix=no
11000 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11001 case $host_os in
11002 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11003 *) need_version=no ;;
11004 esac
11005 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11006 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11007 shlibpath_var=LD_LIBRARY_PATH
11008 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11009 case $host_os in
11010 openbsd2.[89] | openbsd2.[89].*)
11011 shlibpath_overrides_runpath=no
11014 shlibpath_overrides_runpath=yes
11016 esac
11017 else
11018 shlibpath_overrides_runpath=yes
11022 os2*)
11023 libname_spec='$name'
11024 shrext_cmds=".dll"
11025 need_lib_prefix=no
11026 library_names_spec='$libname${shared_ext} $libname.a'
11027 dynamic_linker='OS/2 ld.exe'
11028 shlibpath_var=LIBPATH
11031 osf3* | osf4* | osf5*)
11032 version_type=osf
11033 need_lib_prefix=no
11034 need_version=no
11035 soname_spec='${libname}${release}${shared_ext}$major'
11036 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11037 shlibpath_var=LD_LIBRARY_PATH
11038 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11039 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11042 rdos*)
11043 dynamic_linker=no
11046 solaris*)
11047 version_type=linux
11048 need_lib_prefix=no
11049 need_version=no
11050 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11051 soname_spec='${libname}${release}${shared_ext}$major'
11052 shlibpath_var=LD_LIBRARY_PATH
11053 shlibpath_overrides_runpath=yes
11054 hardcode_into_libs=yes
11055 # ldd complains unless libraries are executable
11056 postinstall_cmds='chmod +x $lib'
11059 sunos4*)
11060 version_type=sunos
11061 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11062 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11063 shlibpath_var=LD_LIBRARY_PATH
11064 shlibpath_overrides_runpath=yes
11065 if test "$with_gnu_ld" = yes; then
11066 need_lib_prefix=no
11068 need_version=yes
11071 sysv4 | sysv4.3*)
11072 version_type=linux
11073 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11074 soname_spec='${libname}${release}${shared_ext}$major'
11075 shlibpath_var=LD_LIBRARY_PATH
11076 case $host_vendor in
11077 sni)
11078 shlibpath_overrides_runpath=no
11079 need_lib_prefix=no
11080 runpath_var=LD_RUN_PATH
11082 siemens)
11083 need_lib_prefix=no
11085 motorola)
11086 need_lib_prefix=no
11087 need_version=no
11088 shlibpath_overrides_runpath=no
11089 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11091 esac
11094 sysv4*MP*)
11095 if test -d /usr/nec ;then
11096 version_type=linux
11097 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11098 soname_spec='$libname${shared_ext}.$major'
11099 shlibpath_var=LD_LIBRARY_PATH
11103 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11104 version_type=freebsd-elf
11105 need_lib_prefix=no
11106 need_version=no
11107 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11108 soname_spec='${libname}${release}${shared_ext}$major'
11109 shlibpath_var=LD_LIBRARY_PATH
11110 shlibpath_overrides_runpath=yes
11111 hardcode_into_libs=yes
11112 if test "$with_gnu_ld" = yes; then
11113 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11114 else
11115 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11116 case $host_os in
11117 sco3.2v5*)
11118 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11120 esac
11122 sys_lib_dlsearch_path_spec='/usr/lib'
11125 tpf*)
11126 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11127 version_type=linux
11128 need_lib_prefix=no
11129 need_version=no
11130 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11131 shlibpath_var=LD_LIBRARY_PATH
11132 shlibpath_overrides_runpath=no
11133 hardcode_into_libs=yes
11136 uts4*)
11137 version_type=linux
11138 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11139 soname_spec='${libname}${release}${shared_ext}$major'
11140 shlibpath_var=LD_LIBRARY_PATH
11144 dynamic_linker=no
11146 esac
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11148 $as_echo "$dynamic_linker" >&6; }
11149 test "$dynamic_linker" = no && can_build_shared=no
11151 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11152 if test "$GCC" = yes; then
11153 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11156 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11157 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11159 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11160 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11255 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11256 hardcode_action=
11257 if test -n "$hardcode_libdir_flag_spec" ||
11258 test -n "$runpath_var" ||
11259 test "X$hardcode_automatic" = "Xyes" ; then
11261 # We can hardcode non-existent directories.
11262 if test "$hardcode_direct" != no &&
11263 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11264 # have to relink, otherwise we might link with an installed library
11265 # when we should be linking with a yet-to-be-installed one
11266 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11267 test "$hardcode_minus_L" != no; then
11268 # Linking always hardcodes the temporary library directory.
11269 hardcode_action=relink
11270 else
11271 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11272 hardcode_action=immediate
11274 else
11275 # We cannot hardcode anything, or else we can only hardcode existing
11276 # directories.
11277 hardcode_action=unsupported
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11280 $as_echo "$hardcode_action" >&6; }
11282 if test "$hardcode_action" = relink ||
11283 test "$inherit_rpath" = yes; then
11284 # Fast installation is not supported
11285 enable_fast_install=no
11286 elif test "$shlibpath_overrides_runpath" = yes ||
11287 test "$enable_shared" = no; then
11288 # Fast installation is not necessary
11289 enable_fast_install=needless
11297 if test "x$enable_dlopen" != xyes; then
11298 enable_dlopen=unknown
11299 enable_dlopen_self=unknown
11300 enable_dlopen_self_static=unknown
11301 else
11302 lt_cv_dlopen=no
11303 lt_cv_dlopen_libs=
11305 case $host_os in
11306 beos*)
11307 lt_cv_dlopen="load_add_on"
11308 lt_cv_dlopen_libs=
11309 lt_cv_dlopen_self=yes
11312 mingw* | pw32* | cegcc*)
11313 lt_cv_dlopen="LoadLibrary"
11314 lt_cv_dlopen_libs=
11317 cygwin*)
11318 lt_cv_dlopen="dlopen"
11319 lt_cv_dlopen_libs=
11322 darwin*)
11323 # if libdl is installed we need to link against it
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11325 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11326 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11327 $as_echo_n "(cached) " >&6
11328 else
11329 ac_check_lib_save_LIBS=$LIBS
11330 LIBS="-ldl $LIBS"
11331 if test x$gcc_no_link = xyes; then
11332 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11335 /* end confdefs.h. */
11337 /* Override any GCC internal prototype to avoid an error.
11338 Use char because int might match the return type of a GCC
11339 builtin and then its argument prototype would still apply. */
11340 #ifdef __cplusplus
11341 extern "C"
11342 #endif
11343 char dlopen ();
11345 main ()
11347 return dlopen ();
11349 return 0;
11351 _ACEOF
11352 if ac_fn_c_try_link "$LINENO"; then :
11353 ac_cv_lib_dl_dlopen=yes
11354 else
11355 ac_cv_lib_dl_dlopen=no
11357 rm -f core conftest.err conftest.$ac_objext \
11358 conftest$ac_exeext conftest.$ac_ext
11359 LIBS=$ac_check_lib_save_LIBS
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11362 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11363 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11364 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11365 else
11367 lt_cv_dlopen="dyld"
11368 lt_cv_dlopen_libs=
11369 lt_cv_dlopen_self=yes
11376 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11377 if test "x$ac_cv_func_shl_load" = x""yes; then :
11378 lt_cv_dlopen="shl_load"
11379 else
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11381 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11382 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11383 $as_echo_n "(cached) " >&6
11384 else
11385 ac_check_lib_save_LIBS=$LIBS
11386 LIBS="-ldld $LIBS"
11387 if test x$gcc_no_link = xyes; then
11388 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11391 /* end confdefs.h. */
11393 /* Override any GCC internal prototype to avoid an error.
11394 Use char because int might match the return type of a GCC
11395 builtin and then its argument prototype would still apply. */
11396 #ifdef __cplusplus
11397 extern "C"
11398 #endif
11399 char shl_load ();
11401 main ()
11403 return shl_load ();
11405 return 0;
11407 _ACEOF
11408 if ac_fn_c_try_link "$LINENO"; then :
11409 ac_cv_lib_dld_shl_load=yes
11410 else
11411 ac_cv_lib_dld_shl_load=no
11413 rm -f core conftest.err conftest.$ac_objext \
11414 conftest$ac_exeext conftest.$ac_ext
11415 LIBS=$ac_check_lib_save_LIBS
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11418 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11419 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11420 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11421 else
11422 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11423 if test "x$ac_cv_func_dlopen" = x""yes; then :
11424 lt_cv_dlopen="dlopen"
11425 else
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11427 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11428 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11429 $as_echo_n "(cached) " >&6
11430 else
11431 ac_check_lib_save_LIBS=$LIBS
11432 LIBS="-ldl $LIBS"
11433 if test x$gcc_no_link = xyes; then
11434 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11437 /* end confdefs.h. */
11439 /* Override any GCC internal prototype to avoid an error.
11440 Use char because int might match the return type of a GCC
11441 builtin and then its argument prototype would still apply. */
11442 #ifdef __cplusplus
11443 extern "C"
11444 #endif
11445 char dlopen ();
11447 main ()
11449 return dlopen ();
11451 return 0;
11453 _ACEOF
11454 if ac_fn_c_try_link "$LINENO"; then :
11455 ac_cv_lib_dl_dlopen=yes
11456 else
11457 ac_cv_lib_dl_dlopen=no
11459 rm -f core conftest.err conftest.$ac_objext \
11460 conftest$ac_exeext conftest.$ac_ext
11461 LIBS=$ac_check_lib_save_LIBS
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11464 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11465 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11466 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11467 else
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11469 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11470 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11471 $as_echo_n "(cached) " >&6
11472 else
11473 ac_check_lib_save_LIBS=$LIBS
11474 LIBS="-lsvld $LIBS"
11475 if test x$gcc_no_link = xyes; then
11476 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11479 /* end confdefs.h. */
11481 /* Override any GCC internal prototype to avoid an error.
11482 Use char because int might match the return type of a GCC
11483 builtin and then its argument prototype would still apply. */
11484 #ifdef __cplusplus
11485 extern "C"
11486 #endif
11487 char dlopen ();
11489 main ()
11491 return dlopen ();
11493 return 0;
11495 _ACEOF
11496 if ac_fn_c_try_link "$LINENO"; then :
11497 ac_cv_lib_svld_dlopen=yes
11498 else
11499 ac_cv_lib_svld_dlopen=no
11501 rm -f core conftest.err conftest.$ac_objext \
11502 conftest$ac_exeext conftest.$ac_ext
11503 LIBS=$ac_check_lib_save_LIBS
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11506 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11507 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11508 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11509 else
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11511 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11512 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11513 $as_echo_n "(cached) " >&6
11514 else
11515 ac_check_lib_save_LIBS=$LIBS
11516 LIBS="-ldld $LIBS"
11517 if test x$gcc_no_link = xyes; then
11518 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11521 /* end confdefs.h. */
11523 /* Override any GCC internal prototype to avoid an error.
11524 Use char because int might match the return type of a GCC
11525 builtin and then its argument prototype would still apply. */
11526 #ifdef __cplusplus
11527 extern "C"
11528 #endif
11529 char dld_link ();
11531 main ()
11533 return dld_link ();
11535 return 0;
11537 _ACEOF
11538 if ac_fn_c_try_link "$LINENO"; then :
11539 ac_cv_lib_dld_dld_link=yes
11540 else
11541 ac_cv_lib_dld_dld_link=no
11543 rm -f core conftest.err conftest.$ac_objext \
11544 conftest$ac_exeext conftest.$ac_ext
11545 LIBS=$ac_check_lib_save_LIBS
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11548 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11549 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11550 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11569 esac
11571 if test "x$lt_cv_dlopen" != xno; then
11572 enable_dlopen=yes
11573 else
11574 enable_dlopen=no
11577 case $lt_cv_dlopen in
11578 dlopen)
11579 save_CPPFLAGS="$CPPFLAGS"
11580 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11582 save_LDFLAGS="$LDFLAGS"
11583 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11585 save_LIBS="$LIBS"
11586 LIBS="$lt_cv_dlopen_libs $LIBS"
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11589 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11590 if test "${lt_cv_dlopen_self+set}" = set; then :
11591 $as_echo_n "(cached) " >&6
11592 else
11593 if test "$cross_compiling" = yes; then :
11594 lt_cv_dlopen_self=cross
11595 else
11596 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11597 lt_status=$lt_dlunknown
11598 cat > conftest.$ac_ext <<_LT_EOF
11599 #line 11599 "configure"
11600 #include "confdefs.h"
11602 #if HAVE_DLFCN_H
11603 #include <dlfcn.h>
11604 #endif
11606 #include <stdio.h>
11608 #ifdef RTLD_GLOBAL
11609 # define LT_DLGLOBAL RTLD_GLOBAL
11610 #else
11611 # ifdef DL_GLOBAL
11612 # define LT_DLGLOBAL DL_GLOBAL
11613 # else
11614 # define LT_DLGLOBAL 0
11615 # endif
11616 #endif
11618 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11619 find out it does not work in some platform. */
11620 #ifndef LT_DLLAZY_OR_NOW
11621 # ifdef RTLD_LAZY
11622 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11623 # else
11624 # ifdef DL_LAZY
11625 # define LT_DLLAZY_OR_NOW DL_LAZY
11626 # else
11627 # ifdef RTLD_NOW
11628 # define LT_DLLAZY_OR_NOW RTLD_NOW
11629 # else
11630 # ifdef DL_NOW
11631 # define LT_DLLAZY_OR_NOW DL_NOW
11632 # else
11633 # define LT_DLLAZY_OR_NOW 0
11634 # endif
11635 # endif
11636 # endif
11637 # endif
11638 #endif
11640 /* When -fvisbility=hidden is used, assume the code has been annotated
11641 correspondingly for the symbols needed. */
11642 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11643 void fnord () __attribute__((visibility("default")));
11644 #endif
11646 void fnord () { int i=42; }
11647 int main ()
11649 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11650 int status = $lt_dlunknown;
11652 if (self)
11654 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11655 else
11657 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11658 else puts (dlerror ());
11660 /* dlclose (self); */
11662 else
11663 puts (dlerror ());
11665 return status;
11667 _LT_EOF
11668 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11669 (eval $ac_link) 2>&5
11670 ac_status=$?
11671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11672 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11673 (./conftest; exit; ) >&5 2>/dev/null
11674 lt_status=$?
11675 case x$lt_status in
11676 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11677 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11678 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11679 esac
11680 else :
11681 # compilation failed
11682 lt_cv_dlopen_self=no
11685 rm -fr conftest*
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11690 $as_echo "$lt_cv_dlopen_self" >&6; }
11692 if test "x$lt_cv_dlopen_self" = xyes; then
11693 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11695 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11696 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11697 $as_echo_n "(cached) " >&6
11698 else
11699 if test "$cross_compiling" = yes; then :
11700 lt_cv_dlopen_self_static=cross
11701 else
11702 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11703 lt_status=$lt_dlunknown
11704 cat > conftest.$ac_ext <<_LT_EOF
11705 #line 11705 "configure"
11706 #include "confdefs.h"
11708 #if HAVE_DLFCN_H
11709 #include <dlfcn.h>
11710 #endif
11712 #include <stdio.h>
11714 #ifdef RTLD_GLOBAL
11715 # define LT_DLGLOBAL RTLD_GLOBAL
11716 #else
11717 # ifdef DL_GLOBAL
11718 # define LT_DLGLOBAL DL_GLOBAL
11719 # else
11720 # define LT_DLGLOBAL 0
11721 # endif
11722 #endif
11724 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11725 find out it does not work in some platform. */
11726 #ifndef LT_DLLAZY_OR_NOW
11727 # ifdef RTLD_LAZY
11728 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11729 # else
11730 # ifdef DL_LAZY
11731 # define LT_DLLAZY_OR_NOW DL_LAZY
11732 # else
11733 # ifdef RTLD_NOW
11734 # define LT_DLLAZY_OR_NOW RTLD_NOW
11735 # else
11736 # ifdef DL_NOW
11737 # define LT_DLLAZY_OR_NOW DL_NOW
11738 # else
11739 # define LT_DLLAZY_OR_NOW 0
11740 # endif
11741 # endif
11742 # endif
11743 # endif
11744 #endif
11746 /* When -fvisbility=hidden is used, assume the code has been annotated
11747 correspondingly for the symbols needed. */
11748 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11749 void fnord () __attribute__((visibility("default")));
11750 #endif
11752 void fnord () { int i=42; }
11753 int main ()
11755 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11756 int status = $lt_dlunknown;
11758 if (self)
11760 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11761 else
11763 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11764 else puts (dlerror ());
11766 /* dlclose (self); */
11768 else
11769 puts (dlerror ());
11771 return status;
11773 _LT_EOF
11774 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11775 (eval $ac_link) 2>&5
11776 ac_status=$?
11777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11778 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11779 (./conftest; exit; ) >&5 2>/dev/null
11780 lt_status=$?
11781 case x$lt_status in
11782 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11783 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11784 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11785 esac
11786 else :
11787 # compilation failed
11788 lt_cv_dlopen_self_static=no
11791 rm -fr conftest*
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11796 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11799 CPPFLAGS="$save_CPPFLAGS"
11800 LDFLAGS="$save_LDFLAGS"
11801 LIBS="$save_LIBS"
11803 esac
11805 case $lt_cv_dlopen_self in
11806 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11807 *) enable_dlopen_self=unknown ;;
11808 esac
11810 case $lt_cv_dlopen_self_static in
11811 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11812 *) enable_dlopen_self_static=unknown ;;
11813 esac
11832 striplib=
11833 old_striplib=
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11835 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11836 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11837 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11838 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11840 $as_echo "yes" >&6; }
11841 else
11842 # FIXME - insert some real tests, host_os isn't really good enough
11843 case $host_os in
11844 darwin*)
11845 if test -n "$STRIP" ; then
11846 striplib="$STRIP -x"
11847 old_striplib="$STRIP -S"
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11849 $as_echo "yes" >&6; }
11850 else
11851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11852 $as_echo "no" >&6; }
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11857 $as_echo "no" >&6; }
11859 esac
11873 # Report which library types will actually be built
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11875 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11877 $as_echo "$can_build_shared" >&6; }
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11880 $as_echo_n "checking whether to build shared libraries... " >&6; }
11881 test "$can_build_shared" = "no" && enable_shared=no
11883 # On AIX, shared libraries and static libraries use the same namespace, and
11884 # are all built from PIC.
11885 case $host_os in
11886 aix3*)
11887 test "$enable_shared" = yes && enable_static=no
11888 if test -n "$RANLIB"; then
11889 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11890 postinstall_cmds='$RANLIB $lib'
11894 aix[4-9]*)
11895 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11896 test "$enable_shared" = yes && enable_static=no
11899 esac
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11901 $as_echo "$enable_shared" >&6; }
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11904 $as_echo_n "checking whether to build static libraries... " >&6; }
11905 # Make sure either enable_shared or enable_static is yes.
11906 test "$enable_shared" = yes || enable_static=yes
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11908 $as_echo "$enable_static" >&6; }
11914 ac_ext=c
11915 ac_cpp='$CPP $CPPFLAGS'
11916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11920 CC="$lt_save_CC"
11922 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11923 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11924 (test "X$CXX" != "Xg++"))) ; then
11925 ac_ext=cpp
11926 ac_cpp='$CXXCPP $CPPFLAGS'
11927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11931 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11932 if test -z "$CXXCPP"; then
11933 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11934 $as_echo_n "(cached) " >&6
11935 else
11936 # Double quotes because CXXCPP needs to be expanded
11937 for CXXCPP in "$CXX -E" "/lib/cpp"
11939 ac_preproc_ok=false
11940 for ac_cxx_preproc_warn_flag in '' yes
11942 # Use a header file that comes with gcc, so configuring glibc
11943 # with a fresh cross-compiler works.
11944 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11945 # <limits.h> exists even on freestanding compilers.
11946 # On the NeXT, cc -E runs the code through the compiler's parser,
11947 # not just through cpp. "Syntax error" is here to catch this case.
11948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11949 /* end confdefs.h. */
11950 #ifdef __STDC__
11951 # include <limits.h>
11952 #else
11953 # include <assert.h>
11954 #endif
11955 Syntax error
11956 _ACEOF
11957 if ac_fn_cxx_try_cpp "$LINENO"; then :
11959 else
11960 # Broken: fails on valid input.
11961 continue
11963 rm -f conftest.err conftest.$ac_ext
11965 # OK, works on sane cases. Now check whether nonexistent headers
11966 # can be detected and how.
11967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11968 /* end confdefs.h. */
11969 #include <ac_nonexistent.h>
11970 _ACEOF
11971 if ac_fn_cxx_try_cpp "$LINENO"; then :
11972 # Broken: success on invalid input.
11973 continue
11974 else
11975 # Passes both tests.
11976 ac_preproc_ok=:
11977 break
11979 rm -f conftest.err conftest.$ac_ext
11981 done
11982 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11983 rm -f conftest.err conftest.$ac_ext
11984 if $ac_preproc_ok; then :
11985 break
11988 done
11989 ac_cv_prog_CXXCPP=$CXXCPP
11992 CXXCPP=$ac_cv_prog_CXXCPP
11993 else
11994 ac_cv_prog_CXXCPP=$CXXCPP
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11997 $as_echo "$CXXCPP" >&6; }
11998 ac_preproc_ok=false
11999 for ac_cxx_preproc_warn_flag in '' yes
12001 # Use a header file that comes with gcc, so configuring glibc
12002 # with a fresh cross-compiler works.
12003 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12004 # <limits.h> exists even on freestanding compilers.
12005 # On the NeXT, cc -E runs the code through the compiler's parser,
12006 # not just through cpp. "Syntax error" is here to catch this case.
12007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12008 /* end confdefs.h. */
12009 #ifdef __STDC__
12010 # include <limits.h>
12011 #else
12012 # include <assert.h>
12013 #endif
12014 Syntax error
12015 _ACEOF
12016 if ac_fn_cxx_try_cpp "$LINENO"; then :
12018 else
12019 # Broken: fails on valid input.
12020 continue
12022 rm -f conftest.err conftest.$ac_ext
12024 # OK, works on sane cases. Now check whether nonexistent headers
12025 # can be detected and how.
12026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12027 /* end confdefs.h. */
12028 #include <ac_nonexistent.h>
12029 _ACEOF
12030 if ac_fn_cxx_try_cpp "$LINENO"; then :
12031 # Broken: success on invalid input.
12032 continue
12033 else
12034 # Passes both tests.
12035 ac_preproc_ok=:
12036 break
12038 rm -f conftest.err conftest.$ac_ext
12040 done
12041 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12042 rm -f conftest.err conftest.$ac_ext
12043 if $ac_preproc_ok; then :
12045 else
12046 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12047 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12048 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
12049 See \`config.log' for more details." "$LINENO" 5; }
12052 ac_ext=c
12053 ac_cpp='$CPP $CPPFLAGS'
12054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12058 else
12059 _lt_caught_CXX_error=yes
12062 ac_ext=cpp
12063 ac_cpp='$CXXCPP $CPPFLAGS'
12064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12068 archive_cmds_need_lc_CXX=no
12069 allow_undefined_flag_CXX=
12070 always_export_symbols_CXX=no
12071 archive_expsym_cmds_CXX=
12072 compiler_needs_object_CXX=no
12073 export_dynamic_flag_spec_CXX=
12074 hardcode_direct_CXX=no
12075 hardcode_direct_absolute_CXX=no
12076 hardcode_libdir_flag_spec_CXX=
12077 hardcode_libdir_flag_spec_ld_CXX=
12078 hardcode_libdir_separator_CXX=
12079 hardcode_minus_L_CXX=no
12080 hardcode_shlibpath_var_CXX=unsupported
12081 hardcode_automatic_CXX=no
12082 inherit_rpath_CXX=no
12083 module_cmds_CXX=
12084 module_expsym_cmds_CXX=
12085 link_all_deplibs_CXX=unknown
12086 old_archive_cmds_CXX=$old_archive_cmds
12087 reload_flag_CXX=$reload_flag
12088 reload_cmds_CXX=$reload_cmds
12089 no_undefined_flag_CXX=
12090 whole_archive_flag_spec_CXX=
12091 enable_shared_with_static_runtimes_CXX=no
12093 # Source file extension for C++ test sources.
12094 ac_ext=cpp
12096 # Object file extension for compiled C++ test sources.
12097 objext=o
12098 objext_CXX=$objext
12100 # No sense in running all these tests if we already determined that
12101 # the CXX compiler isn't working. Some variables (like enable_shared)
12102 # are currently assumed to apply to all compilers on this platform,
12103 # and will be corrupted by setting them based on a non-working compiler.
12104 if test "$_lt_caught_CXX_error" != yes; then
12105 # Code to be used in simple compile tests
12106 lt_simple_compile_test_code="int some_variable = 0;"
12108 # Code to be used in simple link tests
12109 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12111 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12118 # If no C compiler was specified, use CC.
12119 LTCC=${LTCC-"$CC"}
12121 # If no C compiler flags were specified, use CFLAGS.
12122 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12124 # Allow CC to be a program name with arguments.
12125 compiler=$CC
12128 # save warnings/boilerplate of simple test code
12129 ac_outfile=conftest.$ac_objext
12130 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12131 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12132 _lt_compiler_boilerplate=`cat conftest.err`
12133 $RM conftest*
12135 ac_outfile=conftest.$ac_objext
12136 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12137 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12138 _lt_linker_boilerplate=`cat conftest.err`
12139 $RM -r conftest*
12142 # Allow CC to be a program name with arguments.
12143 lt_save_CC=$CC
12144 lt_save_LD=$LD
12145 lt_save_GCC=$GCC
12146 GCC=$GXX
12147 lt_save_with_gnu_ld=$with_gnu_ld
12148 lt_save_path_LD=$lt_cv_path_LD
12149 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12150 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12151 else
12152 $as_unset lt_cv_prog_gnu_ld
12154 if test -n "${lt_cv_path_LDCXX+set}"; then
12155 lt_cv_path_LD=$lt_cv_path_LDCXX
12156 else
12157 $as_unset lt_cv_path_LD
12159 test -z "${LDCXX+set}" || LD=$LDCXX
12160 CC=${CXX-"c++"}
12161 compiler=$CC
12162 compiler_CXX=$CC
12163 for cc_temp in $compiler""; do
12164 case $cc_temp in
12165 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12166 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12167 \-*) ;;
12168 *) break;;
12169 esac
12170 done
12171 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12174 if test -n "$compiler"; then
12175 # We don't want -fno-exception when compiling C++ code, so set the
12176 # no_builtin_flag separately
12177 if test "$GXX" = yes; then
12178 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12179 else
12180 lt_prog_compiler_no_builtin_flag_CXX=
12183 if test "$GXX" = yes; then
12184 # Set up default GNU C++ configuration
12188 # Check whether --with-gnu-ld was given.
12189 if test "${with_gnu_ld+set}" = set; then :
12190 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12191 else
12192 with_gnu_ld=no
12195 ac_prog=ld
12196 if test "$GCC" = yes; then
12197 # Check if gcc -print-prog-name=ld gives a path.
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12199 $as_echo_n "checking for ld used by $CC... " >&6; }
12200 case $host in
12201 *-*-mingw*)
12202 # gcc leaves a trailing carriage return which upsets mingw
12203 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12205 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12206 esac
12207 case $ac_prog in
12208 # Accept absolute paths.
12209 [\\/]* | ?:[\\/]*)
12210 re_direlt='/[^/][^/]*/\.\./'
12211 # Canonicalize the pathname of ld
12212 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12213 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12214 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12215 done
12216 test -z "$LD" && LD="$ac_prog"
12219 # If it fails, then pretend we aren't using GCC.
12220 ac_prog=ld
12223 # If it is relative, then search for the first ld in PATH.
12224 with_gnu_ld=unknown
12226 esac
12227 elif test "$with_gnu_ld" = yes; then
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12229 $as_echo_n "checking for GNU ld... " >&6; }
12230 else
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12232 $as_echo_n "checking for non-GNU ld... " >&6; }
12234 if test "${lt_cv_path_LD+set}" = set; then :
12235 $as_echo_n "(cached) " >&6
12236 else
12237 if test -z "$LD"; then
12238 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12239 for ac_dir in $PATH; do
12240 IFS="$lt_save_ifs"
12241 test -z "$ac_dir" && ac_dir=.
12242 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12243 lt_cv_path_LD="$ac_dir/$ac_prog"
12244 # Check to see if the program is GNU ld. I'd rather use --version,
12245 # but apparently some variants of GNU ld only accept -v.
12246 # Break only if it was the GNU/non-GNU ld that we prefer.
12247 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12248 *GNU* | *'with BFD'*)
12249 test "$with_gnu_ld" != no && break
12252 test "$with_gnu_ld" != yes && break
12254 esac
12256 done
12257 IFS="$lt_save_ifs"
12258 else
12259 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12263 LD="$lt_cv_path_LD"
12264 if test -n "$LD"; then
12265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12266 $as_echo "$LD" >&6; }
12267 else
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12269 $as_echo "no" >&6; }
12271 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12273 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12274 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12275 $as_echo_n "(cached) " >&6
12276 else
12277 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12278 case `$LD -v 2>&1 </dev/null` in
12279 *GNU* | *'with BFD'*)
12280 lt_cv_prog_gnu_ld=yes
12283 lt_cv_prog_gnu_ld=no
12285 esac
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12288 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12289 with_gnu_ld=$lt_cv_prog_gnu_ld
12297 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12298 # archiving commands below assume that GNU ld is being used.
12299 if test "$with_gnu_ld" = yes; then
12300 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12301 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12303 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12304 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12306 # If archive_cmds runs LD, not CC, wlarc should be empty
12307 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12308 # investigate it a little bit more. (MM)
12309 wlarc='${wl}'
12311 # ancient GNU ld didn't support --whole-archive et. al.
12312 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12313 $GREP 'no-whole-archive' > /dev/null; then
12314 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12315 else
12316 whole_archive_flag_spec_CXX=
12318 else
12319 with_gnu_ld=no
12320 wlarc=
12322 # A generic and very simple default shared library creation
12323 # command for GNU C++ for the case where it uses the native
12324 # linker, instead of GNU ld. If possible, this setting should
12325 # overridden to take advantage of the native linker features on
12326 # the platform it is being used on.
12327 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12330 # Commands to make compiler produce verbose output that lists
12331 # what "hidden" libraries, object files and flags are used when
12332 # linking a shared library.
12333 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12335 else
12336 GXX=no
12337 with_gnu_ld=no
12338 wlarc=
12341 # PORTME: fill in a description of your system's C++ link characteristics
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12343 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12344 ld_shlibs_CXX=yes
12345 case $host_os in
12346 aix3*)
12347 # FIXME: insert proper C++ library support
12348 ld_shlibs_CXX=no
12350 aix[4-9]*)
12351 if test "$host_cpu" = ia64; then
12352 # On IA64, the linker does run time linking by default, so we don't
12353 # have to do anything special.
12354 aix_use_runtimelinking=no
12355 exp_sym_flag='-Bexport'
12356 no_entry_flag=""
12357 else
12358 aix_use_runtimelinking=no
12360 # Test if we are trying to use run time linking or normal
12361 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12362 # need to do runtime linking.
12363 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12364 for ld_flag in $LDFLAGS; do
12365 case $ld_flag in
12366 *-brtl*)
12367 aix_use_runtimelinking=yes
12368 break
12370 esac
12371 done
12373 esac
12375 exp_sym_flag='-bexport'
12376 no_entry_flag='-bnoentry'
12379 # When large executables or shared objects are built, AIX ld can
12380 # have problems creating the table of contents. If linking a library
12381 # or program results in "error TOC overflow" add -mminimal-toc to
12382 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12383 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12385 archive_cmds_CXX=''
12386 hardcode_direct_CXX=yes
12387 hardcode_direct_absolute_CXX=yes
12388 hardcode_libdir_separator_CXX=':'
12389 link_all_deplibs_CXX=yes
12390 file_list_spec_CXX='${wl}-f,'
12392 if test "$GXX" = yes; then
12393 case $host_os in aix4.[012]|aix4.[012].*)
12394 # We only want to do this on AIX 4.2 and lower, the check
12395 # below for broken collect2 doesn't work under 4.3+
12396 collect2name=`${CC} -print-prog-name=collect2`
12397 if test -f "$collect2name" &&
12398 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12399 then
12400 # We have reworked collect2
12402 else
12403 # We have old collect2
12404 hardcode_direct_CXX=unsupported
12405 # It fails to find uninstalled libraries when the uninstalled
12406 # path is not listed in the libpath. Setting hardcode_minus_L
12407 # to unsupported forces relinking
12408 hardcode_minus_L_CXX=yes
12409 hardcode_libdir_flag_spec_CXX='-L$libdir'
12410 hardcode_libdir_separator_CXX=
12412 esac
12413 shared_flag='-shared'
12414 if test "$aix_use_runtimelinking" = yes; then
12415 shared_flag="$shared_flag "'${wl}-G'
12417 else
12418 # not using gcc
12419 if test "$host_cpu" = ia64; then
12420 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12421 # chokes on -Wl,-G. The following line is correct:
12422 shared_flag='-G'
12423 else
12424 if test "$aix_use_runtimelinking" = yes; then
12425 shared_flag='${wl}-G'
12426 else
12427 shared_flag='${wl}-bM:SRE'
12432 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12433 # It seems that -bexpall does not export symbols beginning with
12434 # underscore (_), so it is better to generate a list of symbols to
12435 # export.
12436 always_export_symbols_CXX=yes
12437 if test "$aix_use_runtimelinking" = yes; then
12438 # Warning - without using the other runtime loading flags (-brtl),
12439 # -berok will link without error, but may produce a broken library.
12440 allow_undefined_flag_CXX='-berok'
12441 # Determine the default libpath from the value encoded in an empty
12442 # executable.
12443 if test x$gcc_no_link = xyes; then
12444 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12447 /* end confdefs.h. */
12450 main ()
12454 return 0;
12456 _ACEOF
12457 if ac_fn_cxx_try_link "$LINENO"; then :
12459 lt_aix_libpath_sed='
12460 /Import File Strings/,/^$/ {
12461 /^0/ {
12462 s/^0 *\(.*\)$/\1/
12466 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12467 # Check for a 64-bit object if we didn't find anything.
12468 if test -z "$aix_libpath"; then
12469 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12472 rm -f core conftest.err conftest.$ac_objext \
12473 conftest$ac_exeext conftest.$ac_ext
12474 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12476 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12478 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"
12479 else
12480 if test "$host_cpu" = ia64; then
12481 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12482 allow_undefined_flag_CXX="-z nodefs"
12483 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"
12484 else
12485 # Determine the default libpath from the value encoded in an
12486 # empty executable.
12487 if test x$gcc_no_link = xyes; then
12488 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12491 /* end confdefs.h. */
12494 main ()
12498 return 0;
12500 _ACEOF
12501 if ac_fn_cxx_try_link "$LINENO"; then :
12503 lt_aix_libpath_sed='
12504 /Import File Strings/,/^$/ {
12505 /^0/ {
12506 s/^0 *\(.*\)$/\1/
12510 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12511 # Check for a 64-bit object if we didn't find anything.
12512 if test -z "$aix_libpath"; then
12513 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12516 rm -f core conftest.err conftest.$ac_objext \
12517 conftest$ac_exeext conftest.$ac_ext
12518 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12520 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12521 # Warning - without using the other run time loading flags,
12522 # -berok will link without error, but may produce a broken library.
12523 no_undefined_flag_CXX=' ${wl}-bernotok'
12524 allow_undefined_flag_CXX=' ${wl}-berok'
12525 if test "$with_gnu_ld" = yes; then
12526 # We only use this code for GNU lds that support --whole-archive.
12527 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12528 else
12529 # Exported symbols can be pulled into shared objects from archives
12530 whole_archive_flag_spec_CXX='$convenience'
12532 archive_cmds_need_lc_CXX=yes
12533 # This is similar to how AIX traditionally builds its shared
12534 # libraries.
12535 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'
12540 beos*)
12541 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12542 allow_undefined_flag_CXX=unsupported
12543 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12544 # support --undefined. This deserves some investigation. FIXME
12545 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12546 else
12547 ld_shlibs_CXX=no
12551 chorus*)
12552 case $cc_basename in
12554 # FIXME: insert proper C++ library support
12555 ld_shlibs_CXX=no
12557 esac
12560 cygwin* | mingw* | pw32* | cegcc*)
12561 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12562 # as there is no search path for DLLs.
12563 hardcode_libdir_flag_spec_CXX='-L$libdir'
12564 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12565 allow_undefined_flag_CXX=unsupported
12566 always_export_symbols_CXX=no
12567 enable_shared_with_static_runtimes_CXX=yes
12569 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12570 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'
12571 # If the export-symbols file already is a .def file (1st line
12572 # is EXPORTS), use it as is; otherwise, prepend...
12573 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12574 cp $export_symbols $output_objdir/$soname.def;
12575 else
12576 echo EXPORTS > $output_objdir/$soname.def;
12577 cat $export_symbols >> $output_objdir/$soname.def;
12579 $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'
12580 else
12581 ld_shlibs_CXX=no
12584 darwin* | rhapsody*)
12587 archive_cmds_need_lc_CXX=no
12588 hardcode_direct_CXX=no
12589 hardcode_automatic_CXX=yes
12590 hardcode_shlibpath_var_CXX=unsupported
12591 if test "$lt_cv_ld_force_load" = "yes"; then
12592 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\"`'
12593 else
12594 whole_archive_flag_spec_CXX=''
12596 link_all_deplibs_CXX=yes
12597 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12598 case $cc_basename in
12599 ifort*) _lt_dar_can_shared=yes ;;
12600 *) _lt_dar_can_shared=$GCC ;;
12601 esac
12602 if test "$_lt_dar_can_shared" = "yes"; then
12603 output_verbose_link_cmd=func_echo_all
12604 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}"
12605 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12606 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}"
12607 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}"
12608 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12609 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}"
12610 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}"
12613 else
12614 ld_shlibs_CXX=no
12619 dgux*)
12620 case $cc_basename in
12621 ec++*)
12622 # FIXME: insert proper C++ library support
12623 ld_shlibs_CXX=no
12625 ghcx*)
12626 # Green Hills C++ Compiler
12627 # FIXME: insert proper C++ library support
12628 ld_shlibs_CXX=no
12631 # FIXME: insert proper C++ library support
12632 ld_shlibs_CXX=no
12634 esac
12637 freebsd2.*)
12638 # C++ shared libraries reported to be fairly broken before
12639 # switch to ELF
12640 ld_shlibs_CXX=no
12643 freebsd-elf*)
12644 archive_cmds_need_lc_CXX=no
12647 freebsd* | dragonfly*)
12648 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12649 # conventions
12650 ld_shlibs_CXX=yes
12653 gnu*)
12656 haiku*)
12657 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12658 link_all_deplibs_CXX=yes
12661 hpux9*)
12662 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12663 hardcode_libdir_separator_CXX=:
12664 export_dynamic_flag_spec_CXX='${wl}-E'
12665 hardcode_direct_CXX=yes
12666 hardcode_minus_L_CXX=yes # Not in the search PATH,
12667 # but as the default
12668 # location of the library.
12670 case $cc_basename in
12671 CC*)
12672 # FIXME: insert proper C++ library support
12673 ld_shlibs_CXX=no
12675 aCC*)
12676 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'
12677 # Commands to make compiler produce verbose output that lists
12678 # what "hidden" libraries, object files and flags are used when
12679 # linking a shared library.
12681 # There doesn't appear to be a way to prevent this compiler from
12682 # explicitly linking system object files so we need to strip them
12683 # from the output so that they don't get included in the library
12684 # dependencies.
12685 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"'
12688 if test "$GXX" = yes; then
12689 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'
12690 else
12691 # FIXME: insert proper C++ library support
12692 ld_shlibs_CXX=no
12695 esac
12698 hpux10*|hpux11*)
12699 if test $with_gnu_ld = no; then
12700 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12701 hardcode_libdir_separator_CXX=:
12703 case $host_cpu in
12704 hppa*64*|ia64*)
12707 export_dynamic_flag_spec_CXX='${wl}-E'
12709 esac
12711 case $host_cpu in
12712 hppa*64*|ia64*)
12713 hardcode_direct_CXX=no
12714 hardcode_shlibpath_var_CXX=no
12717 hardcode_direct_CXX=yes
12718 hardcode_direct_absolute_CXX=yes
12719 hardcode_minus_L_CXX=yes # Not in the search PATH,
12720 # but as the default
12721 # location of the library.
12723 esac
12725 case $cc_basename in
12726 CC*)
12727 # FIXME: insert proper C++ library support
12728 ld_shlibs_CXX=no
12730 aCC*)
12731 case $host_cpu in
12732 hppa*64*)
12733 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12735 ia64*)
12736 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12739 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12741 esac
12742 # Commands to make compiler produce verbose output that lists
12743 # what "hidden" libraries, object files and flags are used when
12744 # linking a shared library.
12746 # There doesn't appear to be a way to prevent this compiler from
12747 # explicitly linking system object files so we need to strip them
12748 # from the output so that they don't get included in the library
12749 # dependencies.
12750 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"'
12753 if test "$GXX" = yes; then
12754 if test $with_gnu_ld = no; then
12755 case $host_cpu in
12756 hppa*64*)
12757 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12759 ia64*)
12760 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12763 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'
12765 esac
12767 else
12768 # FIXME: insert proper C++ library support
12769 ld_shlibs_CXX=no
12772 esac
12775 interix[3-9]*)
12776 hardcode_direct_CXX=no
12777 hardcode_shlibpath_var_CXX=no
12778 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12779 export_dynamic_flag_spec_CXX='${wl}-E'
12780 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12781 # Instead, shared libraries are loaded at an image base (0x10000000 by
12782 # default) and relocated if they conflict, which is a slow very memory
12783 # consuming and fragmenting process. To avoid this, we pick a random,
12784 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12785 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12786 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'
12787 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'
12789 irix5* | irix6*)
12790 case $cc_basename in
12791 CC*)
12792 # SGI C++
12793 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'
12795 # Archives containing C++ object files must be created using
12796 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12797 # necessary to make sure instantiated templates are included
12798 # in the archive.
12799 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12802 if test "$GXX" = yes; then
12803 if test "$with_gnu_ld" = no; then
12804 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'
12805 else
12806 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'
12809 link_all_deplibs_CXX=yes
12811 esac
12812 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12813 hardcode_libdir_separator_CXX=:
12814 inherit_rpath_CXX=yes
12817 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12818 case $cc_basename in
12819 KCC*)
12820 # Kuck and Associates, Inc. (KAI) C++ Compiler
12822 # KCC will only create a shared library if the output file
12823 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12824 # to its proper name (with version) after linking.
12825 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'
12826 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'
12827 # Commands to make compiler produce verbose output that lists
12828 # what "hidden" libraries, object files and flags are used when
12829 # linking a shared library.
12831 # There doesn't appear to be a way to prevent this compiler from
12832 # explicitly linking system object files so we need to strip them
12833 # from the output so that they don't get included in the library
12834 # dependencies.
12835 output_verbose_link_cmd='templist=`$CC $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"'
12837 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12838 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12840 # Archives containing C++ object files must be created using
12841 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12842 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12844 icpc* | ecpc* )
12845 # Intel C++
12846 with_gnu_ld=yes
12847 # version 8.0 and above of icpc choke on multiply defined symbols
12848 # if we add $predep_objects and $postdep_objects, however 7.1 and
12849 # earlier do not add the objects themselves.
12850 case `$CC -V 2>&1` in
12851 *"Version 7."*)
12852 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12853 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'
12855 *) # Version 8.0 or newer
12856 tmp_idyn=
12857 case $host_cpu in
12858 ia64*) tmp_idyn=' -i_dynamic';;
12859 esac
12860 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12861 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'
12863 esac
12864 archive_cmds_need_lc_CXX=no
12865 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12866 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12867 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12869 pgCC* | pgcpp*)
12870 # Portland Group C++ compiler
12871 case `$CC -V` in
12872 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12873 prelink_cmds_CXX='tpldir=Template.dir~
12874 rm -rf $tpldir~
12875 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12876 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12877 old_archive_cmds_CXX='tpldir=Template.dir~
12878 rm -rf $tpldir~
12879 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12880 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12881 $RANLIB $oldlib'
12882 archive_cmds_CXX='tpldir=Template.dir~
12883 rm -rf $tpldir~
12884 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12885 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12886 archive_expsym_cmds_CXX='tpldir=Template.dir~
12887 rm -rf $tpldir~
12888 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12889 $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'
12891 *) # Version 6 and above use weak symbols
12892 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12893 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'
12895 esac
12897 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12898 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12899 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'
12901 cxx*)
12902 # Compaq C++
12903 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12904 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'
12906 runpath_var=LD_RUN_PATH
12907 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12908 hardcode_libdir_separator_CXX=:
12910 # Commands to make compiler produce verbose output that lists
12911 # what "hidden" libraries, object files and flags are used when
12912 # linking a shared library.
12914 # There doesn't appear to be a way to prevent this compiler from
12915 # explicitly linking system object files so we need to strip them
12916 # from the output so that they don't get included in the library
12917 # dependencies.
12918 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'
12920 xl* | mpixl* | bgxl*)
12921 # IBM XL 8.0 on PPC, with GNU ld
12922 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12923 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12924 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12925 if test "x$supports_anon_versioning" = xyes; then
12926 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12927 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12928 echo "local: *; };" >> $output_objdir/$libname.ver~
12929 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12933 case `$CC -V 2>&1 | sed 5q` in
12934 *Sun\ C*)
12935 # Sun C++ 5.9
12936 no_undefined_flag_CXX=' -zdefs'
12937 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12938 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'
12939 hardcode_libdir_flag_spec_CXX='-R$libdir'
12940 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'
12941 compiler_needs_object_CXX=yes
12943 # Not sure whether something based on
12944 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12945 # would be better.
12946 output_verbose_link_cmd='func_echo_all'
12948 # Archives containing C++ object files must be created using
12949 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12950 # necessary to make sure instantiated templates are included
12951 # in the archive.
12952 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12954 esac
12956 esac
12959 lynxos*)
12960 # FIXME: insert proper C++ library support
12961 ld_shlibs_CXX=no
12964 m88k*)
12965 # FIXME: insert proper C++ library support
12966 ld_shlibs_CXX=no
12969 mvs*)
12970 case $cc_basename in
12971 cxx*)
12972 # FIXME: insert proper C++ library support
12973 ld_shlibs_CXX=no
12976 # FIXME: insert proper C++ library support
12977 ld_shlibs_CXX=no
12979 esac
12982 netbsd*)
12983 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12984 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12985 wlarc=
12986 hardcode_libdir_flag_spec_CXX='-R$libdir'
12987 hardcode_direct_CXX=yes
12988 hardcode_shlibpath_var_CXX=no
12990 # Workaround some broken pre-1.5 toolchains
12991 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12994 *nto* | *qnx*)
12995 ld_shlibs_CXX=yes
12998 openbsd2*)
12999 # C++ shared libraries are fairly broken
13000 ld_shlibs_CXX=no
13003 openbsd*)
13004 if test -f /usr/libexec/ld.so; then
13005 hardcode_direct_CXX=yes
13006 hardcode_shlibpath_var_CXX=no
13007 hardcode_direct_absolute_CXX=yes
13008 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13009 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13010 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13011 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13012 export_dynamic_flag_spec_CXX='${wl}-E'
13013 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13015 output_verbose_link_cmd=func_echo_all
13016 else
13017 ld_shlibs_CXX=no
13021 osf3* | osf4* | osf5*)
13022 case $cc_basename in
13023 KCC*)
13024 # Kuck and Associates, Inc. (KAI) C++ Compiler
13026 # KCC will only create a shared library if the output file
13027 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13028 # to its proper name (with version) after linking.
13029 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'
13031 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13032 hardcode_libdir_separator_CXX=:
13034 # Archives containing C++ object files must be created using
13035 # the KAI C++ compiler.
13036 case $host in
13037 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13038 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13039 esac
13041 RCC*)
13042 # Rational C++ 2.4.1
13043 # FIXME: insert proper C++ library support
13044 ld_shlibs_CXX=no
13046 cxx*)
13047 case $host in
13048 osf3*)
13049 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13050 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'
13051 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13054 allow_undefined_flag_CXX=' -expect_unresolved \*'
13055 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'
13056 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13057 echo "-hidden">> $lib.exp~
13058 $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~
13059 $RM $lib.exp'
13060 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13062 esac
13064 hardcode_libdir_separator_CXX=:
13066 # Commands to make compiler produce verbose output that lists
13067 # what "hidden" libraries, object files and flags are used when
13068 # linking a shared library.
13070 # There doesn't appear to be a way to prevent this compiler from
13071 # explicitly linking system object files so we need to strip them
13072 # from the output so that they don't get included in the library
13073 # dependencies.
13074 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"'
13077 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13078 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13079 case $host in
13080 osf3*)
13081 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'
13084 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'
13086 esac
13088 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13089 hardcode_libdir_separator_CXX=:
13091 # Commands to make compiler produce verbose output that lists
13092 # what "hidden" libraries, object files and flags are used when
13093 # linking a shared library.
13094 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13096 else
13097 # FIXME: insert proper C++ library support
13098 ld_shlibs_CXX=no
13101 esac
13104 psos*)
13105 # FIXME: insert proper C++ library support
13106 ld_shlibs_CXX=no
13109 sunos4*)
13110 case $cc_basename in
13111 CC*)
13112 # Sun C++ 4.x
13113 # FIXME: insert proper C++ library support
13114 ld_shlibs_CXX=no
13116 lcc*)
13117 # Lucid
13118 # FIXME: insert proper C++ library support
13119 ld_shlibs_CXX=no
13122 # FIXME: insert proper C++ library support
13123 ld_shlibs_CXX=no
13125 esac
13128 solaris*)
13129 case $cc_basename in
13130 CC*)
13131 # Sun C++ 4.2, 5.x and Centerline C++
13132 archive_cmds_need_lc_CXX=yes
13133 no_undefined_flag_CXX=' -zdefs'
13134 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13135 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13136 $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'
13138 hardcode_libdir_flag_spec_CXX='-R$libdir'
13139 hardcode_shlibpath_var_CXX=no
13140 case $host_os in
13141 solaris2.[0-5] | solaris2.[0-5].*) ;;
13143 # The compiler driver will combine and reorder linker options,
13144 # but understands `-z linker_flag'.
13145 # Supported since Solaris 2.6 (maybe 2.5.1?)
13146 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13148 esac
13149 link_all_deplibs_CXX=yes
13151 output_verbose_link_cmd='func_echo_all'
13153 # Archives containing C++ object files must be created using
13154 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13155 # necessary to make sure instantiated templates are included
13156 # in the archive.
13157 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13159 gcx*)
13160 # Green Hills C++ Compiler
13161 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13163 # The C++ compiler must be used to create the archive.
13164 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13167 # GNU C++ compiler with Solaris linker
13168 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13169 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13170 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13171 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13172 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13173 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13175 # Commands to make compiler produce verbose output that lists
13176 # what "hidden" libraries, object files and flags are used when
13177 # linking a shared library.
13178 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13179 else
13180 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13181 # platform.
13182 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13183 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13184 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13186 # Commands to make compiler produce verbose output that lists
13187 # what "hidden" libraries, object files and flags are used when
13188 # linking a shared library.
13189 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13192 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13193 case $host_os in
13194 solaris2.[0-5] | solaris2.[0-5].*) ;;
13196 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13198 esac
13201 esac
13204 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13205 no_undefined_flag_CXX='${wl}-z,text'
13206 archive_cmds_need_lc_CXX=no
13207 hardcode_shlibpath_var_CXX=no
13208 runpath_var='LD_RUN_PATH'
13210 case $cc_basename in
13211 CC*)
13212 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13213 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13216 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13217 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13219 esac
13222 sysv5* | sco3.2v5* | sco5v6*)
13223 # Note: We can NOT use -z defs as we might desire, because we do not
13224 # link with -lc, and that would cause any symbols used from libc to
13225 # always be unresolved, which means just about no library would
13226 # ever link correctly. If we're not using GNU ld we use -z text
13227 # though, which does catch some bad symbols but isn't as heavy-handed
13228 # as -z defs.
13229 no_undefined_flag_CXX='${wl}-z,text'
13230 allow_undefined_flag_CXX='${wl}-z,nodefs'
13231 archive_cmds_need_lc_CXX=no
13232 hardcode_shlibpath_var_CXX=no
13233 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13234 hardcode_libdir_separator_CXX=':'
13235 link_all_deplibs_CXX=yes
13236 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13237 runpath_var='LD_RUN_PATH'
13239 case $cc_basename in
13240 CC*)
13241 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13242 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13243 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13244 '"$old_archive_cmds_CXX"
13245 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13246 '"$reload_cmds_CXX"
13249 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13250 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13252 esac
13255 tandem*)
13256 case $cc_basename in
13257 NCC*)
13258 # NonStop-UX NCC 3.20
13259 # FIXME: insert proper C++ library support
13260 ld_shlibs_CXX=no
13263 # FIXME: insert proper C++ library support
13264 ld_shlibs_CXX=no
13266 esac
13269 vxworks*)
13270 # FIXME: insert proper C++ library support
13271 ld_shlibs_CXX=no
13275 # FIXME: insert proper C++ library support
13276 ld_shlibs_CXX=no
13278 esac
13280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13281 $as_echo "$ld_shlibs_CXX" >&6; }
13282 test "$ld_shlibs_CXX" = no && can_build_shared=no
13284 GCC_CXX="$GXX"
13285 LD_CXX="$LD"
13287 ## CAVEAT EMPTOR:
13288 ## There is no encapsulation within the following macros, do not change
13289 ## the running order or otherwise move them around unless you know exactly
13290 ## what you are doing...
13291 # Dependencies to place before and after the object being linked:
13292 predep_objects_CXX=
13293 postdep_objects_CXX=
13294 predeps_CXX=
13295 postdeps_CXX=
13296 compiler_lib_search_path_CXX=
13298 cat > conftest.$ac_ext <<_LT_EOF
13299 class Foo
13301 public:
13302 Foo (void) { a = 0; }
13303 private:
13304 int a;
13306 _LT_EOF
13308 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13309 (eval $ac_compile) 2>&5
13310 ac_status=$?
13311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13312 test $ac_status = 0; }; then
13313 # Parse the compiler output and extract the necessary
13314 # objects, libraries and library flags.
13316 # Sentinel used to keep track of whether or not we are before
13317 # the conftest object file.
13318 pre_test_object_deps_done=no
13320 for p in `eval "$output_verbose_link_cmd"`; do
13321 case $p in
13323 -L* | -R* | -l*)
13324 # Some compilers place space between "-{L,R}" and the path.
13325 # Remove the space.
13326 if test $p = "-L" ||
13327 test $p = "-R"; then
13328 prev=$p
13329 continue
13330 else
13331 prev=
13334 if test "$pre_test_object_deps_done" = no; then
13335 case $p in
13336 -L* | -R*)
13337 # Internal compiler library paths should come after those
13338 # provided the user. The postdeps already come after the
13339 # user supplied libs so there is no need to process them.
13340 if test -z "$compiler_lib_search_path_CXX"; then
13341 compiler_lib_search_path_CXX="${prev}${p}"
13342 else
13343 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13346 # The "-l" case would never come before the object being
13347 # linked, so don't bother handling this case.
13348 esac
13349 else
13350 if test -z "$postdeps_CXX"; then
13351 postdeps_CXX="${prev}${p}"
13352 else
13353 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13358 *.$objext)
13359 # This assumes that the test object file only shows up
13360 # once in the compiler output.
13361 if test "$p" = "conftest.$objext"; then
13362 pre_test_object_deps_done=yes
13363 continue
13366 if test "$pre_test_object_deps_done" = no; then
13367 if test -z "$predep_objects_CXX"; then
13368 predep_objects_CXX="$p"
13369 else
13370 predep_objects_CXX="$predep_objects_CXX $p"
13372 else
13373 if test -z "$postdep_objects_CXX"; then
13374 postdep_objects_CXX="$p"
13375 else
13376 postdep_objects_CXX="$postdep_objects_CXX $p"
13381 *) ;; # Ignore the rest.
13383 esac
13384 done
13386 # Clean up.
13387 rm -f a.out a.exe
13388 else
13389 echo "libtool.m4: error: problem compiling CXX test program"
13392 $RM -f confest.$objext
13394 # PORTME: override above test on systems where it is broken
13395 case $host_os in
13396 interix[3-9]*)
13397 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13398 # hack all around it, let's just trust "g++" to DTRT.
13399 predep_objects_CXX=
13400 postdep_objects_CXX=
13401 postdeps_CXX=
13404 linux*)
13405 case `$CC -V 2>&1 | sed 5q` in
13406 *Sun\ C*)
13407 # Sun C++ 5.9
13409 # The more standards-conforming stlport4 library is
13410 # incompatible with the Cstd library. Avoid specifying
13411 # it if it's in CXXFLAGS. Ignore libCrun as
13412 # -library=stlport4 depends on it.
13413 case " $CXX $CXXFLAGS " in
13414 *" -library=stlport4 "*)
13415 solaris_use_stlport4=yes
13417 esac
13419 if test "$solaris_use_stlport4" != yes; then
13420 postdeps_CXX='-library=Cstd -library=Crun'
13423 esac
13426 solaris*)
13427 case $cc_basename in
13428 CC*)
13429 # The more standards-conforming stlport4 library is
13430 # incompatible with the Cstd library. Avoid specifying
13431 # it if it's in CXXFLAGS. Ignore libCrun as
13432 # -library=stlport4 depends on it.
13433 case " $CXX $CXXFLAGS " in
13434 *" -library=stlport4 "*)
13435 solaris_use_stlport4=yes
13437 esac
13439 # Adding this requires a known-good setup of shared libraries for
13440 # Sun compiler versions before 5.6, else PIC objects from an old
13441 # archive will be linked into the output, leading to subtle bugs.
13442 if test "$solaris_use_stlport4" != yes; then
13443 postdeps_CXX='-library=Cstd -library=Crun'
13446 esac
13448 esac
13451 case " $postdeps_CXX " in
13452 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13453 esac
13454 compiler_lib_search_dirs_CXX=
13455 if test -n "${compiler_lib_search_path_CXX}"; then
13456 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13489 lt_prog_compiler_wl_CXX=
13490 lt_prog_compiler_pic_CXX=
13491 lt_prog_compiler_static_CXX=
13493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13494 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13496 # C++ specific cases for pic, static, wl, etc.
13497 if test "$GXX" = yes; then
13498 lt_prog_compiler_wl_CXX='-Wl,'
13499 lt_prog_compiler_static_CXX='-static'
13501 case $host_os in
13502 aix*)
13503 # All AIX code is PIC.
13504 if test "$host_cpu" = ia64; then
13505 # AIX 5 now supports IA64 processor
13506 lt_prog_compiler_static_CXX='-Bstatic'
13508 lt_prog_compiler_pic_CXX='-fPIC'
13511 amigaos*)
13512 case $host_cpu in
13513 powerpc)
13514 # see comment about AmigaOS4 .so support
13515 lt_prog_compiler_pic_CXX='-fPIC'
13517 m68k)
13518 # FIXME: we need at least 68020 code to build shared libraries, but
13519 # adding the `-m68020' flag to GCC prevents building anything better,
13520 # like `-m68040'.
13521 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13523 esac
13526 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13527 # PIC is the default for these OSes.
13529 mingw* | cygwin* | os2* | pw32* | cegcc*)
13530 # This hack is so that the source file can tell whether it is being
13531 # built for inclusion in a dll (and should export symbols for example).
13532 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13533 # (--disable-auto-import) libraries
13534 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13536 darwin* | rhapsody*)
13537 # PIC is the default on this platform
13538 # Common symbols not allowed in MH_DYLIB files
13539 lt_prog_compiler_pic_CXX='-fno-common'
13541 *djgpp*)
13542 # DJGPP does not support shared libraries at all
13543 lt_prog_compiler_pic_CXX=
13545 haiku*)
13546 # PIC is the default for Haiku.
13547 # The "-static" flag exists, but is broken.
13548 lt_prog_compiler_static_CXX=
13550 interix[3-9]*)
13551 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13552 # Instead, we relocate shared libraries at runtime.
13554 sysv4*MP*)
13555 if test -d /usr/nec; then
13556 lt_prog_compiler_pic_CXX=-Kconform_pic
13559 hpux*)
13560 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13561 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13562 # sets the default TLS model and affects inlining.
13563 case $host_cpu in
13564 hppa*64*)
13567 lt_prog_compiler_pic_CXX='-fPIC'
13569 esac
13571 *qnx* | *nto*)
13572 # QNX uses GNU C++, but need to define -shared option too, otherwise
13573 # it will coredump.
13574 lt_prog_compiler_pic_CXX='-fPIC -shared'
13577 lt_prog_compiler_pic_CXX='-fPIC'
13579 esac
13580 else
13581 case $host_os in
13582 aix[4-9]*)
13583 # All AIX code is PIC.
13584 if test "$host_cpu" = ia64; then
13585 # AIX 5 now supports IA64 processor
13586 lt_prog_compiler_static_CXX='-Bstatic'
13587 else
13588 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13591 chorus*)
13592 case $cc_basename in
13593 cxch68*)
13594 # Green Hills C++ Compiler
13595 # _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"
13597 esac
13599 dgux*)
13600 case $cc_basename in
13601 ec++*)
13602 lt_prog_compiler_pic_CXX='-KPIC'
13604 ghcx*)
13605 # Green Hills C++ Compiler
13606 lt_prog_compiler_pic_CXX='-pic'
13610 esac
13612 freebsd* | dragonfly*)
13613 # FreeBSD uses GNU C++
13615 hpux9* | hpux10* | hpux11*)
13616 case $cc_basename in
13617 CC*)
13618 lt_prog_compiler_wl_CXX='-Wl,'
13619 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13620 if test "$host_cpu" != ia64; then
13621 lt_prog_compiler_pic_CXX='+Z'
13624 aCC*)
13625 lt_prog_compiler_wl_CXX='-Wl,'
13626 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13627 case $host_cpu in
13628 hppa*64*|ia64*)
13629 # +Z the default
13632 lt_prog_compiler_pic_CXX='+Z'
13634 esac
13638 esac
13640 interix*)
13641 # This is c89, which is MS Visual C++ (no shared libs)
13642 # Anyone wants to do a port?
13644 irix5* | irix6* | nonstopux*)
13645 case $cc_basename in
13646 CC*)
13647 lt_prog_compiler_wl_CXX='-Wl,'
13648 lt_prog_compiler_static_CXX='-non_shared'
13649 # CC pic flag -KPIC is the default.
13653 esac
13655 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13656 case $cc_basename in
13657 KCC*)
13658 # KAI C++ Compiler
13659 lt_prog_compiler_wl_CXX='--backend -Wl,'
13660 lt_prog_compiler_pic_CXX='-fPIC'
13662 ecpc* )
13663 # old Intel C++ for x86_64 which still supported -KPIC.
13664 lt_prog_compiler_wl_CXX='-Wl,'
13665 lt_prog_compiler_pic_CXX='-KPIC'
13666 lt_prog_compiler_static_CXX='-static'
13668 icpc* )
13669 # Intel C++, used to be incompatible with GCC.
13670 # ICC 10 doesn't accept -KPIC any more.
13671 lt_prog_compiler_wl_CXX='-Wl,'
13672 lt_prog_compiler_pic_CXX='-fPIC'
13673 lt_prog_compiler_static_CXX='-static'
13675 pgCC* | pgcpp*)
13676 # Portland Group C++ compiler
13677 lt_prog_compiler_wl_CXX='-Wl,'
13678 lt_prog_compiler_pic_CXX='-fpic'
13679 lt_prog_compiler_static_CXX='-Bstatic'
13681 cxx*)
13682 # Compaq C++
13683 # Make sure the PIC flag is empty. It appears that all Alpha
13684 # Linux and Compaq Tru64 Unix objects are PIC.
13685 lt_prog_compiler_pic_CXX=
13686 lt_prog_compiler_static_CXX='-non_shared'
13688 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13689 # IBM XL 8.0, 9.0 on PPC and BlueGene
13690 lt_prog_compiler_wl_CXX='-Wl,'
13691 lt_prog_compiler_pic_CXX='-qpic'
13692 lt_prog_compiler_static_CXX='-qstaticlink'
13695 case `$CC -V 2>&1 | sed 5q` in
13696 *Sun\ C*)
13697 # Sun C++ 5.9
13698 lt_prog_compiler_pic_CXX='-KPIC'
13699 lt_prog_compiler_static_CXX='-Bstatic'
13700 lt_prog_compiler_wl_CXX='-Qoption ld '
13702 esac
13704 esac
13706 lynxos*)
13708 m88k*)
13710 mvs*)
13711 case $cc_basename in
13712 cxx*)
13713 lt_prog_compiler_pic_CXX='-W c,exportall'
13717 esac
13719 netbsd*)
13721 *qnx* | *nto*)
13722 # QNX uses GNU C++, but need to define -shared option too, otherwise
13723 # it will coredump.
13724 lt_prog_compiler_pic_CXX='-fPIC -shared'
13726 osf3* | osf4* | osf5*)
13727 case $cc_basename in
13728 KCC*)
13729 lt_prog_compiler_wl_CXX='--backend -Wl,'
13731 RCC*)
13732 # Rational C++ 2.4.1
13733 lt_prog_compiler_pic_CXX='-pic'
13735 cxx*)
13736 # Digital/Compaq C++
13737 lt_prog_compiler_wl_CXX='-Wl,'
13738 # Make sure the PIC flag is empty. It appears that all Alpha
13739 # Linux and Compaq Tru64 Unix objects are PIC.
13740 lt_prog_compiler_pic_CXX=
13741 lt_prog_compiler_static_CXX='-non_shared'
13745 esac
13747 psos*)
13749 solaris*)
13750 case $cc_basename in
13751 CC*)
13752 # Sun C++ 4.2, 5.x and Centerline C++
13753 lt_prog_compiler_pic_CXX='-KPIC'
13754 lt_prog_compiler_static_CXX='-Bstatic'
13755 lt_prog_compiler_wl_CXX='-Qoption ld '
13757 gcx*)
13758 # Green Hills C++ Compiler
13759 lt_prog_compiler_pic_CXX='-PIC'
13763 esac
13765 sunos4*)
13766 case $cc_basename in
13767 CC*)
13768 # Sun C++ 4.x
13769 lt_prog_compiler_pic_CXX='-pic'
13770 lt_prog_compiler_static_CXX='-Bstatic'
13772 lcc*)
13773 # Lucid
13774 lt_prog_compiler_pic_CXX='-pic'
13778 esac
13780 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13781 case $cc_basename in
13782 CC*)
13783 lt_prog_compiler_wl_CXX='-Wl,'
13784 lt_prog_compiler_pic_CXX='-KPIC'
13785 lt_prog_compiler_static_CXX='-Bstatic'
13787 esac
13789 tandem*)
13790 case $cc_basename in
13791 NCC*)
13792 # NonStop-UX NCC 3.20
13793 lt_prog_compiler_pic_CXX='-KPIC'
13797 esac
13799 vxworks*)
13802 lt_prog_compiler_can_build_shared_CXX=no
13804 esac
13807 case $host_os in
13808 # For platforms which do not support PIC, -DPIC is meaningless:
13809 *djgpp*)
13810 lt_prog_compiler_pic_CXX=
13813 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13815 esac
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13817 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13822 # Check to make sure the PIC flag actually works.
13824 if test -n "$lt_prog_compiler_pic_CXX"; then
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13826 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13827 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13828 $as_echo_n "(cached) " >&6
13829 else
13830 lt_cv_prog_compiler_pic_works_CXX=no
13831 ac_outfile=conftest.$ac_objext
13832 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13833 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13834 # Insert the option either (1) after the last *FLAGS variable, or
13835 # (2) before a word containing "conftest.", or (3) at the end.
13836 # Note that $ac_compile itself does not contain backslashes and begins
13837 # with a dollar sign (not a hyphen), so the echo should work correctly.
13838 # The option is referenced via a variable to avoid confusing sed.
13839 lt_compile=`echo "$ac_compile" | $SED \
13840 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13841 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13842 -e 's:$: $lt_compiler_flag:'`
13843 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13844 (eval "$lt_compile" 2>conftest.err)
13845 ac_status=$?
13846 cat conftest.err >&5
13847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13848 if (exit $ac_status) && test -s "$ac_outfile"; then
13849 # The compiler can only warn and ignore the option if not recognized
13850 # So say no if there are warnings other than the usual output.
13851 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13852 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13853 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13854 lt_cv_prog_compiler_pic_works_CXX=yes
13857 $RM conftest*
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13861 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13863 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13864 case $lt_prog_compiler_pic_CXX in
13865 "" | " "*) ;;
13866 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13867 esac
13868 else
13869 lt_prog_compiler_pic_CXX=
13870 lt_prog_compiler_can_build_shared_CXX=no
13878 # Check to make sure the static flag actually works.
13880 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13882 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13883 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13884 $as_echo_n "(cached) " >&6
13885 else
13886 lt_cv_prog_compiler_static_works_CXX=no
13887 save_LDFLAGS="$LDFLAGS"
13888 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13889 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13890 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13891 # The linker can only warn and ignore the option if not recognized
13892 # So say no if there are warnings
13893 if test -s conftest.err; then
13894 # Append any errors to the config.log.
13895 cat conftest.err 1>&5
13896 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13897 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13898 if diff conftest.exp conftest.er2 >/dev/null; then
13899 lt_cv_prog_compiler_static_works_CXX=yes
13901 else
13902 lt_cv_prog_compiler_static_works_CXX=yes
13905 $RM -r conftest*
13906 LDFLAGS="$save_LDFLAGS"
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13910 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13912 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13914 else
13915 lt_prog_compiler_static_CXX=
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13922 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13923 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13924 $as_echo_n "(cached) " >&6
13925 else
13926 lt_cv_prog_compiler_c_o_CXX=no
13927 $RM -r conftest 2>/dev/null
13928 mkdir conftest
13929 cd conftest
13930 mkdir out
13931 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13933 lt_compiler_flag="-o out/conftest2.$ac_objext"
13934 # Insert the option either (1) after the last *FLAGS variable, or
13935 # (2) before a word containing "conftest.", or (3) at the end.
13936 # Note that $ac_compile itself does not contain backslashes and begins
13937 # with a dollar sign (not a hyphen), so the echo should work correctly.
13938 lt_compile=`echo "$ac_compile" | $SED \
13939 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13940 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13941 -e 's:$: $lt_compiler_flag:'`
13942 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13943 (eval "$lt_compile" 2>out/conftest.err)
13944 ac_status=$?
13945 cat out/conftest.err >&5
13946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13947 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13948 then
13949 # The compiler can only warn and ignore the option if not recognized
13950 # So say no if there are warnings
13951 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13952 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13953 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13954 lt_cv_prog_compiler_c_o_CXX=yes
13957 chmod u+w . 2>&5
13958 $RM conftest*
13959 # SGI C++ compiler will create directory out/ii_files/ for
13960 # template instantiation
13961 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13962 $RM out/* && rmdir out
13963 cd ..
13964 $RM -r conftest
13965 $RM conftest*
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13969 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13974 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13975 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13976 $as_echo_n "(cached) " >&6
13977 else
13978 lt_cv_prog_compiler_c_o_CXX=no
13979 $RM -r conftest 2>/dev/null
13980 mkdir conftest
13981 cd conftest
13982 mkdir out
13983 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13985 lt_compiler_flag="-o out/conftest2.$ac_objext"
13986 # Insert the option either (1) after the last *FLAGS variable, or
13987 # (2) before a word containing "conftest.", or (3) at the end.
13988 # Note that $ac_compile itself does not contain backslashes and begins
13989 # with a dollar sign (not a hyphen), so the echo should work correctly.
13990 lt_compile=`echo "$ac_compile" | $SED \
13991 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13992 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13993 -e 's:$: $lt_compiler_flag:'`
13994 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13995 (eval "$lt_compile" 2>out/conftest.err)
13996 ac_status=$?
13997 cat out/conftest.err >&5
13998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13999 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14000 then
14001 # The compiler can only warn and ignore the option if not recognized
14002 # So say no if there are warnings
14003 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14004 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14005 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14006 lt_cv_prog_compiler_c_o_CXX=yes
14009 chmod u+w . 2>&5
14010 $RM conftest*
14011 # SGI C++ compiler will create directory out/ii_files/ for
14012 # template instantiation
14013 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14014 $RM out/* && rmdir out
14015 cd ..
14016 $RM -r conftest
14017 $RM conftest*
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14021 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14026 hard_links="nottested"
14027 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14028 # do not overwrite the value of need_locks provided by the user
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14030 $as_echo_n "checking if we can lock with hard links... " >&6; }
14031 hard_links=yes
14032 $RM conftest*
14033 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14034 touch conftest.a
14035 ln conftest.a conftest.b 2>&5 || hard_links=no
14036 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14038 $as_echo "$hard_links" >&6; }
14039 if test "$hard_links" = no; then
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14041 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14042 need_locks=warn
14044 else
14045 need_locks=no
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14051 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14053 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14054 case $host_os in
14055 aix[4-9]*)
14056 # If we're using GNU nm, then we don't want the "-C" option.
14057 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14058 # Also, AIX nm treats weak defined symbols like other global defined
14059 # symbols, whereas GNU nm marks them as "W".
14060 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14061 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'
14062 else
14063 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14066 pw32*)
14067 export_symbols_cmds_CXX="$ltdll_cmds"
14069 cygwin* | mingw* | cegcc*)
14070 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'
14073 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14075 esac
14076 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14079 $as_echo "$ld_shlibs_CXX" >&6; }
14080 test "$ld_shlibs_CXX" = no && can_build_shared=no
14082 with_gnu_ld_CXX=$with_gnu_ld
14090 # Do we need to explicitly link libc?
14092 case "x$archive_cmds_need_lc_CXX" in
14093 x|xyes)
14094 # Assume -lc should be added
14095 archive_cmds_need_lc_CXX=yes
14097 if test "$enable_shared" = yes && test "$GCC" = yes; then
14098 case $archive_cmds_CXX in
14099 *'~'*)
14100 # FIXME: we may have to deal with multi-command sequences.
14102 '$CC '*)
14103 # Test whether the compiler implicitly links with -lc since on some
14104 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14105 # to ld, don't add -lc before -lgcc.
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14107 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14108 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14109 $as_echo_n "(cached) " >&6
14110 else
14111 $RM conftest*
14112 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14114 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14115 (eval $ac_compile) 2>&5
14116 ac_status=$?
14117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14118 test $ac_status = 0; } 2>conftest.err; then
14119 soname=conftest
14120 lib=conftest
14121 libobjs=conftest.$ac_objext
14122 deplibs=
14123 wl=$lt_prog_compiler_wl_CXX
14124 pic_flag=$lt_prog_compiler_pic_CXX
14125 compiler_flags=-v
14126 linker_flags=-v
14127 verstring=
14128 output_objdir=.
14129 libname=conftest
14130 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14131 allow_undefined_flag_CXX=
14132 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14133 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14134 ac_status=$?
14135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14136 test $ac_status = 0; }
14137 then
14138 lt_cv_archive_cmds_need_lc_CXX=no
14139 else
14140 lt_cv_archive_cmds_need_lc_CXX=yes
14142 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14143 else
14144 cat conftest.err 1>&5
14146 $RM conftest*
14149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14150 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14151 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14153 esac
14156 esac
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14222 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14224 library_names_spec=
14225 libname_spec='lib$name'
14226 soname_spec=
14227 shrext_cmds=".so"
14228 postinstall_cmds=
14229 postuninstall_cmds=
14230 finish_cmds=
14231 finish_eval=
14232 shlibpath_var=
14233 shlibpath_overrides_runpath=unknown
14234 version_type=none
14235 dynamic_linker="$host_os ld.so"
14236 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14237 need_lib_prefix=unknown
14238 hardcode_into_libs=no
14240 # when you set need_version to no, make sure it does not cause -set_version
14241 # flags to be left without arguments
14242 need_version=unknown
14244 case $host_os in
14245 aix3*)
14246 version_type=linux
14247 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14248 shlibpath_var=LIBPATH
14250 # AIX 3 has no versioning support, so we append a major version to the name.
14251 soname_spec='${libname}${release}${shared_ext}$major'
14254 aix[4-9]*)
14255 version_type=linux
14256 need_lib_prefix=no
14257 need_version=no
14258 hardcode_into_libs=yes
14259 if test "$host_cpu" = ia64; then
14260 # AIX 5 supports IA64
14261 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14262 shlibpath_var=LD_LIBRARY_PATH
14263 else
14264 # With GCC up to 2.95.x, collect2 would create an import file
14265 # for dependence libraries. The import file would start with
14266 # the line `#! .'. This would cause the generated library to
14267 # depend on `.', always an invalid library. This was fixed in
14268 # development snapshots of GCC prior to 3.0.
14269 case $host_os in
14270 aix4 | aix4.[01] | aix4.[01].*)
14271 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14272 echo ' yes '
14273 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14275 else
14276 can_build_shared=no
14279 esac
14280 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14281 # soname into executable. Probably we can add versioning support to
14282 # collect2, so additional links can be useful in future.
14283 if test "$aix_use_runtimelinking" = yes; then
14284 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14285 # instead of lib<name>.a to let people know that these are not
14286 # typical AIX shared libraries.
14287 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14288 else
14289 # We preserve .a as extension for shared libraries through AIX4.2
14290 # and later when we are not doing run time linking.
14291 library_names_spec='${libname}${release}.a $libname.a'
14292 soname_spec='${libname}${release}${shared_ext}$major'
14294 shlibpath_var=LIBPATH
14298 amigaos*)
14299 case $host_cpu in
14300 powerpc)
14301 # Since July 2007 AmigaOS4 officially supports .so libraries.
14302 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14303 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14305 m68k)
14306 library_names_spec='$libname.ixlibrary $libname.a'
14307 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14308 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'
14310 esac
14313 beos*)
14314 library_names_spec='${libname}${shared_ext}'
14315 dynamic_linker="$host_os ld.so"
14316 shlibpath_var=LIBRARY_PATH
14319 bsdi[45]*)
14320 version_type=linux
14321 need_version=no
14322 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14323 soname_spec='${libname}${release}${shared_ext}$major'
14324 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14325 shlibpath_var=LD_LIBRARY_PATH
14326 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14327 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14328 # the default ld.so.conf also contains /usr/contrib/lib and
14329 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14330 # libtool to hard-code these into programs
14333 cygwin* | mingw* | pw32* | cegcc*)
14334 version_type=windows
14335 shrext_cmds=".dll"
14336 need_version=no
14337 need_lib_prefix=no
14339 case $GCC,$host_os in
14340 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14341 library_names_spec='$libname.dll.a'
14342 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14343 postinstall_cmds='base_file=`basename \${file}`~
14344 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14345 dldir=$destdir/`dirname \$dlpath`~
14346 test -d \$dldir || mkdir -p \$dldir~
14347 $install_prog $dir/$dlname \$dldir/$dlname~
14348 chmod a+x \$dldir/$dlname~
14349 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14350 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14352 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14353 dlpath=$dir/\$dldll~
14354 $RM \$dlpath'
14355 shlibpath_overrides_runpath=yes
14357 case $host_os in
14358 cygwin*)
14359 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14360 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14363 mingw* | cegcc*)
14364 # MinGW DLLs use traditional 'lib' prefix
14365 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14367 pw32*)
14368 # pw32 DLLs use 'pw' prefix rather than 'lib'
14369 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14371 esac
14375 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14377 esac
14378 dynamic_linker='Win32 ld.exe'
14379 # FIXME: first we should search . and the directory the executable is in
14380 shlibpath_var=PATH
14383 darwin* | rhapsody*)
14384 dynamic_linker="$host_os dyld"
14385 version_type=darwin
14386 need_lib_prefix=no
14387 need_version=no
14388 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14389 soname_spec='${libname}${release}${major}$shared_ext'
14390 shlibpath_overrides_runpath=yes
14391 shlibpath_var=DYLD_LIBRARY_PATH
14392 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14394 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14397 dgux*)
14398 version_type=linux
14399 need_lib_prefix=no
14400 need_version=no
14401 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14402 soname_spec='${libname}${release}${shared_ext}$major'
14403 shlibpath_var=LD_LIBRARY_PATH
14406 freebsd* | dragonfly*)
14407 # DragonFly does not have aout. When/if they implement a new
14408 # versioning mechanism, adjust this.
14409 if test -x /usr/bin/objformat; then
14410 objformat=`/usr/bin/objformat`
14411 else
14412 case $host_os in
14413 freebsd[23].*) objformat=aout ;;
14414 *) objformat=elf ;;
14415 esac
14417 version_type=freebsd-$objformat
14418 case $version_type in
14419 freebsd-elf*)
14420 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14421 need_version=no
14422 need_lib_prefix=no
14424 freebsd-*)
14425 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14426 need_version=yes
14428 esac
14429 shlibpath_var=LD_LIBRARY_PATH
14430 case $host_os in
14431 freebsd2.*)
14432 shlibpath_overrides_runpath=yes
14434 freebsd3.[01]* | freebsdelf3.[01]*)
14435 shlibpath_overrides_runpath=yes
14436 hardcode_into_libs=yes
14438 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14439 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14440 shlibpath_overrides_runpath=no
14441 hardcode_into_libs=yes
14443 *) # from 4.6 on, and DragonFly
14444 shlibpath_overrides_runpath=yes
14445 hardcode_into_libs=yes
14447 esac
14450 gnu*)
14451 version_type=linux
14452 need_lib_prefix=no
14453 need_version=no
14454 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14455 soname_spec='${libname}${release}${shared_ext}$major'
14456 shlibpath_var=LD_LIBRARY_PATH
14457 hardcode_into_libs=yes
14460 haiku*)
14461 version_type=linux
14462 need_lib_prefix=no
14463 need_version=no
14464 dynamic_linker="$host_os runtime_loader"
14465 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14466 soname_spec='${libname}${release}${shared_ext}$major'
14467 shlibpath_var=LIBRARY_PATH
14468 shlibpath_overrides_runpath=yes
14469 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14470 hardcode_into_libs=yes
14473 hpux9* | hpux10* | hpux11*)
14474 # Give a soname corresponding to the major version so that dld.sl refuses to
14475 # link against other versions.
14476 version_type=sunos
14477 need_lib_prefix=no
14478 need_version=no
14479 case $host_cpu in
14480 ia64*)
14481 shrext_cmds='.so'
14482 hardcode_into_libs=yes
14483 dynamic_linker="$host_os dld.so"
14484 shlibpath_var=LD_LIBRARY_PATH
14485 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14486 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14487 soname_spec='${libname}${release}${shared_ext}$major'
14488 if test "X$HPUX_IA64_MODE" = X32; then
14489 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14490 else
14491 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14493 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14495 hppa*64*)
14496 shrext_cmds='.sl'
14497 hardcode_into_libs=yes
14498 dynamic_linker="$host_os dld.sl"
14499 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14500 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14501 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14502 soname_spec='${libname}${release}${shared_ext}$major'
14503 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14504 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14507 shrext_cmds='.sl'
14508 dynamic_linker="$host_os dld.sl"
14509 shlibpath_var=SHLIB_PATH
14510 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14511 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14512 soname_spec='${libname}${release}${shared_ext}$major'
14514 esac
14515 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14516 postinstall_cmds='chmod 555 $lib'
14517 # or fails outright, so override atomically:
14518 install_override_mode=555
14521 interix[3-9]*)
14522 version_type=linux
14523 need_lib_prefix=no
14524 need_version=no
14525 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14526 soname_spec='${libname}${release}${shared_ext}$major'
14527 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14528 shlibpath_var=LD_LIBRARY_PATH
14529 shlibpath_overrides_runpath=no
14530 hardcode_into_libs=yes
14533 irix5* | irix6* | nonstopux*)
14534 case $host_os in
14535 nonstopux*) version_type=nonstopux ;;
14537 if test "$lt_cv_prog_gnu_ld" = yes; then
14538 version_type=linux
14539 else
14540 version_type=irix
14541 fi ;;
14542 esac
14543 need_lib_prefix=no
14544 need_version=no
14545 soname_spec='${libname}${release}${shared_ext}$major'
14546 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14547 case $host_os in
14548 irix5* | nonstopux*)
14549 libsuff= shlibsuff=
14552 case $LD in # libtool.m4 will add one of these switches to LD
14553 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14554 libsuff= shlibsuff= libmagic=32-bit;;
14555 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14556 libsuff=32 shlibsuff=N32 libmagic=N32;;
14557 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14558 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14559 *) libsuff= shlibsuff= libmagic=never-match;;
14560 esac
14562 esac
14563 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14564 shlibpath_overrides_runpath=no
14565 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14566 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14567 hardcode_into_libs=yes
14570 # No shared lib support for Linux oldld, aout, or coff.
14571 linux*oldld* | linux*aout* | linux*coff*)
14572 dynamic_linker=no
14575 # This must be Linux ELF.
14576 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14577 version_type=linux
14578 need_lib_prefix=no
14579 need_version=no
14580 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14581 soname_spec='${libname}${release}${shared_ext}$major'
14582 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14583 shlibpath_var=LD_LIBRARY_PATH
14584 shlibpath_overrides_runpath=no
14586 # Some binutils ld are patched to set DT_RUNPATH
14587 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14588 $as_echo_n "(cached) " >&6
14589 else
14590 lt_cv_shlibpath_overrides_runpath=no
14591 save_LDFLAGS=$LDFLAGS
14592 save_libdir=$libdir
14593 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14594 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14595 if test x$gcc_no_link = xyes; then
14596 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14599 /* end confdefs.h. */
14602 main ()
14606 return 0;
14608 _ACEOF
14609 if ac_fn_cxx_try_link "$LINENO"; then :
14610 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14611 lt_cv_shlibpath_overrides_runpath=yes
14614 rm -f core conftest.err conftest.$ac_objext \
14615 conftest$ac_exeext conftest.$ac_ext
14616 LDFLAGS=$save_LDFLAGS
14617 libdir=$save_libdir
14621 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14623 # This implies no fast_install, which is unacceptable.
14624 # Some rework will be needed to allow for fast_install
14625 # before this can be enabled.
14626 hardcode_into_libs=yes
14628 # Append ld.so.conf contents to the search path
14629 if test -f /etc/ld.so.conf; then
14630 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' ' '`
14631 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14634 # We used to test for /lib/ld.so.1 and disable shared libraries on
14635 # powerpc, because MkLinux only supported shared libraries with the
14636 # GNU dynamic linker. Since this was broken with cross compilers,
14637 # most powerpc-linux boxes support dynamic linking these days and
14638 # people can always --disable-shared, the test was removed, and we
14639 # assume the GNU/Linux dynamic linker is in use.
14640 dynamic_linker='GNU/Linux ld.so'
14643 netbsd*)
14644 version_type=sunos
14645 need_lib_prefix=no
14646 need_version=no
14647 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14648 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14649 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14650 dynamic_linker='NetBSD (a.out) ld.so'
14651 else
14652 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14653 soname_spec='${libname}${release}${shared_ext}$major'
14654 dynamic_linker='NetBSD ld.elf_so'
14656 shlibpath_var=LD_LIBRARY_PATH
14657 shlibpath_overrides_runpath=yes
14658 hardcode_into_libs=yes
14661 newsos6)
14662 version_type=linux
14663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14664 shlibpath_var=LD_LIBRARY_PATH
14665 shlibpath_overrides_runpath=yes
14668 *nto* | *qnx*)
14669 version_type=qnx
14670 need_lib_prefix=no
14671 need_version=no
14672 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14673 soname_spec='${libname}${release}${shared_ext}$major'
14674 shlibpath_var=LD_LIBRARY_PATH
14675 shlibpath_overrides_runpath=no
14676 hardcode_into_libs=yes
14677 dynamic_linker='ldqnx.so'
14680 openbsd*)
14681 version_type=sunos
14682 sys_lib_dlsearch_path_spec="/usr/lib"
14683 need_lib_prefix=no
14684 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14685 case $host_os in
14686 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14687 *) need_version=no ;;
14688 esac
14689 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14690 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14691 shlibpath_var=LD_LIBRARY_PATH
14692 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14693 case $host_os in
14694 openbsd2.[89] | openbsd2.[89].*)
14695 shlibpath_overrides_runpath=no
14698 shlibpath_overrides_runpath=yes
14700 esac
14701 else
14702 shlibpath_overrides_runpath=yes
14706 os2*)
14707 libname_spec='$name'
14708 shrext_cmds=".dll"
14709 need_lib_prefix=no
14710 library_names_spec='$libname${shared_ext} $libname.a'
14711 dynamic_linker='OS/2 ld.exe'
14712 shlibpath_var=LIBPATH
14715 osf3* | osf4* | osf5*)
14716 version_type=osf
14717 need_lib_prefix=no
14718 need_version=no
14719 soname_spec='${libname}${release}${shared_ext}$major'
14720 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14721 shlibpath_var=LD_LIBRARY_PATH
14722 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14723 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14726 rdos*)
14727 dynamic_linker=no
14730 solaris*)
14731 version_type=linux
14732 need_lib_prefix=no
14733 need_version=no
14734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14735 soname_spec='${libname}${release}${shared_ext}$major'
14736 shlibpath_var=LD_LIBRARY_PATH
14737 shlibpath_overrides_runpath=yes
14738 hardcode_into_libs=yes
14739 # ldd complains unless libraries are executable
14740 postinstall_cmds='chmod +x $lib'
14743 sunos4*)
14744 version_type=sunos
14745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14746 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14747 shlibpath_var=LD_LIBRARY_PATH
14748 shlibpath_overrides_runpath=yes
14749 if test "$with_gnu_ld" = yes; then
14750 need_lib_prefix=no
14752 need_version=yes
14755 sysv4 | sysv4.3*)
14756 version_type=linux
14757 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14758 soname_spec='${libname}${release}${shared_ext}$major'
14759 shlibpath_var=LD_LIBRARY_PATH
14760 case $host_vendor in
14761 sni)
14762 shlibpath_overrides_runpath=no
14763 need_lib_prefix=no
14764 runpath_var=LD_RUN_PATH
14766 siemens)
14767 need_lib_prefix=no
14769 motorola)
14770 need_lib_prefix=no
14771 need_version=no
14772 shlibpath_overrides_runpath=no
14773 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14775 esac
14778 sysv4*MP*)
14779 if test -d /usr/nec ;then
14780 version_type=linux
14781 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14782 soname_spec='$libname${shared_ext}.$major'
14783 shlibpath_var=LD_LIBRARY_PATH
14787 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14788 version_type=freebsd-elf
14789 need_lib_prefix=no
14790 need_version=no
14791 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14792 soname_spec='${libname}${release}${shared_ext}$major'
14793 shlibpath_var=LD_LIBRARY_PATH
14794 shlibpath_overrides_runpath=yes
14795 hardcode_into_libs=yes
14796 if test "$with_gnu_ld" = yes; then
14797 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14798 else
14799 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14800 case $host_os in
14801 sco3.2v5*)
14802 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14804 esac
14806 sys_lib_dlsearch_path_spec='/usr/lib'
14809 tpf*)
14810 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14811 version_type=linux
14812 need_lib_prefix=no
14813 need_version=no
14814 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14815 shlibpath_var=LD_LIBRARY_PATH
14816 shlibpath_overrides_runpath=no
14817 hardcode_into_libs=yes
14820 uts4*)
14821 version_type=linux
14822 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14823 soname_spec='${libname}${release}${shared_ext}$major'
14824 shlibpath_var=LD_LIBRARY_PATH
14828 dynamic_linker=no
14830 esac
14831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14832 $as_echo "$dynamic_linker" >&6; }
14833 test "$dynamic_linker" = no && can_build_shared=no
14835 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14836 if test "$GCC" = yes; then
14837 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14840 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14841 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14843 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14844 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14885 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14886 hardcode_action_CXX=
14887 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14888 test -n "$runpath_var_CXX" ||
14889 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14891 # We can hardcode non-existent directories.
14892 if test "$hardcode_direct_CXX" != no &&
14893 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14894 # have to relink, otherwise we might link with an installed library
14895 # when we should be linking with a yet-to-be-installed one
14896 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14897 test "$hardcode_minus_L_CXX" != no; then
14898 # Linking always hardcodes the temporary library directory.
14899 hardcode_action_CXX=relink
14900 else
14901 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14902 hardcode_action_CXX=immediate
14904 else
14905 # We cannot hardcode anything, or else we can only hardcode existing
14906 # directories.
14907 hardcode_action_CXX=unsupported
14909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14910 $as_echo "$hardcode_action_CXX" >&6; }
14912 if test "$hardcode_action_CXX" = relink ||
14913 test "$inherit_rpath_CXX" = yes; then
14914 # Fast installation is not supported
14915 enable_fast_install=no
14916 elif test "$shlibpath_overrides_runpath" = yes ||
14917 test "$enable_shared" = no; then
14918 # Fast installation is not necessary
14919 enable_fast_install=needless
14928 fi # test -n "$compiler"
14930 CC=$lt_save_CC
14931 LDCXX=$LD
14932 LD=$lt_save_LD
14933 GCC=$lt_save_GCC
14934 with_gnu_ld=$lt_save_with_gnu_ld
14935 lt_cv_path_LDCXX=$lt_cv_path_LD
14936 lt_cv_path_LD=$lt_save_path_LD
14937 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14938 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14939 fi # test "$_lt_caught_CXX_error" != yes
14941 ac_ext=c
14942 ac_cpp='$CPP $CPPFLAGS'
14943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14959 ac_config_commands="$ac_config_commands libtool"
14964 # Only expand once:
14970 case $host in
14971 *-cygwin* | *-mingw*)
14972 # 'host' will be top-level target in the case of a target lib,
14973 # we must compare to with_cross_host to decide if this is a native
14974 # or cross-compiler and select where to install dlls appropriately.
14975 if test -n "$with_cross_host" &&
14976 test x"$with_cross_host" != x"no"; then
14977 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14978 else
14979 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14983 lt_host_flags=
14985 esac
14992 if test "$enable_vtable_verify" = yes; then
14993 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
14994 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
14998 # libtool variables for C++ shared and position-independent compiles.
15000 # Use glibcxx_lt_pic_flag to designate the automake variable
15001 # used to encapsulate the default libtool approach to creating objects
15002 # with position-independent code. Default: -prefer-pic.
15004 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15005 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15007 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15008 # creating position-independent objects. This varies with the target
15009 # hardware and operating system, but is often: -DPIC -fPIC.
15010 if test "$enable_shared" = yes; then
15011 glibcxx_lt_pic_flag="-prefer-pic"
15012 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15013 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15015 else
15016 glibcxx_lt_pic_flag=
15017 glibcxx_compiler_pic_flag=
15018 glibcxx_compiler_shared_flag=
15024 # Override the libtool's pic_flag and pic_mode.
15025 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15026 # NB: this impacts --with-pic and --without-pic.
15027 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15028 pic_mode='default'
15030 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15031 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15033 # Possibly disable most of the library.
15034 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15035 ## than just ignoring the results. Faster /and/ more correct, win win.
15037 # Check whether --enable-hosted-libstdcxx was given.
15038 if test "${enable_hosted_libstdcxx+set}" = set; then :
15039 enableval=$enable_hosted_libstdcxx;
15040 else
15041 case "$host" in
15042 arm*-*-symbianelf*)
15043 enable_hosted_libstdcxx=no
15046 enable_hosted_libstdcxx=yes
15048 esac
15051 if test "$enable_hosted_libstdcxx" = no; then
15052 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15053 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15054 is_hosted=no
15055 hosted_define=0
15056 enable_abi_check=no
15057 enable_libstdcxx_pch=no
15058 else
15059 is_hosted=yes
15060 hosted_define=1
15064 cat >>confdefs.h <<_ACEOF
15065 #define _GLIBCXX_HOSTED $hosted_define
15066 _ACEOF
15070 # Enable descriptive messages to standard output on termination.
15072 # Check whether --enable-libstdcxx-verbose was given.
15073 if test "${enable_libstdcxx_verbose+set}" = set; then :
15074 enableval=$enable_libstdcxx_verbose;
15075 else
15076 enable_libstdcxx_verbose=yes
15079 if test x"$enable_libstdcxx_verbose" = xyes; then
15080 verbose_define=1
15081 else
15082 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15083 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15084 verbose_define=0
15087 cat >>confdefs.h <<_ACEOF
15088 #define _GLIBCXX_VERBOSE $verbose_define
15089 _ACEOF
15093 # Enable compiler support that doesn't require linking.
15095 # Check whether --enable-libstdcxx-pch was given.
15096 if test "${enable_libstdcxx_pch+set}" = set; then :
15097 enableval=$enable_libstdcxx_pch;
15098 case "$enableval" in
15099 yes|no) ;;
15100 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15101 esac
15103 else
15104 enable_libstdcxx_pch=$is_hosted
15108 if test $enable_libstdcxx_pch = yes; then
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15110 $as_echo_n "checking for compiler with PCH support... " >&6; }
15111 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15112 $as_echo_n "(cached) " >&6
15113 else
15114 ac_save_CXXFLAGS="$CXXFLAGS"
15115 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15117 ac_ext=cpp
15118 ac_cpp='$CXXCPP $CPPFLAGS'
15119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15123 echo '#include <math.h>' > conftest.h
15124 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15125 -o conftest.h.gch 1>&5 2>&1 &&
15126 echo '#error "pch failed"' > conftest.h &&
15127 echo '#include "conftest.h"' > conftest.cc &&
15128 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15129 then
15130 glibcxx_cv_prog_CXX_pch=yes
15131 else
15132 glibcxx_cv_prog_CXX_pch=no
15134 rm -f conftest*
15135 CXXFLAGS=$ac_save_CXXFLAGS
15136 ac_ext=c
15137 ac_cpp='$CPP $CPPFLAGS'
15138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15145 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15146 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15150 $as_echo_n "checking for enabled PCH... " >&6; }
15151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15152 $as_echo "$enable_libstdcxx_pch" >&6; }
15155 if test $enable_libstdcxx_pch = yes; then
15156 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15157 else
15158 glibcxx_PCHFLAGS=""
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15164 $as_echo_n "checking for thread model used by GCC... " >&6; }
15165 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15167 $as_echo "$target_thread_file" >&6; }
15169 case $target_thread_file in
15170 aix) thread_header=config/rs6000/gthr-aix.h ;;
15171 dce) thread_header=config/pa/gthr-dce.h ;;
15172 lynx) thread_header=config/gthr-lynx.h ;;
15173 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15174 posix) thread_header=gthr-posix.h ;;
15175 rtems) thread_header=config/gthr-rtems.h ;;
15176 single) thread_header=gthr-single.h ;;
15177 tpf) thread_header=config/s390/gthr-tpf.h ;;
15178 vxworks) thread_header=config/gthr-vxworks.h ;;
15179 win32) thread_header=config/i386/gthr-win32.h ;;
15180 esac
15186 ac_ext=cpp
15187 ac_cpp='$CXXCPP $CPPFLAGS'
15188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15192 old_CXXFLAGS="$CXXFLAGS"
15194 # Do link tests if possible, instead asm tests, limited to some platforms
15195 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15196 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15197 atomic_builtins_link_tests=no
15198 if test x$gcc_no_link != xyes; then
15199 # Can do link tests. Limit to some tested platforms
15200 case "$host" in
15201 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15202 atomic_builtins_link_tests=yes
15204 esac
15207 if test x$atomic_builtins_link_tests = xyes; then
15209 # Do link tests.
15211 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15214 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15215 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15216 $as_echo_n "(cached) " >&6
15217 else
15219 if test x$gcc_no_link = xyes; then
15220 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15223 /* end confdefs.h. */
15226 main ()
15228 typedef bool atomic_type;
15229 atomic_type c1;
15230 atomic_type c2;
15231 atomic_type c3(0);
15232 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15233 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15234 __ATOMIC_RELAXED);
15235 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15236 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15239 return 0;
15241 _ACEOF
15242 if ac_fn_cxx_try_link "$LINENO"; then :
15243 glibcxx_cv_atomic_bool=yes
15244 else
15245 glibcxx_cv_atomic_bool=no
15247 rm -f core conftest.err conftest.$ac_objext \
15248 conftest$ac_exeext conftest.$ac_ext
15252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15253 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15256 $as_echo_n "checking for atomic builtins for short... " >&6; }
15257 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15258 $as_echo_n "(cached) " >&6
15259 else
15261 if test x$gcc_no_link = xyes; then
15262 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15265 /* end confdefs.h. */
15268 main ()
15270 typedef short atomic_type;
15271 atomic_type c1;
15272 atomic_type c2;
15273 atomic_type c3(0);
15274 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15275 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15276 __ATOMIC_RELAXED);
15277 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15278 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15281 return 0;
15283 _ACEOF
15284 if ac_fn_cxx_try_link "$LINENO"; then :
15285 glibcxx_cv_atomic_short=yes
15286 else
15287 glibcxx_cv_atomic_short=no
15289 rm -f core conftest.err conftest.$ac_objext \
15290 conftest$ac_exeext conftest.$ac_ext
15294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15295 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15298 $as_echo_n "checking for atomic builtins for int... " >&6; }
15299 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15300 $as_echo_n "(cached) " >&6
15301 else
15303 if test x$gcc_no_link = xyes; then
15304 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15307 /* end confdefs.h. */
15310 main ()
15312 typedef int atomic_type;
15313 atomic_type c1;
15314 atomic_type c2;
15315 atomic_type c3(0);
15316 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15317 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15318 __ATOMIC_RELAXED);
15319 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15320 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15323 return 0;
15325 _ACEOF
15326 if ac_fn_cxx_try_link "$LINENO"; then :
15327 glibcxx_cv_atomic_int=yes
15328 else
15329 glibcxx_cv_atomic_int=no
15331 rm -f core conftest.err conftest.$ac_objext \
15332 conftest$ac_exeext conftest.$ac_ext
15336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15337 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15340 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15341 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15342 $as_echo_n "(cached) " >&6
15343 else
15345 if test x$gcc_no_link = xyes; then
15346 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15349 /* end confdefs.h. */
15352 main ()
15354 typedef long long atomic_type;
15355 atomic_type c1;
15356 atomic_type c2;
15357 atomic_type c3(0);
15358 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15359 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15360 __ATOMIC_RELAXED);
15361 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15362 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15365 return 0;
15367 _ACEOF
15368 if ac_fn_cxx_try_link "$LINENO"; then :
15369 glibcxx_cv_atomic_long_long=yes
15370 else
15371 glibcxx_cv_atomic_long_long=no
15373 rm -f core conftest.err conftest.$ac_objext \
15374 conftest$ac_exeext conftest.$ac_ext
15378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15379 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15381 else
15383 # Do asm tests.
15385 # Compile unoptimized.
15386 CXXFLAGS='-O0 -S'
15388 # Fake what AC_TRY_COMPILE does.
15390 cat > conftest.$ac_ext << EOF
15391 #line 15391 "configure"
15392 int main()
15394 typedef bool atomic_type;
15395 atomic_type c1;
15396 atomic_type c2;
15397 atomic_type c3(0);
15398 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15399 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15400 __ATOMIC_RELAXED);
15401 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15402 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15404 return 0;
15408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15409 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15410 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15411 (eval $ac_compile) 2>&5
15412 ac_status=$?
15413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15414 test $ac_status = 0; }; then
15415 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15416 glibcxx_cv_atomic_bool=no
15417 else
15418 glibcxx_cv_atomic_bool=yes
15421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15422 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15423 rm -f conftest*
15425 cat > conftest.$ac_ext << EOF
15426 #line 15426 "configure"
15427 int main()
15429 typedef short atomic_type;
15430 atomic_type c1;
15431 atomic_type c2;
15432 atomic_type c3(0);
15433 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15434 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15435 __ATOMIC_RELAXED);
15436 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15437 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15439 return 0;
15443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15444 $as_echo_n "checking for atomic builtins for short... " >&6; }
15445 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15446 (eval $ac_compile) 2>&5
15447 ac_status=$?
15448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15449 test $ac_status = 0; }; then
15450 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15451 glibcxx_cv_atomic_short=no
15452 else
15453 glibcxx_cv_atomic_short=yes
15456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15457 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15458 rm -f conftest*
15460 cat > conftest.$ac_ext << EOF
15461 #line 15461 "configure"
15462 int main()
15464 // NB: _Atomic_word not necessarily int.
15465 typedef int atomic_type;
15466 atomic_type c1;
15467 atomic_type c2;
15468 atomic_type c3(0);
15469 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15470 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15471 __ATOMIC_RELAXED);
15472 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15473 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15475 return 0;
15479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15480 $as_echo_n "checking for atomic builtins for int... " >&6; }
15481 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15482 (eval $ac_compile) 2>&5
15483 ac_status=$?
15484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15485 test $ac_status = 0; }; then
15486 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15487 glibcxx_cv_atomic_int=no
15488 else
15489 glibcxx_cv_atomic_int=yes
15492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15493 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15494 rm -f conftest*
15496 cat > conftest.$ac_ext << EOF
15497 #line 15497 "configure"
15498 int main()
15500 typedef long long atomic_type;
15501 atomic_type c1;
15502 atomic_type c2;
15503 atomic_type c3(0);
15504 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15505 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15506 __ATOMIC_RELAXED);
15507 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15508 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15510 return 0;
15514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15515 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15516 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15517 (eval $ac_compile) 2>&5
15518 ac_status=$?
15519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15520 test $ac_status = 0; }; then
15521 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15522 glibcxx_cv_atomic_long_long=no
15523 else
15524 glibcxx_cv_atomic_long_long=yes
15527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15528 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15529 rm -f conftest*
15533 CXXFLAGS="$old_CXXFLAGS"
15534 ac_ext=c
15535 ac_cpp='$CPP $CPPFLAGS'
15536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15541 # Set atomicity_dir to builtins if all but the long long test above passes.
15542 if test "$glibcxx_cv_atomic_bool" = yes \
15543 && test "$glibcxx_cv_atomic_short" = yes \
15544 && test "$glibcxx_cv_atomic_int" = yes; then
15546 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15548 atomicity_dir=cpu/generic/atomicity_builtins
15551 # If still generic, set to mutex.
15552 if test $atomicity_dir = "cpu/generic" ; then
15553 atomicity_dir=cpu/generic/atomicity_mutex
15554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15555 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15556 if test "x$target_thread_file" = xsingle; then
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15558 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15560 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15561 else
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15563 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15565 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15572 # Fake what AC_TRY_COMPILE does, without linking as this is
15573 # unnecessary for this test.
15575 cat > conftest.$ac_ext << EOF
15576 #line 15576 "configure"
15577 int main()
15579 _Decimal32 d1;
15580 _Decimal64 d2;
15581 _Decimal128 d3;
15582 return 0;
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15587 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15588 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15589 (eval $ac_compile) 2>&5
15590 ac_status=$?
15591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15592 test $ac_status = 0; }; then
15594 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15596 enable_dfp=yes
15597 else
15598 enable_dfp=no
15600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15601 $as_echo "$enable_dfp" >&6; }
15602 rm -f conftest*
15607 ac_ext=cpp
15608 ac_cpp='$CXXCPP $CPPFLAGS'
15609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15614 # Fake what AC_TRY_COMPILE does, without linking as this is
15615 # unnecessary for this test.
15617 cat > conftest.$ac_ext << EOF
15618 #line 15618 "configure"
15619 template<typename T1, typename T2>
15620 struct same
15621 { typedef T2 type; };
15623 template<typename T>
15624 struct same<T, T>;
15626 int main()
15628 typename same<long, __int128>::type i1;
15629 typename same<long long, __int128>::type i2;
15633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15634 $as_echo_n "checking for __int128... " >&6; }
15635 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15636 (eval $ac_compile) 2>&5
15637 ac_status=$?
15638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15639 test $ac_status = 0; }; then
15641 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15643 enable_int128=yes
15644 else
15645 enable_int128=no
15647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15648 $as_echo "$enable_int128" >&6; }
15649 rm -f conftest*
15651 cat > conftest.$ac_ext << EOF
15652 #line 15652 "configure"
15653 template<typename T1, typename T2>
15654 struct same
15655 { typedef T2 type; };
15657 template<typename T>
15658 struct same<T, T>;
15660 int main()
15662 typename same<double, __float128>::type f1;
15663 typename same<long double, __float128>::type f2;
15667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15668 $as_echo_n "checking for __float128... " >&6; }
15669 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15670 (eval $ac_compile) 2>&5
15671 ac_status=$?
15672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15673 test $ac_status = 0; }; then
15675 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15677 enable_float128=yes
15678 else
15679 enable_float128=no
15681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15682 $as_echo "$enable_float128" >&6; }
15683 rm -f conftest*
15685 ac_ext=c
15686 ac_cpp='$CPP $CPPFLAGS'
15687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15692 if test "$enable_float128" = yes; then
15693 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15696 # Checks for compiler support that doesn't require linking.
15698 # All these tests are for C++; save the language and the compiler flags.
15699 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15700 # found in GLIBCXX_CONFIGURE.
15702 ac_ext=cpp
15703 ac_cpp='$CXXCPP $CPPFLAGS'
15704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15708 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15709 ac_save_CXXFLAGS="$CXXFLAGS"
15711 # Check for maintainer-mode bits.
15712 if test x"$USE_MAINTAINER_MODE" = xno; then
15713 WERROR=''
15714 else
15715 WERROR='-Werror'
15718 # Check for -ffunction-sections -fdata-sections
15719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15720 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15721 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15723 /* end confdefs.h. */
15724 int foo; void bar() { };
15726 main ()
15730 return 0;
15732 _ACEOF
15733 if ac_fn_cxx_try_compile "$LINENO"; then :
15734 ac_fdsections=yes
15735 else
15736 ac_fdsections=no
15738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15739 if test "$ac_test_CXXFLAGS" = set; then
15740 CXXFLAGS="$ac_save_CXXFLAGS"
15741 else
15742 # this is the suspicious part
15743 CXXFLAGS=''
15745 if test x"$ac_fdsections" = x"yes"; then
15746 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15749 $as_echo "$ac_fdsections" >&6; }
15751 ac_ext=c
15752 ac_cpp='$CPP $CPPFLAGS'
15753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15761 # Enable all the variable C++ runtime options that don't require linking.
15763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15764 $as_echo_n "checking for underlying I/O to use... " >&6; }
15765 # Check whether --enable-cstdio was given.
15766 if test "${enable_cstdio+set}" = set; then :
15767 enableval=$enable_cstdio;
15768 case "$enableval" in
15769 stdio) ;;
15770 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15771 esac
15773 else
15774 enable_cstdio=stdio
15779 # Now that libio has been removed, you can have any color you want as long
15780 # as it's black. This is one big no-op until other packages are added, but
15781 # showing the framework never hurts.
15782 case ${enable_cstdio} in
15783 stdio)
15784 CSTDIO_H=config/io/c_io_stdio.h
15785 BASIC_FILE_H=config/io/basic_file_stdio.h
15786 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15788 $as_echo "stdio" >&6; }
15790 esac
15797 # Check whether --enable-clocale was given.
15798 if test "${enable_clocale+set}" = set; then :
15799 enableval=$enable_clocale;
15800 case "$enableval" in
15801 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15802 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15803 esac
15805 else
15806 enable_clocale=auto
15811 # Deal with gettext issues. Default to not using it (=no) until we detect
15812 # support for it later. Let the user turn it off via --e/d, but let that
15813 # default to on for easier handling.
15814 USE_NLS=no
15815 # Check whether --enable-nls was given.
15816 if test "${enable_nls+set}" = set; then :
15817 enableval=$enable_nls;
15818 else
15819 enable_nls=yes
15823 # Either a known package, or "auto"
15824 if test $enable_clocale = no || test $enable_clocale = yes; then
15825 enable_clocale=auto
15827 enable_clocale_flag=$enable_clocale
15829 # Probe for locale model to use if none specified.
15830 # Default to "generic".
15831 if test $enable_clocale_flag = auto; then
15832 case ${target_os} in
15833 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15834 enable_clocale_flag=gnu
15836 darwin*)
15837 enable_clocale_flag=darwin
15839 dragonfly* | freebsd*)
15840 enable_clocale_flag=dragonfly
15842 openbsd*)
15843 enable_clocale_flag=newlib
15846 if test x"$with_newlib" = x"yes"; then
15847 enable_clocale_flag=newlib
15848 else
15849 enable_clocale_flag=generic
15852 esac
15855 # Sanity check model, and test for special functionality.
15856 if test $enable_clocale_flag = gnu; then
15857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15858 /* end confdefs.h. */
15860 #include <features.h>
15861 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15862 _GLIBCXX_ok
15863 #endif
15865 _ACEOF
15866 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15867 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15868 enable_clocale_flag=gnu
15869 else
15870 enable_clocale_flag=generic
15872 rm -f conftest*
15875 # Set it to scream when it hurts.
15876 ac_save_CFLAGS="$CFLAGS"
15877 CFLAGS="-Wimplicit-function-declaration -Werror"
15879 # Use strxfrm_l if available.
15880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15881 /* end confdefs.h. */
15882 #define _GNU_SOURCE 1
15883 #include <string.h>
15884 #include <locale.h>
15886 main ()
15888 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15890 return 0;
15892 _ACEOF
15893 if ac_fn_c_try_compile "$LINENO"; then :
15895 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15900 # Use strerror_l if available.
15901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15902 /* end confdefs.h. */
15903 #define _GNU_SOURCE 1
15904 #include <string.h>
15905 #include <locale.h>
15907 main ()
15909 __locale_t loc; strerror_l(5, loc);
15911 return 0;
15913 _ACEOF
15914 if ac_fn_c_try_compile "$LINENO"; then :
15916 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15921 CFLAGS="$ac_save_CFLAGS"
15924 # Perhaps use strerror_r if available, and strerror_l isn't.
15925 ac_save_CFLAGS="$CFLAGS"
15926 CFLAGS="-Wimplicit-function-declaration -Werror"
15927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15928 /* end confdefs.h. */
15929 #define _GNU_SOURCE 1
15930 #include <string.h>
15931 #include <locale.h>
15933 main ()
15935 char s[128]; strerror_r(5, s, 128);
15937 return 0;
15939 _ACEOF
15940 if ac_fn_c_try_compile "$LINENO"; then :
15942 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15946 CFLAGS="$ac_save_CFLAGS"
15948 # Set configure bits for specified locale package
15949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15950 $as_echo_n "checking for C locale to use... " >&6; }
15951 case ${enable_clocale_flag} in
15952 generic)
15953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15954 $as_echo "generic" >&6; }
15956 CLOCALE_H=config/locale/generic/c_locale.h
15957 CLOCALE_CC=config/locale/generic/c_locale.cc
15958 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15959 CCOLLATE_CC=config/locale/generic/collate_members.cc
15960 CCTYPE_CC=config/locale/generic/ctype_members.cc
15961 CMESSAGES_H=config/locale/generic/messages_members.h
15962 CMESSAGES_CC=config/locale/generic/messages_members.cc
15963 CMONEY_CC=config/locale/generic/monetary_members.cc
15964 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15965 CTIME_H=config/locale/generic/time_members.h
15966 CTIME_CC=config/locale/generic/time_members.cc
15967 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15969 darwin)
15970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
15971 $as_echo "darwin" >&6; }
15973 CLOCALE_H=config/locale/generic/c_locale.h
15974 CLOCALE_CC=config/locale/generic/c_locale.cc
15975 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15976 CCOLLATE_CC=config/locale/generic/collate_members.cc
15977 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15978 CMESSAGES_H=config/locale/generic/messages_members.h
15979 CMESSAGES_CC=config/locale/generic/messages_members.cc
15980 CMONEY_CC=config/locale/generic/monetary_members.cc
15981 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15982 CTIME_H=config/locale/generic/time_members.h
15983 CTIME_CC=config/locale/generic/time_members.cc
15984 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15987 dragonfly)
15988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
15989 $as_echo "dragonfly or freebsd" >&6; }
15991 CLOCALE_H=config/locale/dragonfly/c_locale.h
15992 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
15993 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
15994 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
15995 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
15996 CMESSAGES_H=config/locale/generic/messages_members.h
15997 CMESSAGES_CC=config/locale/generic/messages_members.cc
15998 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
15999 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16000 CTIME_H=config/locale/dragonfly/time_members.h
16001 CTIME_CC=config/locale/dragonfly/time_members.cc
16002 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16005 gnu)
16006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16007 $as_echo "gnu" >&6; }
16009 # Declare intention to use gettext, and add support for specific
16010 # languages.
16011 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16012 ALL_LINGUAS="de fr"
16014 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16015 # Extract the first word of "msgfmt", so it can be a program name with args.
16016 set dummy msgfmt; ac_word=$2
16017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16018 $as_echo_n "checking for $ac_word... " >&6; }
16019 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16020 $as_echo_n "(cached) " >&6
16021 else
16022 if test -n "$check_msgfmt"; then
16023 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16024 else
16025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16026 for as_dir in $PATH
16028 IFS=$as_save_IFS
16029 test -z "$as_dir" && as_dir=.
16030 for ac_exec_ext in '' $ac_executable_extensions; do
16031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16032 ac_cv_prog_check_msgfmt="yes"
16033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16034 break 2
16036 done
16037 done
16038 IFS=$as_save_IFS
16040 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16043 check_msgfmt=$ac_cv_prog_check_msgfmt
16044 if test -n "$check_msgfmt"; then
16045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16046 $as_echo "$check_msgfmt" >&6; }
16047 else
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16049 $as_echo "no" >&6; }
16053 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16054 USE_NLS=yes
16056 # Export the build objects.
16057 for ling in $ALL_LINGUAS; do \
16058 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16059 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16060 done
16064 CLOCALE_H=config/locale/gnu/c_locale.h
16065 CLOCALE_CC=config/locale/gnu/c_locale.cc
16066 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16067 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16068 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16069 CMESSAGES_H=config/locale/gnu/messages_members.h
16070 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16071 CMONEY_CC=config/locale/gnu/monetary_members.cc
16072 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16073 CTIME_H=config/locale/gnu/time_members.h
16074 CTIME_CC=config/locale/gnu/time_members.cc
16075 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16077 ieee_1003.1-2001)
16078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16079 $as_echo "IEEE 1003.1" >&6; }
16081 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16082 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16083 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16084 CCOLLATE_CC=config/locale/generic/collate_members.cc
16085 CCTYPE_CC=config/locale/generic/ctype_members.cc
16086 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16087 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16088 CMONEY_CC=config/locale/generic/monetary_members.cc
16089 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16090 CTIME_H=config/locale/generic/time_members.h
16091 CTIME_CC=config/locale/generic/time_members.cc
16092 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16094 newlib)
16095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16096 $as_echo "newlib" >&6; }
16098 CLOCALE_H=config/locale/generic/c_locale.h
16099 CLOCALE_CC=config/locale/generic/c_locale.cc
16100 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16101 CCOLLATE_CC=config/locale/generic/collate_members.cc
16102 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16103 CMESSAGES_H=config/locale/generic/messages_members.h
16104 CMESSAGES_CC=config/locale/generic/messages_members.cc
16105 CMONEY_CC=config/locale/generic/monetary_members.cc
16106 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16107 CTIME_H=config/locale/generic/time_members.h
16108 CTIME_CC=config/locale/generic/time_members.cc
16109 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16111 esac
16113 # This is where the testsuite looks for locale catalogs, using the
16114 # -DLOCALEDIR define during testsuite compilation.
16115 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16118 # A standalone libintl (e.g., GNU libintl) may be in use.
16119 if test $USE_NLS = yes; then
16120 for ac_header in libintl.h
16121 do :
16122 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16123 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16124 cat >>confdefs.h <<_ACEOF
16125 #define HAVE_LIBINTL_H 1
16126 _ACEOF
16128 else
16129 USE_NLS=no
16132 done
16134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16135 $as_echo_n "checking for library containing gettext... " >&6; }
16136 if test "${ac_cv_search_gettext+set}" = set; then :
16137 $as_echo_n "(cached) " >&6
16138 else
16139 ac_func_search_save_LIBS=$LIBS
16140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16141 /* end confdefs.h. */
16143 /* Override any GCC internal prototype to avoid an error.
16144 Use char because int might match the return type of a GCC
16145 builtin and then its argument prototype would still apply. */
16146 #ifdef __cplusplus
16147 extern "C"
16148 #endif
16149 char gettext ();
16151 main ()
16153 return gettext ();
16155 return 0;
16157 _ACEOF
16158 for ac_lib in '' intl; do
16159 if test -z "$ac_lib"; then
16160 ac_res="none required"
16161 else
16162 ac_res=-l$ac_lib
16163 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16165 if test x$gcc_no_link = xyes; then
16166 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16168 if ac_fn_c_try_link "$LINENO"; then :
16169 ac_cv_search_gettext=$ac_res
16171 rm -f core conftest.err conftest.$ac_objext \
16172 conftest$ac_exeext
16173 if test "${ac_cv_search_gettext+set}" = set; then :
16174 break
16176 done
16177 if test "${ac_cv_search_gettext+set}" = set; then :
16179 else
16180 ac_cv_search_gettext=no
16182 rm conftest.$ac_ext
16183 LIBS=$ac_func_search_save_LIBS
16185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16186 $as_echo "$ac_cv_search_gettext" >&6; }
16187 ac_res=$ac_cv_search_gettext
16188 if test "$ac_res" != no; then :
16189 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16191 else
16192 USE_NLS=no
16196 if test $USE_NLS = yes; then
16198 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16218 $as_echo_n "checking for std::allocator base class... " >&6; }
16219 # Check whether --enable-libstdcxx-allocator was given.
16220 if test "${enable_libstdcxx_allocator+set}" = set; then :
16221 enableval=$enable_libstdcxx_allocator;
16222 case "$enableval" in
16223 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16224 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16225 esac
16227 else
16228 enable_libstdcxx_allocator=auto
16233 # If they didn't use this option switch, or if they specified --enable
16234 # with no specific model, we'll have to look for one. If they
16235 # specified --disable (???), do likewise.
16236 if test $enable_libstdcxx_allocator = no ||
16237 test $enable_libstdcxx_allocator = yes;
16238 then
16239 enable_libstdcxx_allocator=auto
16242 # Either a known package, or "auto". Auto implies the default choice
16243 # for a particular platform.
16244 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16246 # Probe for host-specific support if no specific model is specified.
16247 # Default to "new".
16248 if test $enable_libstdcxx_allocator_flag = auto; then
16249 case ${target_os} in
16250 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16251 enable_libstdcxx_allocator_flag=new
16254 enable_libstdcxx_allocator_flag=new
16256 esac
16258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16259 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16262 # Set configure bits for specified locale package
16263 case ${enable_libstdcxx_allocator_flag} in
16264 bitmap)
16265 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16266 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16268 malloc)
16269 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16270 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16273 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16274 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16276 new)
16277 ALLOCATOR_H=config/allocator/new_allocator_base.h
16278 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16280 pool)
16281 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16282 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16284 esac
16291 # Check whether --enable-cheaders was given.
16292 if test "${enable_cheaders+set}" = set; then :
16293 enableval=$enable_cheaders;
16294 case "$enableval" in
16295 c|c_std|c_global) ;;
16296 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16297 esac
16299 else
16300 enable_cheaders=$c_model
16304 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16305 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16307 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16309 # Allow overrides to configure.host here.
16310 if test $enable_cheaders = c_global; then
16311 c_compatibility=yes
16320 # Check whether --enable-long-long was given.
16321 if test "${enable_long_long+set}" = set; then :
16322 enableval=$enable_long_long;
16323 case "$enableval" in
16324 yes|no) ;;
16325 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16326 esac
16328 else
16329 enable_long_long=yes
16333 if test $enable_long_long = yes; then
16335 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16339 $as_echo_n "checking for enabled long long specializations... " >&6; }
16340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16341 $as_echo "$enable_long_long" >&6; }
16344 # Check whether --enable-wchar_t was given.
16345 if test "${enable_wchar_t+set}" = set; then :
16346 enableval=$enable_wchar_t;
16347 case "$enableval" in
16348 yes|no) ;;
16349 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16350 esac
16352 else
16353 enable_wchar_t=yes
16358 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16359 for ac_header in wchar.h
16360 do :
16361 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16362 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16363 cat >>confdefs.h <<_ACEOF
16364 #define HAVE_WCHAR_H 1
16365 _ACEOF
16366 ac_has_wchar_h=yes
16367 else
16368 ac_has_wchar_h=no
16371 done
16373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16374 $as_echo_n "checking for mbstate_t... " >&6; }
16375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16376 /* end confdefs.h. */
16377 #include <wchar.h>
16379 main ()
16381 mbstate_t teststate;
16383 return 0;
16385 _ACEOF
16386 if ac_fn_c_try_compile "$LINENO"; then :
16387 have_mbstate_t=yes
16388 else
16389 have_mbstate_t=no
16391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16393 $as_echo "$have_mbstate_t" >&6; }
16394 if test x"$have_mbstate_t" = xyes; then
16396 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16400 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16401 # ac_has_wchar_h.
16402 for ac_header in wctype.h
16403 do :
16404 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16405 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16406 cat >>confdefs.h <<_ACEOF
16407 #define HAVE_WCTYPE_H 1
16408 _ACEOF
16409 ac_has_wctype_h=yes
16410 else
16411 ac_has_wctype_h=no
16414 done
16417 if test x"$enable_wchar_t" = x"yes"; then
16420 ac_ext=cpp
16421 ac_cpp='$CXXCPP $CPPFLAGS'
16422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16427 if test x"$ac_has_wchar_h" = xyes &&
16428 test x"$ac_has_wctype_h" = xyes; then
16429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16430 /* end confdefs.h. */
16431 #include <wchar.h>
16432 #include <stddef.h>
16433 wint_t i;
16434 long l = WEOF;
16435 long j = WCHAR_MIN;
16436 long k = WCHAR_MAX;
16437 namespace test
16439 using ::btowc;
16440 using ::fgetwc;
16441 using ::fgetws;
16442 using ::fputwc;
16443 using ::fputws;
16444 using ::fwide;
16445 using ::fwprintf;
16446 using ::fwscanf;
16447 using ::getwc;
16448 using ::getwchar;
16449 using ::mbrlen;
16450 using ::mbrtowc;
16451 using ::mbsinit;
16452 using ::mbsrtowcs;
16453 using ::putwc;
16454 using ::putwchar;
16455 using ::swprintf;
16456 using ::swscanf;
16457 using ::ungetwc;
16458 using ::vfwprintf;
16459 using ::vswprintf;
16460 using ::vwprintf;
16461 using ::wcrtomb;
16462 using ::wcscat;
16463 using ::wcschr;
16464 using ::wcscmp;
16465 using ::wcscoll;
16466 using ::wcscpy;
16467 using ::wcscspn;
16468 using ::wcsftime;
16469 using ::wcslen;
16470 using ::wcsncat;
16471 using ::wcsncmp;
16472 using ::wcsncpy;
16473 using ::wcspbrk;
16474 using ::wcsrchr;
16475 using ::wcsrtombs;
16476 using ::wcsspn;
16477 using ::wcsstr;
16478 using ::wcstod;
16479 using ::wcstok;
16480 using ::wcstol;
16481 using ::wcstoul;
16482 using ::wcsxfrm;
16483 using ::wctob;
16484 using ::wmemchr;
16485 using ::wmemcmp;
16486 using ::wmemcpy;
16487 using ::wmemmove;
16488 using ::wmemset;
16489 using ::wprintf;
16490 using ::wscanf;
16494 main ()
16498 return 0;
16500 _ACEOF
16501 if ac_fn_cxx_try_compile "$LINENO"; then :
16503 else
16504 enable_wchar_t=no
16506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16507 else
16508 enable_wchar_t=no
16511 ac_ext=c
16512 ac_cpp='$CPP $CPPFLAGS'
16513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16519 if test x"$enable_wchar_t" = x"yes"; then
16521 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16526 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16528 $as_echo "$enable_wchar_t" >&6; }
16532 # Check whether --enable-c99 was given.
16533 if test "${enable_c99+set}" = set; then :
16534 enableval=$enable_c99;
16535 case "$enableval" in
16536 yes|no) ;;
16537 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16538 esac
16540 else
16541 enable_c99=yes
16546 if test x"$enable_c99" = x"yes"; then
16548 ac_ext=cpp
16549 ac_cpp='$CXXCPP $CPPFLAGS'
16550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16555 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
16556 # undefined may cause fake C99 facilities, like pre-standard snprintf,
16557 # to be spuriously enabled.
16558 ac_save_CXXFLAGS="$CXXFLAGS"
16559 CXXFLAGS="$CXXFLAGS -std=c++98"
16560 ac_save_LIBS="$LIBS"
16561 ac_save_gcc_no_link="$gcc_no_link"
16563 if test x$gcc_no_link != xyes; then
16564 # Use -fno-exceptions to that the C driver can link these tests without
16565 # hitting undefined references to personality routines.
16566 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16568 $as_echo_n "checking for sin in -lm... " >&6; }
16569 if test "${ac_cv_lib_m_sin+set}" = set; then :
16570 $as_echo_n "(cached) " >&6
16571 else
16572 ac_check_lib_save_LIBS=$LIBS
16573 LIBS="-lm $LIBS"
16574 if test x$gcc_no_link = xyes; then
16575 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16578 /* end confdefs.h. */
16580 /* Override any GCC internal prototype to avoid an error.
16581 Use char because int might match the return type of a GCC
16582 builtin and then its argument prototype would still apply. */
16583 #ifdef __cplusplus
16584 extern "C"
16585 #endif
16586 char sin ();
16588 main ()
16590 return sin ();
16592 return 0;
16594 _ACEOF
16595 if ac_fn_cxx_try_link "$LINENO"; then :
16596 ac_cv_lib_m_sin=yes
16597 else
16598 ac_cv_lib_m_sin=no
16600 rm -f core conftest.err conftest.$ac_objext \
16601 conftest$ac_exeext conftest.$ac_ext
16602 LIBS=$ac_check_lib_save_LIBS
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16605 $as_echo "$ac_cv_lib_m_sin" >&6; }
16606 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16607 LIBS="$LIBS -lm"
16608 else
16610 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16611 gcc_no_link=yes
16617 # Check for the existence of <math.h> functions used if C99 is enabled.
16618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
16619 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
16620 if test "${glibcxx_cv_c99_math_cxx98+set}" = set; then :
16621 $as_echo_n "(cached) " >&6
16622 else
16624 if test x$gcc_no_link = xyes; then
16625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16626 /* end confdefs.h. */
16627 #include <math.h>
16628 volatile double d1, d2;
16629 volatile int i;
16631 main ()
16633 i = fpclassify(d1);
16634 i = isfinite(d1);
16635 i = isinf(d1);
16636 i = isnan(d1);
16637 i = isnormal(d1);
16638 i = signbit(d1);
16639 i = isgreater(d1, d2);
16640 i = isgreaterequal(d1, d2);
16641 i = isless(d1, d2);
16642 i = islessequal(d1, d2);
16643 i = islessgreater(d1, d2);
16644 i = islessgreater(d1, d2);
16645 i = isunordered(d1, d2);
16648 return 0;
16650 _ACEOF
16651 if ac_fn_cxx_try_compile "$LINENO"; then :
16652 glibcxx_cv_c99_math_cxx98=yes
16653 else
16654 glibcxx_cv_c99_math_cxx98=no
16656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16657 else
16658 if test x$gcc_no_link = xyes; then
16659 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16662 /* end confdefs.h. */
16663 #include <math.h>
16664 volatile double d1, d2;
16665 volatile int i;
16667 main ()
16669 i = fpclassify(d1);
16670 i = isfinite(d1);
16671 i = isinf(d1);
16672 i = isnan(d1);
16673 i = isnormal(d1);
16674 i = signbit(d1);
16675 i = isgreater(d1, d2);
16676 i = isgreaterequal(d1, d2);
16677 i = isless(d1, d2);
16678 i = islessequal(d1, d2);
16679 i = islessgreater(d1, d2);
16680 i = islessgreater(d1, d2);
16681 i = isunordered(d1, d2);
16684 return 0;
16686 _ACEOF
16687 if ac_fn_cxx_try_link "$LINENO"; then :
16688 glibcxx_cv_c99_math_cxx98=yes
16689 else
16690 glibcxx_cv_c99_math_cxx98=no
16692 rm -f core conftest.err conftest.$ac_objext \
16693 conftest$ac_exeext conftest.$ac_ext
16698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
16699 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
16700 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
16702 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
16706 # Check for the existence of <complex.h> complex math functions.
16707 # This is necessary even though libstdc++ uses the builtin versions
16708 # of these functions, because if the builtin cannot be used, a reference
16709 # to the library function is emitted.
16710 for ac_header in tgmath.h
16711 do :
16712 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16713 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16714 cat >>confdefs.h <<_ACEOF
16715 #define HAVE_TGMATH_H 1
16716 _ACEOF
16717 ac_has_tgmath_h=yes
16718 else
16719 ac_has_tgmath_h=no
16722 done
16724 for ac_header in complex.h
16725 do :
16726 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16727 if test "x$ac_cv_header_complex_h" = x""yes; then :
16728 cat >>confdefs.h <<_ACEOF
16729 #define HAVE_COMPLEX_H 1
16730 _ACEOF
16731 ac_has_complex_h=yes
16732 else
16733 ac_has_complex_h=no
16736 done
16738 if test x"$ac_has_complex_h" = x"yes"; then
16739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
16740 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
16741 if test "${glibcxx_cv_c99_complex_cxx98+set}" = set; then :
16742 $as_echo_n "(cached) " >&6
16743 else
16745 if test x$gcc_no_link = xyes; then
16746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16747 /* end confdefs.h. */
16748 #include <complex.h>
16749 typedef __complex__ float float_type;
16750 typedef __complex__ double double_type;
16751 typedef __complex__ long double ld_type;
16752 volatile float_type tmpf;
16753 volatile double_type tmpd;
16754 volatile ld_type tmpld;
16755 volatile float f;
16756 volatile double d;
16757 volatile long double ld;
16759 main ()
16761 f = cabsf(tmpf);
16762 f = cargf(tmpf);
16763 tmpf = ccosf(tmpf);
16764 tmpf = ccoshf(tmpf);
16765 tmpf = cexpf(tmpf);
16766 tmpf = clogf(tmpf);
16767 tmpf = csinf(tmpf);
16768 tmpf = csinhf(tmpf);
16769 tmpf = csqrtf(tmpf);
16770 tmpf = ctanf(tmpf);
16771 tmpf = ctanhf(tmpf);
16772 tmpf = cpowf(tmpf, tmpf);
16773 tmpf = cprojf(tmpf);
16774 d = cabs(tmpd);
16775 d = carg(tmpd);
16776 tmpd = ccos(tmpd);
16777 tmpd = ccosh(tmpd);
16778 tmpd = cexp(tmpd);
16779 tmpd = clog(tmpd);
16780 tmpd = csin(tmpd);
16781 tmpd = csinh(tmpd);
16782 tmpd = csqrt(tmpd);
16783 tmpd = ctan(tmpd);
16784 tmpd = ctanh(tmpd);
16785 tmpd = cpow(tmpd, tmpd);
16786 tmpd = cproj(tmpd);
16787 ld = cabsl(tmpld);
16788 ld = cargl(tmpld);
16789 tmpld = ccosl(tmpld);
16790 tmpld = ccoshl(tmpld);
16791 tmpld = cexpl(tmpld);
16792 tmpld = clogl(tmpld);
16793 tmpld = csinl(tmpld);
16794 tmpld = csinhl(tmpld);
16795 tmpld = csqrtl(tmpld);
16796 tmpld = ctanl(tmpld);
16797 tmpld = ctanhl(tmpld);
16798 tmpld = cpowl(tmpld, tmpld);
16799 tmpld = cprojl(tmpld);
16802 return 0;
16804 _ACEOF
16805 if ac_fn_cxx_try_compile "$LINENO"; then :
16806 glibcxx_cv_c99_complex_cxx98=yes
16807 else
16808 glibcxx_cv_c99_complex_cxx98=no
16810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16811 else
16812 if test x$gcc_no_link = xyes; then
16813 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16816 /* end confdefs.h. */
16817 #include <complex.h>
16818 typedef __complex__ float float_type;
16819 typedef __complex__ double double_type;
16820 typedef __complex__ long double ld_type;
16821 volatile float_type tmpf;
16822 volatile double_type tmpd;
16823 volatile ld_type tmpld;
16824 volatile float f;
16825 volatile double d;
16826 volatile long double ld;
16828 main ()
16830 f = cabsf(tmpf);
16831 f = cargf(tmpf);
16832 tmpf = ccosf(tmpf);
16833 tmpf = ccoshf(tmpf);
16834 tmpf = cexpf(tmpf);
16835 tmpf = clogf(tmpf);
16836 tmpf = csinf(tmpf);
16837 tmpf = csinhf(tmpf);
16838 tmpf = csqrtf(tmpf);
16839 tmpf = ctanf(tmpf);
16840 tmpf = ctanhf(tmpf);
16841 tmpf = cpowf(tmpf, tmpf);
16842 tmpf = cprojf(tmpf);
16843 d = cabs(tmpd);
16844 d = carg(tmpd);
16845 tmpd = ccos(tmpd);
16846 tmpd = ccosh(tmpd);
16847 tmpd = cexp(tmpd);
16848 tmpd = clog(tmpd);
16849 tmpd = csin(tmpd);
16850 tmpd = csinh(tmpd);
16851 tmpd = csqrt(tmpd);
16852 tmpd = ctan(tmpd);
16853 tmpd = ctanh(tmpd);
16854 tmpd = cpow(tmpd, tmpd);
16855 tmpd = cproj(tmpd);
16856 ld = cabsl(tmpld);
16857 ld = cargl(tmpld);
16858 tmpld = ccosl(tmpld);
16859 tmpld = ccoshl(tmpld);
16860 tmpld = cexpl(tmpld);
16861 tmpld = clogl(tmpld);
16862 tmpld = csinl(tmpld);
16863 tmpld = csinhl(tmpld);
16864 tmpld = csqrtl(tmpld);
16865 tmpld = ctanl(tmpld);
16866 tmpld = ctanhl(tmpld);
16867 tmpld = cpowl(tmpld, tmpld);
16868 tmpld = cprojl(tmpld);
16871 return 0;
16873 _ACEOF
16874 if ac_fn_cxx_try_link "$LINENO"; then :
16875 glibcxx_cv_c99_complex_cxx98=yes
16876 else
16877 glibcxx_cv_c99_complex_cxx98=no
16879 rm -f core conftest.err conftest.$ac_objext \
16880 conftest$ac_exeext conftest.$ac_ext
16886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
16887 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
16888 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
16890 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
16894 # Check for the existence in <stdio.h> of vscanf, et. al.
16895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
16896 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
16897 if test "${glibcxx_cv_c99_stdio_cxx98+set}" = set; then :
16898 $as_echo_n "(cached) " >&6
16899 else
16901 if test x$gcc_no_link = xyes; then
16902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16903 /* end confdefs.h. */
16904 #include <stdio.h>
16905 #include <stdarg.h>
16906 void foo(char* fmt, ...)
16908 va_list args; va_start(args, fmt);
16909 vfscanf(stderr, "%i", args);
16910 vscanf("%i", args);
16911 vsnprintf(fmt, 0, "%i", args);
16912 vsscanf(fmt, "%i", args);
16913 snprintf(fmt, 0, "%i");
16916 main ()
16920 return 0;
16922 _ACEOF
16923 if ac_fn_cxx_try_compile "$LINENO"; then :
16924 glibcxx_cv_c99_stdio_cxx98=yes
16925 else
16926 glibcxx_cv_c99_stdio_cxx98=no
16928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16929 else
16930 if test x$gcc_no_link = xyes; then
16931 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16934 /* end confdefs.h. */
16935 #include <stdio.h>
16936 #include <stdarg.h>
16937 void foo(char* fmt, ...)
16939 va_list args; va_start(args, fmt);
16940 vfscanf(stderr, "%i", args);
16941 vscanf("%i", args);
16942 vsnprintf(fmt, 0, "%i", args);
16943 vsscanf(fmt, "%i", args);
16944 snprintf(fmt, 0, "%i");
16947 main ()
16951 return 0;
16953 _ACEOF
16954 if ac_fn_cxx_try_link "$LINENO"; then :
16955 glibcxx_cv_c99_stdio_cxx98=yes
16956 else
16957 glibcxx_cv_c99_stdio_cxx98=no
16959 rm -f core conftest.err conftest.$ac_objext \
16960 conftest$ac_exeext conftest.$ac_ext
16965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
16966 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
16967 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
16969 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
16973 # Check for the existence in <wchar.h> of wcstold, etc.
16974 if test x"$ac_has_wchar_h" = xyes &&
16975 test x"$ac_has_wctype_h" = xyes; then
16976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
16977 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
16978 if test "${glibcxx_cv_c99_wchar_cxx98+set}" = set; then :
16979 $as_echo_n "(cached) " >&6
16980 else
16982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16983 /* end confdefs.h. */
16984 #include <wchar.h>
16985 namespace test
16987 using ::wcstold;
16988 using ::wcstoll;
16989 using ::wcstoull;
16993 main ()
16997 return 0;
16999 _ACEOF
17000 if ac_fn_cxx_try_compile "$LINENO"; then :
17001 glibcxx_cv_c99_wchar_cxx98=yes
17002 else
17003 glibcxx_cv_c99_wchar_cxx98=no
17005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17010 # Checks for wide character functions that may not be present.
17011 # Injection of these is wrapped with guard macros.
17012 # NB: only put functions here, instead of immediately above, if
17013 # absolutely necessary.
17014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17015 /* end confdefs.h. */
17016 #include <wchar.h>
17017 namespace test { using ::vfwscanf; }
17019 main ()
17023 return 0;
17025 _ACEOF
17026 if ac_fn_cxx_try_compile "$LINENO"; then :
17028 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17034 /* end confdefs.h. */
17035 #include <wchar.h>
17036 namespace test { using ::vswscanf; }
17038 main ()
17042 return 0;
17044 _ACEOF
17045 if ac_fn_cxx_try_compile "$LINENO"; then :
17047 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17053 /* end confdefs.h. */
17054 #include <wchar.h>
17055 namespace test { using ::vwscanf; }
17057 main ()
17061 return 0;
17063 _ACEOF
17064 if ac_fn_cxx_try_compile "$LINENO"; then :
17066 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17072 /* end confdefs.h. */
17073 #include <wchar.h>
17074 namespace test { using ::wcstof; }
17076 main ()
17080 return 0;
17082 _ACEOF
17083 if ac_fn_cxx_try_compile "$LINENO"; then :
17085 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17091 /* end confdefs.h. */
17092 #include <wctype.h>
17094 main ()
17096 wint_t t; int i = iswblank(t);
17098 return 0;
17100 _ACEOF
17101 if ac_fn_cxx_try_compile "$LINENO"; then :
17103 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17109 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17110 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17112 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17117 # Option parsed, now set things appropriately.
17118 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17119 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17120 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17121 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17122 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17123 enable_c99=no;
17124 else
17126 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17130 gcc_no_link="$ac_save_gcc_no_link"
17131 LIBS="$ac_save_LIBS"
17132 CXXFLAGS="$ac_save_CXXFLAGS"
17133 ac_ext=c
17134 ac_cpp='$CPP $CPPFLAGS'
17135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17141 ac_ext=cpp
17142 ac_cpp='$CXXCPP $CPPFLAGS'
17143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17148 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17149 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17150 ac_save_CXXFLAGS="$CXXFLAGS"
17151 CXXFLAGS="$CXXFLAGS -std=c++11"
17152 ac_save_LIBS="$LIBS"
17153 ac_save_gcc_no_link="$gcc_no_link"
17155 if test x$gcc_no_link != xyes; then
17156 # Use -fno-exceptions to that the C driver can link these tests without
17157 # hitting undefined references to personality routines.
17158 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17160 $as_echo_n "checking for sin in -lm... " >&6; }
17161 if test "${ac_cv_lib_m_sin+set}" = set; then :
17162 $as_echo_n "(cached) " >&6
17163 else
17164 ac_check_lib_save_LIBS=$LIBS
17165 LIBS="-lm $LIBS"
17166 if test x$gcc_no_link = xyes; then
17167 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17170 /* end confdefs.h. */
17172 /* Override any GCC internal prototype to avoid an error.
17173 Use char because int might match the return type of a GCC
17174 builtin and then its argument prototype would still apply. */
17175 #ifdef __cplusplus
17176 extern "C"
17177 #endif
17178 char sin ();
17180 main ()
17182 return sin ();
17184 return 0;
17186 _ACEOF
17187 if ac_fn_cxx_try_link "$LINENO"; then :
17188 ac_cv_lib_m_sin=yes
17189 else
17190 ac_cv_lib_m_sin=no
17192 rm -f core conftest.err conftest.$ac_objext \
17193 conftest$ac_exeext conftest.$ac_ext
17194 LIBS=$ac_check_lib_save_LIBS
17196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17197 $as_echo "$ac_cv_lib_m_sin" >&6; }
17198 if test "x$ac_cv_lib_m_sin" = x""yes; then :
17199 LIBS="$LIBS -lm"
17200 else
17202 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17203 gcc_no_link=yes
17209 # Check for the existence of <math.h> functions used if C99 is enabled.
17210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17211 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17212 if test "${glibcxx_cv_c99_math_cxx11+set}" = set; then :
17213 $as_echo_n "(cached) " >&6
17214 else
17216 if test x$gcc_no_link = xyes; then
17217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17218 /* end confdefs.h. */
17219 #include <math.h>
17220 volatile double d1, d2;
17221 volatile int i;
17223 main ()
17225 i = fpclassify(d1);
17226 i = isfinite(d1);
17227 i = isinf(d1);
17228 i = isnan(d1);
17229 i = isnormal(d1);
17230 i = signbit(d1);
17231 i = isgreater(d1, d2);
17232 i = isgreaterequal(d1, d2);
17233 i = isless(d1, d2);
17234 i = islessequal(d1, d2);
17235 i = islessgreater(d1, d2);
17236 i = islessgreater(d1, d2);
17237 i = isunordered(d1, d2);
17240 return 0;
17242 _ACEOF
17243 if ac_fn_cxx_try_compile "$LINENO"; then :
17244 glibcxx_cv_c99_math_cxx11=yes
17245 else
17246 glibcxx_cv_c99_math_cxx11=no
17248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17249 else
17250 if test x$gcc_no_link = xyes; then
17251 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17254 /* end confdefs.h. */
17255 #include <math.h>
17256 volatile double d1, d2;
17257 volatile int i;
17259 main ()
17261 i = fpclassify(d1);
17262 i = isfinite(d1);
17263 i = isinf(d1);
17264 i = isnan(d1);
17265 i = isnormal(d1);
17266 i = signbit(d1);
17267 i = isgreater(d1, d2);
17268 i = isgreaterequal(d1, d2);
17269 i = isless(d1, d2);
17270 i = islessequal(d1, d2);
17271 i = islessgreater(d1, d2);
17272 i = islessgreater(d1, d2);
17273 i = isunordered(d1, d2);
17276 return 0;
17278 _ACEOF
17279 if ac_fn_cxx_try_link "$LINENO"; then :
17280 glibcxx_cv_c99_math_cxx11=yes
17281 else
17282 glibcxx_cv_c99_math_cxx11=no
17284 rm -f core conftest.err conftest.$ac_objext \
17285 conftest$ac_exeext conftest.$ac_ext
17290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
17291 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
17292 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
17294 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
17298 # Check for the existence of <complex.h> complex math functions.
17299 # This is necessary even though libstdc++ uses the builtin versions
17300 # of these functions, because if the builtin cannot be used, a reference
17301 # to the library function is emitted.
17302 for ac_header in tgmath.h
17303 do :
17304 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17305 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
17306 cat >>confdefs.h <<_ACEOF
17307 #define HAVE_TGMATH_H 1
17308 _ACEOF
17309 ac_has_tgmath_h=yes
17310 else
17311 ac_has_tgmath_h=no
17314 done
17316 for ac_header in complex.h
17317 do :
17318 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17319 if test "x$ac_cv_header_complex_h" = x""yes; then :
17320 cat >>confdefs.h <<_ACEOF
17321 #define HAVE_COMPLEX_H 1
17322 _ACEOF
17323 ac_has_complex_h=yes
17324 else
17325 ac_has_complex_h=no
17328 done
17330 if test x"$ac_has_complex_h" = x"yes"; then
17331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
17332 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
17333 if test "${glibcxx_cv_c99_complex_cxx11+set}" = set; then :
17334 $as_echo_n "(cached) " >&6
17335 else
17337 if test x$gcc_no_link = xyes; then
17338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17339 /* end confdefs.h. */
17340 #include <complex.h>
17341 typedef __complex__ float float_type;
17342 typedef __complex__ double double_type;
17343 typedef __complex__ long double ld_type;
17344 volatile float_type tmpf;
17345 volatile double_type tmpd;
17346 volatile ld_type tmpld;
17347 volatile float f;
17348 volatile double d;
17349 volatile long double ld;
17351 main ()
17353 f = cabsf(tmpf);
17354 f = cargf(tmpf);
17355 tmpf = ccosf(tmpf);
17356 tmpf = ccoshf(tmpf);
17357 tmpf = cexpf(tmpf);
17358 tmpf = clogf(tmpf);
17359 tmpf = csinf(tmpf);
17360 tmpf = csinhf(tmpf);
17361 tmpf = csqrtf(tmpf);
17362 tmpf = ctanf(tmpf);
17363 tmpf = ctanhf(tmpf);
17364 tmpf = cpowf(tmpf, tmpf);
17365 tmpf = cprojf(tmpf);
17366 d = cabs(tmpd);
17367 d = carg(tmpd);
17368 tmpd = ccos(tmpd);
17369 tmpd = ccosh(tmpd);
17370 tmpd = cexp(tmpd);
17371 tmpd = clog(tmpd);
17372 tmpd = csin(tmpd);
17373 tmpd = csinh(tmpd);
17374 tmpd = csqrt(tmpd);
17375 tmpd = ctan(tmpd);
17376 tmpd = ctanh(tmpd);
17377 tmpd = cpow(tmpd, tmpd);
17378 tmpd = cproj(tmpd);
17379 ld = cabsl(tmpld);
17380 ld = cargl(tmpld);
17381 tmpld = ccosl(tmpld);
17382 tmpld = ccoshl(tmpld);
17383 tmpld = cexpl(tmpld);
17384 tmpld = clogl(tmpld);
17385 tmpld = csinl(tmpld);
17386 tmpld = csinhl(tmpld);
17387 tmpld = csqrtl(tmpld);
17388 tmpld = ctanl(tmpld);
17389 tmpld = ctanhl(tmpld);
17390 tmpld = cpowl(tmpld, tmpld);
17391 tmpld = cprojl(tmpld);
17394 return 0;
17396 _ACEOF
17397 if ac_fn_cxx_try_compile "$LINENO"; then :
17398 glibcxx_cv_c99_complex_cxx11=yes
17399 else
17400 glibcxx_cv_c99_complex_cxx11=no
17402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17403 else
17404 if test x$gcc_no_link = xyes; then
17405 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17408 /* end confdefs.h. */
17409 #include <complex.h>
17410 typedef __complex__ float float_type;
17411 typedef __complex__ double double_type;
17412 typedef __complex__ long double ld_type;
17413 volatile float_type tmpf;
17414 volatile double_type tmpd;
17415 volatile ld_type tmpld;
17416 volatile float f;
17417 volatile double d;
17418 volatile long double ld;
17420 main ()
17422 f = cabsf(tmpf);
17423 f = cargf(tmpf);
17424 tmpf = ccosf(tmpf);
17425 tmpf = ccoshf(tmpf);
17426 tmpf = cexpf(tmpf);
17427 tmpf = clogf(tmpf);
17428 tmpf = csinf(tmpf);
17429 tmpf = csinhf(tmpf);
17430 tmpf = csqrtf(tmpf);
17431 tmpf = ctanf(tmpf);
17432 tmpf = ctanhf(tmpf);
17433 tmpf = cpowf(tmpf, tmpf);
17434 tmpf = cprojf(tmpf);
17435 d = cabs(tmpd);
17436 d = carg(tmpd);
17437 tmpd = ccos(tmpd);
17438 tmpd = ccosh(tmpd);
17439 tmpd = cexp(tmpd);
17440 tmpd = clog(tmpd);
17441 tmpd = csin(tmpd);
17442 tmpd = csinh(tmpd);
17443 tmpd = csqrt(tmpd);
17444 tmpd = ctan(tmpd);
17445 tmpd = ctanh(tmpd);
17446 tmpd = cpow(tmpd, tmpd);
17447 tmpd = cproj(tmpd);
17448 ld = cabsl(tmpld);
17449 ld = cargl(tmpld);
17450 tmpld = ccosl(tmpld);
17451 tmpld = ccoshl(tmpld);
17452 tmpld = cexpl(tmpld);
17453 tmpld = clogl(tmpld);
17454 tmpld = csinl(tmpld);
17455 tmpld = csinhl(tmpld);
17456 tmpld = csqrtl(tmpld);
17457 tmpld = ctanl(tmpld);
17458 tmpld = ctanhl(tmpld);
17459 tmpld = cpowl(tmpld, tmpld);
17460 tmpld = cprojl(tmpld);
17463 return 0;
17465 _ACEOF
17466 if ac_fn_cxx_try_link "$LINENO"; then :
17467 glibcxx_cv_c99_complex_cxx11=yes
17468 else
17469 glibcxx_cv_c99_complex_cxx11=no
17471 rm -f core conftest.err conftest.$ac_objext \
17472 conftest$ac_exeext conftest.$ac_ext
17478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
17479 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
17480 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
17482 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
17486 # Check for the existence in <stdio.h> of vscanf, et. al.
17487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
17488 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
17489 if test "${glibcxx_cv_c99_stdio_cxx11+set}" = set; then :
17490 $as_echo_n "(cached) " >&6
17491 else
17493 if test x$gcc_no_link = xyes; then
17494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17495 /* end confdefs.h. */
17496 #include <stdio.h>
17497 #include <stdarg.h>
17498 void foo(char* fmt, ...)
17500 va_list args; va_start(args, fmt);
17501 vfscanf(stderr, "%i", args);
17502 vscanf("%i", args);
17503 vsnprintf(fmt, 0, "%i", args);
17504 vsscanf(fmt, "%i", args);
17505 snprintf(fmt, 0, "%i");
17508 main ()
17512 return 0;
17514 _ACEOF
17515 if ac_fn_cxx_try_compile "$LINENO"; then :
17516 glibcxx_cv_c99_stdio_cxx11=yes
17517 else
17518 glibcxx_cv_c99_stdio_cxx11=no
17520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17521 else
17522 if test x$gcc_no_link = xyes; then
17523 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17526 /* end confdefs.h. */
17527 #include <stdio.h>
17528 #include <stdarg.h>
17529 void foo(char* fmt, ...)
17531 va_list args; va_start(args, fmt);
17532 vfscanf(stderr, "%i", args);
17533 vscanf("%i", args);
17534 vsnprintf(fmt, 0, "%i", args);
17535 vsscanf(fmt, "%i", args);
17536 snprintf(fmt, 0, "%i");
17539 main ()
17543 return 0;
17545 _ACEOF
17546 if ac_fn_cxx_try_link "$LINENO"; then :
17547 glibcxx_cv_c99_stdio_cxx11=yes
17548 else
17549 glibcxx_cv_c99_stdio_cxx11=no
17551 rm -f core conftest.err conftest.$ac_objext \
17552 conftest$ac_exeext conftest.$ac_ext
17557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
17558 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
17559 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
17561 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
17565 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
17567 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
17568 if test "${glibcxx_cv_c99_stdlib_cxx11+set}" = set; then :
17569 $as_echo_n "(cached) " >&6
17570 else
17572 if test x$gcc_no_link = xyes; then
17573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17574 /* end confdefs.h. */
17575 #include <stdlib.h>
17576 volatile float f;
17577 volatile long double ld;
17578 volatile unsigned long long ll;
17579 lldiv_t mydivt;
17581 main ()
17583 char* tmp;
17584 f = strtof("gnu", &tmp);
17585 ld = strtold("gnu", &tmp);
17586 ll = strtoll("gnu", &tmp, 10);
17587 ll = strtoull("gnu", &tmp, 10);
17588 ll = llabs(10);
17589 mydivt = lldiv(10,1);
17590 ll = mydivt.quot;
17591 ll = mydivt.rem;
17592 ll = atoll("10");
17593 _Exit(0);
17596 return 0;
17598 _ACEOF
17599 if ac_fn_cxx_try_compile "$LINENO"; then :
17600 glibcxx_cv_c99_stdlib_cxx11=yes
17601 else
17602 glibcxx_cv_c99_stdlib_cxx11=no
17604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17605 else
17606 if test x$gcc_no_link = xyes; then
17607 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17610 /* end confdefs.h. */
17611 #include <stdlib.h>
17612 volatile float f;
17613 volatile long double ld;
17614 volatile unsigned long long ll;
17615 lldiv_t mydivt;
17617 main ()
17619 char* tmp;
17620 f = strtof("gnu", &tmp);
17621 ld = strtold("gnu", &tmp);
17622 ll = strtoll("gnu", &tmp, 10);
17623 ll = strtoull("gnu", &tmp, 10);
17624 ll = llabs(10);
17625 mydivt = lldiv(10,1);
17626 ll = mydivt.quot;
17627 ll = mydivt.rem;
17628 ll = atoll("10");
17629 _Exit(0);
17632 return 0;
17634 _ACEOF
17635 if ac_fn_cxx_try_link "$LINENO"; then :
17636 glibcxx_cv_c99_stdlib_cxx11=yes
17637 else
17638 glibcxx_cv_c99_stdlib_cxx11=no
17640 rm -f core conftest.err conftest.$ac_objext \
17641 conftest$ac_exeext conftest.$ac_ext
17646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
17647 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
17648 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
17650 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
17654 # Check for the existence in <wchar.h> of wcstold, etc.
17655 if test x"$ac_has_wchar_h" = xyes &&
17656 test x"$ac_has_wctype_h" = xyes; then
17657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
17658 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
17659 if test "${glibcxx_cv_c99_wchar_cxx11+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 <wchar.h>
17666 namespace test
17668 using ::wcstold;
17669 using ::wcstoll;
17670 using ::wcstoull;
17674 main ()
17678 return 0;
17680 _ACEOF
17681 if ac_fn_cxx_try_compile "$LINENO"; then :
17682 glibcxx_cv_c99_wchar_cxx11=yes
17683 else
17684 glibcxx_cv_c99_wchar_cxx11=no
17686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17691 # Checks for wide character functions that may not be present.
17692 # Injection of these is wrapped with guard macros.
17693 # NB: only put functions here, instead of immediately above, if
17694 # absolutely necessary.
17695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17696 /* end confdefs.h. */
17697 #include <wchar.h>
17698 namespace test { using ::vfwscanf; }
17700 main ()
17704 return 0;
17706 _ACEOF
17707 if ac_fn_cxx_try_compile "$LINENO"; then :
17709 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17715 /* end confdefs.h. */
17716 #include <wchar.h>
17717 namespace test { using ::vswscanf; }
17719 main ()
17723 return 0;
17725 _ACEOF
17726 if ac_fn_cxx_try_compile "$LINENO"; then :
17728 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17734 /* end confdefs.h. */
17735 #include <wchar.h>
17736 namespace test { using ::vwscanf; }
17738 main ()
17742 return 0;
17744 _ACEOF
17745 if ac_fn_cxx_try_compile "$LINENO"; then :
17747 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17753 /* end confdefs.h. */
17754 #include <wchar.h>
17755 namespace test { using ::wcstof; }
17757 main ()
17761 return 0;
17763 _ACEOF
17764 if ac_fn_cxx_try_compile "$LINENO"; then :
17766 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17772 /* end confdefs.h. */
17773 #include <wctype.h>
17775 main ()
17777 wint_t t; int i = iswblank(t);
17779 return 0;
17781 _ACEOF
17782 if ac_fn_cxx_try_compile "$LINENO"; then :
17784 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
17790 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
17791 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
17793 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
17798 gcc_no_link="$ac_save_gcc_no_link"
17799 LIBS="$ac_save_LIBS"
17800 CXXFLAGS="$ac_save_CXXFLAGS"
17801 ac_ext=c
17802 ac_cpp='$CPP $CPPFLAGS'
17803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17810 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17812 $as_echo "$enable_c99" >&6; }
17815 # Check whether --enable-concept-checks was given.
17816 if test "${enable_concept_checks+set}" = set; then :
17817 enableval=$enable_concept_checks;
17818 case "$enableval" in
17819 yes|no) ;;
17820 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17821 esac
17823 else
17824 enable_concept_checks=no
17828 if test $enable_concept_checks = yes; then
17830 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17835 # Check whether --enable-libstdcxx-debug-flags was given.
17836 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17837 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17838 xno | x) enable_libstdcxx_debug_flags= ;;
17839 x-*) ;;
17840 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17841 esac
17842 else
17843 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17848 # Option parsed, now set things appropriately
17849 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17852 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17853 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17857 $as_echo_n "checking for additional debug build... " >&6; }
17858 # Check whether --enable-libstdcxx-debug was given.
17859 if test "${enable_libstdcxx_debug+set}" = set; then :
17860 enableval=$enable_libstdcxx_debug;
17861 case "$enableval" in
17862 yes|no) ;;
17863 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17864 esac
17866 else
17867 enable_libstdcxx_debug=no
17871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17872 $as_echo "$enable_libstdcxx_debug" >&6; }
17877 enable_parallel=no;
17879 # See if configured libgomp/omp.h exists. (libgomp may be in
17880 # noconfigdirs but not explicitly disabled.)
17881 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17882 enable_parallel=yes;
17883 else
17884 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17885 $as_echo "$as_me: target-libgomp not built" >&6;}
17888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17889 $as_echo_n "checking for parallel mode support... " >&6; }
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17891 $as_echo "$enable_parallel" >&6; }
17893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17894 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17895 # Check whether --enable-cxx-flags was given.
17896 if test "${enable_cxx_flags+set}" = set; then :
17897 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17898 xno | x) enable_cxx_flags= ;;
17899 x-*) ;;
17900 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17901 esac
17902 else
17903 enable_cxx_flags=
17908 # Run through flags (either default or command-line) and set anything
17909 # extra (e.g., #defines) that must accompany particular g++ options.
17910 if test -n "$enable_cxx_flags"; then
17911 for f in $enable_cxx_flags; do
17912 case "$f" in
17913 -fhonor-std) ;;
17914 -*) ;;
17915 *) # and we're trying to pass /what/ exactly?
17916 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17917 esac
17918 done
17921 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17923 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17927 # Check whether --enable-fully-dynamic-string was given.
17928 if test "${enable_fully_dynamic_string+set}" = set; then :
17929 enableval=$enable_fully_dynamic_string;
17930 case "$enableval" in
17931 yes|no) ;;
17932 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17933 esac
17935 else
17936 enable_fully_dynamic_string=no
17940 if test $enable_fully_dynamic_string = yes; then
17941 enable_fully_dynamic_string_def=1
17942 else
17943 enable_fully_dynamic_string_def=0
17946 cat >>confdefs.h <<_ACEOF
17947 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17948 _ACEOF
17953 # Check whether --enable-extern-template was given.
17954 if test "${enable_extern_template+set}" = set; then :
17955 enableval=$enable_extern_template;
17956 case "$enableval" in
17957 yes|no) ;;
17958 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17959 esac
17961 else
17962 enable_extern_template=yes
17967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17968 $as_echo_n "checking for extern template support... " >&6; }
17969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17970 $as_echo "$enable_extern_template" >&6; }
17976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17977 $as_echo_n "checking for custom python install directory... " >&6; }
17979 # Check whether --with-python-dir was given.
17980 if test "${with_python_dir+set}" = set; then :
17981 withval=$with_python_dir; with_python_dir=$withval
17982 else
17983 with_python_dir="no"
17986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17987 $as_echo "${with_python_dir}" >&6; }
17989 # Needed for installing Python modules during make install.
17990 python_mod_dir="${with_python_dir}"
17995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17996 $as_echo_n "checking for -Werror... " >&6; }
17997 # Check whether --enable-werror was given.
17998 if test "${enable_werror+set}" = set; then :
17999 enableval=$enable_werror;
18000 case "$enableval" in
18001 yes|no) ;;
18002 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18003 esac
18005 else
18006 enable_werror=yes
18010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18011 $as_echo "$enable_werror" >&6; }
18016 # Check whether --enable-vtable-verify was given.
18017 if test "${enable_vtable_verify+set}" = set; then :
18018 enableval=$enable_vtable_verify;
18019 case "$enableval" in
18020 yes|no) ;;
18021 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18022 esac
18024 else
18025 enable_vtable_verify=no
18030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18031 $as_echo_n "checking for vtable verify support... " >&6; }
18032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18033 $as_echo "$enable_vtable_verify" >&6; }
18035 vtv_cygmin=no
18036 if test $enable_vtable_verify = yes; then
18037 case ${target_os} in
18038 cygwin*|mingw32*)
18039 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18040 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18041 vtv_cygmin=yes
18043 darwin*)
18044 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18045 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18047 solaris2*)
18048 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18049 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18052 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18053 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18055 esac
18056 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18057 else
18058 VTV_CXXFLAGS=
18059 VTV_PCH_CXXFLAGS=
18060 VTV_CXXLINKFLAGS=
18066 if test x$vtv_cygmin = xyes; then
18067 VTV_CYGMIN_TRUE=
18068 VTV_CYGMIN_FALSE='#'
18069 else
18070 VTV_CYGMIN_TRUE='#'
18071 VTV_CYGMIN_FALSE=
18077 # Checks for operating systems support that doesn't require linking.
18081 ac_ext=cpp
18082 ac_cpp='$CXXCPP $CPPFLAGS'
18083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18089 $as_echo_n "checking for gets declaration... " >&6; }
18090 if test "${glibcxx_cv_gets+set}" = set; then :
18091 $as_echo_n "(cached) " >&6
18092 else
18094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18095 /* end confdefs.h. */
18096 #include <stdio.h>
18097 namespace test
18099 using ::gets;
18102 _ACEOF
18103 if ac_fn_cxx_try_compile "$LINENO"; then :
18104 glibcxx_cv_gets=yes
18105 else
18106 glibcxx_cv_gets=no
18109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18113 if test $glibcxx_cv_gets = yes; then
18115 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18119 $as_echo "$glibcxx_cv_gets" >&6; }
18121 ac_ext=c
18122 ac_cpp='$CPP $CPPFLAGS'
18123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18131 ac_ext=cpp
18132 ac_cpp='$CXXCPP $CPPFLAGS'
18133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18137 ac_save_CXXFLAGS="$CXXFLAGS"
18138 CXXFLAGS="$CXXFLAGS -std=c++11"
18140 case "$host" in
18141 *-*-solaris2.*)
18142 # Solaris 12 introduced the C++11 <math.h> overloads. A backport to
18143 # a Solaris 11.3 SRU is likely, maybe even a Solaris 10 patch.
18144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> overloads" >&5
18145 $as_echo_n "checking for C++11 <math.h> overloads... " >&6; }
18146 if test "${glibcxx_cv_math11_overload+set}" = set; then :
18147 $as_echo_n "(cached) " >&6
18148 else
18150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18151 /* end confdefs.h. */
18152 #include <math.h>
18153 #undef isfinite
18154 namespace std {
18155 inline bool isfinite(float __x)
18156 { return __builtin_isfinite(__x); }
18159 _ACEOF
18160 if ac_fn_cxx_try_compile "$LINENO"; then :
18161 glibcxx_cv_math11_overload=no
18162 else
18163 glibcxx_cv_math11_overload=yes
18166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18170 # autoheader cannot handle indented templates.
18173 if test $glibcxx_cv_math11_overload = yes; then
18174 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO 1" >>confdefs.h
18177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_overload" >&5
18178 $as_echo "$glibcxx_cv_math11_overload" >&6; }
18180 *-*-*gnu* | *-*-aix* | *-*-hpux*)
18181 # If <math.h> defines the obsolete isinf(double) and isnan(double)
18182 # functions (instead of or as well as the C99 generic macros) then we
18183 # can't define std::isinf(double) and std::isnan(double) in <cmath>
18184 # and must use the ones from <math.h> instead.
18185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18186 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18187 if test "${glibcxx_cv_obsolete_isinf+set}" = set; then :
18188 $as_echo_n "(cached) " >&6
18189 else
18191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18192 /* end confdefs.h. */
18193 #include <math.h>
18194 #undef isinf
18195 namespace std {
18196 using ::isinf;
18197 bool isinf(float);
18198 bool isinf(long double);
18200 using std::isinf;
18201 bool b = isinf(0.0);
18203 _ACEOF
18204 if ac_fn_cxx_try_compile "$LINENO"; then :
18205 glibcxx_cv_obsolete_isinf=yes
18206 else
18207 glibcxx_cv_obsolete_isinf=no
18210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
18214 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
18215 if test $glibcxx_cv_obsolete_isinf = yes; then
18217 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
18221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
18222 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
18223 if test "${glibcxx_cv_obsolete_isnan+set}" = set; then :
18224 $as_echo_n "(cached) " >&6
18225 else
18227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18228 /* end confdefs.h. */
18229 #include <math.h>
18230 #undef isnan
18231 namespace std {
18232 using ::isnan;
18233 bool isnan(float);
18234 bool isnan(long double);
18236 using std::isnan;
18237 bool b = isnan(0.0);
18239 _ACEOF
18240 if ac_fn_cxx_try_compile "$LINENO"; then :
18241 glibcxx_cv_obsolete_isnan=yes
18242 else
18243 glibcxx_cv_obsolete_isnan=no
18246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
18250 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
18251 if test $glibcxx_cv_obsolete_isnan = yes; then
18253 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
18257 esac
18259 CXXFLAGS="$ac_save_CXXFLAGS"
18260 ac_ext=c
18261 ac_cpp='$CPP $CPPFLAGS'
18262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
18270 $as_echo_n "checking for EOWNERDEAD... " >&6; }
18271 if test "${glibcxx_cv_system_error1+set}" = set; then :
18272 $as_echo_n "(cached) " >&6
18273 else
18275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18276 /* end confdefs.h. */
18277 #include <errno.h>
18279 main ()
18281 int i = EOWNERDEAD;
18283 return 0;
18285 _ACEOF
18286 if ac_fn_c_try_compile "$LINENO"; then :
18287 glibcxx_cv_system_error1=yes
18288 else
18289 glibcxx_cv_system_error1=no
18291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
18296 $as_echo "$glibcxx_cv_system_error1" >&6; }
18297 if test x"$glibcxx_cv_system_error1" = x"yes"; then
18299 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
18302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
18303 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
18304 if test "${glibcxx_cv_system_error2+set}" = set; then :
18305 $as_echo_n "(cached) " >&6
18306 else
18308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18309 /* end confdefs.h. */
18310 #include <errno.h>
18312 main ()
18314 int i = ENOTRECOVERABLE;
18316 return 0;
18318 _ACEOF
18319 if ac_fn_c_try_compile "$LINENO"; then :
18320 glibcxx_cv_system_error2=yes
18321 else
18322 glibcxx_cv_system_error2=no
18324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
18329 $as_echo "$glibcxx_cv_system_error2" >&6; }
18330 if test x"$glibcxx_cv_system_error2" = x"yes"; then
18332 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
18335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
18336 $as_echo_n "checking for ENOLINK... " >&6; }
18337 if test "${glibcxx_cv_system_error3+set}" = set; then :
18338 $as_echo_n "(cached) " >&6
18339 else
18341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18342 /* end confdefs.h. */
18343 #include <errno.h>
18345 main ()
18347 int i = ENOLINK;
18349 return 0;
18351 _ACEOF
18352 if ac_fn_c_try_compile "$LINENO"; then :
18353 glibcxx_cv_system_error3=yes
18354 else
18355 glibcxx_cv_system_error3=no
18357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
18362 $as_echo "$glibcxx_cv_system_error3" >&6; }
18363 if test x"$glibcxx_cv_system_error3" = x"yes"; then
18365 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
18368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
18369 $as_echo_n "checking for EPROTO... " >&6; }
18370 if test "${glibcxx_cv_system_error4+set}" = set; then :
18371 $as_echo_n "(cached) " >&6
18372 else
18374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18375 /* end confdefs.h. */
18376 #include <errno.h>
18378 main ()
18380 int i = EPROTO;
18382 return 0;
18384 _ACEOF
18385 if ac_fn_c_try_compile "$LINENO"; then :
18386 glibcxx_cv_system_error4=yes
18387 else
18388 glibcxx_cv_system_error4=no
18390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
18395 $as_echo "$glibcxx_cv_system_error4" >&6; }
18396 if test x"$glibcxx_cv_system_error4" = x"yes"; then
18398 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
18401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
18402 $as_echo_n "checking for ENODATA... " >&6; }
18403 if test "${glibcxx_cv_system_error5+set}" = set; then :
18404 $as_echo_n "(cached) " >&6
18405 else
18407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18408 /* end confdefs.h. */
18409 #include <errno.h>
18411 main ()
18413 int i = ENODATA;
18415 return 0;
18417 _ACEOF
18418 if ac_fn_c_try_compile "$LINENO"; then :
18419 glibcxx_cv_system_error5=yes
18420 else
18421 glibcxx_cv_system_error5=no
18423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
18428 $as_echo "$glibcxx_cv_system_error5" >&6; }
18429 if test x"$glibcxx_cv_system_error5" = x"yes"; then
18431 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
18434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
18435 $as_echo_n "checking for ENOSR... " >&6; }
18436 if test "${glibcxx_cv_system_error6+set}" = set; then :
18437 $as_echo_n "(cached) " >&6
18438 else
18440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18441 /* end confdefs.h. */
18442 #include <errno.h>
18444 main ()
18446 int i = ENOSR;
18448 return 0;
18450 _ACEOF
18451 if ac_fn_c_try_compile "$LINENO"; then :
18452 glibcxx_cv_system_error6=yes
18453 else
18454 glibcxx_cv_system_error6=no
18456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
18461 $as_echo "$glibcxx_cv_system_error6" >&6; }
18462 if test x"$glibcxx_cv_system_error6" = x"yes"; then
18464 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
18467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
18468 $as_echo_n "checking for ENOSTR... " >&6; }
18469 if test "${glibcxx_cv_system_error7+set}" = set; then :
18470 $as_echo_n "(cached) " >&6
18471 else
18473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18474 /* end confdefs.h. */
18475 #include <errno.h>
18477 main ()
18479 int i = ENOSTR;
18481 return 0;
18483 _ACEOF
18484 if ac_fn_c_try_compile "$LINENO"; then :
18485 glibcxx_cv_system_error7=yes
18486 else
18487 glibcxx_cv_system_error7=no
18489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
18494 $as_echo "$glibcxx_cv_system_error7" >&6; }
18495 if test x"$glibcxx_cv_system_error7" = x"yes"; then
18497 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
18500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
18501 $as_echo_n "checking for ETIME... " >&6; }
18502 if test "${glibcxx_cv_system_error8+set}" = set; then :
18503 $as_echo_n "(cached) " >&6
18504 else
18506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18507 /* end confdefs.h. */
18508 #include <errno.h>
18510 main ()
18512 int i = ETIME;
18514 return 0;
18516 _ACEOF
18517 if ac_fn_c_try_compile "$LINENO"; then :
18518 glibcxx_cv_system_error8=yes
18519 else
18520 glibcxx_cv_system_error8=no
18522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
18527 $as_echo "$glibcxx_cv_system_error8" >&6; }
18528 if test x"$glibcxx_cv_system_error8" = x"yes"; then
18530 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
18533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
18534 $as_echo_n "checking for EBADMSG... " >&6; }
18535 if test "${glibcxx_cv_system_error9+set}" = set; then :
18536 $as_echo_n "(cached) " >&6
18537 else
18539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18540 /* end confdefs.h. */
18541 #include <errno.h>
18543 main ()
18545 int i = EBADMSG;
18547 return 0;
18549 _ACEOF
18550 if ac_fn_c_try_compile "$LINENO"; then :
18551 glibcxx_cv_system_error9=yes
18552 else
18553 glibcxx_cv_system_error9=no
18555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
18560 $as_echo "$glibcxx_cv_system_error9" >&6; }
18561 if test x"$glibcxx_cv_system_error9" = x"yes"; then
18563 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
18566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
18567 $as_echo_n "checking for ECANCELED... " >&6; }
18568 if test "${glibcxx_cv_system_error10+set}" = set; then :
18569 $as_echo_n "(cached) " >&6
18570 else
18572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18573 /* end confdefs.h. */
18574 #include <errno.h>
18576 main ()
18578 int i = ECANCELED;
18580 return 0;
18582 _ACEOF
18583 if ac_fn_c_try_compile "$LINENO"; then :
18584 glibcxx_cv_system_error10=yes
18585 else
18586 glibcxx_cv_system_error10=no
18588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
18593 $as_echo "$glibcxx_cv_system_error10" >&6; }
18594 if test x"$glibcxx_cv_system_error10" = x"yes"; then
18596 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
18599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
18600 $as_echo_n "checking for EOVERFLOW... " >&6; }
18601 if test "${glibcxx_cv_system_error11+set}" = set; then :
18602 $as_echo_n "(cached) " >&6
18603 else
18605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18606 /* end confdefs.h. */
18607 #include <errno.h>
18609 main ()
18611 int i = EOVERFLOW;
18613 return 0;
18615 _ACEOF
18616 if ac_fn_c_try_compile "$LINENO"; then :
18617 glibcxx_cv_system_error11=yes
18618 else
18619 glibcxx_cv_system_error11=no
18621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
18626 $as_echo "$glibcxx_cv_system_error11" >&6; }
18627 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18629 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
18632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
18633 $as_echo_n "checking for ENOTSUP... " >&6; }
18634 if test "${glibcxx_cv_system_error12+set}" = set; then :
18635 $as_echo_n "(cached) " >&6
18636 else
18638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18639 /* end confdefs.h. */
18640 #include <errno.h>
18642 main ()
18644 int i = ENOTSUP;
18646 return 0;
18648 _ACEOF
18649 if ac_fn_c_try_compile "$LINENO"; then :
18650 glibcxx_cv_system_error12=yes
18651 else
18652 glibcxx_cv_system_error12=no
18654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
18659 $as_echo "$glibcxx_cv_system_error12" >&6; }
18660 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18662 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
18665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
18666 $as_echo_n "checking for EIDRM... " >&6; }
18667 if test "${glibcxx_cv_system_error13+set}" = set; then :
18668 $as_echo_n "(cached) " >&6
18669 else
18671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18672 /* end confdefs.h. */
18673 #include <errno.h>
18675 main ()
18677 int i = EIDRM;
18679 return 0;
18681 _ACEOF
18682 if ac_fn_c_try_compile "$LINENO"; then :
18683 glibcxx_cv_system_error13=yes
18684 else
18685 glibcxx_cv_system_error13=no
18687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
18692 $as_echo "$glibcxx_cv_system_error13" >&6; }
18693 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18695 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
18698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
18699 $as_echo_n "checking for ETXTBSY... " >&6; }
18700 if test "${glibcxx_cv_system_error14+set}" = set; then :
18701 $as_echo_n "(cached) " >&6
18702 else
18704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18705 /* end confdefs.h. */
18706 #include <errno.h>
18708 main ()
18710 int i = ETXTBSY;
18712 return 0;
18714 _ACEOF
18715 if ac_fn_c_try_compile "$LINENO"; then :
18716 glibcxx_cv_system_error14=yes
18717 else
18718 glibcxx_cv_system_error14=no
18720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
18725 $as_echo "$glibcxx_cv_system_error14" >&6; }
18726 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18728 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
18731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
18732 $as_echo_n "checking for ECHILD... " >&6; }
18733 if test "${glibcxx_cv_system_error15+set}" = set; then :
18734 $as_echo_n "(cached) " >&6
18735 else
18737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18738 /* end confdefs.h. */
18739 #include <errno.h>
18741 main ()
18743 int i = ECHILD;
18745 return 0;
18747 _ACEOF
18748 if ac_fn_c_try_compile "$LINENO"; then :
18749 glibcxx_cv_system_error15=yes
18750 else
18751 glibcxx_cv_system_error15=no
18753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18758 $as_echo "$glibcxx_cv_system_error15" >&6; }
18759 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18761 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18765 $as_echo_n "checking for ENOSPC... " >&6; }
18766 if test "${glibcxx_cv_system_error16+set}" = set; then :
18767 $as_echo_n "(cached) " >&6
18768 else
18770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18771 /* end confdefs.h. */
18772 #include <errno.h>
18774 main ()
18776 int i = ENOSPC;
18778 return 0;
18780 _ACEOF
18781 if ac_fn_c_try_compile "$LINENO"; then :
18782 glibcxx_cv_system_error16=yes
18783 else
18784 glibcxx_cv_system_error16=no
18786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18791 $as_echo "$glibcxx_cv_system_error16" >&6; }
18792 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18794 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18798 $as_echo_n "checking for EPERM... " >&6; }
18799 if test "${glibcxx_cv_system_error17+set}" = set; then :
18800 $as_echo_n "(cached) " >&6
18801 else
18803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18804 /* end confdefs.h. */
18805 #include <errno.h>
18807 main ()
18809 int i = EPERM;
18811 return 0;
18813 _ACEOF
18814 if ac_fn_c_try_compile "$LINENO"; then :
18815 glibcxx_cv_system_error17=yes
18816 else
18817 glibcxx_cv_system_error17=no
18819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18824 $as_echo "$glibcxx_cv_system_error17" >&6; }
18825 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18827 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18831 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18832 if test "${glibcxx_cv_system_error18+set}" = set; then :
18833 $as_echo_n "(cached) " >&6
18834 else
18836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18837 /* end confdefs.h. */
18838 #include <errno.h>
18840 main ()
18842 int i = ETIMEDOUT;
18844 return 0;
18846 _ACEOF
18847 if ac_fn_c_try_compile "$LINENO"; then :
18848 glibcxx_cv_system_error18=yes
18849 else
18850 glibcxx_cv_system_error18=no
18852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18857 $as_echo "$glibcxx_cv_system_error18" >&6; }
18858 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18860 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18864 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18865 if test "${glibcxx_cv_system_error19+set}" = set; then :
18866 $as_echo_n "(cached) " >&6
18867 else
18869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18870 /* end confdefs.h. */
18871 #include <errno.h>
18873 main ()
18875 int i = EWOULDBLOCK;
18877 return 0;
18879 _ACEOF
18880 if ac_fn_c_try_compile "$LINENO"; then :
18881 glibcxx_cv_system_error19=yes
18882 else
18883 glibcxx_cv_system_error19=no
18885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18890 $as_echo "$glibcxx_cv_system_error19" >&6; }
18891 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18893 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18900 # Test uchar.h.
18901 for ac_header in uchar.h
18902 do :
18903 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
18904 if test "x$ac_cv_header_uchar_h" = x""yes; then :
18905 cat >>confdefs.h <<_ACEOF
18906 #define HAVE_UCHAR_H 1
18907 _ACEOF
18908 ac_has_uchar_h=yes
18909 else
18910 ac_has_uchar_h=no
18913 done
18917 ac_ext=cpp
18918 ac_cpp='$CXXCPP $CPPFLAGS'
18919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18923 ac_save_CXXFLAGS="$CXXFLAGS"
18924 CXXFLAGS="$CXXFLAGS -std=c++11"
18926 if test x"$ac_has_uchar_h" = x"yes"; then
18927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
18928 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
18929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18930 /* end confdefs.h. */
18931 #include <uchar.h>
18932 #ifdef __STDC_UTF_16__
18933 long i = __STDC_UTF_16__;
18934 #endif
18935 #ifdef __STDC_UTF_32__
18936 long j = __STDC_UTF_32__;
18937 #endif
18938 namespace test
18940 using ::c16rtomb;
18941 using ::c32rtomb;
18942 using ::mbrtoc16;
18943 using ::mbrtoc32;
18947 main ()
18951 return 0;
18953 _ACEOF
18954 if ac_fn_cxx_try_compile "$LINENO"; then :
18955 ac_c11_uchar_cxx11=yes
18956 else
18957 ac_c11_uchar_cxx11=no
18959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18960 else
18961 ac_c11_uchar_cxx11=no
18963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
18964 $as_echo "$ac_c11_uchar_cxx11" >&6; }
18965 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
18967 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
18971 CXXFLAGS="$ac_save_CXXFLAGS"
18972 ac_ext=c
18973 ac_cpp='$CPP $CPPFLAGS'
18974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18980 # For the streamoff typedef.
18984 ac_ext=cpp
18985 ac_cpp='$CXXCPP $CPPFLAGS'
18986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18992 $as_echo_n "checking for int64_t... " >&6; }
18993 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18994 $as_echo_n "(cached) " >&6
18995 else
18997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18998 /* end confdefs.h. */
18999 #include <stdint.h>
19001 main ()
19003 int64_t var;
19005 return 0;
19007 _ACEOF
19008 if ac_fn_cxx_try_compile "$LINENO"; then :
19009 glibcxx_cv_INT64_T=yes
19010 else
19011 glibcxx_cv_INT64_T=no
19013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19018 if test $glibcxx_cv_INT64_T = yes; then
19020 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
19022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
19023 $as_echo "$glibcxx_cv_INT64_T" >&6; }
19025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
19026 $as_echo_n "checking for int64_t as long... " >&6; }
19027 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
19028 $as_echo_n "(cached) " >&6
19029 else
19031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19032 /* end confdefs.h. */
19033 #include <stdint.h>
19034 template<typename, typename> struct same { enum { value = -1 }; };
19035 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19036 int array[same<int64_t, long>::value];
19038 main ()
19042 return 0;
19044 _ACEOF
19045 if ac_fn_cxx_try_compile "$LINENO"; then :
19046 glibcxx_cv_int64_t_long=yes
19047 else
19048 glibcxx_cv_int64_t_long=no
19050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19055 if test $glibcxx_cv_int64_t_long = yes; then
19057 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19060 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
19063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19064 $as_echo_n "checking for int64_t as long long... " >&6; }
19065 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
19066 $as_echo_n "(cached) " >&6
19067 else
19069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19070 /* end confdefs.h. */
19071 #include <stdint.h>
19072 template<typename, typename> struct same { enum { value = -1 }; };
19073 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19074 int array[same<int64_t, long long>::value];
19076 main ()
19080 return 0;
19082 _ACEOF
19083 if ac_fn_cxx_try_compile "$LINENO"; then :
19084 glibcxx_cv_int64_t_long_long=yes
19085 else
19086 glibcxx_cv_int64_t_long_long=no
19088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19093 if test $glibcxx_cv_int64_t_long_long = yes; then
19095 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19098 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19102 ac_ext=c
19103 ac_cpp='$CPP $CPPFLAGS'
19104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19110 # For LFS support.
19113 ac_ext=cpp
19114 ac_cpp='$CXXCPP $CPPFLAGS'
19115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19119 ac_save_CXXFLAGS="$CXXFLAGS"
19120 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19122 $as_echo_n "checking for LFS support... " >&6; }
19123 if test "${glibcxx_cv_LFS+set}" = set; then :
19124 $as_echo_n "(cached) " >&6
19125 else
19127 if test x$gcc_no_link = xyes; then
19128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19129 /* end confdefs.h. */
19130 #include <unistd.h>
19131 #include <stdio.h>
19132 #include <sys/stat.h>
19135 main ()
19137 FILE* fp;
19138 fopen64("t", "w");
19139 fseeko64(fp, 0, SEEK_CUR);
19140 ftello64(fp);
19141 lseek64(1, 0, SEEK_CUR);
19142 struct stat64 buf;
19143 fstat64(1, &buf);
19145 return 0;
19147 _ACEOF
19148 if ac_fn_cxx_try_compile "$LINENO"; then :
19149 glibcxx_cv_LFS=yes
19150 else
19151 glibcxx_cv_LFS=no
19153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19154 else
19155 if test x$gcc_no_link = xyes; then
19156 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19159 /* end confdefs.h. */
19160 #include <unistd.h>
19161 #include <stdio.h>
19162 #include <sys/stat.h>
19165 main ()
19167 FILE* fp;
19168 fopen64("t", "w");
19169 fseeko64(fp, 0, SEEK_CUR);
19170 ftello64(fp);
19171 lseek64(1, 0, SEEK_CUR);
19172 struct stat64 buf;
19173 fstat64(1, &buf);
19175 return 0;
19177 _ACEOF
19178 if ac_fn_cxx_try_link "$LINENO"; then :
19179 glibcxx_cv_LFS=yes
19180 else
19181 glibcxx_cv_LFS=no
19183 rm -f core conftest.err conftest.$ac_objext \
19184 conftest$ac_exeext conftest.$ac_ext
19189 if test $glibcxx_cv_LFS = yes; then
19191 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19195 $as_echo "$glibcxx_cv_LFS" >&6; }
19196 CXXFLAGS="$ac_save_CXXFLAGS"
19197 ac_ext=c
19198 ac_cpp='$CPP $CPPFLAGS'
19199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19205 # For showmanyc_helper().
19206 for ac_header in sys/ioctl.h sys/filio.h
19207 do :
19208 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19209 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19210 eval as_val=\$$as_ac_Header
19211 if test "x$as_val" = x""yes; then :
19212 cat >>confdefs.h <<_ACEOF
19213 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19214 _ACEOF
19218 done
19223 ac_ext=cpp
19224 ac_cpp='$CXXCPP $CPPFLAGS'
19225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19229 ac_save_CXXFLAGS="$CXXFLAGS"
19230 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19233 $as_echo_n "checking for poll... " >&6; }
19234 if test "${glibcxx_cv_POLL+set}" = set; then :
19235 $as_echo_n "(cached) " >&6
19236 else
19238 if test x$gcc_no_link = xyes; then
19239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19240 /* end confdefs.h. */
19241 #include <poll.h>
19243 main ()
19245 struct pollfd pfd[1];
19246 pfd[0].events = POLLIN;
19247 poll(pfd, 1, 0);
19249 return 0;
19251 _ACEOF
19252 if ac_fn_cxx_try_compile "$LINENO"; then :
19253 glibcxx_cv_POLL=yes
19254 else
19255 glibcxx_cv_POLL=no
19257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19258 else
19259 if test x$gcc_no_link = xyes; then
19260 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19263 /* end confdefs.h. */
19264 #include <poll.h>
19266 main ()
19268 struct pollfd pfd[1];
19269 pfd[0].events = POLLIN;
19270 poll(pfd, 1, 0);
19272 return 0;
19274 _ACEOF
19275 if ac_fn_cxx_try_link "$LINENO"; then :
19276 glibcxx_cv_POLL=yes
19277 else
19278 glibcxx_cv_POLL=no
19280 rm -f core conftest.err conftest.$ac_objext \
19281 conftest$ac_exeext conftest.$ac_ext
19286 if test $glibcxx_cv_POLL = yes; then
19288 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19292 $as_echo "$glibcxx_cv_POLL" >&6; }
19294 CXXFLAGS="$ac_save_CXXFLAGS"
19295 ac_ext=c
19296 ac_cpp='$CPP $CPPFLAGS'
19297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19305 ac_ext=cpp
19306 ac_cpp='$CXXCPP $CPPFLAGS'
19307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19311 ac_save_CXXFLAGS="$CXXFLAGS"
19312 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19315 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19316 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
19317 $as_echo_n "(cached) " >&6
19318 else
19320 if test x$gcc_no_link = xyes; then
19321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19322 /* end confdefs.h. */
19323 #include <sys/stat.h>
19325 main ()
19327 struct stat buffer;
19328 fstat(0, &buffer);
19329 S_ISREG(buffer.st_mode);
19331 return 0;
19333 _ACEOF
19334 if ac_fn_cxx_try_compile "$LINENO"; then :
19335 glibcxx_cv_S_ISREG=yes
19336 else
19337 glibcxx_cv_S_ISREG=no
19339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19340 else
19341 if test x$gcc_no_link = xyes; then
19342 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19345 /* end confdefs.h. */
19346 #include <sys/stat.h>
19348 main ()
19350 struct stat buffer;
19351 fstat(0, &buffer);
19352 S_ISREG(buffer.st_mode);
19354 return 0;
19356 _ACEOF
19357 if ac_fn_cxx_try_link "$LINENO"; then :
19358 glibcxx_cv_S_ISREG=yes
19359 else
19360 glibcxx_cv_S_ISREG=no
19362 rm -f core conftest.err conftest.$ac_objext \
19363 conftest$ac_exeext conftest.$ac_ext
19368 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
19369 $as_echo_n "(cached) " >&6
19370 else
19372 if test x$gcc_no_link = xyes; then
19373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19374 /* end confdefs.h. */
19375 #include <sys/stat.h>
19377 main ()
19379 struct stat buffer;
19380 fstat(0, &buffer);
19381 S_IFREG & buffer.st_mode;
19383 return 0;
19385 _ACEOF
19386 if ac_fn_cxx_try_compile "$LINENO"; then :
19387 glibcxx_cv_S_IFREG=yes
19388 else
19389 glibcxx_cv_S_IFREG=no
19391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19392 else
19393 if test x$gcc_no_link = xyes; then
19394 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19397 /* end confdefs.h. */
19398 #include <sys/stat.h>
19400 main ()
19402 struct stat buffer;
19403 fstat(0, &buffer);
19404 S_IFREG & buffer.st_mode;
19406 return 0;
19408 _ACEOF
19409 if ac_fn_cxx_try_link "$LINENO"; then :
19410 glibcxx_cv_S_IFREG=yes
19411 else
19412 glibcxx_cv_S_IFREG=no
19414 rm -f core conftest.err conftest.$ac_objext \
19415 conftest$ac_exeext conftest.$ac_ext
19420 res=no
19421 if test $glibcxx_cv_S_ISREG = yes; then
19423 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19425 res=S_ISREG
19426 elif test $glibcxx_cv_S_IFREG = yes; then
19428 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19430 res=S_IFREG
19432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19433 $as_echo "$res" >&6; }
19435 CXXFLAGS="$ac_save_CXXFLAGS"
19436 ac_ext=c
19437 ac_cpp='$CPP $CPPFLAGS'
19438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19444 # For xsputn_2().
19445 for ac_header in sys/uio.h
19446 do :
19447 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19448 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
19449 cat >>confdefs.h <<_ACEOF
19450 #define HAVE_SYS_UIO_H 1
19451 _ACEOF
19455 done
19460 ac_ext=cpp
19461 ac_cpp='$CXXCPP $CPPFLAGS'
19462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19466 ac_save_CXXFLAGS="$CXXFLAGS"
19467 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19470 $as_echo_n "checking for writev... " >&6; }
19471 if test "${glibcxx_cv_WRITEV+set}" = set; then :
19472 $as_echo_n "(cached) " >&6
19473 else
19475 if test x$gcc_no_link = xyes; then
19476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19477 /* end confdefs.h. */
19478 #include <sys/uio.h>
19480 main ()
19482 struct iovec iov[2];
19483 writev(0, iov, 0);
19485 return 0;
19487 _ACEOF
19488 if ac_fn_cxx_try_compile "$LINENO"; then :
19489 glibcxx_cv_WRITEV=yes
19490 else
19491 glibcxx_cv_WRITEV=no
19493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19494 else
19495 if test x$gcc_no_link = xyes; then
19496 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19499 /* end confdefs.h. */
19500 #include <sys/uio.h>
19502 main ()
19504 struct iovec iov[2];
19505 writev(0, iov, 0);
19507 return 0;
19509 _ACEOF
19510 if ac_fn_cxx_try_link "$LINENO"; then :
19511 glibcxx_cv_WRITEV=yes
19512 else
19513 glibcxx_cv_WRITEV=no
19515 rm -f core conftest.err conftest.$ac_objext \
19516 conftest$ac_exeext conftest.$ac_ext
19521 if test $glibcxx_cv_WRITEV = yes; then
19523 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19527 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19529 CXXFLAGS="$ac_save_CXXFLAGS"
19530 ac_ext=c
19531 ac_cpp='$CPP $CPPFLAGS'
19532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19538 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19539 # so that the check is done with the C compiler (not C++).
19540 # Checking with C++ can break a canadian cross build if either
19541 # file does not exist in C but does in C++.
19542 for ac_header in fenv.h complex.h
19543 do :
19544 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19545 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19546 eval as_val=\$$as_ac_Header
19547 if test "x$as_val" = x""yes; then :
19548 cat >>confdefs.h <<_ACEOF
19549 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19550 _ACEOF
19554 done
19557 # For C99 support to TR1.
19561 ac_ext=cpp
19562 ac_cpp='$CXXCPP $CPPFLAGS'
19563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19568 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19569 # undefined and fake C99 facilities may be spuriously enabled.
19570 ac_save_CXXFLAGS="$CXXFLAGS"
19571 CXXFLAGS="$CXXFLAGS -std=c++98"
19573 # Check for the existence of <complex.h> complex math functions used
19574 # by tr1/complex.
19575 for ac_header in complex.h
19576 do :
19577 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19578 if test "x$ac_cv_header_complex_h" = x""yes; then :
19579 cat >>confdefs.h <<_ACEOF
19580 #define HAVE_COMPLEX_H 1
19581 _ACEOF
19582 ac_has_complex_h=yes
19583 else
19584 ac_has_complex_h=no
19587 done
19589 ac_c99_complex_tr1=no;
19590 if test x"$ac_has_complex_h" = x"yes"; then
19591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19592 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19594 /* end confdefs.h. */
19595 #include <complex.h>
19597 main ()
19599 typedef __complex__ float float_type; float_type tmpf;
19600 cacosf(tmpf);
19601 casinf(tmpf);
19602 catanf(tmpf);
19603 cacoshf(tmpf);
19604 casinhf(tmpf);
19605 catanhf(tmpf);
19606 typedef __complex__ double double_type; double_type tmpd;
19607 cacos(tmpd);
19608 casin(tmpd);
19609 catan(tmpd);
19610 cacosh(tmpd);
19611 casinh(tmpd);
19612 catanh(tmpd);
19613 typedef __complex__ long double ld_type; ld_type tmpld;
19614 cacosl(tmpld);
19615 casinl(tmpld);
19616 catanl(tmpld);
19617 cacoshl(tmpld);
19618 casinhl(tmpld);
19619 catanhl(tmpld);
19622 return 0;
19624 _ACEOF
19625 if ac_fn_cxx_try_compile "$LINENO"; then :
19626 ac_c99_complex_tr1=yes
19627 else
19628 ac_c99_complex_tr1=no
19630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
19633 $as_echo "$ac_c99_complex_tr1" >&6; }
19634 if test x"$ac_c99_complex_tr1" = x"yes"; then
19636 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
19640 # Check for the existence of <ctype.h> functions.
19641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19642 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
19643 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
19644 $as_echo_n "(cached) " >&6
19645 else
19647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19648 /* end confdefs.h. */
19649 #include <ctype.h>
19651 main ()
19653 int ch;
19654 int ret;
19655 ret = isblank(ch);
19658 return 0;
19660 _ACEOF
19661 if ac_fn_cxx_try_compile "$LINENO"; then :
19662 glibcxx_cv_c99_ctype_tr1=yes
19663 else
19664 glibcxx_cv_c99_ctype_tr1=no
19666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
19671 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
19672 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19674 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
19678 # Check for the existence of <fenv.h> functions.
19679 for ac_header in fenv.h
19680 do :
19681 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19682 if test "x$ac_cv_header_fenv_h" = x""yes; then :
19683 cat >>confdefs.h <<_ACEOF
19684 #define HAVE_FENV_H 1
19685 _ACEOF
19686 ac_has_fenv_h=yes
19687 else
19688 ac_has_fenv_h=no
19691 done
19693 ac_c99_fenv_tr1=no;
19694 if test x"$ac_has_fenv_h" = x"yes"; then
19695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19696 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19698 /* end confdefs.h. */
19699 #include <fenv.h>
19701 main ()
19703 int except, mode;
19704 fexcept_t* pflag;
19705 fenv_t* penv;
19706 int ret;
19707 ret = feclearexcept(except);
19708 ret = fegetexceptflag(pflag, except);
19709 ret = feraiseexcept(except);
19710 ret = fesetexceptflag(pflag, except);
19711 ret = fetestexcept(except);
19712 ret = fegetround();
19713 ret = fesetround(mode);
19714 ret = fegetenv(penv);
19715 ret = feholdexcept(penv);
19716 ret = fesetenv(penv);
19717 ret = feupdateenv(penv);
19720 return 0;
19722 _ACEOF
19723 if ac_fn_cxx_try_compile "$LINENO"; then :
19724 ac_c99_fenv_tr1=yes
19725 else
19726 ac_c99_fenv_tr1=no
19728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19731 $as_echo "$ac_c99_fenv_tr1" >&6; }
19732 if test x"$ac_c99_fenv_tr1" = x"yes"; then
19734 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19738 # Check for the existence of <stdint.h> types.
19739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19740 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19741 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
19742 $as_echo_n "(cached) " >&6
19743 else
19745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19746 /* end confdefs.h. */
19747 #define __STDC_LIMIT_MACROS
19748 #define __STDC_CONSTANT_MACROS
19749 #include <stdint.h>
19751 main ()
19753 typedef int8_t my_int8_t;
19754 my_int8_t i8 = INT8_MIN;
19755 i8 = INT8_MAX;
19756 typedef int16_t my_int16_t;
19757 my_int16_t i16 = INT16_MIN;
19758 i16 = INT16_MAX;
19759 typedef int32_t my_int32_t;
19760 my_int32_t i32 = INT32_MIN;
19761 i32 = INT32_MAX;
19762 typedef int64_t my_int64_t;
19763 my_int64_t i64 = INT64_MIN;
19764 i64 = INT64_MAX;
19765 typedef int_fast8_t my_int_fast8_t;
19766 my_int_fast8_t if8 = INT_FAST8_MIN;
19767 if8 = INT_FAST8_MAX;
19768 typedef int_fast16_t my_int_fast16_t;
19769 my_int_fast16_t if16 = INT_FAST16_MIN;
19770 if16 = INT_FAST16_MAX;
19771 typedef int_fast32_t my_int_fast32_t;
19772 my_int_fast32_t if32 = INT_FAST32_MIN;
19773 if32 = INT_FAST32_MAX;
19774 typedef int_fast64_t my_int_fast64_t;
19775 my_int_fast64_t if64 = INT_FAST64_MIN;
19776 if64 = INT_FAST64_MAX;
19777 typedef int_least8_t my_int_least8_t;
19778 my_int_least8_t il8 = INT_LEAST8_MIN;
19779 il8 = INT_LEAST8_MAX;
19780 typedef int_least16_t my_int_least16_t;
19781 my_int_least16_t il16 = INT_LEAST16_MIN;
19782 il16 = INT_LEAST16_MAX;
19783 typedef int_least32_t my_int_least32_t;
19784 my_int_least32_t il32 = INT_LEAST32_MIN;
19785 il32 = INT_LEAST32_MAX;
19786 typedef int_least64_t my_int_least64_t;
19787 my_int_least64_t il64 = INT_LEAST64_MIN;
19788 il64 = INT_LEAST64_MAX;
19789 typedef intmax_t my_intmax_t;
19790 my_intmax_t im = INTMAX_MAX;
19791 im = INTMAX_MIN;
19792 typedef intptr_t my_intptr_t;
19793 my_intptr_t ip = INTPTR_MAX;
19794 ip = INTPTR_MIN;
19795 typedef uint8_t my_uint8_t;
19796 my_uint8_t ui8 = UINT8_MAX;
19797 ui8 = UINT8_MAX;
19798 typedef uint16_t my_uint16_t;
19799 my_uint16_t ui16 = UINT16_MAX;
19800 ui16 = UINT16_MAX;
19801 typedef uint32_t my_uint32_t;
19802 my_uint32_t ui32 = UINT32_MAX;
19803 ui32 = UINT32_MAX;
19804 typedef uint64_t my_uint64_t;
19805 my_uint64_t ui64 = UINT64_MAX;
19806 ui64 = UINT64_MAX;
19807 typedef uint_fast8_t my_uint_fast8_t;
19808 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19809 uif8 = UINT_FAST8_MAX;
19810 typedef uint_fast16_t my_uint_fast16_t;
19811 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19812 uif16 = UINT_FAST16_MAX;
19813 typedef uint_fast32_t my_uint_fast32_t;
19814 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19815 uif32 = UINT_FAST32_MAX;
19816 typedef uint_fast64_t my_uint_fast64_t;
19817 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19818 uif64 = UINT_FAST64_MAX;
19819 typedef uint_least8_t my_uint_least8_t;
19820 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19821 uil8 = UINT_LEAST8_MAX;
19822 typedef uint_least16_t my_uint_least16_t;
19823 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19824 uil16 = UINT_LEAST16_MAX;
19825 typedef uint_least32_t my_uint_least32_t;
19826 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19827 uil32 = UINT_LEAST32_MAX;
19828 typedef uint_least64_t my_uint_least64_t;
19829 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19830 uil64 = UINT_LEAST64_MAX;
19831 typedef uintmax_t my_uintmax_t;
19832 my_uintmax_t uim = UINTMAX_MAX;
19833 uim = UINTMAX_MAX;
19834 typedef uintptr_t my_uintptr_t;
19835 my_uintptr_t uip = UINTPTR_MAX;
19836 uip = UINTPTR_MAX;
19839 return 0;
19841 _ACEOF
19842 if ac_fn_cxx_try_compile "$LINENO"; then :
19843 glibcxx_cv_c99_stdint_tr1=yes
19844 else
19845 glibcxx_cv_c99_stdint_tr1=no
19847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
19852 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
19853 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19855 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19859 # Check for the existence of <math.h> functions.
19860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19861 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19862 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
19863 $as_echo_n "(cached) " >&6
19864 else
19866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19867 /* end confdefs.h. */
19868 #include <math.h>
19870 main ()
19872 typedef double_t my_double_t;
19873 typedef float_t my_float_t;
19874 acosh(0.0);
19875 acoshf(0.0f);
19876 acoshl(0.0l);
19877 asinh(0.0);
19878 asinhf(0.0f);
19879 asinhl(0.0l);
19880 atanh(0.0);
19881 atanhf(0.0f);
19882 atanhl(0.0l);
19883 cbrt(0.0);
19884 cbrtf(0.0f);
19885 cbrtl(0.0l);
19886 copysign(0.0, 0.0);
19887 copysignf(0.0f, 0.0f);
19888 copysignl(0.0l, 0.0l);
19889 erf(0.0);
19890 erff(0.0f);
19891 erfl(0.0l);
19892 erfc(0.0);
19893 erfcf(0.0f);
19894 erfcl(0.0l);
19895 exp2(0.0);
19896 exp2f(0.0f);
19897 exp2l(0.0l);
19898 expm1(0.0);
19899 expm1f(0.0f);
19900 expm1l(0.0l);
19901 fdim(0.0, 0.0);
19902 fdimf(0.0f, 0.0f);
19903 fdiml(0.0l, 0.0l);
19904 fma(0.0, 0.0, 0.0);
19905 fmaf(0.0f, 0.0f, 0.0f);
19906 fmal(0.0l, 0.0l, 0.0l);
19907 fmax(0.0, 0.0);
19908 fmaxf(0.0f, 0.0f);
19909 fmaxl(0.0l, 0.0l);
19910 fmin(0.0, 0.0);
19911 fminf(0.0f, 0.0f);
19912 fminl(0.0l, 0.0l);
19913 hypot(0.0, 0.0);
19914 hypotf(0.0f, 0.0f);
19915 hypotl(0.0l, 0.0l);
19916 ilogb(0.0);
19917 ilogbf(0.0f);
19918 ilogbl(0.0l);
19919 lgamma(0.0);
19920 lgammaf(0.0f);
19921 lgammal(0.0l);
19922 llrint(0.0);
19923 llrintf(0.0f);
19924 llrintl(0.0l);
19925 llround(0.0);
19926 llroundf(0.0f);
19927 llroundl(0.0l);
19928 log1p(0.0);
19929 log1pf(0.0f);
19930 log1pl(0.0l);
19931 log2(0.0);
19932 log2f(0.0f);
19933 log2l(0.0l);
19934 logb(0.0);
19935 logbf(0.0f);
19936 logbl(0.0l);
19937 lrint(0.0);
19938 lrintf(0.0f);
19939 lrintl(0.0l);
19940 lround(0.0);
19941 lroundf(0.0f);
19942 lroundl(0.0l);
19943 nan(0);
19944 nanf(0);
19945 nanl(0);
19946 nearbyint(0.0);
19947 nearbyintf(0.0f);
19948 nearbyintl(0.0l);
19949 nextafter(0.0, 0.0);
19950 nextafterf(0.0f, 0.0f);
19951 nextafterl(0.0l, 0.0l);
19952 nexttoward(0.0, 0.0);
19953 nexttowardf(0.0f, 0.0f);
19954 nexttowardl(0.0l, 0.0l);
19955 remainder(0.0, 0.0);
19956 remainderf(0.0f, 0.0f);
19957 remainderl(0.0l, 0.0l);
19958 remquo(0.0, 0.0, 0);
19959 remquof(0.0f, 0.0f, 0);
19960 remquol(0.0l, 0.0l, 0);
19961 rint(0.0);
19962 rintf(0.0f);
19963 rintl(0.0l);
19964 round(0.0);
19965 roundf(0.0f);
19966 roundl(0.0l);
19967 scalbln(0.0, 0l);
19968 scalblnf(0.0f, 0l);
19969 scalblnl(0.0l, 0l);
19970 scalbn(0.0, 0);
19971 scalbnf(0.0f, 0);
19972 scalbnl(0.0l, 0);
19973 tgamma(0.0);
19974 tgammaf(0.0f);
19975 tgammal(0.0l);
19976 trunc(0.0);
19977 truncf(0.0f);
19978 truncl(0.0l);
19981 return 0;
19983 _ACEOF
19984 if ac_fn_cxx_try_compile "$LINENO"; then :
19985 glibcxx_cv_c99_math_tr1=yes
19986 else
19987 glibcxx_cv_c99_math_tr1=no
19989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19994 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19995 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19997 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20001 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20002 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20003 ac_c99_inttypes_tr1=no;
20004 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20006 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20008 /* end confdefs.h. */
20009 #include <inttypes.h>
20011 main ()
20013 intmax_t i, numer, denom, base;
20014 const char* s;
20015 char** endptr;
20016 intmax_t ret = imaxabs(i);
20017 imaxdiv_t dret = imaxdiv(numer, denom);
20018 ret = strtoimax(s, endptr, base);
20019 uintmax_t uret = strtoumax(s, endptr, base);
20022 return 0;
20024 _ACEOF
20025 if ac_fn_cxx_try_compile "$LINENO"; then :
20026 ac_c99_inttypes_tr1=yes
20027 else
20028 ac_c99_inttypes_tr1=no
20030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20033 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20034 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20036 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20040 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20041 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20042 ac_c99_inttypes_wchar_t_tr1=no;
20043 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20045 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20047 /* end confdefs.h. */
20048 #include <inttypes.h>
20050 main ()
20052 intmax_t base;
20053 const wchar_t* s;
20054 wchar_t** endptr;
20055 intmax_t ret = wcstoimax(s, endptr, base);
20056 uintmax_t uret = wcstoumax(s, endptr, base);
20059 return 0;
20061 _ACEOF
20062 if ac_fn_cxx_try_compile "$LINENO"; then :
20063 ac_c99_inttypes_wchar_t_tr1=yes
20064 else
20065 ac_c99_inttypes_wchar_t_tr1=no
20067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20070 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20071 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20073 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20077 # Check for the existence of the <stdbool.h> header.
20078 for ac_header in stdbool.h
20079 do :
20080 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20081 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
20082 cat >>confdefs.h <<_ACEOF
20083 #define HAVE_STDBOOL_H 1
20084 _ACEOF
20088 done
20091 # Check for the existence of the <stdalign.h> header.
20092 for ac_header in stdalign.h
20093 do :
20094 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20095 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
20096 cat >>confdefs.h <<_ACEOF
20097 #define HAVE_STDALIGN_H 1
20098 _ACEOF
20102 done
20105 CXXFLAGS="$ac_save_CXXFLAGS"
20106 ac_ext=c
20107 ac_cpp='$CPP $CPPFLAGS'
20108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20114 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20118 $as_echo_n "checking for the value of EOF... " >&6; }
20119 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
20120 $as_echo_n "(cached) " >&6
20121 else
20123 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20125 else
20126 as_fn_error "computing EOF failed" "$LINENO" 5
20131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20132 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20134 cat >>confdefs.h <<_ACEOF
20135 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20136 _ACEOF
20139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20140 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20141 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
20142 $as_echo_n "(cached) " >&6
20143 else
20145 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20147 else
20148 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
20153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20154 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20156 cat >>confdefs.h <<_ACEOF
20157 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20158 _ACEOF
20161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20162 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20163 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
20164 $as_echo_n "(cached) " >&6
20165 else
20167 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20169 else
20170 as_fn_error "computing SEEK_END failed" "$LINENO" 5
20175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20176 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20178 cat >>confdefs.h <<_ACEOF
20179 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20180 _ACEOF
20184 # For gettimeofday support.
20187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20188 $as_echo_n "checking for gettimeofday... " >&6; }
20191 ac_ext=cpp
20192 ac_cpp='$CXXCPP $CPPFLAGS'
20193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20197 ac_save_CXXFLAGS="$CXXFLAGS"
20198 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20200 ac_has_gettimeofday=no;
20201 for ac_header in sys/time.h
20202 do :
20203 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20204 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
20205 cat >>confdefs.h <<_ACEOF
20206 #define HAVE_SYS_TIME_H 1
20207 _ACEOF
20208 ac_has_sys_time_h=yes
20209 else
20210 ac_has_sys_time_h=no
20213 done
20215 if test x"$ac_has_sys_time_h" = x"yes"; then
20216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20217 $as_echo_n "checking for gettimeofday... " >&6; }
20218 if test x$gcc_no_link = xyes; then
20219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20220 /* end confdefs.h. */
20221 #include <sys/time.h>
20223 main ()
20225 timeval tv; gettimeofday(&tv, 0);
20227 return 0;
20229 _ACEOF
20230 if ac_fn_cxx_try_compile "$LINENO"; then :
20231 ac_has_gettimeofday=yes
20232 else
20233 ac_has_gettimeofday=no
20235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20236 else
20237 if test x$gcc_no_link = xyes; then
20238 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20241 /* end confdefs.h. */
20242 #include <sys/time.h>
20244 main ()
20246 timeval tv; gettimeofday(&tv, 0);
20248 return 0;
20250 _ACEOF
20251 if ac_fn_cxx_try_link "$LINENO"; then :
20252 ac_has_gettimeofday=yes
20253 else
20254 ac_has_gettimeofday=no
20256 rm -f core conftest.err conftest.$ac_objext \
20257 conftest$ac_exeext conftest.$ac_ext
20260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20261 $as_echo "$ac_has_gettimeofday" >&6; }
20264 if test x"$ac_has_gettimeofday" = x"yes"; then
20266 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20270 CXXFLAGS="$ac_save_CXXFLAGS"
20271 ac_ext=c
20272 ac_cpp='$CPP $CPPFLAGS'
20273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20279 # For clock_gettime, nanosleep and sched_yield support.
20282 # Check whether --enable-libstdcxx-time was given.
20283 if test "${enable_libstdcxx_time+set}" = set; then :
20284 enableval=$enable_libstdcxx_time;
20285 case "$enableval" in
20286 yes|no|rt) ;;
20287 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20288 esac
20290 else
20291 enable_libstdcxx_time=auto
20297 ac_ext=cpp
20298 ac_cpp='$CXXCPP $CPPFLAGS'
20299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20303 ac_save_CXXFLAGS="$CXXFLAGS"
20304 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20305 ac_save_LIBS="$LIBS"
20307 ac_has_clock_monotonic=no
20308 ac_has_clock_realtime=no
20309 ac_has_nanosleep=no
20310 ac_has_sched_yield=no
20312 if test x"$enable_libstdcxx_time" = x"auto"; then
20314 case "${target_os}" in
20315 cygwin*)
20316 ac_has_nanosleep=yes
20318 darwin*)
20319 ac_has_nanosleep=yes
20320 ac_has_sched_yield=yes
20322 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
20324 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
20325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20326 /* end confdefs.h. */
20327 #include <features.h>
20329 main ()
20332 #if ! __GLIBC_PREREQ(2, 17)
20333 #error
20334 #endif
20337 return 0;
20339 _ACEOF
20340 if ac_fn_cxx_try_compile "$LINENO"; then :
20341 glibcxx_glibc217=yes
20342 else
20343 glibcxx_glibc217=no
20345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
20347 $as_echo "$glibcxx_glibc217" >&6; }
20349 if test x"$glibcxx_glibc217" = x"yes"; then
20350 ac_has_clock_monotonic=yes
20351 ac_has_clock_realtime=yes
20353 ac_has_nanosleep=yes
20354 ac_has_sched_yield=yes
20356 freebsd*|netbsd*|dragonfly*)
20357 ac_has_clock_monotonic=yes
20358 ac_has_clock_realtime=yes
20359 ac_has_nanosleep=yes
20360 ac_has_sched_yield=yes
20362 openbsd*)
20363 ac_has_clock_monotonic=yes
20364 ac_has_clock_realtime=yes
20365 ac_has_nanosleep=yes
20367 solaris*)
20368 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
20369 ac_has_clock_monotonic=yes
20370 ac_has_clock_realtime=yes
20371 ac_has_nanosleep=yes
20372 ac_has_sched_yield=yes
20374 esac
20376 elif test x"$enable_libstdcxx_time" != x"no"; then
20378 if test x"$enable_libstdcxx_time" = x"rt"; then
20379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20380 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20381 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20382 $as_echo_n "(cached) " >&6
20383 else
20384 ac_func_search_save_LIBS=$LIBS
20385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20386 /* end confdefs.h. */
20388 /* Override any GCC internal prototype to avoid an error.
20389 Use char because int might match the return type of a GCC
20390 builtin and then its argument prototype would still apply. */
20391 #ifdef __cplusplus
20392 extern "C"
20393 #endif
20394 char clock_gettime ();
20396 main ()
20398 return clock_gettime ();
20400 return 0;
20402 _ACEOF
20403 for ac_lib in '' rt posix4; do
20404 if test -z "$ac_lib"; then
20405 ac_res="none required"
20406 else
20407 ac_res=-l$ac_lib
20408 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20410 if test x$gcc_no_link = xyes; then
20411 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20413 if ac_fn_cxx_try_link "$LINENO"; then :
20414 ac_cv_search_clock_gettime=$ac_res
20416 rm -f core conftest.err conftest.$ac_objext \
20417 conftest$ac_exeext
20418 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20419 break
20421 done
20422 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20424 else
20425 ac_cv_search_clock_gettime=no
20427 rm conftest.$ac_ext
20428 LIBS=$ac_func_search_save_LIBS
20430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20431 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20432 ac_res=$ac_cv_search_clock_gettime
20433 if test "$ac_res" != no; then :
20434 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20439 $as_echo_n "checking for library containing nanosleep... " >&6; }
20440 if test "${ac_cv_search_nanosleep+set}" = set; then :
20441 $as_echo_n "(cached) " >&6
20442 else
20443 ac_func_search_save_LIBS=$LIBS
20444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20445 /* end confdefs.h. */
20447 /* Override any GCC internal prototype to avoid an error.
20448 Use char because int might match the return type of a GCC
20449 builtin and then its argument prototype would still apply. */
20450 #ifdef __cplusplus
20451 extern "C"
20452 #endif
20453 char nanosleep ();
20455 main ()
20457 return nanosleep ();
20459 return 0;
20461 _ACEOF
20462 for ac_lib in '' rt posix4; do
20463 if test -z "$ac_lib"; then
20464 ac_res="none required"
20465 else
20466 ac_res=-l$ac_lib
20467 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20469 if test x$gcc_no_link = xyes; then
20470 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20472 if ac_fn_cxx_try_link "$LINENO"; then :
20473 ac_cv_search_nanosleep=$ac_res
20475 rm -f core conftest.err conftest.$ac_objext \
20476 conftest$ac_exeext
20477 if test "${ac_cv_search_nanosleep+set}" = set; then :
20478 break
20480 done
20481 if test "${ac_cv_search_nanosleep+set}" = set; then :
20483 else
20484 ac_cv_search_nanosleep=no
20486 rm conftest.$ac_ext
20487 LIBS=$ac_func_search_save_LIBS
20489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20490 $as_echo "$ac_cv_search_nanosleep" >&6; }
20491 ac_res=$ac_cv_search_nanosleep
20492 if test "$ac_res" != no; then :
20493 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20497 else
20498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20499 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20500 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20501 $as_echo_n "(cached) " >&6
20502 else
20503 ac_func_search_save_LIBS=$LIBS
20504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20505 /* end confdefs.h. */
20507 /* Override any GCC internal prototype to avoid an error.
20508 Use char because int might match the return type of a GCC
20509 builtin and then its argument prototype would still apply. */
20510 #ifdef __cplusplus
20511 extern "C"
20512 #endif
20513 char clock_gettime ();
20515 main ()
20517 return clock_gettime ();
20519 return 0;
20521 _ACEOF
20522 for ac_lib in '' posix4; do
20523 if test -z "$ac_lib"; then
20524 ac_res="none required"
20525 else
20526 ac_res=-l$ac_lib
20527 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20529 if test x$gcc_no_link = xyes; then
20530 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20532 if ac_fn_cxx_try_link "$LINENO"; then :
20533 ac_cv_search_clock_gettime=$ac_res
20535 rm -f core conftest.err conftest.$ac_objext \
20536 conftest$ac_exeext
20537 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20538 break
20540 done
20541 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20543 else
20544 ac_cv_search_clock_gettime=no
20546 rm conftest.$ac_ext
20547 LIBS=$ac_func_search_save_LIBS
20549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20550 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20551 ac_res=$ac_cv_search_clock_gettime
20552 if test "$ac_res" != no; then :
20553 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20558 $as_echo_n "checking for library containing nanosleep... " >&6; }
20559 if test "${ac_cv_search_nanosleep+set}" = set; then :
20560 $as_echo_n "(cached) " >&6
20561 else
20562 ac_func_search_save_LIBS=$LIBS
20563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20564 /* end confdefs.h. */
20566 /* Override any GCC internal prototype to avoid an error.
20567 Use char because int might match the return type of a GCC
20568 builtin and then its argument prototype would still apply. */
20569 #ifdef __cplusplus
20570 extern "C"
20571 #endif
20572 char nanosleep ();
20574 main ()
20576 return nanosleep ();
20578 return 0;
20580 _ACEOF
20581 for ac_lib in '' posix4; do
20582 if test -z "$ac_lib"; then
20583 ac_res="none required"
20584 else
20585 ac_res=-l$ac_lib
20586 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20588 if test x$gcc_no_link = xyes; then
20589 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20591 if ac_fn_cxx_try_link "$LINENO"; then :
20592 ac_cv_search_nanosleep=$ac_res
20594 rm -f core conftest.err conftest.$ac_objext \
20595 conftest$ac_exeext
20596 if test "${ac_cv_search_nanosleep+set}" = set; then :
20597 break
20599 done
20600 if test "${ac_cv_search_nanosleep+set}" = set; then :
20602 else
20603 ac_cv_search_nanosleep=no
20605 rm conftest.$ac_ext
20606 LIBS=$ac_func_search_save_LIBS
20608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20609 $as_echo "$ac_cv_search_nanosleep" >&6; }
20610 ac_res=$ac_cv_search_nanosleep
20611 if test "$ac_res" != no; then :
20612 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20618 case "$ac_cv_search_clock_gettime" in
20619 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
20621 esac
20622 case "$ac_cv_search_nanosleep" in
20623 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
20625 esac
20627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
20628 $as_echo_n "checking for library containing sched_yield... " >&6; }
20629 if test "${ac_cv_search_sched_yield+set}" = set; then :
20630 $as_echo_n "(cached) " >&6
20631 else
20632 ac_func_search_save_LIBS=$LIBS
20633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20634 /* end confdefs.h. */
20636 /* Override any GCC internal prototype to avoid an error.
20637 Use char because int might match the return type of a GCC
20638 builtin and then its argument prototype would still apply. */
20639 #ifdef __cplusplus
20640 extern "C"
20641 #endif
20642 char sched_yield ();
20644 main ()
20646 return sched_yield ();
20648 return 0;
20650 _ACEOF
20651 for ac_lib in '' rt posix4; do
20652 if test -z "$ac_lib"; then
20653 ac_res="none required"
20654 else
20655 ac_res=-l$ac_lib
20656 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20658 if test x$gcc_no_link = xyes; then
20659 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20661 if ac_fn_cxx_try_link "$LINENO"; then :
20662 ac_cv_search_sched_yield=$ac_res
20664 rm -f core conftest.err conftest.$ac_objext \
20665 conftest$ac_exeext
20666 if test "${ac_cv_search_sched_yield+set}" = set; then :
20667 break
20669 done
20670 if test "${ac_cv_search_sched_yield+set}" = set; then :
20672 else
20673 ac_cv_search_sched_yield=no
20675 rm conftest.$ac_ext
20676 LIBS=$ac_func_search_save_LIBS
20678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
20679 $as_echo "$ac_cv_search_sched_yield" >&6; }
20680 ac_res=$ac_cv_search_sched_yield
20681 if test "$ac_res" != no; then :
20682 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20687 case "$ac_cv_search_sched_yield" in
20688 -lposix4*)
20689 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20690 ac_has_sched_yield=yes
20692 -lrt*)
20693 if test x"$enable_libstdcxx_time" = x"rt"; then
20694 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20695 ac_has_sched_yield=yes
20699 ac_has_sched_yield=yes
20701 esac
20703 for ac_header in unistd.h
20704 do :
20705 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20706 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20707 cat >>confdefs.h <<_ACEOF
20708 #define HAVE_UNISTD_H 1
20709 _ACEOF
20710 ac_has_unistd_h=yes
20711 else
20712 ac_has_unistd_h=no
20715 done
20718 if test x"$ac_has_unistd_h" = x"yes"; then
20719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20720 $as_echo_n "checking for monotonic clock... " >&6; }
20721 if test x$gcc_no_link = xyes; then
20722 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20725 /* end confdefs.h. */
20726 #include <unistd.h>
20727 #include <time.h>
20730 main ()
20732 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20733 timespec tp;
20734 #endif
20735 clock_gettime(CLOCK_MONOTONIC, &tp);
20738 return 0;
20740 _ACEOF
20741 if ac_fn_cxx_try_link "$LINENO"; then :
20742 ac_has_clock_monotonic=yes
20743 else
20744 ac_has_clock_monotonic=no
20746 rm -f core conftest.err conftest.$ac_objext \
20747 conftest$ac_exeext conftest.$ac_ext
20749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20750 $as_echo "$ac_has_clock_monotonic" >&6; }
20752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20753 $as_echo_n "checking for realtime clock... " >&6; }
20754 if test x$gcc_no_link = xyes; then
20755 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20758 /* end confdefs.h. */
20759 #include <unistd.h>
20760 #include <time.h>
20763 main ()
20765 #if _POSIX_TIMERS > 0
20766 timespec tp;
20767 #endif
20768 clock_gettime(CLOCK_REALTIME, &tp);
20771 return 0;
20773 _ACEOF
20774 if ac_fn_cxx_try_link "$LINENO"; then :
20775 ac_has_clock_realtime=yes
20776 else
20777 ac_has_clock_realtime=no
20779 rm -f core conftest.err conftest.$ac_objext \
20780 conftest$ac_exeext conftest.$ac_ext
20782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20783 $as_echo "$ac_has_clock_realtime" >&6; }
20785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
20786 $as_echo_n "checking for nanosleep... " >&6; }
20787 if test x$gcc_no_link = xyes; then
20788 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20791 /* end confdefs.h. */
20792 #include <unistd.h>
20793 #include <time.h>
20796 main ()
20798 #if _POSIX_TIMERS > 0
20799 timespec tp;
20800 #endif
20801 nanosleep(&tp, 0);
20804 return 0;
20806 _ACEOF
20807 if ac_fn_cxx_try_link "$LINENO"; then :
20808 ac_has_nanosleep=yes
20809 else
20810 ac_has_nanosleep=no
20812 rm -f core conftest.err conftest.$ac_objext \
20813 conftest$ac_exeext conftest.$ac_ext
20815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
20816 $as_echo "$ac_has_nanosleep" >&6; }
20820 if test x"$ac_has_clock_monotonic" != x"yes"; then
20821 case ${target_os} in
20822 linux*)
20823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
20824 $as_echo_n "checking for clock_gettime syscall... " >&6; }
20825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20826 /* end confdefs.h. */
20827 #include <unistd.h>
20828 #include <time.h>
20829 #include <sys/syscall.h>
20832 main ()
20834 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20835 timespec tp;
20836 #endif
20837 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20838 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20841 return 0;
20843 _ACEOF
20844 if ac_fn_cxx_try_compile "$LINENO"; then :
20845 ac_has_clock_monotonic_syscall=yes
20846 else
20847 ac_has_clock_monotonic_syscall=no
20849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
20851 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
20852 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
20854 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
20856 ac_has_clock_monotonic=yes
20857 ac_has_clock_realtime=yes
20858 fi;;
20859 esac
20862 if test x"$ac_has_clock_monotonic" = x"yes"; then
20864 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
20868 if test x"$ac_has_clock_realtime" = x"yes"; then
20870 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
20874 if test x"$ac_has_sched_yield" = x"yes"; then
20876 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20880 if test x"$ac_has_nanosleep" = x"yes"; then
20882 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20884 else
20885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20886 $as_echo_n "checking for sleep... " >&6; }
20887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20888 /* end confdefs.h. */
20889 #include <unistd.h>
20891 main ()
20893 sleep(1)
20895 return 0;
20897 _ACEOF
20898 if ac_fn_cxx_try_compile "$LINENO"; then :
20899 ac_has_sleep=yes
20900 else
20901 ac_has_sleep=no
20903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20904 if test x"$ac_has_sleep" = x"yes"; then
20906 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
20909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
20910 $as_echo "$ac_has_sleep" >&6; }
20911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
20912 $as_echo_n "checking for usleep... " >&6; }
20913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20914 /* end confdefs.h. */
20915 #include <unistd.h>
20917 main ()
20919 sleep(1);
20920 usleep(100);
20922 return 0;
20924 _ACEOF
20925 if ac_fn_cxx_try_compile "$LINENO"; then :
20926 ac_has_usleep=yes
20927 else
20928 ac_has_usleep=no
20930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20931 if test x"$ac_has_usleep" = x"yes"; then
20933 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
20936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
20937 $as_echo "$ac_has_usleep" >&6; }
20940 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
20941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
20942 $as_echo_n "checking for Sleep... " >&6; }
20943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20944 /* end confdefs.h. */
20945 #include <windows.h>
20947 main ()
20949 Sleep(1)
20951 return 0;
20953 _ACEOF
20954 if ac_fn_cxx_try_compile "$LINENO"; then :
20955 ac_has_win32_sleep=yes
20956 else
20957 ac_has_win32_sleep=no
20959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20960 if test x"$ac_has_win32_sleep" = x"yes"; then
20962 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
20965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
20966 $as_echo "$ac_has_win32_sleep" >&6; }
20971 CXXFLAGS="$ac_save_CXXFLAGS"
20972 LIBS="$ac_save_LIBS"
20973 ac_ext=c
20974 ac_cpp='$CPP $CPPFLAGS'
20975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20981 # Check for tmpnam which is obsolescent in POSIX.1-2008
20983 ac_ext=cpp
20984 ac_cpp='$CXXCPP $CPPFLAGS'
20985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20989 ac_save_CXXFLAGS="$CXXFLAGS"
20990 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
20992 $as_echo_n "checking for tmpnam... " >&6; }
20993 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
20994 $as_echo_n "(cached) " >&6
20995 else
20996 if test x$gcc_no_link = xyes; then
20997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20998 /* end confdefs.h. */
20999 #include <stdio.h>
21001 main ()
21003 char *tmp = tmpnam(NULL);
21005 return 0;
21007 _ACEOF
21008 if ac_fn_cxx_try_compile "$LINENO"; then :
21009 glibcxx_cv_TMPNAM=yes
21010 else
21011 glibcxx_cv_TMPNAM=no
21013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21014 else
21015 if test x$gcc_no_link = xyes; then
21016 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21019 /* end confdefs.h. */
21020 #include <stdio.h>
21022 main ()
21024 char *tmp = tmpnam(NULL);
21026 return 0;
21028 _ACEOF
21029 if ac_fn_cxx_try_link "$LINENO"; then :
21030 glibcxx_cv_TMPNAM=yes
21031 else
21032 glibcxx_cv_TMPNAM=no
21034 rm -f core conftest.err conftest.$ac_objext \
21035 conftest$ac_exeext conftest.$ac_ext
21040 if test $glibcxx_cv_TMPNAM = yes; then
21042 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21046 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21047 CXXFLAGS="$ac_save_CXXFLAGS"
21048 ac_ext=c
21049 ac_cpp='$CPP $CPPFLAGS'
21050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21057 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21058 if test "x$ac_cv_header_locale_h" = x""yes; then :
21060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21061 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21062 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
21063 $as_echo_n "(cached) " >&6
21064 else
21065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21066 /* end confdefs.h. */
21067 #include <locale.h>
21069 main ()
21071 return LC_MESSAGES
21073 return 0;
21075 _ACEOF
21076 if ac_fn_c_try_compile "$LINENO"; then :
21077 ac_cv_val_LC_MESSAGES=yes
21078 else
21079 ac_cv_val_LC_MESSAGES=no
21081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21084 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21085 if test $ac_cv_val_LC_MESSAGES = yes; then
21087 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21096 # For hardware_concurrency
21097 for ac_header in sys/sysinfo.h
21098 do :
21099 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21100 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
21101 cat >>confdefs.h <<_ACEOF
21102 #define HAVE_SYS_SYSINFO_H 1
21103 _ACEOF
21107 done
21112 ac_ext=cpp
21113 ac_cpp='$CXXCPP $CPPFLAGS'
21114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21118 ac_save_CXXFLAGS="$CXXFLAGS"
21119 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21122 $as_echo_n "checking for get_nprocs... " >&6; }
21123 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
21124 $as_echo_n "(cached) " >&6
21125 else
21127 if test x$gcc_no_link = xyes; then
21128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21129 /* end confdefs.h. */
21130 #include <sys/sysinfo.h>
21132 main ()
21134 int n = get_nprocs();
21136 return 0;
21138 _ACEOF
21139 if ac_fn_cxx_try_compile "$LINENO"; then :
21140 glibcxx_cv_GET_NPROCS=yes
21141 else
21142 glibcxx_cv_GET_NPROCS=no
21144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21145 else
21146 if test x$gcc_no_link = xyes; then
21147 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21150 /* end confdefs.h. */
21151 #include <sys/sysinfo.h>
21153 main ()
21155 int n = get_nprocs();
21157 return 0;
21159 _ACEOF
21160 if ac_fn_cxx_try_link "$LINENO"; then :
21161 glibcxx_cv_GET_NPROCS=yes
21162 else
21163 glibcxx_cv_GET_NPROCS=no
21165 rm -f core conftest.err conftest.$ac_objext \
21166 conftest$ac_exeext conftest.$ac_ext
21171 if test $glibcxx_cv_GET_NPROCS = yes; then
21173 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21177 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21179 CXXFLAGS="$ac_save_CXXFLAGS"
21180 ac_ext=c
21181 ac_cpp='$CPP $CPPFLAGS'
21182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21187 for ac_header in unistd.h
21188 do :
21189 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21190 if test "x$ac_cv_header_unistd_h" = x""yes; then :
21191 cat >>confdefs.h <<_ACEOF
21192 #define HAVE_UNISTD_H 1
21193 _ACEOF
21197 done
21202 ac_ext=cpp
21203 ac_cpp='$CXXCPP $CPPFLAGS'
21204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21208 ac_save_CXXFLAGS="$CXXFLAGS"
21209 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21212 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21213 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
21214 $as_echo_n "(cached) " >&6
21215 else
21217 if test x$gcc_no_link = xyes; then
21218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21219 /* end confdefs.h. */
21220 #include <unistd.h>
21222 main ()
21224 int n = sysconf(_SC_NPROCESSORS_ONLN);
21226 return 0;
21228 _ACEOF
21229 if ac_fn_cxx_try_compile "$LINENO"; then :
21230 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21231 else
21232 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21235 else
21236 if test x$gcc_no_link = xyes; then
21237 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21240 /* end confdefs.h. */
21241 #include <unistd.h>
21243 main ()
21245 int n = sysconf(_SC_NPROCESSORS_ONLN);
21247 return 0;
21249 _ACEOF
21250 if ac_fn_cxx_try_link "$LINENO"; then :
21251 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21252 else
21253 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21255 rm -f core conftest.err conftest.$ac_objext \
21256 conftest$ac_exeext conftest.$ac_ext
21261 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21263 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21267 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21269 CXXFLAGS="$ac_save_CXXFLAGS"
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 ac_ext=cpp
21281 ac_cpp='$CXXCPP $CPPFLAGS'
21282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21286 ac_save_CXXFLAGS="$CXXFLAGS"
21287 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21290 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21291 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
21292 $as_echo_n "(cached) " >&6
21293 else
21295 if test x$gcc_no_link = xyes; then
21296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21297 /* end confdefs.h. */
21298 #include <unistd.h>
21300 main ()
21302 int n = sysconf(_SC_NPROC_ONLN);
21304 return 0;
21306 _ACEOF
21307 if ac_fn_cxx_try_compile "$LINENO"; then :
21308 glibcxx_cv_SC_NPROC_ONLN=yes
21309 else
21310 glibcxx_cv_SC_NPROC_ONLN=no
21312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21313 else
21314 if test x$gcc_no_link = xyes; then
21315 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21318 /* end confdefs.h. */
21319 #include <unistd.h>
21321 main ()
21323 int n = sysconf(_SC_NPROC_ONLN);
21325 return 0;
21327 _ACEOF
21328 if ac_fn_cxx_try_link "$LINENO"; then :
21329 glibcxx_cv_SC_NPROC_ONLN=yes
21330 else
21331 glibcxx_cv_SC_NPROC_ONLN=no
21333 rm -f core conftest.err conftest.$ac_objext \
21334 conftest$ac_exeext conftest.$ac_ext
21339 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21341 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21345 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21347 CXXFLAGS="$ac_save_CXXFLAGS"
21348 ac_ext=c
21349 ac_cpp='$CPP $CPPFLAGS'
21350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21358 ac_ext=cpp
21359 ac_cpp='$CXXCPP $CPPFLAGS'
21360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21364 ac_save_CXXFLAGS="$CXXFLAGS"
21365 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21368 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21369 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
21370 $as_echo_n "(cached) " >&6
21371 else
21373 if test x$gcc_no_link = xyes; then
21374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21375 /* end confdefs.h. */
21376 #include <pthread.h>
21378 main ()
21380 int n = pthread_num_processors_np();
21382 return 0;
21384 _ACEOF
21385 if ac_fn_cxx_try_compile "$LINENO"; then :
21386 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21387 else
21388 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21391 else
21392 if test x$gcc_no_link = xyes; then
21393 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21396 /* end confdefs.h. */
21397 #include <pthread.h>
21399 main ()
21401 int n = pthread_num_processors_np();
21403 return 0;
21405 _ACEOF
21406 if ac_fn_cxx_try_link "$LINENO"; then :
21407 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21408 else
21409 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21411 rm -f core conftest.err conftest.$ac_objext \
21412 conftest$ac_exeext conftest.$ac_ext
21417 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21419 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21423 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21425 CXXFLAGS="$ac_save_CXXFLAGS"
21426 ac_ext=c
21427 ac_cpp='$CPP $CPPFLAGS'
21428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21436 ac_ext=cpp
21437 ac_cpp='$CXXCPP $CPPFLAGS'
21438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21442 ac_save_CXXFLAGS="$CXXFLAGS"
21443 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21446 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21447 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
21448 $as_echo_n "(cached) " >&6
21449 else
21451 if test x$gcc_no_link = xyes; then
21452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21453 /* end confdefs.h. */
21455 #include <stddef.h>
21456 #include <sys/sysctl.h>
21459 main ()
21462 int count;
21463 size_t size = sizeof(count);
21464 int mib[] = { CTL_HW, HW_NCPU };
21465 sysctl(mib, 2, &count, &size, NULL, 0);
21468 return 0;
21470 _ACEOF
21471 if ac_fn_cxx_try_compile "$LINENO"; then :
21472 glibcxx_cv_SYSCTL_HW_NCPU=yes
21473 else
21474 glibcxx_cv_SYSCTL_HW_NCPU=no
21476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21477 else
21478 if test x$gcc_no_link = xyes; then
21479 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21482 /* end confdefs.h. */
21484 #include <stddef.h>
21485 #include <sys/sysctl.h>
21488 main ()
21491 int count;
21492 size_t size = sizeof(count);
21493 int mib[] = { CTL_HW, HW_NCPU };
21494 sysctl(mib, 2, &count, &size, NULL, 0);
21497 return 0;
21499 _ACEOF
21500 if ac_fn_cxx_try_link "$LINENO"; then :
21501 glibcxx_cv_SYSCTL_HW_NCPU=yes
21502 else
21503 glibcxx_cv_SYSCTL_HW_NCPU=no
21505 rm -f core conftest.err conftest.$ac_objext \
21506 conftest$ac_exeext conftest.$ac_ext
21511 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21513 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21517 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21519 CXXFLAGS="$ac_save_CXXFLAGS"
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
21528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21529 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21530 # Note that this test has to be run with the C language.
21531 # Otherwise, sdt.h will try to include some headers from
21532 # libstdc++ itself.
21534 ac_ext=c
21535 ac_cpp='$CPP $CPPFLAGS'
21536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21540 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
21541 $as_echo_n "(cached) " >&6
21542 else
21544 # Because we have to run the test in C, we use grep rather
21545 # than the compiler to check for the bug. The bug is that
21546 # were strings without trailing whitespace, causing g++
21547 # to look for operator"". The pattern searches for the fixed
21548 # output.
21549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21550 /* end confdefs.h. */
21552 #include <sys/sdt.h>
21553 int f() { STAP_PROBE(hi, bob); }
21555 _ACEOF
21556 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21557 $EGREP " \",\" " >/dev/null 2>&1; then :
21558 glibcxx_cv_sys_sdt_h=yes
21559 else
21560 glibcxx_cv_sys_sdt_h=no
21562 rm -f conftest*
21567 ac_ext=c
21568 ac_cpp='$CPP $CPPFLAGS'
21569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21573 if test $glibcxx_cv_sys_sdt_h = yes; then
21575 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
21578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
21579 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
21582 # Check for available headers.
21583 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
21584 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
21585 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
21586 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
21587 wchar.h wctype.h
21588 do :
21589 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21590 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21591 eval as_val=\$$as_ac_Header
21592 if test "x$as_val" = x""yes; then :
21593 cat >>confdefs.h <<_ACEOF
21594 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21595 _ACEOF
21599 done
21602 # Only do link tests if native. Else, hardcode.
21603 if $GLIBCXX_IS_NATIVE; then
21605 # We can do more elaborate tests that assume a working linker.
21606 CANADIAN=no
21610 # Check whether --with-gnu-ld was given.
21611 if test "${with_gnu_ld+set}" = set; then :
21612 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
21613 else
21614 with_gnu_ld=no
21617 ac_prog=ld
21618 if test "$GCC" = yes; then
21619 # Check if gcc -print-prog-name=ld gives a path.
21620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
21621 $as_echo_n "checking for ld used by $CC... " >&6; }
21622 case $host in
21623 *-*-mingw*)
21624 # gcc leaves a trailing carriage return which upsets mingw
21625 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21627 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
21628 esac
21629 case $ac_prog in
21630 # Accept absolute paths.
21631 [\\/]* | ?:[\\/]*)
21632 re_direlt='/[^/][^/]*/\.\./'
21633 # Canonicalize the pathname of ld
21634 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
21635 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
21636 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
21637 done
21638 test -z "$LD" && LD="$ac_prog"
21641 # If it fails, then pretend we aren't using GCC.
21642 ac_prog=ld
21645 # If it is relative, then search for the first ld in PATH.
21646 with_gnu_ld=unknown
21648 esac
21649 elif test "$with_gnu_ld" = yes; then
21650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
21651 $as_echo_n "checking for GNU ld... " >&6; }
21652 else
21653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
21654 $as_echo_n "checking for non-GNU ld... " >&6; }
21656 if test "${lt_cv_path_LD+set}" = set; then :
21657 $as_echo_n "(cached) " >&6
21658 else
21659 if test -z "$LD"; then
21660 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
21661 for ac_dir in $PATH; do
21662 IFS="$lt_save_ifs"
21663 test -z "$ac_dir" && ac_dir=.
21664 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
21665 lt_cv_path_LD="$ac_dir/$ac_prog"
21666 # Check to see if the program is GNU ld. I'd rather use --version,
21667 # but apparently some variants of GNU ld only accept -v.
21668 # Break only if it was the GNU/non-GNU ld that we prefer.
21669 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
21670 *GNU* | *'with BFD'*)
21671 test "$with_gnu_ld" != no && break
21674 test "$with_gnu_ld" != yes && break
21676 esac
21678 done
21679 IFS="$lt_save_ifs"
21680 else
21681 lt_cv_path_LD="$LD" # Let the user override the test with a path.
21685 LD="$lt_cv_path_LD"
21686 if test -n "$LD"; then
21687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
21688 $as_echo "$LD" >&6; }
21689 else
21690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21691 $as_echo "no" >&6; }
21693 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
21694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
21695 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
21696 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
21697 $as_echo_n "(cached) " >&6
21698 else
21699 # I'd rather use --version here, but apparently some GNU lds only accept -v.
21700 case `$LD -v 2>&1 </dev/null` in
21701 *GNU* | *'with BFD'*)
21702 lt_cv_prog_gnu_ld=yes
21705 lt_cv_prog_gnu_ld=no
21707 esac
21709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
21710 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
21711 with_gnu_ld=$lt_cv_prog_gnu_ld
21719 # If we're not using GNU ld, then there's no point in even trying these
21720 # tests. Check for that first. We should have already tested for gld
21721 # by now (in libtool), but require it now just to be safe...
21722 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
21723 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
21727 # The name set by libtool depends on the version of libtool. Shame on us
21728 # for depending on an impl detail, but c'est la vie. Older versions used
21729 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
21730 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
21731 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
21732 # set (hence we're using an older libtool), then set it.
21733 if test x${with_gnu_ld+set} != xset; then
21734 if test x${ac_cv_prog_gnu_ld+set} != xset; then
21735 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
21736 with_gnu_ld=no
21737 else
21738 with_gnu_ld=$ac_cv_prog_gnu_ld
21742 # Start by getting the version number. I think the libtool test already
21743 # does some of this, but throws away the result.
21744 glibcxx_ld_is_gold=no
21745 if test x"$with_gnu_ld" = x"yes"; then
21746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
21747 $as_echo_n "checking for ld version... " >&6; }
21749 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
21750 glibcxx_ld_is_gold=yes
21752 ldver=`$LD --version 2>/dev/null |
21753 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'`
21755 glibcxx_gnu_ld_version=`echo $ldver | \
21756 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
21757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
21758 $as_echo "$glibcxx_gnu_ld_version" >&6; }
21761 # Set --gc-sections.
21762 glibcxx_have_gc_sections=no
21763 if test "$glibcxx_ld_is_gold" = "yes"; then
21764 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
21765 glibcxx_have_gc_sections=yes
21767 else
21768 glibcxx_gcsections_min_ld=21602
21769 if test x"$with_gnu_ld" = x"yes" &&
21770 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
21771 glibcxx_have_gc_sections=yes
21774 if test "$glibcxx_have_gc_sections" = "yes"; then
21775 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
21776 # NB: This flag only works reliably after 2.16.1. Configure tests
21777 # for this are difficult, so hard wire a value that should work.
21779 ac_test_CFLAGS="${CFLAGS+set}"
21780 ac_save_CFLAGS="$CFLAGS"
21781 CFLAGS='-Wl,--gc-sections'
21783 # Check for -Wl,--gc-sections
21784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
21785 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
21786 if test x$gcc_no_link = xyes; then
21787 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21790 /* end confdefs.h. */
21791 int one(void) { return 1; }
21792 int two(void) { return 2; }
21795 main ()
21797 two();
21799 return 0;
21801 _ACEOF
21802 if ac_fn_c_try_link "$LINENO"; then :
21803 ac_gcsections=yes
21804 else
21805 ac_gcsections=no
21807 rm -f core conftest.err conftest.$ac_objext \
21808 conftest$ac_exeext conftest.$ac_ext
21809 if test "$ac_gcsections" = "yes"; then
21810 rm -f conftest.c
21811 touch conftest.c
21812 if $CC -c conftest.c; then
21813 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
21814 grep "Warning: gc-sections option ignored" > /dev/null; then
21815 ac_gcsections=no
21818 rm -f conftest.c conftest.o conftest
21820 if test "$ac_gcsections" = "yes"; then
21821 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
21823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
21824 $as_echo "$ac_gcsections" >&6; }
21826 if test "$ac_test_CFLAGS" = set; then
21827 CFLAGS="$ac_save_CFLAGS"
21828 else
21829 # this is the suspicious part
21830 CFLAGS=''
21834 # Set -z,relro.
21835 # Note this is only for shared objects.
21836 ac_ld_relro=no
21837 if test x"$with_gnu_ld" = x"yes"; then
21838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
21839 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
21840 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
21841 if test -n "$cxx_z_relo"; then
21842 OPT_LDFLAGS="-Wl,-z,relro"
21843 ac_ld_relro=yes
21845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
21846 $as_echo "$ac_ld_relro" >&6; }
21849 # Set linker optimization flags.
21850 if test x"$with_gnu_ld" = x"yes"; then
21851 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
21858 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21859 ac_save_CXXFLAGS="$CXXFLAGS"
21860 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
21862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
21863 $as_echo_n "checking for sin in -lm... " >&6; }
21864 if test "${ac_cv_lib_m_sin+set}" = set; then :
21865 $as_echo_n "(cached) " >&6
21866 else
21867 ac_check_lib_save_LIBS=$LIBS
21868 LIBS="-lm $LIBS"
21869 if test x$gcc_no_link = xyes; then
21870 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21873 /* end confdefs.h. */
21875 /* Override any GCC internal prototype to avoid an error.
21876 Use char because int might match the return type of a GCC
21877 builtin and then its argument prototype would still apply. */
21878 #ifdef __cplusplus
21879 extern "C"
21880 #endif
21881 char sin ();
21883 main ()
21885 return sin ();
21887 return 0;
21889 _ACEOF
21890 if ac_fn_c_try_link "$LINENO"; then :
21891 ac_cv_lib_m_sin=yes
21892 else
21893 ac_cv_lib_m_sin=no
21895 rm -f core conftest.err conftest.$ac_objext \
21896 conftest$ac_exeext conftest.$ac_ext
21897 LIBS=$ac_check_lib_save_LIBS
21899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
21900 $as_echo "$ac_cv_lib_m_sin" >&6; }
21901 if test "x$ac_cv_lib_m_sin" = x""yes; then :
21902 libm="-lm"
21905 ac_save_LIBS="$LIBS"
21906 LIBS="$LIBS $libm"
21910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
21911 $as_echo_n "checking for isinf declaration... " >&6; }
21912 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
21913 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
21914 $as_echo_n "(cached) " >&6
21915 else
21918 ac_ext=cpp
21919 ac_cpp='$CXXCPP $CPPFLAGS'
21920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21925 /* end confdefs.h. */
21926 #include <math.h>
21927 #ifdef HAVE_IEEEFP_H
21928 #include <ieeefp.h>
21929 #endif
21932 main ()
21934 isinf(0);
21936 return 0;
21938 _ACEOF
21939 if ac_fn_cxx_try_compile "$LINENO"; then :
21940 glibcxx_cv_func_isinf_use=yes
21941 else
21942 glibcxx_cv_func_isinf_use=no
21944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21945 ac_ext=c
21946 ac_cpp='$CPP $CPPFLAGS'
21947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
21956 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
21958 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
21959 for ac_func in isinf
21960 do :
21961 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
21962 if test "x$ac_cv_func_isinf" = x""yes; then :
21963 cat >>confdefs.h <<_ACEOF
21964 #define HAVE_ISINF 1
21965 _ACEOF
21968 done
21970 else
21972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
21973 $as_echo_n "checking for _isinf declaration... " >&6; }
21974 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
21975 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
21976 $as_echo_n "(cached) " >&6
21977 else
21980 ac_ext=cpp
21981 ac_cpp='$CXXCPP $CPPFLAGS'
21982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21987 /* end confdefs.h. */
21988 #include <math.h>
21989 #ifdef HAVE_IEEEFP_H
21990 #include <ieeefp.h>
21991 #endif
21994 main ()
21996 _isinf(0);
21998 return 0;
22000 _ACEOF
22001 if ac_fn_cxx_try_compile "$LINENO"; then :
22002 glibcxx_cv_func__isinf_use=yes
22003 else
22004 glibcxx_cv_func__isinf_use=no
22006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22007 ac_ext=c
22008 ac_cpp='$CPP $CPPFLAGS'
22009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22018 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22020 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22021 for ac_func in _isinf
22022 do :
22023 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22024 if test "x$ac_cv_func__isinf" = x""yes; then :
22025 cat >>confdefs.h <<_ACEOF
22026 #define HAVE__ISINF 1
22027 _ACEOF
22030 done
22039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22040 $as_echo_n "checking for isnan declaration... " >&6; }
22041 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22042 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
22043 $as_echo_n "(cached) " >&6
22044 else
22047 ac_ext=cpp
22048 ac_cpp='$CXXCPP $CPPFLAGS'
22049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22054 /* end confdefs.h. */
22055 #include <math.h>
22056 #ifdef HAVE_IEEEFP_H
22057 #include <ieeefp.h>
22058 #endif
22061 main ()
22063 isnan(0);
22065 return 0;
22067 _ACEOF
22068 if ac_fn_cxx_try_compile "$LINENO"; then :
22069 glibcxx_cv_func_isnan_use=yes
22070 else
22071 glibcxx_cv_func_isnan_use=no
22073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22074 ac_ext=c
22075 ac_cpp='$CPP $CPPFLAGS'
22076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22085 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22087 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22088 for ac_func in isnan
22089 do :
22090 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22091 if test "x$ac_cv_func_isnan" = x""yes; then :
22092 cat >>confdefs.h <<_ACEOF
22093 #define HAVE_ISNAN 1
22094 _ACEOF
22097 done
22099 else
22101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22102 $as_echo_n "checking for _isnan declaration... " >&6; }
22103 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22104 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
22105 $as_echo_n "(cached) " >&6
22106 else
22109 ac_ext=cpp
22110 ac_cpp='$CXXCPP $CPPFLAGS'
22111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22116 /* end confdefs.h. */
22117 #include <math.h>
22118 #ifdef HAVE_IEEEFP_H
22119 #include <ieeefp.h>
22120 #endif
22123 main ()
22125 _isnan(0);
22127 return 0;
22129 _ACEOF
22130 if ac_fn_cxx_try_compile "$LINENO"; then :
22131 glibcxx_cv_func__isnan_use=yes
22132 else
22133 glibcxx_cv_func__isnan_use=no
22135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22136 ac_ext=c
22137 ac_cpp='$CPP $CPPFLAGS'
22138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22147 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22149 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22150 for ac_func in _isnan
22151 do :
22152 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22153 if test "x$ac_cv_func__isnan" = x""yes; then :
22154 cat >>confdefs.h <<_ACEOF
22155 #define HAVE__ISNAN 1
22156 _ACEOF
22159 done
22168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22169 $as_echo_n "checking for finite declaration... " >&6; }
22170 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22171 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
22172 $as_echo_n "(cached) " >&6
22173 else
22176 ac_ext=cpp
22177 ac_cpp='$CXXCPP $CPPFLAGS'
22178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22183 /* end confdefs.h. */
22184 #include <math.h>
22185 #ifdef HAVE_IEEEFP_H
22186 #include <ieeefp.h>
22187 #endif
22190 main ()
22192 finite(0);
22194 return 0;
22196 _ACEOF
22197 if ac_fn_cxx_try_compile "$LINENO"; then :
22198 glibcxx_cv_func_finite_use=yes
22199 else
22200 glibcxx_cv_func_finite_use=no
22202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22203 ac_ext=c
22204 ac_cpp='$CPP $CPPFLAGS'
22205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22214 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22216 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22217 for ac_func in finite
22218 do :
22219 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22220 if test "x$ac_cv_func_finite" = x""yes; then :
22221 cat >>confdefs.h <<_ACEOF
22222 #define HAVE_FINITE 1
22223 _ACEOF
22226 done
22228 else
22230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22231 $as_echo_n "checking for _finite declaration... " >&6; }
22232 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22233 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
22234 $as_echo_n "(cached) " >&6
22235 else
22238 ac_ext=cpp
22239 ac_cpp='$CXXCPP $CPPFLAGS'
22240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22245 /* end confdefs.h. */
22246 #include <math.h>
22247 #ifdef HAVE_IEEEFP_H
22248 #include <ieeefp.h>
22249 #endif
22252 main ()
22254 _finite(0);
22256 return 0;
22258 _ACEOF
22259 if ac_fn_cxx_try_compile "$LINENO"; then :
22260 glibcxx_cv_func__finite_use=yes
22261 else
22262 glibcxx_cv_func__finite_use=no
22264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22265 ac_ext=c
22266 ac_cpp='$CPP $CPPFLAGS'
22267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22276 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22278 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22279 for ac_func in _finite
22280 do :
22281 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22282 if test "x$ac_cv_func__finite" = x""yes; then :
22283 cat >>confdefs.h <<_ACEOF
22284 #define HAVE__FINITE 1
22285 _ACEOF
22288 done
22297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22298 $as_echo_n "checking for sincos declaration... " >&6; }
22299 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22300 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
22301 $as_echo_n "(cached) " >&6
22302 else
22305 ac_ext=cpp
22306 ac_cpp='$CXXCPP $CPPFLAGS'
22307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22312 /* end confdefs.h. */
22313 #include <math.h>
22315 main ()
22317 sincos(0, 0, 0);
22319 return 0;
22321 _ACEOF
22322 if ac_fn_cxx_try_compile "$LINENO"; then :
22323 glibcxx_cv_func_sincos_use=yes
22324 else
22325 glibcxx_cv_func_sincos_use=no
22327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22328 ac_ext=c
22329 ac_cpp='$CPP $CPPFLAGS'
22330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22339 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22341 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22342 for ac_func in sincos
22343 do :
22344 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22345 if test "x$ac_cv_func_sincos" = x""yes; then :
22346 cat >>confdefs.h <<_ACEOF
22347 #define HAVE_SINCOS 1
22348 _ACEOF
22351 done
22353 else
22355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22356 $as_echo_n "checking for _sincos declaration... " >&6; }
22357 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22358 if test "${glibcxx_cv_func__sincos_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>
22373 main ()
22375 _sincos(0, 0, 0);
22377 return 0;
22379 _ACEOF
22380 if ac_fn_cxx_try_compile "$LINENO"; then :
22381 glibcxx_cv_func__sincos_use=yes
22382 else
22383 glibcxx_cv_func__sincos_use=no
22385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22386 ac_ext=c
22387 ac_cpp='$CPP $CPPFLAGS'
22388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22397 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22399 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22400 for ac_func in _sincos
22401 do :
22402 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22403 if test "x$ac_cv_func__sincos" = x""yes; then :
22404 cat >>confdefs.h <<_ACEOF
22405 #define HAVE__SINCOS 1
22406 _ACEOF
22409 done
22418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22419 $as_echo_n "checking for fpclass declaration... " >&6; }
22420 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22421 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
22422 $as_echo_n "(cached) " >&6
22423 else
22426 ac_ext=cpp
22427 ac_cpp='$CXXCPP $CPPFLAGS'
22428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22433 /* end confdefs.h. */
22434 #include <math.h>
22435 #ifdef HAVE_IEEEFP_H
22436 #include <ieeefp.h>
22437 #endif
22440 main ()
22442 fpclass(0);
22444 return 0;
22446 _ACEOF
22447 if ac_fn_cxx_try_compile "$LINENO"; then :
22448 glibcxx_cv_func_fpclass_use=yes
22449 else
22450 glibcxx_cv_func_fpclass_use=no
22452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22453 ac_ext=c
22454 ac_cpp='$CPP $CPPFLAGS'
22455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22464 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22466 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22467 for ac_func in fpclass
22468 do :
22469 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22470 if test "x$ac_cv_func_fpclass" = x""yes; then :
22471 cat >>confdefs.h <<_ACEOF
22472 #define HAVE_FPCLASS 1
22473 _ACEOF
22476 done
22478 else
22480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22481 $as_echo_n "checking for _fpclass declaration... " >&6; }
22482 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22483 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
22484 $as_echo_n "(cached) " >&6
22485 else
22488 ac_ext=cpp
22489 ac_cpp='$CXXCPP $CPPFLAGS'
22490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22495 /* end confdefs.h. */
22496 #include <math.h>
22497 #ifdef HAVE_IEEEFP_H
22498 #include <ieeefp.h>
22499 #endif
22502 main ()
22504 _fpclass(0);
22506 return 0;
22508 _ACEOF
22509 if ac_fn_cxx_try_compile "$LINENO"; then :
22510 glibcxx_cv_func__fpclass_use=yes
22511 else
22512 glibcxx_cv_func__fpclass_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__fpclass_use" >&5
22526 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
22528 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
22529 for ac_func in _fpclass
22530 do :
22531 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
22532 if test "x$ac_cv_func__fpclass" = x""yes; then :
22533 cat >>confdefs.h <<_ACEOF
22534 #define HAVE__FPCLASS 1
22535 _ACEOF
22538 done
22547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
22548 $as_echo_n "checking for qfpclass declaration... " >&6; }
22549 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
22550 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
22551 $as_echo_n "(cached) " >&6
22552 else
22555 ac_ext=cpp
22556 ac_cpp='$CXXCPP $CPPFLAGS'
22557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22562 /* end confdefs.h. */
22563 #include <math.h>
22564 #ifdef HAVE_IEEEFP_H
22565 #include <ieeefp.h>
22566 #endif
22569 main ()
22571 qfpclass(0);
22573 return 0;
22575 _ACEOF
22576 if ac_fn_cxx_try_compile "$LINENO"; then :
22577 glibcxx_cv_func_qfpclass_use=yes
22578 else
22579 glibcxx_cv_func_qfpclass_use=no
22581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22582 ac_ext=c
22583 ac_cpp='$CPP $CPPFLAGS'
22584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
22593 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
22595 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
22596 for ac_func in qfpclass
22597 do :
22598 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
22599 if test "x$ac_cv_func_qfpclass" = x""yes; then :
22600 cat >>confdefs.h <<_ACEOF
22601 #define HAVE_QFPCLASS 1
22602 _ACEOF
22605 done
22607 else
22609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
22610 $as_echo_n "checking for _qfpclass declaration... " >&6; }
22611 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
22612 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
22613 $as_echo_n "(cached) " >&6
22614 else
22617 ac_ext=cpp
22618 ac_cpp='$CXXCPP $CPPFLAGS'
22619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22624 /* end confdefs.h. */
22625 #include <math.h>
22626 #ifdef HAVE_IEEEFP_H
22627 #include <ieeefp.h>
22628 #endif
22631 main ()
22633 _qfpclass(0);
22635 return 0;
22637 _ACEOF
22638 if ac_fn_cxx_try_compile "$LINENO"; then :
22639 glibcxx_cv_func__qfpclass_use=yes
22640 else
22641 glibcxx_cv_func__qfpclass_use=no
22643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22644 ac_ext=c
22645 ac_cpp='$CPP $CPPFLAGS'
22646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
22655 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
22657 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
22658 for ac_func in _qfpclass
22659 do :
22660 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
22661 if test "x$ac_cv_func__qfpclass" = x""yes; then :
22662 cat >>confdefs.h <<_ACEOF
22663 #define HAVE__QFPCLASS 1
22664 _ACEOF
22667 done
22676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
22677 $as_echo_n "checking for hypot declaration... " >&6; }
22678 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
22679 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
22680 $as_echo_n "(cached) " >&6
22681 else
22684 ac_ext=cpp
22685 ac_cpp='$CXXCPP $CPPFLAGS'
22686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22691 /* end confdefs.h. */
22692 #include <math.h>
22694 main ()
22696 hypot(0, 0);
22698 return 0;
22700 _ACEOF
22701 if ac_fn_cxx_try_compile "$LINENO"; then :
22702 glibcxx_cv_func_hypot_use=yes
22703 else
22704 glibcxx_cv_func_hypot_use=no
22706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22707 ac_ext=c
22708 ac_cpp='$CPP $CPPFLAGS'
22709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
22718 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
22720 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
22721 for ac_func in hypot
22722 do :
22723 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
22724 if test "x$ac_cv_func_hypot" = x""yes; then :
22725 cat >>confdefs.h <<_ACEOF
22726 #define HAVE_HYPOT 1
22727 _ACEOF
22730 done
22732 else
22734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
22735 $as_echo_n "checking for _hypot declaration... " >&6; }
22736 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
22737 if test "${glibcxx_cv_func__hypot_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 _hypot(0, 0);
22756 return 0;
22758 _ACEOF
22759 if ac_fn_cxx_try_compile "$LINENO"; then :
22760 glibcxx_cv_func__hypot_use=yes
22761 else
22762 glibcxx_cv_func__hypot_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__hypot_use" >&5
22776 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
22778 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
22779 for ac_func in _hypot
22780 do :
22781 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
22782 if test "x$ac_cv_func__hypot" = x""yes; then :
22783 cat >>confdefs.h <<_ACEOF
22784 #define HAVE__HYPOT 1
22785 _ACEOF
22788 done
22797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
22798 $as_echo_n "checking for float trig functions... " >&6; }
22799 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
22800 $as_echo_n "(cached) " >&6
22801 else
22804 ac_ext=cpp
22805 ac_cpp='$CXXCPP $CPPFLAGS'
22806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22811 /* end confdefs.h. */
22812 #include <math.h>
22814 main ()
22816 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
22818 return 0;
22820 _ACEOF
22821 if ac_fn_cxx_try_compile "$LINENO"; then :
22822 glibcxx_cv_func_float_trig_use=yes
22823 else
22824 glibcxx_cv_func_float_trig_use=no
22826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22827 ac_ext=c
22828 ac_cpp='$CPP $CPPFLAGS'
22829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
22836 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
22837 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
22838 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
22839 do :
22840 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22841 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22842 eval as_val=\$$as_ac_var
22843 if test "x$as_val" = x""yes; then :
22844 cat >>confdefs.h <<_ACEOF
22845 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22846 _ACEOF
22849 done
22851 else
22852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
22853 $as_echo_n "checking for _float trig functions... " >&6; }
22854 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
22855 $as_echo_n "(cached) " >&6
22856 else
22859 ac_ext=cpp
22860 ac_cpp='$CXXCPP $CPPFLAGS'
22861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22866 /* end confdefs.h. */
22867 #include <math.h>
22869 main ()
22871 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22873 return 0;
22875 _ACEOF
22876 if ac_fn_cxx_try_compile "$LINENO"; then :
22877 glibcxx_cv_func__float_trig_use=yes
22878 else
22879 glibcxx_cv_func__float_trig_use=no
22881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22882 ac_ext=c
22883 ac_cpp='$CPP $CPPFLAGS'
22884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
22891 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
22892 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22893 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22894 do :
22895 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22896 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22897 eval as_val=\$$as_ac_var
22898 if test "x$as_val" = x""yes; then :
22899 cat >>confdefs.h <<_ACEOF
22900 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22901 _ACEOF
22904 done
22913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
22914 $as_echo_n "checking for float round functions... " >&6; }
22915 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
22916 $as_echo_n "(cached) " >&6
22917 else
22920 ac_ext=cpp
22921 ac_cpp='$CXXCPP $CPPFLAGS'
22922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22927 /* end confdefs.h. */
22928 #include <math.h>
22930 main ()
22932 ceilf (0); floorf (0);
22934 return 0;
22936 _ACEOF
22937 if ac_fn_cxx_try_compile "$LINENO"; then :
22938 glibcxx_cv_func_float_round_use=yes
22939 else
22940 glibcxx_cv_func_float_round_use=no
22942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22943 ac_ext=c
22944 ac_cpp='$CPP $CPPFLAGS'
22945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
22952 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
22953 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22954 for ac_func in ceilf floorf
22955 do :
22956 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22957 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22958 eval as_val=\$$as_ac_var
22959 if test "x$as_val" = x""yes; then :
22960 cat >>confdefs.h <<_ACEOF
22961 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22962 _ACEOF
22965 done
22967 else
22968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
22969 $as_echo_n "checking for _float round functions... " >&6; }
22970 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
22971 $as_echo_n "(cached) " >&6
22972 else
22975 ac_ext=cpp
22976 ac_cpp='$CXXCPP $CPPFLAGS'
22977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22982 /* end confdefs.h. */
22983 #include <math.h>
22985 main ()
22987 _ceilf (0); _floorf (0);
22989 return 0;
22991 _ACEOF
22992 if ac_fn_cxx_try_compile "$LINENO"; then :
22993 glibcxx_cv_func__float_round_use=yes
22994 else
22995 glibcxx_cv_func__float_round_use=no
22997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22998 ac_ext=c
22999 ac_cpp='$CPP $CPPFLAGS'
23000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23007 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23008 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23009 for ac_func in _ceilf _floorf
23010 do :
23011 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23012 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23013 eval as_val=\$$as_ac_var
23014 if test "x$as_val" = x""yes; then :
23015 cat >>confdefs.h <<_ACEOF
23016 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23017 _ACEOF
23020 done
23030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23031 $as_echo_n "checking for expf declaration... " >&6; }
23032 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23033 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
23034 $as_echo_n "(cached) " >&6
23035 else
23038 ac_ext=cpp
23039 ac_cpp='$CXXCPP $CPPFLAGS'
23040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23045 /* end confdefs.h. */
23046 #include <math.h>
23047 #ifdef HAVE_IEEEFP_H
23048 #include <ieeefp.h>
23049 #endif
23052 main ()
23054 expf(0);
23056 return 0;
23058 _ACEOF
23059 if ac_fn_cxx_try_compile "$LINENO"; then :
23060 glibcxx_cv_func_expf_use=yes
23061 else
23062 glibcxx_cv_func_expf_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_expf_use" >&5
23076 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23078 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23079 for ac_func in expf
23080 do :
23081 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23082 if test "x$ac_cv_func_expf" = x""yes; then :
23083 cat >>confdefs.h <<_ACEOF
23084 #define HAVE_EXPF 1
23085 _ACEOF
23088 done
23090 else
23092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23093 $as_echo_n "checking for _expf declaration... " >&6; }
23094 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23095 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
23096 $as_echo_n "(cached) " >&6
23097 else
23100 ac_ext=cpp
23101 ac_cpp='$CXXCPP $CPPFLAGS'
23102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23107 /* end confdefs.h. */
23108 #include <math.h>
23109 #ifdef HAVE_IEEEFP_H
23110 #include <ieeefp.h>
23111 #endif
23114 main ()
23116 _expf(0);
23118 return 0;
23120 _ACEOF
23121 if ac_fn_cxx_try_compile "$LINENO"; then :
23122 glibcxx_cv_func__expf_use=yes
23123 else
23124 glibcxx_cv_func__expf_use=no
23126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23127 ac_ext=c
23128 ac_cpp='$CPP $CPPFLAGS'
23129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23138 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23140 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23141 for ac_func in _expf
23142 do :
23143 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23144 if test "x$ac_cv_func__expf" = x""yes; then :
23145 cat >>confdefs.h <<_ACEOF
23146 #define HAVE__EXPF 1
23147 _ACEOF
23150 done
23159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23160 $as_echo_n "checking for isnanf declaration... " >&6; }
23161 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23162 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
23163 $as_echo_n "(cached) " >&6
23164 else
23167 ac_ext=cpp
23168 ac_cpp='$CXXCPP $CPPFLAGS'
23169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23174 /* end confdefs.h. */
23175 #include <math.h>
23176 #ifdef HAVE_IEEEFP_H
23177 #include <ieeefp.h>
23178 #endif
23181 main ()
23183 isnanf(0);
23185 return 0;
23187 _ACEOF
23188 if ac_fn_cxx_try_compile "$LINENO"; then :
23189 glibcxx_cv_func_isnanf_use=yes
23190 else
23191 glibcxx_cv_func_isnanf_use=no
23193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23194 ac_ext=c
23195 ac_cpp='$CPP $CPPFLAGS'
23196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23205 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23207 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23208 for ac_func in isnanf
23209 do :
23210 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23211 if test "x$ac_cv_func_isnanf" = x""yes; then :
23212 cat >>confdefs.h <<_ACEOF
23213 #define HAVE_ISNANF 1
23214 _ACEOF
23217 done
23219 else
23221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23222 $as_echo_n "checking for _isnanf declaration... " >&6; }
23223 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23224 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
23225 $as_echo_n "(cached) " >&6
23226 else
23229 ac_ext=cpp
23230 ac_cpp='$CXXCPP $CPPFLAGS'
23231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23236 /* end confdefs.h. */
23237 #include <math.h>
23238 #ifdef HAVE_IEEEFP_H
23239 #include <ieeefp.h>
23240 #endif
23243 main ()
23245 _isnanf(0);
23247 return 0;
23249 _ACEOF
23250 if ac_fn_cxx_try_compile "$LINENO"; then :
23251 glibcxx_cv_func__isnanf_use=yes
23252 else
23253 glibcxx_cv_func__isnanf_use=no
23255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23256 ac_ext=c
23257 ac_cpp='$CPP $CPPFLAGS'
23258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23267 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23269 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23270 for ac_func in _isnanf
23271 do :
23272 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23273 if test "x$ac_cv_func__isnanf" = x""yes; then :
23274 cat >>confdefs.h <<_ACEOF
23275 #define HAVE__ISNANF 1
23276 _ACEOF
23279 done
23288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23289 $as_echo_n "checking for isinff declaration... " >&6; }
23290 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23291 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
23292 $as_echo_n "(cached) " >&6
23293 else
23296 ac_ext=cpp
23297 ac_cpp='$CXXCPP $CPPFLAGS'
23298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23303 /* end confdefs.h. */
23304 #include <math.h>
23305 #ifdef HAVE_IEEEFP_H
23306 #include <ieeefp.h>
23307 #endif
23310 main ()
23312 isinff(0);
23314 return 0;
23316 _ACEOF
23317 if ac_fn_cxx_try_compile "$LINENO"; then :
23318 glibcxx_cv_func_isinff_use=yes
23319 else
23320 glibcxx_cv_func_isinff_use=no
23322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23323 ac_ext=c
23324 ac_cpp='$CPP $CPPFLAGS'
23325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23334 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23336 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23337 for ac_func in isinff
23338 do :
23339 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23340 if test "x$ac_cv_func_isinff" = x""yes; then :
23341 cat >>confdefs.h <<_ACEOF
23342 #define HAVE_ISINFF 1
23343 _ACEOF
23346 done
23348 else
23350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23351 $as_echo_n "checking for _isinff declaration... " >&6; }
23352 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23353 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
23354 $as_echo_n "(cached) " >&6
23355 else
23358 ac_ext=cpp
23359 ac_cpp='$CXXCPP $CPPFLAGS'
23360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23365 /* end confdefs.h. */
23366 #include <math.h>
23367 #ifdef HAVE_IEEEFP_H
23368 #include <ieeefp.h>
23369 #endif
23372 main ()
23374 _isinff(0);
23376 return 0;
23378 _ACEOF
23379 if ac_fn_cxx_try_compile "$LINENO"; then :
23380 glibcxx_cv_func__isinff_use=yes
23381 else
23382 glibcxx_cv_func__isinff_use=no
23384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23385 ac_ext=c
23386 ac_cpp='$CPP $CPPFLAGS'
23387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23396 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23398 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23399 for ac_func in _isinff
23400 do :
23401 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23402 if test "x$ac_cv_func__isinff" = x""yes; then :
23403 cat >>confdefs.h <<_ACEOF
23404 #define HAVE__ISINFF 1
23405 _ACEOF
23408 done
23417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23418 $as_echo_n "checking for atan2f declaration... " >&6; }
23419 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23420 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
23421 $as_echo_n "(cached) " >&6
23422 else
23425 ac_ext=cpp
23426 ac_cpp='$CXXCPP $CPPFLAGS'
23427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23432 /* end confdefs.h. */
23433 #include <math.h>
23435 main ()
23437 atan2f(0, 0);
23439 return 0;
23441 _ACEOF
23442 if ac_fn_cxx_try_compile "$LINENO"; then :
23443 glibcxx_cv_func_atan2f_use=yes
23444 else
23445 glibcxx_cv_func_atan2f_use=no
23447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23448 ac_ext=c
23449 ac_cpp='$CPP $CPPFLAGS'
23450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23459 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23461 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23462 for ac_func in atan2f
23463 do :
23464 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23465 if test "x$ac_cv_func_atan2f" = x""yes; then :
23466 cat >>confdefs.h <<_ACEOF
23467 #define HAVE_ATAN2F 1
23468 _ACEOF
23471 done
23473 else
23475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23476 $as_echo_n "checking for _atan2f declaration... " >&6; }
23477 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23478 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
23479 $as_echo_n "(cached) " >&6
23480 else
23483 ac_ext=cpp
23484 ac_cpp='$CXXCPP $CPPFLAGS'
23485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23490 /* end confdefs.h. */
23491 #include <math.h>
23493 main ()
23495 _atan2f(0, 0);
23497 return 0;
23499 _ACEOF
23500 if ac_fn_cxx_try_compile "$LINENO"; then :
23501 glibcxx_cv_func__atan2f_use=yes
23502 else
23503 glibcxx_cv_func__atan2f_use=no
23505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23506 ac_ext=c
23507 ac_cpp='$CPP $CPPFLAGS'
23508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23517 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23519 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23520 for ac_func in _atan2f
23521 do :
23522 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
23523 if test "x$ac_cv_func__atan2f" = x""yes; then :
23524 cat >>confdefs.h <<_ACEOF
23525 #define HAVE__ATAN2F 1
23526 _ACEOF
23529 done
23538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
23539 $as_echo_n "checking for fabsf declaration... " >&6; }
23540 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23541 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
23542 $as_echo_n "(cached) " >&6
23543 else
23546 ac_ext=cpp
23547 ac_cpp='$CXXCPP $CPPFLAGS'
23548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23553 /* end confdefs.h. */
23554 #include <math.h>
23555 #ifdef HAVE_IEEEFP_H
23556 #include <ieeefp.h>
23557 #endif
23560 main ()
23562 fabsf(0);
23564 return 0;
23566 _ACEOF
23567 if ac_fn_cxx_try_compile "$LINENO"; then :
23568 glibcxx_cv_func_fabsf_use=yes
23569 else
23570 glibcxx_cv_func_fabsf_use=no
23572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23573 ac_ext=c
23574 ac_cpp='$CPP $CPPFLAGS'
23575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
23584 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
23586 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
23587 for ac_func in fabsf
23588 do :
23589 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
23590 if test "x$ac_cv_func_fabsf" = x""yes; then :
23591 cat >>confdefs.h <<_ACEOF
23592 #define HAVE_FABSF 1
23593 _ACEOF
23596 done
23598 else
23600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
23601 $as_echo_n "checking for _fabsf declaration... " >&6; }
23602 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
23603 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
23604 $as_echo_n "(cached) " >&6
23605 else
23608 ac_ext=cpp
23609 ac_cpp='$CXXCPP $CPPFLAGS'
23610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23615 /* end confdefs.h. */
23616 #include <math.h>
23617 #ifdef HAVE_IEEEFP_H
23618 #include <ieeefp.h>
23619 #endif
23622 main ()
23624 _fabsf(0);
23626 return 0;
23628 _ACEOF
23629 if ac_fn_cxx_try_compile "$LINENO"; then :
23630 glibcxx_cv_func__fabsf_use=yes
23631 else
23632 glibcxx_cv_func__fabsf_use=no
23634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23635 ac_ext=c
23636 ac_cpp='$CPP $CPPFLAGS'
23637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
23646 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
23648 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
23649 for ac_func in _fabsf
23650 do :
23651 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
23652 if test "x$ac_cv_func__fabsf" = x""yes; then :
23653 cat >>confdefs.h <<_ACEOF
23654 #define HAVE__FABSF 1
23655 _ACEOF
23658 done
23667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
23668 $as_echo_n "checking for fmodf declaration... " >&6; }
23669 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
23670 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
23671 $as_echo_n "(cached) " >&6
23672 else
23675 ac_ext=cpp
23676 ac_cpp='$CXXCPP $CPPFLAGS'
23677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23682 /* end confdefs.h. */
23683 #include <math.h>
23685 main ()
23687 fmodf(0, 0);
23689 return 0;
23691 _ACEOF
23692 if ac_fn_cxx_try_compile "$LINENO"; then :
23693 glibcxx_cv_func_fmodf_use=yes
23694 else
23695 glibcxx_cv_func_fmodf_use=no
23697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23698 ac_ext=c
23699 ac_cpp='$CPP $CPPFLAGS'
23700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
23709 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
23711 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
23712 for ac_func in fmodf
23713 do :
23714 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
23715 if test "x$ac_cv_func_fmodf" = x""yes; then :
23716 cat >>confdefs.h <<_ACEOF
23717 #define HAVE_FMODF 1
23718 _ACEOF
23721 done
23723 else
23725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
23726 $as_echo_n "checking for _fmodf declaration... " >&6; }
23727 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
23728 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
23729 $as_echo_n "(cached) " >&6
23730 else
23733 ac_ext=cpp
23734 ac_cpp='$CXXCPP $CPPFLAGS'
23735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23740 /* end confdefs.h. */
23741 #include <math.h>
23743 main ()
23745 _fmodf(0, 0);
23747 return 0;
23749 _ACEOF
23750 if ac_fn_cxx_try_compile "$LINENO"; then :
23751 glibcxx_cv_func__fmodf_use=yes
23752 else
23753 glibcxx_cv_func__fmodf_use=no
23755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23756 ac_ext=c
23757 ac_cpp='$CPP $CPPFLAGS'
23758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
23767 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
23769 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
23770 for ac_func in _fmodf
23771 do :
23772 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
23773 if test "x$ac_cv_func__fmodf" = x""yes; then :
23774 cat >>confdefs.h <<_ACEOF
23775 #define HAVE__FMODF 1
23776 _ACEOF
23779 done
23788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
23789 $as_echo_n "checking for frexpf declaration... " >&6; }
23790 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
23791 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
23792 $as_echo_n "(cached) " >&6
23793 else
23796 ac_ext=cpp
23797 ac_cpp='$CXXCPP $CPPFLAGS'
23798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23803 /* end confdefs.h. */
23804 #include <math.h>
23806 main ()
23808 frexpf(0, 0);
23810 return 0;
23812 _ACEOF
23813 if ac_fn_cxx_try_compile "$LINENO"; then :
23814 glibcxx_cv_func_frexpf_use=yes
23815 else
23816 glibcxx_cv_func_frexpf_use=no
23818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23819 ac_ext=c
23820 ac_cpp='$CPP $CPPFLAGS'
23821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
23830 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
23832 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
23833 for ac_func in frexpf
23834 do :
23835 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
23836 if test "x$ac_cv_func_frexpf" = x""yes; then :
23837 cat >>confdefs.h <<_ACEOF
23838 #define HAVE_FREXPF 1
23839 _ACEOF
23842 done
23844 else
23846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
23847 $as_echo_n "checking for _frexpf declaration... " >&6; }
23848 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
23849 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
23850 $as_echo_n "(cached) " >&6
23851 else
23854 ac_ext=cpp
23855 ac_cpp='$CXXCPP $CPPFLAGS'
23856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23861 /* end confdefs.h. */
23862 #include <math.h>
23864 main ()
23866 _frexpf(0, 0);
23868 return 0;
23870 _ACEOF
23871 if ac_fn_cxx_try_compile "$LINENO"; then :
23872 glibcxx_cv_func__frexpf_use=yes
23873 else
23874 glibcxx_cv_func__frexpf_use=no
23876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23877 ac_ext=c
23878 ac_cpp='$CPP $CPPFLAGS'
23879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
23888 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
23890 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
23891 for ac_func in _frexpf
23892 do :
23893 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
23894 if test "x$ac_cv_func__frexpf" = x""yes; then :
23895 cat >>confdefs.h <<_ACEOF
23896 #define HAVE__FREXPF 1
23897 _ACEOF
23900 done
23909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
23910 $as_echo_n "checking for hypotf declaration... " >&6; }
23911 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
23912 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
23913 $as_echo_n "(cached) " >&6
23914 else
23917 ac_ext=cpp
23918 ac_cpp='$CXXCPP $CPPFLAGS'
23919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23924 /* end confdefs.h. */
23925 #include <math.h>
23927 main ()
23929 hypotf(0, 0);
23931 return 0;
23933 _ACEOF
23934 if ac_fn_cxx_try_compile "$LINENO"; then :
23935 glibcxx_cv_func_hypotf_use=yes
23936 else
23937 glibcxx_cv_func_hypotf_use=no
23939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23940 ac_ext=c
23941 ac_cpp='$CPP $CPPFLAGS'
23942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
23951 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
23953 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
23954 for ac_func in hypotf
23955 do :
23956 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
23957 if test "x$ac_cv_func_hypotf" = x""yes; then :
23958 cat >>confdefs.h <<_ACEOF
23959 #define HAVE_HYPOTF 1
23960 _ACEOF
23963 done
23965 else
23967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
23968 $as_echo_n "checking for _hypotf declaration... " >&6; }
23969 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
23970 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
23971 $as_echo_n "(cached) " >&6
23972 else
23975 ac_ext=cpp
23976 ac_cpp='$CXXCPP $CPPFLAGS'
23977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23982 /* end confdefs.h. */
23983 #include <math.h>
23985 main ()
23987 _hypotf(0, 0);
23989 return 0;
23991 _ACEOF
23992 if ac_fn_cxx_try_compile "$LINENO"; then :
23993 glibcxx_cv_func__hypotf_use=yes
23994 else
23995 glibcxx_cv_func__hypotf_use=no
23997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23998 ac_ext=c
23999 ac_cpp='$CPP $CPPFLAGS'
24000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24009 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24011 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24012 for ac_func in _hypotf
24013 do :
24014 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24015 if test "x$ac_cv_func__hypotf" = x""yes; then :
24016 cat >>confdefs.h <<_ACEOF
24017 #define HAVE__HYPOTF 1
24018 _ACEOF
24021 done
24030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24031 $as_echo_n "checking for ldexpf declaration... " >&6; }
24032 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24033 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
24034 $as_echo_n "(cached) " >&6
24035 else
24038 ac_ext=cpp
24039 ac_cpp='$CXXCPP $CPPFLAGS'
24040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24045 /* end confdefs.h. */
24046 #include <math.h>
24048 main ()
24050 ldexpf(0, 0);
24052 return 0;
24054 _ACEOF
24055 if ac_fn_cxx_try_compile "$LINENO"; then :
24056 glibcxx_cv_func_ldexpf_use=yes
24057 else
24058 glibcxx_cv_func_ldexpf_use=no
24060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24061 ac_ext=c
24062 ac_cpp='$CPP $CPPFLAGS'
24063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24072 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24074 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24075 for ac_func in ldexpf
24076 do :
24077 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24078 if test "x$ac_cv_func_ldexpf" = x""yes; then :
24079 cat >>confdefs.h <<_ACEOF
24080 #define HAVE_LDEXPF 1
24081 _ACEOF
24084 done
24086 else
24088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24089 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24090 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24091 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
24092 $as_echo_n "(cached) " >&6
24093 else
24096 ac_ext=cpp
24097 ac_cpp='$CXXCPP $CPPFLAGS'
24098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24103 /* end confdefs.h. */
24104 #include <math.h>
24106 main ()
24108 _ldexpf(0, 0);
24110 return 0;
24112 _ACEOF
24113 if ac_fn_cxx_try_compile "$LINENO"; then :
24114 glibcxx_cv_func__ldexpf_use=yes
24115 else
24116 glibcxx_cv_func__ldexpf_use=no
24118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24119 ac_ext=c
24120 ac_cpp='$CPP $CPPFLAGS'
24121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24130 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24132 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24133 for ac_func in _ldexpf
24134 do :
24135 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24136 if test "x$ac_cv_func__ldexpf" = x""yes; then :
24137 cat >>confdefs.h <<_ACEOF
24138 #define HAVE__LDEXPF 1
24139 _ACEOF
24142 done
24151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24152 $as_echo_n "checking for logf declaration... " >&6; }
24153 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24154 if test "${glibcxx_cv_func_logf_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 logf(0);
24177 return 0;
24179 _ACEOF
24180 if ac_fn_cxx_try_compile "$LINENO"; then :
24181 glibcxx_cv_func_logf_use=yes
24182 else
24183 glibcxx_cv_func_logf_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_logf_use" >&5
24197 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24199 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24200 for ac_func in logf
24201 do :
24202 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24203 if test "x$ac_cv_func_logf" = x""yes; then :
24204 cat >>confdefs.h <<_ACEOF
24205 #define HAVE_LOGF 1
24206 _ACEOF
24209 done
24211 else
24213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24214 $as_echo_n "checking for _logf declaration... " >&6; }
24215 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24216 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
24217 $as_echo_n "(cached) " >&6
24218 else
24221 ac_ext=cpp
24222 ac_cpp='$CXXCPP $CPPFLAGS'
24223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24228 /* end confdefs.h. */
24229 #include <math.h>
24230 #ifdef HAVE_IEEEFP_H
24231 #include <ieeefp.h>
24232 #endif
24235 main ()
24237 _logf(0);
24239 return 0;
24241 _ACEOF
24242 if ac_fn_cxx_try_compile "$LINENO"; then :
24243 glibcxx_cv_func__logf_use=yes
24244 else
24245 glibcxx_cv_func__logf_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
24258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24259 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24261 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24262 for ac_func in _logf
24263 do :
24264 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24265 if test "x$ac_cv_func__logf" = x""yes; then :
24266 cat >>confdefs.h <<_ACEOF
24267 #define HAVE__LOGF 1
24268 _ACEOF
24271 done
24280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24281 $as_echo_n "checking for log10f declaration... " >&6; }
24282 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24283 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
24284 $as_echo_n "(cached) " >&6
24285 else
24288 ac_ext=cpp
24289 ac_cpp='$CXXCPP $CPPFLAGS'
24290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24295 /* end confdefs.h. */
24296 #include <math.h>
24297 #ifdef HAVE_IEEEFP_H
24298 #include <ieeefp.h>
24299 #endif
24302 main ()
24304 log10f(0);
24306 return 0;
24308 _ACEOF
24309 if ac_fn_cxx_try_compile "$LINENO"; then :
24310 glibcxx_cv_func_log10f_use=yes
24311 else
24312 glibcxx_cv_func_log10f_use=no
24314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24315 ac_ext=c
24316 ac_cpp='$CPP $CPPFLAGS'
24317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24326 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24328 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24329 for ac_func in log10f
24330 do :
24331 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24332 if test "x$ac_cv_func_log10f" = x""yes; then :
24333 cat >>confdefs.h <<_ACEOF
24334 #define HAVE_LOG10F 1
24335 _ACEOF
24338 done
24340 else
24342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24343 $as_echo_n "checking for _log10f declaration... " >&6; }
24344 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24345 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
24346 $as_echo_n "(cached) " >&6
24347 else
24350 ac_ext=cpp
24351 ac_cpp='$CXXCPP $CPPFLAGS'
24352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24357 /* end confdefs.h. */
24358 #include <math.h>
24359 #ifdef HAVE_IEEEFP_H
24360 #include <ieeefp.h>
24361 #endif
24364 main ()
24366 _log10f(0);
24368 return 0;
24370 _ACEOF
24371 if ac_fn_cxx_try_compile "$LINENO"; then :
24372 glibcxx_cv_func__log10f_use=yes
24373 else
24374 glibcxx_cv_func__log10f_use=no
24376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24377 ac_ext=c
24378 ac_cpp='$CPP $CPPFLAGS'
24379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24388 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24390 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24391 for ac_func in _log10f
24392 do :
24393 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24394 if test "x$ac_cv_func__log10f" = x""yes; then :
24395 cat >>confdefs.h <<_ACEOF
24396 #define HAVE__LOG10F 1
24397 _ACEOF
24400 done
24409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24410 $as_echo_n "checking for modff declaration... " >&6; }
24411 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24412 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
24413 $as_echo_n "(cached) " >&6
24414 else
24417 ac_ext=cpp
24418 ac_cpp='$CXXCPP $CPPFLAGS'
24419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24424 /* end confdefs.h. */
24425 #include <math.h>
24427 main ()
24429 modff(0, 0);
24431 return 0;
24433 _ACEOF
24434 if ac_fn_cxx_try_compile "$LINENO"; then :
24435 glibcxx_cv_func_modff_use=yes
24436 else
24437 glibcxx_cv_func_modff_use=no
24439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24440 ac_ext=c
24441 ac_cpp='$CPP $CPPFLAGS'
24442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24451 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24453 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24454 for ac_func in modff
24455 do :
24456 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24457 if test "x$ac_cv_func_modff" = x""yes; then :
24458 cat >>confdefs.h <<_ACEOF
24459 #define HAVE_MODFF 1
24460 _ACEOF
24463 done
24465 else
24467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24468 $as_echo_n "checking for _modff declaration... " >&6; }
24469 if test x${glibcxx_cv_func__modff_use+set} != xset; then
24470 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
24471 $as_echo_n "(cached) " >&6
24472 else
24475 ac_ext=cpp
24476 ac_cpp='$CXXCPP $CPPFLAGS'
24477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24482 /* end confdefs.h. */
24483 #include <math.h>
24485 main ()
24487 _modff(0, 0);
24489 return 0;
24491 _ACEOF
24492 if ac_fn_cxx_try_compile "$LINENO"; then :
24493 glibcxx_cv_func__modff_use=yes
24494 else
24495 glibcxx_cv_func__modff_use=no
24497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24498 ac_ext=c
24499 ac_cpp='$CPP $CPPFLAGS'
24500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
24509 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
24511 if test x$glibcxx_cv_func__modff_use = x"yes"; then
24512 for ac_func in _modff
24513 do :
24514 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24515 if test "x$ac_cv_func__modff" = x""yes; then :
24516 cat >>confdefs.h <<_ACEOF
24517 #define HAVE__MODFF 1
24518 _ACEOF
24521 done
24530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
24531 $as_echo_n "checking for modf declaration... " >&6; }
24532 if test x${glibcxx_cv_func_modf_use+set} != xset; then
24533 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
24534 $as_echo_n "(cached) " >&6
24535 else
24538 ac_ext=cpp
24539 ac_cpp='$CXXCPP $CPPFLAGS'
24540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24545 /* end confdefs.h. */
24546 #include <math.h>
24548 main ()
24550 modf(0, 0);
24552 return 0;
24554 _ACEOF
24555 if ac_fn_cxx_try_compile "$LINENO"; then :
24556 glibcxx_cv_func_modf_use=yes
24557 else
24558 glibcxx_cv_func_modf_use=no
24560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24561 ac_ext=c
24562 ac_cpp='$CPP $CPPFLAGS'
24563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
24572 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
24574 if test x$glibcxx_cv_func_modf_use = x"yes"; then
24575 for ac_func in modf
24576 do :
24577 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
24578 if test "x$ac_cv_func_modf" = x""yes; then :
24579 cat >>confdefs.h <<_ACEOF
24580 #define HAVE_MODF 1
24581 _ACEOF
24584 done
24586 else
24588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
24589 $as_echo_n "checking for _modf declaration... " >&6; }
24590 if test x${glibcxx_cv_func__modf_use+set} != xset; then
24591 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
24592 $as_echo_n "(cached) " >&6
24593 else
24596 ac_ext=cpp
24597 ac_cpp='$CXXCPP $CPPFLAGS'
24598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24603 /* end confdefs.h. */
24604 #include <math.h>
24606 main ()
24608 _modf(0, 0);
24610 return 0;
24612 _ACEOF
24613 if ac_fn_cxx_try_compile "$LINENO"; then :
24614 glibcxx_cv_func__modf_use=yes
24615 else
24616 glibcxx_cv_func__modf_use=no
24618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24619 ac_ext=c
24620 ac_cpp='$CPP $CPPFLAGS'
24621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
24630 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
24632 if test x$glibcxx_cv_func__modf_use = x"yes"; then
24633 for ac_func in _modf
24634 do :
24635 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
24636 if test "x$ac_cv_func__modf" = x""yes; then :
24637 cat >>confdefs.h <<_ACEOF
24638 #define HAVE__MODF 1
24639 _ACEOF
24642 done
24651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
24652 $as_echo_n "checking for powf declaration... " >&6; }
24653 if test x${glibcxx_cv_func_powf_use+set} != xset; then
24654 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
24655 $as_echo_n "(cached) " >&6
24656 else
24659 ac_ext=cpp
24660 ac_cpp='$CXXCPP $CPPFLAGS'
24661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24666 /* end confdefs.h. */
24667 #include <math.h>
24669 main ()
24671 powf(0, 0);
24673 return 0;
24675 _ACEOF
24676 if ac_fn_cxx_try_compile "$LINENO"; then :
24677 glibcxx_cv_func_powf_use=yes
24678 else
24679 glibcxx_cv_func_powf_use=no
24681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24682 ac_ext=c
24683 ac_cpp='$CPP $CPPFLAGS'
24684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
24693 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
24695 if test x$glibcxx_cv_func_powf_use = x"yes"; then
24696 for ac_func in powf
24697 do :
24698 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
24699 if test "x$ac_cv_func_powf" = x""yes; then :
24700 cat >>confdefs.h <<_ACEOF
24701 #define HAVE_POWF 1
24702 _ACEOF
24705 done
24707 else
24709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
24710 $as_echo_n "checking for _powf declaration... " >&6; }
24711 if test x${glibcxx_cv_func__powf_use+set} != xset; then
24712 if test "${glibcxx_cv_func__powf_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 _powf(0, 0);
24731 return 0;
24733 _ACEOF
24734 if ac_fn_cxx_try_compile "$LINENO"; then :
24735 glibcxx_cv_func__powf_use=yes
24736 else
24737 glibcxx_cv_func__powf_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__powf_use" >&5
24751 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
24753 if test x$glibcxx_cv_func__powf_use = x"yes"; then
24754 for ac_func in _powf
24755 do :
24756 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
24757 if test "x$ac_cv_func__powf" = x""yes; then :
24758 cat >>confdefs.h <<_ACEOF
24759 #define HAVE__POWF 1
24760 _ACEOF
24763 done
24772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
24773 $as_echo_n "checking for sqrtf declaration... " >&6; }
24774 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
24775 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
24776 $as_echo_n "(cached) " >&6
24777 else
24780 ac_ext=cpp
24781 ac_cpp='$CXXCPP $CPPFLAGS'
24782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24787 /* end confdefs.h. */
24788 #include <math.h>
24789 #ifdef HAVE_IEEEFP_H
24790 #include <ieeefp.h>
24791 #endif
24794 main ()
24796 sqrtf(0);
24798 return 0;
24800 _ACEOF
24801 if ac_fn_cxx_try_compile "$LINENO"; then :
24802 glibcxx_cv_func_sqrtf_use=yes
24803 else
24804 glibcxx_cv_func_sqrtf_use=no
24806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24807 ac_ext=c
24808 ac_cpp='$CPP $CPPFLAGS'
24809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
24818 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
24820 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
24821 for ac_func in sqrtf
24822 do :
24823 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
24824 if test "x$ac_cv_func_sqrtf" = x""yes; then :
24825 cat >>confdefs.h <<_ACEOF
24826 #define HAVE_SQRTF 1
24827 _ACEOF
24830 done
24832 else
24834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
24835 $as_echo_n "checking for _sqrtf declaration... " >&6; }
24836 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
24837 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
24838 $as_echo_n "(cached) " >&6
24839 else
24842 ac_ext=cpp
24843 ac_cpp='$CXXCPP $CPPFLAGS'
24844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24849 /* end confdefs.h. */
24850 #include <math.h>
24851 #ifdef HAVE_IEEEFP_H
24852 #include <ieeefp.h>
24853 #endif
24856 main ()
24858 _sqrtf(0);
24860 return 0;
24862 _ACEOF
24863 if ac_fn_cxx_try_compile "$LINENO"; then :
24864 glibcxx_cv_func__sqrtf_use=yes
24865 else
24866 glibcxx_cv_func__sqrtf_use=no
24868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24869 ac_ext=c
24870 ac_cpp='$CPP $CPPFLAGS'
24871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
24880 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
24882 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
24883 for ac_func in _sqrtf
24884 do :
24885 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
24886 if test "x$ac_cv_func__sqrtf" = x""yes; then :
24887 cat >>confdefs.h <<_ACEOF
24888 #define HAVE__SQRTF 1
24889 _ACEOF
24892 done
24901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
24902 $as_echo_n "checking for sincosf declaration... " >&6; }
24903 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
24904 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
24905 $as_echo_n "(cached) " >&6
24906 else
24909 ac_ext=cpp
24910 ac_cpp='$CXXCPP $CPPFLAGS'
24911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24916 /* end confdefs.h. */
24917 #include <math.h>
24919 main ()
24921 sincosf(0, 0, 0);
24923 return 0;
24925 _ACEOF
24926 if ac_fn_cxx_try_compile "$LINENO"; then :
24927 glibcxx_cv_func_sincosf_use=yes
24928 else
24929 glibcxx_cv_func_sincosf_use=no
24931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24932 ac_ext=c
24933 ac_cpp='$CPP $CPPFLAGS'
24934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
24943 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
24945 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
24946 for ac_func in sincosf
24947 do :
24948 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
24949 if test "x$ac_cv_func_sincosf" = x""yes; then :
24950 cat >>confdefs.h <<_ACEOF
24951 #define HAVE_SINCOSF 1
24952 _ACEOF
24955 done
24957 else
24959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
24960 $as_echo_n "checking for _sincosf declaration... " >&6; }
24961 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
24962 if test "${glibcxx_cv_func__sincosf_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>
24977 main ()
24979 _sincosf(0, 0, 0);
24981 return 0;
24983 _ACEOF
24984 if ac_fn_cxx_try_compile "$LINENO"; then :
24985 glibcxx_cv_func__sincosf_use=yes
24986 else
24987 glibcxx_cv_func__sincosf_use=no
24989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24990 ac_ext=c
24991 ac_cpp='$CPP $CPPFLAGS'
24992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25001 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25003 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25004 for ac_func in _sincosf
25005 do :
25006 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25007 if test "x$ac_cv_func__sincosf" = x""yes; then :
25008 cat >>confdefs.h <<_ACEOF
25009 #define HAVE__SINCOSF 1
25010 _ACEOF
25013 done
25022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25023 $as_echo_n "checking for finitef declaration... " >&6; }
25024 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25025 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
25026 $as_echo_n "(cached) " >&6
25027 else
25030 ac_ext=cpp
25031 ac_cpp='$CXXCPP $CPPFLAGS'
25032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25037 /* end confdefs.h. */
25038 #include <math.h>
25039 #ifdef HAVE_IEEEFP_H
25040 #include <ieeefp.h>
25041 #endif
25044 main ()
25046 finitef(0);
25048 return 0;
25050 _ACEOF
25051 if ac_fn_cxx_try_compile "$LINENO"; then :
25052 glibcxx_cv_func_finitef_use=yes
25053 else
25054 glibcxx_cv_func_finitef_use=no
25056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25057 ac_ext=c
25058 ac_cpp='$CPP $CPPFLAGS'
25059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25068 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25070 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25071 for ac_func in finitef
25072 do :
25073 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25074 if test "x$ac_cv_func_finitef" = x""yes; then :
25075 cat >>confdefs.h <<_ACEOF
25076 #define HAVE_FINITEF 1
25077 _ACEOF
25080 done
25082 else
25084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25085 $as_echo_n "checking for _finitef declaration... " >&6; }
25086 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25087 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
25088 $as_echo_n "(cached) " >&6
25089 else
25092 ac_ext=cpp
25093 ac_cpp='$CXXCPP $CPPFLAGS'
25094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25099 /* end confdefs.h. */
25100 #include <math.h>
25101 #ifdef HAVE_IEEEFP_H
25102 #include <ieeefp.h>
25103 #endif
25106 main ()
25108 _finitef(0);
25110 return 0;
25112 _ACEOF
25113 if ac_fn_cxx_try_compile "$LINENO"; then :
25114 glibcxx_cv_func__finitef_use=yes
25115 else
25116 glibcxx_cv_func__finitef_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__finitef_use" >&5
25130 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25132 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25133 for ac_func in _finitef
25134 do :
25135 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25136 if test "x$ac_cv_func__finitef" = x""yes; then :
25137 cat >>confdefs.h <<_ACEOF
25138 #define HAVE__FINITEF 1
25139 _ACEOF
25142 done
25151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25152 $as_echo_n "checking for long double trig functions... " >&6; }
25153 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
25154 $as_echo_n "(cached) " >&6
25155 else
25158 ac_ext=cpp
25159 ac_cpp='$CXXCPP $CPPFLAGS'
25160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25165 /* end confdefs.h. */
25166 #include <math.h>
25168 main ()
25170 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25172 return 0;
25174 _ACEOF
25175 if ac_fn_cxx_try_compile "$LINENO"; then :
25176 glibcxx_cv_func_long_double_trig_use=yes
25177 else
25178 glibcxx_cv_func_long_double_trig_use=no
25180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25181 ac_ext=c
25182 ac_cpp='$CPP $CPPFLAGS'
25183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25190 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25191 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25192 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25193 do :
25194 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25195 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25196 eval as_val=\$$as_ac_var
25197 if test "x$as_val" = x""yes; then :
25198 cat >>confdefs.h <<_ACEOF
25199 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25200 _ACEOF
25203 done
25205 else
25206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25207 $as_echo_n "checking for _long double trig functions... " >&6; }
25208 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
25209 $as_echo_n "(cached) " >&6
25210 else
25213 ac_ext=cpp
25214 ac_cpp='$CXXCPP $CPPFLAGS'
25215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25220 /* end confdefs.h. */
25221 #include <math.h>
25223 main ()
25225 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25227 return 0;
25229 _ACEOF
25230 if ac_fn_cxx_try_compile "$LINENO"; then :
25231 glibcxx_cv_func__long_double_trig_use=yes
25232 else
25233 glibcxx_cv_func__long_double_trig_use=no
25235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25236 ac_ext=c
25237 ac_cpp='$CPP $CPPFLAGS'
25238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25245 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25246 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25247 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25248 do :
25249 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25250 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25251 eval as_val=\$$as_ac_var
25252 if test "x$as_val" = x""yes; then :
25253 cat >>confdefs.h <<_ACEOF
25254 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25255 _ACEOF
25258 done
25267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25268 $as_echo_n "checking for long double round functions... " >&6; }
25269 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
25270 $as_echo_n "(cached) " >&6
25271 else
25274 ac_ext=cpp
25275 ac_cpp='$CXXCPP $CPPFLAGS'
25276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25281 /* end confdefs.h. */
25282 #include <math.h>
25284 main ()
25286 ceill (0); floorl (0);
25288 return 0;
25290 _ACEOF
25291 if ac_fn_cxx_try_compile "$LINENO"; then :
25292 glibcxx_cv_func_long_double_round_use=yes
25293 else
25294 glibcxx_cv_func_long_double_round_use=no
25296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25297 ac_ext=c
25298 ac_cpp='$CPP $CPPFLAGS'
25299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25306 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25307 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25308 for ac_func in ceill floorl
25309 do :
25310 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25311 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25312 eval as_val=\$$as_ac_var
25313 if test "x$as_val" = x""yes; then :
25314 cat >>confdefs.h <<_ACEOF
25315 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25316 _ACEOF
25319 done
25321 else
25322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25323 $as_echo_n "checking for _long double round functions... " >&6; }
25324 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
25325 $as_echo_n "(cached) " >&6
25326 else
25329 ac_ext=cpp
25330 ac_cpp='$CXXCPP $CPPFLAGS'
25331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25336 /* end confdefs.h. */
25337 #include <math.h>
25339 main ()
25341 _ceill (0); _floorl (0);
25343 return 0;
25345 _ACEOF
25346 if ac_fn_cxx_try_compile "$LINENO"; then :
25347 glibcxx_cv_func__long_double_round_use=yes
25348 else
25349 glibcxx_cv_func__long_double_round_use=no
25351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25352 ac_ext=c
25353 ac_cpp='$CPP $CPPFLAGS'
25354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25361 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25362 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25363 for ac_func in _ceill _floorl
25364 do :
25365 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25366 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25367 eval as_val=\$$as_ac_var
25368 if test "x$as_val" = x""yes; then :
25369 cat >>confdefs.h <<_ACEOF
25370 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25371 _ACEOF
25374 done
25384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25385 $as_echo_n "checking for isnanl declaration... " >&6; }
25386 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25387 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
25388 $as_echo_n "(cached) " >&6
25389 else
25392 ac_ext=cpp
25393 ac_cpp='$CXXCPP $CPPFLAGS'
25394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25399 /* end confdefs.h. */
25400 #include <math.h>
25401 #ifdef HAVE_IEEEFP_H
25402 #include <ieeefp.h>
25403 #endif
25406 main ()
25408 isnanl(0);
25410 return 0;
25412 _ACEOF
25413 if ac_fn_cxx_try_compile "$LINENO"; then :
25414 glibcxx_cv_func_isnanl_use=yes
25415 else
25416 glibcxx_cv_func_isnanl_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_isnanl_use" >&5
25430 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25432 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25433 for ac_func in isnanl
25434 do :
25435 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25436 if test "x$ac_cv_func_isnanl" = x""yes; then :
25437 cat >>confdefs.h <<_ACEOF
25438 #define HAVE_ISNANL 1
25439 _ACEOF
25442 done
25444 else
25446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25447 $as_echo_n "checking for _isnanl declaration... " >&6; }
25448 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25449 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
25450 $as_echo_n "(cached) " >&6
25451 else
25454 ac_ext=cpp
25455 ac_cpp='$CXXCPP $CPPFLAGS'
25456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25461 /* end confdefs.h. */
25462 #include <math.h>
25463 #ifdef HAVE_IEEEFP_H
25464 #include <ieeefp.h>
25465 #endif
25468 main ()
25470 _isnanl(0);
25472 return 0;
25474 _ACEOF
25475 if ac_fn_cxx_try_compile "$LINENO"; then :
25476 glibcxx_cv_func__isnanl_use=yes
25477 else
25478 glibcxx_cv_func__isnanl_use=no
25480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25481 ac_ext=c
25482 ac_cpp='$CPP $CPPFLAGS'
25483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25492 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25494 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25495 for ac_func in _isnanl
25496 do :
25497 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25498 if test "x$ac_cv_func__isnanl" = x""yes; then :
25499 cat >>confdefs.h <<_ACEOF
25500 #define HAVE__ISNANL 1
25501 _ACEOF
25504 done
25513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25514 $as_echo_n "checking for isinfl declaration... " >&6; }
25515 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25516 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
25517 $as_echo_n "(cached) " >&6
25518 else
25521 ac_ext=cpp
25522 ac_cpp='$CXXCPP $CPPFLAGS'
25523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25528 /* end confdefs.h. */
25529 #include <math.h>
25530 #ifdef HAVE_IEEEFP_H
25531 #include <ieeefp.h>
25532 #endif
25535 main ()
25537 isinfl(0);
25539 return 0;
25541 _ACEOF
25542 if ac_fn_cxx_try_compile "$LINENO"; then :
25543 glibcxx_cv_func_isinfl_use=yes
25544 else
25545 glibcxx_cv_func_isinfl_use=no
25547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25548 ac_ext=c
25549 ac_cpp='$CPP $CPPFLAGS'
25550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
25559 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
25561 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
25562 for ac_func in isinfl
25563 do :
25564 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
25565 if test "x$ac_cv_func_isinfl" = x""yes; then :
25566 cat >>confdefs.h <<_ACEOF
25567 #define HAVE_ISINFL 1
25568 _ACEOF
25571 done
25573 else
25575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
25576 $as_echo_n "checking for _isinfl declaration... " >&6; }
25577 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
25578 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
25579 $as_echo_n "(cached) " >&6
25580 else
25583 ac_ext=cpp
25584 ac_cpp='$CXXCPP $CPPFLAGS'
25585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25590 /* end confdefs.h. */
25591 #include <math.h>
25592 #ifdef HAVE_IEEEFP_H
25593 #include <ieeefp.h>
25594 #endif
25597 main ()
25599 _isinfl(0);
25601 return 0;
25603 _ACEOF
25604 if ac_fn_cxx_try_compile "$LINENO"; then :
25605 glibcxx_cv_func__isinfl_use=yes
25606 else
25607 glibcxx_cv_func__isinfl_use=no
25609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25610 ac_ext=c
25611 ac_cpp='$CPP $CPPFLAGS'
25612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
25621 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
25623 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
25624 for ac_func in _isinfl
25625 do :
25626 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
25627 if test "x$ac_cv_func__isinfl" = x""yes; then :
25628 cat >>confdefs.h <<_ACEOF
25629 #define HAVE__ISINFL 1
25630 _ACEOF
25633 done
25642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
25643 $as_echo_n "checking for atan2l declaration... " >&6; }
25644 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
25645 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
25646 $as_echo_n "(cached) " >&6
25647 else
25650 ac_ext=cpp
25651 ac_cpp='$CXXCPP $CPPFLAGS'
25652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25657 /* end confdefs.h. */
25658 #include <math.h>
25660 main ()
25662 atan2l(0, 0);
25664 return 0;
25666 _ACEOF
25667 if ac_fn_cxx_try_compile "$LINENO"; then :
25668 glibcxx_cv_func_atan2l_use=yes
25669 else
25670 glibcxx_cv_func_atan2l_use=no
25672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25673 ac_ext=c
25674 ac_cpp='$CPP $CPPFLAGS'
25675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
25684 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
25686 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
25687 for ac_func in atan2l
25688 do :
25689 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
25690 if test "x$ac_cv_func_atan2l" = x""yes; then :
25691 cat >>confdefs.h <<_ACEOF
25692 #define HAVE_ATAN2L 1
25693 _ACEOF
25696 done
25698 else
25700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
25701 $as_echo_n "checking for _atan2l declaration... " >&6; }
25702 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
25703 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
25704 $as_echo_n "(cached) " >&6
25705 else
25708 ac_ext=cpp
25709 ac_cpp='$CXXCPP $CPPFLAGS'
25710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25715 /* end confdefs.h. */
25716 #include <math.h>
25718 main ()
25720 _atan2l(0, 0);
25722 return 0;
25724 _ACEOF
25725 if ac_fn_cxx_try_compile "$LINENO"; then :
25726 glibcxx_cv_func__atan2l_use=yes
25727 else
25728 glibcxx_cv_func__atan2l_use=no
25730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25731 ac_ext=c
25732 ac_cpp='$CPP $CPPFLAGS'
25733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
25742 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
25744 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
25745 for ac_func in _atan2l
25746 do :
25747 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
25748 if test "x$ac_cv_func__atan2l" = x""yes; then :
25749 cat >>confdefs.h <<_ACEOF
25750 #define HAVE__ATAN2L 1
25751 _ACEOF
25754 done
25763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
25764 $as_echo_n "checking for expl declaration... " >&6; }
25765 if test x${glibcxx_cv_func_expl_use+set} != xset; then
25766 if test "${glibcxx_cv_func_expl_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 expl(0);
25789 return 0;
25791 _ACEOF
25792 if ac_fn_cxx_try_compile "$LINENO"; then :
25793 glibcxx_cv_func_expl_use=yes
25794 else
25795 glibcxx_cv_func_expl_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_expl_use" >&5
25809 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
25811 if test x$glibcxx_cv_func_expl_use = x"yes"; then
25812 for ac_func in expl
25813 do :
25814 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
25815 if test "x$ac_cv_func_expl" = x""yes; then :
25816 cat >>confdefs.h <<_ACEOF
25817 #define HAVE_EXPL 1
25818 _ACEOF
25821 done
25823 else
25825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
25826 $as_echo_n "checking for _expl declaration... " >&6; }
25827 if test x${glibcxx_cv_func__expl_use+set} != xset; then
25828 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
25829 $as_echo_n "(cached) " >&6
25830 else
25833 ac_ext=cpp
25834 ac_cpp='$CXXCPP $CPPFLAGS'
25835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25840 /* end confdefs.h. */
25841 #include <math.h>
25842 #ifdef HAVE_IEEEFP_H
25843 #include <ieeefp.h>
25844 #endif
25847 main ()
25849 _expl(0);
25851 return 0;
25853 _ACEOF
25854 if ac_fn_cxx_try_compile "$LINENO"; then :
25855 glibcxx_cv_func__expl_use=yes
25856 else
25857 glibcxx_cv_func__expl_use=no
25859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25860 ac_ext=c
25861 ac_cpp='$CPP $CPPFLAGS'
25862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
25871 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
25873 if test x$glibcxx_cv_func__expl_use = x"yes"; then
25874 for ac_func in _expl
25875 do :
25876 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
25877 if test "x$ac_cv_func__expl" = x""yes; then :
25878 cat >>confdefs.h <<_ACEOF
25879 #define HAVE__EXPL 1
25880 _ACEOF
25883 done
25892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
25893 $as_echo_n "checking for fabsl declaration... " >&6; }
25894 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
25895 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
25896 $as_echo_n "(cached) " >&6
25897 else
25900 ac_ext=cpp
25901 ac_cpp='$CXXCPP $CPPFLAGS'
25902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25907 /* end confdefs.h. */
25908 #include <math.h>
25909 #ifdef HAVE_IEEEFP_H
25910 #include <ieeefp.h>
25911 #endif
25914 main ()
25916 fabsl(0);
25918 return 0;
25920 _ACEOF
25921 if ac_fn_cxx_try_compile "$LINENO"; then :
25922 glibcxx_cv_func_fabsl_use=yes
25923 else
25924 glibcxx_cv_func_fabsl_use=no
25926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25927 ac_ext=c
25928 ac_cpp='$CPP $CPPFLAGS'
25929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
25938 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
25940 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
25941 for ac_func in fabsl
25942 do :
25943 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
25944 if test "x$ac_cv_func_fabsl" = x""yes; then :
25945 cat >>confdefs.h <<_ACEOF
25946 #define HAVE_FABSL 1
25947 _ACEOF
25950 done
25952 else
25954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
25955 $as_echo_n "checking for _fabsl declaration... " >&6; }
25956 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
25957 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
25958 $as_echo_n "(cached) " >&6
25959 else
25962 ac_ext=cpp
25963 ac_cpp='$CXXCPP $CPPFLAGS'
25964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25969 /* end confdefs.h. */
25970 #include <math.h>
25971 #ifdef HAVE_IEEEFP_H
25972 #include <ieeefp.h>
25973 #endif
25976 main ()
25978 _fabsl(0);
25980 return 0;
25982 _ACEOF
25983 if ac_fn_cxx_try_compile "$LINENO"; then :
25984 glibcxx_cv_func__fabsl_use=yes
25985 else
25986 glibcxx_cv_func__fabsl_use=no
25988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25989 ac_ext=c
25990 ac_cpp='$CPP $CPPFLAGS'
25991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26000 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26002 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26003 for ac_func in _fabsl
26004 do :
26005 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26006 if test "x$ac_cv_func__fabsl" = x""yes; then :
26007 cat >>confdefs.h <<_ACEOF
26008 #define HAVE__FABSL 1
26009 _ACEOF
26012 done
26021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26022 $as_echo_n "checking for fmodl declaration... " >&6; }
26023 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26024 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
26025 $as_echo_n "(cached) " >&6
26026 else
26029 ac_ext=cpp
26030 ac_cpp='$CXXCPP $CPPFLAGS'
26031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26036 /* end confdefs.h. */
26037 #include <math.h>
26039 main ()
26041 fmodl(0, 0);
26043 return 0;
26045 _ACEOF
26046 if ac_fn_cxx_try_compile "$LINENO"; then :
26047 glibcxx_cv_func_fmodl_use=yes
26048 else
26049 glibcxx_cv_func_fmodl_use=no
26051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26052 ac_ext=c
26053 ac_cpp='$CPP $CPPFLAGS'
26054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26063 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26065 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26066 for ac_func in fmodl
26067 do :
26068 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26069 if test "x$ac_cv_func_fmodl" = x""yes; then :
26070 cat >>confdefs.h <<_ACEOF
26071 #define HAVE_FMODL 1
26072 _ACEOF
26075 done
26077 else
26079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26080 $as_echo_n "checking for _fmodl declaration... " >&6; }
26081 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26082 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
26083 $as_echo_n "(cached) " >&6
26084 else
26087 ac_ext=cpp
26088 ac_cpp='$CXXCPP $CPPFLAGS'
26089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26094 /* end confdefs.h. */
26095 #include <math.h>
26097 main ()
26099 _fmodl(0, 0);
26101 return 0;
26103 _ACEOF
26104 if ac_fn_cxx_try_compile "$LINENO"; then :
26105 glibcxx_cv_func__fmodl_use=yes
26106 else
26107 glibcxx_cv_func__fmodl_use=no
26109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26110 ac_ext=c
26111 ac_cpp='$CPP $CPPFLAGS'
26112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26121 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26123 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26124 for ac_func in _fmodl
26125 do :
26126 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26127 if test "x$ac_cv_func__fmodl" = x""yes; then :
26128 cat >>confdefs.h <<_ACEOF
26129 #define HAVE__FMODL 1
26130 _ACEOF
26133 done
26142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26143 $as_echo_n "checking for frexpl declaration... " >&6; }
26144 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26145 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
26146 $as_echo_n "(cached) " >&6
26147 else
26150 ac_ext=cpp
26151 ac_cpp='$CXXCPP $CPPFLAGS'
26152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26157 /* end confdefs.h. */
26158 #include <math.h>
26160 main ()
26162 frexpl(0, 0);
26164 return 0;
26166 _ACEOF
26167 if ac_fn_cxx_try_compile "$LINENO"; then :
26168 glibcxx_cv_func_frexpl_use=yes
26169 else
26170 glibcxx_cv_func_frexpl_use=no
26172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26173 ac_ext=c
26174 ac_cpp='$CPP $CPPFLAGS'
26175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26184 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26186 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26187 for ac_func in frexpl
26188 do :
26189 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26190 if test "x$ac_cv_func_frexpl" = x""yes; then :
26191 cat >>confdefs.h <<_ACEOF
26192 #define HAVE_FREXPL 1
26193 _ACEOF
26196 done
26198 else
26200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26201 $as_echo_n "checking for _frexpl declaration... " >&6; }
26202 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26203 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
26204 $as_echo_n "(cached) " >&6
26205 else
26208 ac_ext=cpp
26209 ac_cpp='$CXXCPP $CPPFLAGS'
26210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26215 /* end confdefs.h. */
26216 #include <math.h>
26218 main ()
26220 _frexpl(0, 0);
26222 return 0;
26224 _ACEOF
26225 if ac_fn_cxx_try_compile "$LINENO"; then :
26226 glibcxx_cv_func__frexpl_use=yes
26227 else
26228 glibcxx_cv_func__frexpl_use=no
26230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26231 ac_ext=c
26232 ac_cpp='$CPP $CPPFLAGS'
26233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26242 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26244 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26245 for ac_func in _frexpl
26246 do :
26247 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26248 if test "x$ac_cv_func__frexpl" = x""yes; then :
26249 cat >>confdefs.h <<_ACEOF
26250 #define HAVE__FREXPL 1
26251 _ACEOF
26254 done
26263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26264 $as_echo_n "checking for hypotl declaration... " >&6; }
26265 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26266 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
26267 $as_echo_n "(cached) " >&6
26268 else
26271 ac_ext=cpp
26272 ac_cpp='$CXXCPP $CPPFLAGS'
26273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26278 /* end confdefs.h. */
26279 #include <math.h>
26281 main ()
26283 hypotl(0, 0);
26285 return 0;
26287 _ACEOF
26288 if ac_fn_cxx_try_compile "$LINENO"; then :
26289 glibcxx_cv_func_hypotl_use=yes
26290 else
26291 glibcxx_cv_func_hypotl_use=no
26293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26294 ac_ext=c
26295 ac_cpp='$CPP $CPPFLAGS'
26296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26305 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26307 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26308 for ac_func in hypotl
26309 do :
26310 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26311 if test "x$ac_cv_func_hypotl" = x""yes; then :
26312 cat >>confdefs.h <<_ACEOF
26313 #define HAVE_HYPOTL 1
26314 _ACEOF
26317 done
26319 else
26321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26322 $as_echo_n "checking for _hypotl declaration... " >&6; }
26323 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26324 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
26325 $as_echo_n "(cached) " >&6
26326 else
26329 ac_ext=cpp
26330 ac_cpp='$CXXCPP $CPPFLAGS'
26331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26336 /* end confdefs.h. */
26337 #include <math.h>
26339 main ()
26341 _hypotl(0, 0);
26343 return 0;
26345 _ACEOF
26346 if ac_fn_cxx_try_compile "$LINENO"; then :
26347 glibcxx_cv_func__hypotl_use=yes
26348 else
26349 glibcxx_cv_func__hypotl_use=no
26351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26352 ac_ext=c
26353 ac_cpp='$CPP $CPPFLAGS'
26354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26363 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26365 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26366 for ac_func in _hypotl
26367 do :
26368 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26369 if test "x$ac_cv_func__hypotl" = x""yes; then :
26370 cat >>confdefs.h <<_ACEOF
26371 #define HAVE__HYPOTL 1
26372 _ACEOF
26375 done
26384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26385 $as_echo_n "checking for ldexpl declaration... " >&6; }
26386 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26387 if test "${glibcxx_cv_func_ldexpl_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>
26402 main ()
26404 ldexpl(0, 0);
26406 return 0;
26408 _ACEOF
26409 if ac_fn_cxx_try_compile "$LINENO"; then :
26410 glibcxx_cv_func_ldexpl_use=yes
26411 else
26412 glibcxx_cv_func_ldexpl_use=no
26414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26415 ac_ext=c
26416 ac_cpp='$CPP $CPPFLAGS'
26417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26426 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26428 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26429 for ac_func in ldexpl
26430 do :
26431 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26432 if test "x$ac_cv_func_ldexpl" = x""yes; then :
26433 cat >>confdefs.h <<_ACEOF
26434 #define HAVE_LDEXPL 1
26435 _ACEOF
26438 done
26440 else
26442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26443 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26444 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26445 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
26446 $as_echo_n "(cached) " >&6
26447 else
26450 ac_ext=cpp
26451 ac_cpp='$CXXCPP $CPPFLAGS'
26452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26457 /* end confdefs.h. */
26458 #include <math.h>
26460 main ()
26462 _ldexpl(0, 0);
26464 return 0;
26466 _ACEOF
26467 if ac_fn_cxx_try_compile "$LINENO"; then :
26468 glibcxx_cv_func__ldexpl_use=yes
26469 else
26470 glibcxx_cv_func__ldexpl_use=no
26472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26473 ac_ext=c
26474 ac_cpp='$CPP $CPPFLAGS'
26475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26484 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26486 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26487 for ac_func in _ldexpl
26488 do :
26489 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26490 if test "x$ac_cv_func__ldexpl" = x""yes; then :
26491 cat >>confdefs.h <<_ACEOF
26492 #define HAVE__LDEXPL 1
26493 _ACEOF
26496 done
26505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26506 $as_echo_n "checking for logl declaration... " >&6; }
26507 if test x${glibcxx_cv_func_logl_use+set} != xset; then
26508 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
26509 $as_echo_n "(cached) " >&6
26510 else
26513 ac_ext=cpp
26514 ac_cpp='$CXXCPP $CPPFLAGS'
26515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26520 /* end confdefs.h. */
26521 #include <math.h>
26522 #ifdef HAVE_IEEEFP_H
26523 #include <ieeefp.h>
26524 #endif
26527 main ()
26529 logl(0);
26531 return 0;
26533 _ACEOF
26534 if ac_fn_cxx_try_compile "$LINENO"; then :
26535 glibcxx_cv_func_logl_use=yes
26536 else
26537 glibcxx_cv_func_logl_use=no
26539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26540 ac_ext=c
26541 ac_cpp='$CPP $CPPFLAGS'
26542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
26551 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
26553 if test x$glibcxx_cv_func_logl_use = x"yes"; then
26554 for ac_func in logl
26555 do :
26556 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
26557 if test "x$ac_cv_func_logl" = x""yes; then :
26558 cat >>confdefs.h <<_ACEOF
26559 #define HAVE_LOGL 1
26560 _ACEOF
26563 done
26565 else
26567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
26568 $as_echo_n "checking for _logl declaration... " >&6; }
26569 if test x${glibcxx_cv_func__logl_use+set} != xset; then
26570 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
26571 $as_echo_n "(cached) " >&6
26572 else
26575 ac_ext=cpp
26576 ac_cpp='$CXXCPP $CPPFLAGS'
26577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26582 /* end confdefs.h. */
26583 #include <math.h>
26584 #ifdef HAVE_IEEEFP_H
26585 #include <ieeefp.h>
26586 #endif
26589 main ()
26591 _logl(0);
26593 return 0;
26595 _ACEOF
26596 if ac_fn_cxx_try_compile "$LINENO"; then :
26597 glibcxx_cv_func__logl_use=yes
26598 else
26599 glibcxx_cv_func__logl_use=no
26601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26602 ac_ext=c
26603 ac_cpp='$CPP $CPPFLAGS'
26604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
26613 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
26615 if test x$glibcxx_cv_func__logl_use = x"yes"; then
26616 for ac_func in _logl
26617 do :
26618 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
26619 if test "x$ac_cv_func__logl" = x""yes; then :
26620 cat >>confdefs.h <<_ACEOF
26621 #define HAVE__LOGL 1
26622 _ACEOF
26625 done
26634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
26635 $as_echo_n "checking for log10l declaration... " >&6; }
26636 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
26637 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
26638 $as_echo_n "(cached) " >&6
26639 else
26642 ac_ext=cpp
26643 ac_cpp='$CXXCPP $CPPFLAGS'
26644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26649 /* end confdefs.h. */
26650 #include <math.h>
26651 #ifdef HAVE_IEEEFP_H
26652 #include <ieeefp.h>
26653 #endif
26656 main ()
26658 log10l(0);
26660 return 0;
26662 _ACEOF
26663 if ac_fn_cxx_try_compile "$LINENO"; then :
26664 glibcxx_cv_func_log10l_use=yes
26665 else
26666 glibcxx_cv_func_log10l_use=no
26668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26669 ac_ext=c
26670 ac_cpp='$CPP $CPPFLAGS'
26671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
26680 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
26682 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
26683 for ac_func in log10l
26684 do :
26685 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
26686 if test "x$ac_cv_func_log10l" = x""yes; then :
26687 cat >>confdefs.h <<_ACEOF
26688 #define HAVE_LOG10L 1
26689 _ACEOF
26692 done
26694 else
26696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
26697 $as_echo_n "checking for _log10l declaration... " >&6; }
26698 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
26699 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
26700 $as_echo_n "(cached) " >&6
26701 else
26704 ac_ext=cpp
26705 ac_cpp='$CXXCPP $CPPFLAGS'
26706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26711 /* end confdefs.h. */
26712 #include <math.h>
26713 #ifdef HAVE_IEEEFP_H
26714 #include <ieeefp.h>
26715 #endif
26718 main ()
26720 _log10l(0);
26722 return 0;
26724 _ACEOF
26725 if ac_fn_cxx_try_compile "$LINENO"; then :
26726 glibcxx_cv_func__log10l_use=yes
26727 else
26728 glibcxx_cv_func__log10l_use=no
26730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26731 ac_ext=c
26732 ac_cpp='$CPP $CPPFLAGS'
26733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
26742 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
26744 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
26745 for ac_func in _log10l
26746 do :
26747 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
26748 if test "x$ac_cv_func__log10l" = x""yes; then :
26749 cat >>confdefs.h <<_ACEOF
26750 #define HAVE__LOG10L 1
26751 _ACEOF
26754 done
26763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
26764 $as_echo_n "checking for modfl declaration... " >&6; }
26765 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
26766 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
26767 $as_echo_n "(cached) " >&6
26768 else
26771 ac_ext=cpp
26772 ac_cpp='$CXXCPP $CPPFLAGS'
26773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26778 /* end confdefs.h. */
26779 #include <math.h>
26781 main ()
26783 modfl(0, 0);
26785 return 0;
26787 _ACEOF
26788 if ac_fn_cxx_try_compile "$LINENO"; then :
26789 glibcxx_cv_func_modfl_use=yes
26790 else
26791 glibcxx_cv_func_modfl_use=no
26793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26794 ac_ext=c
26795 ac_cpp='$CPP $CPPFLAGS'
26796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
26805 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
26807 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
26808 for ac_func in modfl
26809 do :
26810 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
26811 if test "x$ac_cv_func_modfl" = x""yes; then :
26812 cat >>confdefs.h <<_ACEOF
26813 #define HAVE_MODFL 1
26814 _ACEOF
26817 done
26819 else
26821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
26822 $as_echo_n "checking for _modfl declaration... " >&6; }
26823 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
26824 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
26825 $as_echo_n "(cached) " >&6
26826 else
26829 ac_ext=cpp
26830 ac_cpp='$CXXCPP $CPPFLAGS'
26831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26836 /* end confdefs.h. */
26837 #include <math.h>
26839 main ()
26841 _modfl(0, 0);
26843 return 0;
26845 _ACEOF
26846 if ac_fn_cxx_try_compile "$LINENO"; then :
26847 glibcxx_cv_func__modfl_use=yes
26848 else
26849 glibcxx_cv_func__modfl_use=no
26851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26852 ac_ext=c
26853 ac_cpp='$CPP $CPPFLAGS'
26854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
26863 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
26865 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
26866 for ac_func in _modfl
26867 do :
26868 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
26869 if test "x$ac_cv_func__modfl" = x""yes; then :
26870 cat >>confdefs.h <<_ACEOF
26871 #define HAVE__MODFL 1
26872 _ACEOF
26875 done
26884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
26885 $as_echo_n "checking for powl declaration... " >&6; }
26886 if test x${glibcxx_cv_func_powl_use+set} != xset; then
26887 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
26888 $as_echo_n "(cached) " >&6
26889 else
26892 ac_ext=cpp
26893 ac_cpp='$CXXCPP $CPPFLAGS'
26894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26899 /* end confdefs.h. */
26900 #include <math.h>
26902 main ()
26904 powl(0, 0);
26906 return 0;
26908 _ACEOF
26909 if ac_fn_cxx_try_compile "$LINENO"; then :
26910 glibcxx_cv_func_powl_use=yes
26911 else
26912 glibcxx_cv_func_powl_use=no
26914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26915 ac_ext=c
26916 ac_cpp='$CPP $CPPFLAGS'
26917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
26926 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
26928 if test x$glibcxx_cv_func_powl_use = x"yes"; then
26929 for ac_func in powl
26930 do :
26931 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
26932 if test "x$ac_cv_func_powl" = x""yes; then :
26933 cat >>confdefs.h <<_ACEOF
26934 #define HAVE_POWL 1
26935 _ACEOF
26938 done
26940 else
26942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
26943 $as_echo_n "checking for _powl declaration... " >&6; }
26944 if test x${glibcxx_cv_func__powl_use+set} != xset; then
26945 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
26946 $as_echo_n "(cached) " >&6
26947 else
26950 ac_ext=cpp
26951 ac_cpp='$CXXCPP $CPPFLAGS'
26952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26957 /* end confdefs.h. */
26958 #include <math.h>
26960 main ()
26962 _powl(0, 0);
26964 return 0;
26966 _ACEOF
26967 if ac_fn_cxx_try_compile "$LINENO"; then :
26968 glibcxx_cv_func__powl_use=yes
26969 else
26970 glibcxx_cv_func__powl_use=no
26972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26973 ac_ext=c
26974 ac_cpp='$CPP $CPPFLAGS'
26975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
26984 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
26986 if test x$glibcxx_cv_func__powl_use = x"yes"; then
26987 for ac_func in _powl
26988 do :
26989 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
26990 if test "x$ac_cv_func__powl" = x""yes; then :
26991 cat >>confdefs.h <<_ACEOF
26992 #define HAVE__POWL 1
26993 _ACEOF
26996 done
27005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27006 $as_echo_n "checking for sqrtl declaration... " >&6; }
27007 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27008 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
27009 $as_echo_n "(cached) " >&6
27010 else
27013 ac_ext=cpp
27014 ac_cpp='$CXXCPP $CPPFLAGS'
27015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27020 /* end confdefs.h. */
27021 #include <math.h>
27022 #ifdef HAVE_IEEEFP_H
27023 #include <ieeefp.h>
27024 #endif
27027 main ()
27029 sqrtl(0);
27031 return 0;
27033 _ACEOF
27034 if ac_fn_cxx_try_compile "$LINENO"; then :
27035 glibcxx_cv_func_sqrtl_use=yes
27036 else
27037 glibcxx_cv_func_sqrtl_use=no
27039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27040 ac_ext=c
27041 ac_cpp='$CPP $CPPFLAGS'
27042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27051 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27053 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27054 for ac_func in sqrtl
27055 do :
27056 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27057 if test "x$ac_cv_func_sqrtl" = x""yes; then :
27058 cat >>confdefs.h <<_ACEOF
27059 #define HAVE_SQRTL 1
27060 _ACEOF
27063 done
27065 else
27067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27068 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27069 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27070 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
27071 $as_echo_n "(cached) " >&6
27072 else
27075 ac_ext=cpp
27076 ac_cpp='$CXXCPP $CPPFLAGS'
27077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27082 /* end confdefs.h. */
27083 #include <math.h>
27084 #ifdef HAVE_IEEEFP_H
27085 #include <ieeefp.h>
27086 #endif
27089 main ()
27091 _sqrtl(0);
27093 return 0;
27095 _ACEOF
27096 if ac_fn_cxx_try_compile "$LINENO"; then :
27097 glibcxx_cv_func__sqrtl_use=yes
27098 else
27099 glibcxx_cv_func__sqrtl_use=no
27101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27102 ac_ext=c
27103 ac_cpp='$CPP $CPPFLAGS'
27104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27113 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27115 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27116 for ac_func in _sqrtl
27117 do :
27118 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27119 if test "x$ac_cv_func__sqrtl" = x""yes; then :
27120 cat >>confdefs.h <<_ACEOF
27121 #define HAVE__SQRTL 1
27122 _ACEOF
27125 done
27134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27135 $as_echo_n "checking for sincosl declaration... " >&6; }
27136 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27137 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
27138 $as_echo_n "(cached) " >&6
27139 else
27142 ac_ext=cpp
27143 ac_cpp='$CXXCPP $CPPFLAGS'
27144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27149 /* end confdefs.h. */
27150 #include <math.h>
27152 main ()
27154 sincosl(0, 0, 0);
27156 return 0;
27158 _ACEOF
27159 if ac_fn_cxx_try_compile "$LINENO"; then :
27160 glibcxx_cv_func_sincosl_use=yes
27161 else
27162 glibcxx_cv_func_sincosl_use=no
27164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27165 ac_ext=c
27166 ac_cpp='$CPP $CPPFLAGS'
27167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27176 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27178 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27179 for ac_func in sincosl
27180 do :
27181 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27182 if test "x$ac_cv_func_sincosl" = x""yes; then :
27183 cat >>confdefs.h <<_ACEOF
27184 #define HAVE_SINCOSL 1
27185 _ACEOF
27188 done
27190 else
27192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27193 $as_echo_n "checking for _sincosl declaration... " >&6; }
27194 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27195 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
27196 $as_echo_n "(cached) " >&6
27197 else
27200 ac_ext=cpp
27201 ac_cpp='$CXXCPP $CPPFLAGS'
27202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27207 /* end confdefs.h. */
27208 #include <math.h>
27210 main ()
27212 _sincosl(0, 0, 0);
27214 return 0;
27216 _ACEOF
27217 if ac_fn_cxx_try_compile "$LINENO"; then :
27218 glibcxx_cv_func__sincosl_use=yes
27219 else
27220 glibcxx_cv_func__sincosl_use=no
27222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27223 ac_ext=c
27224 ac_cpp='$CPP $CPPFLAGS'
27225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27234 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27236 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27237 for ac_func in _sincosl
27238 do :
27239 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27240 if test "x$ac_cv_func__sincosl" = x""yes; then :
27241 cat >>confdefs.h <<_ACEOF
27242 #define HAVE__SINCOSL 1
27243 _ACEOF
27246 done
27255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27256 $as_echo_n "checking for finitel declaration... " >&6; }
27257 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27258 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
27259 $as_echo_n "(cached) " >&6
27260 else
27263 ac_ext=cpp
27264 ac_cpp='$CXXCPP $CPPFLAGS'
27265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27270 /* end confdefs.h. */
27271 #include <math.h>
27272 #ifdef HAVE_IEEEFP_H
27273 #include <ieeefp.h>
27274 #endif
27277 main ()
27279 finitel(0);
27281 return 0;
27283 _ACEOF
27284 if ac_fn_cxx_try_compile "$LINENO"; then :
27285 glibcxx_cv_func_finitel_use=yes
27286 else
27287 glibcxx_cv_func_finitel_use=no
27289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27290 ac_ext=c
27291 ac_cpp='$CPP $CPPFLAGS'
27292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27301 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27303 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27304 for ac_func in finitel
27305 do :
27306 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27307 if test "x$ac_cv_func_finitel" = x""yes; then :
27308 cat >>confdefs.h <<_ACEOF
27309 #define HAVE_FINITEL 1
27310 _ACEOF
27313 done
27315 else
27317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27318 $as_echo_n "checking for _finitel declaration... " >&6; }
27319 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27320 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
27321 $as_echo_n "(cached) " >&6
27322 else
27325 ac_ext=cpp
27326 ac_cpp='$CXXCPP $CPPFLAGS'
27327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27332 /* end confdefs.h. */
27333 #include <math.h>
27334 #ifdef HAVE_IEEEFP_H
27335 #include <ieeefp.h>
27336 #endif
27339 main ()
27341 _finitel(0);
27343 return 0;
27345 _ACEOF
27346 if ac_fn_cxx_try_compile "$LINENO"; then :
27347 glibcxx_cv_func__finitel_use=yes
27348 else
27349 glibcxx_cv_func__finitel_use=no
27351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27352 ac_ext=c
27353 ac_cpp='$CPP $CPPFLAGS'
27354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27363 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27365 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27366 for ac_func in _finitel
27367 do :
27368 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27369 if test "x$ac_cv_func__finitel" = x""yes; then :
27370 cat >>confdefs.h <<_ACEOF
27371 #define HAVE__FINITEL 1
27372 _ACEOF
27375 done
27383 LIBS="$ac_save_LIBS"
27384 CXXFLAGS="$ac_save_CXXFLAGS"
27387 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27388 ac_save_CXXFLAGS="$CXXFLAGS"
27389 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27393 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27394 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27395 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
27396 $as_echo_n "(cached) " >&6
27397 else
27400 ac_ext=cpp
27401 ac_cpp='$CXXCPP $CPPFLAGS'
27402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27407 /* end confdefs.h. */
27408 #include <stdlib.h>
27410 main ()
27412 at_quick_exit(0);
27414 return 0;
27416 _ACEOF
27417 if ac_fn_cxx_try_compile "$LINENO"; then :
27418 glibcxx_cv_func_at_quick_exit_use=yes
27419 else
27420 glibcxx_cv_func_at_quick_exit_use=no
27422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27423 ac_ext=c
27424 ac_cpp='$CPP $CPPFLAGS'
27425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27434 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27435 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27436 for ac_func in at_quick_exit
27437 do :
27438 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27439 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
27440 cat >>confdefs.h <<_ACEOF
27441 #define HAVE_AT_QUICK_EXIT 1
27442 _ACEOF
27445 done
27450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27451 $as_echo_n "checking for quick_exit declaration... " >&6; }
27452 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27453 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
27454 $as_echo_n "(cached) " >&6
27455 else
27458 ac_ext=cpp
27459 ac_cpp='$CXXCPP $CPPFLAGS'
27460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27465 /* end confdefs.h. */
27466 #include <stdlib.h>
27468 main ()
27470 quick_exit(0);
27472 return 0;
27474 _ACEOF
27475 if ac_fn_cxx_try_compile "$LINENO"; then :
27476 glibcxx_cv_func_quick_exit_use=yes
27477 else
27478 glibcxx_cv_func_quick_exit_use=no
27480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27481 ac_ext=c
27482 ac_cpp='$CPP $CPPFLAGS'
27483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27492 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27493 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27494 for ac_func in quick_exit
27495 do :
27496 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27497 if test "x$ac_cv_func_quick_exit" = x""yes; then :
27498 cat >>confdefs.h <<_ACEOF
27499 #define HAVE_QUICK_EXIT 1
27500 _ACEOF
27503 done
27508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27509 $as_echo_n "checking for strtold declaration... " >&6; }
27510 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27511 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
27512 $as_echo_n "(cached) " >&6
27513 else
27516 ac_ext=cpp
27517 ac_cpp='$CXXCPP $CPPFLAGS'
27518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27523 /* end confdefs.h. */
27524 #include <stdlib.h>
27526 main ()
27528 strtold(0, 0);
27530 return 0;
27532 _ACEOF
27533 if ac_fn_cxx_try_compile "$LINENO"; then :
27534 glibcxx_cv_func_strtold_use=yes
27535 else
27536 glibcxx_cv_func_strtold_use=no
27538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27539 ac_ext=c
27540 ac_cpp='$CPP $CPPFLAGS'
27541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
27550 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
27551 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
27552 for ac_func in strtold
27553 do :
27554 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
27555 if test "x$ac_cv_func_strtold" = x""yes; then :
27556 cat >>confdefs.h <<_ACEOF
27557 #define HAVE_STRTOLD 1
27558 _ACEOF
27561 done
27568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
27569 $as_echo_n "checking for strtof declaration... " >&6; }
27570 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
27571 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
27572 $as_echo_n "(cached) " >&6
27573 else
27576 ac_ext=cpp
27577 ac_cpp='$CXXCPP $CPPFLAGS'
27578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27583 /* end confdefs.h. */
27584 #include <stdlib.h>
27586 main ()
27588 strtof(0, 0);
27590 return 0;
27592 _ACEOF
27593 if ac_fn_cxx_try_compile "$LINENO"; then :
27594 glibcxx_cv_func_strtof_use=yes
27595 else
27596 glibcxx_cv_func_strtof_use=no
27598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27599 ac_ext=c
27600 ac_cpp='$CPP $CPPFLAGS'
27601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
27610 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
27611 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
27612 for ac_func in strtof
27613 do :
27614 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
27615 if test "x$ac_cv_func_strtof" = x""yes; then :
27616 cat >>confdefs.h <<_ACEOF
27617 #define HAVE_STRTOF 1
27618 _ACEOF
27621 done
27628 CXXFLAGS="$ac_save_CXXFLAGS"
27631 # For /dev/random and /dev/urandom for TR1.
27634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
27635 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
27636 if test "${glibcxx_cv_random_tr1+set}" = set; then :
27637 $as_echo_n "(cached) " >&6
27638 else
27640 if test -r /dev/random && test -r /dev/urandom; then
27641 ## For MSys environment the test above is detect as false-positive
27642 ## on mingw-targets. So disable it explicit for them.
27643 case ${target_os} in
27644 *mingw*) glibcxx_cv_random_tr1=no ;;
27645 *) glibcxx_cv_random_tr1=yes ;;
27646 esac
27647 else
27648 glibcxx_cv_random_tr1=no;
27653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
27654 $as_echo "$glibcxx_cv_random_tr1" >&6; }
27656 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
27658 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
27664 # For TLS support.
27667 # Check whether --enable-tls was given.
27668 if test "${enable_tls+set}" = set; then :
27669 enableval=$enable_tls;
27670 case "$enableval" in
27671 yes|no) ;;
27672 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
27673 esac
27675 else
27676 enable_tls=yes
27680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
27681 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
27682 if test "${gcc_cv_have_tls+set}" = set; then :
27683 $as_echo_n "(cached) " >&6
27684 else
27686 if test "$cross_compiling" = yes; then :
27687 if test x$gcc_no_link = xyes; then
27688 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27691 /* end confdefs.h. */
27692 __thread int a; int b; int main() { return a = b; }
27693 _ACEOF
27694 if ac_fn_c_try_link "$LINENO"; then :
27695 chktls_save_LDFLAGS="$LDFLAGS"
27696 case $host in
27697 *-*-linux*)
27698 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
27700 esac
27701 chktls_save_CFLAGS="$CFLAGS"
27702 CFLAGS="-fPIC $CFLAGS"
27703 if test x$gcc_no_link = xyes; then
27704 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27707 /* end confdefs.h. */
27708 int f() { return 0; }
27709 _ACEOF
27710 if ac_fn_c_try_link "$LINENO"; then :
27711 if test x$gcc_no_link = xyes; then
27712 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27715 /* end confdefs.h. */
27716 __thread int a; int b; int f() { return a = b; }
27717 _ACEOF
27718 if ac_fn_c_try_link "$LINENO"; then :
27719 gcc_cv_have_tls=yes
27720 else
27721 gcc_cv_have_tls=no
27723 rm -f core conftest.err conftest.$ac_objext \
27724 conftest$ac_exeext conftest.$ac_ext
27725 else
27726 gcc_cv_have_tls=yes
27728 rm -f core conftest.err conftest.$ac_objext \
27729 conftest$ac_exeext conftest.$ac_ext
27730 CFLAGS="$chktls_save_CFLAGS"
27731 LDFLAGS="$chktls_save_LDFLAGS"
27732 else
27733 gcc_cv_have_tls=no
27735 rm -f core conftest.err conftest.$ac_objext \
27736 conftest$ac_exeext conftest.$ac_ext
27739 else
27740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27741 /* end confdefs.h. */
27742 __thread int a; int b; int main() { return a = b; }
27743 _ACEOF
27744 if ac_fn_c_try_run "$LINENO"; then :
27745 chktls_save_LDFLAGS="$LDFLAGS"
27746 LDFLAGS="-static $LDFLAGS"
27747 if test x$gcc_no_link = xyes; then
27748 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27751 /* end confdefs.h. */
27752 int main() { return 0; }
27753 _ACEOF
27754 if ac_fn_c_try_link "$LINENO"; then :
27755 if test "$cross_compiling" = yes; then :
27756 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27757 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27758 as_fn_error "cannot run test program while cross compiling
27759 See \`config.log' for more details." "$LINENO" 5; }
27760 else
27761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27762 /* end confdefs.h. */
27763 __thread int a; int b; int main() { return a = b; }
27764 _ACEOF
27765 if ac_fn_c_try_run "$LINENO"; then :
27766 gcc_cv_have_tls=yes
27767 else
27768 gcc_cv_have_tls=no
27770 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27771 conftest.$ac_objext conftest.beam conftest.$ac_ext
27774 else
27775 gcc_cv_have_tls=yes
27777 rm -f core conftest.err conftest.$ac_objext \
27778 conftest$ac_exeext conftest.$ac_ext
27779 LDFLAGS="$chktls_save_LDFLAGS"
27780 if test $gcc_cv_have_tls = yes; then
27781 chktls_save_CFLAGS="$CFLAGS"
27782 thread_CFLAGS=failed
27783 for flag in '' '-pthread' '-lpthread'; do
27784 CFLAGS="$flag $chktls_save_CFLAGS"
27785 if test x$gcc_no_link = xyes; then
27786 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27789 /* end confdefs.h. */
27790 #include <pthread.h>
27791 void *g(void *d) { return NULL; }
27793 main ()
27795 pthread_t t; pthread_create(&t,NULL,g,NULL);
27797 return 0;
27799 _ACEOF
27800 if ac_fn_c_try_link "$LINENO"; then :
27801 thread_CFLAGS="$flag"
27803 rm -f core conftest.err conftest.$ac_objext \
27804 conftest$ac_exeext conftest.$ac_ext
27805 if test "X$thread_CFLAGS" != Xfailed; then
27806 break
27808 done
27809 CFLAGS="$chktls_save_CFLAGS"
27810 if test "X$thread_CFLAGS" != Xfailed; then
27811 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
27812 if test "$cross_compiling" = yes; then :
27813 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27814 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27815 as_fn_error "cannot run test program while cross compiling
27816 See \`config.log' for more details." "$LINENO" 5; }
27817 else
27818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27819 /* end confdefs.h. */
27820 #include <pthread.h>
27821 __thread int a;
27822 static int *volatile a_in_other_thread;
27823 static void *
27824 thread_func (void *arg)
27826 a_in_other_thread = &a;
27827 return (void *)0;
27830 main ()
27832 pthread_t thread;
27833 void *thread_retval;
27834 int *volatile a_in_main_thread;
27835 a_in_main_thread = &a;
27836 if (pthread_create (&thread, (pthread_attr_t *)0,
27837 thread_func, (void *)0))
27838 return 0;
27839 if (pthread_join (thread, &thread_retval))
27840 return 0;
27841 return (a_in_other_thread == a_in_main_thread);
27843 return 0;
27845 _ACEOF
27846 if ac_fn_c_try_run "$LINENO"; then :
27847 gcc_cv_have_tls=yes
27848 else
27849 gcc_cv_have_tls=no
27851 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27852 conftest.$ac_objext conftest.beam conftest.$ac_ext
27855 CFLAGS="$chktls_save_CFLAGS"
27858 else
27859 gcc_cv_have_tls=no
27861 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27862 conftest.$ac_objext conftest.beam conftest.$ac_ext
27866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
27867 $as_echo "$gcc_cv_have_tls" >&6; }
27868 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27870 $as_echo "#define HAVE_TLS 1" >>confdefs.h
27874 for ac_func in __cxa_thread_atexit_impl
27875 do :
27876 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
27877 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
27878 cat >>confdefs.h <<_ACEOF
27879 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
27880 _ACEOF
27883 done
27886 # For iconv support.
27888 if test "X$prefix" = "XNONE"; then
27889 acl_final_prefix="$ac_default_prefix"
27890 else
27891 acl_final_prefix="$prefix"
27893 if test "X$exec_prefix" = "XNONE"; then
27894 acl_final_exec_prefix='${prefix}'
27895 else
27896 acl_final_exec_prefix="$exec_prefix"
27898 acl_save_prefix="$prefix"
27899 prefix="$acl_final_prefix"
27900 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
27901 prefix="$acl_save_prefix"
27904 # Check whether --with-gnu-ld was given.
27905 if test "${with_gnu_ld+set}" = set; then :
27906 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
27907 else
27908 with_gnu_ld=no
27911 # Prepare PATH_SEPARATOR.
27912 # The user is always right.
27913 if test "${PATH_SEPARATOR+set}" != set; then
27914 echo "#! /bin/sh" >conf$$.sh
27915 echo "exit 0" >>conf$$.sh
27916 chmod +x conf$$.sh
27917 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
27918 PATH_SEPARATOR=';'
27919 else
27920 PATH_SEPARATOR=:
27922 rm -f conf$$.sh
27924 ac_prog=ld
27925 if test "$GCC" = yes; then
27926 # Check if gcc -print-prog-name=ld gives a path.
27927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
27928 $as_echo_n "checking for ld used by GCC... " >&6; }
27929 case $host in
27930 *-*-mingw*)
27931 # gcc leaves a trailing carriage return which upsets mingw
27932 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
27934 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
27935 esac
27936 case $ac_prog in
27937 # Accept absolute paths.
27938 [\\/]* | [A-Za-z]:[\\/]*)
27939 re_direlt='/[^/][^/]*/\.\./'
27940 # Canonicalize the path of ld
27941 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
27942 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
27943 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
27944 done
27945 test -z "$LD" && LD="$ac_prog"
27948 # If it fails, then pretend we aren't using GCC.
27949 ac_prog=ld
27952 # If it is relative, then search for the first ld in PATH.
27953 with_gnu_ld=unknown
27955 esac
27956 elif test "$with_gnu_ld" = yes; then
27957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
27958 $as_echo_n "checking for GNU ld... " >&6; }
27959 else
27960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
27961 $as_echo_n "checking for non-GNU ld... " >&6; }
27963 if test "${acl_cv_path_LD+set}" = set; then :
27964 $as_echo_n "(cached) " >&6
27965 else
27966 if test -z "$LD"; then
27967 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
27968 for ac_dir in $PATH; do
27969 test -z "$ac_dir" && ac_dir=.
27970 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
27971 acl_cv_path_LD="$ac_dir/$ac_prog"
27972 # Check to see if the program is GNU ld. I'd rather use --version,
27973 # but apparently some GNU ld's only accept -v.
27974 # Break only if it was the GNU/non-GNU ld that we prefer.
27975 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
27976 test "$with_gnu_ld" != no && break
27977 else
27978 test "$with_gnu_ld" != yes && break
27981 done
27982 IFS="$ac_save_ifs"
27983 else
27984 acl_cv_path_LD="$LD" # Let the user override the test with a path.
27988 LD="$acl_cv_path_LD"
27989 if test -n "$LD"; then
27990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
27991 $as_echo "$LD" >&6; }
27992 else
27993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27994 $as_echo "no" >&6; }
27996 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
27997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
27998 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
27999 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
28000 $as_echo_n "(cached) " >&6
28001 else
28002 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28003 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28004 acl_cv_prog_gnu_ld=yes
28005 else
28006 acl_cv_prog_gnu_ld=no
28009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28010 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28011 with_gnu_ld=$acl_cv_prog_gnu_ld
28015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28016 $as_echo_n "checking for shared library run path origin... " >&6; }
28017 if test "${acl_cv_rpath+set}" = set; then :
28018 $as_echo_n "(cached) " >&6
28019 else
28021 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28022 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28023 . ./conftest.sh
28024 rm -f ./conftest.sh
28025 acl_cv_rpath=done
28028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28029 $as_echo "$acl_cv_rpath" >&6; }
28030 wl="$acl_cv_wl"
28031 libext="$acl_cv_libext"
28032 shlibext="$acl_cv_shlibext"
28033 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28034 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28035 hardcode_direct="$acl_cv_hardcode_direct"
28036 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28037 # Check whether --enable-rpath was given.
28038 if test "${enable_rpath+set}" = set; then :
28039 enableval=$enable_rpath; :
28040 else
28041 enable_rpath=yes
28051 use_additional=yes
28053 acl_save_prefix="$prefix"
28054 prefix="$acl_final_prefix"
28055 acl_save_exec_prefix="$exec_prefix"
28056 exec_prefix="$acl_final_exec_prefix"
28058 eval additional_includedir=\"$includedir\"
28059 eval additional_libdir=\"$libdir\"
28061 exec_prefix="$acl_save_exec_prefix"
28062 prefix="$acl_save_prefix"
28065 # Check whether --with-libiconv-prefix was given.
28066 if test "${with_libiconv_prefix+set}" = set; then :
28067 withval=$with_libiconv_prefix;
28068 if test "X$withval" = "Xno"; then
28069 use_additional=no
28070 else
28071 if test "X$withval" = "X"; then
28073 acl_save_prefix="$prefix"
28074 prefix="$acl_final_prefix"
28075 acl_save_exec_prefix="$exec_prefix"
28076 exec_prefix="$acl_final_exec_prefix"
28078 eval additional_includedir=\"$includedir\"
28079 eval additional_libdir=\"$libdir\"
28081 exec_prefix="$acl_save_exec_prefix"
28082 prefix="$acl_save_prefix"
28084 else
28085 additional_includedir="$withval/include"
28086 additional_libdir="$withval/lib"
28092 LIBICONV=
28093 LTLIBICONV=
28094 INCICONV=
28095 rpathdirs=
28096 ltrpathdirs=
28097 names_already_handled=
28098 names_next_round='iconv '
28099 while test -n "$names_next_round"; do
28100 names_this_round="$names_next_round"
28101 names_next_round=
28102 for name in $names_this_round; do
28103 already_handled=
28104 for n in $names_already_handled; do
28105 if test "$n" = "$name"; then
28106 already_handled=yes
28107 break
28109 done
28110 if test -z "$already_handled"; then
28111 names_already_handled="$names_already_handled $name"
28112 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28113 eval value=\"\$HAVE_LIB$uppername\"
28114 if test -n "$value"; then
28115 if test "$value" = yes; then
28116 eval value=\"\$LIB$uppername\"
28117 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28118 eval value=\"\$LTLIB$uppername\"
28119 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28120 else
28123 else
28124 found_dir=
28125 found_la=
28126 found_so=
28127 found_a=
28128 if test $use_additional = yes; then
28129 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
28130 found_dir="$additional_libdir"
28131 found_so="$additional_libdir/lib$name.$shlibext"
28132 if test -f "$additional_libdir/lib$name.la"; then
28133 found_la="$additional_libdir/lib$name.la"
28135 else
28136 if test -f "$additional_libdir/lib$name.$libext"; then
28137 found_dir="$additional_libdir"
28138 found_a="$additional_libdir/lib$name.$libext"
28139 if test -f "$additional_libdir/lib$name.la"; then
28140 found_la="$additional_libdir/lib$name.la"
28145 if test "X$found_dir" = "X"; then
28146 for x in $LDFLAGS $LTLIBICONV; do
28148 acl_save_prefix="$prefix"
28149 prefix="$acl_final_prefix"
28150 acl_save_exec_prefix="$exec_prefix"
28151 exec_prefix="$acl_final_exec_prefix"
28152 eval x=\"$x\"
28153 exec_prefix="$acl_save_exec_prefix"
28154 prefix="$acl_save_prefix"
28156 case "$x" in
28157 -L*)
28158 dir=`echo "X$x" | sed -e 's/^X-L//'`
28159 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
28160 found_dir="$dir"
28161 found_so="$dir/lib$name.$shlibext"
28162 if test -f "$dir/lib$name.la"; then
28163 found_la="$dir/lib$name.la"
28165 else
28166 if test -f "$dir/lib$name.$libext"; then
28167 found_dir="$dir"
28168 found_a="$dir/lib$name.$libext"
28169 if test -f "$dir/lib$name.la"; then
28170 found_la="$dir/lib$name.la"
28175 esac
28176 if test "X$found_dir" != "X"; then
28177 break
28179 done
28181 if test "X$found_dir" != "X"; then
28182 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28183 if test "X$found_so" != "X"; then
28184 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28185 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28186 else
28187 haveit=
28188 for x in $ltrpathdirs; do
28189 if test "X$x" = "X$found_dir"; then
28190 haveit=yes
28191 break
28193 done
28194 if test -z "$haveit"; then
28195 ltrpathdirs="$ltrpathdirs $found_dir"
28197 if test "$hardcode_direct" = yes; then
28198 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28199 else
28200 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28201 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28202 haveit=
28203 for x in $rpathdirs; do
28204 if test "X$x" = "X$found_dir"; then
28205 haveit=yes
28206 break
28208 done
28209 if test -z "$haveit"; then
28210 rpathdirs="$rpathdirs $found_dir"
28212 else
28213 haveit=
28214 for x in $LDFLAGS $LIBICONV; do
28216 acl_save_prefix="$prefix"
28217 prefix="$acl_final_prefix"
28218 acl_save_exec_prefix="$exec_prefix"
28219 exec_prefix="$acl_final_exec_prefix"
28220 eval x=\"$x\"
28221 exec_prefix="$acl_save_exec_prefix"
28222 prefix="$acl_save_prefix"
28224 if test "X$x" = "X-L$found_dir"; then
28225 haveit=yes
28226 break
28228 done
28229 if test -z "$haveit"; then
28230 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28232 if test "$hardcode_minus_L" != no; then
28233 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28234 else
28235 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28240 else
28241 if test "X$found_a" != "X"; then
28242 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28243 else
28244 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28247 additional_includedir=
28248 case "$found_dir" in
28249 */lib | */lib/)
28250 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28251 additional_includedir="$basedir/include"
28253 esac
28254 if test "X$additional_includedir" != "X"; then
28255 if test "X$additional_includedir" != "X/usr/include"; then
28256 haveit=
28257 if test "X$additional_includedir" = "X/usr/local/include"; then
28258 if test -n "$GCC"; then
28259 case $host_os in
28260 linux*) haveit=yes;;
28261 esac
28264 if test -z "$haveit"; then
28265 for x in $CPPFLAGS $INCICONV; do
28267 acl_save_prefix="$prefix"
28268 prefix="$acl_final_prefix"
28269 acl_save_exec_prefix="$exec_prefix"
28270 exec_prefix="$acl_final_exec_prefix"
28271 eval x=\"$x\"
28272 exec_prefix="$acl_save_exec_prefix"
28273 prefix="$acl_save_prefix"
28275 if test "X$x" = "X-I$additional_includedir"; then
28276 haveit=yes
28277 break
28279 done
28280 if test -z "$haveit"; then
28281 if test -d "$additional_includedir"; then
28282 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28288 if test -n "$found_la"; then
28289 save_libdir="$libdir"
28290 case "$found_la" in
28291 */* | *\\*) . "$found_la" ;;
28292 *) . "./$found_la" ;;
28293 esac
28294 libdir="$save_libdir"
28295 for dep in $dependency_libs; do
28296 case "$dep" in
28297 -L*)
28298 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28299 if test "X$additional_libdir" != "X/usr/lib"; then
28300 haveit=
28301 if test "X$additional_libdir" = "X/usr/local/lib"; then
28302 if test -n "$GCC"; then
28303 case $host_os in
28304 linux*) haveit=yes;;
28305 esac
28308 if test -z "$haveit"; then
28309 haveit=
28310 for x in $LDFLAGS $LIBICONV; do
28312 acl_save_prefix="$prefix"
28313 prefix="$acl_final_prefix"
28314 acl_save_exec_prefix="$exec_prefix"
28315 exec_prefix="$acl_final_exec_prefix"
28316 eval x=\"$x\"
28317 exec_prefix="$acl_save_exec_prefix"
28318 prefix="$acl_save_prefix"
28320 if test "X$x" = "X-L$additional_libdir"; then
28321 haveit=yes
28322 break
28324 done
28325 if test -z "$haveit"; then
28326 if test -d "$additional_libdir"; then
28327 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28330 haveit=
28331 for x in $LDFLAGS $LTLIBICONV; do
28333 acl_save_prefix="$prefix"
28334 prefix="$acl_final_prefix"
28335 acl_save_exec_prefix="$exec_prefix"
28336 exec_prefix="$acl_final_exec_prefix"
28337 eval x=\"$x\"
28338 exec_prefix="$acl_save_exec_prefix"
28339 prefix="$acl_save_prefix"
28341 if test "X$x" = "X-L$additional_libdir"; then
28342 haveit=yes
28343 break
28345 done
28346 if test -z "$haveit"; then
28347 if test -d "$additional_libdir"; then
28348 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28354 -R*)
28355 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28356 if test "$enable_rpath" != no; then
28357 haveit=
28358 for x in $rpathdirs; do
28359 if test "X$x" = "X$dir"; then
28360 haveit=yes
28361 break
28363 done
28364 if test -z "$haveit"; then
28365 rpathdirs="$rpathdirs $dir"
28367 haveit=
28368 for x in $ltrpathdirs; do
28369 if test "X$x" = "X$dir"; then
28370 haveit=yes
28371 break
28373 done
28374 if test -z "$haveit"; then
28375 ltrpathdirs="$ltrpathdirs $dir"
28379 -l*)
28380 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28382 *.la)
28383 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28386 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28387 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28389 esac
28390 done
28392 else
28393 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28394 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28398 done
28399 done
28400 if test "X$rpathdirs" != "X"; then
28401 if test -n "$hardcode_libdir_separator"; then
28402 alldirs=
28403 for found_dir in $rpathdirs; do
28404 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28405 done
28406 acl_save_libdir="$libdir"
28407 libdir="$alldirs"
28408 eval flag=\"$hardcode_libdir_flag_spec\"
28409 libdir="$acl_save_libdir"
28410 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28411 else
28412 for found_dir in $rpathdirs; do
28413 acl_save_libdir="$libdir"
28414 libdir="$found_dir"
28415 eval flag=\"$hardcode_libdir_flag_spec\"
28416 libdir="$acl_save_libdir"
28417 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28418 done
28421 if test "X$ltrpathdirs" != "X"; then
28422 for found_dir in $ltrpathdirs; do
28423 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28424 done
28433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28434 $as_echo_n "checking for iconv... " >&6; }
28435 if test "${am_cv_func_iconv+set}" = set; then :
28436 $as_echo_n "(cached) " >&6
28437 else
28439 am_cv_func_iconv="no, consider installing GNU libiconv"
28440 am_cv_lib_iconv=no
28441 am_save_CPPFLAGS="$CPPFLAGS"
28442 CPPFLAGS="$CPPFLAGS $INCICONV"
28443 if test x$gcc_no_link = xyes; then
28444 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28447 /* end confdefs.h. */
28448 #include <stdlib.h>
28449 #include <iconv.h>
28451 main ()
28453 iconv_t cd = iconv_open("","");
28454 iconv(cd,NULL,NULL,NULL,NULL);
28455 iconv_close(cd);
28457 return 0;
28459 _ACEOF
28460 if ac_fn_c_try_link "$LINENO"; then :
28461 am_cv_func_iconv=yes
28463 rm -f core conftest.err conftest.$ac_objext \
28464 conftest$ac_exeext conftest.$ac_ext
28465 CPPFLAGS="$am_save_CPPFLAGS"
28467 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
28468 for _libs in .libs _libs; do
28469 am_save_CPPFLAGS="$CPPFLAGS"
28470 am_save_LIBS="$LIBS"
28471 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
28472 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
28473 if test x$gcc_no_link = xyes; then
28474 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28477 /* end confdefs.h. */
28478 #include <stdlib.h>
28479 #include <iconv.h>
28481 main ()
28483 iconv_t cd = iconv_open("","");
28484 iconv(cd,NULL,NULL,NULL,NULL);
28485 iconv_close(cd);
28487 return 0;
28489 _ACEOF
28490 if ac_fn_c_try_link "$LINENO"; then :
28491 INCICONV="-I../libiconv/include"
28492 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
28493 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
28494 am_cv_lib_iconv=yes
28495 am_cv_func_iconv=yes
28497 rm -f core conftest.err conftest.$ac_objext \
28498 conftest$ac_exeext conftest.$ac_ext
28499 CPPFLAGS="$am_save_CPPFLAGS"
28500 LIBS="$am_save_LIBS"
28501 if test "$am_cv_func_iconv" = "yes"; then
28502 break
28504 done
28507 if test "$am_cv_func_iconv" != yes; then
28508 am_save_CPPFLAGS="$CPPFLAGS"
28509 am_save_LIBS="$LIBS"
28510 CPPFLAGS="$LIBS $INCICONV"
28511 LIBS="$LIBS $LIBICONV"
28512 if test x$gcc_no_link = xyes; then
28513 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28516 /* end confdefs.h. */
28517 #include <stdlib.h>
28518 #include <iconv.h>
28520 main ()
28522 iconv_t cd = iconv_open("","");
28523 iconv(cd,NULL,NULL,NULL,NULL);
28524 iconv_close(cd);
28526 return 0;
28528 _ACEOF
28529 if ac_fn_c_try_link "$LINENO"; then :
28530 am_cv_lib_iconv=yes
28531 am_cv_func_iconv=yes
28533 rm -f core conftest.err conftest.$ac_objext \
28534 conftest$ac_exeext conftest.$ac_ext
28535 CPPFLAGS="$am_save_CPPFLAGS"
28536 LIBS="$am_save_LIBS"
28540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
28541 $as_echo "$am_cv_func_iconv" >&6; }
28542 if test "$am_cv_func_iconv" = yes; then
28544 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28547 if test "$am_cv_lib_iconv" = yes; then
28549 for element in $INCICONV; do
28550 haveit=
28551 for x in $CPPFLAGS; do
28553 acl_save_prefix="$prefix"
28554 prefix="$acl_final_prefix"
28555 acl_save_exec_prefix="$exec_prefix"
28556 exec_prefix="$acl_final_exec_prefix"
28557 eval x=\"$x\"
28558 exec_prefix="$acl_save_exec_prefix"
28559 prefix="$acl_save_prefix"
28561 if test "X$x" = "X$element"; then
28562 haveit=yes
28563 break
28565 done
28566 if test -z "$haveit"; then
28567 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
28569 done
28571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
28572 $as_echo_n "checking how to link with libiconv... " >&6; }
28573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
28574 $as_echo "$LIBICONV" >&6; }
28575 else
28576 LIBICONV=
28577 LTLIBICONV=
28582 if test "$am_cv_func_iconv" = yes; then
28583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
28584 $as_echo_n "checking for iconv declaration... " >&6; }
28585 if test "${am_cv_proto_iconv+set}" = set; then :
28586 $as_echo_n "(cached) " >&6
28587 else
28589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28590 /* end confdefs.h. */
28592 #include <stdlib.h>
28593 #include <iconv.h>
28594 extern
28595 #ifdef __cplusplus
28597 #endif
28598 #if defined(__STDC__) || defined(__cplusplus)
28599 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
28600 #else
28601 size_t iconv();
28602 #endif
28605 main ()
28609 return 0;
28611 _ACEOF
28612 if ac_fn_c_try_compile "$LINENO"; then :
28613 am_cv_proto_iconv_arg1=""
28614 else
28615 am_cv_proto_iconv_arg1="const"
28617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28618 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);"
28621 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
28622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
28623 }$am_cv_proto_iconv" >&5
28624 $as_echo "${ac_t:-
28625 }$am_cv_proto_iconv" >&6; }
28627 cat >>confdefs.h <<_ACEOF
28628 #define ICONV_CONST $am_cv_proto_iconv_arg1
28629 _ACEOF
28634 else
28636 # This lets us hard-code the functionality we know we'll have in the cross
28637 # target environment. "Let" is a sugar-coated word placed on an especially
28638 # dull and tedious hack, actually.
28640 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
28641 # that involve linking, can't be used:
28642 # "cannot open sim-crt0.o"
28643 # "cannot open crt0.o"
28644 # etc. All this is because there currently exists no unified, consistent
28645 # way for top level CC information to be passed down to target directories:
28646 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
28647 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
28648 # crosses can be removed.
28650 # If Canadian cross, then don't pick up tools from the build directory.
28651 # Used only in GLIBCXX_EXPORT_INCLUDES.
28652 if test -n "$with_cross_host" &&
28653 test x"$build_alias" != x"$with_cross_host" &&
28654 test x"$build" != x"$target";
28655 then
28656 CANADIAN=yes
28657 else
28658 CANADIAN=no
28661 # Construct crosses by hand, eliminating bits that need ld...
28662 # GLIBCXX_CHECK_MATH_SUPPORT
28664 # First, test for "known" system libraries. We may be using newlib even
28665 # on a hosted environment.
28666 if test "x${with_newlib}" = "xyes"; then
28667 os_include_dir="os/newlib"
28668 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
28671 # GLIBCXX_CHECK_STDLIB_SUPPORT
28672 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
28675 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28677 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28679 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28681 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28683 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28685 $as_echo "#define HAVE_COSF 1" >>confdefs.h
28687 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28689 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
28691 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
28693 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
28695 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
28697 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
28699 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
28701 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
28703 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
28705 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
28707 $as_echo "#define HAVE_POWF 1" >>confdefs.h
28709 $as_echo "#define HAVE_SINF 1" >>confdefs.h
28711 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
28713 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
28715 $as_echo "#define HAVE_TANF 1" >>confdefs.h
28717 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
28720 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28722 else
28724 # Base decisions on target environment.
28725 case "${host}" in
28726 arm*-*-symbianelf*)
28727 # This is a freestanding configuration; there is nothing to do here.
28730 mips*-sde-elf*)
28731 # These definitions are for the SDE C library rather than newlib.
28732 SECTION_FLAGS='-ffunction-sections -fdata-sections'
28735 # All these tests are for C++; save the language and the compiler flags.
28736 # The CXXFLAGS thing is suspicious, but based on similar bits previously
28737 # found in GLIBCXX_CONFIGURE.
28739 ac_ext=cpp
28740 ac_cpp='$CXXCPP $CPPFLAGS'
28741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28745 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28746 ac_save_CXXFLAGS="$CXXFLAGS"
28748 # Check for maintainer-mode bits.
28749 if test x"$USE_MAINTAINER_MODE" = xno; then
28750 WERROR=''
28751 else
28752 WERROR='-Werror'
28755 # Check for -ffunction-sections -fdata-sections
28756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
28757 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
28758 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
28759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28760 /* end confdefs.h. */
28761 int foo; void bar() { };
28763 main ()
28767 return 0;
28769 _ACEOF
28770 if ac_fn_cxx_try_compile "$LINENO"; then :
28771 ac_fdsections=yes
28772 else
28773 ac_fdsections=no
28775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28776 if test "$ac_test_CXXFLAGS" = set; then
28777 CXXFLAGS="$ac_save_CXXFLAGS"
28778 else
28779 # this is the suspicious part
28780 CXXFLAGS=''
28782 if test x"$ac_fdsections" = x"yes"; then
28783 SECTION_FLAGS='-ffunction-sections -fdata-sections'
28785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
28786 $as_echo "$ac_fdsections" >&6; }
28788 ac_ext=c
28789 ac_cpp='$CPP $CPPFLAGS'
28790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28798 # If we're not using GNU ld, then there's no point in even trying these
28799 # tests. Check for that first. We should have already tested for gld
28800 # by now (in libtool), but require it now just to be safe...
28801 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
28802 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
28806 # The name set by libtool depends on the version of libtool. Shame on us
28807 # for depending on an impl detail, but c'est la vie. Older versions used
28808 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
28809 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
28810 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
28811 # set (hence we're using an older libtool), then set it.
28812 if test x${with_gnu_ld+set} != xset; then
28813 if test x${ac_cv_prog_gnu_ld+set} != xset; then
28814 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
28815 with_gnu_ld=no
28816 else
28817 with_gnu_ld=$ac_cv_prog_gnu_ld
28821 # Start by getting the version number. I think the libtool test already
28822 # does some of this, but throws away the result.
28823 glibcxx_ld_is_gold=no
28824 if test x"$with_gnu_ld" = x"yes"; then
28825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
28826 $as_echo_n "checking for ld version... " >&6; }
28828 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
28829 glibcxx_ld_is_gold=yes
28831 ldver=`$LD --version 2>/dev/null |
28832 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'`
28834 glibcxx_gnu_ld_version=`echo $ldver | \
28835 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
28836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
28837 $as_echo "$glibcxx_gnu_ld_version" >&6; }
28840 # Set --gc-sections.
28841 glibcxx_have_gc_sections=no
28842 if test "$glibcxx_ld_is_gold" = "yes"; then
28843 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
28844 glibcxx_have_gc_sections=yes
28846 else
28847 glibcxx_gcsections_min_ld=21602
28848 if test x"$with_gnu_ld" = x"yes" &&
28849 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
28850 glibcxx_have_gc_sections=yes
28853 if test "$glibcxx_have_gc_sections" = "yes"; then
28854 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
28855 # NB: This flag only works reliably after 2.16.1. Configure tests
28856 # for this are difficult, so hard wire a value that should work.
28858 ac_test_CFLAGS="${CFLAGS+set}"
28859 ac_save_CFLAGS="$CFLAGS"
28860 CFLAGS='-Wl,--gc-sections'
28862 # Check for -Wl,--gc-sections
28863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
28864 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
28865 if test x$gcc_no_link = xyes; then
28866 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28869 /* end confdefs.h. */
28870 int one(void) { return 1; }
28871 int two(void) { return 2; }
28874 main ()
28876 two();
28878 return 0;
28880 _ACEOF
28881 if ac_fn_c_try_link "$LINENO"; then :
28882 ac_gcsections=yes
28883 else
28884 ac_gcsections=no
28886 rm -f core conftest.err conftest.$ac_objext \
28887 conftest$ac_exeext conftest.$ac_ext
28888 if test "$ac_gcsections" = "yes"; then
28889 rm -f conftest.c
28890 touch conftest.c
28891 if $CC -c conftest.c; then
28892 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
28893 grep "Warning: gc-sections option ignored" > /dev/null; then
28894 ac_gcsections=no
28897 rm -f conftest.c conftest.o conftest
28899 if test "$ac_gcsections" = "yes"; then
28900 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
28902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
28903 $as_echo "$ac_gcsections" >&6; }
28905 if test "$ac_test_CFLAGS" = set; then
28906 CFLAGS="$ac_save_CFLAGS"
28907 else
28908 # this is the suspicious part
28909 CFLAGS=''
28913 # Set -z,relro.
28914 # Note this is only for shared objects.
28915 ac_ld_relro=no
28916 if test x"$with_gnu_ld" = x"yes"; then
28917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
28918 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
28919 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
28920 if test -n "$cxx_z_relo"; then
28921 OPT_LDFLAGS="-Wl,-z,relro"
28922 ac_ld_relro=yes
28924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
28925 $as_echo "$ac_ld_relro" >&6; }
28928 # Set linker optimization flags.
28929 if test x"$with_gnu_ld" = x"yes"; then
28930 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
28937 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28938 ac_save_CXXFLAGS="$CXXFLAGS"
28939 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
28942 $as_echo_n "checking for sin in -lm... " >&6; }
28943 if test "${ac_cv_lib_m_sin+set}" = set; then :
28944 $as_echo_n "(cached) " >&6
28945 else
28946 ac_check_lib_save_LIBS=$LIBS
28947 LIBS="-lm $LIBS"
28948 if test x$gcc_no_link = xyes; then
28949 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28952 /* end confdefs.h. */
28954 /* Override any GCC internal prototype to avoid an error.
28955 Use char because int might match the return type of a GCC
28956 builtin and then its argument prototype would still apply. */
28957 #ifdef __cplusplus
28958 extern "C"
28959 #endif
28960 char sin ();
28962 main ()
28964 return sin ();
28966 return 0;
28968 _ACEOF
28969 if ac_fn_c_try_link "$LINENO"; then :
28970 ac_cv_lib_m_sin=yes
28971 else
28972 ac_cv_lib_m_sin=no
28974 rm -f core conftest.err conftest.$ac_objext \
28975 conftest$ac_exeext conftest.$ac_ext
28976 LIBS=$ac_check_lib_save_LIBS
28978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
28979 $as_echo "$ac_cv_lib_m_sin" >&6; }
28980 if test "x$ac_cv_lib_m_sin" = x""yes; then :
28981 libm="-lm"
28984 ac_save_LIBS="$LIBS"
28985 LIBS="$LIBS $libm"
28989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
28990 $as_echo_n "checking for isinf declaration... " >&6; }
28991 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
28992 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
28993 $as_echo_n "(cached) " >&6
28994 else
28997 ac_ext=cpp
28998 ac_cpp='$CXXCPP $CPPFLAGS'
28999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29004 /* end confdefs.h. */
29005 #include <math.h>
29006 #ifdef HAVE_IEEEFP_H
29007 #include <ieeefp.h>
29008 #endif
29011 main ()
29013 isinf(0);
29015 return 0;
29017 _ACEOF
29018 if ac_fn_cxx_try_compile "$LINENO"; then :
29019 glibcxx_cv_func_isinf_use=yes
29020 else
29021 glibcxx_cv_func_isinf_use=no
29023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29024 ac_ext=c
29025 ac_cpp='$CPP $CPPFLAGS'
29026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29035 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29037 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29038 for ac_func in isinf
29039 do :
29040 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29041 if test "x$ac_cv_func_isinf" = x""yes; then :
29042 cat >>confdefs.h <<_ACEOF
29043 #define HAVE_ISINF 1
29044 _ACEOF
29047 done
29049 else
29051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29052 $as_echo_n "checking for _isinf declaration... " >&6; }
29053 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29054 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
29055 $as_echo_n "(cached) " >&6
29056 else
29059 ac_ext=cpp
29060 ac_cpp='$CXXCPP $CPPFLAGS'
29061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29066 /* end confdefs.h. */
29067 #include <math.h>
29068 #ifdef HAVE_IEEEFP_H
29069 #include <ieeefp.h>
29070 #endif
29073 main ()
29075 _isinf(0);
29077 return 0;
29079 _ACEOF
29080 if ac_fn_cxx_try_compile "$LINENO"; then :
29081 glibcxx_cv_func__isinf_use=yes
29082 else
29083 glibcxx_cv_func__isinf_use=no
29085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29086 ac_ext=c
29087 ac_cpp='$CPP $CPPFLAGS'
29088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29097 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29099 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29100 for ac_func in _isinf
29101 do :
29102 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29103 if test "x$ac_cv_func__isinf" = x""yes; then :
29104 cat >>confdefs.h <<_ACEOF
29105 #define HAVE__ISINF 1
29106 _ACEOF
29109 done
29118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29119 $as_echo_n "checking for isnan declaration... " >&6; }
29120 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29121 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
29122 $as_echo_n "(cached) " >&6
29123 else
29126 ac_ext=cpp
29127 ac_cpp='$CXXCPP $CPPFLAGS'
29128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29133 /* end confdefs.h. */
29134 #include <math.h>
29135 #ifdef HAVE_IEEEFP_H
29136 #include <ieeefp.h>
29137 #endif
29140 main ()
29142 isnan(0);
29144 return 0;
29146 _ACEOF
29147 if ac_fn_cxx_try_compile "$LINENO"; then :
29148 glibcxx_cv_func_isnan_use=yes
29149 else
29150 glibcxx_cv_func_isnan_use=no
29152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29153 ac_ext=c
29154 ac_cpp='$CPP $CPPFLAGS'
29155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29164 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29166 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29167 for ac_func in isnan
29168 do :
29169 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29170 if test "x$ac_cv_func_isnan" = x""yes; then :
29171 cat >>confdefs.h <<_ACEOF
29172 #define HAVE_ISNAN 1
29173 _ACEOF
29176 done
29178 else
29180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29181 $as_echo_n "checking for _isnan declaration... " >&6; }
29182 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29183 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
29184 $as_echo_n "(cached) " >&6
29185 else
29188 ac_ext=cpp
29189 ac_cpp='$CXXCPP $CPPFLAGS'
29190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29195 /* end confdefs.h. */
29196 #include <math.h>
29197 #ifdef HAVE_IEEEFP_H
29198 #include <ieeefp.h>
29199 #endif
29202 main ()
29204 _isnan(0);
29206 return 0;
29208 _ACEOF
29209 if ac_fn_cxx_try_compile "$LINENO"; then :
29210 glibcxx_cv_func__isnan_use=yes
29211 else
29212 glibcxx_cv_func__isnan_use=no
29214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29215 ac_ext=c
29216 ac_cpp='$CPP $CPPFLAGS'
29217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29226 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29228 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29229 for ac_func in _isnan
29230 do :
29231 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29232 if test "x$ac_cv_func__isnan" = x""yes; then :
29233 cat >>confdefs.h <<_ACEOF
29234 #define HAVE__ISNAN 1
29235 _ACEOF
29238 done
29247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29248 $as_echo_n "checking for finite declaration... " >&6; }
29249 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29250 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
29251 $as_echo_n "(cached) " >&6
29252 else
29255 ac_ext=cpp
29256 ac_cpp='$CXXCPP $CPPFLAGS'
29257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29262 /* end confdefs.h. */
29263 #include <math.h>
29264 #ifdef HAVE_IEEEFP_H
29265 #include <ieeefp.h>
29266 #endif
29269 main ()
29271 finite(0);
29273 return 0;
29275 _ACEOF
29276 if ac_fn_cxx_try_compile "$LINENO"; then :
29277 glibcxx_cv_func_finite_use=yes
29278 else
29279 glibcxx_cv_func_finite_use=no
29281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29282 ac_ext=c
29283 ac_cpp='$CPP $CPPFLAGS'
29284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29293 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29295 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29296 for ac_func in finite
29297 do :
29298 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29299 if test "x$ac_cv_func_finite" = x""yes; then :
29300 cat >>confdefs.h <<_ACEOF
29301 #define HAVE_FINITE 1
29302 _ACEOF
29305 done
29307 else
29309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29310 $as_echo_n "checking for _finite declaration... " >&6; }
29311 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29312 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
29313 $as_echo_n "(cached) " >&6
29314 else
29317 ac_ext=cpp
29318 ac_cpp='$CXXCPP $CPPFLAGS'
29319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29324 /* end confdefs.h. */
29325 #include <math.h>
29326 #ifdef HAVE_IEEEFP_H
29327 #include <ieeefp.h>
29328 #endif
29331 main ()
29333 _finite(0);
29335 return 0;
29337 _ACEOF
29338 if ac_fn_cxx_try_compile "$LINENO"; then :
29339 glibcxx_cv_func__finite_use=yes
29340 else
29341 glibcxx_cv_func__finite_use=no
29343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29344 ac_ext=c
29345 ac_cpp='$CPP $CPPFLAGS'
29346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29355 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29357 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29358 for ac_func in _finite
29359 do :
29360 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29361 if test "x$ac_cv_func__finite" = x""yes; then :
29362 cat >>confdefs.h <<_ACEOF
29363 #define HAVE__FINITE 1
29364 _ACEOF
29367 done
29376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29377 $as_echo_n "checking for sincos declaration... " >&6; }
29378 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29379 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
29380 $as_echo_n "(cached) " >&6
29381 else
29384 ac_ext=cpp
29385 ac_cpp='$CXXCPP $CPPFLAGS'
29386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29391 /* end confdefs.h. */
29392 #include <math.h>
29394 main ()
29396 sincos(0, 0, 0);
29398 return 0;
29400 _ACEOF
29401 if ac_fn_cxx_try_compile "$LINENO"; then :
29402 glibcxx_cv_func_sincos_use=yes
29403 else
29404 glibcxx_cv_func_sincos_use=no
29406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29407 ac_ext=c
29408 ac_cpp='$CPP $CPPFLAGS'
29409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
29418 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
29420 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29421 for ac_func in sincos
29422 do :
29423 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
29424 if test "x$ac_cv_func_sincos" = x""yes; then :
29425 cat >>confdefs.h <<_ACEOF
29426 #define HAVE_SINCOS 1
29427 _ACEOF
29430 done
29432 else
29434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
29435 $as_echo_n "checking for _sincos declaration... " >&6; }
29436 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29437 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
29438 $as_echo_n "(cached) " >&6
29439 else
29442 ac_ext=cpp
29443 ac_cpp='$CXXCPP $CPPFLAGS'
29444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29449 /* end confdefs.h. */
29450 #include <math.h>
29452 main ()
29454 _sincos(0, 0, 0);
29456 return 0;
29458 _ACEOF
29459 if ac_fn_cxx_try_compile "$LINENO"; then :
29460 glibcxx_cv_func__sincos_use=yes
29461 else
29462 glibcxx_cv_func__sincos_use=no
29464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29465 ac_ext=c
29466 ac_cpp='$CPP $CPPFLAGS'
29467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
29476 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
29478 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29479 for ac_func in _sincos
29480 do :
29481 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
29482 if test "x$ac_cv_func__sincos" = x""yes; then :
29483 cat >>confdefs.h <<_ACEOF
29484 #define HAVE__SINCOS 1
29485 _ACEOF
29488 done
29497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
29498 $as_echo_n "checking for fpclass declaration... " >&6; }
29499 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
29500 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
29501 $as_echo_n "(cached) " >&6
29502 else
29505 ac_ext=cpp
29506 ac_cpp='$CXXCPP $CPPFLAGS'
29507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29512 /* end confdefs.h. */
29513 #include <math.h>
29514 #ifdef HAVE_IEEEFP_H
29515 #include <ieeefp.h>
29516 #endif
29519 main ()
29521 fpclass(0);
29523 return 0;
29525 _ACEOF
29526 if ac_fn_cxx_try_compile "$LINENO"; then :
29527 glibcxx_cv_func_fpclass_use=yes
29528 else
29529 glibcxx_cv_func_fpclass_use=no
29531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29532 ac_ext=c
29533 ac_cpp='$CPP $CPPFLAGS'
29534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
29543 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
29545 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
29546 for ac_func in fpclass
29547 do :
29548 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
29549 if test "x$ac_cv_func_fpclass" = x""yes; then :
29550 cat >>confdefs.h <<_ACEOF
29551 #define HAVE_FPCLASS 1
29552 _ACEOF
29555 done
29557 else
29559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
29560 $as_echo_n "checking for _fpclass declaration... " >&6; }
29561 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
29562 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
29563 $as_echo_n "(cached) " >&6
29564 else
29567 ac_ext=cpp
29568 ac_cpp='$CXXCPP $CPPFLAGS'
29569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29574 /* end confdefs.h. */
29575 #include <math.h>
29576 #ifdef HAVE_IEEEFP_H
29577 #include <ieeefp.h>
29578 #endif
29581 main ()
29583 _fpclass(0);
29585 return 0;
29587 _ACEOF
29588 if ac_fn_cxx_try_compile "$LINENO"; then :
29589 glibcxx_cv_func__fpclass_use=yes
29590 else
29591 glibcxx_cv_func__fpclass_use=no
29593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29594 ac_ext=c
29595 ac_cpp='$CPP $CPPFLAGS'
29596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
29605 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
29607 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
29608 for ac_func in _fpclass
29609 do :
29610 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
29611 if test "x$ac_cv_func__fpclass" = x""yes; then :
29612 cat >>confdefs.h <<_ACEOF
29613 #define HAVE__FPCLASS 1
29614 _ACEOF
29617 done
29626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
29627 $as_echo_n "checking for qfpclass declaration... " >&6; }
29628 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
29629 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
29630 $as_echo_n "(cached) " >&6
29631 else
29634 ac_ext=cpp
29635 ac_cpp='$CXXCPP $CPPFLAGS'
29636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29641 /* end confdefs.h. */
29642 #include <math.h>
29643 #ifdef HAVE_IEEEFP_H
29644 #include <ieeefp.h>
29645 #endif
29648 main ()
29650 qfpclass(0);
29652 return 0;
29654 _ACEOF
29655 if ac_fn_cxx_try_compile "$LINENO"; then :
29656 glibcxx_cv_func_qfpclass_use=yes
29657 else
29658 glibcxx_cv_func_qfpclass_use=no
29660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29661 ac_ext=c
29662 ac_cpp='$CPP $CPPFLAGS'
29663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
29672 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
29674 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
29675 for ac_func in qfpclass
29676 do :
29677 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
29678 if test "x$ac_cv_func_qfpclass" = x""yes; then :
29679 cat >>confdefs.h <<_ACEOF
29680 #define HAVE_QFPCLASS 1
29681 _ACEOF
29684 done
29686 else
29688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
29689 $as_echo_n "checking for _qfpclass declaration... " >&6; }
29690 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
29691 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
29692 $as_echo_n "(cached) " >&6
29693 else
29696 ac_ext=cpp
29697 ac_cpp='$CXXCPP $CPPFLAGS'
29698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29703 /* end confdefs.h. */
29704 #include <math.h>
29705 #ifdef HAVE_IEEEFP_H
29706 #include <ieeefp.h>
29707 #endif
29710 main ()
29712 _qfpclass(0);
29714 return 0;
29716 _ACEOF
29717 if ac_fn_cxx_try_compile "$LINENO"; then :
29718 glibcxx_cv_func__qfpclass_use=yes
29719 else
29720 glibcxx_cv_func__qfpclass_use=no
29722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29723 ac_ext=c
29724 ac_cpp='$CPP $CPPFLAGS'
29725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
29734 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
29736 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
29737 for ac_func in _qfpclass
29738 do :
29739 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
29740 if test "x$ac_cv_func__qfpclass" = x""yes; then :
29741 cat >>confdefs.h <<_ACEOF
29742 #define HAVE__QFPCLASS 1
29743 _ACEOF
29746 done
29755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
29756 $as_echo_n "checking for hypot declaration... " >&6; }
29757 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
29758 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
29759 $as_echo_n "(cached) " >&6
29760 else
29763 ac_ext=cpp
29764 ac_cpp='$CXXCPP $CPPFLAGS'
29765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29770 /* end confdefs.h. */
29771 #include <math.h>
29773 main ()
29775 hypot(0, 0);
29777 return 0;
29779 _ACEOF
29780 if ac_fn_cxx_try_compile "$LINENO"; then :
29781 glibcxx_cv_func_hypot_use=yes
29782 else
29783 glibcxx_cv_func_hypot_use=no
29785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29786 ac_ext=c
29787 ac_cpp='$CPP $CPPFLAGS'
29788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
29797 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
29799 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
29800 for ac_func in hypot
29801 do :
29802 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
29803 if test "x$ac_cv_func_hypot" = x""yes; then :
29804 cat >>confdefs.h <<_ACEOF
29805 #define HAVE_HYPOT 1
29806 _ACEOF
29809 done
29811 else
29813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
29814 $as_echo_n "checking for _hypot declaration... " >&6; }
29815 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
29816 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
29817 $as_echo_n "(cached) " >&6
29818 else
29821 ac_ext=cpp
29822 ac_cpp='$CXXCPP $CPPFLAGS'
29823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29828 /* end confdefs.h. */
29829 #include <math.h>
29831 main ()
29833 _hypot(0, 0);
29835 return 0;
29837 _ACEOF
29838 if ac_fn_cxx_try_compile "$LINENO"; then :
29839 glibcxx_cv_func__hypot_use=yes
29840 else
29841 glibcxx_cv_func__hypot_use=no
29843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29844 ac_ext=c
29845 ac_cpp='$CPP $CPPFLAGS'
29846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
29855 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
29857 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
29858 for ac_func in _hypot
29859 do :
29860 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
29861 if test "x$ac_cv_func__hypot" = x""yes; then :
29862 cat >>confdefs.h <<_ACEOF
29863 #define HAVE__HYPOT 1
29864 _ACEOF
29867 done
29876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
29877 $as_echo_n "checking for float trig functions... " >&6; }
29878 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
29879 $as_echo_n "(cached) " >&6
29880 else
29883 ac_ext=cpp
29884 ac_cpp='$CXXCPP $CPPFLAGS'
29885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29890 /* end confdefs.h. */
29891 #include <math.h>
29893 main ()
29895 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
29897 return 0;
29899 _ACEOF
29900 if ac_fn_cxx_try_compile "$LINENO"; then :
29901 glibcxx_cv_func_float_trig_use=yes
29902 else
29903 glibcxx_cv_func_float_trig_use=no
29905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29906 ac_ext=c
29907 ac_cpp='$CPP $CPPFLAGS'
29908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
29915 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
29916 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
29917 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
29918 do :
29919 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29920 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29921 eval as_val=\$$as_ac_var
29922 if test "x$as_val" = x""yes; then :
29923 cat >>confdefs.h <<_ACEOF
29924 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29925 _ACEOF
29928 done
29930 else
29931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
29932 $as_echo_n "checking for _float trig functions... " >&6; }
29933 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
29934 $as_echo_n "(cached) " >&6
29935 else
29938 ac_ext=cpp
29939 ac_cpp='$CXXCPP $CPPFLAGS'
29940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29945 /* end confdefs.h. */
29946 #include <math.h>
29948 main ()
29950 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
29952 return 0;
29954 _ACEOF
29955 if ac_fn_cxx_try_compile "$LINENO"; then :
29956 glibcxx_cv_func__float_trig_use=yes
29957 else
29958 glibcxx_cv_func__float_trig_use=no
29960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29961 ac_ext=c
29962 ac_cpp='$CPP $CPPFLAGS'
29963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
29970 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
29971 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
29972 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
29973 do :
29974 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29975 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29976 eval as_val=\$$as_ac_var
29977 if test "x$as_val" = x""yes; then :
29978 cat >>confdefs.h <<_ACEOF
29979 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29980 _ACEOF
29983 done
29992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
29993 $as_echo_n "checking for float round functions... " >&6; }
29994 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
29995 $as_echo_n "(cached) " >&6
29996 else
29999 ac_ext=cpp
30000 ac_cpp='$CXXCPP $CPPFLAGS'
30001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30006 /* end confdefs.h. */
30007 #include <math.h>
30009 main ()
30011 ceilf (0); floorf (0);
30013 return 0;
30015 _ACEOF
30016 if ac_fn_cxx_try_compile "$LINENO"; then :
30017 glibcxx_cv_func_float_round_use=yes
30018 else
30019 glibcxx_cv_func_float_round_use=no
30021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30022 ac_ext=c
30023 ac_cpp='$CPP $CPPFLAGS'
30024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30031 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30032 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30033 for ac_func in ceilf floorf
30034 do :
30035 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30036 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30037 eval as_val=\$$as_ac_var
30038 if test "x$as_val" = x""yes; then :
30039 cat >>confdefs.h <<_ACEOF
30040 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30041 _ACEOF
30044 done
30046 else
30047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30048 $as_echo_n "checking for _float round functions... " >&6; }
30049 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
30050 $as_echo_n "(cached) " >&6
30051 else
30054 ac_ext=cpp
30055 ac_cpp='$CXXCPP $CPPFLAGS'
30056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30061 /* end confdefs.h. */
30062 #include <math.h>
30064 main ()
30066 _ceilf (0); _floorf (0);
30068 return 0;
30070 _ACEOF
30071 if ac_fn_cxx_try_compile "$LINENO"; then :
30072 glibcxx_cv_func__float_round_use=yes
30073 else
30074 glibcxx_cv_func__float_round_use=no
30076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30077 ac_ext=c
30078 ac_cpp='$CPP $CPPFLAGS'
30079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30086 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30087 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30088 for ac_func in _ceilf _floorf
30089 do :
30090 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30091 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30092 eval as_val=\$$as_ac_var
30093 if test "x$as_val" = x""yes; then :
30094 cat >>confdefs.h <<_ACEOF
30095 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30096 _ACEOF
30099 done
30109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30110 $as_echo_n "checking for expf declaration... " >&6; }
30111 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30112 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
30113 $as_echo_n "(cached) " >&6
30114 else
30117 ac_ext=cpp
30118 ac_cpp='$CXXCPP $CPPFLAGS'
30119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30124 /* end confdefs.h. */
30125 #include <math.h>
30126 #ifdef HAVE_IEEEFP_H
30127 #include <ieeefp.h>
30128 #endif
30131 main ()
30133 expf(0);
30135 return 0;
30137 _ACEOF
30138 if ac_fn_cxx_try_compile "$LINENO"; then :
30139 glibcxx_cv_func_expf_use=yes
30140 else
30141 glibcxx_cv_func_expf_use=no
30143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30144 ac_ext=c
30145 ac_cpp='$CPP $CPPFLAGS'
30146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30155 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30157 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30158 for ac_func in expf
30159 do :
30160 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30161 if test "x$ac_cv_func_expf" = x""yes; then :
30162 cat >>confdefs.h <<_ACEOF
30163 #define HAVE_EXPF 1
30164 _ACEOF
30167 done
30169 else
30171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30172 $as_echo_n "checking for _expf declaration... " >&6; }
30173 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30174 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
30175 $as_echo_n "(cached) " >&6
30176 else
30179 ac_ext=cpp
30180 ac_cpp='$CXXCPP $CPPFLAGS'
30181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30186 /* end confdefs.h. */
30187 #include <math.h>
30188 #ifdef HAVE_IEEEFP_H
30189 #include <ieeefp.h>
30190 #endif
30193 main ()
30195 _expf(0);
30197 return 0;
30199 _ACEOF
30200 if ac_fn_cxx_try_compile "$LINENO"; then :
30201 glibcxx_cv_func__expf_use=yes
30202 else
30203 glibcxx_cv_func__expf_use=no
30205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30206 ac_ext=c
30207 ac_cpp='$CPP $CPPFLAGS'
30208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30217 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30219 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30220 for ac_func in _expf
30221 do :
30222 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30223 if test "x$ac_cv_func__expf" = x""yes; then :
30224 cat >>confdefs.h <<_ACEOF
30225 #define HAVE__EXPF 1
30226 _ACEOF
30229 done
30238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30239 $as_echo_n "checking for isnanf declaration... " >&6; }
30240 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30241 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
30242 $as_echo_n "(cached) " >&6
30243 else
30246 ac_ext=cpp
30247 ac_cpp='$CXXCPP $CPPFLAGS'
30248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30253 /* end confdefs.h. */
30254 #include <math.h>
30255 #ifdef HAVE_IEEEFP_H
30256 #include <ieeefp.h>
30257 #endif
30260 main ()
30262 isnanf(0);
30264 return 0;
30266 _ACEOF
30267 if ac_fn_cxx_try_compile "$LINENO"; then :
30268 glibcxx_cv_func_isnanf_use=yes
30269 else
30270 glibcxx_cv_func_isnanf_use=no
30272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30273 ac_ext=c
30274 ac_cpp='$CPP $CPPFLAGS'
30275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30284 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30286 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30287 for ac_func in isnanf
30288 do :
30289 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30290 if test "x$ac_cv_func_isnanf" = x""yes; then :
30291 cat >>confdefs.h <<_ACEOF
30292 #define HAVE_ISNANF 1
30293 _ACEOF
30296 done
30298 else
30300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30301 $as_echo_n "checking for _isnanf declaration... " >&6; }
30302 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30303 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
30304 $as_echo_n "(cached) " >&6
30305 else
30308 ac_ext=cpp
30309 ac_cpp='$CXXCPP $CPPFLAGS'
30310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30315 /* end confdefs.h. */
30316 #include <math.h>
30317 #ifdef HAVE_IEEEFP_H
30318 #include <ieeefp.h>
30319 #endif
30322 main ()
30324 _isnanf(0);
30326 return 0;
30328 _ACEOF
30329 if ac_fn_cxx_try_compile "$LINENO"; then :
30330 glibcxx_cv_func__isnanf_use=yes
30331 else
30332 glibcxx_cv_func__isnanf_use=no
30334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30335 ac_ext=c
30336 ac_cpp='$CPP $CPPFLAGS'
30337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30346 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30348 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30349 for ac_func in _isnanf
30350 do :
30351 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30352 if test "x$ac_cv_func__isnanf" = x""yes; then :
30353 cat >>confdefs.h <<_ACEOF
30354 #define HAVE__ISNANF 1
30355 _ACEOF
30358 done
30367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30368 $as_echo_n "checking for isinff declaration... " >&6; }
30369 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30370 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
30371 $as_echo_n "(cached) " >&6
30372 else
30375 ac_ext=cpp
30376 ac_cpp='$CXXCPP $CPPFLAGS'
30377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30382 /* end confdefs.h. */
30383 #include <math.h>
30384 #ifdef HAVE_IEEEFP_H
30385 #include <ieeefp.h>
30386 #endif
30389 main ()
30391 isinff(0);
30393 return 0;
30395 _ACEOF
30396 if ac_fn_cxx_try_compile "$LINENO"; then :
30397 glibcxx_cv_func_isinff_use=yes
30398 else
30399 glibcxx_cv_func_isinff_use=no
30401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30402 ac_ext=c
30403 ac_cpp='$CPP $CPPFLAGS'
30404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
30413 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
30415 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
30416 for ac_func in isinff
30417 do :
30418 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
30419 if test "x$ac_cv_func_isinff" = x""yes; then :
30420 cat >>confdefs.h <<_ACEOF
30421 #define HAVE_ISINFF 1
30422 _ACEOF
30425 done
30427 else
30429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
30430 $as_echo_n "checking for _isinff declaration... " >&6; }
30431 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
30432 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
30433 $as_echo_n "(cached) " >&6
30434 else
30437 ac_ext=cpp
30438 ac_cpp='$CXXCPP $CPPFLAGS'
30439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30444 /* end confdefs.h. */
30445 #include <math.h>
30446 #ifdef HAVE_IEEEFP_H
30447 #include <ieeefp.h>
30448 #endif
30451 main ()
30453 _isinff(0);
30455 return 0;
30457 _ACEOF
30458 if ac_fn_cxx_try_compile "$LINENO"; then :
30459 glibcxx_cv_func__isinff_use=yes
30460 else
30461 glibcxx_cv_func__isinff_use=no
30463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30464 ac_ext=c
30465 ac_cpp='$CPP $CPPFLAGS'
30466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
30475 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
30477 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
30478 for ac_func in _isinff
30479 do :
30480 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
30481 if test "x$ac_cv_func__isinff" = x""yes; then :
30482 cat >>confdefs.h <<_ACEOF
30483 #define HAVE__ISINFF 1
30484 _ACEOF
30487 done
30496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
30497 $as_echo_n "checking for atan2f declaration... " >&6; }
30498 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
30499 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
30500 $as_echo_n "(cached) " >&6
30501 else
30504 ac_ext=cpp
30505 ac_cpp='$CXXCPP $CPPFLAGS'
30506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30511 /* end confdefs.h. */
30512 #include <math.h>
30514 main ()
30516 atan2f(0, 0);
30518 return 0;
30520 _ACEOF
30521 if ac_fn_cxx_try_compile "$LINENO"; then :
30522 glibcxx_cv_func_atan2f_use=yes
30523 else
30524 glibcxx_cv_func_atan2f_use=no
30526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30527 ac_ext=c
30528 ac_cpp='$CPP $CPPFLAGS'
30529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
30538 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
30540 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
30541 for ac_func in atan2f
30542 do :
30543 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
30544 if test "x$ac_cv_func_atan2f" = x""yes; then :
30545 cat >>confdefs.h <<_ACEOF
30546 #define HAVE_ATAN2F 1
30547 _ACEOF
30550 done
30552 else
30554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
30555 $as_echo_n "checking for _atan2f declaration... " >&6; }
30556 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
30557 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
30558 $as_echo_n "(cached) " >&6
30559 else
30562 ac_ext=cpp
30563 ac_cpp='$CXXCPP $CPPFLAGS'
30564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30569 /* end confdefs.h. */
30570 #include <math.h>
30572 main ()
30574 _atan2f(0, 0);
30576 return 0;
30578 _ACEOF
30579 if ac_fn_cxx_try_compile "$LINENO"; then :
30580 glibcxx_cv_func__atan2f_use=yes
30581 else
30582 glibcxx_cv_func__atan2f_use=no
30584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30585 ac_ext=c
30586 ac_cpp='$CPP $CPPFLAGS'
30587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
30596 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
30598 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
30599 for ac_func in _atan2f
30600 do :
30601 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
30602 if test "x$ac_cv_func__atan2f" = x""yes; then :
30603 cat >>confdefs.h <<_ACEOF
30604 #define HAVE__ATAN2F 1
30605 _ACEOF
30608 done
30617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
30618 $as_echo_n "checking for fabsf declaration... " >&6; }
30619 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
30620 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
30621 $as_echo_n "(cached) " >&6
30622 else
30625 ac_ext=cpp
30626 ac_cpp='$CXXCPP $CPPFLAGS'
30627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30632 /* end confdefs.h. */
30633 #include <math.h>
30634 #ifdef HAVE_IEEEFP_H
30635 #include <ieeefp.h>
30636 #endif
30639 main ()
30641 fabsf(0);
30643 return 0;
30645 _ACEOF
30646 if ac_fn_cxx_try_compile "$LINENO"; then :
30647 glibcxx_cv_func_fabsf_use=yes
30648 else
30649 glibcxx_cv_func_fabsf_use=no
30651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30652 ac_ext=c
30653 ac_cpp='$CPP $CPPFLAGS'
30654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
30663 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
30665 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
30666 for ac_func in fabsf
30667 do :
30668 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
30669 if test "x$ac_cv_func_fabsf" = x""yes; then :
30670 cat >>confdefs.h <<_ACEOF
30671 #define HAVE_FABSF 1
30672 _ACEOF
30675 done
30677 else
30679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
30680 $as_echo_n "checking for _fabsf declaration... " >&6; }
30681 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
30682 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
30683 $as_echo_n "(cached) " >&6
30684 else
30687 ac_ext=cpp
30688 ac_cpp='$CXXCPP $CPPFLAGS'
30689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30694 /* end confdefs.h. */
30695 #include <math.h>
30696 #ifdef HAVE_IEEEFP_H
30697 #include <ieeefp.h>
30698 #endif
30701 main ()
30703 _fabsf(0);
30705 return 0;
30707 _ACEOF
30708 if ac_fn_cxx_try_compile "$LINENO"; then :
30709 glibcxx_cv_func__fabsf_use=yes
30710 else
30711 glibcxx_cv_func__fabsf_use=no
30713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30714 ac_ext=c
30715 ac_cpp='$CPP $CPPFLAGS'
30716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
30725 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
30727 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
30728 for ac_func in _fabsf
30729 do :
30730 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
30731 if test "x$ac_cv_func__fabsf" = x""yes; then :
30732 cat >>confdefs.h <<_ACEOF
30733 #define HAVE__FABSF 1
30734 _ACEOF
30737 done
30746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
30747 $as_echo_n "checking for fmodf declaration... " >&6; }
30748 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
30749 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
30750 $as_echo_n "(cached) " >&6
30751 else
30754 ac_ext=cpp
30755 ac_cpp='$CXXCPP $CPPFLAGS'
30756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30761 /* end confdefs.h. */
30762 #include <math.h>
30764 main ()
30766 fmodf(0, 0);
30768 return 0;
30770 _ACEOF
30771 if ac_fn_cxx_try_compile "$LINENO"; then :
30772 glibcxx_cv_func_fmodf_use=yes
30773 else
30774 glibcxx_cv_func_fmodf_use=no
30776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30777 ac_ext=c
30778 ac_cpp='$CPP $CPPFLAGS'
30779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
30788 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
30790 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
30791 for ac_func in fmodf
30792 do :
30793 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
30794 if test "x$ac_cv_func_fmodf" = x""yes; then :
30795 cat >>confdefs.h <<_ACEOF
30796 #define HAVE_FMODF 1
30797 _ACEOF
30800 done
30802 else
30804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
30805 $as_echo_n "checking for _fmodf declaration... " >&6; }
30806 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
30807 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
30808 $as_echo_n "(cached) " >&6
30809 else
30812 ac_ext=cpp
30813 ac_cpp='$CXXCPP $CPPFLAGS'
30814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30819 /* end confdefs.h. */
30820 #include <math.h>
30822 main ()
30824 _fmodf(0, 0);
30826 return 0;
30828 _ACEOF
30829 if ac_fn_cxx_try_compile "$LINENO"; then :
30830 glibcxx_cv_func__fmodf_use=yes
30831 else
30832 glibcxx_cv_func__fmodf_use=no
30834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30835 ac_ext=c
30836 ac_cpp='$CPP $CPPFLAGS'
30837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
30846 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
30848 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
30849 for ac_func in _fmodf
30850 do :
30851 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
30852 if test "x$ac_cv_func__fmodf" = x""yes; then :
30853 cat >>confdefs.h <<_ACEOF
30854 #define HAVE__FMODF 1
30855 _ACEOF
30858 done
30867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
30868 $as_echo_n "checking for frexpf declaration... " >&6; }
30869 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
30870 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
30871 $as_echo_n "(cached) " >&6
30872 else
30875 ac_ext=cpp
30876 ac_cpp='$CXXCPP $CPPFLAGS'
30877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30882 /* end confdefs.h. */
30883 #include <math.h>
30885 main ()
30887 frexpf(0, 0);
30889 return 0;
30891 _ACEOF
30892 if ac_fn_cxx_try_compile "$LINENO"; then :
30893 glibcxx_cv_func_frexpf_use=yes
30894 else
30895 glibcxx_cv_func_frexpf_use=no
30897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30898 ac_ext=c
30899 ac_cpp='$CPP $CPPFLAGS'
30900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
30909 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
30911 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
30912 for ac_func in frexpf
30913 do :
30914 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
30915 if test "x$ac_cv_func_frexpf" = x""yes; then :
30916 cat >>confdefs.h <<_ACEOF
30917 #define HAVE_FREXPF 1
30918 _ACEOF
30921 done
30923 else
30925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
30926 $as_echo_n "checking for _frexpf declaration... " >&6; }
30927 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
30928 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
30929 $as_echo_n "(cached) " >&6
30930 else
30933 ac_ext=cpp
30934 ac_cpp='$CXXCPP $CPPFLAGS'
30935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30940 /* end confdefs.h. */
30941 #include <math.h>
30943 main ()
30945 _frexpf(0, 0);
30947 return 0;
30949 _ACEOF
30950 if ac_fn_cxx_try_compile "$LINENO"; then :
30951 glibcxx_cv_func__frexpf_use=yes
30952 else
30953 glibcxx_cv_func__frexpf_use=no
30955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30956 ac_ext=c
30957 ac_cpp='$CPP $CPPFLAGS'
30958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
30967 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
30969 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
30970 for ac_func in _frexpf
30971 do :
30972 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
30973 if test "x$ac_cv_func__frexpf" = x""yes; then :
30974 cat >>confdefs.h <<_ACEOF
30975 #define HAVE__FREXPF 1
30976 _ACEOF
30979 done
30988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
30989 $as_echo_n "checking for hypotf declaration... " >&6; }
30990 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
30991 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
30992 $as_echo_n "(cached) " >&6
30993 else
30996 ac_ext=cpp
30997 ac_cpp='$CXXCPP $CPPFLAGS'
30998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31003 /* end confdefs.h. */
31004 #include <math.h>
31006 main ()
31008 hypotf(0, 0);
31010 return 0;
31012 _ACEOF
31013 if ac_fn_cxx_try_compile "$LINENO"; then :
31014 glibcxx_cv_func_hypotf_use=yes
31015 else
31016 glibcxx_cv_func_hypotf_use=no
31018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31019 ac_ext=c
31020 ac_cpp='$CPP $CPPFLAGS'
31021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31030 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31032 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31033 for ac_func in hypotf
31034 do :
31035 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31036 if test "x$ac_cv_func_hypotf" = x""yes; then :
31037 cat >>confdefs.h <<_ACEOF
31038 #define HAVE_HYPOTF 1
31039 _ACEOF
31042 done
31044 else
31046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31047 $as_echo_n "checking for _hypotf declaration... " >&6; }
31048 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31049 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
31050 $as_echo_n "(cached) " >&6
31051 else
31054 ac_ext=cpp
31055 ac_cpp='$CXXCPP $CPPFLAGS'
31056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31061 /* end confdefs.h. */
31062 #include <math.h>
31064 main ()
31066 _hypotf(0, 0);
31068 return 0;
31070 _ACEOF
31071 if ac_fn_cxx_try_compile "$LINENO"; then :
31072 glibcxx_cv_func__hypotf_use=yes
31073 else
31074 glibcxx_cv_func__hypotf_use=no
31076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31077 ac_ext=c
31078 ac_cpp='$CPP $CPPFLAGS'
31079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31088 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31090 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31091 for ac_func in _hypotf
31092 do :
31093 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31094 if test "x$ac_cv_func__hypotf" = x""yes; then :
31095 cat >>confdefs.h <<_ACEOF
31096 #define HAVE__HYPOTF 1
31097 _ACEOF
31100 done
31109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31110 $as_echo_n "checking for ldexpf declaration... " >&6; }
31111 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31112 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
31113 $as_echo_n "(cached) " >&6
31114 else
31117 ac_ext=cpp
31118 ac_cpp='$CXXCPP $CPPFLAGS'
31119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31124 /* end confdefs.h. */
31125 #include <math.h>
31127 main ()
31129 ldexpf(0, 0);
31131 return 0;
31133 _ACEOF
31134 if ac_fn_cxx_try_compile "$LINENO"; then :
31135 glibcxx_cv_func_ldexpf_use=yes
31136 else
31137 glibcxx_cv_func_ldexpf_use=no
31139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31140 ac_ext=c
31141 ac_cpp='$CPP $CPPFLAGS'
31142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31151 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31153 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31154 for ac_func in ldexpf
31155 do :
31156 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31157 if test "x$ac_cv_func_ldexpf" = x""yes; then :
31158 cat >>confdefs.h <<_ACEOF
31159 #define HAVE_LDEXPF 1
31160 _ACEOF
31163 done
31165 else
31167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31168 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31169 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31170 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
31171 $as_echo_n "(cached) " >&6
31172 else
31175 ac_ext=cpp
31176 ac_cpp='$CXXCPP $CPPFLAGS'
31177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31182 /* end confdefs.h. */
31183 #include <math.h>
31185 main ()
31187 _ldexpf(0, 0);
31189 return 0;
31191 _ACEOF
31192 if ac_fn_cxx_try_compile "$LINENO"; then :
31193 glibcxx_cv_func__ldexpf_use=yes
31194 else
31195 glibcxx_cv_func__ldexpf_use=no
31197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31198 ac_ext=c
31199 ac_cpp='$CPP $CPPFLAGS'
31200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31209 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31211 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31212 for ac_func in _ldexpf
31213 do :
31214 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31215 if test "x$ac_cv_func__ldexpf" = x""yes; then :
31216 cat >>confdefs.h <<_ACEOF
31217 #define HAVE__LDEXPF 1
31218 _ACEOF
31221 done
31230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31231 $as_echo_n "checking for logf declaration... " >&6; }
31232 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31233 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
31234 $as_echo_n "(cached) " >&6
31235 else
31238 ac_ext=cpp
31239 ac_cpp='$CXXCPP $CPPFLAGS'
31240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31245 /* end confdefs.h. */
31246 #include <math.h>
31247 #ifdef HAVE_IEEEFP_H
31248 #include <ieeefp.h>
31249 #endif
31252 main ()
31254 logf(0);
31256 return 0;
31258 _ACEOF
31259 if ac_fn_cxx_try_compile "$LINENO"; then :
31260 glibcxx_cv_func_logf_use=yes
31261 else
31262 glibcxx_cv_func_logf_use=no
31264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31265 ac_ext=c
31266 ac_cpp='$CPP $CPPFLAGS'
31267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31276 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31278 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31279 for ac_func in logf
31280 do :
31281 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31282 if test "x$ac_cv_func_logf" = x""yes; then :
31283 cat >>confdefs.h <<_ACEOF
31284 #define HAVE_LOGF 1
31285 _ACEOF
31288 done
31290 else
31292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31293 $as_echo_n "checking for _logf declaration... " >&6; }
31294 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31295 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
31296 $as_echo_n "(cached) " >&6
31297 else
31300 ac_ext=cpp
31301 ac_cpp='$CXXCPP $CPPFLAGS'
31302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31307 /* end confdefs.h. */
31308 #include <math.h>
31309 #ifdef HAVE_IEEEFP_H
31310 #include <ieeefp.h>
31311 #endif
31314 main ()
31316 _logf(0);
31318 return 0;
31320 _ACEOF
31321 if ac_fn_cxx_try_compile "$LINENO"; then :
31322 glibcxx_cv_func__logf_use=yes
31323 else
31324 glibcxx_cv_func__logf_use=no
31326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31327 ac_ext=c
31328 ac_cpp='$CPP $CPPFLAGS'
31329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31338 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31340 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31341 for ac_func in _logf
31342 do :
31343 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31344 if test "x$ac_cv_func__logf" = x""yes; then :
31345 cat >>confdefs.h <<_ACEOF
31346 #define HAVE__LOGF 1
31347 _ACEOF
31350 done
31359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31360 $as_echo_n "checking for log10f declaration... " >&6; }
31361 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31362 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
31363 $as_echo_n "(cached) " >&6
31364 else
31367 ac_ext=cpp
31368 ac_cpp='$CXXCPP $CPPFLAGS'
31369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31374 /* end confdefs.h. */
31375 #include <math.h>
31376 #ifdef HAVE_IEEEFP_H
31377 #include <ieeefp.h>
31378 #endif
31381 main ()
31383 log10f(0);
31385 return 0;
31387 _ACEOF
31388 if ac_fn_cxx_try_compile "$LINENO"; then :
31389 glibcxx_cv_func_log10f_use=yes
31390 else
31391 glibcxx_cv_func_log10f_use=no
31393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31394 ac_ext=c
31395 ac_cpp='$CPP $CPPFLAGS'
31396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
31405 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
31407 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31408 for ac_func in log10f
31409 do :
31410 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
31411 if test "x$ac_cv_func_log10f" = x""yes; then :
31412 cat >>confdefs.h <<_ACEOF
31413 #define HAVE_LOG10F 1
31414 _ACEOF
31417 done
31419 else
31421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
31422 $as_echo_n "checking for _log10f declaration... " >&6; }
31423 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31424 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
31425 $as_echo_n "(cached) " >&6
31426 else
31429 ac_ext=cpp
31430 ac_cpp='$CXXCPP $CPPFLAGS'
31431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31436 /* end confdefs.h. */
31437 #include <math.h>
31438 #ifdef HAVE_IEEEFP_H
31439 #include <ieeefp.h>
31440 #endif
31443 main ()
31445 _log10f(0);
31447 return 0;
31449 _ACEOF
31450 if ac_fn_cxx_try_compile "$LINENO"; then :
31451 glibcxx_cv_func__log10f_use=yes
31452 else
31453 glibcxx_cv_func__log10f_use=no
31455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31456 ac_ext=c
31457 ac_cpp='$CPP $CPPFLAGS'
31458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
31467 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
31469 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
31470 for ac_func in _log10f
31471 do :
31472 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
31473 if test "x$ac_cv_func__log10f" = x""yes; then :
31474 cat >>confdefs.h <<_ACEOF
31475 #define HAVE__LOG10F 1
31476 _ACEOF
31479 done
31488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
31489 $as_echo_n "checking for modff declaration... " >&6; }
31490 if test x${glibcxx_cv_func_modff_use+set} != xset; then
31491 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
31492 $as_echo_n "(cached) " >&6
31493 else
31496 ac_ext=cpp
31497 ac_cpp='$CXXCPP $CPPFLAGS'
31498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31503 /* end confdefs.h. */
31504 #include <math.h>
31506 main ()
31508 modff(0, 0);
31510 return 0;
31512 _ACEOF
31513 if ac_fn_cxx_try_compile "$LINENO"; then :
31514 glibcxx_cv_func_modff_use=yes
31515 else
31516 glibcxx_cv_func_modff_use=no
31518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31519 ac_ext=c
31520 ac_cpp='$CPP $CPPFLAGS'
31521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
31530 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
31532 if test x$glibcxx_cv_func_modff_use = x"yes"; then
31533 for ac_func in modff
31534 do :
31535 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
31536 if test "x$ac_cv_func_modff" = x""yes; then :
31537 cat >>confdefs.h <<_ACEOF
31538 #define HAVE_MODFF 1
31539 _ACEOF
31542 done
31544 else
31546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
31547 $as_echo_n "checking for _modff declaration... " >&6; }
31548 if test x${glibcxx_cv_func__modff_use+set} != xset; then
31549 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
31550 $as_echo_n "(cached) " >&6
31551 else
31554 ac_ext=cpp
31555 ac_cpp='$CXXCPP $CPPFLAGS'
31556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31561 /* end confdefs.h. */
31562 #include <math.h>
31564 main ()
31566 _modff(0, 0);
31568 return 0;
31570 _ACEOF
31571 if ac_fn_cxx_try_compile "$LINENO"; then :
31572 glibcxx_cv_func__modff_use=yes
31573 else
31574 glibcxx_cv_func__modff_use=no
31576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31577 ac_ext=c
31578 ac_cpp='$CPP $CPPFLAGS'
31579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
31588 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
31590 if test x$glibcxx_cv_func__modff_use = x"yes"; then
31591 for ac_func in _modff
31592 do :
31593 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
31594 if test "x$ac_cv_func__modff" = x""yes; then :
31595 cat >>confdefs.h <<_ACEOF
31596 #define HAVE__MODFF 1
31597 _ACEOF
31600 done
31609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
31610 $as_echo_n "checking for modf declaration... " >&6; }
31611 if test x${glibcxx_cv_func_modf_use+set} != xset; then
31612 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
31613 $as_echo_n "(cached) " >&6
31614 else
31617 ac_ext=cpp
31618 ac_cpp='$CXXCPP $CPPFLAGS'
31619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31624 /* end confdefs.h. */
31625 #include <math.h>
31627 main ()
31629 modf(0, 0);
31631 return 0;
31633 _ACEOF
31634 if ac_fn_cxx_try_compile "$LINENO"; then :
31635 glibcxx_cv_func_modf_use=yes
31636 else
31637 glibcxx_cv_func_modf_use=no
31639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31640 ac_ext=c
31641 ac_cpp='$CPP $CPPFLAGS'
31642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
31651 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
31653 if test x$glibcxx_cv_func_modf_use = x"yes"; then
31654 for ac_func in modf
31655 do :
31656 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
31657 if test "x$ac_cv_func_modf" = x""yes; then :
31658 cat >>confdefs.h <<_ACEOF
31659 #define HAVE_MODF 1
31660 _ACEOF
31663 done
31665 else
31667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
31668 $as_echo_n "checking for _modf declaration... " >&6; }
31669 if test x${glibcxx_cv_func__modf_use+set} != xset; then
31670 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
31671 $as_echo_n "(cached) " >&6
31672 else
31675 ac_ext=cpp
31676 ac_cpp='$CXXCPP $CPPFLAGS'
31677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31682 /* end confdefs.h. */
31683 #include <math.h>
31685 main ()
31687 _modf(0, 0);
31689 return 0;
31691 _ACEOF
31692 if ac_fn_cxx_try_compile "$LINENO"; then :
31693 glibcxx_cv_func__modf_use=yes
31694 else
31695 glibcxx_cv_func__modf_use=no
31697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31698 ac_ext=c
31699 ac_cpp='$CPP $CPPFLAGS'
31700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
31709 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
31711 if test x$glibcxx_cv_func__modf_use = x"yes"; then
31712 for ac_func in _modf
31713 do :
31714 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
31715 if test "x$ac_cv_func__modf" = x""yes; then :
31716 cat >>confdefs.h <<_ACEOF
31717 #define HAVE__MODF 1
31718 _ACEOF
31721 done
31730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
31731 $as_echo_n "checking for powf declaration... " >&6; }
31732 if test x${glibcxx_cv_func_powf_use+set} != xset; then
31733 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
31734 $as_echo_n "(cached) " >&6
31735 else
31738 ac_ext=cpp
31739 ac_cpp='$CXXCPP $CPPFLAGS'
31740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31745 /* end confdefs.h. */
31746 #include <math.h>
31748 main ()
31750 powf(0, 0);
31752 return 0;
31754 _ACEOF
31755 if ac_fn_cxx_try_compile "$LINENO"; then :
31756 glibcxx_cv_func_powf_use=yes
31757 else
31758 glibcxx_cv_func_powf_use=no
31760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31761 ac_ext=c
31762 ac_cpp='$CPP $CPPFLAGS'
31763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
31772 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
31774 if test x$glibcxx_cv_func_powf_use = x"yes"; then
31775 for ac_func in powf
31776 do :
31777 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
31778 if test "x$ac_cv_func_powf" = x""yes; then :
31779 cat >>confdefs.h <<_ACEOF
31780 #define HAVE_POWF 1
31781 _ACEOF
31784 done
31786 else
31788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
31789 $as_echo_n "checking for _powf declaration... " >&6; }
31790 if test x${glibcxx_cv_func__powf_use+set} != xset; then
31791 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
31792 $as_echo_n "(cached) " >&6
31793 else
31796 ac_ext=cpp
31797 ac_cpp='$CXXCPP $CPPFLAGS'
31798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31803 /* end confdefs.h. */
31804 #include <math.h>
31806 main ()
31808 _powf(0, 0);
31810 return 0;
31812 _ACEOF
31813 if ac_fn_cxx_try_compile "$LINENO"; then :
31814 glibcxx_cv_func__powf_use=yes
31815 else
31816 glibcxx_cv_func__powf_use=no
31818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31819 ac_ext=c
31820 ac_cpp='$CPP $CPPFLAGS'
31821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
31830 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
31832 if test x$glibcxx_cv_func__powf_use = x"yes"; then
31833 for ac_func in _powf
31834 do :
31835 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
31836 if test "x$ac_cv_func__powf" = x""yes; then :
31837 cat >>confdefs.h <<_ACEOF
31838 #define HAVE__POWF 1
31839 _ACEOF
31842 done
31851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
31852 $as_echo_n "checking for sqrtf declaration... " >&6; }
31853 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
31854 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
31855 $as_echo_n "(cached) " >&6
31856 else
31859 ac_ext=cpp
31860 ac_cpp='$CXXCPP $CPPFLAGS'
31861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31866 /* end confdefs.h. */
31867 #include <math.h>
31868 #ifdef HAVE_IEEEFP_H
31869 #include <ieeefp.h>
31870 #endif
31873 main ()
31875 sqrtf(0);
31877 return 0;
31879 _ACEOF
31880 if ac_fn_cxx_try_compile "$LINENO"; then :
31881 glibcxx_cv_func_sqrtf_use=yes
31882 else
31883 glibcxx_cv_func_sqrtf_use=no
31885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31886 ac_ext=c
31887 ac_cpp='$CPP $CPPFLAGS'
31888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
31897 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
31899 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
31900 for ac_func in sqrtf
31901 do :
31902 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
31903 if test "x$ac_cv_func_sqrtf" = x""yes; then :
31904 cat >>confdefs.h <<_ACEOF
31905 #define HAVE_SQRTF 1
31906 _ACEOF
31909 done
31911 else
31913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
31914 $as_echo_n "checking for _sqrtf declaration... " >&6; }
31915 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
31916 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
31917 $as_echo_n "(cached) " >&6
31918 else
31921 ac_ext=cpp
31922 ac_cpp='$CXXCPP $CPPFLAGS'
31923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31928 /* end confdefs.h. */
31929 #include <math.h>
31930 #ifdef HAVE_IEEEFP_H
31931 #include <ieeefp.h>
31932 #endif
31935 main ()
31937 _sqrtf(0);
31939 return 0;
31941 _ACEOF
31942 if ac_fn_cxx_try_compile "$LINENO"; then :
31943 glibcxx_cv_func__sqrtf_use=yes
31944 else
31945 glibcxx_cv_func__sqrtf_use=no
31947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31948 ac_ext=c
31949 ac_cpp='$CPP $CPPFLAGS'
31950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
31959 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
31961 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
31962 for ac_func in _sqrtf
31963 do :
31964 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
31965 if test "x$ac_cv_func__sqrtf" = x""yes; then :
31966 cat >>confdefs.h <<_ACEOF
31967 #define HAVE__SQRTF 1
31968 _ACEOF
31971 done
31980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
31981 $as_echo_n "checking for sincosf declaration... " >&6; }
31982 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
31983 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
31984 $as_echo_n "(cached) " >&6
31985 else
31988 ac_ext=cpp
31989 ac_cpp='$CXXCPP $CPPFLAGS'
31990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31995 /* end confdefs.h. */
31996 #include <math.h>
31998 main ()
32000 sincosf(0, 0, 0);
32002 return 0;
32004 _ACEOF
32005 if ac_fn_cxx_try_compile "$LINENO"; then :
32006 glibcxx_cv_func_sincosf_use=yes
32007 else
32008 glibcxx_cv_func_sincosf_use=no
32010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32011 ac_ext=c
32012 ac_cpp='$CPP $CPPFLAGS'
32013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32022 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32024 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32025 for ac_func in sincosf
32026 do :
32027 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32028 if test "x$ac_cv_func_sincosf" = x""yes; then :
32029 cat >>confdefs.h <<_ACEOF
32030 #define HAVE_SINCOSF 1
32031 _ACEOF
32034 done
32036 else
32038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32039 $as_echo_n "checking for _sincosf declaration... " >&6; }
32040 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32041 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
32042 $as_echo_n "(cached) " >&6
32043 else
32046 ac_ext=cpp
32047 ac_cpp='$CXXCPP $CPPFLAGS'
32048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32053 /* end confdefs.h. */
32054 #include <math.h>
32056 main ()
32058 _sincosf(0, 0, 0);
32060 return 0;
32062 _ACEOF
32063 if ac_fn_cxx_try_compile "$LINENO"; then :
32064 glibcxx_cv_func__sincosf_use=yes
32065 else
32066 glibcxx_cv_func__sincosf_use=no
32068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32069 ac_ext=c
32070 ac_cpp='$CPP $CPPFLAGS'
32071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32080 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32082 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32083 for ac_func in _sincosf
32084 do :
32085 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32086 if test "x$ac_cv_func__sincosf" = x""yes; then :
32087 cat >>confdefs.h <<_ACEOF
32088 #define HAVE__SINCOSF 1
32089 _ACEOF
32092 done
32101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32102 $as_echo_n "checking for finitef declaration... " >&6; }
32103 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32104 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
32105 $as_echo_n "(cached) " >&6
32106 else
32109 ac_ext=cpp
32110 ac_cpp='$CXXCPP $CPPFLAGS'
32111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32116 /* end confdefs.h. */
32117 #include <math.h>
32118 #ifdef HAVE_IEEEFP_H
32119 #include <ieeefp.h>
32120 #endif
32123 main ()
32125 finitef(0);
32127 return 0;
32129 _ACEOF
32130 if ac_fn_cxx_try_compile "$LINENO"; then :
32131 glibcxx_cv_func_finitef_use=yes
32132 else
32133 glibcxx_cv_func_finitef_use=no
32135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32136 ac_ext=c
32137 ac_cpp='$CPP $CPPFLAGS'
32138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32147 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32149 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32150 for ac_func in finitef
32151 do :
32152 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32153 if test "x$ac_cv_func_finitef" = x""yes; then :
32154 cat >>confdefs.h <<_ACEOF
32155 #define HAVE_FINITEF 1
32156 _ACEOF
32159 done
32161 else
32163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32164 $as_echo_n "checking for _finitef declaration... " >&6; }
32165 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32166 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
32167 $as_echo_n "(cached) " >&6
32168 else
32171 ac_ext=cpp
32172 ac_cpp='$CXXCPP $CPPFLAGS'
32173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32178 /* end confdefs.h. */
32179 #include <math.h>
32180 #ifdef HAVE_IEEEFP_H
32181 #include <ieeefp.h>
32182 #endif
32185 main ()
32187 _finitef(0);
32189 return 0;
32191 _ACEOF
32192 if ac_fn_cxx_try_compile "$LINENO"; then :
32193 glibcxx_cv_func__finitef_use=yes
32194 else
32195 glibcxx_cv_func__finitef_use=no
32197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32198 ac_ext=c
32199 ac_cpp='$CPP $CPPFLAGS'
32200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32209 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32211 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32212 for ac_func in _finitef
32213 do :
32214 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32215 if test "x$ac_cv_func__finitef" = x""yes; then :
32216 cat >>confdefs.h <<_ACEOF
32217 #define HAVE__FINITEF 1
32218 _ACEOF
32221 done
32230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32231 $as_echo_n "checking for long double trig functions... " >&6; }
32232 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
32233 $as_echo_n "(cached) " >&6
32234 else
32237 ac_ext=cpp
32238 ac_cpp='$CXXCPP $CPPFLAGS'
32239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32244 /* end confdefs.h. */
32245 #include <math.h>
32247 main ()
32249 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32251 return 0;
32253 _ACEOF
32254 if ac_fn_cxx_try_compile "$LINENO"; then :
32255 glibcxx_cv_func_long_double_trig_use=yes
32256 else
32257 glibcxx_cv_func_long_double_trig_use=no
32259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32260 ac_ext=c
32261 ac_cpp='$CPP $CPPFLAGS'
32262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32269 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32270 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32271 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32272 do :
32273 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32274 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32275 eval as_val=\$$as_ac_var
32276 if test "x$as_val" = x""yes; then :
32277 cat >>confdefs.h <<_ACEOF
32278 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32279 _ACEOF
32282 done
32284 else
32285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32286 $as_echo_n "checking for _long double trig functions... " >&6; }
32287 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
32288 $as_echo_n "(cached) " >&6
32289 else
32292 ac_ext=cpp
32293 ac_cpp='$CXXCPP $CPPFLAGS'
32294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32299 /* end confdefs.h. */
32300 #include <math.h>
32302 main ()
32304 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32306 return 0;
32308 _ACEOF
32309 if ac_fn_cxx_try_compile "$LINENO"; then :
32310 glibcxx_cv_func__long_double_trig_use=yes
32311 else
32312 glibcxx_cv_func__long_double_trig_use=no
32314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32315 ac_ext=c
32316 ac_cpp='$CPP $CPPFLAGS'
32317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32324 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32325 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32326 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32327 do :
32328 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32329 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32330 eval as_val=\$$as_ac_var
32331 if test "x$as_val" = x""yes; then :
32332 cat >>confdefs.h <<_ACEOF
32333 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32334 _ACEOF
32337 done
32346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32347 $as_echo_n "checking for long double round functions... " >&6; }
32348 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
32349 $as_echo_n "(cached) " >&6
32350 else
32353 ac_ext=cpp
32354 ac_cpp='$CXXCPP $CPPFLAGS'
32355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32360 /* end confdefs.h. */
32361 #include <math.h>
32363 main ()
32365 ceill (0); floorl (0);
32367 return 0;
32369 _ACEOF
32370 if ac_fn_cxx_try_compile "$LINENO"; then :
32371 glibcxx_cv_func_long_double_round_use=yes
32372 else
32373 glibcxx_cv_func_long_double_round_use=no
32375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32376 ac_ext=c
32377 ac_cpp='$CPP $CPPFLAGS'
32378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32385 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32386 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32387 for ac_func in ceill floorl
32388 do :
32389 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32390 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32391 eval as_val=\$$as_ac_var
32392 if test "x$as_val" = x""yes; then :
32393 cat >>confdefs.h <<_ACEOF
32394 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32395 _ACEOF
32398 done
32400 else
32401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
32402 $as_echo_n "checking for _long double round functions... " >&6; }
32403 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
32404 $as_echo_n "(cached) " >&6
32405 else
32408 ac_ext=cpp
32409 ac_cpp='$CXXCPP $CPPFLAGS'
32410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32415 /* end confdefs.h. */
32416 #include <math.h>
32418 main ()
32420 _ceill (0); _floorl (0);
32422 return 0;
32424 _ACEOF
32425 if ac_fn_cxx_try_compile "$LINENO"; then :
32426 glibcxx_cv_func__long_double_round_use=yes
32427 else
32428 glibcxx_cv_func__long_double_round_use=no
32430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32431 ac_ext=c
32432 ac_cpp='$CPP $CPPFLAGS'
32433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
32440 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
32441 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
32442 for ac_func in _ceill _floorl
32443 do :
32444 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32445 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32446 eval as_val=\$$as_ac_var
32447 if test "x$as_val" = x""yes; then :
32448 cat >>confdefs.h <<_ACEOF
32449 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32450 _ACEOF
32453 done
32463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
32464 $as_echo_n "checking for isnanl declaration... " >&6; }
32465 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
32466 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
32467 $as_echo_n "(cached) " >&6
32468 else
32471 ac_ext=cpp
32472 ac_cpp='$CXXCPP $CPPFLAGS'
32473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32478 /* end confdefs.h. */
32479 #include <math.h>
32480 #ifdef HAVE_IEEEFP_H
32481 #include <ieeefp.h>
32482 #endif
32485 main ()
32487 isnanl(0);
32489 return 0;
32491 _ACEOF
32492 if ac_fn_cxx_try_compile "$LINENO"; then :
32493 glibcxx_cv_func_isnanl_use=yes
32494 else
32495 glibcxx_cv_func_isnanl_use=no
32497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32498 ac_ext=c
32499 ac_cpp='$CPP $CPPFLAGS'
32500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
32509 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
32511 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
32512 for ac_func in isnanl
32513 do :
32514 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
32515 if test "x$ac_cv_func_isnanl" = x""yes; then :
32516 cat >>confdefs.h <<_ACEOF
32517 #define HAVE_ISNANL 1
32518 _ACEOF
32521 done
32523 else
32525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
32526 $as_echo_n "checking for _isnanl declaration... " >&6; }
32527 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
32528 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
32529 $as_echo_n "(cached) " >&6
32530 else
32533 ac_ext=cpp
32534 ac_cpp='$CXXCPP $CPPFLAGS'
32535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32540 /* end confdefs.h. */
32541 #include <math.h>
32542 #ifdef HAVE_IEEEFP_H
32543 #include <ieeefp.h>
32544 #endif
32547 main ()
32549 _isnanl(0);
32551 return 0;
32553 _ACEOF
32554 if ac_fn_cxx_try_compile "$LINENO"; then :
32555 glibcxx_cv_func__isnanl_use=yes
32556 else
32557 glibcxx_cv_func__isnanl_use=no
32559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32560 ac_ext=c
32561 ac_cpp='$CPP $CPPFLAGS'
32562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
32571 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
32573 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
32574 for ac_func in _isnanl
32575 do :
32576 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
32577 if test "x$ac_cv_func__isnanl" = x""yes; then :
32578 cat >>confdefs.h <<_ACEOF
32579 #define HAVE__ISNANL 1
32580 _ACEOF
32583 done
32592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
32593 $as_echo_n "checking for isinfl declaration... " >&6; }
32594 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
32595 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
32596 $as_echo_n "(cached) " >&6
32597 else
32600 ac_ext=cpp
32601 ac_cpp='$CXXCPP $CPPFLAGS'
32602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32607 /* end confdefs.h. */
32608 #include <math.h>
32609 #ifdef HAVE_IEEEFP_H
32610 #include <ieeefp.h>
32611 #endif
32614 main ()
32616 isinfl(0);
32618 return 0;
32620 _ACEOF
32621 if ac_fn_cxx_try_compile "$LINENO"; then :
32622 glibcxx_cv_func_isinfl_use=yes
32623 else
32624 glibcxx_cv_func_isinfl_use=no
32626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32627 ac_ext=c
32628 ac_cpp='$CPP $CPPFLAGS'
32629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
32638 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
32640 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
32641 for ac_func in isinfl
32642 do :
32643 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
32644 if test "x$ac_cv_func_isinfl" = x""yes; then :
32645 cat >>confdefs.h <<_ACEOF
32646 #define HAVE_ISINFL 1
32647 _ACEOF
32650 done
32652 else
32654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
32655 $as_echo_n "checking for _isinfl declaration... " >&6; }
32656 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
32657 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
32658 $as_echo_n "(cached) " >&6
32659 else
32662 ac_ext=cpp
32663 ac_cpp='$CXXCPP $CPPFLAGS'
32664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32669 /* end confdefs.h. */
32670 #include <math.h>
32671 #ifdef HAVE_IEEEFP_H
32672 #include <ieeefp.h>
32673 #endif
32676 main ()
32678 _isinfl(0);
32680 return 0;
32682 _ACEOF
32683 if ac_fn_cxx_try_compile "$LINENO"; then :
32684 glibcxx_cv_func__isinfl_use=yes
32685 else
32686 glibcxx_cv_func__isinfl_use=no
32688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32689 ac_ext=c
32690 ac_cpp='$CPP $CPPFLAGS'
32691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
32700 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
32702 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
32703 for ac_func in _isinfl
32704 do :
32705 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
32706 if test "x$ac_cv_func__isinfl" = x""yes; then :
32707 cat >>confdefs.h <<_ACEOF
32708 #define HAVE__ISINFL 1
32709 _ACEOF
32712 done
32721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
32722 $as_echo_n "checking for atan2l declaration... " >&6; }
32723 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
32724 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
32725 $as_echo_n "(cached) " >&6
32726 else
32729 ac_ext=cpp
32730 ac_cpp='$CXXCPP $CPPFLAGS'
32731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32736 /* end confdefs.h. */
32737 #include <math.h>
32739 main ()
32741 atan2l(0, 0);
32743 return 0;
32745 _ACEOF
32746 if ac_fn_cxx_try_compile "$LINENO"; then :
32747 glibcxx_cv_func_atan2l_use=yes
32748 else
32749 glibcxx_cv_func_atan2l_use=no
32751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32752 ac_ext=c
32753 ac_cpp='$CPP $CPPFLAGS'
32754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
32763 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
32765 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
32766 for ac_func in atan2l
32767 do :
32768 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
32769 if test "x$ac_cv_func_atan2l" = x""yes; then :
32770 cat >>confdefs.h <<_ACEOF
32771 #define HAVE_ATAN2L 1
32772 _ACEOF
32775 done
32777 else
32779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
32780 $as_echo_n "checking for _atan2l declaration... " >&6; }
32781 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
32782 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
32783 $as_echo_n "(cached) " >&6
32784 else
32787 ac_ext=cpp
32788 ac_cpp='$CXXCPP $CPPFLAGS'
32789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32794 /* end confdefs.h. */
32795 #include <math.h>
32797 main ()
32799 _atan2l(0, 0);
32801 return 0;
32803 _ACEOF
32804 if ac_fn_cxx_try_compile "$LINENO"; then :
32805 glibcxx_cv_func__atan2l_use=yes
32806 else
32807 glibcxx_cv_func__atan2l_use=no
32809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32810 ac_ext=c
32811 ac_cpp='$CPP $CPPFLAGS'
32812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
32821 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
32823 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
32824 for ac_func in _atan2l
32825 do :
32826 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
32827 if test "x$ac_cv_func__atan2l" = x""yes; then :
32828 cat >>confdefs.h <<_ACEOF
32829 #define HAVE__ATAN2L 1
32830 _ACEOF
32833 done
32842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
32843 $as_echo_n "checking for expl declaration... " >&6; }
32844 if test x${glibcxx_cv_func_expl_use+set} != xset; then
32845 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
32846 $as_echo_n "(cached) " >&6
32847 else
32850 ac_ext=cpp
32851 ac_cpp='$CXXCPP $CPPFLAGS'
32852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32857 /* end confdefs.h. */
32858 #include <math.h>
32859 #ifdef HAVE_IEEEFP_H
32860 #include <ieeefp.h>
32861 #endif
32864 main ()
32866 expl(0);
32868 return 0;
32870 _ACEOF
32871 if ac_fn_cxx_try_compile "$LINENO"; then :
32872 glibcxx_cv_func_expl_use=yes
32873 else
32874 glibcxx_cv_func_expl_use=no
32876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32877 ac_ext=c
32878 ac_cpp='$CPP $CPPFLAGS'
32879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
32888 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
32890 if test x$glibcxx_cv_func_expl_use = x"yes"; then
32891 for ac_func in expl
32892 do :
32893 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
32894 if test "x$ac_cv_func_expl" = x""yes; then :
32895 cat >>confdefs.h <<_ACEOF
32896 #define HAVE_EXPL 1
32897 _ACEOF
32900 done
32902 else
32904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
32905 $as_echo_n "checking for _expl declaration... " >&6; }
32906 if test x${glibcxx_cv_func__expl_use+set} != xset; then
32907 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
32908 $as_echo_n "(cached) " >&6
32909 else
32912 ac_ext=cpp
32913 ac_cpp='$CXXCPP $CPPFLAGS'
32914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32919 /* end confdefs.h. */
32920 #include <math.h>
32921 #ifdef HAVE_IEEEFP_H
32922 #include <ieeefp.h>
32923 #endif
32926 main ()
32928 _expl(0);
32930 return 0;
32932 _ACEOF
32933 if ac_fn_cxx_try_compile "$LINENO"; then :
32934 glibcxx_cv_func__expl_use=yes
32935 else
32936 glibcxx_cv_func__expl_use=no
32938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32939 ac_ext=c
32940 ac_cpp='$CPP $CPPFLAGS'
32941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
32950 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
32952 if test x$glibcxx_cv_func__expl_use = x"yes"; then
32953 for ac_func in _expl
32954 do :
32955 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
32956 if test "x$ac_cv_func__expl" = x""yes; then :
32957 cat >>confdefs.h <<_ACEOF
32958 #define HAVE__EXPL 1
32959 _ACEOF
32962 done
32971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
32972 $as_echo_n "checking for fabsl declaration... " >&6; }
32973 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
32974 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
32975 $as_echo_n "(cached) " >&6
32976 else
32979 ac_ext=cpp
32980 ac_cpp='$CXXCPP $CPPFLAGS'
32981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32986 /* end confdefs.h. */
32987 #include <math.h>
32988 #ifdef HAVE_IEEEFP_H
32989 #include <ieeefp.h>
32990 #endif
32993 main ()
32995 fabsl(0);
32997 return 0;
32999 _ACEOF
33000 if ac_fn_cxx_try_compile "$LINENO"; then :
33001 glibcxx_cv_func_fabsl_use=yes
33002 else
33003 glibcxx_cv_func_fabsl_use=no
33005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33006 ac_ext=c
33007 ac_cpp='$CPP $CPPFLAGS'
33008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33017 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33019 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33020 for ac_func in fabsl
33021 do :
33022 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33023 if test "x$ac_cv_func_fabsl" = x""yes; then :
33024 cat >>confdefs.h <<_ACEOF
33025 #define HAVE_FABSL 1
33026 _ACEOF
33029 done
33031 else
33033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33034 $as_echo_n "checking for _fabsl declaration... " >&6; }
33035 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33036 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
33037 $as_echo_n "(cached) " >&6
33038 else
33041 ac_ext=cpp
33042 ac_cpp='$CXXCPP $CPPFLAGS'
33043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33048 /* end confdefs.h. */
33049 #include <math.h>
33050 #ifdef HAVE_IEEEFP_H
33051 #include <ieeefp.h>
33052 #endif
33055 main ()
33057 _fabsl(0);
33059 return 0;
33061 _ACEOF
33062 if ac_fn_cxx_try_compile "$LINENO"; then :
33063 glibcxx_cv_func__fabsl_use=yes
33064 else
33065 glibcxx_cv_func__fabsl_use=no
33067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33068 ac_ext=c
33069 ac_cpp='$CPP $CPPFLAGS'
33070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33079 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33081 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33082 for ac_func in _fabsl
33083 do :
33084 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33085 if test "x$ac_cv_func__fabsl" = x""yes; then :
33086 cat >>confdefs.h <<_ACEOF
33087 #define HAVE__FABSL 1
33088 _ACEOF
33091 done
33100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33101 $as_echo_n "checking for fmodl declaration... " >&6; }
33102 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33103 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
33104 $as_echo_n "(cached) " >&6
33105 else
33108 ac_ext=cpp
33109 ac_cpp='$CXXCPP $CPPFLAGS'
33110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33115 /* end confdefs.h. */
33116 #include <math.h>
33118 main ()
33120 fmodl(0, 0);
33122 return 0;
33124 _ACEOF
33125 if ac_fn_cxx_try_compile "$LINENO"; then :
33126 glibcxx_cv_func_fmodl_use=yes
33127 else
33128 glibcxx_cv_func_fmodl_use=no
33130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33131 ac_ext=c
33132 ac_cpp='$CPP $CPPFLAGS'
33133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33142 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33144 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33145 for ac_func in fmodl
33146 do :
33147 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33148 if test "x$ac_cv_func_fmodl" = x""yes; then :
33149 cat >>confdefs.h <<_ACEOF
33150 #define HAVE_FMODL 1
33151 _ACEOF
33154 done
33156 else
33158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33159 $as_echo_n "checking for _fmodl declaration... " >&6; }
33160 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33161 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
33162 $as_echo_n "(cached) " >&6
33163 else
33166 ac_ext=cpp
33167 ac_cpp='$CXXCPP $CPPFLAGS'
33168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33173 /* end confdefs.h. */
33174 #include <math.h>
33176 main ()
33178 _fmodl(0, 0);
33180 return 0;
33182 _ACEOF
33183 if ac_fn_cxx_try_compile "$LINENO"; then :
33184 glibcxx_cv_func__fmodl_use=yes
33185 else
33186 glibcxx_cv_func__fmodl_use=no
33188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33189 ac_ext=c
33190 ac_cpp='$CPP $CPPFLAGS'
33191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33200 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33202 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33203 for ac_func in _fmodl
33204 do :
33205 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33206 if test "x$ac_cv_func__fmodl" = x""yes; then :
33207 cat >>confdefs.h <<_ACEOF
33208 #define HAVE__FMODL 1
33209 _ACEOF
33212 done
33221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33222 $as_echo_n "checking for frexpl declaration... " >&6; }
33223 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33224 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
33225 $as_echo_n "(cached) " >&6
33226 else
33229 ac_ext=cpp
33230 ac_cpp='$CXXCPP $CPPFLAGS'
33231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33236 /* end confdefs.h. */
33237 #include <math.h>
33239 main ()
33241 frexpl(0, 0);
33243 return 0;
33245 _ACEOF
33246 if ac_fn_cxx_try_compile "$LINENO"; then :
33247 glibcxx_cv_func_frexpl_use=yes
33248 else
33249 glibcxx_cv_func_frexpl_use=no
33251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33252 ac_ext=c
33253 ac_cpp='$CPP $CPPFLAGS'
33254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33263 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33265 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33266 for ac_func in frexpl
33267 do :
33268 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33269 if test "x$ac_cv_func_frexpl" = x""yes; then :
33270 cat >>confdefs.h <<_ACEOF
33271 #define HAVE_FREXPL 1
33272 _ACEOF
33275 done
33277 else
33279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33280 $as_echo_n "checking for _frexpl declaration... " >&6; }
33281 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33282 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
33283 $as_echo_n "(cached) " >&6
33284 else
33287 ac_ext=cpp
33288 ac_cpp='$CXXCPP $CPPFLAGS'
33289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33294 /* end confdefs.h. */
33295 #include <math.h>
33297 main ()
33299 _frexpl(0, 0);
33301 return 0;
33303 _ACEOF
33304 if ac_fn_cxx_try_compile "$LINENO"; then :
33305 glibcxx_cv_func__frexpl_use=yes
33306 else
33307 glibcxx_cv_func__frexpl_use=no
33309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33310 ac_ext=c
33311 ac_cpp='$CPP $CPPFLAGS'
33312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33321 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33323 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33324 for ac_func in _frexpl
33325 do :
33326 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33327 if test "x$ac_cv_func__frexpl" = x""yes; then :
33328 cat >>confdefs.h <<_ACEOF
33329 #define HAVE__FREXPL 1
33330 _ACEOF
33333 done
33342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33343 $as_echo_n "checking for hypotl declaration... " >&6; }
33344 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33345 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
33346 $as_echo_n "(cached) " >&6
33347 else
33350 ac_ext=cpp
33351 ac_cpp='$CXXCPP $CPPFLAGS'
33352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33357 /* end confdefs.h. */
33358 #include <math.h>
33360 main ()
33362 hypotl(0, 0);
33364 return 0;
33366 _ACEOF
33367 if ac_fn_cxx_try_compile "$LINENO"; then :
33368 glibcxx_cv_func_hypotl_use=yes
33369 else
33370 glibcxx_cv_func_hypotl_use=no
33372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33373 ac_ext=c
33374 ac_cpp='$CPP $CPPFLAGS'
33375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33384 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33386 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33387 for ac_func in hypotl
33388 do :
33389 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33390 if test "x$ac_cv_func_hypotl" = x""yes; then :
33391 cat >>confdefs.h <<_ACEOF
33392 #define HAVE_HYPOTL 1
33393 _ACEOF
33396 done
33398 else
33400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
33401 $as_echo_n "checking for _hypotl declaration... " >&6; }
33402 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
33403 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
33404 $as_echo_n "(cached) " >&6
33405 else
33408 ac_ext=cpp
33409 ac_cpp='$CXXCPP $CPPFLAGS'
33410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33415 /* end confdefs.h. */
33416 #include <math.h>
33418 main ()
33420 _hypotl(0, 0);
33422 return 0;
33424 _ACEOF
33425 if ac_fn_cxx_try_compile "$LINENO"; then :
33426 glibcxx_cv_func__hypotl_use=yes
33427 else
33428 glibcxx_cv_func__hypotl_use=no
33430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33431 ac_ext=c
33432 ac_cpp='$CPP $CPPFLAGS'
33433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
33442 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
33444 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
33445 for ac_func in _hypotl
33446 do :
33447 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
33448 if test "x$ac_cv_func__hypotl" = x""yes; then :
33449 cat >>confdefs.h <<_ACEOF
33450 #define HAVE__HYPOTL 1
33451 _ACEOF
33454 done
33463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
33464 $as_echo_n "checking for ldexpl declaration... " >&6; }
33465 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33466 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
33467 $as_echo_n "(cached) " >&6
33468 else
33471 ac_ext=cpp
33472 ac_cpp='$CXXCPP $CPPFLAGS'
33473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33478 /* end confdefs.h. */
33479 #include <math.h>
33481 main ()
33483 ldexpl(0, 0);
33485 return 0;
33487 _ACEOF
33488 if ac_fn_cxx_try_compile "$LINENO"; then :
33489 glibcxx_cv_func_ldexpl_use=yes
33490 else
33491 glibcxx_cv_func_ldexpl_use=no
33493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33494 ac_ext=c
33495 ac_cpp='$CPP $CPPFLAGS'
33496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
33505 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
33507 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33508 for ac_func in ldexpl
33509 do :
33510 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
33511 if test "x$ac_cv_func_ldexpl" = x""yes; then :
33512 cat >>confdefs.h <<_ACEOF
33513 #define HAVE_LDEXPL 1
33514 _ACEOF
33517 done
33519 else
33521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
33522 $as_echo_n "checking for _ldexpl declaration... " >&6; }
33523 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33524 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
33525 $as_echo_n "(cached) " >&6
33526 else
33529 ac_ext=cpp
33530 ac_cpp='$CXXCPP $CPPFLAGS'
33531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33536 /* end confdefs.h. */
33537 #include <math.h>
33539 main ()
33541 _ldexpl(0, 0);
33543 return 0;
33545 _ACEOF
33546 if ac_fn_cxx_try_compile "$LINENO"; then :
33547 glibcxx_cv_func__ldexpl_use=yes
33548 else
33549 glibcxx_cv_func__ldexpl_use=no
33551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33552 ac_ext=c
33553 ac_cpp='$CPP $CPPFLAGS'
33554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
33563 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
33565 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33566 for ac_func in _ldexpl
33567 do :
33568 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
33569 if test "x$ac_cv_func__ldexpl" = x""yes; then :
33570 cat >>confdefs.h <<_ACEOF
33571 #define HAVE__LDEXPL 1
33572 _ACEOF
33575 done
33584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
33585 $as_echo_n "checking for logl declaration... " >&6; }
33586 if test x${glibcxx_cv_func_logl_use+set} != xset; then
33587 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
33588 $as_echo_n "(cached) " >&6
33589 else
33592 ac_ext=cpp
33593 ac_cpp='$CXXCPP $CPPFLAGS'
33594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33599 /* end confdefs.h. */
33600 #include <math.h>
33601 #ifdef HAVE_IEEEFP_H
33602 #include <ieeefp.h>
33603 #endif
33606 main ()
33608 logl(0);
33610 return 0;
33612 _ACEOF
33613 if ac_fn_cxx_try_compile "$LINENO"; then :
33614 glibcxx_cv_func_logl_use=yes
33615 else
33616 glibcxx_cv_func_logl_use=no
33618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33619 ac_ext=c
33620 ac_cpp='$CPP $CPPFLAGS'
33621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
33630 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
33632 if test x$glibcxx_cv_func_logl_use = x"yes"; then
33633 for ac_func in logl
33634 do :
33635 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
33636 if test "x$ac_cv_func_logl" = x""yes; then :
33637 cat >>confdefs.h <<_ACEOF
33638 #define HAVE_LOGL 1
33639 _ACEOF
33642 done
33644 else
33646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
33647 $as_echo_n "checking for _logl declaration... " >&6; }
33648 if test x${glibcxx_cv_func__logl_use+set} != xset; then
33649 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
33650 $as_echo_n "(cached) " >&6
33651 else
33654 ac_ext=cpp
33655 ac_cpp='$CXXCPP $CPPFLAGS'
33656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33661 /* end confdefs.h. */
33662 #include <math.h>
33663 #ifdef HAVE_IEEEFP_H
33664 #include <ieeefp.h>
33665 #endif
33668 main ()
33670 _logl(0);
33672 return 0;
33674 _ACEOF
33675 if ac_fn_cxx_try_compile "$LINENO"; then :
33676 glibcxx_cv_func__logl_use=yes
33677 else
33678 glibcxx_cv_func__logl_use=no
33680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33681 ac_ext=c
33682 ac_cpp='$CPP $CPPFLAGS'
33683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
33692 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
33694 if test x$glibcxx_cv_func__logl_use = x"yes"; then
33695 for ac_func in _logl
33696 do :
33697 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
33698 if test "x$ac_cv_func__logl" = x""yes; then :
33699 cat >>confdefs.h <<_ACEOF
33700 #define HAVE__LOGL 1
33701 _ACEOF
33704 done
33713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
33714 $as_echo_n "checking for log10l declaration... " >&6; }
33715 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
33716 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
33717 $as_echo_n "(cached) " >&6
33718 else
33721 ac_ext=cpp
33722 ac_cpp='$CXXCPP $CPPFLAGS'
33723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33728 /* end confdefs.h. */
33729 #include <math.h>
33730 #ifdef HAVE_IEEEFP_H
33731 #include <ieeefp.h>
33732 #endif
33735 main ()
33737 log10l(0);
33739 return 0;
33741 _ACEOF
33742 if ac_fn_cxx_try_compile "$LINENO"; then :
33743 glibcxx_cv_func_log10l_use=yes
33744 else
33745 glibcxx_cv_func_log10l_use=no
33747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33748 ac_ext=c
33749 ac_cpp='$CPP $CPPFLAGS'
33750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
33759 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
33761 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
33762 for ac_func in log10l
33763 do :
33764 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
33765 if test "x$ac_cv_func_log10l" = x""yes; then :
33766 cat >>confdefs.h <<_ACEOF
33767 #define HAVE_LOG10L 1
33768 _ACEOF
33771 done
33773 else
33775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
33776 $as_echo_n "checking for _log10l declaration... " >&6; }
33777 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
33778 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
33779 $as_echo_n "(cached) " >&6
33780 else
33783 ac_ext=cpp
33784 ac_cpp='$CXXCPP $CPPFLAGS'
33785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33790 /* end confdefs.h. */
33791 #include <math.h>
33792 #ifdef HAVE_IEEEFP_H
33793 #include <ieeefp.h>
33794 #endif
33797 main ()
33799 _log10l(0);
33801 return 0;
33803 _ACEOF
33804 if ac_fn_cxx_try_compile "$LINENO"; then :
33805 glibcxx_cv_func__log10l_use=yes
33806 else
33807 glibcxx_cv_func__log10l_use=no
33809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33810 ac_ext=c
33811 ac_cpp='$CPP $CPPFLAGS'
33812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
33821 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
33823 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
33824 for ac_func in _log10l
33825 do :
33826 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
33827 if test "x$ac_cv_func__log10l" = x""yes; then :
33828 cat >>confdefs.h <<_ACEOF
33829 #define HAVE__LOG10L 1
33830 _ACEOF
33833 done
33842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
33843 $as_echo_n "checking for modfl declaration... " >&6; }
33844 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
33845 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
33846 $as_echo_n "(cached) " >&6
33847 else
33850 ac_ext=cpp
33851 ac_cpp='$CXXCPP $CPPFLAGS'
33852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33857 /* end confdefs.h. */
33858 #include <math.h>
33860 main ()
33862 modfl(0, 0);
33864 return 0;
33866 _ACEOF
33867 if ac_fn_cxx_try_compile "$LINENO"; then :
33868 glibcxx_cv_func_modfl_use=yes
33869 else
33870 glibcxx_cv_func_modfl_use=no
33872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33873 ac_ext=c
33874 ac_cpp='$CPP $CPPFLAGS'
33875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
33884 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
33886 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
33887 for ac_func in modfl
33888 do :
33889 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
33890 if test "x$ac_cv_func_modfl" = x""yes; then :
33891 cat >>confdefs.h <<_ACEOF
33892 #define HAVE_MODFL 1
33893 _ACEOF
33896 done
33898 else
33900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
33901 $as_echo_n "checking for _modfl declaration... " >&6; }
33902 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
33903 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
33904 $as_echo_n "(cached) " >&6
33905 else
33908 ac_ext=cpp
33909 ac_cpp='$CXXCPP $CPPFLAGS'
33910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33915 /* end confdefs.h. */
33916 #include <math.h>
33918 main ()
33920 _modfl(0, 0);
33922 return 0;
33924 _ACEOF
33925 if ac_fn_cxx_try_compile "$LINENO"; then :
33926 glibcxx_cv_func__modfl_use=yes
33927 else
33928 glibcxx_cv_func__modfl_use=no
33930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33931 ac_ext=c
33932 ac_cpp='$CPP $CPPFLAGS'
33933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
33942 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
33944 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
33945 for ac_func in _modfl
33946 do :
33947 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
33948 if test "x$ac_cv_func__modfl" = x""yes; then :
33949 cat >>confdefs.h <<_ACEOF
33950 #define HAVE__MODFL 1
33951 _ACEOF
33954 done
33963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
33964 $as_echo_n "checking for powl declaration... " >&6; }
33965 if test x${glibcxx_cv_func_powl_use+set} != xset; then
33966 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
33967 $as_echo_n "(cached) " >&6
33968 else
33971 ac_ext=cpp
33972 ac_cpp='$CXXCPP $CPPFLAGS'
33973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33978 /* end confdefs.h. */
33979 #include <math.h>
33981 main ()
33983 powl(0, 0);
33985 return 0;
33987 _ACEOF
33988 if ac_fn_cxx_try_compile "$LINENO"; then :
33989 glibcxx_cv_func_powl_use=yes
33990 else
33991 glibcxx_cv_func_powl_use=no
33993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33994 ac_ext=c
33995 ac_cpp='$CPP $CPPFLAGS'
33996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34005 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34007 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34008 for ac_func in powl
34009 do :
34010 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34011 if test "x$ac_cv_func_powl" = x""yes; then :
34012 cat >>confdefs.h <<_ACEOF
34013 #define HAVE_POWL 1
34014 _ACEOF
34017 done
34019 else
34021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34022 $as_echo_n "checking for _powl declaration... " >&6; }
34023 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34024 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
34025 $as_echo_n "(cached) " >&6
34026 else
34029 ac_ext=cpp
34030 ac_cpp='$CXXCPP $CPPFLAGS'
34031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34036 /* end confdefs.h. */
34037 #include <math.h>
34039 main ()
34041 _powl(0, 0);
34043 return 0;
34045 _ACEOF
34046 if ac_fn_cxx_try_compile "$LINENO"; then :
34047 glibcxx_cv_func__powl_use=yes
34048 else
34049 glibcxx_cv_func__powl_use=no
34051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34052 ac_ext=c
34053 ac_cpp='$CPP $CPPFLAGS'
34054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34063 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34065 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34066 for ac_func in _powl
34067 do :
34068 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34069 if test "x$ac_cv_func__powl" = x""yes; then :
34070 cat >>confdefs.h <<_ACEOF
34071 #define HAVE__POWL 1
34072 _ACEOF
34075 done
34084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34085 $as_echo_n "checking for sqrtl declaration... " >&6; }
34086 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34087 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
34088 $as_echo_n "(cached) " >&6
34089 else
34092 ac_ext=cpp
34093 ac_cpp='$CXXCPP $CPPFLAGS'
34094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34099 /* end confdefs.h. */
34100 #include <math.h>
34101 #ifdef HAVE_IEEEFP_H
34102 #include <ieeefp.h>
34103 #endif
34106 main ()
34108 sqrtl(0);
34110 return 0;
34112 _ACEOF
34113 if ac_fn_cxx_try_compile "$LINENO"; then :
34114 glibcxx_cv_func_sqrtl_use=yes
34115 else
34116 glibcxx_cv_func_sqrtl_use=no
34118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34119 ac_ext=c
34120 ac_cpp='$CPP $CPPFLAGS'
34121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34130 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34132 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34133 for ac_func in sqrtl
34134 do :
34135 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34136 if test "x$ac_cv_func_sqrtl" = x""yes; then :
34137 cat >>confdefs.h <<_ACEOF
34138 #define HAVE_SQRTL 1
34139 _ACEOF
34142 done
34144 else
34146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34147 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34148 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34149 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
34150 $as_echo_n "(cached) " >&6
34151 else
34154 ac_ext=cpp
34155 ac_cpp='$CXXCPP $CPPFLAGS'
34156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34161 /* end confdefs.h. */
34162 #include <math.h>
34163 #ifdef HAVE_IEEEFP_H
34164 #include <ieeefp.h>
34165 #endif
34168 main ()
34170 _sqrtl(0);
34172 return 0;
34174 _ACEOF
34175 if ac_fn_cxx_try_compile "$LINENO"; then :
34176 glibcxx_cv_func__sqrtl_use=yes
34177 else
34178 glibcxx_cv_func__sqrtl_use=no
34180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34181 ac_ext=c
34182 ac_cpp='$CPP $CPPFLAGS'
34183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34192 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34194 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34195 for ac_func in _sqrtl
34196 do :
34197 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34198 if test "x$ac_cv_func__sqrtl" = x""yes; then :
34199 cat >>confdefs.h <<_ACEOF
34200 #define HAVE__SQRTL 1
34201 _ACEOF
34204 done
34213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34214 $as_echo_n "checking for sincosl declaration... " >&6; }
34215 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34216 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
34217 $as_echo_n "(cached) " >&6
34218 else
34221 ac_ext=cpp
34222 ac_cpp='$CXXCPP $CPPFLAGS'
34223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34228 /* end confdefs.h. */
34229 #include <math.h>
34231 main ()
34233 sincosl(0, 0, 0);
34235 return 0;
34237 _ACEOF
34238 if ac_fn_cxx_try_compile "$LINENO"; then :
34239 glibcxx_cv_func_sincosl_use=yes
34240 else
34241 glibcxx_cv_func_sincosl_use=no
34243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34244 ac_ext=c
34245 ac_cpp='$CPP $CPPFLAGS'
34246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34255 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34257 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34258 for ac_func in sincosl
34259 do :
34260 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34261 if test "x$ac_cv_func_sincosl" = x""yes; then :
34262 cat >>confdefs.h <<_ACEOF
34263 #define HAVE_SINCOSL 1
34264 _ACEOF
34267 done
34269 else
34271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34272 $as_echo_n "checking for _sincosl declaration... " >&6; }
34273 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34274 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
34275 $as_echo_n "(cached) " >&6
34276 else
34279 ac_ext=cpp
34280 ac_cpp='$CXXCPP $CPPFLAGS'
34281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34286 /* end confdefs.h. */
34287 #include <math.h>
34289 main ()
34291 _sincosl(0, 0, 0);
34293 return 0;
34295 _ACEOF
34296 if ac_fn_cxx_try_compile "$LINENO"; then :
34297 glibcxx_cv_func__sincosl_use=yes
34298 else
34299 glibcxx_cv_func__sincosl_use=no
34301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34302 ac_ext=c
34303 ac_cpp='$CPP $CPPFLAGS'
34304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34313 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34315 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34316 for ac_func in _sincosl
34317 do :
34318 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34319 if test "x$ac_cv_func__sincosl" = x""yes; then :
34320 cat >>confdefs.h <<_ACEOF
34321 #define HAVE__SINCOSL 1
34322 _ACEOF
34325 done
34334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34335 $as_echo_n "checking for finitel declaration... " >&6; }
34336 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34337 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
34338 $as_echo_n "(cached) " >&6
34339 else
34342 ac_ext=cpp
34343 ac_cpp='$CXXCPP $CPPFLAGS'
34344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34349 /* end confdefs.h. */
34350 #include <math.h>
34351 #ifdef HAVE_IEEEFP_H
34352 #include <ieeefp.h>
34353 #endif
34356 main ()
34358 finitel(0);
34360 return 0;
34362 _ACEOF
34363 if ac_fn_cxx_try_compile "$LINENO"; then :
34364 glibcxx_cv_func_finitel_use=yes
34365 else
34366 glibcxx_cv_func_finitel_use=no
34368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34369 ac_ext=c
34370 ac_cpp='$CPP $CPPFLAGS'
34371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34380 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34382 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34383 for ac_func in finitel
34384 do :
34385 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34386 if test "x$ac_cv_func_finitel" = x""yes; then :
34387 cat >>confdefs.h <<_ACEOF
34388 #define HAVE_FINITEL 1
34389 _ACEOF
34392 done
34394 else
34396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34397 $as_echo_n "checking for _finitel declaration... " >&6; }
34398 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34399 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
34400 $as_echo_n "(cached) " >&6
34401 else
34404 ac_ext=cpp
34405 ac_cpp='$CXXCPP $CPPFLAGS'
34406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34411 /* end confdefs.h. */
34412 #include <math.h>
34413 #ifdef HAVE_IEEEFP_H
34414 #include <ieeefp.h>
34415 #endif
34418 main ()
34420 _finitel(0);
34422 return 0;
34424 _ACEOF
34425 if ac_fn_cxx_try_compile "$LINENO"; then :
34426 glibcxx_cv_func__finitel_use=yes
34427 else
34428 glibcxx_cv_func__finitel_use=no
34430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34431 ac_ext=c
34432 ac_cpp='$CPP $CPPFLAGS'
34433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
34442 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
34444 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
34445 for ac_func in _finitel
34446 do :
34447 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
34448 if test "x$ac_cv_func__finitel" = x""yes; then :
34449 cat >>confdefs.h <<_ACEOF
34450 #define HAVE__FINITEL 1
34451 _ACEOF
34454 done
34462 LIBS="$ac_save_LIBS"
34463 CXXFLAGS="$ac_save_CXXFLAGS"
34466 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34467 ac_save_CXXFLAGS="$CXXFLAGS"
34468 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
34472 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
34473 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
34474 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
34475 $as_echo_n "(cached) " >&6
34476 else
34479 ac_ext=cpp
34480 ac_cpp='$CXXCPP $CPPFLAGS'
34481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34486 /* end confdefs.h. */
34487 #include <stdlib.h>
34489 main ()
34491 at_quick_exit(0);
34493 return 0;
34495 _ACEOF
34496 if ac_fn_cxx_try_compile "$LINENO"; then :
34497 glibcxx_cv_func_at_quick_exit_use=yes
34498 else
34499 glibcxx_cv_func_at_quick_exit_use=no
34501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34502 ac_ext=c
34503 ac_cpp='$CPP $CPPFLAGS'
34504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
34513 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
34514 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
34515 for ac_func in at_quick_exit
34516 do :
34517 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
34518 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
34519 cat >>confdefs.h <<_ACEOF
34520 #define HAVE_AT_QUICK_EXIT 1
34521 _ACEOF
34524 done
34529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
34530 $as_echo_n "checking for quick_exit declaration... " >&6; }
34531 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
34532 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
34533 $as_echo_n "(cached) " >&6
34534 else
34537 ac_ext=cpp
34538 ac_cpp='$CXXCPP $CPPFLAGS'
34539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34544 /* end confdefs.h. */
34545 #include <stdlib.h>
34547 main ()
34549 quick_exit(0);
34551 return 0;
34553 _ACEOF
34554 if ac_fn_cxx_try_compile "$LINENO"; then :
34555 glibcxx_cv_func_quick_exit_use=yes
34556 else
34557 glibcxx_cv_func_quick_exit_use=no
34559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34560 ac_ext=c
34561 ac_cpp='$CPP $CPPFLAGS'
34562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
34571 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
34572 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
34573 for ac_func in quick_exit
34574 do :
34575 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
34576 if test "x$ac_cv_func_quick_exit" = x""yes; then :
34577 cat >>confdefs.h <<_ACEOF
34578 #define HAVE_QUICK_EXIT 1
34579 _ACEOF
34582 done
34587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
34588 $as_echo_n "checking for strtold declaration... " >&6; }
34589 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
34590 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
34591 $as_echo_n "(cached) " >&6
34592 else
34595 ac_ext=cpp
34596 ac_cpp='$CXXCPP $CPPFLAGS'
34597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34602 /* end confdefs.h. */
34603 #include <stdlib.h>
34605 main ()
34607 strtold(0, 0);
34609 return 0;
34611 _ACEOF
34612 if ac_fn_cxx_try_compile "$LINENO"; then :
34613 glibcxx_cv_func_strtold_use=yes
34614 else
34615 glibcxx_cv_func_strtold_use=no
34617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34618 ac_ext=c
34619 ac_cpp='$CPP $CPPFLAGS'
34620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
34629 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
34630 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
34631 for ac_func in strtold
34632 do :
34633 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
34634 if test "x$ac_cv_func_strtold" = x""yes; then :
34635 cat >>confdefs.h <<_ACEOF
34636 #define HAVE_STRTOLD 1
34637 _ACEOF
34640 done
34647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
34648 $as_echo_n "checking for strtof declaration... " >&6; }
34649 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
34650 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
34651 $as_echo_n "(cached) " >&6
34652 else
34655 ac_ext=cpp
34656 ac_cpp='$CXXCPP $CPPFLAGS'
34657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34662 /* end confdefs.h. */
34663 #include <stdlib.h>
34665 main ()
34667 strtof(0, 0);
34669 return 0;
34671 _ACEOF
34672 if ac_fn_cxx_try_compile "$LINENO"; then :
34673 glibcxx_cv_func_strtof_use=yes
34674 else
34675 glibcxx_cv_func_strtof_use=no
34677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34678 ac_ext=c
34679 ac_cpp='$CPP $CPPFLAGS'
34680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
34689 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
34690 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
34691 for ac_func in strtof
34692 do :
34693 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
34694 if test "x$ac_cv_func_strtof" = x""yes; then :
34695 cat >>confdefs.h <<_ACEOF
34696 #define HAVE_STRTOF 1
34697 _ACEOF
34700 done
34707 CXXFLAGS="$ac_save_CXXFLAGS"
34710 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
34712 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
34714 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
34716 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
34719 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
34721 $as_echo "#define HAVE_MODF 1" >>confdefs.h
34723 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
34727 spu-*-elf*)
34729 # All these tests are for C++; save the language and the compiler flags.
34730 # The CXXFLAGS thing is suspicious, but based on similar bits previously
34731 # found in GLIBCXX_CONFIGURE.
34733 ac_ext=cpp
34734 ac_cpp='$CXXCPP $CPPFLAGS'
34735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34739 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34740 ac_save_CXXFLAGS="$CXXFLAGS"
34742 # Check for maintainer-mode bits.
34743 if test x"$USE_MAINTAINER_MODE" = xno; then
34744 WERROR=''
34745 else
34746 WERROR='-Werror'
34749 # Check for -ffunction-sections -fdata-sections
34750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
34751 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
34752 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
34753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34754 /* end confdefs.h. */
34755 int foo; void bar() { };
34757 main ()
34761 return 0;
34763 _ACEOF
34764 if ac_fn_cxx_try_compile "$LINENO"; then :
34765 ac_fdsections=yes
34766 else
34767 ac_fdsections=no
34769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34770 if test "$ac_test_CXXFLAGS" = set; then
34771 CXXFLAGS="$ac_save_CXXFLAGS"
34772 else
34773 # this is the suspicious part
34774 CXXFLAGS=''
34776 if test x"$ac_fdsections" = x"yes"; then
34777 SECTION_FLAGS='-ffunction-sections -fdata-sections'
34779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
34780 $as_echo "$ac_fdsections" >&6; }
34782 ac_ext=c
34783 ac_cpp='$CPP $CPPFLAGS'
34784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34792 # If we're not using GNU ld, then there's no point in even trying these
34793 # tests. Check for that first. We should have already tested for gld
34794 # by now (in libtool), but require it now just to be safe...
34795 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
34796 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
34800 # The name set by libtool depends on the version of libtool. Shame on us
34801 # for depending on an impl detail, but c'est la vie. Older versions used
34802 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
34803 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
34804 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
34805 # set (hence we're using an older libtool), then set it.
34806 if test x${with_gnu_ld+set} != xset; then
34807 if test x${ac_cv_prog_gnu_ld+set} != xset; then
34808 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
34809 with_gnu_ld=no
34810 else
34811 with_gnu_ld=$ac_cv_prog_gnu_ld
34815 # Start by getting the version number. I think the libtool test already
34816 # does some of this, but throws away the result.
34817 glibcxx_ld_is_gold=no
34818 if test x"$with_gnu_ld" = x"yes"; then
34819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
34820 $as_echo_n "checking for ld version... " >&6; }
34822 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
34823 glibcxx_ld_is_gold=yes
34825 ldver=`$LD --version 2>/dev/null |
34826 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'`
34828 glibcxx_gnu_ld_version=`echo $ldver | \
34829 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
34830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
34831 $as_echo "$glibcxx_gnu_ld_version" >&6; }
34834 # Set --gc-sections.
34835 glibcxx_have_gc_sections=no
34836 if test "$glibcxx_ld_is_gold" = "yes"; then
34837 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
34838 glibcxx_have_gc_sections=yes
34840 else
34841 glibcxx_gcsections_min_ld=21602
34842 if test x"$with_gnu_ld" = x"yes" &&
34843 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
34844 glibcxx_have_gc_sections=yes
34847 if test "$glibcxx_have_gc_sections" = "yes"; then
34848 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
34849 # NB: This flag only works reliably after 2.16.1. Configure tests
34850 # for this are difficult, so hard wire a value that should work.
34852 ac_test_CFLAGS="${CFLAGS+set}"
34853 ac_save_CFLAGS="$CFLAGS"
34854 CFLAGS='-Wl,--gc-sections'
34856 # Check for -Wl,--gc-sections
34857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
34858 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
34859 if test x$gcc_no_link = xyes; then
34860 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34863 /* end confdefs.h. */
34864 int one(void) { return 1; }
34865 int two(void) { return 2; }
34868 main ()
34870 two();
34872 return 0;
34874 _ACEOF
34875 if ac_fn_c_try_link "$LINENO"; then :
34876 ac_gcsections=yes
34877 else
34878 ac_gcsections=no
34880 rm -f core conftest.err conftest.$ac_objext \
34881 conftest$ac_exeext conftest.$ac_ext
34882 if test "$ac_gcsections" = "yes"; then
34883 rm -f conftest.c
34884 touch conftest.c
34885 if $CC -c conftest.c; then
34886 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
34887 grep "Warning: gc-sections option ignored" > /dev/null; then
34888 ac_gcsections=no
34891 rm -f conftest.c conftest.o conftest
34893 if test "$ac_gcsections" = "yes"; then
34894 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
34896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
34897 $as_echo "$ac_gcsections" >&6; }
34899 if test "$ac_test_CFLAGS" = set; then
34900 CFLAGS="$ac_save_CFLAGS"
34901 else
34902 # this is the suspicious part
34903 CFLAGS=''
34907 # Set -z,relro.
34908 # Note this is only for shared objects.
34909 ac_ld_relro=no
34910 if test x"$with_gnu_ld" = x"yes"; then
34911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
34912 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
34913 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
34914 if test -n "$cxx_z_relo"; then
34915 OPT_LDFLAGS="-Wl,-z,relro"
34916 ac_ld_relro=yes
34918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
34919 $as_echo "$ac_ld_relro" >&6; }
34922 # Set linker optimization flags.
34923 if test x"$with_gnu_ld" = x"yes"; then
34924 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
34931 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34932 ac_save_CXXFLAGS="$CXXFLAGS"
34933 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
34936 $as_echo_n "checking for sin in -lm... " >&6; }
34937 if test "${ac_cv_lib_m_sin+set}" = set; then :
34938 $as_echo_n "(cached) " >&6
34939 else
34940 ac_check_lib_save_LIBS=$LIBS
34941 LIBS="-lm $LIBS"
34942 if test x$gcc_no_link = xyes; then
34943 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34946 /* end confdefs.h. */
34948 /* Override any GCC internal prototype to avoid an error.
34949 Use char because int might match the return type of a GCC
34950 builtin and then its argument prototype would still apply. */
34951 #ifdef __cplusplus
34952 extern "C"
34953 #endif
34954 char sin ();
34956 main ()
34958 return sin ();
34960 return 0;
34962 _ACEOF
34963 if ac_fn_c_try_link "$LINENO"; then :
34964 ac_cv_lib_m_sin=yes
34965 else
34966 ac_cv_lib_m_sin=no
34968 rm -f core conftest.err conftest.$ac_objext \
34969 conftest$ac_exeext conftest.$ac_ext
34970 LIBS=$ac_check_lib_save_LIBS
34972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
34973 $as_echo "$ac_cv_lib_m_sin" >&6; }
34974 if test "x$ac_cv_lib_m_sin" = x""yes; then :
34975 libm="-lm"
34978 ac_save_LIBS="$LIBS"
34979 LIBS="$LIBS $libm"
34983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
34984 $as_echo_n "checking for isinf declaration... " >&6; }
34985 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
34986 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
34987 $as_echo_n "(cached) " >&6
34988 else
34991 ac_ext=cpp
34992 ac_cpp='$CXXCPP $CPPFLAGS'
34993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34998 /* end confdefs.h. */
34999 #include <math.h>
35000 #ifdef HAVE_IEEEFP_H
35001 #include <ieeefp.h>
35002 #endif
35005 main ()
35007 isinf(0);
35009 return 0;
35011 _ACEOF
35012 if ac_fn_cxx_try_compile "$LINENO"; then :
35013 glibcxx_cv_func_isinf_use=yes
35014 else
35015 glibcxx_cv_func_isinf_use=no
35017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35018 ac_ext=c
35019 ac_cpp='$CPP $CPPFLAGS'
35020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35029 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35031 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35032 for ac_func in isinf
35033 do :
35034 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35035 if test "x$ac_cv_func_isinf" = x""yes; then :
35036 cat >>confdefs.h <<_ACEOF
35037 #define HAVE_ISINF 1
35038 _ACEOF
35041 done
35043 else
35045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35046 $as_echo_n "checking for _isinf declaration... " >&6; }
35047 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35048 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
35049 $as_echo_n "(cached) " >&6
35050 else
35053 ac_ext=cpp
35054 ac_cpp='$CXXCPP $CPPFLAGS'
35055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35060 /* end confdefs.h. */
35061 #include <math.h>
35062 #ifdef HAVE_IEEEFP_H
35063 #include <ieeefp.h>
35064 #endif
35067 main ()
35069 _isinf(0);
35071 return 0;
35073 _ACEOF
35074 if ac_fn_cxx_try_compile "$LINENO"; then :
35075 glibcxx_cv_func__isinf_use=yes
35076 else
35077 glibcxx_cv_func__isinf_use=no
35079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35080 ac_ext=c
35081 ac_cpp='$CPP $CPPFLAGS'
35082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35091 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35093 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35094 for ac_func in _isinf
35095 do :
35096 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35097 if test "x$ac_cv_func__isinf" = x""yes; then :
35098 cat >>confdefs.h <<_ACEOF
35099 #define HAVE__ISINF 1
35100 _ACEOF
35103 done
35112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35113 $as_echo_n "checking for isnan declaration... " >&6; }
35114 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35115 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
35116 $as_echo_n "(cached) " >&6
35117 else
35120 ac_ext=cpp
35121 ac_cpp='$CXXCPP $CPPFLAGS'
35122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35127 /* end confdefs.h. */
35128 #include <math.h>
35129 #ifdef HAVE_IEEEFP_H
35130 #include <ieeefp.h>
35131 #endif
35134 main ()
35136 isnan(0);
35138 return 0;
35140 _ACEOF
35141 if ac_fn_cxx_try_compile "$LINENO"; then :
35142 glibcxx_cv_func_isnan_use=yes
35143 else
35144 glibcxx_cv_func_isnan_use=no
35146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35147 ac_ext=c
35148 ac_cpp='$CPP $CPPFLAGS'
35149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35158 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35160 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35161 for ac_func in isnan
35162 do :
35163 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35164 if test "x$ac_cv_func_isnan" = x""yes; then :
35165 cat >>confdefs.h <<_ACEOF
35166 #define HAVE_ISNAN 1
35167 _ACEOF
35170 done
35172 else
35174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35175 $as_echo_n "checking for _isnan declaration... " >&6; }
35176 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35177 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
35178 $as_echo_n "(cached) " >&6
35179 else
35182 ac_ext=cpp
35183 ac_cpp='$CXXCPP $CPPFLAGS'
35184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35189 /* end confdefs.h. */
35190 #include <math.h>
35191 #ifdef HAVE_IEEEFP_H
35192 #include <ieeefp.h>
35193 #endif
35196 main ()
35198 _isnan(0);
35200 return 0;
35202 _ACEOF
35203 if ac_fn_cxx_try_compile "$LINENO"; then :
35204 glibcxx_cv_func__isnan_use=yes
35205 else
35206 glibcxx_cv_func__isnan_use=no
35208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35209 ac_ext=c
35210 ac_cpp='$CPP $CPPFLAGS'
35211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35220 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35222 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35223 for ac_func in _isnan
35224 do :
35225 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35226 if test "x$ac_cv_func__isnan" = x""yes; then :
35227 cat >>confdefs.h <<_ACEOF
35228 #define HAVE__ISNAN 1
35229 _ACEOF
35232 done
35241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35242 $as_echo_n "checking for finite declaration... " >&6; }
35243 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35244 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
35245 $as_echo_n "(cached) " >&6
35246 else
35249 ac_ext=cpp
35250 ac_cpp='$CXXCPP $CPPFLAGS'
35251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35256 /* end confdefs.h. */
35257 #include <math.h>
35258 #ifdef HAVE_IEEEFP_H
35259 #include <ieeefp.h>
35260 #endif
35263 main ()
35265 finite(0);
35267 return 0;
35269 _ACEOF
35270 if ac_fn_cxx_try_compile "$LINENO"; then :
35271 glibcxx_cv_func_finite_use=yes
35272 else
35273 glibcxx_cv_func_finite_use=no
35275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35276 ac_ext=c
35277 ac_cpp='$CPP $CPPFLAGS'
35278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35287 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35289 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35290 for ac_func in finite
35291 do :
35292 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35293 if test "x$ac_cv_func_finite" = x""yes; then :
35294 cat >>confdefs.h <<_ACEOF
35295 #define HAVE_FINITE 1
35296 _ACEOF
35299 done
35301 else
35303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35304 $as_echo_n "checking for _finite declaration... " >&6; }
35305 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35306 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
35307 $as_echo_n "(cached) " >&6
35308 else
35311 ac_ext=cpp
35312 ac_cpp='$CXXCPP $CPPFLAGS'
35313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35318 /* end confdefs.h. */
35319 #include <math.h>
35320 #ifdef HAVE_IEEEFP_H
35321 #include <ieeefp.h>
35322 #endif
35325 main ()
35327 _finite(0);
35329 return 0;
35331 _ACEOF
35332 if ac_fn_cxx_try_compile "$LINENO"; then :
35333 glibcxx_cv_func__finite_use=yes
35334 else
35335 glibcxx_cv_func__finite_use=no
35337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35338 ac_ext=c
35339 ac_cpp='$CPP $CPPFLAGS'
35340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35349 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35351 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35352 for ac_func in _finite
35353 do :
35354 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35355 if test "x$ac_cv_func__finite" = x""yes; then :
35356 cat >>confdefs.h <<_ACEOF
35357 #define HAVE__FINITE 1
35358 _ACEOF
35361 done
35370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35371 $as_echo_n "checking for sincos declaration... " >&6; }
35372 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35373 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
35374 $as_echo_n "(cached) " >&6
35375 else
35378 ac_ext=cpp
35379 ac_cpp='$CXXCPP $CPPFLAGS'
35380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35385 /* end confdefs.h. */
35386 #include <math.h>
35388 main ()
35390 sincos(0, 0, 0);
35392 return 0;
35394 _ACEOF
35395 if ac_fn_cxx_try_compile "$LINENO"; then :
35396 glibcxx_cv_func_sincos_use=yes
35397 else
35398 glibcxx_cv_func_sincos_use=no
35400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35401 ac_ext=c
35402 ac_cpp='$CPP $CPPFLAGS'
35403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35412 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35414 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35415 for ac_func in sincos
35416 do :
35417 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35418 if test "x$ac_cv_func_sincos" = x""yes; then :
35419 cat >>confdefs.h <<_ACEOF
35420 #define HAVE_SINCOS 1
35421 _ACEOF
35424 done
35426 else
35428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35429 $as_echo_n "checking for _sincos declaration... " >&6; }
35430 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35431 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
35432 $as_echo_n "(cached) " >&6
35433 else
35436 ac_ext=cpp
35437 ac_cpp='$CXXCPP $CPPFLAGS'
35438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35443 /* end confdefs.h. */
35444 #include <math.h>
35446 main ()
35448 _sincos(0, 0, 0);
35450 return 0;
35452 _ACEOF
35453 if ac_fn_cxx_try_compile "$LINENO"; then :
35454 glibcxx_cv_func__sincos_use=yes
35455 else
35456 glibcxx_cv_func__sincos_use=no
35458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35459 ac_ext=c
35460 ac_cpp='$CPP $CPPFLAGS'
35461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
35470 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
35472 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
35473 for ac_func in _sincos
35474 do :
35475 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
35476 if test "x$ac_cv_func__sincos" = x""yes; then :
35477 cat >>confdefs.h <<_ACEOF
35478 #define HAVE__SINCOS 1
35479 _ACEOF
35482 done
35491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
35492 $as_echo_n "checking for fpclass declaration... " >&6; }
35493 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
35494 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
35495 $as_echo_n "(cached) " >&6
35496 else
35499 ac_ext=cpp
35500 ac_cpp='$CXXCPP $CPPFLAGS'
35501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35506 /* end confdefs.h. */
35507 #include <math.h>
35508 #ifdef HAVE_IEEEFP_H
35509 #include <ieeefp.h>
35510 #endif
35513 main ()
35515 fpclass(0);
35517 return 0;
35519 _ACEOF
35520 if ac_fn_cxx_try_compile "$LINENO"; then :
35521 glibcxx_cv_func_fpclass_use=yes
35522 else
35523 glibcxx_cv_func_fpclass_use=no
35525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35526 ac_ext=c
35527 ac_cpp='$CPP $CPPFLAGS'
35528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
35537 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
35539 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
35540 for ac_func in fpclass
35541 do :
35542 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
35543 if test "x$ac_cv_func_fpclass" = x""yes; then :
35544 cat >>confdefs.h <<_ACEOF
35545 #define HAVE_FPCLASS 1
35546 _ACEOF
35549 done
35551 else
35553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
35554 $as_echo_n "checking for _fpclass declaration... " >&6; }
35555 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
35556 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
35557 $as_echo_n "(cached) " >&6
35558 else
35561 ac_ext=cpp
35562 ac_cpp='$CXXCPP $CPPFLAGS'
35563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35568 /* end confdefs.h. */
35569 #include <math.h>
35570 #ifdef HAVE_IEEEFP_H
35571 #include <ieeefp.h>
35572 #endif
35575 main ()
35577 _fpclass(0);
35579 return 0;
35581 _ACEOF
35582 if ac_fn_cxx_try_compile "$LINENO"; then :
35583 glibcxx_cv_func__fpclass_use=yes
35584 else
35585 glibcxx_cv_func__fpclass_use=no
35587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35588 ac_ext=c
35589 ac_cpp='$CPP $CPPFLAGS'
35590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
35599 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
35601 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
35602 for ac_func in _fpclass
35603 do :
35604 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
35605 if test "x$ac_cv_func__fpclass" = x""yes; then :
35606 cat >>confdefs.h <<_ACEOF
35607 #define HAVE__FPCLASS 1
35608 _ACEOF
35611 done
35620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
35621 $as_echo_n "checking for qfpclass declaration... " >&6; }
35622 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
35623 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
35624 $as_echo_n "(cached) " >&6
35625 else
35628 ac_ext=cpp
35629 ac_cpp='$CXXCPP $CPPFLAGS'
35630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35635 /* end confdefs.h. */
35636 #include <math.h>
35637 #ifdef HAVE_IEEEFP_H
35638 #include <ieeefp.h>
35639 #endif
35642 main ()
35644 qfpclass(0);
35646 return 0;
35648 _ACEOF
35649 if ac_fn_cxx_try_compile "$LINENO"; then :
35650 glibcxx_cv_func_qfpclass_use=yes
35651 else
35652 glibcxx_cv_func_qfpclass_use=no
35654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35655 ac_ext=c
35656 ac_cpp='$CPP $CPPFLAGS'
35657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
35666 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
35668 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
35669 for ac_func in qfpclass
35670 do :
35671 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
35672 if test "x$ac_cv_func_qfpclass" = x""yes; then :
35673 cat >>confdefs.h <<_ACEOF
35674 #define HAVE_QFPCLASS 1
35675 _ACEOF
35678 done
35680 else
35682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
35683 $as_echo_n "checking for _qfpclass declaration... " >&6; }
35684 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
35685 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
35686 $as_echo_n "(cached) " >&6
35687 else
35690 ac_ext=cpp
35691 ac_cpp='$CXXCPP $CPPFLAGS'
35692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35697 /* end confdefs.h. */
35698 #include <math.h>
35699 #ifdef HAVE_IEEEFP_H
35700 #include <ieeefp.h>
35701 #endif
35704 main ()
35706 _qfpclass(0);
35708 return 0;
35710 _ACEOF
35711 if ac_fn_cxx_try_compile "$LINENO"; then :
35712 glibcxx_cv_func__qfpclass_use=yes
35713 else
35714 glibcxx_cv_func__qfpclass_use=no
35716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35717 ac_ext=c
35718 ac_cpp='$CPP $CPPFLAGS'
35719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
35728 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
35730 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
35731 for ac_func in _qfpclass
35732 do :
35733 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
35734 if test "x$ac_cv_func__qfpclass" = x""yes; then :
35735 cat >>confdefs.h <<_ACEOF
35736 #define HAVE__QFPCLASS 1
35737 _ACEOF
35740 done
35749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
35750 $as_echo_n "checking for hypot declaration... " >&6; }
35751 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
35752 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
35753 $as_echo_n "(cached) " >&6
35754 else
35757 ac_ext=cpp
35758 ac_cpp='$CXXCPP $CPPFLAGS'
35759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35764 /* end confdefs.h. */
35765 #include <math.h>
35767 main ()
35769 hypot(0, 0);
35771 return 0;
35773 _ACEOF
35774 if ac_fn_cxx_try_compile "$LINENO"; then :
35775 glibcxx_cv_func_hypot_use=yes
35776 else
35777 glibcxx_cv_func_hypot_use=no
35779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35780 ac_ext=c
35781 ac_cpp='$CPP $CPPFLAGS'
35782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
35791 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
35793 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
35794 for ac_func in hypot
35795 do :
35796 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
35797 if test "x$ac_cv_func_hypot" = x""yes; then :
35798 cat >>confdefs.h <<_ACEOF
35799 #define HAVE_HYPOT 1
35800 _ACEOF
35803 done
35805 else
35807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
35808 $as_echo_n "checking for _hypot declaration... " >&6; }
35809 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
35810 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
35811 $as_echo_n "(cached) " >&6
35812 else
35815 ac_ext=cpp
35816 ac_cpp='$CXXCPP $CPPFLAGS'
35817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35822 /* end confdefs.h. */
35823 #include <math.h>
35825 main ()
35827 _hypot(0, 0);
35829 return 0;
35831 _ACEOF
35832 if ac_fn_cxx_try_compile "$LINENO"; then :
35833 glibcxx_cv_func__hypot_use=yes
35834 else
35835 glibcxx_cv_func__hypot_use=no
35837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35838 ac_ext=c
35839 ac_cpp='$CPP $CPPFLAGS'
35840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
35849 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
35851 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
35852 for ac_func in _hypot
35853 do :
35854 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
35855 if test "x$ac_cv_func__hypot" = x""yes; then :
35856 cat >>confdefs.h <<_ACEOF
35857 #define HAVE__HYPOT 1
35858 _ACEOF
35861 done
35870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
35871 $as_echo_n "checking for float trig functions... " >&6; }
35872 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
35873 $as_echo_n "(cached) " >&6
35874 else
35877 ac_ext=cpp
35878 ac_cpp='$CXXCPP $CPPFLAGS'
35879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35884 /* end confdefs.h. */
35885 #include <math.h>
35887 main ()
35889 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35891 return 0;
35893 _ACEOF
35894 if ac_fn_cxx_try_compile "$LINENO"; then :
35895 glibcxx_cv_func_float_trig_use=yes
35896 else
35897 glibcxx_cv_func_float_trig_use=no
35899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35900 ac_ext=c
35901 ac_cpp='$CPP $CPPFLAGS'
35902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
35909 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
35910 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
35911 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
35912 do :
35913 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35914 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35915 eval as_val=\$$as_ac_var
35916 if test "x$as_val" = x""yes; then :
35917 cat >>confdefs.h <<_ACEOF
35918 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35919 _ACEOF
35922 done
35924 else
35925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
35926 $as_echo_n "checking for _float trig functions... " >&6; }
35927 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
35928 $as_echo_n "(cached) " >&6
35929 else
35932 ac_ext=cpp
35933 ac_cpp='$CXXCPP $CPPFLAGS'
35934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35939 /* end confdefs.h. */
35940 #include <math.h>
35942 main ()
35944 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
35946 return 0;
35948 _ACEOF
35949 if ac_fn_cxx_try_compile "$LINENO"; then :
35950 glibcxx_cv_func__float_trig_use=yes
35951 else
35952 glibcxx_cv_func__float_trig_use=no
35954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35955 ac_ext=c
35956 ac_cpp='$CPP $CPPFLAGS'
35957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
35964 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
35965 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
35966 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
35967 do :
35968 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35969 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35970 eval as_val=\$$as_ac_var
35971 if test "x$as_val" = x""yes; then :
35972 cat >>confdefs.h <<_ACEOF
35973 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35974 _ACEOF
35977 done
35986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
35987 $as_echo_n "checking for float round functions... " >&6; }
35988 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
35989 $as_echo_n "(cached) " >&6
35990 else
35993 ac_ext=cpp
35994 ac_cpp='$CXXCPP $CPPFLAGS'
35995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36000 /* end confdefs.h. */
36001 #include <math.h>
36003 main ()
36005 ceilf (0); floorf (0);
36007 return 0;
36009 _ACEOF
36010 if ac_fn_cxx_try_compile "$LINENO"; then :
36011 glibcxx_cv_func_float_round_use=yes
36012 else
36013 glibcxx_cv_func_float_round_use=no
36015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36016 ac_ext=c
36017 ac_cpp='$CPP $CPPFLAGS'
36018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36025 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36026 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36027 for ac_func in ceilf floorf
36028 do :
36029 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36030 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36031 eval as_val=\$$as_ac_var
36032 if test "x$as_val" = x""yes; then :
36033 cat >>confdefs.h <<_ACEOF
36034 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36035 _ACEOF
36038 done
36040 else
36041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36042 $as_echo_n "checking for _float round functions... " >&6; }
36043 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
36044 $as_echo_n "(cached) " >&6
36045 else
36048 ac_ext=cpp
36049 ac_cpp='$CXXCPP $CPPFLAGS'
36050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36055 /* end confdefs.h. */
36056 #include <math.h>
36058 main ()
36060 _ceilf (0); _floorf (0);
36062 return 0;
36064 _ACEOF
36065 if ac_fn_cxx_try_compile "$LINENO"; then :
36066 glibcxx_cv_func__float_round_use=yes
36067 else
36068 glibcxx_cv_func__float_round_use=no
36070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36071 ac_ext=c
36072 ac_cpp='$CPP $CPPFLAGS'
36073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36080 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36081 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36082 for ac_func in _ceilf _floorf
36083 do :
36084 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36085 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36086 eval as_val=\$$as_ac_var
36087 if test "x$as_val" = x""yes; then :
36088 cat >>confdefs.h <<_ACEOF
36089 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36090 _ACEOF
36093 done
36103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36104 $as_echo_n "checking for expf declaration... " >&6; }
36105 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36106 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
36107 $as_echo_n "(cached) " >&6
36108 else
36111 ac_ext=cpp
36112 ac_cpp='$CXXCPP $CPPFLAGS'
36113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36118 /* end confdefs.h. */
36119 #include <math.h>
36120 #ifdef HAVE_IEEEFP_H
36121 #include <ieeefp.h>
36122 #endif
36125 main ()
36127 expf(0);
36129 return 0;
36131 _ACEOF
36132 if ac_fn_cxx_try_compile "$LINENO"; then :
36133 glibcxx_cv_func_expf_use=yes
36134 else
36135 glibcxx_cv_func_expf_use=no
36137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36138 ac_ext=c
36139 ac_cpp='$CPP $CPPFLAGS'
36140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36149 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36151 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36152 for ac_func in expf
36153 do :
36154 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36155 if test "x$ac_cv_func_expf" = x""yes; then :
36156 cat >>confdefs.h <<_ACEOF
36157 #define HAVE_EXPF 1
36158 _ACEOF
36161 done
36163 else
36165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36166 $as_echo_n "checking for _expf declaration... " >&6; }
36167 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36168 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
36169 $as_echo_n "(cached) " >&6
36170 else
36173 ac_ext=cpp
36174 ac_cpp='$CXXCPP $CPPFLAGS'
36175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36180 /* end confdefs.h. */
36181 #include <math.h>
36182 #ifdef HAVE_IEEEFP_H
36183 #include <ieeefp.h>
36184 #endif
36187 main ()
36189 _expf(0);
36191 return 0;
36193 _ACEOF
36194 if ac_fn_cxx_try_compile "$LINENO"; then :
36195 glibcxx_cv_func__expf_use=yes
36196 else
36197 glibcxx_cv_func__expf_use=no
36199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36200 ac_ext=c
36201 ac_cpp='$CPP $CPPFLAGS'
36202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36211 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36213 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36214 for ac_func in _expf
36215 do :
36216 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36217 if test "x$ac_cv_func__expf" = x""yes; then :
36218 cat >>confdefs.h <<_ACEOF
36219 #define HAVE__EXPF 1
36220 _ACEOF
36223 done
36232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36233 $as_echo_n "checking for isnanf declaration... " >&6; }
36234 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36235 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
36236 $as_echo_n "(cached) " >&6
36237 else
36240 ac_ext=cpp
36241 ac_cpp='$CXXCPP $CPPFLAGS'
36242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36247 /* end confdefs.h. */
36248 #include <math.h>
36249 #ifdef HAVE_IEEEFP_H
36250 #include <ieeefp.h>
36251 #endif
36254 main ()
36256 isnanf(0);
36258 return 0;
36260 _ACEOF
36261 if ac_fn_cxx_try_compile "$LINENO"; then :
36262 glibcxx_cv_func_isnanf_use=yes
36263 else
36264 glibcxx_cv_func_isnanf_use=no
36266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36267 ac_ext=c
36268 ac_cpp='$CPP $CPPFLAGS'
36269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36278 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36280 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36281 for ac_func in isnanf
36282 do :
36283 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36284 if test "x$ac_cv_func_isnanf" = x""yes; then :
36285 cat >>confdefs.h <<_ACEOF
36286 #define HAVE_ISNANF 1
36287 _ACEOF
36290 done
36292 else
36294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36295 $as_echo_n "checking for _isnanf declaration... " >&6; }
36296 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36297 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
36298 $as_echo_n "(cached) " >&6
36299 else
36302 ac_ext=cpp
36303 ac_cpp='$CXXCPP $CPPFLAGS'
36304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36309 /* end confdefs.h. */
36310 #include <math.h>
36311 #ifdef HAVE_IEEEFP_H
36312 #include <ieeefp.h>
36313 #endif
36316 main ()
36318 _isnanf(0);
36320 return 0;
36322 _ACEOF
36323 if ac_fn_cxx_try_compile "$LINENO"; then :
36324 glibcxx_cv_func__isnanf_use=yes
36325 else
36326 glibcxx_cv_func__isnanf_use=no
36328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36329 ac_ext=c
36330 ac_cpp='$CPP $CPPFLAGS'
36331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36340 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36342 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36343 for ac_func in _isnanf
36344 do :
36345 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36346 if test "x$ac_cv_func__isnanf" = x""yes; then :
36347 cat >>confdefs.h <<_ACEOF
36348 #define HAVE__ISNANF 1
36349 _ACEOF
36352 done
36361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36362 $as_echo_n "checking for isinff declaration... " >&6; }
36363 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36364 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
36365 $as_echo_n "(cached) " >&6
36366 else
36369 ac_ext=cpp
36370 ac_cpp='$CXXCPP $CPPFLAGS'
36371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36376 /* end confdefs.h. */
36377 #include <math.h>
36378 #ifdef HAVE_IEEEFP_H
36379 #include <ieeefp.h>
36380 #endif
36383 main ()
36385 isinff(0);
36387 return 0;
36389 _ACEOF
36390 if ac_fn_cxx_try_compile "$LINENO"; then :
36391 glibcxx_cv_func_isinff_use=yes
36392 else
36393 glibcxx_cv_func_isinff_use=no
36395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36396 ac_ext=c
36397 ac_cpp='$CPP $CPPFLAGS'
36398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36407 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36409 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36410 for ac_func in isinff
36411 do :
36412 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36413 if test "x$ac_cv_func_isinff" = x""yes; then :
36414 cat >>confdefs.h <<_ACEOF
36415 #define HAVE_ISINFF 1
36416 _ACEOF
36419 done
36421 else
36423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36424 $as_echo_n "checking for _isinff declaration... " >&6; }
36425 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36426 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
36427 $as_echo_n "(cached) " >&6
36428 else
36431 ac_ext=cpp
36432 ac_cpp='$CXXCPP $CPPFLAGS'
36433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36438 /* end confdefs.h. */
36439 #include <math.h>
36440 #ifdef HAVE_IEEEFP_H
36441 #include <ieeefp.h>
36442 #endif
36445 main ()
36447 _isinff(0);
36449 return 0;
36451 _ACEOF
36452 if ac_fn_cxx_try_compile "$LINENO"; then :
36453 glibcxx_cv_func__isinff_use=yes
36454 else
36455 glibcxx_cv_func__isinff_use=no
36457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36458 ac_ext=c
36459 ac_cpp='$CPP $CPPFLAGS'
36460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
36469 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
36471 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36472 for ac_func in _isinff
36473 do :
36474 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
36475 if test "x$ac_cv_func__isinff" = x""yes; then :
36476 cat >>confdefs.h <<_ACEOF
36477 #define HAVE__ISINFF 1
36478 _ACEOF
36481 done
36490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
36491 $as_echo_n "checking for atan2f declaration... " >&6; }
36492 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36493 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
36494 $as_echo_n "(cached) " >&6
36495 else
36498 ac_ext=cpp
36499 ac_cpp='$CXXCPP $CPPFLAGS'
36500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36505 /* end confdefs.h. */
36506 #include <math.h>
36508 main ()
36510 atan2f(0, 0);
36512 return 0;
36514 _ACEOF
36515 if ac_fn_cxx_try_compile "$LINENO"; then :
36516 glibcxx_cv_func_atan2f_use=yes
36517 else
36518 glibcxx_cv_func_atan2f_use=no
36520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36521 ac_ext=c
36522 ac_cpp='$CPP $CPPFLAGS'
36523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
36532 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
36534 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36535 for ac_func in atan2f
36536 do :
36537 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
36538 if test "x$ac_cv_func_atan2f" = x""yes; then :
36539 cat >>confdefs.h <<_ACEOF
36540 #define HAVE_ATAN2F 1
36541 _ACEOF
36544 done
36546 else
36548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
36549 $as_echo_n "checking for _atan2f declaration... " >&6; }
36550 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36551 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
36552 $as_echo_n "(cached) " >&6
36553 else
36556 ac_ext=cpp
36557 ac_cpp='$CXXCPP $CPPFLAGS'
36558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36563 /* end confdefs.h. */
36564 #include <math.h>
36566 main ()
36568 _atan2f(0, 0);
36570 return 0;
36572 _ACEOF
36573 if ac_fn_cxx_try_compile "$LINENO"; then :
36574 glibcxx_cv_func__atan2f_use=yes
36575 else
36576 glibcxx_cv_func__atan2f_use=no
36578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36579 ac_ext=c
36580 ac_cpp='$CPP $CPPFLAGS'
36581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
36590 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
36592 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36593 for ac_func in _atan2f
36594 do :
36595 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
36596 if test "x$ac_cv_func__atan2f" = x""yes; then :
36597 cat >>confdefs.h <<_ACEOF
36598 #define HAVE__ATAN2F 1
36599 _ACEOF
36602 done
36611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
36612 $as_echo_n "checking for fabsf declaration... " >&6; }
36613 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36614 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
36615 $as_echo_n "(cached) " >&6
36616 else
36619 ac_ext=cpp
36620 ac_cpp='$CXXCPP $CPPFLAGS'
36621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36626 /* end confdefs.h. */
36627 #include <math.h>
36628 #ifdef HAVE_IEEEFP_H
36629 #include <ieeefp.h>
36630 #endif
36633 main ()
36635 fabsf(0);
36637 return 0;
36639 _ACEOF
36640 if ac_fn_cxx_try_compile "$LINENO"; then :
36641 glibcxx_cv_func_fabsf_use=yes
36642 else
36643 glibcxx_cv_func_fabsf_use=no
36645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36646 ac_ext=c
36647 ac_cpp='$CPP $CPPFLAGS'
36648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
36657 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
36659 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36660 for ac_func in fabsf
36661 do :
36662 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
36663 if test "x$ac_cv_func_fabsf" = x""yes; then :
36664 cat >>confdefs.h <<_ACEOF
36665 #define HAVE_FABSF 1
36666 _ACEOF
36669 done
36671 else
36673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
36674 $as_echo_n "checking for _fabsf declaration... " >&6; }
36675 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36676 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
36677 $as_echo_n "(cached) " >&6
36678 else
36681 ac_ext=cpp
36682 ac_cpp='$CXXCPP $CPPFLAGS'
36683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36688 /* end confdefs.h. */
36689 #include <math.h>
36690 #ifdef HAVE_IEEEFP_H
36691 #include <ieeefp.h>
36692 #endif
36695 main ()
36697 _fabsf(0);
36699 return 0;
36701 _ACEOF
36702 if ac_fn_cxx_try_compile "$LINENO"; then :
36703 glibcxx_cv_func__fabsf_use=yes
36704 else
36705 glibcxx_cv_func__fabsf_use=no
36707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36708 ac_ext=c
36709 ac_cpp='$CPP $CPPFLAGS'
36710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
36719 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
36721 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
36722 for ac_func in _fabsf
36723 do :
36724 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
36725 if test "x$ac_cv_func__fabsf" = x""yes; then :
36726 cat >>confdefs.h <<_ACEOF
36727 #define HAVE__FABSF 1
36728 _ACEOF
36731 done
36740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
36741 $as_echo_n "checking for fmodf declaration... " >&6; }
36742 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
36743 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
36744 $as_echo_n "(cached) " >&6
36745 else
36748 ac_ext=cpp
36749 ac_cpp='$CXXCPP $CPPFLAGS'
36750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36755 /* end confdefs.h. */
36756 #include <math.h>
36758 main ()
36760 fmodf(0, 0);
36762 return 0;
36764 _ACEOF
36765 if ac_fn_cxx_try_compile "$LINENO"; then :
36766 glibcxx_cv_func_fmodf_use=yes
36767 else
36768 glibcxx_cv_func_fmodf_use=no
36770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36771 ac_ext=c
36772 ac_cpp='$CPP $CPPFLAGS'
36773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
36782 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
36784 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
36785 for ac_func in fmodf
36786 do :
36787 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
36788 if test "x$ac_cv_func_fmodf" = x""yes; then :
36789 cat >>confdefs.h <<_ACEOF
36790 #define HAVE_FMODF 1
36791 _ACEOF
36794 done
36796 else
36798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
36799 $as_echo_n "checking for _fmodf declaration... " >&6; }
36800 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
36801 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
36802 $as_echo_n "(cached) " >&6
36803 else
36806 ac_ext=cpp
36807 ac_cpp='$CXXCPP $CPPFLAGS'
36808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36813 /* end confdefs.h. */
36814 #include <math.h>
36816 main ()
36818 _fmodf(0, 0);
36820 return 0;
36822 _ACEOF
36823 if ac_fn_cxx_try_compile "$LINENO"; then :
36824 glibcxx_cv_func__fmodf_use=yes
36825 else
36826 glibcxx_cv_func__fmodf_use=no
36828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36829 ac_ext=c
36830 ac_cpp='$CPP $CPPFLAGS'
36831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
36840 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
36842 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
36843 for ac_func in _fmodf
36844 do :
36845 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
36846 if test "x$ac_cv_func__fmodf" = x""yes; then :
36847 cat >>confdefs.h <<_ACEOF
36848 #define HAVE__FMODF 1
36849 _ACEOF
36852 done
36861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
36862 $as_echo_n "checking for frexpf declaration... " >&6; }
36863 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
36864 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
36865 $as_echo_n "(cached) " >&6
36866 else
36869 ac_ext=cpp
36870 ac_cpp='$CXXCPP $CPPFLAGS'
36871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36876 /* end confdefs.h. */
36877 #include <math.h>
36879 main ()
36881 frexpf(0, 0);
36883 return 0;
36885 _ACEOF
36886 if ac_fn_cxx_try_compile "$LINENO"; then :
36887 glibcxx_cv_func_frexpf_use=yes
36888 else
36889 glibcxx_cv_func_frexpf_use=no
36891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36892 ac_ext=c
36893 ac_cpp='$CPP $CPPFLAGS'
36894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
36903 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
36905 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
36906 for ac_func in frexpf
36907 do :
36908 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
36909 if test "x$ac_cv_func_frexpf" = x""yes; then :
36910 cat >>confdefs.h <<_ACEOF
36911 #define HAVE_FREXPF 1
36912 _ACEOF
36915 done
36917 else
36919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
36920 $as_echo_n "checking for _frexpf declaration... " >&6; }
36921 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
36922 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
36923 $as_echo_n "(cached) " >&6
36924 else
36927 ac_ext=cpp
36928 ac_cpp='$CXXCPP $CPPFLAGS'
36929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36934 /* end confdefs.h. */
36935 #include <math.h>
36937 main ()
36939 _frexpf(0, 0);
36941 return 0;
36943 _ACEOF
36944 if ac_fn_cxx_try_compile "$LINENO"; then :
36945 glibcxx_cv_func__frexpf_use=yes
36946 else
36947 glibcxx_cv_func__frexpf_use=no
36949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36950 ac_ext=c
36951 ac_cpp='$CPP $CPPFLAGS'
36952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
36961 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
36963 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
36964 for ac_func in _frexpf
36965 do :
36966 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
36967 if test "x$ac_cv_func__frexpf" = x""yes; then :
36968 cat >>confdefs.h <<_ACEOF
36969 #define HAVE__FREXPF 1
36970 _ACEOF
36973 done
36982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
36983 $as_echo_n "checking for hypotf declaration... " >&6; }
36984 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
36985 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
36986 $as_echo_n "(cached) " >&6
36987 else
36990 ac_ext=cpp
36991 ac_cpp='$CXXCPP $CPPFLAGS'
36992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36997 /* end confdefs.h. */
36998 #include <math.h>
37000 main ()
37002 hypotf(0, 0);
37004 return 0;
37006 _ACEOF
37007 if ac_fn_cxx_try_compile "$LINENO"; then :
37008 glibcxx_cv_func_hypotf_use=yes
37009 else
37010 glibcxx_cv_func_hypotf_use=no
37012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37013 ac_ext=c
37014 ac_cpp='$CPP $CPPFLAGS'
37015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37024 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37026 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37027 for ac_func in hypotf
37028 do :
37029 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37030 if test "x$ac_cv_func_hypotf" = x""yes; then :
37031 cat >>confdefs.h <<_ACEOF
37032 #define HAVE_HYPOTF 1
37033 _ACEOF
37036 done
37038 else
37040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37041 $as_echo_n "checking for _hypotf declaration... " >&6; }
37042 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37043 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
37044 $as_echo_n "(cached) " >&6
37045 else
37048 ac_ext=cpp
37049 ac_cpp='$CXXCPP $CPPFLAGS'
37050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37055 /* end confdefs.h. */
37056 #include <math.h>
37058 main ()
37060 _hypotf(0, 0);
37062 return 0;
37064 _ACEOF
37065 if ac_fn_cxx_try_compile "$LINENO"; then :
37066 glibcxx_cv_func__hypotf_use=yes
37067 else
37068 glibcxx_cv_func__hypotf_use=no
37070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37071 ac_ext=c
37072 ac_cpp='$CPP $CPPFLAGS'
37073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37082 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37084 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37085 for ac_func in _hypotf
37086 do :
37087 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37088 if test "x$ac_cv_func__hypotf" = x""yes; then :
37089 cat >>confdefs.h <<_ACEOF
37090 #define HAVE__HYPOTF 1
37091 _ACEOF
37094 done
37103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37104 $as_echo_n "checking for ldexpf declaration... " >&6; }
37105 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37106 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
37107 $as_echo_n "(cached) " >&6
37108 else
37111 ac_ext=cpp
37112 ac_cpp='$CXXCPP $CPPFLAGS'
37113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37118 /* end confdefs.h. */
37119 #include <math.h>
37121 main ()
37123 ldexpf(0, 0);
37125 return 0;
37127 _ACEOF
37128 if ac_fn_cxx_try_compile "$LINENO"; then :
37129 glibcxx_cv_func_ldexpf_use=yes
37130 else
37131 glibcxx_cv_func_ldexpf_use=no
37133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37134 ac_ext=c
37135 ac_cpp='$CPP $CPPFLAGS'
37136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37145 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37147 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37148 for ac_func in ldexpf
37149 do :
37150 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37151 if test "x$ac_cv_func_ldexpf" = x""yes; then :
37152 cat >>confdefs.h <<_ACEOF
37153 #define HAVE_LDEXPF 1
37154 _ACEOF
37157 done
37159 else
37161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37162 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37163 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37164 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
37165 $as_echo_n "(cached) " >&6
37166 else
37169 ac_ext=cpp
37170 ac_cpp='$CXXCPP $CPPFLAGS'
37171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37176 /* end confdefs.h. */
37177 #include <math.h>
37179 main ()
37181 _ldexpf(0, 0);
37183 return 0;
37185 _ACEOF
37186 if ac_fn_cxx_try_compile "$LINENO"; then :
37187 glibcxx_cv_func__ldexpf_use=yes
37188 else
37189 glibcxx_cv_func__ldexpf_use=no
37191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37192 ac_ext=c
37193 ac_cpp='$CPP $CPPFLAGS'
37194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37203 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37205 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37206 for ac_func in _ldexpf
37207 do :
37208 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37209 if test "x$ac_cv_func__ldexpf" = x""yes; then :
37210 cat >>confdefs.h <<_ACEOF
37211 #define HAVE__LDEXPF 1
37212 _ACEOF
37215 done
37224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37225 $as_echo_n "checking for logf declaration... " >&6; }
37226 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37227 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
37228 $as_echo_n "(cached) " >&6
37229 else
37232 ac_ext=cpp
37233 ac_cpp='$CXXCPP $CPPFLAGS'
37234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37239 /* end confdefs.h. */
37240 #include <math.h>
37241 #ifdef HAVE_IEEEFP_H
37242 #include <ieeefp.h>
37243 #endif
37246 main ()
37248 logf(0);
37250 return 0;
37252 _ACEOF
37253 if ac_fn_cxx_try_compile "$LINENO"; then :
37254 glibcxx_cv_func_logf_use=yes
37255 else
37256 glibcxx_cv_func_logf_use=no
37258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37259 ac_ext=c
37260 ac_cpp='$CPP $CPPFLAGS'
37261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37270 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37272 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37273 for ac_func in logf
37274 do :
37275 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37276 if test "x$ac_cv_func_logf" = x""yes; then :
37277 cat >>confdefs.h <<_ACEOF
37278 #define HAVE_LOGF 1
37279 _ACEOF
37282 done
37284 else
37286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37287 $as_echo_n "checking for _logf declaration... " >&6; }
37288 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37289 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
37290 $as_echo_n "(cached) " >&6
37291 else
37294 ac_ext=cpp
37295 ac_cpp='$CXXCPP $CPPFLAGS'
37296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37301 /* end confdefs.h. */
37302 #include <math.h>
37303 #ifdef HAVE_IEEEFP_H
37304 #include <ieeefp.h>
37305 #endif
37308 main ()
37310 _logf(0);
37312 return 0;
37314 _ACEOF
37315 if ac_fn_cxx_try_compile "$LINENO"; then :
37316 glibcxx_cv_func__logf_use=yes
37317 else
37318 glibcxx_cv_func__logf_use=no
37320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37321 ac_ext=c
37322 ac_cpp='$CPP $CPPFLAGS'
37323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37332 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37334 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37335 for ac_func in _logf
37336 do :
37337 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37338 if test "x$ac_cv_func__logf" = x""yes; then :
37339 cat >>confdefs.h <<_ACEOF
37340 #define HAVE__LOGF 1
37341 _ACEOF
37344 done
37353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37354 $as_echo_n "checking for log10f declaration... " >&6; }
37355 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37356 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
37357 $as_echo_n "(cached) " >&6
37358 else
37361 ac_ext=cpp
37362 ac_cpp='$CXXCPP $CPPFLAGS'
37363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37368 /* end confdefs.h. */
37369 #include <math.h>
37370 #ifdef HAVE_IEEEFP_H
37371 #include <ieeefp.h>
37372 #endif
37375 main ()
37377 log10f(0);
37379 return 0;
37381 _ACEOF
37382 if ac_fn_cxx_try_compile "$LINENO"; then :
37383 glibcxx_cv_func_log10f_use=yes
37384 else
37385 glibcxx_cv_func_log10f_use=no
37387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37388 ac_ext=c
37389 ac_cpp='$CPP $CPPFLAGS'
37390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37399 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37401 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37402 for ac_func in log10f
37403 do :
37404 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37405 if test "x$ac_cv_func_log10f" = x""yes; then :
37406 cat >>confdefs.h <<_ACEOF
37407 #define HAVE_LOG10F 1
37408 _ACEOF
37411 done
37413 else
37415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37416 $as_echo_n "checking for _log10f declaration... " >&6; }
37417 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37418 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
37419 $as_echo_n "(cached) " >&6
37420 else
37423 ac_ext=cpp
37424 ac_cpp='$CXXCPP $CPPFLAGS'
37425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37430 /* end confdefs.h. */
37431 #include <math.h>
37432 #ifdef HAVE_IEEEFP_H
37433 #include <ieeefp.h>
37434 #endif
37437 main ()
37439 _log10f(0);
37441 return 0;
37443 _ACEOF
37444 if ac_fn_cxx_try_compile "$LINENO"; then :
37445 glibcxx_cv_func__log10f_use=yes
37446 else
37447 glibcxx_cv_func__log10f_use=no
37449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37450 ac_ext=c
37451 ac_cpp='$CPP $CPPFLAGS'
37452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
37461 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
37463 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
37464 for ac_func in _log10f
37465 do :
37466 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
37467 if test "x$ac_cv_func__log10f" = x""yes; then :
37468 cat >>confdefs.h <<_ACEOF
37469 #define HAVE__LOG10F 1
37470 _ACEOF
37473 done
37482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
37483 $as_echo_n "checking for modff declaration... " >&6; }
37484 if test x${glibcxx_cv_func_modff_use+set} != xset; then
37485 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
37486 $as_echo_n "(cached) " >&6
37487 else
37490 ac_ext=cpp
37491 ac_cpp='$CXXCPP $CPPFLAGS'
37492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37497 /* end confdefs.h. */
37498 #include <math.h>
37500 main ()
37502 modff(0, 0);
37504 return 0;
37506 _ACEOF
37507 if ac_fn_cxx_try_compile "$LINENO"; then :
37508 glibcxx_cv_func_modff_use=yes
37509 else
37510 glibcxx_cv_func_modff_use=no
37512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37513 ac_ext=c
37514 ac_cpp='$CPP $CPPFLAGS'
37515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
37524 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
37526 if test x$glibcxx_cv_func_modff_use = x"yes"; then
37527 for ac_func in modff
37528 do :
37529 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
37530 if test "x$ac_cv_func_modff" = x""yes; then :
37531 cat >>confdefs.h <<_ACEOF
37532 #define HAVE_MODFF 1
37533 _ACEOF
37536 done
37538 else
37540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
37541 $as_echo_n "checking for _modff declaration... " >&6; }
37542 if test x${glibcxx_cv_func__modff_use+set} != xset; then
37543 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
37544 $as_echo_n "(cached) " >&6
37545 else
37548 ac_ext=cpp
37549 ac_cpp='$CXXCPP $CPPFLAGS'
37550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37555 /* end confdefs.h. */
37556 #include <math.h>
37558 main ()
37560 _modff(0, 0);
37562 return 0;
37564 _ACEOF
37565 if ac_fn_cxx_try_compile "$LINENO"; then :
37566 glibcxx_cv_func__modff_use=yes
37567 else
37568 glibcxx_cv_func__modff_use=no
37570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37571 ac_ext=c
37572 ac_cpp='$CPP $CPPFLAGS'
37573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
37582 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
37584 if test x$glibcxx_cv_func__modff_use = x"yes"; then
37585 for ac_func in _modff
37586 do :
37587 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
37588 if test "x$ac_cv_func__modff" = x""yes; then :
37589 cat >>confdefs.h <<_ACEOF
37590 #define HAVE__MODFF 1
37591 _ACEOF
37594 done
37603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
37604 $as_echo_n "checking for modf declaration... " >&6; }
37605 if test x${glibcxx_cv_func_modf_use+set} != xset; then
37606 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
37607 $as_echo_n "(cached) " >&6
37608 else
37611 ac_ext=cpp
37612 ac_cpp='$CXXCPP $CPPFLAGS'
37613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37618 /* end confdefs.h. */
37619 #include <math.h>
37621 main ()
37623 modf(0, 0);
37625 return 0;
37627 _ACEOF
37628 if ac_fn_cxx_try_compile "$LINENO"; then :
37629 glibcxx_cv_func_modf_use=yes
37630 else
37631 glibcxx_cv_func_modf_use=no
37633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37634 ac_ext=c
37635 ac_cpp='$CPP $CPPFLAGS'
37636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
37645 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
37647 if test x$glibcxx_cv_func_modf_use = x"yes"; then
37648 for ac_func in modf
37649 do :
37650 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
37651 if test "x$ac_cv_func_modf" = x""yes; then :
37652 cat >>confdefs.h <<_ACEOF
37653 #define HAVE_MODF 1
37654 _ACEOF
37657 done
37659 else
37661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
37662 $as_echo_n "checking for _modf declaration... " >&6; }
37663 if test x${glibcxx_cv_func__modf_use+set} != xset; then
37664 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
37665 $as_echo_n "(cached) " >&6
37666 else
37669 ac_ext=cpp
37670 ac_cpp='$CXXCPP $CPPFLAGS'
37671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37676 /* end confdefs.h. */
37677 #include <math.h>
37679 main ()
37681 _modf(0, 0);
37683 return 0;
37685 _ACEOF
37686 if ac_fn_cxx_try_compile "$LINENO"; then :
37687 glibcxx_cv_func__modf_use=yes
37688 else
37689 glibcxx_cv_func__modf_use=no
37691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37692 ac_ext=c
37693 ac_cpp='$CPP $CPPFLAGS'
37694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
37703 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
37705 if test x$glibcxx_cv_func__modf_use = x"yes"; then
37706 for ac_func in _modf
37707 do :
37708 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
37709 if test "x$ac_cv_func__modf" = x""yes; then :
37710 cat >>confdefs.h <<_ACEOF
37711 #define HAVE__MODF 1
37712 _ACEOF
37715 done
37724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
37725 $as_echo_n "checking for powf declaration... " >&6; }
37726 if test x${glibcxx_cv_func_powf_use+set} != xset; then
37727 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
37728 $as_echo_n "(cached) " >&6
37729 else
37732 ac_ext=cpp
37733 ac_cpp='$CXXCPP $CPPFLAGS'
37734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37739 /* end confdefs.h. */
37740 #include <math.h>
37742 main ()
37744 powf(0, 0);
37746 return 0;
37748 _ACEOF
37749 if ac_fn_cxx_try_compile "$LINENO"; then :
37750 glibcxx_cv_func_powf_use=yes
37751 else
37752 glibcxx_cv_func_powf_use=no
37754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37755 ac_ext=c
37756 ac_cpp='$CPP $CPPFLAGS'
37757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
37766 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
37768 if test x$glibcxx_cv_func_powf_use = x"yes"; then
37769 for ac_func in powf
37770 do :
37771 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
37772 if test "x$ac_cv_func_powf" = x""yes; then :
37773 cat >>confdefs.h <<_ACEOF
37774 #define HAVE_POWF 1
37775 _ACEOF
37778 done
37780 else
37782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
37783 $as_echo_n "checking for _powf declaration... " >&6; }
37784 if test x${glibcxx_cv_func__powf_use+set} != xset; then
37785 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
37786 $as_echo_n "(cached) " >&6
37787 else
37790 ac_ext=cpp
37791 ac_cpp='$CXXCPP $CPPFLAGS'
37792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37797 /* end confdefs.h. */
37798 #include <math.h>
37800 main ()
37802 _powf(0, 0);
37804 return 0;
37806 _ACEOF
37807 if ac_fn_cxx_try_compile "$LINENO"; then :
37808 glibcxx_cv_func__powf_use=yes
37809 else
37810 glibcxx_cv_func__powf_use=no
37812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37813 ac_ext=c
37814 ac_cpp='$CPP $CPPFLAGS'
37815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
37824 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
37826 if test x$glibcxx_cv_func__powf_use = x"yes"; then
37827 for ac_func in _powf
37828 do :
37829 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
37830 if test "x$ac_cv_func__powf" = x""yes; then :
37831 cat >>confdefs.h <<_ACEOF
37832 #define HAVE__POWF 1
37833 _ACEOF
37836 done
37845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
37846 $as_echo_n "checking for sqrtf declaration... " >&6; }
37847 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
37848 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
37849 $as_echo_n "(cached) " >&6
37850 else
37853 ac_ext=cpp
37854 ac_cpp='$CXXCPP $CPPFLAGS'
37855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37860 /* end confdefs.h. */
37861 #include <math.h>
37862 #ifdef HAVE_IEEEFP_H
37863 #include <ieeefp.h>
37864 #endif
37867 main ()
37869 sqrtf(0);
37871 return 0;
37873 _ACEOF
37874 if ac_fn_cxx_try_compile "$LINENO"; then :
37875 glibcxx_cv_func_sqrtf_use=yes
37876 else
37877 glibcxx_cv_func_sqrtf_use=no
37879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37880 ac_ext=c
37881 ac_cpp='$CPP $CPPFLAGS'
37882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
37891 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
37893 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
37894 for ac_func in sqrtf
37895 do :
37896 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
37897 if test "x$ac_cv_func_sqrtf" = x""yes; then :
37898 cat >>confdefs.h <<_ACEOF
37899 #define HAVE_SQRTF 1
37900 _ACEOF
37903 done
37905 else
37907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
37908 $as_echo_n "checking for _sqrtf declaration... " >&6; }
37909 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
37910 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
37911 $as_echo_n "(cached) " >&6
37912 else
37915 ac_ext=cpp
37916 ac_cpp='$CXXCPP $CPPFLAGS'
37917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37922 /* end confdefs.h. */
37923 #include <math.h>
37924 #ifdef HAVE_IEEEFP_H
37925 #include <ieeefp.h>
37926 #endif
37929 main ()
37931 _sqrtf(0);
37933 return 0;
37935 _ACEOF
37936 if ac_fn_cxx_try_compile "$LINENO"; then :
37937 glibcxx_cv_func__sqrtf_use=yes
37938 else
37939 glibcxx_cv_func__sqrtf_use=no
37941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37942 ac_ext=c
37943 ac_cpp='$CPP $CPPFLAGS'
37944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
37953 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
37955 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
37956 for ac_func in _sqrtf
37957 do :
37958 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
37959 if test "x$ac_cv_func__sqrtf" = x""yes; then :
37960 cat >>confdefs.h <<_ACEOF
37961 #define HAVE__SQRTF 1
37962 _ACEOF
37965 done
37974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
37975 $as_echo_n "checking for sincosf declaration... " >&6; }
37976 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
37977 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
37978 $as_echo_n "(cached) " >&6
37979 else
37982 ac_ext=cpp
37983 ac_cpp='$CXXCPP $CPPFLAGS'
37984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37989 /* end confdefs.h. */
37990 #include <math.h>
37992 main ()
37994 sincosf(0, 0, 0);
37996 return 0;
37998 _ACEOF
37999 if ac_fn_cxx_try_compile "$LINENO"; then :
38000 glibcxx_cv_func_sincosf_use=yes
38001 else
38002 glibcxx_cv_func_sincosf_use=no
38004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38005 ac_ext=c
38006 ac_cpp='$CPP $CPPFLAGS'
38007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38016 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38018 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38019 for ac_func in sincosf
38020 do :
38021 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38022 if test "x$ac_cv_func_sincosf" = x""yes; then :
38023 cat >>confdefs.h <<_ACEOF
38024 #define HAVE_SINCOSF 1
38025 _ACEOF
38028 done
38030 else
38032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38033 $as_echo_n "checking for _sincosf declaration... " >&6; }
38034 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38035 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
38036 $as_echo_n "(cached) " >&6
38037 else
38040 ac_ext=cpp
38041 ac_cpp='$CXXCPP $CPPFLAGS'
38042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38047 /* end confdefs.h. */
38048 #include <math.h>
38050 main ()
38052 _sincosf(0, 0, 0);
38054 return 0;
38056 _ACEOF
38057 if ac_fn_cxx_try_compile "$LINENO"; then :
38058 glibcxx_cv_func__sincosf_use=yes
38059 else
38060 glibcxx_cv_func__sincosf_use=no
38062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38063 ac_ext=c
38064 ac_cpp='$CPP $CPPFLAGS'
38065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38074 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38076 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38077 for ac_func in _sincosf
38078 do :
38079 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38080 if test "x$ac_cv_func__sincosf" = x""yes; then :
38081 cat >>confdefs.h <<_ACEOF
38082 #define HAVE__SINCOSF 1
38083 _ACEOF
38086 done
38095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38096 $as_echo_n "checking for finitef declaration... " >&6; }
38097 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38098 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
38099 $as_echo_n "(cached) " >&6
38100 else
38103 ac_ext=cpp
38104 ac_cpp='$CXXCPP $CPPFLAGS'
38105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38110 /* end confdefs.h. */
38111 #include <math.h>
38112 #ifdef HAVE_IEEEFP_H
38113 #include <ieeefp.h>
38114 #endif
38117 main ()
38119 finitef(0);
38121 return 0;
38123 _ACEOF
38124 if ac_fn_cxx_try_compile "$LINENO"; then :
38125 glibcxx_cv_func_finitef_use=yes
38126 else
38127 glibcxx_cv_func_finitef_use=no
38129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38130 ac_ext=c
38131 ac_cpp='$CPP $CPPFLAGS'
38132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38141 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38143 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38144 for ac_func in finitef
38145 do :
38146 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38147 if test "x$ac_cv_func_finitef" = x""yes; then :
38148 cat >>confdefs.h <<_ACEOF
38149 #define HAVE_FINITEF 1
38150 _ACEOF
38153 done
38155 else
38157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38158 $as_echo_n "checking for _finitef declaration... " >&6; }
38159 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38160 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
38161 $as_echo_n "(cached) " >&6
38162 else
38165 ac_ext=cpp
38166 ac_cpp='$CXXCPP $CPPFLAGS'
38167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38172 /* end confdefs.h. */
38173 #include <math.h>
38174 #ifdef HAVE_IEEEFP_H
38175 #include <ieeefp.h>
38176 #endif
38179 main ()
38181 _finitef(0);
38183 return 0;
38185 _ACEOF
38186 if ac_fn_cxx_try_compile "$LINENO"; then :
38187 glibcxx_cv_func__finitef_use=yes
38188 else
38189 glibcxx_cv_func__finitef_use=no
38191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38192 ac_ext=c
38193 ac_cpp='$CPP $CPPFLAGS'
38194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38203 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38205 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38206 for ac_func in _finitef
38207 do :
38208 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38209 if test "x$ac_cv_func__finitef" = x""yes; then :
38210 cat >>confdefs.h <<_ACEOF
38211 #define HAVE__FINITEF 1
38212 _ACEOF
38215 done
38224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38225 $as_echo_n "checking for long double trig functions... " >&6; }
38226 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
38227 $as_echo_n "(cached) " >&6
38228 else
38231 ac_ext=cpp
38232 ac_cpp='$CXXCPP $CPPFLAGS'
38233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38238 /* end confdefs.h. */
38239 #include <math.h>
38241 main ()
38243 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38245 return 0;
38247 _ACEOF
38248 if ac_fn_cxx_try_compile "$LINENO"; then :
38249 glibcxx_cv_func_long_double_trig_use=yes
38250 else
38251 glibcxx_cv_func_long_double_trig_use=no
38253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38254 ac_ext=c
38255 ac_cpp='$CPP $CPPFLAGS'
38256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38263 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38264 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38265 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38266 do :
38267 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38268 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38269 eval as_val=\$$as_ac_var
38270 if test "x$as_val" = x""yes; then :
38271 cat >>confdefs.h <<_ACEOF
38272 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38273 _ACEOF
38276 done
38278 else
38279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38280 $as_echo_n "checking for _long double trig functions... " >&6; }
38281 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
38282 $as_echo_n "(cached) " >&6
38283 else
38286 ac_ext=cpp
38287 ac_cpp='$CXXCPP $CPPFLAGS'
38288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38293 /* end confdefs.h. */
38294 #include <math.h>
38296 main ()
38298 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38300 return 0;
38302 _ACEOF
38303 if ac_fn_cxx_try_compile "$LINENO"; then :
38304 glibcxx_cv_func__long_double_trig_use=yes
38305 else
38306 glibcxx_cv_func__long_double_trig_use=no
38308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38309 ac_ext=c
38310 ac_cpp='$CPP $CPPFLAGS'
38311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38318 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38319 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38320 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38321 do :
38322 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38323 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38324 eval as_val=\$$as_ac_var
38325 if test "x$as_val" = x""yes; then :
38326 cat >>confdefs.h <<_ACEOF
38327 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38328 _ACEOF
38331 done
38340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38341 $as_echo_n "checking for long double round functions... " >&6; }
38342 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
38343 $as_echo_n "(cached) " >&6
38344 else
38347 ac_ext=cpp
38348 ac_cpp='$CXXCPP $CPPFLAGS'
38349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38354 /* end confdefs.h. */
38355 #include <math.h>
38357 main ()
38359 ceill (0); floorl (0);
38361 return 0;
38363 _ACEOF
38364 if ac_fn_cxx_try_compile "$LINENO"; then :
38365 glibcxx_cv_func_long_double_round_use=yes
38366 else
38367 glibcxx_cv_func_long_double_round_use=no
38369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38370 ac_ext=c
38371 ac_cpp='$CPP $CPPFLAGS'
38372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38379 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38380 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38381 for ac_func in ceill floorl
38382 do :
38383 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38384 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38385 eval as_val=\$$as_ac_var
38386 if test "x$as_val" = x""yes; then :
38387 cat >>confdefs.h <<_ACEOF
38388 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38389 _ACEOF
38392 done
38394 else
38395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38396 $as_echo_n "checking for _long double round functions... " >&6; }
38397 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
38398 $as_echo_n "(cached) " >&6
38399 else
38402 ac_ext=cpp
38403 ac_cpp='$CXXCPP $CPPFLAGS'
38404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38409 /* end confdefs.h. */
38410 #include <math.h>
38412 main ()
38414 _ceill (0); _floorl (0);
38416 return 0;
38418 _ACEOF
38419 if ac_fn_cxx_try_compile "$LINENO"; then :
38420 glibcxx_cv_func__long_double_round_use=yes
38421 else
38422 glibcxx_cv_func__long_double_round_use=no
38424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38425 ac_ext=c
38426 ac_cpp='$CPP $CPPFLAGS'
38427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38434 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38435 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38436 for ac_func in _ceill _floorl
38437 do :
38438 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38439 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38440 eval as_val=\$$as_ac_var
38441 if test "x$as_val" = x""yes; then :
38442 cat >>confdefs.h <<_ACEOF
38443 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38444 _ACEOF
38447 done
38457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
38458 $as_echo_n "checking for isnanl declaration... " >&6; }
38459 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
38460 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
38461 $as_echo_n "(cached) " >&6
38462 else
38465 ac_ext=cpp
38466 ac_cpp='$CXXCPP $CPPFLAGS'
38467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38472 /* end confdefs.h. */
38473 #include <math.h>
38474 #ifdef HAVE_IEEEFP_H
38475 #include <ieeefp.h>
38476 #endif
38479 main ()
38481 isnanl(0);
38483 return 0;
38485 _ACEOF
38486 if ac_fn_cxx_try_compile "$LINENO"; then :
38487 glibcxx_cv_func_isnanl_use=yes
38488 else
38489 glibcxx_cv_func_isnanl_use=no
38491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38492 ac_ext=c
38493 ac_cpp='$CPP $CPPFLAGS'
38494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
38503 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
38505 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
38506 for ac_func in isnanl
38507 do :
38508 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
38509 if test "x$ac_cv_func_isnanl" = x""yes; then :
38510 cat >>confdefs.h <<_ACEOF
38511 #define HAVE_ISNANL 1
38512 _ACEOF
38515 done
38517 else
38519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
38520 $as_echo_n "checking for _isnanl declaration... " >&6; }
38521 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
38522 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
38523 $as_echo_n "(cached) " >&6
38524 else
38527 ac_ext=cpp
38528 ac_cpp='$CXXCPP $CPPFLAGS'
38529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38534 /* end confdefs.h. */
38535 #include <math.h>
38536 #ifdef HAVE_IEEEFP_H
38537 #include <ieeefp.h>
38538 #endif
38541 main ()
38543 _isnanl(0);
38545 return 0;
38547 _ACEOF
38548 if ac_fn_cxx_try_compile "$LINENO"; then :
38549 glibcxx_cv_func__isnanl_use=yes
38550 else
38551 glibcxx_cv_func__isnanl_use=no
38553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38554 ac_ext=c
38555 ac_cpp='$CPP $CPPFLAGS'
38556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
38565 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
38567 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
38568 for ac_func in _isnanl
38569 do :
38570 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
38571 if test "x$ac_cv_func__isnanl" = x""yes; then :
38572 cat >>confdefs.h <<_ACEOF
38573 #define HAVE__ISNANL 1
38574 _ACEOF
38577 done
38586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
38587 $as_echo_n "checking for isinfl declaration... " >&6; }
38588 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
38589 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
38590 $as_echo_n "(cached) " >&6
38591 else
38594 ac_ext=cpp
38595 ac_cpp='$CXXCPP $CPPFLAGS'
38596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38601 /* end confdefs.h. */
38602 #include <math.h>
38603 #ifdef HAVE_IEEEFP_H
38604 #include <ieeefp.h>
38605 #endif
38608 main ()
38610 isinfl(0);
38612 return 0;
38614 _ACEOF
38615 if ac_fn_cxx_try_compile "$LINENO"; then :
38616 glibcxx_cv_func_isinfl_use=yes
38617 else
38618 glibcxx_cv_func_isinfl_use=no
38620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38621 ac_ext=c
38622 ac_cpp='$CPP $CPPFLAGS'
38623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
38632 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
38634 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
38635 for ac_func in isinfl
38636 do :
38637 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
38638 if test "x$ac_cv_func_isinfl" = x""yes; then :
38639 cat >>confdefs.h <<_ACEOF
38640 #define HAVE_ISINFL 1
38641 _ACEOF
38644 done
38646 else
38648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
38649 $as_echo_n "checking for _isinfl declaration... " >&6; }
38650 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
38651 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
38652 $as_echo_n "(cached) " >&6
38653 else
38656 ac_ext=cpp
38657 ac_cpp='$CXXCPP $CPPFLAGS'
38658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38663 /* end confdefs.h. */
38664 #include <math.h>
38665 #ifdef HAVE_IEEEFP_H
38666 #include <ieeefp.h>
38667 #endif
38670 main ()
38672 _isinfl(0);
38674 return 0;
38676 _ACEOF
38677 if ac_fn_cxx_try_compile "$LINENO"; then :
38678 glibcxx_cv_func__isinfl_use=yes
38679 else
38680 glibcxx_cv_func__isinfl_use=no
38682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38683 ac_ext=c
38684 ac_cpp='$CPP $CPPFLAGS'
38685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
38694 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
38696 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
38697 for ac_func in _isinfl
38698 do :
38699 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
38700 if test "x$ac_cv_func__isinfl" = x""yes; then :
38701 cat >>confdefs.h <<_ACEOF
38702 #define HAVE__ISINFL 1
38703 _ACEOF
38706 done
38715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
38716 $as_echo_n "checking for atan2l declaration... " >&6; }
38717 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
38718 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
38719 $as_echo_n "(cached) " >&6
38720 else
38723 ac_ext=cpp
38724 ac_cpp='$CXXCPP $CPPFLAGS'
38725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38730 /* end confdefs.h. */
38731 #include <math.h>
38733 main ()
38735 atan2l(0, 0);
38737 return 0;
38739 _ACEOF
38740 if ac_fn_cxx_try_compile "$LINENO"; then :
38741 glibcxx_cv_func_atan2l_use=yes
38742 else
38743 glibcxx_cv_func_atan2l_use=no
38745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38746 ac_ext=c
38747 ac_cpp='$CPP $CPPFLAGS'
38748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
38757 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
38759 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
38760 for ac_func in atan2l
38761 do :
38762 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
38763 if test "x$ac_cv_func_atan2l" = x""yes; then :
38764 cat >>confdefs.h <<_ACEOF
38765 #define HAVE_ATAN2L 1
38766 _ACEOF
38769 done
38771 else
38773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
38774 $as_echo_n "checking for _atan2l declaration... " >&6; }
38775 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
38776 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
38777 $as_echo_n "(cached) " >&6
38778 else
38781 ac_ext=cpp
38782 ac_cpp='$CXXCPP $CPPFLAGS'
38783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38788 /* end confdefs.h. */
38789 #include <math.h>
38791 main ()
38793 _atan2l(0, 0);
38795 return 0;
38797 _ACEOF
38798 if ac_fn_cxx_try_compile "$LINENO"; then :
38799 glibcxx_cv_func__atan2l_use=yes
38800 else
38801 glibcxx_cv_func__atan2l_use=no
38803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38804 ac_ext=c
38805 ac_cpp='$CPP $CPPFLAGS'
38806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
38815 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
38817 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
38818 for ac_func in _atan2l
38819 do :
38820 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
38821 if test "x$ac_cv_func__atan2l" = x""yes; then :
38822 cat >>confdefs.h <<_ACEOF
38823 #define HAVE__ATAN2L 1
38824 _ACEOF
38827 done
38836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
38837 $as_echo_n "checking for expl declaration... " >&6; }
38838 if test x${glibcxx_cv_func_expl_use+set} != xset; then
38839 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
38840 $as_echo_n "(cached) " >&6
38841 else
38844 ac_ext=cpp
38845 ac_cpp='$CXXCPP $CPPFLAGS'
38846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38851 /* end confdefs.h. */
38852 #include <math.h>
38853 #ifdef HAVE_IEEEFP_H
38854 #include <ieeefp.h>
38855 #endif
38858 main ()
38860 expl(0);
38862 return 0;
38864 _ACEOF
38865 if ac_fn_cxx_try_compile "$LINENO"; then :
38866 glibcxx_cv_func_expl_use=yes
38867 else
38868 glibcxx_cv_func_expl_use=no
38870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38871 ac_ext=c
38872 ac_cpp='$CPP $CPPFLAGS'
38873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
38882 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
38884 if test x$glibcxx_cv_func_expl_use = x"yes"; then
38885 for ac_func in expl
38886 do :
38887 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
38888 if test "x$ac_cv_func_expl" = x""yes; then :
38889 cat >>confdefs.h <<_ACEOF
38890 #define HAVE_EXPL 1
38891 _ACEOF
38894 done
38896 else
38898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
38899 $as_echo_n "checking for _expl declaration... " >&6; }
38900 if test x${glibcxx_cv_func__expl_use+set} != xset; then
38901 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
38902 $as_echo_n "(cached) " >&6
38903 else
38906 ac_ext=cpp
38907 ac_cpp='$CXXCPP $CPPFLAGS'
38908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38913 /* end confdefs.h. */
38914 #include <math.h>
38915 #ifdef HAVE_IEEEFP_H
38916 #include <ieeefp.h>
38917 #endif
38920 main ()
38922 _expl(0);
38924 return 0;
38926 _ACEOF
38927 if ac_fn_cxx_try_compile "$LINENO"; then :
38928 glibcxx_cv_func__expl_use=yes
38929 else
38930 glibcxx_cv_func__expl_use=no
38932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38933 ac_ext=c
38934 ac_cpp='$CPP $CPPFLAGS'
38935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
38944 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
38946 if test x$glibcxx_cv_func__expl_use = x"yes"; then
38947 for ac_func in _expl
38948 do :
38949 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
38950 if test "x$ac_cv_func__expl" = x""yes; then :
38951 cat >>confdefs.h <<_ACEOF
38952 #define HAVE__EXPL 1
38953 _ACEOF
38956 done
38965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
38966 $as_echo_n "checking for fabsl declaration... " >&6; }
38967 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
38968 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
38969 $as_echo_n "(cached) " >&6
38970 else
38973 ac_ext=cpp
38974 ac_cpp='$CXXCPP $CPPFLAGS'
38975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38980 /* end confdefs.h. */
38981 #include <math.h>
38982 #ifdef HAVE_IEEEFP_H
38983 #include <ieeefp.h>
38984 #endif
38987 main ()
38989 fabsl(0);
38991 return 0;
38993 _ACEOF
38994 if ac_fn_cxx_try_compile "$LINENO"; then :
38995 glibcxx_cv_func_fabsl_use=yes
38996 else
38997 glibcxx_cv_func_fabsl_use=no
38999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39000 ac_ext=c
39001 ac_cpp='$CPP $CPPFLAGS'
39002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39011 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39013 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39014 for ac_func in fabsl
39015 do :
39016 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39017 if test "x$ac_cv_func_fabsl" = x""yes; then :
39018 cat >>confdefs.h <<_ACEOF
39019 #define HAVE_FABSL 1
39020 _ACEOF
39023 done
39025 else
39027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39028 $as_echo_n "checking for _fabsl declaration... " >&6; }
39029 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39030 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
39031 $as_echo_n "(cached) " >&6
39032 else
39035 ac_ext=cpp
39036 ac_cpp='$CXXCPP $CPPFLAGS'
39037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39042 /* end confdefs.h. */
39043 #include <math.h>
39044 #ifdef HAVE_IEEEFP_H
39045 #include <ieeefp.h>
39046 #endif
39049 main ()
39051 _fabsl(0);
39053 return 0;
39055 _ACEOF
39056 if ac_fn_cxx_try_compile "$LINENO"; then :
39057 glibcxx_cv_func__fabsl_use=yes
39058 else
39059 glibcxx_cv_func__fabsl_use=no
39061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39062 ac_ext=c
39063 ac_cpp='$CPP $CPPFLAGS'
39064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39073 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39075 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39076 for ac_func in _fabsl
39077 do :
39078 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39079 if test "x$ac_cv_func__fabsl" = x""yes; then :
39080 cat >>confdefs.h <<_ACEOF
39081 #define HAVE__FABSL 1
39082 _ACEOF
39085 done
39094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39095 $as_echo_n "checking for fmodl declaration... " >&6; }
39096 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39097 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
39098 $as_echo_n "(cached) " >&6
39099 else
39102 ac_ext=cpp
39103 ac_cpp='$CXXCPP $CPPFLAGS'
39104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39109 /* end confdefs.h. */
39110 #include <math.h>
39112 main ()
39114 fmodl(0, 0);
39116 return 0;
39118 _ACEOF
39119 if ac_fn_cxx_try_compile "$LINENO"; then :
39120 glibcxx_cv_func_fmodl_use=yes
39121 else
39122 glibcxx_cv_func_fmodl_use=no
39124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39125 ac_ext=c
39126 ac_cpp='$CPP $CPPFLAGS'
39127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39136 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39138 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39139 for ac_func in fmodl
39140 do :
39141 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39142 if test "x$ac_cv_func_fmodl" = x""yes; then :
39143 cat >>confdefs.h <<_ACEOF
39144 #define HAVE_FMODL 1
39145 _ACEOF
39148 done
39150 else
39152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39153 $as_echo_n "checking for _fmodl declaration... " >&6; }
39154 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39155 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
39156 $as_echo_n "(cached) " >&6
39157 else
39160 ac_ext=cpp
39161 ac_cpp='$CXXCPP $CPPFLAGS'
39162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39167 /* end confdefs.h. */
39168 #include <math.h>
39170 main ()
39172 _fmodl(0, 0);
39174 return 0;
39176 _ACEOF
39177 if ac_fn_cxx_try_compile "$LINENO"; then :
39178 glibcxx_cv_func__fmodl_use=yes
39179 else
39180 glibcxx_cv_func__fmodl_use=no
39182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39183 ac_ext=c
39184 ac_cpp='$CPP $CPPFLAGS'
39185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39194 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39196 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39197 for ac_func in _fmodl
39198 do :
39199 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39200 if test "x$ac_cv_func__fmodl" = x""yes; then :
39201 cat >>confdefs.h <<_ACEOF
39202 #define HAVE__FMODL 1
39203 _ACEOF
39206 done
39215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39216 $as_echo_n "checking for frexpl declaration... " >&6; }
39217 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39218 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
39219 $as_echo_n "(cached) " >&6
39220 else
39223 ac_ext=cpp
39224 ac_cpp='$CXXCPP $CPPFLAGS'
39225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39230 /* end confdefs.h. */
39231 #include <math.h>
39233 main ()
39235 frexpl(0, 0);
39237 return 0;
39239 _ACEOF
39240 if ac_fn_cxx_try_compile "$LINENO"; then :
39241 glibcxx_cv_func_frexpl_use=yes
39242 else
39243 glibcxx_cv_func_frexpl_use=no
39245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39246 ac_ext=c
39247 ac_cpp='$CPP $CPPFLAGS'
39248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39257 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39259 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39260 for ac_func in frexpl
39261 do :
39262 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39263 if test "x$ac_cv_func_frexpl" = x""yes; then :
39264 cat >>confdefs.h <<_ACEOF
39265 #define HAVE_FREXPL 1
39266 _ACEOF
39269 done
39271 else
39273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39274 $as_echo_n "checking for _frexpl declaration... " >&6; }
39275 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39276 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
39277 $as_echo_n "(cached) " >&6
39278 else
39281 ac_ext=cpp
39282 ac_cpp='$CXXCPP $CPPFLAGS'
39283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39288 /* end confdefs.h. */
39289 #include <math.h>
39291 main ()
39293 _frexpl(0, 0);
39295 return 0;
39297 _ACEOF
39298 if ac_fn_cxx_try_compile "$LINENO"; then :
39299 glibcxx_cv_func__frexpl_use=yes
39300 else
39301 glibcxx_cv_func__frexpl_use=no
39303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39304 ac_ext=c
39305 ac_cpp='$CPP $CPPFLAGS'
39306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39315 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39317 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39318 for ac_func in _frexpl
39319 do :
39320 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39321 if test "x$ac_cv_func__frexpl" = x""yes; then :
39322 cat >>confdefs.h <<_ACEOF
39323 #define HAVE__FREXPL 1
39324 _ACEOF
39327 done
39336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39337 $as_echo_n "checking for hypotl declaration... " >&6; }
39338 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39339 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
39340 $as_echo_n "(cached) " >&6
39341 else
39344 ac_ext=cpp
39345 ac_cpp='$CXXCPP $CPPFLAGS'
39346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39351 /* end confdefs.h. */
39352 #include <math.h>
39354 main ()
39356 hypotl(0, 0);
39358 return 0;
39360 _ACEOF
39361 if ac_fn_cxx_try_compile "$LINENO"; then :
39362 glibcxx_cv_func_hypotl_use=yes
39363 else
39364 glibcxx_cv_func_hypotl_use=no
39366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39367 ac_ext=c
39368 ac_cpp='$CPP $CPPFLAGS'
39369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39378 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39380 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39381 for ac_func in hypotl
39382 do :
39383 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39384 if test "x$ac_cv_func_hypotl" = x""yes; then :
39385 cat >>confdefs.h <<_ACEOF
39386 #define HAVE_HYPOTL 1
39387 _ACEOF
39390 done
39392 else
39394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39395 $as_echo_n "checking for _hypotl declaration... " >&6; }
39396 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39397 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
39398 $as_echo_n "(cached) " >&6
39399 else
39402 ac_ext=cpp
39403 ac_cpp='$CXXCPP $CPPFLAGS'
39404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39409 /* end confdefs.h. */
39410 #include <math.h>
39412 main ()
39414 _hypotl(0, 0);
39416 return 0;
39418 _ACEOF
39419 if ac_fn_cxx_try_compile "$LINENO"; then :
39420 glibcxx_cv_func__hypotl_use=yes
39421 else
39422 glibcxx_cv_func__hypotl_use=no
39424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39425 ac_ext=c
39426 ac_cpp='$CPP $CPPFLAGS'
39427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
39436 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39438 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39439 for ac_func in _hypotl
39440 do :
39441 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39442 if test "x$ac_cv_func__hypotl" = x""yes; then :
39443 cat >>confdefs.h <<_ACEOF
39444 #define HAVE__HYPOTL 1
39445 _ACEOF
39448 done
39457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
39458 $as_echo_n "checking for ldexpl declaration... " >&6; }
39459 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39460 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
39461 $as_echo_n "(cached) " >&6
39462 else
39465 ac_ext=cpp
39466 ac_cpp='$CXXCPP $CPPFLAGS'
39467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39472 /* end confdefs.h. */
39473 #include <math.h>
39475 main ()
39477 ldexpl(0, 0);
39479 return 0;
39481 _ACEOF
39482 if ac_fn_cxx_try_compile "$LINENO"; then :
39483 glibcxx_cv_func_ldexpl_use=yes
39484 else
39485 glibcxx_cv_func_ldexpl_use=no
39487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39488 ac_ext=c
39489 ac_cpp='$CPP $CPPFLAGS'
39490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
39499 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
39501 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39502 for ac_func in ldexpl
39503 do :
39504 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
39505 if test "x$ac_cv_func_ldexpl" = x""yes; then :
39506 cat >>confdefs.h <<_ACEOF
39507 #define HAVE_LDEXPL 1
39508 _ACEOF
39511 done
39513 else
39515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
39516 $as_echo_n "checking for _ldexpl declaration... " >&6; }
39517 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
39518 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
39519 $as_echo_n "(cached) " >&6
39520 else
39523 ac_ext=cpp
39524 ac_cpp='$CXXCPP $CPPFLAGS'
39525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39530 /* end confdefs.h. */
39531 #include <math.h>
39533 main ()
39535 _ldexpl(0, 0);
39537 return 0;
39539 _ACEOF
39540 if ac_fn_cxx_try_compile "$LINENO"; then :
39541 glibcxx_cv_func__ldexpl_use=yes
39542 else
39543 glibcxx_cv_func__ldexpl_use=no
39545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39546 ac_ext=c
39547 ac_cpp='$CPP $CPPFLAGS'
39548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
39557 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
39559 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
39560 for ac_func in _ldexpl
39561 do :
39562 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
39563 if test "x$ac_cv_func__ldexpl" = x""yes; then :
39564 cat >>confdefs.h <<_ACEOF
39565 #define HAVE__LDEXPL 1
39566 _ACEOF
39569 done
39578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
39579 $as_echo_n "checking for logl declaration... " >&6; }
39580 if test x${glibcxx_cv_func_logl_use+set} != xset; then
39581 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
39582 $as_echo_n "(cached) " >&6
39583 else
39586 ac_ext=cpp
39587 ac_cpp='$CXXCPP $CPPFLAGS'
39588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39593 /* end confdefs.h. */
39594 #include <math.h>
39595 #ifdef HAVE_IEEEFP_H
39596 #include <ieeefp.h>
39597 #endif
39600 main ()
39602 logl(0);
39604 return 0;
39606 _ACEOF
39607 if ac_fn_cxx_try_compile "$LINENO"; then :
39608 glibcxx_cv_func_logl_use=yes
39609 else
39610 glibcxx_cv_func_logl_use=no
39612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39613 ac_ext=c
39614 ac_cpp='$CPP $CPPFLAGS'
39615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
39624 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
39626 if test x$glibcxx_cv_func_logl_use = x"yes"; then
39627 for ac_func in logl
39628 do :
39629 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
39630 if test "x$ac_cv_func_logl" = x""yes; then :
39631 cat >>confdefs.h <<_ACEOF
39632 #define HAVE_LOGL 1
39633 _ACEOF
39636 done
39638 else
39640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
39641 $as_echo_n "checking for _logl declaration... " >&6; }
39642 if test x${glibcxx_cv_func__logl_use+set} != xset; then
39643 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
39644 $as_echo_n "(cached) " >&6
39645 else
39648 ac_ext=cpp
39649 ac_cpp='$CXXCPP $CPPFLAGS'
39650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39655 /* end confdefs.h. */
39656 #include <math.h>
39657 #ifdef HAVE_IEEEFP_H
39658 #include <ieeefp.h>
39659 #endif
39662 main ()
39664 _logl(0);
39666 return 0;
39668 _ACEOF
39669 if ac_fn_cxx_try_compile "$LINENO"; then :
39670 glibcxx_cv_func__logl_use=yes
39671 else
39672 glibcxx_cv_func__logl_use=no
39674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39675 ac_ext=c
39676 ac_cpp='$CPP $CPPFLAGS'
39677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
39686 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
39688 if test x$glibcxx_cv_func__logl_use = x"yes"; then
39689 for ac_func in _logl
39690 do :
39691 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
39692 if test "x$ac_cv_func__logl" = x""yes; then :
39693 cat >>confdefs.h <<_ACEOF
39694 #define HAVE__LOGL 1
39695 _ACEOF
39698 done
39707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
39708 $as_echo_n "checking for log10l declaration... " >&6; }
39709 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
39710 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
39711 $as_echo_n "(cached) " >&6
39712 else
39715 ac_ext=cpp
39716 ac_cpp='$CXXCPP $CPPFLAGS'
39717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39722 /* end confdefs.h. */
39723 #include <math.h>
39724 #ifdef HAVE_IEEEFP_H
39725 #include <ieeefp.h>
39726 #endif
39729 main ()
39731 log10l(0);
39733 return 0;
39735 _ACEOF
39736 if ac_fn_cxx_try_compile "$LINENO"; then :
39737 glibcxx_cv_func_log10l_use=yes
39738 else
39739 glibcxx_cv_func_log10l_use=no
39741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39742 ac_ext=c
39743 ac_cpp='$CPP $CPPFLAGS'
39744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
39753 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
39755 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
39756 for ac_func in log10l
39757 do :
39758 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
39759 if test "x$ac_cv_func_log10l" = x""yes; then :
39760 cat >>confdefs.h <<_ACEOF
39761 #define HAVE_LOG10L 1
39762 _ACEOF
39765 done
39767 else
39769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
39770 $as_echo_n "checking for _log10l declaration... " >&6; }
39771 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
39772 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
39773 $as_echo_n "(cached) " >&6
39774 else
39777 ac_ext=cpp
39778 ac_cpp='$CXXCPP $CPPFLAGS'
39779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39784 /* end confdefs.h. */
39785 #include <math.h>
39786 #ifdef HAVE_IEEEFP_H
39787 #include <ieeefp.h>
39788 #endif
39791 main ()
39793 _log10l(0);
39795 return 0;
39797 _ACEOF
39798 if ac_fn_cxx_try_compile "$LINENO"; then :
39799 glibcxx_cv_func__log10l_use=yes
39800 else
39801 glibcxx_cv_func__log10l_use=no
39803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39804 ac_ext=c
39805 ac_cpp='$CPP $CPPFLAGS'
39806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
39815 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
39817 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
39818 for ac_func in _log10l
39819 do :
39820 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
39821 if test "x$ac_cv_func__log10l" = x""yes; then :
39822 cat >>confdefs.h <<_ACEOF
39823 #define HAVE__LOG10L 1
39824 _ACEOF
39827 done
39836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
39837 $as_echo_n "checking for modfl declaration... " >&6; }
39838 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
39839 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
39840 $as_echo_n "(cached) " >&6
39841 else
39844 ac_ext=cpp
39845 ac_cpp='$CXXCPP $CPPFLAGS'
39846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39851 /* end confdefs.h. */
39852 #include <math.h>
39854 main ()
39856 modfl(0, 0);
39858 return 0;
39860 _ACEOF
39861 if ac_fn_cxx_try_compile "$LINENO"; then :
39862 glibcxx_cv_func_modfl_use=yes
39863 else
39864 glibcxx_cv_func_modfl_use=no
39866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39867 ac_ext=c
39868 ac_cpp='$CPP $CPPFLAGS'
39869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
39878 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
39880 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
39881 for ac_func in modfl
39882 do :
39883 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
39884 if test "x$ac_cv_func_modfl" = x""yes; then :
39885 cat >>confdefs.h <<_ACEOF
39886 #define HAVE_MODFL 1
39887 _ACEOF
39890 done
39892 else
39894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
39895 $as_echo_n "checking for _modfl declaration... " >&6; }
39896 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
39897 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
39898 $as_echo_n "(cached) " >&6
39899 else
39902 ac_ext=cpp
39903 ac_cpp='$CXXCPP $CPPFLAGS'
39904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39909 /* end confdefs.h. */
39910 #include <math.h>
39912 main ()
39914 _modfl(0, 0);
39916 return 0;
39918 _ACEOF
39919 if ac_fn_cxx_try_compile "$LINENO"; then :
39920 glibcxx_cv_func__modfl_use=yes
39921 else
39922 glibcxx_cv_func__modfl_use=no
39924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39925 ac_ext=c
39926 ac_cpp='$CPP $CPPFLAGS'
39927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
39936 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
39938 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
39939 for ac_func in _modfl
39940 do :
39941 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
39942 if test "x$ac_cv_func__modfl" = x""yes; then :
39943 cat >>confdefs.h <<_ACEOF
39944 #define HAVE__MODFL 1
39945 _ACEOF
39948 done
39957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
39958 $as_echo_n "checking for powl declaration... " >&6; }
39959 if test x${glibcxx_cv_func_powl_use+set} != xset; then
39960 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
39961 $as_echo_n "(cached) " >&6
39962 else
39965 ac_ext=cpp
39966 ac_cpp='$CXXCPP $CPPFLAGS'
39967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39972 /* end confdefs.h. */
39973 #include <math.h>
39975 main ()
39977 powl(0, 0);
39979 return 0;
39981 _ACEOF
39982 if ac_fn_cxx_try_compile "$LINENO"; then :
39983 glibcxx_cv_func_powl_use=yes
39984 else
39985 glibcxx_cv_func_powl_use=no
39987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39988 ac_ext=c
39989 ac_cpp='$CPP $CPPFLAGS'
39990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
39999 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40001 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40002 for ac_func in powl
40003 do :
40004 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40005 if test "x$ac_cv_func_powl" = x""yes; then :
40006 cat >>confdefs.h <<_ACEOF
40007 #define HAVE_POWL 1
40008 _ACEOF
40011 done
40013 else
40015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40016 $as_echo_n "checking for _powl declaration... " >&6; }
40017 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40018 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
40019 $as_echo_n "(cached) " >&6
40020 else
40023 ac_ext=cpp
40024 ac_cpp='$CXXCPP $CPPFLAGS'
40025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40030 /* end confdefs.h. */
40031 #include <math.h>
40033 main ()
40035 _powl(0, 0);
40037 return 0;
40039 _ACEOF
40040 if ac_fn_cxx_try_compile "$LINENO"; then :
40041 glibcxx_cv_func__powl_use=yes
40042 else
40043 glibcxx_cv_func__powl_use=no
40045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40046 ac_ext=c
40047 ac_cpp='$CPP $CPPFLAGS'
40048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40057 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40059 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40060 for ac_func in _powl
40061 do :
40062 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40063 if test "x$ac_cv_func__powl" = x""yes; then :
40064 cat >>confdefs.h <<_ACEOF
40065 #define HAVE__POWL 1
40066 _ACEOF
40069 done
40078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40079 $as_echo_n "checking for sqrtl declaration... " >&6; }
40080 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40081 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
40082 $as_echo_n "(cached) " >&6
40083 else
40086 ac_ext=cpp
40087 ac_cpp='$CXXCPP $CPPFLAGS'
40088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40093 /* end confdefs.h. */
40094 #include <math.h>
40095 #ifdef HAVE_IEEEFP_H
40096 #include <ieeefp.h>
40097 #endif
40100 main ()
40102 sqrtl(0);
40104 return 0;
40106 _ACEOF
40107 if ac_fn_cxx_try_compile "$LINENO"; then :
40108 glibcxx_cv_func_sqrtl_use=yes
40109 else
40110 glibcxx_cv_func_sqrtl_use=no
40112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40113 ac_ext=c
40114 ac_cpp='$CPP $CPPFLAGS'
40115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40124 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40126 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40127 for ac_func in sqrtl
40128 do :
40129 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40130 if test "x$ac_cv_func_sqrtl" = x""yes; then :
40131 cat >>confdefs.h <<_ACEOF
40132 #define HAVE_SQRTL 1
40133 _ACEOF
40136 done
40138 else
40140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40141 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40142 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40143 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
40144 $as_echo_n "(cached) " >&6
40145 else
40148 ac_ext=cpp
40149 ac_cpp='$CXXCPP $CPPFLAGS'
40150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40155 /* end confdefs.h. */
40156 #include <math.h>
40157 #ifdef HAVE_IEEEFP_H
40158 #include <ieeefp.h>
40159 #endif
40162 main ()
40164 _sqrtl(0);
40166 return 0;
40168 _ACEOF
40169 if ac_fn_cxx_try_compile "$LINENO"; then :
40170 glibcxx_cv_func__sqrtl_use=yes
40171 else
40172 glibcxx_cv_func__sqrtl_use=no
40174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40175 ac_ext=c
40176 ac_cpp='$CPP $CPPFLAGS'
40177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40186 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40188 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40189 for ac_func in _sqrtl
40190 do :
40191 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40192 if test "x$ac_cv_func__sqrtl" = x""yes; then :
40193 cat >>confdefs.h <<_ACEOF
40194 #define HAVE__SQRTL 1
40195 _ACEOF
40198 done
40207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40208 $as_echo_n "checking for sincosl declaration... " >&6; }
40209 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40210 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
40211 $as_echo_n "(cached) " >&6
40212 else
40215 ac_ext=cpp
40216 ac_cpp='$CXXCPP $CPPFLAGS'
40217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40222 /* end confdefs.h. */
40223 #include <math.h>
40225 main ()
40227 sincosl(0, 0, 0);
40229 return 0;
40231 _ACEOF
40232 if ac_fn_cxx_try_compile "$LINENO"; then :
40233 glibcxx_cv_func_sincosl_use=yes
40234 else
40235 glibcxx_cv_func_sincosl_use=no
40237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40238 ac_ext=c
40239 ac_cpp='$CPP $CPPFLAGS'
40240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40249 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40251 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40252 for ac_func in sincosl
40253 do :
40254 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40255 if test "x$ac_cv_func_sincosl" = x""yes; then :
40256 cat >>confdefs.h <<_ACEOF
40257 #define HAVE_SINCOSL 1
40258 _ACEOF
40261 done
40263 else
40265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40266 $as_echo_n "checking for _sincosl declaration... " >&6; }
40267 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40268 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
40269 $as_echo_n "(cached) " >&6
40270 else
40273 ac_ext=cpp
40274 ac_cpp='$CXXCPP $CPPFLAGS'
40275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40280 /* end confdefs.h. */
40281 #include <math.h>
40283 main ()
40285 _sincosl(0, 0, 0);
40287 return 0;
40289 _ACEOF
40290 if ac_fn_cxx_try_compile "$LINENO"; then :
40291 glibcxx_cv_func__sincosl_use=yes
40292 else
40293 glibcxx_cv_func__sincosl_use=no
40295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40296 ac_ext=c
40297 ac_cpp='$CPP $CPPFLAGS'
40298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40307 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40309 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40310 for ac_func in _sincosl
40311 do :
40312 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40313 if test "x$ac_cv_func__sincosl" = x""yes; then :
40314 cat >>confdefs.h <<_ACEOF
40315 #define HAVE__SINCOSL 1
40316 _ACEOF
40319 done
40328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40329 $as_echo_n "checking for finitel declaration... " >&6; }
40330 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40331 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
40332 $as_echo_n "(cached) " >&6
40333 else
40336 ac_ext=cpp
40337 ac_cpp='$CXXCPP $CPPFLAGS'
40338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40343 /* end confdefs.h. */
40344 #include <math.h>
40345 #ifdef HAVE_IEEEFP_H
40346 #include <ieeefp.h>
40347 #endif
40350 main ()
40352 finitel(0);
40354 return 0;
40356 _ACEOF
40357 if ac_fn_cxx_try_compile "$LINENO"; then :
40358 glibcxx_cv_func_finitel_use=yes
40359 else
40360 glibcxx_cv_func_finitel_use=no
40362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40363 ac_ext=c
40364 ac_cpp='$CPP $CPPFLAGS'
40365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40374 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40376 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40377 for ac_func in finitel
40378 do :
40379 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40380 if test "x$ac_cv_func_finitel" = x""yes; then :
40381 cat >>confdefs.h <<_ACEOF
40382 #define HAVE_FINITEL 1
40383 _ACEOF
40386 done
40388 else
40390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40391 $as_echo_n "checking for _finitel declaration... " >&6; }
40392 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40393 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
40394 $as_echo_n "(cached) " >&6
40395 else
40398 ac_ext=cpp
40399 ac_cpp='$CXXCPP $CPPFLAGS'
40400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40405 /* end confdefs.h. */
40406 #include <math.h>
40407 #ifdef HAVE_IEEEFP_H
40408 #include <ieeefp.h>
40409 #endif
40412 main ()
40414 _finitel(0);
40416 return 0;
40418 _ACEOF
40419 if ac_fn_cxx_try_compile "$LINENO"; then :
40420 glibcxx_cv_func__finitel_use=yes
40421 else
40422 glibcxx_cv_func__finitel_use=no
40424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40425 ac_ext=c
40426 ac_cpp='$CPP $CPPFLAGS'
40427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
40436 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40438 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40439 for ac_func in _finitel
40440 do :
40441 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40442 if test "x$ac_cv_func__finitel" = x""yes; then :
40443 cat >>confdefs.h <<_ACEOF
40444 #define HAVE__FINITEL 1
40445 _ACEOF
40448 done
40456 LIBS="$ac_save_LIBS"
40457 CXXFLAGS="$ac_save_CXXFLAGS"
40460 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40461 ac_save_CXXFLAGS="$CXXFLAGS"
40462 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
40466 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
40467 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
40468 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
40469 $as_echo_n "(cached) " >&6
40470 else
40473 ac_ext=cpp
40474 ac_cpp='$CXXCPP $CPPFLAGS'
40475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40480 /* end confdefs.h. */
40481 #include <stdlib.h>
40483 main ()
40485 at_quick_exit(0);
40487 return 0;
40489 _ACEOF
40490 if ac_fn_cxx_try_compile "$LINENO"; then :
40491 glibcxx_cv_func_at_quick_exit_use=yes
40492 else
40493 glibcxx_cv_func_at_quick_exit_use=no
40495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40496 ac_ext=c
40497 ac_cpp='$CPP $CPPFLAGS'
40498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
40507 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
40508 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
40509 for ac_func in at_quick_exit
40510 do :
40511 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
40512 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
40513 cat >>confdefs.h <<_ACEOF
40514 #define HAVE_AT_QUICK_EXIT 1
40515 _ACEOF
40518 done
40523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
40524 $as_echo_n "checking for quick_exit declaration... " >&6; }
40525 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
40526 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
40527 $as_echo_n "(cached) " >&6
40528 else
40531 ac_ext=cpp
40532 ac_cpp='$CXXCPP $CPPFLAGS'
40533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40538 /* end confdefs.h. */
40539 #include <stdlib.h>
40541 main ()
40543 quick_exit(0);
40545 return 0;
40547 _ACEOF
40548 if ac_fn_cxx_try_compile "$LINENO"; then :
40549 glibcxx_cv_func_quick_exit_use=yes
40550 else
40551 glibcxx_cv_func_quick_exit_use=no
40553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40554 ac_ext=c
40555 ac_cpp='$CPP $CPPFLAGS'
40556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
40565 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
40566 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
40567 for ac_func in quick_exit
40568 do :
40569 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
40570 if test "x$ac_cv_func_quick_exit" = x""yes; then :
40571 cat >>confdefs.h <<_ACEOF
40572 #define HAVE_QUICK_EXIT 1
40573 _ACEOF
40576 done
40581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
40582 $as_echo_n "checking for strtold declaration... " >&6; }
40583 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
40584 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
40585 $as_echo_n "(cached) " >&6
40586 else
40589 ac_ext=cpp
40590 ac_cpp='$CXXCPP $CPPFLAGS'
40591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40596 /* end confdefs.h. */
40597 #include <stdlib.h>
40599 main ()
40601 strtold(0, 0);
40603 return 0;
40605 _ACEOF
40606 if ac_fn_cxx_try_compile "$LINENO"; then :
40607 glibcxx_cv_func_strtold_use=yes
40608 else
40609 glibcxx_cv_func_strtold_use=no
40611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40612 ac_ext=c
40613 ac_cpp='$CPP $CPPFLAGS'
40614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
40623 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
40624 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
40625 for ac_func in strtold
40626 do :
40627 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
40628 if test "x$ac_cv_func_strtold" = x""yes; then :
40629 cat >>confdefs.h <<_ACEOF
40630 #define HAVE_STRTOLD 1
40631 _ACEOF
40634 done
40641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
40642 $as_echo_n "checking for strtof declaration... " >&6; }
40643 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
40644 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
40645 $as_echo_n "(cached) " >&6
40646 else
40649 ac_ext=cpp
40650 ac_cpp='$CXXCPP $CPPFLAGS'
40651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40656 /* end confdefs.h. */
40657 #include <stdlib.h>
40659 main ()
40661 strtof(0, 0);
40663 return 0;
40665 _ACEOF
40666 if ac_fn_cxx_try_compile "$LINENO"; then :
40667 glibcxx_cv_func_strtof_use=yes
40668 else
40669 glibcxx_cv_func_strtof_use=no
40671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40672 ac_ext=c
40673 ac_cpp='$CPP $CPPFLAGS'
40674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
40683 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
40684 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
40685 for ac_func in strtof
40686 do :
40687 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
40688 if test "x$ac_cv_func_strtof" = x""yes; then :
40689 cat >>confdefs.h <<_ACEOF
40690 #define HAVE_STRTOF 1
40691 _ACEOF
40694 done
40701 CXXFLAGS="$ac_save_CXXFLAGS"
40708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
40709 $as_echo_n "checking for iconv... " >&6; }
40710 if test "${am_cv_func_iconv+set}" = set; then :
40711 $as_echo_n "(cached) " >&6
40712 else
40714 am_cv_func_iconv="no, consider installing GNU libiconv"
40715 am_cv_lib_iconv=no
40716 am_save_CPPFLAGS="$CPPFLAGS"
40717 CPPFLAGS="$CPPFLAGS $INCICONV"
40718 if test x$gcc_no_link = xyes; then
40719 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40722 /* end confdefs.h. */
40723 #include <stdlib.h>
40724 #include <iconv.h>
40726 main ()
40728 iconv_t cd = iconv_open("","");
40729 iconv(cd,NULL,NULL,NULL,NULL);
40730 iconv_close(cd);
40732 return 0;
40734 _ACEOF
40735 if ac_fn_c_try_link "$LINENO"; then :
40736 am_cv_func_iconv=yes
40738 rm -f core conftest.err conftest.$ac_objext \
40739 conftest$ac_exeext conftest.$ac_ext
40740 CPPFLAGS="$am_save_CPPFLAGS"
40742 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
40743 for _libs in .libs _libs; do
40744 am_save_CPPFLAGS="$CPPFLAGS"
40745 am_save_LIBS="$LIBS"
40746 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
40747 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
40748 if test x$gcc_no_link = xyes; then
40749 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40752 /* end confdefs.h. */
40753 #include <stdlib.h>
40754 #include <iconv.h>
40756 main ()
40758 iconv_t cd = iconv_open("","");
40759 iconv(cd,NULL,NULL,NULL,NULL);
40760 iconv_close(cd);
40762 return 0;
40764 _ACEOF
40765 if ac_fn_c_try_link "$LINENO"; then :
40766 INCICONV="-I../libiconv/include"
40767 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
40768 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
40769 am_cv_lib_iconv=yes
40770 am_cv_func_iconv=yes
40772 rm -f core conftest.err conftest.$ac_objext \
40773 conftest$ac_exeext conftest.$ac_ext
40774 CPPFLAGS="$am_save_CPPFLAGS"
40775 LIBS="$am_save_LIBS"
40776 if test "$am_cv_func_iconv" = "yes"; then
40777 break
40779 done
40782 if test "$am_cv_func_iconv" != yes; then
40783 am_save_CPPFLAGS="$CPPFLAGS"
40784 am_save_LIBS="$LIBS"
40785 CPPFLAGS="$LIBS $INCICONV"
40786 LIBS="$LIBS $LIBICONV"
40787 if test x$gcc_no_link = xyes; then
40788 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40791 /* end confdefs.h. */
40792 #include <stdlib.h>
40793 #include <iconv.h>
40795 main ()
40797 iconv_t cd = iconv_open("","");
40798 iconv(cd,NULL,NULL,NULL,NULL);
40799 iconv_close(cd);
40801 return 0;
40803 _ACEOF
40804 if ac_fn_c_try_link "$LINENO"; then :
40805 am_cv_lib_iconv=yes
40806 am_cv_func_iconv=yes
40808 rm -f core conftest.err conftest.$ac_objext \
40809 conftest$ac_exeext conftest.$ac_ext
40810 CPPFLAGS="$am_save_CPPFLAGS"
40811 LIBS="$am_save_LIBS"
40815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
40816 $as_echo "$am_cv_func_iconv" >&6; }
40817 if test "$am_cv_func_iconv" = yes; then
40819 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
40822 if test "$am_cv_lib_iconv" = yes; then
40824 for element in $INCICONV; do
40825 haveit=
40826 for x in $CPPFLAGS; do
40828 acl_save_prefix="$prefix"
40829 prefix="$acl_final_prefix"
40830 acl_save_exec_prefix="$exec_prefix"
40831 exec_prefix="$acl_final_exec_prefix"
40832 eval x=\"$x\"
40833 exec_prefix="$acl_save_exec_prefix"
40834 prefix="$acl_save_prefix"
40836 if test "X$x" = "X$element"; then
40837 haveit=yes
40838 break
40840 done
40841 if test -z "$haveit"; then
40842 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
40844 done
40846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
40847 $as_echo_n "checking how to link with libiconv... " >&6; }
40848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
40849 $as_echo "$LIBICONV" >&6; }
40850 else
40851 LIBICONV=
40852 LTLIBICONV=
40857 if test "$am_cv_func_iconv" = yes; then
40858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
40859 $as_echo_n "checking for iconv declaration... " >&6; }
40860 if test "${am_cv_proto_iconv+set}" = set; then :
40861 $as_echo_n "(cached) " >&6
40862 else
40864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40865 /* end confdefs.h. */
40867 #include <stdlib.h>
40868 #include <iconv.h>
40869 extern
40870 #ifdef __cplusplus
40872 #endif
40873 #if defined(__STDC__) || defined(__cplusplus)
40874 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
40875 #else
40876 size_t iconv();
40877 #endif
40880 main ()
40884 return 0;
40886 _ACEOF
40887 if ac_fn_c_try_compile "$LINENO"; then :
40888 am_cv_proto_iconv_arg1=""
40889 else
40890 am_cv_proto_iconv_arg1="const"
40892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40893 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);"
40896 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
40897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
40898 }$am_cv_proto_iconv" >&5
40899 $as_echo "${ac_t:-
40900 }$am_cv_proto_iconv" >&6; }
40902 cat >>confdefs.h <<_ACEOF
40903 #define ICONV_CONST $am_cv_proto_iconv_arg1
40904 _ACEOF
40910 *-aix*)
40912 # If we're not using GNU ld, then there's no point in even trying these
40913 # tests. Check for that first. We should have already tested for gld
40914 # by now (in libtool), but require it now just to be safe...
40915 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
40916 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
40920 # The name set by libtool depends on the version of libtool. Shame on us
40921 # for depending on an impl detail, but c'est la vie. Older versions used
40922 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
40923 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
40924 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
40925 # set (hence we're using an older libtool), then set it.
40926 if test x${with_gnu_ld+set} != xset; then
40927 if test x${ac_cv_prog_gnu_ld+set} != xset; then
40928 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
40929 with_gnu_ld=no
40930 else
40931 with_gnu_ld=$ac_cv_prog_gnu_ld
40935 # Start by getting the version number. I think the libtool test already
40936 # does some of this, but throws away the result.
40937 glibcxx_ld_is_gold=no
40938 if test x"$with_gnu_ld" = x"yes"; then
40939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
40940 $as_echo_n "checking for ld version... " >&6; }
40942 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
40943 glibcxx_ld_is_gold=yes
40945 ldver=`$LD --version 2>/dev/null |
40946 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'`
40948 glibcxx_gnu_ld_version=`echo $ldver | \
40949 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
40950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
40951 $as_echo "$glibcxx_gnu_ld_version" >&6; }
40954 # Set --gc-sections.
40955 glibcxx_have_gc_sections=no
40956 if test "$glibcxx_ld_is_gold" = "yes"; then
40957 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
40958 glibcxx_have_gc_sections=yes
40960 else
40961 glibcxx_gcsections_min_ld=21602
40962 if test x"$with_gnu_ld" = x"yes" &&
40963 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
40964 glibcxx_have_gc_sections=yes
40967 if test "$glibcxx_have_gc_sections" = "yes"; then
40968 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
40969 # NB: This flag only works reliably after 2.16.1. Configure tests
40970 # for this are difficult, so hard wire a value that should work.
40972 ac_test_CFLAGS="${CFLAGS+set}"
40973 ac_save_CFLAGS="$CFLAGS"
40974 CFLAGS='-Wl,--gc-sections'
40976 # Check for -Wl,--gc-sections
40977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
40978 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
40979 if test x$gcc_no_link = xyes; then
40980 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40983 /* end confdefs.h. */
40984 int one(void) { return 1; }
40985 int two(void) { return 2; }
40988 main ()
40990 two();
40992 return 0;
40994 _ACEOF
40995 if ac_fn_c_try_link "$LINENO"; then :
40996 ac_gcsections=yes
40997 else
40998 ac_gcsections=no
41000 rm -f core conftest.err conftest.$ac_objext \
41001 conftest$ac_exeext conftest.$ac_ext
41002 if test "$ac_gcsections" = "yes"; then
41003 rm -f conftest.c
41004 touch conftest.c
41005 if $CC -c conftest.c; then
41006 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
41007 grep "Warning: gc-sections option ignored" > /dev/null; then
41008 ac_gcsections=no
41011 rm -f conftest.c conftest.o conftest
41013 if test "$ac_gcsections" = "yes"; then
41014 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
41016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
41017 $as_echo "$ac_gcsections" >&6; }
41019 if test "$ac_test_CFLAGS" = set; then
41020 CFLAGS="$ac_save_CFLAGS"
41021 else
41022 # this is the suspicious part
41023 CFLAGS=''
41027 # Set -z,relro.
41028 # Note this is only for shared objects.
41029 ac_ld_relro=no
41030 if test x"$with_gnu_ld" = x"yes"; then
41031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
41032 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
41033 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
41034 if test -n "$cxx_z_relo"; then
41035 OPT_LDFLAGS="-Wl,-z,relro"
41036 ac_ld_relro=yes
41038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
41039 $as_echo "$ac_ld_relro" >&6; }
41042 # Set linker optimization flags.
41043 if test x"$with_gnu_ld" = x"yes"; then
41044 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
41051 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41052 ac_save_CXXFLAGS="$CXXFLAGS"
41053 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41056 $as_echo_n "checking for sin in -lm... " >&6; }
41057 if test "${ac_cv_lib_m_sin+set}" = set; then :
41058 $as_echo_n "(cached) " >&6
41059 else
41060 ac_check_lib_save_LIBS=$LIBS
41061 LIBS="-lm $LIBS"
41062 if test x$gcc_no_link = xyes; then
41063 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41066 /* end confdefs.h. */
41068 /* Override any GCC internal prototype to avoid an error.
41069 Use char because int might match the return type of a GCC
41070 builtin and then its argument prototype would still apply. */
41071 #ifdef __cplusplus
41072 extern "C"
41073 #endif
41074 char sin ();
41076 main ()
41078 return sin ();
41080 return 0;
41082 _ACEOF
41083 if ac_fn_c_try_link "$LINENO"; then :
41084 ac_cv_lib_m_sin=yes
41085 else
41086 ac_cv_lib_m_sin=no
41088 rm -f core conftest.err conftest.$ac_objext \
41089 conftest$ac_exeext conftest.$ac_ext
41090 LIBS=$ac_check_lib_save_LIBS
41092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41093 $as_echo "$ac_cv_lib_m_sin" >&6; }
41094 if test "x$ac_cv_lib_m_sin" = x""yes; then :
41095 libm="-lm"
41098 ac_save_LIBS="$LIBS"
41099 LIBS="$LIBS $libm"
41103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41104 $as_echo_n "checking for isinf declaration... " >&6; }
41105 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41106 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
41107 $as_echo_n "(cached) " >&6
41108 else
41111 ac_ext=cpp
41112 ac_cpp='$CXXCPP $CPPFLAGS'
41113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41118 /* end confdefs.h. */
41119 #include <math.h>
41120 #ifdef HAVE_IEEEFP_H
41121 #include <ieeefp.h>
41122 #endif
41125 main ()
41127 isinf(0);
41129 return 0;
41131 _ACEOF
41132 if ac_fn_cxx_try_compile "$LINENO"; then :
41133 glibcxx_cv_func_isinf_use=yes
41134 else
41135 glibcxx_cv_func_isinf_use=no
41137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41138 ac_ext=c
41139 ac_cpp='$CPP $CPPFLAGS'
41140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41149 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41151 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41152 for ac_func in isinf
41153 do :
41154 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41155 if test "x$ac_cv_func_isinf" = x""yes; then :
41156 cat >>confdefs.h <<_ACEOF
41157 #define HAVE_ISINF 1
41158 _ACEOF
41161 done
41163 else
41165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41166 $as_echo_n "checking for _isinf declaration... " >&6; }
41167 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41168 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
41169 $as_echo_n "(cached) " >&6
41170 else
41173 ac_ext=cpp
41174 ac_cpp='$CXXCPP $CPPFLAGS'
41175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41180 /* end confdefs.h. */
41181 #include <math.h>
41182 #ifdef HAVE_IEEEFP_H
41183 #include <ieeefp.h>
41184 #endif
41187 main ()
41189 _isinf(0);
41191 return 0;
41193 _ACEOF
41194 if ac_fn_cxx_try_compile "$LINENO"; then :
41195 glibcxx_cv_func__isinf_use=yes
41196 else
41197 glibcxx_cv_func__isinf_use=no
41199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41200 ac_ext=c
41201 ac_cpp='$CPP $CPPFLAGS'
41202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41211 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41213 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41214 for ac_func in _isinf
41215 do :
41216 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41217 if test "x$ac_cv_func__isinf" = x""yes; then :
41218 cat >>confdefs.h <<_ACEOF
41219 #define HAVE__ISINF 1
41220 _ACEOF
41223 done
41232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41233 $as_echo_n "checking for isnan declaration... " >&6; }
41234 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41235 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
41236 $as_echo_n "(cached) " >&6
41237 else
41240 ac_ext=cpp
41241 ac_cpp='$CXXCPP $CPPFLAGS'
41242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41247 /* end confdefs.h. */
41248 #include <math.h>
41249 #ifdef HAVE_IEEEFP_H
41250 #include <ieeefp.h>
41251 #endif
41254 main ()
41256 isnan(0);
41258 return 0;
41260 _ACEOF
41261 if ac_fn_cxx_try_compile "$LINENO"; then :
41262 glibcxx_cv_func_isnan_use=yes
41263 else
41264 glibcxx_cv_func_isnan_use=no
41266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41267 ac_ext=c
41268 ac_cpp='$CPP $CPPFLAGS'
41269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41278 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41280 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41281 for ac_func in isnan
41282 do :
41283 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41284 if test "x$ac_cv_func_isnan" = x""yes; then :
41285 cat >>confdefs.h <<_ACEOF
41286 #define HAVE_ISNAN 1
41287 _ACEOF
41290 done
41292 else
41294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41295 $as_echo_n "checking for _isnan declaration... " >&6; }
41296 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41297 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
41298 $as_echo_n "(cached) " >&6
41299 else
41302 ac_ext=cpp
41303 ac_cpp='$CXXCPP $CPPFLAGS'
41304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41309 /* end confdefs.h. */
41310 #include <math.h>
41311 #ifdef HAVE_IEEEFP_H
41312 #include <ieeefp.h>
41313 #endif
41316 main ()
41318 _isnan(0);
41320 return 0;
41322 _ACEOF
41323 if ac_fn_cxx_try_compile "$LINENO"; then :
41324 glibcxx_cv_func__isnan_use=yes
41325 else
41326 glibcxx_cv_func__isnan_use=no
41328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41329 ac_ext=c
41330 ac_cpp='$CPP $CPPFLAGS'
41331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41340 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41342 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41343 for ac_func in _isnan
41344 do :
41345 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41346 if test "x$ac_cv_func__isnan" = x""yes; then :
41347 cat >>confdefs.h <<_ACEOF
41348 #define HAVE__ISNAN 1
41349 _ACEOF
41352 done
41361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41362 $as_echo_n "checking for finite declaration... " >&6; }
41363 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41364 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
41365 $as_echo_n "(cached) " >&6
41366 else
41369 ac_ext=cpp
41370 ac_cpp='$CXXCPP $CPPFLAGS'
41371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41376 /* end confdefs.h. */
41377 #include <math.h>
41378 #ifdef HAVE_IEEEFP_H
41379 #include <ieeefp.h>
41380 #endif
41383 main ()
41385 finite(0);
41387 return 0;
41389 _ACEOF
41390 if ac_fn_cxx_try_compile "$LINENO"; then :
41391 glibcxx_cv_func_finite_use=yes
41392 else
41393 glibcxx_cv_func_finite_use=no
41395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41396 ac_ext=c
41397 ac_cpp='$CPP $CPPFLAGS'
41398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41407 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41409 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41410 for ac_func in finite
41411 do :
41412 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41413 if test "x$ac_cv_func_finite" = x""yes; then :
41414 cat >>confdefs.h <<_ACEOF
41415 #define HAVE_FINITE 1
41416 _ACEOF
41419 done
41421 else
41423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41424 $as_echo_n "checking for _finite declaration... " >&6; }
41425 if test x${glibcxx_cv_func__finite_use+set} != xset; then
41426 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
41427 $as_echo_n "(cached) " >&6
41428 else
41431 ac_ext=cpp
41432 ac_cpp='$CXXCPP $CPPFLAGS'
41433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41438 /* end confdefs.h. */
41439 #include <math.h>
41440 #ifdef HAVE_IEEEFP_H
41441 #include <ieeefp.h>
41442 #endif
41445 main ()
41447 _finite(0);
41449 return 0;
41451 _ACEOF
41452 if ac_fn_cxx_try_compile "$LINENO"; then :
41453 glibcxx_cv_func__finite_use=yes
41454 else
41455 glibcxx_cv_func__finite_use=no
41457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41458 ac_ext=c
41459 ac_cpp='$CPP $CPPFLAGS'
41460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
41469 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
41471 if test x$glibcxx_cv_func__finite_use = x"yes"; then
41472 for ac_func in _finite
41473 do :
41474 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41475 if test "x$ac_cv_func__finite" = x""yes; then :
41476 cat >>confdefs.h <<_ACEOF
41477 #define HAVE__FINITE 1
41478 _ACEOF
41481 done
41490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41491 $as_echo_n "checking for sincos declaration... " >&6; }
41492 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41493 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
41494 $as_echo_n "(cached) " >&6
41495 else
41498 ac_ext=cpp
41499 ac_cpp='$CXXCPP $CPPFLAGS'
41500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41505 /* end confdefs.h. */
41506 #include <math.h>
41508 main ()
41510 sincos(0, 0, 0);
41512 return 0;
41514 _ACEOF
41515 if ac_fn_cxx_try_compile "$LINENO"; then :
41516 glibcxx_cv_func_sincos_use=yes
41517 else
41518 glibcxx_cv_func_sincos_use=no
41520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41521 ac_ext=c
41522 ac_cpp='$CPP $CPPFLAGS'
41523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
41532 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
41534 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
41535 for ac_func in sincos
41536 do :
41537 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
41538 if test "x$ac_cv_func_sincos" = x""yes; then :
41539 cat >>confdefs.h <<_ACEOF
41540 #define HAVE_SINCOS 1
41541 _ACEOF
41544 done
41546 else
41548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
41549 $as_echo_n "checking for _sincos declaration... " >&6; }
41550 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
41551 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
41552 $as_echo_n "(cached) " >&6
41553 else
41556 ac_ext=cpp
41557 ac_cpp='$CXXCPP $CPPFLAGS'
41558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41563 /* end confdefs.h. */
41564 #include <math.h>
41566 main ()
41568 _sincos(0, 0, 0);
41570 return 0;
41572 _ACEOF
41573 if ac_fn_cxx_try_compile "$LINENO"; then :
41574 glibcxx_cv_func__sincos_use=yes
41575 else
41576 glibcxx_cv_func__sincos_use=no
41578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41579 ac_ext=c
41580 ac_cpp='$CPP $CPPFLAGS'
41581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
41590 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
41592 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
41593 for ac_func in _sincos
41594 do :
41595 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
41596 if test "x$ac_cv_func__sincos" = x""yes; then :
41597 cat >>confdefs.h <<_ACEOF
41598 #define HAVE__SINCOS 1
41599 _ACEOF
41602 done
41611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
41612 $as_echo_n "checking for fpclass declaration... " >&6; }
41613 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
41614 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
41615 $as_echo_n "(cached) " >&6
41616 else
41619 ac_ext=cpp
41620 ac_cpp='$CXXCPP $CPPFLAGS'
41621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41626 /* end confdefs.h. */
41627 #include <math.h>
41628 #ifdef HAVE_IEEEFP_H
41629 #include <ieeefp.h>
41630 #endif
41633 main ()
41635 fpclass(0);
41637 return 0;
41639 _ACEOF
41640 if ac_fn_cxx_try_compile "$LINENO"; then :
41641 glibcxx_cv_func_fpclass_use=yes
41642 else
41643 glibcxx_cv_func_fpclass_use=no
41645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41646 ac_ext=c
41647 ac_cpp='$CPP $CPPFLAGS'
41648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
41657 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
41659 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
41660 for ac_func in fpclass
41661 do :
41662 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
41663 if test "x$ac_cv_func_fpclass" = x""yes; then :
41664 cat >>confdefs.h <<_ACEOF
41665 #define HAVE_FPCLASS 1
41666 _ACEOF
41669 done
41671 else
41673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
41674 $as_echo_n "checking for _fpclass declaration... " >&6; }
41675 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
41676 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
41677 $as_echo_n "(cached) " >&6
41678 else
41681 ac_ext=cpp
41682 ac_cpp='$CXXCPP $CPPFLAGS'
41683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41688 /* end confdefs.h. */
41689 #include <math.h>
41690 #ifdef HAVE_IEEEFP_H
41691 #include <ieeefp.h>
41692 #endif
41695 main ()
41697 _fpclass(0);
41699 return 0;
41701 _ACEOF
41702 if ac_fn_cxx_try_compile "$LINENO"; then :
41703 glibcxx_cv_func__fpclass_use=yes
41704 else
41705 glibcxx_cv_func__fpclass_use=no
41707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41708 ac_ext=c
41709 ac_cpp='$CPP $CPPFLAGS'
41710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
41719 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
41721 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
41722 for ac_func in _fpclass
41723 do :
41724 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
41725 if test "x$ac_cv_func__fpclass" = x""yes; then :
41726 cat >>confdefs.h <<_ACEOF
41727 #define HAVE__FPCLASS 1
41728 _ACEOF
41731 done
41740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
41741 $as_echo_n "checking for qfpclass declaration... " >&6; }
41742 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
41743 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
41744 $as_echo_n "(cached) " >&6
41745 else
41748 ac_ext=cpp
41749 ac_cpp='$CXXCPP $CPPFLAGS'
41750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41755 /* end confdefs.h. */
41756 #include <math.h>
41757 #ifdef HAVE_IEEEFP_H
41758 #include <ieeefp.h>
41759 #endif
41762 main ()
41764 qfpclass(0);
41766 return 0;
41768 _ACEOF
41769 if ac_fn_cxx_try_compile "$LINENO"; then :
41770 glibcxx_cv_func_qfpclass_use=yes
41771 else
41772 glibcxx_cv_func_qfpclass_use=no
41774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41775 ac_ext=c
41776 ac_cpp='$CPP $CPPFLAGS'
41777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
41786 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
41788 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
41789 for ac_func in qfpclass
41790 do :
41791 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
41792 if test "x$ac_cv_func_qfpclass" = x""yes; then :
41793 cat >>confdefs.h <<_ACEOF
41794 #define HAVE_QFPCLASS 1
41795 _ACEOF
41798 done
41800 else
41802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
41803 $as_echo_n "checking for _qfpclass declaration... " >&6; }
41804 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
41805 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
41806 $as_echo_n "(cached) " >&6
41807 else
41810 ac_ext=cpp
41811 ac_cpp='$CXXCPP $CPPFLAGS'
41812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41817 /* end confdefs.h. */
41818 #include <math.h>
41819 #ifdef HAVE_IEEEFP_H
41820 #include <ieeefp.h>
41821 #endif
41824 main ()
41826 _qfpclass(0);
41828 return 0;
41830 _ACEOF
41831 if ac_fn_cxx_try_compile "$LINENO"; then :
41832 glibcxx_cv_func__qfpclass_use=yes
41833 else
41834 glibcxx_cv_func__qfpclass_use=no
41836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41837 ac_ext=c
41838 ac_cpp='$CPP $CPPFLAGS'
41839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
41848 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
41850 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
41851 for ac_func in _qfpclass
41852 do :
41853 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
41854 if test "x$ac_cv_func__qfpclass" = x""yes; then :
41855 cat >>confdefs.h <<_ACEOF
41856 #define HAVE__QFPCLASS 1
41857 _ACEOF
41860 done
41869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
41870 $as_echo_n "checking for hypot declaration... " >&6; }
41871 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
41872 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
41873 $as_echo_n "(cached) " >&6
41874 else
41877 ac_ext=cpp
41878 ac_cpp='$CXXCPP $CPPFLAGS'
41879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41884 /* end confdefs.h. */
41885 #include <math.h>
41887 main ()
41889 hypot(0, 0);
41891 return 0;
41893 _ACEOF
41894 if ac_fn_cxx_try_compile "$LINENO"; then :
41895 glibcxx_cv_func_hypot_use=yes
41896 else
41897 glibcxx_cv_func_hypot_use=no
41899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41900 ac_ext=c
41901 ac_cpp='$CPP $CPPFLAGS'
41902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
41911 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
41913 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
41914 for ac_func in hypot
41915 do :
41916 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
41917 if test "x$ac_cv_func_hypot" = x""yes; then :
41918 cat >>confdefs.h <<_ACEOF
41919 #define HAVE_HYPOT 1
41920 _ACEOF
41923 done
41925 else
41927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
41928 $as_echo_n "checking for _hypot declaration... " >&6; }
41929 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
41930 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
41931 $as_echo_n "(cached) " >&6
41932 else
41935 ac_ext=cpp
41936 ac_cpp='$CXXCPP $CPPFLAGS'
41937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41942 /* end confdefs.h. */
41943 #include <math.h>
41945 main ()
41947 _hypot(0, 0);
41949 return 0;
41951 _ACEOF
41952 if ac_fn_cxx_try_compile "$LINENO"; then :
41953 glibcxx_cv_func__hypot_use=yes
41954 else
41955 glibcxx_cv_func__hypot_use=no
41957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41958 ac_ext=c
41959 ac_cpp='$CPP $CPPFLAGS'
41960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
41969 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
41971 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
41972 for ac_func in _hypot
41973 do :
41974 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
41975 if test "x$ac_cv_func__hypot" = x""yes; then :
41976 cat >>confdefs.h <<_ACEOF
41977 #define HAVE__HYPOT 1
41978 _ACEOF
41981 done
41990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
41991 $as_echo_n "checking for float trig functions... " >&6; }
41992 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
41993 $as_echo_n "(cached) " >&6
41994 else
41997 ac_ext=cpp
41998 ac_cpp='$CXXCPP $CPPFLAGS'
41999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42004 /* end confdefs.h. */
42005 #include <math.h>
42007 main ()
42009 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42011 return 0;
42013 _ACEOF
42014 if ac_fn_cxx_try_compile "$LINENO"; then :
42015 glibcxx_cv_func_float_trig_use=yes
42016 else
42017 glibcxx_cv_func_float_trig_use=no
42019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42020 ac_ext=c
42021 ac_cpp='$CPP $CPPFLAGS'
42022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42029 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42030 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42031 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42032 do :
42033 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42034 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42035 eval as_val=\$$as_ac_var
42036 if test "x$as_val" = x""yes; then :
42037 cat >>confdefs.h <<_ACEOF
42038 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42039 _ACEOF
42042 done
42044 else
42045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42046 $as_echo_n "checking for _float trig functions... " >&6; }
42047 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
42048 $as_echo_n "(cached) " >&6
42049 else
42052 ac_ext=cpp
42053 ac_cpp='$CXXCPP $CPPFLAGS'
42054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42059 /* end confdefs.h. */
42060 #include <math.h>
42062 main ()
42064 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42066 return 0;
42068 _ACEOF
42069 if ac_fn_cxx_try_compile "$LINENO"; then :
42070 glibcxx_cv_func__float_trig_use=yes
42071 else
42072 glibcxx_cv_func__float_trig_use=no
42074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42075 ac_ext=c
42076 ac_cpp='$CPP $CPPFLAGS'
42077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42084 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42085 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42086 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42087 do :
42088 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42089 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42090 eval as_val=\$$as_ac_var
42091 if test "x$as_val" = x""yes; then :
42092 cat >>confdefs.h <<_ACEOF
42093 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42094 _ACEOF
42097 done
42106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42107 $as_echo_n "checking for float round functions... " >&6; }
42108 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
42109 $as_echo_n "(cached) " >&6
42110 else
42113 ac_ext=cpp
42114 ac_cpp='$CXXCPP $CPPFLAGS'
42115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42120 /* end confdefs.h. */
42121 #include <math.h>
42123 main ()
42125 ceilf (0); floorf (0);
42127 return 0;
42129 _ACEOF
42130 if ac_fn_cxx_try_compile "$LINENO"; then :
42131 glibcxx_cv_func_float_round_use=yes
42132 else
42133 glibcxx_cv_func_float_round_use=no
42135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42136 ac_ext=c
42137 ac_cpp='$CPP $CPPFLAGS'
42138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42145 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42146 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42147 for ac_func in ceilf floorf
42148 do :
42149 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42150 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42151 eval as_val=\$$as_ac_var
42152 if test "x$as_val" = x""yes; then :
42153 cat >>confdefs.h <<_ACEOF
42154 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42155 _ACEOF
42158 done
42160 else
42161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42162 $as_echo_n "checking for _float round functions... " >&6; }
42163 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
42164 $as_echo_n "(cached) " >&6
42165 else
42168 ac_ext=cpp
42169 ac_cpp='$CXXCPP $CPPFLAGS'
42170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42175 /* end confdefs.h. */
42176 #include <math.h>
42178 main ()
42180 _ceilf (0); _floorf (0);
42182 return 0;
42184 _ACEOF
42185 if ac_fn_cxx_try_compile "$LINENO"; then :
42186 glibcxx_cv_func__float_round_use=yes
42187 else
42188 glibcxx_cv_func__float_round_use=no
42190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42191 ac_ext=c
42192 ac_cpp='$CPP $CPPFLAGS'
42193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42200 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42201 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42202 for ac_func in _ceilf _floorf
42203 do :
42204 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42205 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42206 eval as_val=\$$as_ac_var
42207 if test "x$as_val" = x""yes; then :
42208 cat >>confdefs.h <<_ACEOF
42209 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42210 _ACEOF
42213 done
42223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42224 $as_echo_n "checking for expf declaration... " >&6; }
42225 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42226 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
42227 $as_echo_n "(cached) " >&6
42228 else
42231 ac_ext=cpp
42232 ac_cpp='$CXXCPP $CPPFLAGS'
42233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42238 /* end confdefs.h. */
42239 #include <math.h>
42240 #ifdef HAVE_IEEEFP_H
42241 #include <ieeefp.h>
42242 #endif
42245 main ()
42247 expf(0);
42249 return 0;
42251 _ACEOF
42252 if ac_fn_cxx_try_compile "$LINENO"; then :
42253 glibcxx_cv_func_expf_use=yes
42254 else
42255 glibcxx_cv_func_expf_use=no
42257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42258 ac_ext=c
42259 ac_cpp='$CPP $CPPFLAGS'
42260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42269 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42271 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42272 for ac_func in expf
42273 do :
42274 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42275 if test "x$ac_cv_func_expf" = x""yes; then :
42276 cat >>confdefs.h <<_ACEOF
42277 #define HAVE_EXPF 1
42278 _ACEOF
42281 done
42283 else
42285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42286 $as_echo_n "checking for _expf declaration... " >&6; }
42287 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42288 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
42289 $as_echo_n "(cached) " >&6
42290 else
42293 ac_ext=cpp
42294 ac_cpp='$CXXCPP $CPPFLAGS'
42295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42300 /* end confdefs.h. */
42301 #include <math.h>
42302 #ifdef HAVE_IEEEFP_H
42303 #include <ieeefp.h>
42304 #endif
42307 main ()
42309 _expf(0);
42311 return 0;
42313 _ACEOF
42314 if ac_fn_cxx_try_compile "$LINENO"; then :
42315 glibcxx_cv_func__expf_use=yes
42316 else
42317 glibcxx_cv_func__expf_use=no
42319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42320 ac_ext=c
42321 ac_cpp='$CPP $CPPFLAGS'
42322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42331 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42333 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42334 for ac_func in _expf
42335 do :
42336 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42337 if test "x$ac_cv_func__expf" = x""yes; then :
42338 cat >>confdefs.h <<_ACEOF
42339 #define HAVE__EXPF 1
42340 _ACEOF
42343 done
42352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42353 $as_echo_n "checking for isnanf declaration... " >&6; }
42354 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42355 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
42356 $as_echo_n "(cached) " >&6
42357 else
42360 ac_ext=cpp
42361 ac_cpp='$CXXCPP $CPPFLAGS'
42362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42367 /* end confdefs.h. */
42368 #include <math.h>
42369 #ifdef HAVE_IEEEFP_H
42370 #include <ieeefp.h>
42371 #endif
42374 main ()
42376 isnanf(0);
42378 return 0;
42380 _ACEOF
42381 if ac_fn_cxx_try_compile "$LINENO"; then :
42382 glibcxx_cv_func_isnanf_use=yes
42383 else
42384 glibcxx_cv_func_isnanf_use=no
42386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42387 ac_ext=c
42388 ac_cpp='$CPP $CPPFLAGS'
42389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42398 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42400 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42401 for ac_func in isnanf
42402 do :
42403 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42404 if test "x$ac_cv_func_isnanf" = x""yes; then :
42405 cat >>confdefs.h <<_ACEOF
42406 #define HAVE_ISNANF 1
42407 _ACEOF
42410 done
42412 else
42414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42415 $as_echo_n "checking for _isnanf declaration... " >&6; }
42416 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42417 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
42418 $as_echo_n "(cached) " >&6
42419 else
42422 ac_ext=cpp
42423 ac_cpp='$CXXCPP $CPPFLAGS'
42424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42429 /* end confdefs.h. */
42430 #include <math.h>
42431 #ifdef HAVE_IEEEFP_H
42432 #include <ieeefp.h>
42433 #endif
42436 main ()
42438 _isnanf(0);
42440 return 0;
42442 _ACEOF
42443 if ac_fn_cxx_try_compile "$LINENO"; then :
42444 glibcxx_cv_func__isnanf_use=yes
42445 else
42446 glibcxx_cv_func__isnanf_use=no
42448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42449 ac_ext=c
42450 ac_cpp='$CPP $CPPFLAGS'
42451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42460 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42462 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42463 for ac_func in _isnanf
42464 do :
42465 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42466 if test "x$ac_cv_func__isnanf" = x""yes; then :
42467 cat >>confdefs.h <<_ACEOF
42468 #define HAVE__ISNANF 1
42469 _ACEOF
42472 done
42481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42482 $as_echo_n "checking for isinff declaration... " >&6; }
42483 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42484 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
42485 $as_echo_n "(cached) " >&6
42486 else
42489 ac_ext=cpp
42490 ac_cpp='$CXXCPP $CPPFLAGS'
42491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42496 /* end confdefs.h. */
42497 #include <math.h>
42498 #ifdef HAVE_IEEEFP_H
42499 #include <ieeefp.h>
42500 #endif
42503 main ()
42505 isinff(0);
42507 return 0;
42509 _ACEOF
42510 if ac_fn_cxx_try_compile "$LINENO"; then :
42511 glibcxx_cv_func_isinff_use=yes
42512 else
42513 glibcxx_cv_func_isinff_use=no
42515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42516 ac_ext=c
42517 ac_cpp='$CPP $CPPFLAGS'
42518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
42527 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
42529 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
42530 for ac_func in isinff
42531 do :
42532 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
42533 if test "x$ac_cv_func_isinff" = x""yes; then :
42534 cat >>confdefs.h <<_ACEOF
42535 #define HAVE_ISINFF 1
42536 _ACEOF
42539 done
42541 else
42543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
42544 $as_echo_n "checking for _isinff declaration... " >&6; }
42545 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
42546 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
42547 $as_echo_n "(cached) " >&6
42548 else
42551 ac_ext=cpp
42552 ac_cpp='$CXXCPP $CPPFLAGS'
42553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42558 /* end confdefs.h. */
42559 #include <math.h>
42560 #ifdef HAVE_IEEEFP_H
42561 #include <ieeefp.h>
42562 #endif
42565 main ()
42567 _isinff(0);
42569 return 0;
42571 _ACEOF
42572 if ac_fn_cxx_try_compile "$LINENO"; then :
42573 glibcxx_cv_func__isinff_use=yes
42574 else
42575 glibcxx_cv_func__isinff_use=no
42577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42578 ac_ext=c
42579 ac_cpp='$CPP $CPPFLAGS'
42580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
42589 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
42591 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
42592 for ac_func in _isinff
42593 do :
42594 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
42595 if test "x$ac_cv_func__isinff" = x""yes; then :
42596 cat >>confdefs.h <<_ACEOF
42597 #define HAVE__ISINFF 1
42598 _ACEOF
42601 done
42610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
42611 $as_echo_n "checking for atan2f declaration... " >&6; }
42612 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
42613 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
42614 $as_echo_n "(cached) " >&6
42615 else
42618 ac_ext=cpp
42619 ac_cpp='$CXXCPP $CPPFLAGS'
42620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42625 /* end confdefs.h. */
42626 #include <math.h>
42628 main ()
42630 atan2f(0, 0);
42632 return 0;
42634 _ACEOF
42635 if ac_fn_cxx_try_compile "$LINENO"; then :
42636 glibcxx_cv_func_atan2f_use=yes
42637 else
42638 glibcxx_cv_func_atan2f_use=no
42640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42641 ac_ext=c
42642 ac_cpp='$CPP $CPPFLAGS'
42643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
42652 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
42654 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
42655 for ac_func in atan2f
42656 do :
42657 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
42658 if test "x$ac_cv_func_atan2f" = x""yes; then :
42659 cat >>confdefs.h <<_ACEOF
42660 #define HAVE_ATAN2F 1
42661 _ACEOF
42664 done
42666 else
42668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
42669 $as_echo_n "checking for _atan2f declaration... " >&6; }
42670 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
42671 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
42672 $as_echo_n "(cached) " >&6
42673 else
42676 ac_ext=cpp
42677 ac_cpp='$CXXCPP $CPPFLAGS'
42678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42683 /* end confdefs.h. */
42684 #include <math.h>
42686 main ()
42688 _atan2f(0, 0);
42690 return 0;
42692 _ACEOF
42693 if ac_fn_cxx_try_compile "$LINENO"; then :
42694 glibcxx_cv_func__atan2f_use=yes
42695 else
42696 glibcxx_cv_func__atan2f_use=no
42698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42699 ac_ext=c
42700 ac_cpp='$CPP $CPPFLAGS'
42701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
42710 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
42712 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
42713 for ac_func in _atan2f
42714 do :
42715 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
42716 if test "x$ac_cv_func__atan2f" = x""yes; then :
42717 cat >>confdefs.h <<_ACEOF
42718 #define HAVE__ATAN2F 1
42719 _ACEOF
42722 done
42731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
42732 $as_echo_n "checking for fabsf declaration... " >&6; }
42733 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
42734 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
42735 $as_echo_n "(cached) " >&6
42736 else
42739 ac_ext=cpp
42740 ac_cpp='$CXXCPP $CPPFLAGS'
42741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42746 /* end confdefs.h. */
42747 #include <math.h>
42748 #ifdef HAVE_IEEEFP_H
42749 #include <ieeefp.h>
42750 #endif
42753 main ()
42755 fabsf(0);
42757 return 0;
42759 _ACEOF
42760 if ac_fn_cxx_try_compile "$LINENO"; then :
42761 glibcxx_cv_func_fabsf_use=yes
42762 else
42763 glibcxx_cv_func_fabsf_use=no
42765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42766 ac_ext=c
42767 ac_cpp='$CPP $CPPFLAGS'
42768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
42777 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
42779 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
42780 for ac_func in fabsf
42781 do :
42782 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
42783 if test "x$ac_cv_func_fabsf" = x""yes; then :
42784 cat >>confdefs.h <<_ACEOF
42785 #define HAVE_FABSF 1
42786 _ACEOF
42789 done
42791 else
42793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
42794 $as_echo_n "checking for _fabsf declaration... " >&6; }
42795 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
42796 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
42797 $as_echo_n "(cached) " >&6
42798 else
42801 ac_ext=cpp
42802 ac_cpp='$CXXCPP $CPPFLAGS'
42803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42808 /* end confdefs.h. */
42809 #include <math.h>
42810 #ifdef HAVE_IEEEFP_H
42811 #include <ieeefp.h>
42812 #endif
42815 main ()
42817 _fabsf(0);
42819 return 0;
42821 _ACEOF
42822 if ac_fn_cxx_try_compile "$LINENO"; then :
42823 glibcxx_cv_func__fabsf_use=yes
42824 else
42825 glibcxx_cv_func__fabsf_use=no
42827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42828 ac_ext=c
42829 ac_cpp='$CPP $CPPFLAGS'
42830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
42839 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
42841 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
42842 for ac_func in _fabsf
42843 do :
42844 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
42845 if test "x$ac_cv_func__fabsf" = x""yes; then :
42846 cat >>confdefs.h <<_ACEOF
42847 #define HAVE__FABSF 1
42848 _ACEOF
42851 done
42860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
42861 $as_echo_n "checking for fmodf declaration... " >&6; }
42862 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
42863 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
42864 $as_echo_n "(cached) " >&6
42865 else
42868 ac_ext=cpp
42869 ac_cpp='$CXXCPP $CPPFLAGS'
42870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42875 /* end confdefs.h. */
42876 #include <math.h>
42878 main ()
42880 fmodf(0, 0);
42882 return 0;
42884 _ACEOF
42885 if ac_fn_cxx_try_compile "$LINENO"; then :
42886 glibcxx_cv_func_fmodf_use=yes
42887 else
42888 glibcxx_cv_func_fmodf_use=no
42890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42891 ac_ext=c
42892 ac_cpp='$CPP $CPPFLAGS'
42893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
42902 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
42904 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
42905 for ac_func in fmodf
42906 do :
42907 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
42908 if test "x$ac_cv_func_fmodf" = x""yes; then :
42909 cat >>confdefs.h <<_ACEOF
42910 #define HAVE_FMODF 1
42911 _ACEOF
42914 done
42916 else
42918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
42919 $as_echo_n "checking for _fmodf declaration... " >&6; }
42920 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
42921 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
42922 $as_echo_n "(cached) " >&6
42923 else
42926 ac_ext=cpp
42927 ac_cpp='$CXXCPP $CPPFLAGS'
42928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42933 /* end confdefs.h. */
42934 #include <math.h>
42936 main ()
42938 _fmodf(0, 0);
42940 return 0;
42942 _ACEOF
42943 if ac_fn_cxx_try_compile "$LINENO"; then :
42944 glibcxx_cv_func__fmodf_use=yes
42945 else
42946 glibcxx_cv_func__fmodf_use=no
42948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42949 ac_ext=c
42950 ac_cpp='$CPP $CPPFLAGS'
42951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
42960 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
42962 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
42963 for ac_func in _fmodf
42964 do :
42965 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
42966 if test "x$ac_cv_func__fmodf" = x""yes; then :
42967 cat >>confdefs.h <<_ACEOF
42968 #define HAVE__FMODF 1
42969 _ACEOF
42972 done
42981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
42982 $as_echo_n "checking for frexpf declaration... " >&6; }
42983 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
42984 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
42985 $as_echo_n "(cached) " >&6
42986 else
42989 ac_ext=cpp
42990 ac_cpp='$CXXCPP $CPPFLAGS'
42991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42996 /* end confdefs.h. */
42997 #include <math.h>
42999 main ()
43001 frexpf(0, 0);
43003 return 0;
43005 _ACEOF
43006 if ac_fn_cxx_try_compile "$LINENO"; then :
43007 glibcxx_cv_func_frexpf_use=yes
43008 else
43009 glibcxx_cv_func_frexpf_use=no
43011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43012 ac_ext=c
43013 ac_cpp='$CPP $CPPFLAGS'
43014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43023 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43025 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43026 for ac_func in frexpf
43027 do :
43028 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43029 if test "x$ac_cv_func_frexpf" = x""yes; then :
43030 cat >>confdefs.h <<_ACEOF
43031 #define HAVE_FREXPF 1
43032 _ACEOF
43035 done
43037 else
43039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43040 $as_echo_n "checking for _frexpf declaration... " >&6; }
43041 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43042 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
43043 $as_echo_n "(cached) " >&6
43044 else
43047 ac_ext=cpp
43048 ac_cpp='$CXXCPP $CPPFLAGS'
43049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43054 /* end confdefs.h. */
43055 #include <math.h>
43057 main ()
43059 _frexpf(0, 0);
43061 return 0;
43063 _ACEOF
43064 if ac_fn_cxx_try_compile "$LINENO"; then :
43065 glibcxx_cv_func__frexpf_use=yes
43066 else
43067 glibcxx_cv_func__frexpf_use=no
43069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43070 ac_ext=c
43071 ac_cpp='$CPP $CPPFLAGS'
43072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43081 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43083 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43084 for ac_func in _frexpf
43085 do :
43086 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43087 if test "x$ac_cv_func__frexpf" = x""yes; then :
43088 cat >>confdefs.h <<_ACEOF
43089 #define HAVE__FREXPF 1
43090 _ACEOF
43093 done
43102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43103 $as_echo_n "checking for hypotf declaration... " >&6; }
43104 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43105 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
43106 $as_echo_n "(cached) " >&6
43107 else
43110 ac_ext=cpp
43111 ac_cpp='$CXXCPP $CPPFLAGS'
43112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43117 /* end confdefs.h. */
43118 #include <math.h>
43120 main ()
43122 hypotf(0, 0);
43124 return 0;
43126 _ACEOF
43127 if ac_fn_cxx_try_compile "$LINENO"; then :
43128 glibcxx_cv_func_hypotf_use=yes
43129 else
43130 glibcxx_cv_func_hypotf_use=no
43132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43133 ac_ext=c
43134 ac_cpp='$CPP $CPPFLAGS'
43135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43144 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43146 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43147 for ac_func in hypotf
43148 do :
43149 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43150 if test "x$ac_cv_func_hypotf" = x""yes; then :
43151 cat >>confdefs.h <<_ACEOF
43152 #define HAVE_HYPOTF 1
43153 _ACEOF
43156 done
43158 else
43160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43161 $as_echo_n "checking for _hypotf declaration... " >&6; }
43162 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43163 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
43164 $as_echo_n "(cached) " >&6
43165 else
43168 ac_ext=cpp
43169 ac_cpp='$CXXCPP $CPPFLAGS'
43170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43175 /* end confdefs.h. */
43176 #include <math.h>
43178 main ()
43180 _hypotf(0, 0);
43182 return 0;
43184 _ACEOF
43185 if ac_fn_cxx_try_compile "$LINENO"; then :
43186 glibcxx_cv_func__hypotf_use=yes
43187 else
43188 glibcxx_cv_func__hypotf_use=no
43190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43191 ac_ext=c
43192 ac_cpp='$CPP $CPPFLAGS'
43193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43202 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43204 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43205 for ac_func in _hypotf
43206 do :
43207 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43208 if test "x$ac_cv_func__hypotf" = x""yes; then :
43209 cat >>confdefs.h <<_ACEOF
43210 #define HAVE__HYPOTF 1
43211 _ACEOF
43214 done
43223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43224 $as_echo_n "checking for ldexpf declaration... " >&6; }
43225 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43226 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
43227 $as_echo_n "(cached) " >&6
43228 else
43231 ac_ext=cpp
43232 ac_cpp='$CXXCPP $CPPFLAGS'
43233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43238 /* end confdefs.h. */
43239 #include <math.h>
43241 main ()
43243 ldexpf(0, 0);
43245 return 0;
43247 _ACEOF
43248 if ac_fn_cxx_try_compile "$LINENO"; then :
43249 glibcxx_cv_func_ldexpf_use=yes
43250 else
43251 glibcxx_cv_func_ldexpf_use=no
43253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43254 ac_ext=c
43255 ac_cpp='$CPP $CPPFLAGS'
43256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43265 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43267 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43268 for ac_func in ldexpf
43269 do :
43270 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43271 if test "x$ac_cv_func_ldexpf" = x""yes; then :
43272 cat >>confdefs.h <<_ACEOF
43273 #define HAVE_LDEXPF 1
43274 _ACEOF
43277 done
43279 else
43281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43282 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43283 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43284 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
43285 $as_echo_n "(cached) " >&6
43286 else
43289 ac_ext=cpp
43290 ac_cpp='$CXXCPP $CPPFLAGS'
43291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43296 /* end confdefs.h. */
43297 #include <math.h>
43299 main ()
43301 _ldexpf(0, 0);
43303 return 0;
43305 _ACEOF
43306 if ac_fn_cxx_try_compile "$LINENO"; then :
43307 glibcxx_cv_func__ldexpf_use=yes
43308 else
43309 glibcxx_cv_func__ldexpf_use=no
43311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43312 ac_ext=c
43313 ac_cpp='$CPP $CPPFLAGS'
43314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43323 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43325 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43326 for ac_func in _ldexpf
43327 do :
43328 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43329 if test "x$ac_cv_func__ldexpf" = x""yes; then :
43330 cat >>confdefs.h <<_ACEOF
43331 #define HAVE__LDEXPF 1
43332 _ACEOF
43335 done
43344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43345 $as_echo_n "checking for logf declaration... " >&6; }
43346 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43347 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
43348 $as_echo_n "(cached) " >&6
43349 else
43352 ac_ext=cpp
43353 ac_cpp='$CXXCPP $CPPFLAGS'
43354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43359 /* end confdefs.h. */
43360 #include <math.h>
43361 #ifdef HAVE_IEEEFP_H
43362 #include <ieeefp.h>
43363 #endif
43366 main ()
43368 logf(0);
43370 return 0;
43372 _ACEOF
43373 if ac_fn_cxx_try_compile "$LINENO"; then :
43374 glibcxx_cv_func_logf_use=yes
43375 else
43376 glibcxx_cv_func_logf_use=no
43378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43379 ac_ext=c
43380 ac_cpp='$CPP $CPPFLAGS'
43381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43390 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43392 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43393 for ac_func in logf
43394 do :
43395 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43396 if test "x$ac_cv_func_logf" = x""yes; then :
43397 cat >>confdefs.h <<_ACEOF
43398 #define HAVE_LOGF 1
43399 _ACEOF
43402 done
43404 else
43406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43407 $as_echo_n "checking for _logf declaration... " >&6; }
43408 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43409 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
43410 $as_echo_n "(cached) " >&6
43411 else
43414 ac_ext=cpp
43415 ac_cpp='$CXXCPP $CPPFLAGS'
43416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43421 /* end confdefs.h. */
43422 #include <math.h>
43423 #ifdef HAVE_IEEEFP_H
43424 #include <ieeefp.h>
43425 #endif
43428 main ()
43430 _logf(0);
43432 return 0;
43434 _ACEOF
43435 if ac_fn_cxx_try_compile "$LINENO"; then :
43436 glibcxx_cv_func__logf_use=yes
43437 else
43438 glibcxx_cv_func__logf_use=no
43440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43441 ac_ext=c
43442 ac_cpp='$CPP $CPPFLAGS'
43443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43452 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
43454 if test x$glibcxx_cv_func__logf_use = x"yes"; then
43455 for ac_func in _logf
43456 do :
43457 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43458 if test "x$ac_cv_func__logf" = x""yes; then :
43459 cat >>confdefs.h <<_ACEOF
43460 #define HAVE__LOGF 1
43461 _ACEOF
43464 done
43473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43474 $as_echo_n "checking for log10f declaration... " >&6; }
43475 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43476 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
43477 $as_echo_n "(cached) " >&6
43478 else
43481 ac_ext=cpp
43482 ac_cpp='$CXXCPP $CPPFLAGS'
43483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43488 /* end confdefs.h. */
43489 #include <math.h>
43490 #ifdef HAVE_IEEEFP_H
43491 #include <ieeefp.h>
43492 #endif
43495 main ()
43497 log10f(0);
43499 return 0;
43501 _ACEOF
43502 if ac_fn_cxx_try_compile "$LINENO"; then :
43503 glibcxx_cv_func_log10f_use=yes
43504 else
43505 glibcxx_cv_func_log10f_use=no
43507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43508 ac_ext=c
43509 ac_cpp='$CPP $CPPFLAGS'
43510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
43519 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
43521 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
43522 for ac_func in log10f
43523 do :
43524 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
43525 if test "x$ac_cv_func_log10f" = x""yes; then :
43526 cat >>confdefs.h <<_ACEOF
43527 #define HAVE_LOG10F 1
43528 _ACEOF
43531 done
43533 else
43535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
43536 $as_echo_n "checking for _log10f declaration... " >&6; }
43537 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
43538 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
43539 $as_echo_n "(cached) " >&6
43540 else
43543 ac_ext=cpp
43544 ac_cpp='$CXXCPP $CPPFLAGS'
43545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43550 /* end confdefs.h. */
43551 #include <math.h>
43552 #ifdef HAVE_IEEEFP_H
43553 #include <ieeefp.h>
43554 #endif
43557 main ()
43559 _log10f(0);
43561 return 0;
43563 _ACEOF
43564 if ac_fn_cxx_try_compile "$LINENO"; then :
43565 glibcxx_cv_func__log10f_use=yes
43566 else
43567 glibcxx_cv_func__log10f_use=no
43569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43570 ac_ext=c
43571 ac_cpp='$CPP $CPPFLAGS'
43572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
43581 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
43583 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
43584 for ac_func in _log10f
43585 do :
43586 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
43587 if test "x$ac_cv_func__log10f" = x""yes; then :
43588 cat >>confdefs.h <<_ACEOF
43589 #define HAVE__LOG10F 1
43590 _ACEOF
43593 done
43602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
43603 $as_echo_n "checking for modff declaration... " >&6; }
43604 if test x${glibcxx_cv_func_modff_use+set} != xset; then
43605 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
43606 $as_echo_n "(cached) " >&6
43607 else
43610 ac_ext=cpp
43611 ac_cpp='$CXXCPP $CPPFLAGS'
43612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43617 /* end confdefs.h. */
43618 #include <math.h>
43620 main ()
43622 modff(0, 0);
43624 return 0;
43626 _ACEOF
43627 if ac_fn_cxx_try_compile "$LINENO"; then :
43628 glibcxx_cv_func_modff_use=yes
43629 else
43630 glibcxx_cv_func_modff_use=no
43632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43633 ac_ext=c
43634 ac_cpp='$CPP $CPPFLAGS'
43635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
43644 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
43646 if test x$glibcxx_cv_func_modff_use = x"yes"; then
43647 for ac_func in modff
43648 do :
43649 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
43650 if test "x$ac_cv_func_modff" = x""yes; then :
43651 cat >>confdefs.h <<_ACEOF
43652 #define HAVE_MODFF 1
43653 _ACEOF
43656 done
43658 else
43660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
43661 $as_echo_n "checking for _modff declaration... " >&6; }
43662 if test x${glibcxx_cv_func__modff_use+set} != xset; then
43663 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
43664 $as_echo_n "(cached) " >&6
43665 else
43668 ac_ext=cpp
43669 ac_cpp='$CXXCPP $CPPFLAGS'
43670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43675 /* end confdefs.h. */
43676 #include <math.h>
43678 main ()
43680 _modff(0, 0);
43682 return 0;
43684 _ACEOF
43685 if ac_fn_cxx_try_compile "$LINENO"; then :
43686 glibcxx_cv_func__modff_use=yes
43687 else
43688 glibcxx_cv_func__modff_use=no
43690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43691 ac_ext=c
43692 ac_cpp='$CPP $CPPFLAGS'
43693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
43702 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
43704 if test x$glibcxx_cv_func__modff_use = x"yes"; then
43705 for ac_func in _modff
43706 do :
43707 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
43708 if test "x$ac_cv_func__modff" = x""yes; then :
43709 cat >>confdefs.h <<_ACEOF
43710 #define HAVE__MODFF 1
43711 _ACEOF
43714 done
43723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
43724 $as_echo_n "checking for modf declaration... " >&6; }
43725 if test x${glibcxx_cv_func_modf_use+set} != xset; then
43726 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
43727 $as_echo_n "(cached) " >&6
43728 else
43731 ac_ext=cpp
43732 ac_cpp='$CXXCPP $CPPFLAGS'
43733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43738 /* end confdefs.h. */
43739 #include <math.h>
43741 main ()
43743 modf(0, 0);
43745 return 0;
43747 _ACEOF
43748 if ac_fn_cxx_try_compile "$LINENO"; then :
43749 glibcxx_cv_func_modf_use=yes
43750 else
43751 glibcxx_cv_func_modf_use=no
43753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43754 ac_ext=c
43755 ac_cpp='$CPP $CPPFLAGS'
43756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
43765 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
43767 if test x$glibcxx_cv_func_modf_use = x"yes"; then
43768 for ac_func in modf
43769 do :
43770 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
43771 if test "x$ac_cv_func_modf" = x""yes; then :
43772 cat >>confdefs.h <<_ACEOF
43773 #define HAVE_MODF 1
43774 _ACEOF
43777 done
43779 else
43781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
43782 $as_echo_n "checking for _modf declaration... " >&6; }
43783 if test x${glibcxx_cv_func__modf_use+set} != xset; then
43784 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
43785 $as_echo_n "(cached) " >&6
43786 else
43789 ac_ext=cpp
43790 ac_cpp='$CXXCPP $CPPFLAGS'
43791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43796 /* end confdefs.h. */
43797 #include <math.h>
43799 main ()
43801 _modf(0, 0);
43803 return 0;
43805 _ACEOF
43806 if ac_fn_cxx_try_compile "$LINENO"; then :
43807 glibcxx_cv_func__modf_use=yes
43808 else
43809 glibcxx_cv_func__modf_use=no
43811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43812 ac_ext=c
43813 ac_cpp='$CPP $CPPFLAGS'
43814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
43823 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
43825 if test x$glibcxx_cv_func__modf_use = x"yes"; then
43826 for ac_func in _modf
43827 do :
43828 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
43829 if test "x$ac_cv_func__modf" = x""yes; then :
43830 cat >>confdefs.h <<_ACEOF
43831 #define HAVE__MODF 1
43832 _ACEOF
43835 done
43844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
43845 $as_echo_n "checking for powf declaration... " >&6; }
43846 if test x${glibcxx_cv_func_powf_use+set} != xset; then
43847 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
43848 $as_echo_n "(cached) " >&6
43849 else
43852 ac_ext=cpp
43853 ac_cpp='$CXXCPP $CPPFLAGS'
43854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43859 /* end confdefs.h. */
43860 #include <math.h>
43862 main ()
43864 powf(0, 0);
43866 return 0;
43868 _ACEOF
43869 if ac_fn_cxx_try_compile "$LINENO"; then :
43870 glibcxx_cv_func_powf_use=yes
43871 else
43872 glibcxx_cv_func_powf_use=no
43874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43875 ac_ext=c
43876 ac_cpp='$CPP $CPPFLAGS'
43877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
43886 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
43888 if test x$glibcxx_cv_func_powf_use = x"yes"; then
43889 for ac_func in powf
43890 do :
43891 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
43892 if test "x$ac_cv_func_powf" = x""yes; then :
43893 cat >>confdefs.h <<_ACEOF
43894 #define HAVE_POWF 1
43895 _ACEOF
43898 done
43900 else
43902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
43903 $as_echo_n "checking for _powf declaration... " >&6; }
43904 if test x${glibcxx_cv_func__powf_use+set} != xset; then
43905 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
43906 $as_echo_n "(cached) " >&6
43907 else
43910 ac_ext=cpp
43911 ac_cpp='$CXXCPP $CPPFLAGS'
43912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43917 /* end confdefs.h. */
43918 #include <math.h>
43920 main ()
43922 _powf(0, 0);
43924 return 0;
43926 _ACEOF
43927 if ac_fn_cxx_try_compile "$LINENO"; then :
43928 glibcxx_cv_func__powf_use=yes
43929 else
43930 glibcxx_cv_func__powf_use=no
43932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43933 ac_ext=c
43934 ac_cpp='$CPP $CPPFLAGS'
43935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
43944 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
43946 if test x$glibcxx_cv_func__powf_use = x"yes"; then
43947 for ac_func in _powf
43948 do :
43949 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
43950 if test "x$ac_cv_func__powf" = x""yes; then :
43951 cat >>confdefs.h <<_ACEOF
43952 #define HAVE__POWF 1
43953 _ACEOF
43956 done
43965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
43966 $as_echo_n "checking for sqrtf declaration... " >&6; }
43967 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
43968 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
43969 $as_echo_n "(cached) " >&6
43970 else
43973 ac_ext=cpp
43974 ac_cpp='$CXXCPP $CPPFLAGS'
43975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43980 /* end confdefs.h. */
43981 #include <math.h>
43982 #ifdef HAVE_IEEEFP_H
43983 #include <ieeefp.h>
43984 #endif
43987 main ()
43989 sqrtf(0);
43991 return 0;
43993 _ACEOF
43994 if ac_fn_cxx_try_compile "$LINENO"; then :
43995 glibcxx_cv_func_sqrtf_use=yes
43996 else
43997 glibcxx_cv_func_sqrtf_use=no
43999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44000 ac_ext=c
44001 ac_cpp='$CPP $CPPFLAGS'
44002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44011 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44013 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44014 for ac_func in sqrtf
44015 do :
44016 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44017 if test "x$ac_cv_func_sqrtf" = x""yes; then :
44018 cat >>confdefs.h <<_ACEOF
44019 #define HAVE_SQRTF 1
44020 _ACEOF
44023 done
44025 else
44027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44028 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44029 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44030 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
44031 $as_echo_n "(cached) " >&6
44032 else
44035 ac_ext=cpp
44036 ac_cpp='$CXXCPP $CPPFLAGS'
44037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44042 /* end confdefs.h. */
44043 #include <math.h>
44044 #ifdef HAVE_IEEEFP_H
44045 #include <ieeefp.h>
44046 #endif
44049 main ()
44051 _sqrtf(0);
44053 return 0;
44055 _ACEOF
44056 if ac_fn_cxx_try_compile "$LINENO"; then :
44057 glibcxx_cv_func__sqrtf_use=yes
44058 else
44059 glibcxx_cv_func__sqrtf_use=no
44061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44062 ac_ext=c
44063 ac_cpp='$CPP $CPPFLAGS'
44064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44073 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44075 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44076 for ac_func in _sqrtf
44077 do :
44078 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44079 if test "x$ac_cv_func__sqrtf" = x""yes; then :
44080 cat >>confdefs.h <<_ACEOF
44081 #define HAVE__SQRTF 1
44082 _ACEOF
44085 done
44094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44095 $as_echo_n "checking for sincosf declaration... " >&6; }
44096 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44097 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
44098 $as_echo_n "(cached) " >&6
44099 else
44102 ac_ext=cpp
44103 ac_cpp='$CXXCPP $CPPFLAGS'
44104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44109 /* end confdefs.h. */
44110 #include <math.h>
44112 main ()
44114 sincosf(0, 0, 0);
44116 return 0;
44118 _ACEOF
44119 if ac_fn_cxx_try_compile "$LINENO"; then :
44120 glibcxx_cv_func_sincosf_use=yes
44121 else
44122 glibcxx_cv_func_sincosf_use=no
44124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44125 ac_ext=c
44126 ac_cpp='$CPP $CPPFLAGS'
44127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44136 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44138 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44139 for ac_func in sincosf
44140 do :
44141 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44142 if test "x$ac_cv_func_sincosf" = x""yes; then :
44143 cat >>confdefs.h <<_ACEOF
44144 #define HAVE_SINCOSF 1
44145 _ACEOF
44148 done
44150 else
44152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44153 $as_echo_n "checking for _sincosf declaration... " >&6; }
44154 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44155 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
44156 $as_echo_n "(cached) " >&6
44157 else
44160 ac_ext=cpp
44161 ac_cpp='$CXXCPP $CPPFLAGS'
44162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44167 /* end confdefs.h. */
44168 #include <math.h>
44170 main ()
44172 _sincosf(0, 0, 0);
44174 return 0;
44176 _ACEOF
44177 if ac_fn_cxx_try_compile "$LINENO"; then :
44178 glibcxx_cv_func__sincosf_use=yes
44179 else
44180 glibcxx_cv_func__sincosf_use=no
44182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44183 ac_ext=c
44184 ac_cpp='$CPP $CPPFLAGS'
44185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44194 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44196 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44197 for ac_func in _sincosf
44198 do :
44199 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44200 if test "x$ac_cv_func__sincosf" = x""yes; then :
44201 cat >>confdefs.h <<_ACEOF
44202 #define HAVE__SINCOSF 1
44203 _ACEOF
44206 done
44215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44216 $as_echo_n "checking for finitef declaration... " >&6; }
44217 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44218 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
44219 $as_echo_n "(cached) " >&6
44220 else
44223 ac_ext=cpp
44224 ac_cpp='$CXXCPP $CPPFLAGS'
44225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44230 /* end confdefs.h. */
44231 #include <math.h>
44232 #ifdef HAVE_IEEEFP_H
44233 #include <ieeefp.h>
44234 #endif
44237 main ()
44239 finitef(0);
44241 return 0;
44243 _ACEOF
44244 if ac_fn_cxx_try_compile "$LINENO"; then :
44245 glibcxx_cv_func_finitef_use=yes
44246 else
44247 glibcxx_cv_func_finitef_use=no
44249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44250 ac_ext=c
44251 ac_cpp='$CPP $CPPFLAGS'
44252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44261 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44263 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44264 for ac_func in finitef
44265 do :
44266 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44267 if test "x$ac_cv_func_finitef" = x""yes; then :
44268 cat >>confdefs.h <<_ACEOF
44269 #define HAVE_FINITEF 1
44270 _ACEOF
44273 done
44275 else
44277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44278 $as_echo_n "checking for _finitef declaration... " >&6; }
44279 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44280 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
44281 $as_echo_n "(cached) " >&6
44282 else
44285 ac_ext=cpp
44286 ac_cpp='$CXXCPP $CPPFLAGS'
44287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44292 /* end confdefs.h. */
44293 #include <math.h>
44294 #ifdef HAVE_IEEEFP_H
44295 #include <ieeefp.h>
44296 #endif
44299 main ()
44301 _finitef(0);
44303 return 0;
44305 _ACEOF
44306 if ac_fn_cxx_try_compile "$LINENO"; then :
44307 glibcxx_cv_func__finitef_use=yes
44308 else
44309 glibcxx_cv_func__finitef_use=no
44311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44312 ac_ext=c
44313 ac_cpp='$CPP $CPPFLAGS'
44314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44323 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44325 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44326 for ac_func in _finitef
44327 do :
44328 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44329 if test "x$ac_cv_func__finitef" = x""yes; then :
44330 cat >>confdefs.h <<_ACEOF
44331 #define HAVE__FINITEF 1
44332 _ACEOF
44335 done
44344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44345 $as_echo_n "checking for long double trig functions... " >&6; }
44346 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
44347 $as_echo_n "(cached) " >&6
44348 else
44351 ac_ext=cpp
44352 ac_cpp='$CXXCPP $CPPFLAGS'
44353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44358 /* end confdefs.h. */
44359 #include <math.h>
44361 main ()
44363 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44365 return 0;
44367 _ACEOF
44368 if ac_fn_cxx_try_compile "$LINENO"; then :
44369 glibcxx_cv_func_long_double_trig_use=yes
44370 else
44371 glibcxx_cv_func_long_double_trig_use=no
44373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44374 ac_ext=c
44375 ac_cpp='$CPP $CPPFLAGS'
44376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44383 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44384 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44385 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44386 do :
44387 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44388 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44389 eval as_val=\$$as_ac_var
44390 if test "x$as_val" = x""yes; then :
44391 cat >>confdefs.h <<_ACEOF
44392 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44393 _ACEOF
44396 done
44398 else
44399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44400 $as_echo_n "checking for _long double trig functions... " >&6; }
44401 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
44402 $as_echo_n "(cached) " >&6
44403 else
44406 ac_ext=cpp
44407 ac_cpp='$CXXCPP $CPPFLAGS'
44408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44413 /* end confdefs.h. */
44414 #include <math.h>
44416 main ()
44418 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44420 return 0;
44422 _ACEOF
44423 if ac_fn_cxx_try_compile "$LINENO"; then :
44424 glibcxx_cv_func__long_double_trig_use=yes
44425 else
44426 glibcxx_cv_func__long_double_trig_use=no
44428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44429 ac_ext=c
44430 ac_cpp='$CPP $CPPFLAGS'
44431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44438 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44439 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44440 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44441 do :
44442 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44443 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44444 eval as_val=\$$as_ac_var
44445 if test "x$as_val" = x""yes; then :
44446 cat >>confdefs.h <<_ACEOF
44447 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44448 _ACEOF
44451 done
44460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44461 $as_echo_n "checking for long double round functions... " >&6; }
44462 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
44463 $as_echo_n "(cached) " >&6
44464 else
44467 ac_ext=cpp
44468 ac_cpp='$CXXCPP $CPPFLAGS'
44469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44474 /* end confdefs.h. */
44475 #include <math.h>
44477 main ()
44479 ceill (0); floorl (0);
44481 return 0;
44483 _ACEOF
44484 if ac_fn_cxx_try_compile "$LINENO"; then :
44485 glibcxx_cv_func_long_double_round_use=yes
44486 else
44487 glibcxx_cv_func_long_double_round_use=no
44489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44490 ac_ext=c
44491 ac_cpp='$CPP $CPPFLAGS'
44492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44499 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44500 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44501 for ac_func in ceill floorl
44502 do :
44503 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44504 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44505 eval as_val=\$$as_ac_var
44506 if test "x$as_val" = x""yes; then :
44507 cat >>confdefs.h <<_ACEOF
44508 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44509 _ACEOF
44512 done
44514 else
44515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
44516 $as_echo_n "checking for _long double round functions... " >&6; }
44517 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
44518 $as_echo_n "(cached) " >&6
44519 else
44522 ac_ext=cpp
44523 ac_cpp='$CXXCPP $CPPFLAGS'
44524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44529 /* end confdefs.h. */
44530 #include <math.h>
44532 main ()
44534 _ceill (0); _floorl (0);
44536 return 0;
44538 _ACEOF
44539 if ac_fn_cxx_try_compile "$LINENO"; then :
44540 glibcxx_cv_func__long_double_round_use=yes
44541 else
44542 glibcxx_cv_func__long_double_round_use=no
44544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44545 ac_ext=c
44546 ac_cpp='$CPP $CPPFLAGS'
44547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
44554 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
44555 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
44556 for ac_func in _ceill _floorl
44557 do :
44558 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44559 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44560 eval as_val=\$$as_ac_var
44561 if test "x$as_val" = x""yes; then :
44562 cat >>confdefs.h <<_ACEOF
44563 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44564 _ACEOF
44567 done
44577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
44578 $as_echo_n "checking for isnanl declaration... " >&6; }
44579 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
44580 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
44581 $as_echo_n "(cached) " >&6
44582 else
44585 ac_ext=cpp
44586 ac_cpp='$CXXCPP $CPPFLAGS'
44587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44592 /* end confdefs.h. */
44593 #include <math.h>
44594 #ifdef HAVE_IEEEFP_H
44595 #include <ieeefp.h>
44596 #endif
44599 main ()
44601 isnanl(0);
44603 return 0;
44605 _ACEOF
44606 if ac_fn_cxx_try_compile "$LINENO"; then :
44607 glibcxx_cv_func_isnanl_use=yes
44608 else
44609 glibcxx_cv_func_isnanl_use=no
44611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44612 ac_ext=c
44613 ac_cpp='$CPP $CPPFLAGS'
44614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
44623 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
44625 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
44626 for ac_func in isnanl
44627 do :
44628 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
44629 if test "x$ac_cv_func_isnanl" = x""yes; then :
44630 cat >>confdefs.h <<_ACEOF
44631 #define HAVE_ISNANL 1
44632 _ACEOF
44635 done
44637 else
44639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
44640 $as_echo_n "checking for _isnanl declaration... " >&6; }
44641 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
44642 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
44643 $as_echo_n "(cached) " >&6
44644 else
44647 ac_ext=cpp
44648 ac_cpp='$CXXCPP $CPPFLAGS'
44649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44654 /* end confdefs.h. */
44655 #include <math.h>
44656 #ifdef HAVE_IEEEFP_H
44657 #include <ieeefp.h>
44658 #endif
44661 main ()
44663 _isnanl(0);
44665 return 0;
44667 _ACEOF
44668 if ac_fn_cxx_try_compile "$LINENO"; then :
44669 glibcxx_cv_func__isnanl_use=yes
44670 else
44671 glibcxx_cv_func__isnanl_use=no
44673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44674 ac_ext=c
44675 ac_cpp='$CPP $CPPFLAGS'
44676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
44685 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
44687 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
44688 for ac_func in _isnanl
44689 do :
44690 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
44691 if test "x$ac_cv_func__isnanl" = x""yes; then :
44692 cat >>confdefs.h <<_ACEOF
44693 #define HAVE__ISNANL 1
44694 _ACEOF
44697 done
44706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
44707 $as_echo_n "checking for isinfl declaration... " >&6; }
44708 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
44709 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
44710 $as_echo_n "(cached) " >&6
44711 else
44714 ac_ext=cpp
44715 ac_cpp='$CXXCPP $CPPFLAGS'
44716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44721 /* end confdefs.h. */
44722 #include <math.h>
44723 #ifdef HAVE_IEEEFP_H
44724 #include <ieeefp.h>
44725 #endif
44728 main ()
44730 isinfl(0);
44732 return 0;
44734 _ACEOF
44735 if ac_fn_cxx_try_compile "$LINENO"; then :
44736 glibcxx_cv_func_isinfl_use=yes
44737 else
44738 glibcxx_cv_func_isinfl_use=no
44740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44741 ac_ext=c
44742 ac_cpp='$CPP $CPPFLAGS'
44743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
44752 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
44754 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
44755 for ac_func in isinfl
44756 do :
44757 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
44758 if test "x$ac_cv_func_isinfl" = x""yes; then :
44759 cat >>confdefs.h <<_ACEOF
44760 #define HAVE_ISINFL 1
44761 _ACEOF
44764 done
44766 else
44768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
44769 $as_echo_n "checking for _isinfl declaration... " >&6; }
44770 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
44771 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
44772 $as_echo_n "(cached) " >&6
44773 else
44776 ac_ext=cpp
44777 ac_cpp='$CXXCPP $CPPFLAGS'
44778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44783 /* end confdefs.h. */
44784 #include <math.h>
44785 #ifdef HAVE_IEEEFP_H
44786 #include <ieeefp.h>
44787 #endif
44790 main ()
44792 _isinfl(0);
44794 return 0;
44796 _ACEOF
44797 if ac_fn_cxx_try_compile "$LINENO"; then :
44798 glibcxx_cv_func__isinfl_use=yes
44799 else
44800 glibcxx_cv_func__isinfl_use=no
44802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44803 ac_ext=c
44804 ac_cpp='$CPP $CPPFLAGS'
44805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
44814 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
44816 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
44817 for ac_func in _isinfl
44818 do :
44819 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
44820 if test "x$ac_cv_func__isinfl" = x""yes; then :
44821 cat >>confdefs.h <<_ACEOF
44822 #define HAVE__ISINFL 1
44823 _ACEOF
44826 done
44835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
44836 $as_echo_n "checking for atan2l declaration... " >&6; }
44837 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
44838 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
44839 $as_echo_n "(cached) " >&6
44840 else
44843 ac_ext=cpp
44844 ac_cpp='$CXXCPP $CPPFLAGS'
44845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44850 /* end confdefs.h. */
44851 #include <math.h>
44853 main ()
44855 atan2l(0, 0);
44857 return 0;
44859 _ACEOF
44860 if ac_fn_cxx_try_compile "$LINENO"; then :
44861 glibcxx_cv_func_atan2l_use=yes
44862 else
44863 glibcxx_cv_func_atan2l_use=no
44865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44866 ac_ext=c
44867 ac_cpp='$CPP $CPPFLAGS'
44868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
44877 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
44879 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
44880 for ac_func in atan2l
44881 do :
44882 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
44883 if test "x$ac_cv_func_atan2l" = x""yes; then :
44884 cat >>confdefs.h <<_ACEOF
44885 #define HAVE_ATAN2L 1
44886 _ACEOF
44889 done
44891 else
44893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
44894 $as_echo_n "checking for _atan2l declaration... " >&6; }
44895 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
44896 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
44897 $as_echo_n "(cached) " >&6
44898 else
44901 ac_ext=cpp
44902 ac_cpp='$CXXCPP $CPPFLAGS'
44903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44908 /* end confdefs.h. */
44909 #include <math.h>
44911 main ()
44913 _atan2l(0, 0);
44915 return 0;
44917 _ACEOF
44918 if ac_fn_cxx_try_compile "$LINENO"; then :
44919 glibcxx_cv_func__atan2l_use=yes
44920 else
44921 glibcxx_cv_func__atan2l_use=no
44923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44924 ac_ext=c
44925 ac_cpp='$CPP $CPPFLAGS'
44926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
44935 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
44937 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
44938 for ac_func in _atan2l
44939 do :
44940 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
44941 if test "x$ac_cv_func__atan2l" = x""yes; then :
44942 cat >>confdefs.h <<_ACEOF
44943 #define HAVE__ATAN2L 1
44944 _ACEOF
44947 done
44956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
44957 $as_echo_n "checking for expl declaration... " >&6; }
44958 if test x${glibcxx_cv_func_expl_use+set} != xset; then
44959 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
44960 $as_echo_n "(cached) " >&6
44961 else
44964 ac_ext=cpp
44965 ac_cpp='$CXXCPP $CPPFLAGS'
44966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44971 /* end confdefs.h. */
44972 #include <math.h>
44973 #ifdef HAVE_IEEEFP_H
44974 #include <ieeefp.h>
44975 #endif
44978 main ()
44980 expl(0);
44982 return 0;
44984 _ACEOF
44985 if ac_fn_cxx_try_compile "$LINENO"; then :
44986 glibcxx_cv_func_expl_use=yes
44987 else
44988 glibcxx_cv_func_expl_use=no
44990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44991 ac_ext=c
44992 ac_cpp='$CPP $CPPFLAGS'
44993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45002 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45004 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45005 for ac_func in expl
45006 do :
45007 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45008 if test "x$ac_cv_func_expl" = x""yes; then :
45009 cat >>confdefs.h <<_ACEOF
45010 #define HAVE_EXPL 1
45011 _ACEOF
45014 done
45016 else
45018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45019 $as_echo_n "checking for _expl declaration... " >&6; }
45020 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45021 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
45022 $as_echo_n "(cached) " >&6
45023 else
45026 ac_ext=cpp
45027 ac_cpp='$CXXCPP $CPPFLAGS'
45028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45033 /* end confdefs.h. */
45034 #include <math.h>
45035 #ifdef HAVE_IEEEFP_H
45036 #include <ieeefp.h>
45037 #endif
45040 main ()
45042 _expl(0);
45044 return 0;
45046 _ACEOF
45047 if ac_fn_cxx_try_compile "$LINENO"; then :
45048 glibcxx_cv_func__expl_use=yes
45049 else
45050 glibcxx_cv_func__expl_use=no
45052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45053 ac_ext=c
45054 ac_cpp='$CPP $CPPFLAGS'
45055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45064 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45066 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45067 for ac_func in _expl
45068 do :
45069 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45070 if test "x$ac_cv_func__expl" = x""yes; then :
45071 cat >>confdefs.h <<_ACEOF
45072 #define HAVE__EXPL 1
45073 _ACEOF
45076 done
45085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45086 $as_echo_n "checking for fabsl declaration... " >&6; }
45087 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45088 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
45089 $as_echo_n "(cached) " >&6
45090 else
45093 ac_ext=cpp
45094 ac_cpp='$CXXCPP $CPPFLAGS'
45095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45100 /* end confdefs.h. */
45101 #include <math.h>
45102 #ifdef HAVE_IEEEFP_H
45103 #include <ieeefp.h>
45104 #endif
45107 main ()
45109 fabsl(0);
45111 return 0;
45113 _ACEOF
45114 if ac_fn_cxx_try_compile "$LINENO"; then :
45115 glibcxx_cv_func_fabsl_use=yes
45116 else
45117 glibcxx_cv_func_fabsl_use=no
45119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45120 ac_ext=c
45121 ac_cpp='$CPP $CPPFLAGS'
45122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45131 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45133 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45134 for ac_func in fabsl
45135 do :
45136 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45137 if test "x$ac_cv_func_fabsl" = x""yes; then :
45138 cat >>confdefs.h <<_ACEOF
45139 #define HAVE_FABSL 1
45140 _ACEOF
45143 done
45145 else
45147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45148 $as_echo_n "checking for _fabsl declaration... " >&6; }
45149 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45150 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
45151 $as_echo_n "(cached) " >&6
45152 else
45155 ac_ext=cpp
45156 ac_cpp='$CXXCPP $CPPFLAGS'
45157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45162 /* end confdefs.h. */
45163 #include <math.h>
45164 #ifdef HAVE_IEEEFP_H
45165 #include <ieeefp.h>
45166 #endif
45169 main ()
45171 _fabsl(0);
45173 return 0;
45175 _ACEOF
45176 if ac_fn_cxx_try_compile "$LINENO"; then :
45177 glibcxx_cv_func__fabsl_use=yes
45178 else
45179 glibcxx_cv_func__fabsl_use=no
45181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45182 ac_ext=c
45183 ac_cpp='$CPP $CPPFLAGS'
45184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45193 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45195 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45196 for ac_func in _fabsl
45197 do :
45198 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45199 if test "x$ac_cv_func__fabsl" = x""yes; then :
45200 cat >>confdefs.h <<_ACEOF
45201 #define HAVE__FABSL 1
45202 _ACEOF
45205 done
45214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45215 $as_echo_n "checking for fmodl declaration... " >&6; }
45216 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45217 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
45218 $as_echo_n "(cached) " >&6
45219 else
45222 ac_ext=cpp
45223 ac_cpp='$CXXCPP $CPPFLAGS'
45224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45229 /* end confdefs.h. */
45230 #include <math.h>
45232 main ()
45234 fmodl(0, 0);
45236 return 0;
45238 _ACEOF
45239 if ac_fn_cxx_try_compile "$LINENO"; then :
45240 glibcxx_cv_func_fmodl_use=yes
45241 else
45242 glibcxx_cv_func_fmodl_use=no
45244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45245 ac_ext=c
45246 ac_cpp='$CPP $CPPFLAGS'
45247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45256 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45258 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45259 for ac_func in fmodl
45260 do :
45261 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45262 if test "x$ac_cv_func_fmodl" = x""yes; then :
45263 cat >>confdefs.h <<_ACEOF
45264 #define HAVE_FMODL 1
45265 _ACEOF
45268 done
45270 else
45272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45273 $as_echo_n "checking for _fmodl declaration... " >&6; }
45274 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45275 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
45276 $as_echo_n "(cached) " >&6
45277 else
45280 ac_ext=cpp
45281 ac_cpp='$CXXCPP $CPPFLAGS'
45282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45287 /* end confdefs.h. */
45288 #include <math.h>
45290 main ()
45292 _fmodl(0, 0);
45294 return 0;
45296 _ACEOF
45297 if ac_fn_cxx_try_compile "$LINENO"; then :
45298 glibcxx_cv_func__fmodl_use=yes
45299 else
45300 glibcxx_cv_func__fmodl_use=no
45302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45303 ac_ext=c
45304 ac_cpp='$CPP $CPPFLAGS'
45305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45314 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45316 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45317 for ac_func in _fmodl
45318 do :
45319 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45320 if test "x$ac_cv_func__fmodl" = x""yes; then :
45321 cat >>confdefs.h <<_ACEOF
45322 #define HAVE__FMODL 1
45323 _ACEOF
45326 done
45335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45336 $as_echo_n "checking for frexpl declaration... " >&6; }
45337 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45338 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
45339 $as_echo_n "(cached) " >&6
45340 else
45343 ac_ext=cpp
45344 ac_cpp='$CXXCPP $CPPFLAGS'
45345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45350 /* end confdefs.h. */
45351 #include <math.h>
45353 main ()
45355 frexpl(0, 0);
45357 return 0;
45359 _ACEOF
45360 if ac_fn_cxx_try_compile "$LINENO"; then :
45361 glibcxx_cv_func_frexpl_use=yes
45362 else
45363 glibcxx_cv_func_frexpl_use=no
45365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45366 ac_ext=c
45367 ac_cpp='$CPP $CPPFLAGS'
45368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45377 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45379 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45380 for ac_func in frexpl
45381 do :
45382 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45383 if test "x$ac_cv_func_frexpl" = x""yes; then :
45384 cat >>confdefs.h <<_ACEOF
45385 #define HAVE_FREXPL 1
45386 _ACEOF
45389 done
45391 else
45393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45394 $as_echo_n "checking for _frexpl declaration... " >&6; }
45395 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45396 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
45397 $as_echo_n "(cached) " >&6
45398 else
45401 ac_ext=cpp
45402 ac_cpp='$CXXCPP $CPPFLAGS'
45403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45408 /* end confdefs.h. */
45409 #include <math.h>
45411 main ()
45413 _frexpl(0, 0);
45415 return 0;
45417 _ACEOF
45418 if ac_fn_cxx_try_compile "$LINENO"; then :
45419 glibcxx_cv_func__frexpl_use=yes
45420 else
45421 glibcxx_cv_func__frexpl_use=no
45423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45424 ac_ext=c
45425 ac_cpp='$CPP $CPPFLAGS'
45426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45435 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45437 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45438 for ac_func in _frexpl
45439 do :
45440 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45441 if test "x$ac_cv_func__frexpl" = x""yes; then :
45442 cat >>confdefs.h <<_ACEOF
45443 #define HAVE__FREXPL 1
45444 _ACEOF
45447 done
45456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45457 $as_echo_n "checking for hypotl declaration... " >&6; }
45458 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45459 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
45460 $as_echo_n "(cached) " >&6
45461 else
45464 ac_ext=cpp
45465 ac_cpp='$CXXCPP $CPPFLAGS'
45466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45471 /* end confdefs.h. */
45472 #include <math.h>
45474 main ()
45476 hypotl(0, 0);
45478 return 0;
45480 _ACEOF
45481 if ac_fn_cxx_try_compile "$LINENO"; then :
45482 glibcxx_cv_func_hypotl_use=yes
45483 else
45484 glibcxx_cv_func_hypotl_use=no
45486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45487 ac_ext=c
45488 ac_cpp='$CPP $CPPFLAGS'
45489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45498 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45500 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45501 for ac_func in hypotl
45502 do :
45503 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45504 if test "x$ac_cv_func_hypotl" = x""yes; then :
45505 cat >>confdefs.h <<_ACEOF
45506 #define HAVE_HYPOTL 1
45507 _ACEOF
45510 done
45512 else
45514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45515 $as_echo_n "checking for _hypotl declaration... " >&6; }
45516 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45517 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
45518 $as_echo_n "(cached) " >&6
45519 else
45522 ac_ext=cpp
45523 ac_cpp='$CXXCPP $CPPFLAGS'
45524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45529 /* end confdefs.h. */
45530 #include <math.h>
45532 main ()
45534 _hypotl(0, 0);
45536 return 0;
45538 _ACEOF
45539 if ac_fn_cxx_try_compile "$LINENO"; then :
45540 glibcxx_cv_func__hypotl_use=yes
45541 else
45542 glibcxx_cv_func__hypotl_use=no
45544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45545 ac_ext=c
45546 ac_cpp='$CPP $CPPFLAGS'
45547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
45556 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
45558 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45559 for ac_func in _hypotl
45560 do :
45561 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
45562 if test "x$ac_cv_func__hypotl" = x""yes; then :
45563 cat >>confdefs.h <<_ACEOF
45564 #define HAVE__HYPOTL 1
45565 _ACEOF
45568 done
45577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
45578 $as_echo_n "checking for ldexpl declaration... " >&6; }
45579 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45580 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
45581 $as_echo_n "(cached) " >&6
45582 else
45585 ac_ext=cpp
45586 ac_cpp='$CXXCPP $CPPFLAGS'
45587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45592 /* end confdefs.h. */
45593 #include <math.h>
45595 main ()
45597 ldexpl(0, 0);
45599 return 0;
45601 _ACEOF
45602 if ac_fn_cxx_try_compile "$LINENO"; then :
45603 glibcxx_cv_func_ldexpl_use=yes
45604 else
45605 glibcxx_cv_func_ldexpl_use=no
45607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45608 ac_ext=c
45609 ac_cpp='$CPP $CPPFLAGS'
45610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
45619 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
45621 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45622 for ac_func in ldexpl
45623 do :
45624 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
45625 if test "x$ac_cv_func_ldexpl" = x""yes; then :
45626 cat >>confdefs.h <<_ACEOF
45627 #define HAVE_LDEXPL 1
45628 _ACEOF
45631 done
45633 else
45635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
45636 $as_echo_n "checking for _ldexpl declaration... " >&6; }
45637 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45638 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
45639 $as_echo_n "(cached) " >&6
45640 else
45643 ac_ext=cpp
45644 ac_cpp='$CXXCPP $CPPFLAGS'
45645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45650 /* end confdefs.h. */
45651 #include <math.h>
45653 main ()
45655 _ldexpl(0, 0);
45657 return 0;
45659 _ACEOF
45660 if ac_fn_cxx_try_compile "$LINENO"; then :
45661 glibcxx_cv_func__ldexpl_use=yes
45662 else
45663 glibcxx_cv_func__ldexpl_use=no
45665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45666 ac_ext=c
45667 ac_cpp='$CPP $CPPFLAGS'
45668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
45677 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
45679 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45680 for ac_func in _ldexpl
45681 do :
45682 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
45683 if test "x$ac_cv_func__ldexpl" = x""yes; then :
45684 cat >>confdefs.h <<_ACEOF
45685 #define HAVE__LDEXPL 1
45686 _ACEOF
45689 done
45698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
45699 $as_echo_n "checking for logl declaration... " >&6; }
45700 if test x${glibcxx_cv_func_logl_use+set} != xset; then
45701 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
45702 $as_echo_n "(cached) " >&6
45703 else
45706 ac_ext=cpp
45707 ac_cpp='$CXXCPP $CPPFLAGS'
45708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45713 /* end confdefs.h. */
45714 #include <math.h>
45715 #ifdef HAVE_IEEEFP_H
45716 #include <ieeefp.h>
45717 #endif
45720 main ()
45722 logl(0);
45724 return 0;
45726 _ACEOF
45727 if ac_fn_cxx_try_compile "$LINENO"; then :
45728 glibcxx_cv_func_logl_use=yes
45729 else
45730 glibcxx_cv_func_logl_use=no
45732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45733 ac_ext=c
45734 ac_cpp='$CPP $CPPFLAGS'
45735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
45744 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
45746 if test x$glibcxx_cv_func_logl_use = x"yes"; then
45747 for ac_func in logl
45748 do :
45749 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
45750 if test "x$ac_cv_func_logl" = x""yes; then :
45751 cat >>confdefs.h <<_ACEOF
45752 #define HAVE_LOGL 1
45753 _ACEOF
45756 done
45758 else
45760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
45761 $as_echo_n "checking for _logl declaration... " >&6; }
45762 if test x${glibcxx_cv_func__logl_use+set} != xset; then
45763 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
45764 $as_echo_n "(cached) " >&6
45765 else
45768 ac_ext=cpp
45769 ac_cpp='$CXXCPP $CPPFLAGS'
45770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45775 /* end confdefs.h. */
45776 #include <math.h>
45777 #ifdef HAVE_IEEEFP_H
45778 #include <ieeefp.h>
45779 #endif
45782 main ()
45784 _logl(0);
45786 return 0;
45788 _ACEOF
45789 if ac_fn_cxx_try_compile "$LINENO"; then :
45790 glibcxx_cv_func__logl_use=yes
45791 else
45792 glibcxx_cv_func__logl_use=no
45794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45795 ac_ext=c
45796 ac_cpp='$CPP $CPPFLAGS'
45797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
45806 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
45808 if test x$glibcxx_cv_func__logl_use = x"yes"; then
45809 for ac_func in _logl
45810 do :
45811 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
45812 if test "x$ac_cv_func__logl" = x""yes; then :
45813 cat >>confdefs.h <<_ACEOF
45814 #define HAVE__LOGL 1
45815 _ACEOF
45818 done
45827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
45828 $as_echo_n "checking for log10l declaration... " >&6; }
45829 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
45830 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
45831 $as_echo_n "(cached) " >&6
45832 else
45835 ac_ext=cpp
45836 ac_cpp='$CXXCPP $CPPFLAGS'
45837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45842 /* end confdefs.h. */
45843 #include <math.h>
45844 #ifdef HAVE_IEEEFP_H
45845 #include <ieeefp.h>
45846 #endif
45849 main ()
45851 log10l(0);
45853 return 0;
45855 _ACEOF
45856 if ac_fn_cxx_try_compile "$LINENO"; then :
45857 glibcxx_cv_func_log10l_use=yes
45858 else
45859 glibcxx_cv_func_log10l_use=no
45861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45862 ac_ext=c
45863 ac_cpp='$CPP $CPPFLAGS'
45864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
45873 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
45875 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
45876 for ac_func in log10l
45877 do :
45878 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
45879 if test "x$ac_cv_func_log10l" = x""yes; then :
45880 cat >>confdefs.h <<_ACEOF
45881 #define HAVE_LOG10L 1
45882 _ACEOF
45885 done
45887 else
45889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
45890 $as_echo_n "checking for _log10l declaration... " >&6; }
45891 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
45892 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
45893 $as_echo_n "(cached) " >&6
45894 else
45897 ac_ext=cpp
45898 ac_cpp='$CXXCPP $CPPFLAGS'
45899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45904 /* end confdefs.h. */
45905 #include <math.h>
45906 #ifdef HAVE_IEEEFP_H
45907 #include <ieeefp.h>
45908 #endif
45911 main ()
45913 _log10l(0);
45915 return 0;
45917 _ACEOF
45918 if ac_fn_cxx_try_compile "$LINENO"; then :
45919 glibcxx_cv_func__log10l_use=yes
45920 else
45921 glibcxx_cv_func__log10l_use=no
45923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45924 ac_ext=c
45925 ac_cpp='$CPP $CPPFLAGS'
45926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
45935 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
45937 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
45938 for ac_func in _log10l
45939 do :
45940 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
45941 if test "x$ac_cv_func__log10l" = x""yes; then :
45942 cat >>confdefs.h <<_ACEOF
45943 #define HAVE__LOG10L 1
45944 _ACEOF
45947 done
45956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
45957 $as_echo_n "checking for modfl declaration... " >&6; }
45958 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45959 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
45960 $as_echo_n "(cached) " >&6
45961 else
45964 ac_ext=cpp
45965 ac_cpp='$CXXCPP $CPPFLAGS'
45966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45971 /* end confdefs.h. */
45972 #include <math.h>
45974 main ()
45976 modfl(0, 0);
45978 return 0;
45980 _ACEOF
45981 if ac_fn_cxx_try_compile "$LINENO"; then :
45982 glibcxx_cv_func_modfl_use=yes
45983 else
45984 glibcxx_cv_func_modfl_use=no
45986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45987 ac_ext=c
45988 ac_cpp='$CPP $CPPFLAGS'
45989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
45998 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46000 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46001 for ac_func in modfl
46002 do :
46003 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46004 if test "x$ac_cv_func_modfl" = x""yes; then :
46005 cat >>confdefs.h <<_ACEOF
46006 #define HAVE_MODFL 1
46007 _ACEOF
46010 done
46012 else
46014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46015 $as_echo_n "checking for _modfl declaration... " >&6; }
46016 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46017 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
46018 $as_echo_n "(cached) " >&6
46019 else
46022 ac_ext=cpp
46023 ac_cpp='$CXXCPP $CPPFLAGS'
46024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46029 /* end confdefs.h. */
46030 #include <math.h>
46032 main ()
46034 _modfl(0, 0);
46036 return 0;
46038 _ACEOF
46039 if ac_fn_cxx_try_compile "$LINENO"; then :
46040 glibcxx_cv_func__modfl_use=yes
46041 else
46042 glibcxx_cv_func__modfl_use=no
46044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46045 ac_ext=c
46046 ac_cpp='$CPP $CPPFLAGS'
46047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46056 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46058 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46059 for ac_func in _modfl
46060 do :
46061 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46062 if test "x$ac_cv_func__modfl" = x""yes; then :
46063 cat >>confdefs.h <<_ACEOF
46064 #define HAVE__MODFL 1
46065 _ACEOF
46068 done
46077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46078 $as_echo_n "checking for powl declaration... " >&6; }
46079 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46080 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
46081 $as_echo_n "(cached) " >&6
46082 else
46085 ac_ext=cpp
46086 ac_cpp='$CXXCPP $CPPFLAGS'
46087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46092 /* end confdefs.h. */
46093 #include <math.h>
46095 main ()
46097 powl(0, 0);
46099 return 0;
46101 _ACEOF
46102 if ac_fn_cxx_try_compile "$LINENO"; then :
46103 glibcxx_cv_func_powl_use=yes
46104 else
46105 glibcxx_cv_func_powl_use=no
46107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46108 ac_ext=c
46109 ac_cpp='$CPP $CPPFLAGS'
46110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46119 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46121 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46122 for ac_func in powl
46123 do :
46124 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46125 if test "x$ac_cv_func_powl" = x""yes; then :
46126 cat >>confdefs.h <<_ACEOF
46127 #define HAVE_POWL 1
46128 _ACEOF
46131 done
46133 else
46135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46136 $as_echo_n "checking for _powl declaration... " >&6; }
46137 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46138 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
46139 $as_echo_n "(cached) " >&6
46140 else
46143 ac_ext=cpp
46144 ac_cpp='$CXXCPP $CPPFLAGS'
46145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46150 /* end confdefs.h. */
46151 #include <math.h>
46153 main ()
46155 _powl(0, 0);
46157 return 0;
46159 _ACEOF
46160 if ac_fn_cxx_try_compile "$LINENO"; then :
46161 glibcxx_cv_func__powl_use=yes
46162 else
46163 glibcxx_cv_func__powl_use=no
46165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46166 ac_ext=c
46167 ac_cpp='$CPP $CPPFLAGS'
46168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46177 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46179 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46180 for ac_func in _powl
46181 do :
46182 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46183 if test "x$ac_cv_func__powl" = x""yes; then :
46184 cat >>confdefs.h <<_ACEOF
46185 #define HAVE__POWL 1
46186 _ACEOF
46189 done
46198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46199 $as_echo_n "checking for sqrtl declaration... " >&6; }
46200 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46201 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
46202 $as_echo_n "(cached) " >&6
46203 else
46206 ac_ext=cpp
46207 ac_cpp='$CXXCPP $CPPFLAGS'
46208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46213 /* end confdefs.h. */
46214 #include <math.h>
46215 #ifdef HAVE_IEEEFP_H
46216 #include <ieeefp.h>
46217 #endif
46220 main ()
46222 sqrtl(0);
46224 return 0;
46226 _ACEOF
46227 if ac_fn_cxx_try_compile "$LINENO"; then :
46228 glibcxx_cv_func_sqrtl_use=yes
46229 else
46230 glibcxx_cv_func_sqrtl_use=no
46232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46233 ac_ext=c
46234 ac_cpp='$CPP $CPPFLAGS'
46235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46244 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46246 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46247 for ac_func in sqrtl
46248 do :
46249 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46250 if test "x$ac_cv_func_sqrtl" = x""yes; then :
46251 cat >>confdefs.h <<_ACEOF
46252 #define HAVE_SQRTL 1
46253 _ACEOF
46256 done
46258 else
46260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46261 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46262 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46263 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
46264 $as_echo_n "(cached) " >&6
46265 else
46268 ac_ext=cpp
46269 ac_cpp='$CXXCPP $CPPFLAGS'
46270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46275 /* end confdefs.h. */
46276 #include <math.h>
46277 #ifdef HAVE_IEEEFP_H
46278 #include <ieeefp.h>
46279 #endif
46282 main ()
46284 _sqrtl(0);
46286 return 0;
46288 _ACEOF
46289 if ac_fn_cxx_try_compile "$LINENO"; then :
46290 glibcxx_cv_func__sqrtl_use=yes
46291 else
46292 glibcxx_cv_func__sqrtl_use=no
46294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46295 ac_ext=c
46296 ac_cpp='$CPP $CPPFLAGS'
46297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46306 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46308 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46309 for ac_func in _sqrtl
46310 do :
46311 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46312 if test "x$ac_cv_func__sqrtl" = x""yes; then :
46313 cat >>confdefs.h <<_ACEOF
46314 #define HAVE__SQRTL 1
46315 _ACEOF
46318 done
46327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46328 $as_echo_n "checking for sincosl declaration... " >&6; }
46329 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46330 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
46331 $as_echo_n "(cached) " >&6
46332 else
46335 ac_ext=cpp
46336 ac_cpp='$CXXCPP $CPPFLAGS'
46337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46342 /* end confdefs.h. */
46343 #include <math.h>
46345 main ()
46347 sincosl(0, 0, 0);
46349 return 0;
46351 _ACEOF
46352 if ac_fn_cxx_try_compile "$LINENO"; then :
46353 glibcxx_cv_func_sincosl_use=yes
46354 else
46355 glibcxx_cv_func_sincosl_use=no
46357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46358 ac_ext=c
46359 ac_cpp='$CPP $CPPFLAGS'
46360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46369 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46371 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46372 for ac_func in sincosl
46373 do :
46374 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46375 if test "x$ac_cv_func_sincosl" = x""yes; then :
46376 cat >>confdefs.h <<_ACEOF
46377 #define HAVE_SINCOSL 1
46378 _ACEOF
46381 done
46383 else
46385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46386 $as_echo_n "checking for _sincosl declaration... " >&6; }
46387 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46388 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
46389 $as_echo_n "(cached) " >&6
46390 else
46393 ac_ext=cpp
46394 ac_cpp='$CXXCPP $CPPFLAGS'
46395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46400 /* end confdefs.h. */
46401 #include <math.h>
46403 main ()
46405 _sincosl(0, 0, 0);
46407 return 0;
46409 _ACEOF
46410 if ac_fn_cxx_try_compile "$LINENO"; then :
46411 glibcxx_cv_func__sincosl_use=yes
46412 else
46413 glibcxx_cv_func__sincosl_use=no
46415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46416 ac_ext=c
46417 ac_cpp='$CPP $CPPFLAGS'
46418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46427 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46429 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46430 for ac_func in _sincosl
46431 do :
46432 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46433 if test "x$ac_cv_func__sincosl" = x""yes; then :
46434 cat >>confdefs.h <<_ACEOF
46435 #define HAVE__SINCOSL 1
46436 _ACEOF
46439 done
46448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46449 $as_echo_n "checking for finitel declaration... " >&6; }
46450 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46451 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
46452 $as_echo_n "(cached) " >&6
46453 else
46456 ac_ext=cpp
46457 ac_cpp='$CXXCPP $CPPFLAGS'
46458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46463 /* end confdefs.h. */
46464 #include <math.h>
46465 #ifdef HAVE_IEEEFP_H
46466 #include <ieeefp.h>
46467 #endif
46470 main ()
46472 finitel(0);
46474 return 0;
46476 _ACEOF
46477 if ac_fn_cxx_try_compile "$LINENO"; then :
46478 glibcxx_cv_func_finitel_use=yes
46479 else
46480 glibcxx_cv_func_finitel_use=no
46482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46483 ac_ext=c
46484 ac_cpp='$CPP $CPPFLAGS'
46485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46494 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46496 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46497 for ac_func in finitel
46498 do :
46499 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46500 if test "x$ac_cv_func_finitel" = x""yes; then :
46501 cat >>confdefs.h <<_ACEOF
46502 #define HAVE_FINITEL 1
46503 _ACEOF
46506 done
46508 else
46510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46511 $as_echo_n "checking for _finitel declaration... " >&6; }
46512 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46513 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
46514 $as_echo_n "(cached) " >&6
46515 else
46518 ac_ext=cpp
46519 ac_cpp='$CXXCPP $CPPFLAGS'
46520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46525 /* end confdefs.h. */
46526 #include <math.h>
46527 #ifdef HAVE_IEEEFP_H
46528 #include <ieeefp.h>
46529 #endif
46532 main ()
46534 _finitel(0);
46536 return 0;
46538 _ACEOF
46539 if ac_fn_cxx_try_compile "$LINENO"; then :
46540 glibcxx_cv_func__finitel_use=yes
46541 else
46542 glibcxx_cv_func__finitel_use=no
46544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46545 ac_ext=c
46546 ac_cpp='$CPP $CPPFLAGS'
46547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
46556 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
46558 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46559 for ac_func in _finitel
46560 do :
46561 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
46562 if test "x$ac_cv_func__finitel" = x""yes; then :
46563 cat >>confdefs.h <<_ACEOF
46564 #define HAVE__FINITEL 1
46565 _ACEOF
46568 done
46576 LIBS="$ac_save_LIBS"
46577 CXXFLAGS="$ac_save_CXXFLAGS"
46580 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46581 ac_save_CXXFLAGS="$CXXFLAGS"
46582 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
46586 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
46587 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
46588 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
46589 $as_echo_n "(cached) " >&6
46590 else
46593 ac_ext=cpp
46594 ac_cpp='$CXXCPP $CPPFLAGS'
46595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46600 /* end confdefs.h. */
46601 #include <stdlib.h>
46603 main ()
46605 at_quick_exit(0);
46607 return 0;
46609 _ACEOF
46610 if ac_fn_cxx_try_compile "$LINENO"; then :
46611 glibcxx_cv_func_at_quick_exit_use=yes
46612 else
46613 glibcxx_cv_func_at_quick_exit_use=no
46615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46616 ac_ext=c
46617 ac_cpp='$CPP $CPPFLAGS'
46618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
46627 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
46628 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
46629 for ac_func in at_quick_exit
46630 do :
46631 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
46632 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
46633 cat >>confdefs.h <<_ACEOF
46634 #define HAVE_AT_QUICK_EXIT 1
46635 _ACEOF
46638 done
46643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
46644 $as_echo_n "checking for quick_exit declaration... " >&6; }
46645 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
46646 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
46647 $as_echo_n "(cached) " >&6
46648 else
46651 ac_ext=cpp
46652 ac_cpp='$CXXCPP $CPPFLAGS'
46653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46658 /* end confdefs.h. */
46659 #include <stdlib.h>
46661 main ()
46663 quick_exit(0);
46665 return 0;
46667 _ACEOF
46668 if ac_fn_cxx_try_compile "$LINENO"; then :
46669 glibcxx_cv_func_quick_exit_use=yes
46670 else
46671 glibcxx_cv_func_quick_exit_use=no
46673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46674 ac_ext=c
46675 ac_cpp='$CPP $CPPFLAGS'
46676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
46685 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
46686 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
46687 for ac_func in quick_exit
46688 do :
46689 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
46690 if test "x$ac_cv_func_quick_exit" = x""yes; then :
46691 cat >>confdefs.h <<_ACEOF
46692 #define HAVE_QUICK_EXIT 1
46693 _ACEOF
46696 done
46701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
46702 $as_echo_n "checking for strtold declaration... " >&6; }
46703 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
46704 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
46705 $as_echo_n "(cached) " >&6
46706 else
46709 ac_ext=cpp
46710 ac_cpp='$CXXCPP $CPPFLAGS'
46711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46716 /* end confdefs.h. */
46717 #include <stdlib.h>
46719 main ()
46721 strtold(0, 0);
46723 return 0;
46725 _ACEOF
46726 if ac_fn_cxx_try_compile "$LINENO"; then :
46727 glibcxx_cv_func_strtold_use=yes
46728 else
46729 glibcxx_cv_func_strtold_use=no
46731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46732 ac_ext=c
46733 ac_cpp='$CPP $CPPFLAGS'
46734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
46743 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
46744 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
46745 for ac_func in strtold
46746 do :
46747 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
46748 if test "x$ac_cv_func_strtold" = x""yes; then :
46749 cat >>confdefs.h <<_ACEOF
46750 #define HAVE_STRTOLD 1
46751 _ACEOF
46754 done
46761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
46762 $as_echo_n "checking for strtof declaration... " >&6; }
46763 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
46764 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
46765 $as_echo_n "(cached) " >&6
46766 else
46769 ac_ext=cpp
46770 ac_cpp='$CXXCPP $CPPFLAGS'
46771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46776 /* end confdefs.h. */
46777 #include <stdlib.h>
46779 main ()
46781 strtof(0, 0);
46783 return 0;
46785 _ACEOF
46786 if ac_fn_cxx_try_compile "$LINENO"; then :
46787 glibcxx_cv_func_strtof_use=yes
46788 else
46789 glibcxx_cv_func_strtof_use=no
46791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46792 ac_ext=c
46793 ac_cpp='$CPP $CPPFLAGS'
46794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
46803 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
46804 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
46805 for ac_func in strtof
46806 do :
46807 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
46808 if test "x$ac_cv_func_strtof" = x""yes; then :
46809 cat >>confdefs.h <<_ACEOF
46810 #define HAVE_STRTOF 1
46811 _ACEOF
46814 done
46821 CXXFLAGS="$ac_save_CXXFLAGS"
46823 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
46825 # We don't yet support AIX's TLS ABI.
46826 #GCC_CHECK_TLS
46832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
46833 $as_echo_n "checking for iconv... " >&6; }
46834 if test "${am_cv_func_iconv+set}" = set; then :
46835 $as_echo_n "(cached) " >&6
46836 else
46838 am_cv_func_iconv="no, consider installing GNU libiconv"
46839 am_cv_lib_iconv=no
46840 am_save_CPPFLAGS="$CPPFLAGS"
46841 CPPFLAGS="$CPPFLAGS $INCICONV"
46842 if test x$gcc_no_link = xyes; then
46843 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46846 /* end confdefs.h. */
46847 #include <stdlib.h>
46848 #include <iconv.h>
46850 main ()
46852 iconv_t cd = iconv_open("","");
46853 iconv(cd,NULL,NULL,NULL,NULL);
46854 iconv_close(cd);
46856 return 0;
46858 _ACEOF
46859 if ac_fn_c_try_link "$LINENO"; then :
46860 am_cv_func_iconv=yes
46862 rm -f core conftest.err conftest.$ac_objext \
46863 conftest$ac_exeext conftest.$ac_ext
46864 CPPFLAGS="$am_save_CPPFLAGS"
46866 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
46867 for _libs in .libs _libs; do
46868 am_save_CPPFLAGS="$CPPFLAGS"
46869 am_save_LIBS="$LIBS"
46870 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
46871 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
46872 if test x$gcc_no_link = xyes; then
46873 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46876 /* end confdefs.h. */
46877 #include <stdlib.h>
46878 #include <iconv.h>
46880 main ()
46882 iconv_t cd = iconv_open("","");
46883 iconv(cd,NULL,NULL,NULL,NULL);
46884 iconv_close(cd);
46886 return 0;
46888 _ACEOF
46889 if ac_fn_c_try_link "$LINENO"; then :
46890 INCICONV="-I../libiconv/include"
46891 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
46892 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
46893 am_cv_lib_iconv=yes
46894 am_cv_func_iconv=yes
46896 rm -f core conftest.err conftest.$ac_objext \
46897 conftest$ac_exeext conftest.$ac_ext
46898 CPPFLAGS="$am_save_CPPFLAGS"
46899 LIBS="$am_save_LIBS"
46900 if test "$am_cv_func_iconv" = "yes"; then
46901 break
46903 done
46906 if test "$am_cv_func_iconv" != yes; then
46907 am_save_CPPFLAGS="$CPPFLAGS"
46908 am_save_LIBS="$LIBS"
46909 CPPFLAGS="$LIBS $INCICONV"
46910 LIBS="$LIBS $LIBICONV"
46911 if test x$gcc_no_link = xyes; then
46912 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46915 /* end confdefs.h. */
46916 #include <stdlib.h>
46917 #include <iconv.h>
46919 main ()
46921 iconv_t cd = iconv_open("","");
46922 iconv(cd,NULL,NULL,NULL,NULL);
46923 iconv_close(cd);
46925 return 0;
46927 _ACEOF
46928 if ac_fn_c_try_link "$LINENO"; then :
46929 am_cv_lib_iconv=yes
46930 am_cv_func_iconv=yes
46932 rm -f core conftest.err conftest.$ac_objext \
46933 conftest$ac_exeext conftest.$ac_ext
46934 CPPFLAGS="$am_save_CPPFLAGS"
46935 LIBS="$am_save_LIBS"
46939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
46940 $as_echo "$am_cv_func_iconv" >&6; }
46941 if test "$am_cv_func_iconv" = yes; then
46943 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
46946 if test "$am_cv_lib_iconv" = yes; then
46948 for element in $INCICONV; do
46949 haveit=
46950 for x in $CPPFLAGS; do
46952 acl_save_prefix="$prefix"
46953 prefix="$acl_final_prefix"
46954 acl_save_exec_prefix="$exec_prefix"
46955 exec_prefix="$acl_final_exec_prefix"
46956 eval x=\"$x\"
46957 exec_prefix="$acl_save_exec_prefix"
46958 prefix="$acl_save_prefix"
46960 if test "X$x" = "X$element"; then
46961 haveit=yes
46962 break
46964 done
46965 if test -z "$haveit"; then
46966 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
46968 done
46970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
46971 $as_echo_n "checking how to link with libiconv... " >&6; }
46972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
46973 $as_echo "$LIBICONV" >&6; }
46974 else
46975 LIBICONV=
46976 LTLIBICONV=
46981 if test "$am_cv_func_iconv" = yes; then
46982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
46983 $as_echo_n "checking for iconv declaration... " >&6; }
46984 if test "${am_cv_proto_iconv+set}" = set; then :
46985 $as_echo_n "(cached) " >&6
46986 else
46988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46989 /* end confdefs.h. */
46991 #include <stdlib.h>
46992 #include <iconv.h>
46993 extern
46994 #ifdef __cplusplus
46996 #endif
46997 #if defined(__STDC__) || defined(__cplusplus)
46998 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
46999 #else
47000 size_t iconv();
47001 #endif
47004 main ()
47008 return 0;
47010 _ACEOF
47011 if ac_fn_c_try_compile "$LINENO"; then :
47012 am_cv_proto_iconv_arg1=""
47013 else
47014 am_cv_proto_iconv_arg1="const"
47016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47017 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);"
47020 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
47021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
47022 }$am_cv_proto_iconv" >&5
47023 $as_echo "${ac_t:-
47024 }$am_cv_proto_iconv" >&6; }
47026 cat >>confdefs.h <<_ACEOF
47027 #define ICONV_CONST $am_cv_proto_iconv_arg1
47028 _ACEOF
47034 *-darwin*)
47035 # Darwin versions vary, but the linker should work in a cross environment,
47036 # so we just check for all the features here.
47037 # Check for available headers.
47039 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
47041 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47042 ac_save_CXXFLAGS="$CXXFLAGS"
47043 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
47046 $as_echo_n "checking for sin in -lm... " >&6; }
47047 if test "${ac_cv_lib_m_sin+set}" = set; then :
47048 $as_echo_n "(cached) " >&6
47049 else
47050 ac_check_lib_save_LIBS=$LIBS
47051 LIBS="-lm $LIBS"
47052 if test x$gcc_no_link = xyes; then
47053 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47056 /* end confdefs.h. */
47058 /* Override any GCC internal prototype to avoid an error.
47059 Use char because int might match the return type of a GCC
47060 builtin and then its argument prototype would still apply. */
47061 #ifdef __cplusplus
47062 extern "C"
47063 #endif
47064 char sin ();
47066 main ()
47068 return sin ();
47070 return 0;
47072 _ACEOF
47073 if ac_fn_c_try_link "$LINENO"; then :
47074 ac_cv_lib_m_sin=yes
47075 else
47076 ac_cv_lib_m_sin=no
47078 rm -f core conftest.err conftest.$ac_objext \
47079 conftest$ac_exeext conftest.$ac_ext
47080 LIBS=$ac_check_lib_save_LIBS
47082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
47083 $as_echo "$ac_cv_lib_m_sin" >&6; }
47084 if test "x$ac_cv_lib_m_sin" = x""yes; then :
47085 libm="-lm"
47088 ac_save_LIBS="$LIBS"
47089 LIBS="$LIBS $libm"
47093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
47094 $as_echo_n "checking for isinf declaration... " >&6; }
47095 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
47096 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
47097 $as_echo_n "(cached) " >&6
47098 else
47101 ac_ext=cpp
47102 ac_cpp='$CXXCPP $CPPFLAGS'
47103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47108 /* end confdefs.h. */
47109 #include <math.h>
47110 #ifdef HAVE_IEEEFP_H
47111 #include <ieeefp.h>
47112 #endif
47115 main ()
47117 isinf(0);
47119 return 0;
47121 _ACEOF
47122 if ac_fn_cxx_try_compile "$LINENO"; then :
47123 glibcxx_cv_func_isinf_use=yes
47124 else
47125 glibcxx_cv_func_isinf_use=no
47127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47128 ac_ext=c
47129 ac_cpp='$CPP $CPPFLAGS'
47130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
47139 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
47141 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
47142 for ac_func in isinf
47143 do :
47144 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
47145 if test "x$ac_cv_func_isinf" = x""yes; then :
47146 cat >>confdefs.h <<_ACEOF
47147 #define HAVE_ISINF 1
47148 _ACEOF
47151 done
47153 else
47155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
47156 $as_echo_n "checking for _isinf declaration... " >&6; }
47157 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
47158 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
47159 $as_echo_n "(cached) " >&6
47160 else
47163 ac_ext=cpp
47164 ac_cpp='$CXXCPP $CPPFLAGS'
47165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47170 /* end confdefs.h. */
47171 #include <math.h>
47172 #ifdef HAVE_IEEEFP_H
47173 #include <ieeefp.h>
47174 #endif
47177 main ()
47179 _isinf(0);
47181 return 0;
47183 _ACEOF
47184 if ac_fn_cxx_try_compile "$LINENO"; then :
47185 glibcxx_cv_func__isinf_use=yes
47186 else
47187 glibcxx_cv_func__isinf_use=no
47189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47190 ac_ext=c
47191 ac_cpp='$CPP $CPPFLAGS'
47192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
47201 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
47203 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
47204 for ac_func in _isinf
47205 do :
47206 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
47207 if test "x$ac_cv_func__isinf" = x""yes; then :
47208 cat >>confdefs.h <<_ACEOF
47209 #define HAVE__ISINF 1
47210 _ACEOF
47213 done
47222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
47223 $as_echo_n "checking for isnan declaration... " >&6; }
47224 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
47225 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
47226 $as_echo_n "(cached) " >&6
47227 else
47230 ac_ext=cpp
47231 ac_cpp='$CXXCPP $CPPFLAGS'
47232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47237 /* end confdefs.h. */
47238 #include <math.h>
47239 #ifdef HAVE_IEEEFP_H
47240 #include <ieeefp.h>
47241 #endif
47244 main ()
47246 isnan(0);
47248 return 0;
47250 _ACEOF
47251 if ac_fn_cxx_try_compile "$LINENO"; then :
47252 glibcxx_cv_func_isnan_use=yes
47253 else
47254 glibcxx_cv_func_isnan_use=no
47256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47257 ac_ext=c
47258 ac_cpp='$CPP $CPPFLAGS'
47259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
47268 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
47270 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
47271 for ac_func in isnan
47272 do :
47273 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
47274 if test "x$ac_cv_func_isnan" = x""yes; then :
47275 cat >>confdefs.h <<_ACEOF
47276 #define HAVE_ISNAN 1
47277 _ACEOF
47280 done
47282 else
47284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
47285 $as_echo_n "checking for _isnan declaration... " >&6; }
47286 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
47287 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
47288 $as_echo_n "(cached) " >&6
47289 else
47292 ac_ext=cpp
47293 ac_cpp='$CXXCPP $CPPFLAGS'
47294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47299 /* end confdefs.h. */
47300 #include <math.h>
47301 #ifdef HAVE_IEEEFP_H
47302 #include <ieeefp.h>
47303 #endif
47306 main ()
47308 _isnan(0);
47310 return 0;
47312 _ACEOF
47313 if ac_fn_cxx_try_compile "$LINENO"; then :
47314 glibcxx_cv_func__isnan_use=yes
47315 else
47316 glibcxx_cv_func__isnan_use=no
47318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47319 ac_ext=c
47320 ac_cpp='$CPP $CPPFLAGS'
47321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
47330 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
47332 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
47333 for ac_func in _isnan
47334 do :
47335 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
47336 if test "x$ac_cv_func__isnan" = x""yes; then :
47337 cat >>confdefs.h <<_ACEOF
47338 #define HAVE__ISNAN 1
47339 _ACEOF
47342 done
47351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
47352 $as_echo_n "checking for finite declaration... " >&6; }
47353 if test x${glibcxx_cv_func_finite_use+set} != xset; then
47354 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
47355 $as_echo_n "(cached) " >&6
47356 else
47359 ac_ext=cpp
47360 ac_cpp='$CXXCPP $CPPFLAGS'
47361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47366 /* end confdefs.h. */
47367 #include <math.h>
47368 #ifdef HAVE_IEEEFP_H
47369 #include <ieeefp.h>
47370 #endif
47373 main ()
47375 finite(0);
47377 return 0;
47379 _ACEOF
47380 if ac_fn_cxx_try_compile "$LINENO"; then :
47381 glibcxx_cv_func_finite_use=yes
47382 else
47383 glibcxx_cv_func_finite_use=no
47385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47386 ac_ext=c
47387 ac_cpp='$CPP $CPPFLAGS'
47388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
47397 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
47399 if test x$glibcxx_cv_func_finite_use = x"yes"; then
47400 for ac_func in finite
47401 do :
47402 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
47403 if test "x$ac_cv_func_finite" = x""yes; then :
47404 cat >>confdefs.h <<_ACEOF
47405 #define HAVE_FINITE 1
47406 _ACEOF
47409 done
47411 else
47413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
47414 $as_echo_n "checking for _finite declaration... " >&6; }
47415 if test x${glibcxx_cv_func__finite_use+set} != xset; then
47416 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
47417 $as_echo_n "(cached) " >&6
47418 else
47421 ac_ext=cpp
47422 ac_cpp='$CXXCPP $CPPFLAGS'
47423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47428 /* end confdefs.h. */
47429 #include <math.h>
47430 #ifdef HAVE_IEEEFP_H
47431 #include <ieeefp.h>
47432 #endif
47435 main ()
47437 _finite(0);
47439 return 0;
47441 _ACEOF
47442 if ac_fn_cxx_try_compile "$LINENO"; then :
47443 glibcxx_cv_func__finite_use=yes
47444 else
47445 glibcxx_cv_func__finite_use=no
47447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47448 ac_ext=c
47449 ac_cpp='$CPP $CPPFLAGS'
47450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
47459 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
47461 if test x$glibcxx_cv_func__finite_use = x"yes"; then
47462 for ac_func in _finite
47463 do :
47464 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
47465 if test "x$ac_cv_func__finite" = x""yes; then :
47466 cat >>confdefs.h <<_ACEOF
47467 #define HAVE__FINITE 1
47468 _ACEOF
47471 done
47480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
47481 $as_echo_n "checking for sincos declaration... " >&6; }
47482 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
47483 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
47484 $as_echo_n "(cached) " >&6
47485 else
47488 ac_ext=cpp
47489 ac_cpp='$CXXCPP $CPPFLAGS'
47490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47495 /* end confdefs.h. */
47496 #include <math.h>
47498 main ()
47500 sincos(0, 0, 0);
47502 return 0;
47504 _ACEOF
47505 if ac_fn_cxx_try_compile "$LINENO"; then :
47506 glibcxx_cv_func_sincos_use=yes
47507 else
47508 glibcxx_cv_func_sincos_use=no
47510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47511 ac_ext=c
47512 ac_cpp='$CPP $CPPFLAGS'
47513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
47522 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
47524 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
47525 for ac_func in sincos
47526 do :
47527 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
47528 if test "x$ac_cv_func_sincos" = x""yes; then :
47529 cat >>confdefs.h <<_ACEOF
47530 #define HAVE_SINCOS 1
47531 _ACEOF
47534 done
47536 else
47538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
47539 $as_echo_n "checking for _sincos declaration... " >&6; }
47540 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
47541 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
47542 $as_echo_n "(cached) " >&6
47543 else
47546 ac_ext=cpp
47547 ac_cpp='$CXXCPP $CPPFLAGS'
47548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47553 /* end confdefs.h. */
47554 #include <math.h>
47556 main ()
47558 _sincos(0, 0, 0);
47560 return 0;
47562 _ACEOF
47563 if ac_fn_cxx_try_compile "$LINENO"; then :
47564 glibcxx_cv_func__sincos_use=yes
47565 else
47566 glibcxx_cv_func__sincos_use=no
47568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47569 ac_ext=c
47570 ac_cpp='$CPP $CPPFLAGS'
47571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
47580 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
47582 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
47583 for ac_func in _sincos
47584 do :
47585 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
47586 if test "x$ac_cv_func__sincos" = x""yes; then :
47587 cat >>confdefs.h <<_ACEOF
47588 #define HAVE__SINCOS 1
47589 _ACEOF
47592 done
47601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
47602 $as_echo_n "checking for fpclass declaration... " >&6; }
47603 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
47604 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
47605 $as_echo_n "(cached) " >&6
47606 else
47609 ac_ext=cpp
47610 ac_cpp='$CXXCPP $CPPFLAGS'
47611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47616 /* end confdefs.h. */
47617 #include <math.h>
47618 #ifdef HAVE_IEEEFP_H
47619 #include <ieeefp.h>
47620 #endif
47623 main ()
47625 fpclass(0);
47627 return 0;
47629 _ACEOF
47630 if ac_fn_cxx_try_compile "$LINENO"; then :
47631 glibcxx_cv_func_fpclass_use=yes
47632 else
47633 glibcxx_cv_func_fpclass_use=no
47635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47636 ac_ext=c
47637 ac_cpp='$CPP $CPPFLAGS'
47638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
47647 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
47649 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
47650 for ac_func in fpclass
47651 do :
47652 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
47653 if test "x$ac_cv_func_fpclass" = x""yes; then :
47654 cat >>confdefs.h <<_ACEOF
47655 #define HAVE_FPCLASS 1
47656 _ACEOF
47659 done
47661 else
47663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
47664 $as_echo_n "checking for _fpclass declaration... " >&6; }
47665 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
47666 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
47667 $as_echo_n "(cached) " >&6
47668 else
47671 ac_ext=cpp
47672 ac_cpp='$CXXCPP $CPPFLAGS'
47673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47678 /* end confdefs.h. */
47679 #include <math.h>
47680 #ifdef HAVE_IEEEFP_H
47681 #include <ieeefp.h>
47682 #endif
47685 main ()
47687 _fpclass(0);
47689 return 0;
47691 _ACEOF
47692 if ac_fn_cxx_try_compile "$LINENO"; then :
47693 glibcxx_cv_func__fpclass_use=yes
47694 else
47695 glibcxx_cv_func__fpclass_use=no
47697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47698 ac_ext=c
47699 ac_cpp='$CPP $CPPFLAGS'
47700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
47709 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
47711 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
47712 for ac_func in _fpclass
47713 do :
47714 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
47715 if test "x$ac_cv_func__fpclass" = x""yes; then :
47716 cat >>confdefs.h <<_ACEOF
47717 #define HAVE__FPCLASS 1
47718 _ACEOF
47721 done
47730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
47731 $as_echo_n "checking for qfpclass declaration... " >&6; }
47732 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
47733 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
47734 $as_echo_n "(cached) " >&6
47735 else
47738 ac_ext=cpp
47739 ac_cpp='$CXXCPP $CPPFLAGS'
47740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47745 /* end confdefs.h. */
47746 #include <math.h>
47747 #ifdef HAVE_IEEEFP_H
47748 #include <ieeefp.h>
47749 #endif
47752 main ()
47754 qfpclass(0);
47756 return 0;
47758 _ACEOF
47759 if ac_fn_cxx_try_compile "$LINENO"; then :
47760 glibcxx_cv_func_qfpclass_use=yes
47761 else
47762 glibcxx_cv_func_qfpclass_use=no
47764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47765 ac_ext=c
47766 ac_cpp='$CPP $CPPFLAGS'
47767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
47776 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
47778 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
47779 for ac_func in qfpclass
47780 do :
47781 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
47782 if test "x$ac_cv_func_qfpclass" = x""yes; then :
47783 cat >>confdefs.h <<_ACEOF
47784 #define HAVE_QFPCLASS 1
47785 _ACEOF
47788 done
47790 else
47792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
47793 $as_echo_n "checking for _qfpclass declaration... " >&6; }
47794 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
47795 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
47796 $as_echo_n "(cached) " >&6
47797 else
47800 ac_ext=cpp
47801 ac_cpp='$CXXCPP $CPPFLAGS'
47802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47807 /* end confdefs.h. */
47808 #include <math.h>
47809 #ifdef HAVE_IEEEFP_H
47810 #include <ieeefp.h>
47811 #endif
47814 main ()
47816 _qfpclass(0);
47818 return 0;
47820 _ACEOF
47821 if ac_fn_cxx_try_compile "$LINENO"; then :
47822 glibcxx_cv_func__qfpclass_use=yes
47823 else
47824 glibcxx_cv_func__qfpclass_use=no
47826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47827 ac_ext=c
47828 ac_cpp='$CPP $CPPFLAGS'
47829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
47838 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
47840 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
47841 for ac_func in _qfpclass
47842 do :
47843 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
47844 if test "x$ac_cv_func__qfpclass" = x""yes; then :
47845 cat >>confdefs.h <<_ACEOF
47846 #define HAVE__QFPCLASS 1
47847 _ACEOF
47850 done
47859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
47860 $as_echo_n "checking for hypot declaration... " >&6; }
47861 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
47862 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
47863 $as_echo_n "(cached) " >&6
47864 else
47867 ac_ext=cpp
47868 ac_cpp='$CXXCPP $CPPFLAGS'
47869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47874 /* end confdefs.h. */
47875 #include <math.h>
47877 main ()
47879 hypot(0, 0);
47881 return 0;
47883 _ACEOF
47884 if ac_fn_cxx_try_compile "$LINENO"; then :
47885 glibcxx_cv_func_hypot_use=yes
47886 else
47887 glibcxx_cv_func_hypot_use=no
47889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47890 ac_ext=c
47891 ac_cpp='$CPP $CPPFLAGS'
47892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
47901 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
47903 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
47904 for ac_func in hypot
47905 do :
47906 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
47907 if test "x$ac_cv_func_hypot" = x""yes; then :
47908 cat >>confdefs.h <<_ACEOF
47909 #define HAVE_HYPOT 1
47910 _ACEOF
47913 done
47915 else
47917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
47918 $as_echo_n "checking for _hypot declaration... " >&6; }
47919 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
47920 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
47921 $as_echo_n "(cached) " >&6
47922 else
47925 ac_ext=cpp
47926 ac_cpp='$CXXCPP $CPPFLAGS'
47927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47932 /* end confdefs.h. */
47933 #include <math.h>
47935 main ()
47937 _hypot(0, 0);
47939 return 0;
47941 _ACEOF
47942 if ac_fn_cxx_try_compile "$LINENO"; then :
47943 glibcxx_cv_func__hypot_use=yes
47944 else
47945 glibcxx_cv_func__hypot_use=no
47947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47948 ac_ext=c
47949 ac_cpp='$CPP $CPPFLAGS'
47950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
47959 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
47961 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
47962 for ac_func in _hypot
47963 do :
47964 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
47965 if test "x$ac_cv_func__hypot" = x""yes; then :
47966 cat >>confdefs.h <<_ACEOF
47967 #define HAVE__HYPOT 1
47968 _ACEOF
47971 done
47980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
47981 $as_echo_n "checking for float trig functions... " >&6; }
47982 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
47983 $as_echo_n "(cached) " >&6
47984 else
47987 ac_ext=cpp
47988 ac_cpp='$CXXCPP $CPPFLAGS'
47989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47994 /* end confdefs.h. */
47995 #include <math.h>
47997 main ()
47999 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
48001 return 0;
48003 _ACEOF
48004 if ac_fn_cxx_try_compile "$LINENO"; then :
48005 glibcxx_cv_func_float_trig_use=yes
48006 else
48007 glibcxx_cv_func_float_trig_use=no
48009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48010 ac_ext=c
48011 ac_cpp='$CPP $CPPFLAGS'
48012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
48019 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
48020 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
48021 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
48022 do :
48023 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48024 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48025 eval as_val=\$$as_ac_var
48026 if test "x$as_val" = x""yes; then :
48027 cat >>confdefs.h <<_ACEOF
48028 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48029 _ACEOF
48032 done
48034 else
48035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
48036 $as_echo_n "checking for _float trig functions... " >&6; }
48037 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
48038 $as_echo_n "(cached) " >&6
48039 else
48042 ac_ext=cpp
48043 ac_cpp='$CXXCPP $CPPFLAGS'
48044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48049 /* end confdefs.h. */
48050 #include <math.h>
48052 main ()
48054 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
48056 return 0;
48058 _ACEOF
48059 if ac_fn_cxx_try_compile "$LINENO"; then :
48060 glibcxx_cv_func__float_trig_use=yes
48061 else
48062 glibcxx_cv_func__float_trig_use=no
48064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48065 ac_ext=c
48066 ac_cpp='$CPP $CPPFLAGS'
48067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
48074 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
48075 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
48076 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
48077 do :
48078 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48079 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48080 eval as_val=\$$as_ac_var
48081 if test "x$as_val" = x""yes; then :
48082 cat >>confdefs.h <<_ACEOF
48083 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48084 _ACEOF
48087 done
48096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
48097 $as_echo_n "checking for float round functions... " >&6; }
48098 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
48099 $as_echo_n "(cached) " >&6
48100 else
48103 ac_ext=cpp
48104 ac_cpp='$CXXCPP $CPPFLAGS'
48105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48110 /* end confdefs.h. */
48111 #include <math.h>
48113 main ()
48115 ceilf (0); floorf (0);
48117 return 0;
48119 _ACEOF
48120 if ac_fn_cxx_try_compile "$LINENO"; then :
48121 glibcxx_cv_func_float_round_use=yes
48122 else
48123 glibcxx_cv_func_float_round_use=no
48125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48126 ac_ext=c
48127 ac_cpp='$CPP $CPPFLAGS'
48128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
48135 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
48136 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
48137 for ac_func in ceilf floorf
48138 do :
48139 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48140 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48141 eval as_val=\$$as_ac_var
48142 if test "x$as_val" = x""yes; then :
48143 cat >>confdefs.h <<_ACEOF
48144 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48145 _ACEOF
48148 done
48150 else
48151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
48152 $as_echo_n "checking for _float round functions... " >&6; }
48153 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
48154 $as_echo_n "(cached) " >&6
48155 else
48158 ac_ext=cpp
48159 ac_cpp='$CXXCPP $CPPFLAGS'
48160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48165 /* end confdefs.h. */
48166 #include <math.h>
48168 main ()
48170 _ceilf (0); _floorf (0);
48172 return 0;
48174 _ACEOF
48175 if ac_fn_cxx_try_compile "$LINENO"; then :
48176 glibcxx_cv_func__float_round_use=yes
48177 else
48178 glibcxx_cv_func__float_round_use=no
48180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48181 ac_ext=c
48182 ac_cpp='$CPP $CPPFLAGS'
48183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
48190 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
48191 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
48192 for ac_func in _ceilf _floorf
48193 do :
48194 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48195 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48196 eval as_val=\$$as_ac_var
48197 if test "x$as_val" = x""yes; then :
48198 cat >>confdefs.h <<_ACEOF
48199 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48200 _ACEOF
48203 done
48213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
48214 $as_echo_n "checking for expf declaration... " >&6; }
48215 if test x${glibcxx_cv_func_expf_use+set} != xset; then
48216 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
48217 $as_echo_n "(cached) " >&6
48218 else
48221 ac_ext=cpp
48222 ac_cpp='$CXXCPP $CPPFLAGS'
48223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48228 /* end confdefs.h. */
48229 #include <math.h>
48230 #ifdef HAVE_IEEEFP_H
48231 #include <ieeefp.h>
48232 #endif
48235 main ()
48237 expf(0);
48239 return 0;
48241 _ACEOF
48242 if ac_fn_cxx_try_compile "$LINENO"; then :
48243 glibcxx_cv_func_expf_use=yes
48244 else
48245 glibcxx_cv_func_expf_use=no
48247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48248 ac_ext=c
48249 ac_cpp='$CPP $CPPFLAGS'
48250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
48259 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
48261 if test x$glibcxx_cv_func_expf_use = x"yes"; then
48262 for ac_func in expf
48263 do :
48264 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
48265 if test "x$ac_cv_func_expf" = x""yes; then :
48266 cat >>confdefs.h <<_ACEOF
48267 #define HAVE_EXPF 1
48268 _ACEOF
48271 done
48273 else
48275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
48276 $as_echo_n "checking for _expf declaration... " >&6; }
48277 if test x${glibcxx_cv_func__expf_use+set} != xset; then
48278 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
48279 $as_echo_n "(cached) " >&6
48280 else
48283 ac_ext=cpp
48284 ac_cpp='$CXXCPP $CPPFLAGS'
48285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48290 /* end confdefs.h. */
48291 #include <math.h>
48292 #ifdef HAVE_IEEEFP_H
48293 #include <ieeefp.h>
48294 #endif
48297 main ()
48299 _expf(0);
48301 return 0;
48303 _ACEOF
48304 if ac_fn_cxx_try_compile "$LINENO"; then :
48305 glibcxx_cv_func__expf_use=yes
48306 else
48307 glibcxx_cv_func__expf_use=no
48309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48310 ac_ext=c
48311 ac_cpp='$CPP $CPPFLAGS'
48312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
48321 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
48323 if test x$glibcxx_cv_func__expf_use = x"yes"; then
48324 for ac_func in _expf
48325 do :
48326 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
48327 if test "x$ac_cv_func__expf" = x""yes; then :
48328 cat >>confdefs.h <<_ACEOF
48329 #define HAVE__EXPF 1
48330 _ACEOF
48333 done
48342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
48343 $as_echo_n "checking for isnanf declaration... " >&6; }
48344 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
48345 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
48346 $as_echo_n "(cached) " >&6
48347 else
48350 ac_ext=cpp
48351 ac_cpp='$CXXCPP $CPPFLAGS'
48352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48357 /* end confdefs.h. */
48358 #include <math.h>
48359 #ifdef HAVE_IEEEFP_H
48360 #include <ieeefp.h>
48361 #endif
48364 main ()
48366 isnanf(0);
48368 return 0;
48370 _ACEOF
48371 if ac_fn_cxx_try_compile "$LINENO"; then :
48372 glibcxx_cv_func_isnanf_use=yes
48373 else
48374 glibcxx_cv_func_isnanf_use=no
48376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48377 ac_ext=c
48378 ac_cpp='$CPP $CPPFLAGS'
48379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
48388 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
48390 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
48391 for ac_func in isnanf
48392 do :
48393 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
48394 if test "x$ac_cv_func_isnanf" = x""yes; then :
48395 cat >>confdefs.h <<_ACEOF
48396 #define HAVE_ISNANF 1
48397 _ACEOF
48400 done
48402 else
48404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
48405 $as_echo_n "checking for _isnanf declaration... " >&6; }
48406 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
48407 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
48408 $as_echo_n "(cached) " >&6
48409 else
48412 ac_ext=cpp
48413 ac_cpp='$CXXCPP $CPPFLAGS'
48414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48419 /* end confdefs.h. */
48420 #include <math.h>
48421 #ifdef HAVE_IEEEFP_H
48422 #include <ieeefp.h>
48423 #endif
48426 main ()
48428 _isnanf(0);
48430 return 0;
48432 _ACEOF
48433 if ac_fn_cxx_try_compile "$LINENO"; then :
48434 glibcxx_cv_func__isnanf_use=yes
48435 else
48436 glibcxx_cv_func__isnanf_use=no
48438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48439 ac_ext=c
48440 ac_cpp='$CPP $CPPFLAGS'
48441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
48450 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
48452 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
48453 for ac_func in _isnanf
48454 do :
48455 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
48456 if test "x$ac_cv_func__isnanf" = x""yes; then :
48457 cat >>confdefs.h <<_ACEOF
48458 #define HAVE__ISNANF 1
48459 _ACEOF
48462 done
48471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
48472 $as_echo_n "checking for isinff declaration... " >&6; }
48473 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
48474 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
48475 $as_echo_n "(cached) " >&6
48476 else
48479 ac_ext=cpp
48480 ac_cpp='$CXXCPP $CPPFLAGS'
48481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48486 /* end confdefs.h. */
48487 #include <math.h>
48488 #ifdef HAVE_IEEEFP_H
48489 #include <ieeefp.h>
48490 #endif
48493 main ()
48495 isinff(0);
48497 return 0;
48499 _ACEOF
48500 if ac_fn_cxx_try_compile "$LINENO"; then :
48501 glibcxx_cv_func_isinff_use=yes
48502 else
48503 glibcxx_cv_func_isinff_use=no
48505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48506 ac_ext=c
48507 ac_cpp='$CPP $CPPFLAGS'
48508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
48517 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
48519 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
48520 for ac_func in isinff
48521 do :
48522 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
48523 if test "x$ac_cv_func_isinff" = x""yes; then :
48524 cat >>confdefs.h <<_ACEOF
48525 #define HAVE_ISINFF 1
48526 _ACEOF
48529 done
48531 else
48533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
48534 $as_echo_n "checking for _isinff declaration... " >&6; }
48535 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48536 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
48537 $as_echo_n "(cached) " >&6
48538 else
48541 ac_ext=cpp
48542 ac_cpp='$CXXCPP $CPPFLAGS'
48543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48548 /* end confdefs.h. */
48549 #include <math.h>
48550 #ifdef HAVE_IEEEFP_H
48551 #include <ieeefp.h>
48552 #endif
48555 main ()
48557 _isinff(0);
48559 return 0;
48561 _ACEOF
48562 if ac_fn_cxx_try_compile "$LINENO"; then :
48563 glibcxx_cv_func__isinff_use=yes
48564 else
48565 glibcxx_cv_func__isinff_use=no
48567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48568 ac_ext=c
48569 ac_cpp='$CPP $CPPFLAGS'
48570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
48579 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
48581 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48582 for ac_func in _isinff
48583 do :
48584 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
48585 if test "x$ac_cv_func__isinff" = x""yes; then :
48586 cat >>confdefs.h <<_ACEOF
48587 #define HAVE__ISINFF 1
48588 _ACEOF
48591 done
48600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
48601 $as_echo_n "checking for atan2f declaration... " >&6; }
48602 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48603 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
48604 $as_echo_n "(cached) " >&6
48605 else
48608 ac_ext=cpp
48609 ac_cpp='$CXXCPP $CPPFLAGS'
48610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48615 /* end confdefs.h. */
48616 #include <math.h>
48618 main ()
48620 atan2f(0, 0);
48622 return 0;
48624 _ACEOF
48625 if ac_fn_cxx_try_compile "$LINENO"; then :
48626 glibcxx_cv_func_atan2f_use=yes
48627 else
48628 glibcxx_cv_func_atan2f_use=no
48630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48631 ac_ext=c
48632 ac_cpp='$CPP $CPPFLAGS'
48633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
48642 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
48644 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48645 for ac_func in atan2f
48646 do :
48647 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
48648 if test "x$ac_cv_func_atan2f" = x""yes; then :
48649 cat >>confdefs.h <<_ACEOF
48650 #define HAVE_ATAN2F 1
48651 _ACEOF
48654 done
48656 else
48658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
48659 $as_echo_n "checking for _atan2f declaration... " >&6; }
48660 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48661 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
48662 $as_echo_n "(cached) " >&6
48663 else
48666 ac_ext=cpp
48667 ac_cpp='$CXXCPP $CPPFLAGS'
48668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48673 /* end confdefs.h. */
48674 #include <math.h>
48676 main ()
48678 _atan2f(0, 0);
48680 return 0;
48682 _ACEOF
48683 if ac_fn_cxx_try_compile "$LINENO"; then :
48684 glibcxx_cv_func__atan2f_use=yes
48685 else
48686 glibcxx_cv_func__atan2f_use=no
48688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48689 ac_ext=c
48690 ac_cpp='$CPP $CPPFLAGS'
48691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
48700 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
48702 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48703 for ac_func in _atan2f
48704 do :
48705 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
48706 if test "x$ac_cv_func__atan2f" = x""yes; then :
48707 cat >>confdefs.h <<_ACEOF
48708 #define HAVE__ATAN2F 1
48709 _ACEOF
48712 done
48721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
48722 $as_echo_n "checking for fabsf declaration... " >&6; }
48723 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48724 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
48725 $as_echo_n "(cached) " >&6
48726 else
48729 ac_ext=cpp
48730 ac_cpp='$CXXCPP $CPPFLAGS'
48731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48736 /* end confdefs.h. */
48737 #include <math.h>
48738 #ifdef HAVE_IEEEFP_H
48739 #include <ieeefp.h>
48740 #endif
48743 main ()
48745 fabsf(0);
48747 return 0;
48749 _ACEOF
48750 if ac_fn_cxx_try_compile "$LINENO"; then :
48751 glibcxx_cv_func_fabsf_use=yes
48752 else
48753 glibcxx_cv_func_fabsf_use=no
48755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48756 ac_ext=c
48757 ac_cpp='$CPP $CPPFLAGS'
48758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
48767 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
48769 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48770 for ac_func in fabsf
48771 do :
48772 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
48773 if test "x$ac_cv_func_fabsf" = x""yes; then :
48774 cat >>confdefs.h <<_ACEOF
48775 #define HAVE_FABSF 1
48776 _ACEOF
48779 done
48781 else
48783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
48784 $as_echo_n "checking for _fabsf declaration... " >&6; }
48785 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48786 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
48787 $as_echo_n "(cached) " >&6
48788 else
48791 ac_ext=cpp
48792 ac_cpp='$CXXCPP $CPPFLAGS'
48793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48798 /* end confdefs.h. */
48799 #include <math.h>
48800 #ifdef HAVE_IEEEFP_H
48801 #include <ieeefp.h>
48802 #endif
48805 main ()
48807 _fabsf(0);
48809 return 0;
48811 _ACEOF
48812 if ac_fn_cxx_try_compile "$LINENO"; then :
48813 glibcxx_cv_func__fabsf_use=yes
48814 else
48815 glibcxx_cv_func__fabsf_use=no
48817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48818 ac_ext=c
48819 ac_cpp='$CPP $CPPFLAGS'
48820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
48829 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
48831 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48832 for ac_func in _fabsf
48833 do :
48834 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
48835 if test "x$ac_cv_func__fabsf" = x""yes; then :
48836 cat >>confdefs.h <<_ACEOF
48837 #define HAVE__FABSF 1
48838 _ACEOF
48841 done
48850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
48851 $as_echo_n "checking for fmodf declaration... " >&6; }
48852 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
48853 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
48854 $as_echo_n "(cached) " >&6
48855 else
48858 ac_ext=cpp
48859 ac_cpp='$CXXCPP $CPPFLAGS'
48860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48865 /* end confdefs.h. */
48866 #include <math.h>
48868 main ()
48870 fmodf(0, 0);
48872 return 0;
48874 _ACEOF
48875 if ac_fn_cxx_try_compile "$LINENO"; then :
48876 glibcxx_cv_func_fmodf_use=yes
48877 else
48878 glibcxx_cv_func_fmodf_use=no
48880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48881 ac_ext=c
48882 ac_cpp='$CPP $CPPFLAGS'
48883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
48892 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
48894 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
48895 for ac_func in fmodf
48896 do :
48897 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
48898 if test "x$ac_cv_func_fmodf" = x""yes; then :
48899 cat >>confdefs.h <<_ACEOF
48900 #define HAVE_FMODF 1
48901 _ACEOF
48904 done
48906 else
48908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
48909 $as_echo_n "checking for _fmodf declaration... " >&6; }
48910 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
48911 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
48912 $as_echo_n "(cached) " >&6
48913 else
48916 ac_ext=cpp
48917 ac_cpp='$CXXCPP $CPPFLAGS'
48918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48923 /* end confdefs.h. */
48924 #include <math.h>
48926 main ()
48928 _fmodf(0, 0);
48930 return 0;
48932 _ACEOF
48933 if ac_fn_cxx_try_compile "$LINENO"; then :
48934 glibcxx_cv_func__fmodf_use=yes
48935 else
48936 glibcxx_cv_func__fmodf_use=no
48938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48939 ac_ext=c
48940 ac_cpp='$CPP $CPPFLAGS'
48941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
48950 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
48952 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
48953 for ac_func in _fmodf
48954 do :
48955 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
48956 if test "x$ac_cv_func__fmodf" = x""yes; then :
48957 cat >>confdefs.h <<_ACEOF
48958 #define HAVE__FMODF 1
48959 _ACEOF
48962 done
48971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
48972 $as_echo_n "checking for frexpf declaration... " >&6; }
48973 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48974 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
48975 $as_echo_n "(cached) " >&6
48976 else
48979 ac_ext=cpp
48980 ac_cpp='$CXXCPP $CPPFLAGS'
48981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48986 /* end confdefs.h. */
48987 #include <math.h>
48989 main ()
48991 frexpf(0, 0);
48993 return 0;
48995 _ACEOF
48996 if ac_fn_cxx_try_compile "$LINENO"; then :
48997 glibcxx_cv_func_frexpf_use=yes
48998 else
48999 glibcxx_cv_func_frexpf_use=no
49001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49002 ac_ext=c
49003 ac_cpp='$CPP $CPPFLAGS'
49004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
49013 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
49015 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49016 for ac_func in frexpf
49017 do :
49018 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
49019 if test "x$ac_cv_func_frexpf" = x""yes; then :
49020 cat >>confdefs.h <<_ACEOF
49021 #define HAVE_FREXPF 1
49022 _ACEOF
49025 done
49027 else
49029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
49030 $as_echo_n "checking for _frexpf declaration... " >&6; }
49031 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49032 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
49033 $as_echo_n "(cached) " >&6
49034 else
49037 ac_ext=cpp
49038 ac_cpp='$CXXCPP $CPPFLAGS'
49039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49044 /* end confdefs.h. */
49045 #include <math.h>
49047 main ()
49049 _frexpf(0, 0);
49051 return 0;
49053 _ACEOF
49054 if ac_fn_cxx_try_compile "$LINENO"; then :
49055 glibcxx_cv_func__frexpf_use=yes
49056 else
49057 glibcxx_cv_func__frexpf_use=no
49059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49060 ac_ext=c
49061 ac_cpp='$CPP $CPPFLAGS'
49062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
49071 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
49073 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49074 for ac_func in _frexpf
49075 do :
49076 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
49077 if test "x$ac_cv_func__frexpf" = x""yes; then :
49078 cat >>confdefs.h <<_ACEOF
49079 #define HAVE__FREXPF 1
49080 _ACEOF
49083 done
49092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
49093 $as_echo_n "checking for hypotf declaration... " >&6; }
49094 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49095 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
49096 $as_echo_n "(cached) " >&6
49097 else
49100 ac_ext=cpp
49101 ac_cpp='$CXXCPP $CPPFLAGS'
49102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49107 /* end confdefs.h. */
49108 #include <math.h>
49110 main ()
49112 hypotf(0, 0);
49114 return 0;
49116 _ACEOF
49117 if ac_fn_cxx_try_compile "$LINENO"; then :
49118 glibcxx_cv_func_hypotf_use=yes
49119 else
49120 glibcxx_cv_func_hypotf_use=no
49122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49123 ac_ext=c
49124 ac_cpp='$CPP $CPPFLAGS'
49125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
49134 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
49136 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49137 for ac_func in hypotf
49138 do :
49139 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
49140 if test "x$ac_cv_func_hypotf" = x""yes; then :
49141 cat >>confdefs.h <<_ACEOF
49142 #define HAVE_HYPOTF 1
49143 _ACEOF
49146 done
49148 else
49150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
49151 $as_echo_n "checking for _hypotf declaration... " >&6; }
49152 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49153 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
49154 $as_echo_n "(cached) " >&6
49155 else
49158 ac_ext=cpp
49159 ac_cpp='$CXXCPP $CPPFLAGS'
49160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49165 /* end confdefs.h. */
49166 #include <math.h>
49168 main ()
49170 _hypotf(0, 0);
49172 return 0;
49174 _ACEOF
49175 if ac_fn_cxx_try_compile "$LINENO"; then :
49176 glibcxx_cv_func__hypotf_use=yes
49177 else
49178 glibcxx_cv_func__hypotf_use=no
49180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49181 ac_ext=c
49182 ac_cpp='$CPP $CPPFLAGS'
49183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
49192 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
49194 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49195 for ac_func in _hypotf
49196 do :
49197 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
49198 if test "x$ac_cv_func__hypotf" = x""yes; then :
49199 cat >>confdefs.h <<_ACEOF
49200 #define HAVE__HYPOTF 1
49201 _ACEOF
49204 done
49213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
49214 $as_echo_n "checking for ldexpf declaration... " >&6; }
49215 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49216 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
49217 $as_echo_n "(cached) " >&6
49218 else
49221 ac_ext=cpp
49222 ac_cpp='$CXXCPP $CPPFLAGS'
49223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49228 /* end confdefs.h. */
49229 #include <math.h>
49231 main ()
49233 ldexpf(0, 0);
49235 return 0;
49237 _ACEOF
49238 if ac_fn_cxx_try_compile "$LINENO"; then :
49239 glibcxx_cv_func_ldexpf_use=yes
49240 else
49241 glibcxx_cv_func_ldexpf_use=no
49243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49244 ac_ext=c
49245 ac_cpp='$CPP $CPPFLAGS'
49246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
49255 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
49257 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
49258 for ac_func in ldexpf
49259 do :
49260 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
49261 if test "x$ac_cv_func_ldexpf" = x""yes; then :
49262 cat >>confdefs.h <<_ACEOF
49263 #define HAVE_LDEXPF 1
49264 _ACEOF
49267 done
49269 else
49271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
49272 $as_echo_n "checking for _ldexpf declaration... " >&6; }
49273 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
49274 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
49275 $as_echo_n "(cached) " >&6
49276 else
49279 ac_ext=cpp
49280 ac_cpp='$CXXCPP $CPPFLAGS'
49281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49286 /* end confdefs.h. */
49287 #include <math.h>
49289 main ()
49291 _ldexpf(0, 0);
49293 return 0;
49295 _ACEOF
49296 if ac_fn_cxx_try_compile "$LINENO"; then :
49297 glibcxx_cv_func__ldexpf_use=yes
49298 else
49299 glibcxx_cv_func__ldexpf_use=no
49301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49302 ac_ext=c
49303 ac_cpp='$CPP $CPPFLAGS'
49304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
49313 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
49315 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
49316 for ac_func in _ldexpf
49317 do :
49318 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
49319 if test "x$ac_cv_func__ldexpf" = x""yes; then :
49320 cat >>confdefs.h <<_ACEOF
49321 #define HAVE__LDEXPF 1
49322 _ACEOF
49325 done
49334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
49335 $as_echo_n "checking for logf declaration... " >&6; }
49336 if test x${glibcxx_cv_func_logf_use+set} != xset; then
49337 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
49338 $as_echo_n "(cached) " >&6
49339 else
49342 ac_ext=cpp
49343 ac_cpp='$CXXCPP $CPPFLAGS'
49344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49349 /* end confdefs.h. */
49350 #include <math.h>
49351 #ifdef HAVE_IEEEFP_H
49352 #include <ieeefp.h>
49353 #endif
49356 main ()
49358 logf(0);
49360 return 0;
49362 _ACEOF
49363 if ac_fn_cxx_try_compile "$LINENO"; then :
49364 glibcxx_cv_func_logf_use=yes
49365 else
49366 glibcxx_cv_func_logf_use=no
49368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49369 ac_ext=c
49370 ac_cpp='$CPP $CPPFLAGS'
49371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
49380 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
49382 if test x$glibcxx_cv_func_logf_use = x"yes"; then
49383 for ac_func in logf
49384 do :
49385 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
49386 if test "x$ac_cv_func_logf" = x""yes; then :
49387 cat >>confdefs.h <<_ACEOF
49388 #define HAVE_LOGF 1
49389 _ACEOF
49392 done
49394 else
49396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
49397 $as_echo_n "checking for _logf declaration... " >&6; }
49398 if test x${glibcxx_cv_func__logf_use+set} != xset; then
49399 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
49400 $as_echo_n "(cached) " >&6
49401 else
49404 ac_ext=cpp
49405 ac_cpp='$CXXCPP $CPPFLAGS'
49406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49411 /* end confdefs.h. */
49412 #include <math.h>
49413 #ifdef HAVE_IEEEFP_H
49414 #include <ieeefp.h>
49415 #endif
49418 main ()
49420 _logf(0);
49422 return 0;
49424 _ACEOF
49425 if ac_fn_cxx_try_compile "$LINENO"; then :
49426 glibcxx_cv_func__logf_use=yes
49427 else
49428 glibcxx_cv_func__logf_use=no
49430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49431 ac_ext=c
49432 ac_cpp='$CPP $CPPFLAGS'
49433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
49442 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
49444 if test x$glibcxx_cv_func__logf_use = x"yes"; then
49445 for ac_func in _logf
49446 do :
49447 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
49448 if test "x$ac_cv_func__logf" = x""yes; then :
49449 cat >>confdefs.h <<_ACEOF
49450 #define HAVE__LOGF 1
49451 _ACEOF
49454 done
49463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
49464 $as_echo_n "checking for log10f declaration... " >&6; }
49465 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
49466 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
49467 $as_echo_n "(cached) " >&6
49468 else
49471 ac_ext=cpp
49472 ac_cpp='$CXXCPP $CPPFLAGS'
49473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49478 /* end confdefs.h. */
49479 #include <math.h>
49480 #ifdef HAVE_IEEEFP_H
49481 #include <ieeefp.h>
49482 #endif
49485 main ()
49487 log10f(0);
49489 return 0;
49491 _ACEOF
49492 if ac_fn_cxx_try_compile "$LINENO"; then :
49493 glibcxx_cv_func_log10f_use=yes
49494 else
49495 glibcxx_cv_func_log10f_use=no
49497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49498 ac_ext=c
49499 ac_cpp='$CPP $CPPFLAGS'
49500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
49509 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
49511 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
49512 for ac_func in log10f
49513 do :
49514 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
49515 if test "x$ac_cv_func_log10f" = x""yes; then :
49516 cat >>confdefs.h <<_ACEOF
49517 #define HAVE_LOG10F 1
49518 _ACEOF
49521 done
49523 else
49525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
49526 $as_echo_n "checking for _log10f declaration... " >&6; }
49527 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
49528 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
49529 $as_echo_n "(cached) " >&6
49530 else
49533 ac_ext=cpp
49534 ac_cpp='$CXXCPP $CPPFLAGS'
49535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49540 /* end confdefs.h. */
49541 #include <math.h>
49542 #ifdef HAVE_IEEEFP_H
49543 #include <ieeefp.h>
49544 #endif
49547 main ()
49549 _log10f(0);
49551 return 0;
49553 _ACEOF
49554 if ac_fn_cxx_try_compile "$LINENO"; then :
49555 glibcxx_cv_func__log10f_use=yes
49556 else
49557 glibcxx_cv_func__log10f_use=no
49559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49560 ac_ext=c
49561 ac_cpp='$CPP $CPPFLAGS'
49562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
49571 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
49573 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
49574 for ac_func in _log10f
49575 do :
49576 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
49577 if test "x$ac_cv_func__log10f" = x""yes; then :
49578 cat >>confdefs.h <<_ACEOF
49579 #define HAVE__LOG10F 1
49580 _ACEOF
49583 done
49592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
49593 $as_echo_n "checking for modff declaration... " >&6; }
49594 if test x${glibcxx_cv_func_modff_use+set} != xset; then
49595 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
49596 $as_echo_n "(cached) " >&6
49597 else
49600 ac_ext=cpp
49601 ac_cpp='$CXXCPP $CPPFLAGS'
49602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49607 /* end confdefs.h. */
49608 #include <math.h>
49610 main ()
49612 modff(0, 0);
49614 return 0;
49616 _ACEOF
49617 if ac_fn_cxx_try_compile "$LINENO"; then :
49618 glibcxx_cv_func_modff_use=yes
49619 else
49620 glibcxx_cv_func_modff_use=no
49622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49623 ac_ext=c
49624 ac_cpp='$CPP $CPPFLAGS'
49625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
49634 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
49636 if test x$glibcxx_cv_func_modff_use = x"yes"; then
49637 for ac_func in modff
49638 do :
49639 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
49640 if test "x$ac_cv_func_modff" = x""yes; then :
49641 cat >>confdefs.h <<_ACEOF
49642 #define HAVE_MODFF 1
49643 _ACEOF
49646 done
49648 else
49650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
49651 $as_echo_n "checking for _modff declaration... " >&6; }
49652 if test x${glibcxx_cv_func__modff_use+set} != xset; then
49653 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
49654 $as_echo_n "(cached) " >&6
49655 else
49658 ac_ext=cpp
49659 ac_cpp='$CXXCPP $CPPFLAGS'
49660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49665 /* end confdefs.h. */
49666 #include <math.h>
49668 main ()
49670 _modff(0, 0);
49672 return 0;
49674 _ACEOF
49675 if ac_fn_cxx_try_compile "$LINENO"; then :
49676 glibcxx_cv_func__modff_use=yes
49677 else
49678 glibcxx_cv_func__modff_use=no
49680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49681 ac_ext=c
49682 ac_cpp='$CPP $CPPFLAGS'
49683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
49692 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
49694 if test x$glibcxx_cv_func__modff_use = x"yes"; then
49695 for ac_func in _modff
49696 do :
49697 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
49698 if test "x$ac_cv_func__modff" = x""yes; then :
49699 cat >>confdefs.h <<_ACEOF
49700 #define HAVE__MODFF 1
49701 _ACEOF
49704 done
49713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
49714 $as_echo_n "checking for modf declaration... " >&6; }
49715 if test x${glibcxx_cv_func_modf_use+set} != xset; then
49716 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
49717 $as_echo_n "(cached) " >&6
49718 else
49721 ac_ext=cpp
49722 ac_cpp='$CXXCPP $CPPFLAGS'
49723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49728 /* end confdefs.h. */
49729 #include <math.h>
49731 main ()
49733 modf(0, 0);
49735 return 0;
49737 _ACEOF
49738 if ac_fn_cxx_try_compile "$LINENO"; then :
49739 glibcxx_cv_func_modf_use=yes
49740 else
49741 glibcxx_cv_func_modf_use=no
49743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49744 ac_ext=c
49745 ac_cpp='$CPP $CPPFLAGS'
49746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
49755 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
49757 if test x$glibcxx_cv_func_modf_use = x"yes"; then
49758 for ac_func in modf
49759 do :
49760 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
49761 if test "x$ac_cv_func_modf" = x""yes; then :
49762 cat >>confdefs.h <<_ACEOF
49763 #define HAVE_MODF 1
49764 _ACEOF
49767 done
49769 else
49771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
49772 $as_echo_n "checking for _modf declaration... " >&6; }
49773 if test x${glibcxx_cv_func__modf_use+set} != xset; then
49774 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
49775 $as_echo_n "(cached) " >&6
49776 else
49779 ac_ext=cpp
49780 ac_cpp='$CXXCPP $CPPFLAGS'
49781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49786 /* end confdefs.h. */
49787 #include <math.h>
49789 main ()
49791 _modf(0, 0);
49793 return 0;
49795 _ACEOF
49796 if ac_fn_cxx_try_compile "$LINENO"; then :
49797 glibcxx_cv_func__modf_use=yes
49798 else
49799 glibcxx_cv_func__modf_use=no
49801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49802 ac_ext=c
49803 ac_cpp='$CPP $CPPFLAGS'
49804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
49813 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
49815 if test x$glibcxx_cv_func__modf_use = x"yes"; then
49816 for ac_func in _modf
49817 do :
49818 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
49819 if test "x$ac_cv_func__modf" = x""yes; then :
49820 cat >>confdefs.h <<_ACEOF
49821 #define HAVE__MODF 1
49822 _ACEOF
49825 done
49834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
49835 $as_echo_n "checking for powf declaration... " >&6; }
49836 if test x${glibcxx_cv_func_powf_use+set} != xset; then
49837 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
49838 $as_echo_n "(cached) " >&6
49839 else
49842 ac_ext=cpp
49843 ac_cpp='$CXXCPP $CPPFLAGS'
49844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49849 /* end confdefs.h. */
49850 #include <math.h>
49852 main ()
49854 powf(0, 0);
49856 return 0;
49858 _ACEOF
49859 if ac_fn_cxx_try_compile "$LINENO"; then :
49860 glibcxx_cv_func_powf_use=yes
49861 else
49862 glibcxx_cv_func_powf_use=no
49864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49865 ac_ext=c
49866 ac_cpp='$CPP $CPPFLAGS'
49867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
49876 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
49878 if test x$glibcxx_cv_func_powf_use = x"yes"; then
49879 for ac_func in powf
49880 do :
49881 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
49882 if test "x$ac_cv_func_powf" = x""yes; then :
49883 cat >>confdefs.h <<_ACEOF
49884 #define HAVE_POWF 1
49885 _ACEOF
49888 done
49890 else
49892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
49893 $as_echo_n "checking for _powf declaration... " >&6; }
49894 if test x${glibcxx_cv_func__powf_use+set} != xset; then
49895 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
49896 $as_echo_n "(cached) " >&6
49897 else
49900 ac_ext=cpp
49901 ac_cpp='$CXXCPP $CPPFLAGS'
49902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49907 /* end confdefs.h. */
49908 #include <math.h>
49910 main ()
49912 _powf(0, 0);
49914 return 0;
49916 _ACEOF
49917 if ac_fn_cxx_try_compile "$LINENO"; then :
49918 glibcxx_cv_func__powf_use=yes
49919 else
49920 glibcxx_cv_func__powf_use=no
49922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49923 ac_ext=c
49924 ac_cpp='$CPP $CPPFLAGS'
49925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
49934 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
49936 if test x$glibcxx_cv_func__powf_use = x"yes"; then
49937 for ac_func in _powf
49938 do :
49939 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
49940 if test "x$ac_cv_func__powf" = x""yes; then :
49941 cat >>confdefs.h <<_ACEOF
49942 #define HAVE__POWF 1
49943 _ACEOF
49946 done
49955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
49956 $as_echo_n "checking for sqrtf declaration... " >&6; }
49957 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
49958 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
49959 $as_echo_n "(cached) " >&6
49960 else
49963 ac_ext=cpp
49964 ac_cpp='$CXXCPP $CPPFLAGS'
49965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49970 /* end confdefs.h. */
49971 #include <math.h>
49972 #ifdef HAVE_IEEEFP_H
49973 #include <ieeefp.h>
49974 #endif
49977 main ()
49979 sqrtf(0);
49981 return 0;
49983 _ACEOF
49984 if ac_fn_cxx_try_compile "$LINENO"; then :
49985 glibcxx_cv_func_sqrtf_use=yes
49986 else
49987 glibcxx_cv_func_sqrtf_use=no
49989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49990 ac_ext=c
49991 ac_cpp='$CPP $CPPFLAGS'
49992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
50001 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
50003 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
50004 for ac_func in sqrtf
50005 do :
50006 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
50007 if test "x$ac_cv_func_sqrtf" = x""yes; then :
50008 cat >>confdefs.h <<_ACEOF
50009 #define HAVE_SQRTF 1
50010 _ACEOF
50013 done
50015 else
50017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
50018 $as_echo_n "checking for _sqrtf declaration... " >&6; }
50019 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
50020 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
50021 $as_echo_n "(cached) " >&6
50022 else
50025 ac_ext=cpp
50026 ac_cpp='$CXXCPP $CPPFLAGS'
50027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50032 /* end confdefs.h. */
50033 #include <math.h>
50034 #ifdef HAVE_IEEEFP_H
50035 #include <ieeefp.h>
50036 #endif
50039 main ()
50041 _sqrtf(0);
50043 return 0;
50045 _ACEOF
50046 if ac_fn_cxx_try_compile "$LINENO"; then :
50047 glibcxx_cv_func__sqrtf_use=yes
50048 else
50049 glibcxx_cv_func__sqrtf_use=no
50051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50052 ac_ext=c
50053 ac_cpp='$CPP $CPPFLAGS'
50054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
50063 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
50065 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
50066 for ac_func in _sqrtf
50067 do :
50068 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
50069 if test "x$ac_cv_func__sqrtf" = x""yes; then :
50070 cat >>confdefs.h <<_ACEOF
50071 #define HAVE__SQRTF 1
50072 _ACEOF
50075 done
50084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
50085 $as_echo_n "checking for sincosf declaration... " >&6; }
50086 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
50087 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
50088 $as_echo_n "(cached) " >&6
50089 else
50092 ac_ext=cpp
50093 ac_cpp='$CXXCPP $CPPFLAGS'
50094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50099 /* end confdefs.h. */
50100 #include <math.h>
50102 main ()
50104 sincosf(0, 0, 0);
50106 return 0;
50108 _ACEOF
50109 if ac_fn_cxx_try_compile "$LINENO"; then :
50110 glibcxx_cv_func_sincosf_use=yes
50111 else
50112 glibcxx_cv_func_sincosf_use=no
50114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50115 ac_ext=c
50116 ac_cpp='$CPP $CPPFLAGS'
50117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
50126 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
50128 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
50129 for ac_func in sincosf
50130 do :
50131 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
50132 if test "x$ac_cv_func_sincosf" = x""yes; then :
50133 cat >>confdefs.h <<_ACEOF
50134 #define HAVE_SINCOSF 1
50135 _ACEOF
50138 done
50140 else
50142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
50143 $as_echo_n "checking for _sincosf declaration... " >&6; }
50144 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
50145 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
50146 $as_echo_n "(cached) " >&6
50147 else
50150 ac_ext=cpp
50151 ac_cpp='$CXXCPP $CPPFLAGS'
50152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50157 /* end confdefs.h. */
50158 #include <math.h>
50160 main ()
50162 _sincosf(0, 0, 0);
50164 return 0;
50166 _ACEOF
50167 if ac_fn_cxx_try_compile "$LINENO"; then :
50168 glibcxx_cv_func__sincosf_use=yes
50169 else
50170 glibcxx_cv_func__sincosf_use=no
50172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50173 ac_ext=c
50174 ac_cpp='$CPP $CPPFLAGS'
50175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
50184 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
50186 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
50187 for ac_func in _sincosf
50188 do :
50189 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
50190 if test "x$ac_cv_func__sincosf" = x""yes; then :
50191 cat >>confdefs.h <<_ACEOF
50192 #define HAVE__SINCOSF 1
50193 _ACEOF
50196 done
50205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
50206 $as_echo_n "checking for finitef declaration... " >&6; }
50207 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
50208 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
50209 $as_echo_n "(cached) " >&6
50210 else
50213 ac_ext=cpp
50214 ac_cpp='$CXXCPP $CPPFLAGS'
50215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50220 /* end confdefs.h. */
50221 #include <math.h>
50222 #ifdef HAVE_IEEEFP_H
50223 #include <ieeefp.h>
50224 #endif
50227 main ()
50229 finitef(0);
50231 return 0;
50233 _ACEOF
50234 if ac_fn_cxx_try_compile "$LINENO"; then :
50235 glibcxx_cv_func_finitef_use=yes
50236 else
50237 glibcxx_cv_func_finitef_use=no
50239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50240 ac_ext=c
50241 ac_cpp='$CPP $CPPFLAGS'
50242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
50251 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
50253 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
50254 for ac_func in finitef
50255 do :
50256 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
50257 if test "x$ac_cv_func_finitef" = x""yes; then :
50258 cat >>confdefs.h <<_ACEOF
50259 #define HAVE_FINITEF 1
50260 _ACEOF
50263 done
50265 else
50267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
50268 $as_echo_n "checking for _finitef declaration... " >&6; }
50269 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
50270 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
50271 $as_echo_n "(cached) " >&6
50272 else
50275 ac_ext=cpp
50276 ac_cpp='$CXXCPP $CPPFLAGS'
50277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50282 /* end confdefs.h. */
50283 #include <math.h>
50284 #ifdef HAVE_IEEEFP_H
50285 #include <ieeefp.h>
50286 #endif
50289 main ()
50291 _finitef(0);
50293 return 0;
50295 _ACEOF
50296 if ac_fn_cxx_try_compile "$LINENO"; then :
50297 glibcxx_cv_func__finitef_use=yes
50298 else
50299 glibcxx_cv_func__finitef_use=no
50301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50302 ac_ext=c
50303 ac_cpp='$CPP $CPPFLAGS'
50304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
50313 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
50315 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
50316 for ac_func in _finitef
50317 do :
50318 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
50319 if test "x$ac_cv_func__finitef" = x""yes; then :
50320 cat >>confdefs.h <<_ACEOF
50321 #define HAVE__FINITEF 1
50322 _ACEOF
50325 done
50334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
50335 $as_echo_n "checking for long double trig functions... " >&6; }
50336 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
50337 $as_echo_n "(cached) " >&6
50338 else
50341 ac_ext=cpp
50342 ac_cpp='$CXXCPP $CPPFLAGS'
50343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50348 /* end confdefs.h. */
50349 #include <math.h>
50351 main ()
50353 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
50355 return 0;
50357 _ACEOF
50358 if ac_fn_cxx_try_compile "$LINENO"; then :
50359 glibcxx_cv_func_long_double_trig_use=yes
50360 else
50361 glibcxx_cv_func_long_double_trig_use=no
50363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50364 ac_ext=c
50365 ac_cpp='$CPP $CPPFLAGS'
50366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
50373 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
50374 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
50375 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
50376 do :
50377 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50378 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50379 eval as_val=\$$as_ac_var
50380 if test "x$as_val" = x""yes; then :
50381 cat >>confdefs.h <<_ACEOF
50382 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50383 _ACEOF
50386 done
50388 else
50389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
50390 $as_echo_n "checking for _long double trig functions... " >&6; }
50391 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
50392 $as_echo_n "(cached) " >&6
50393 else
50396 ac_ext=cpp
50397 ac_cpp='$CXXCPP $CPPFLAGS'
50398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50403 /* end confdefs.h. */
50404 #include <math.h>
50406 main ()
50408 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
50410 return 0;
50412 _ACEOF
50413 if ac_fn_cxx_try_compile "$LINENO"; then :
50414 glibcxx_cv_func__long_double_trig_use=yes
50415 else
50416 glibcxx_cv_func__long_double_trig_use=no
50418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50419 ac_ext=c
50420 ac_cpp='$CPP $CPPFLAGS'
50421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
50428 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
50429 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
50430 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
50431 do :
50432 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50433 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50434 eval as_val=\$$as_ac_var
50435 if test "x$as_val" = x""yes; then :
50436 cat >>confdefs.h <<_ACEOF
50437 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50438 _ACEOF
50441 done
50450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
50451 $as_echo_n "checking for long double round functions... " >&6; }
50452 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
50453 $as_echo_n "(cached) " >&6
50454 else
50457 ac_ext=cpp
50458 ac_cpp='$CXXCPP $CPPFLAGS'
50459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50464 /* end confdefs.h. */
50465 #include <math.h>
50467 main ()
50469 ceill (0); floorl (0);
50471 return 0;
50473 _ACEOF
50474 if ac_fn_cxx_try_compile "$LINENO"; then :
50475 glibcxx_cv_func_long_double_round_use=yes
50476 else
50477 glibcxx_cv_func_long_double_round_use=no
50479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50480 ac_ext=c
50481 ac_cpp='$CPP $CPPFLAGS'
50482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
50489 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
50490 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
50491 for ac_func in ceill floorl
50492 do :
50493 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50494 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50495 eval as_val=\$$as_ac_var
50496 if test "x$as_val" = x""yes; then :
50497 cat >>confdefs.h <<_ACEOF
50498 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50499 _ACEOF
50502 done
50504 else
50505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
50506 $as_echo_n "checking for _long double round functions... " >&6; }
50507 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
50508 $as_echo_n "(cached) " >&6
50509 else
50512 ac_ext=cpp
50513 ac_cpp='$CXXCPP $CPPFLAGS'
50514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50519 /* end confdefs.h. */
50520 #include <math.h>
50522 main ()
50524 _ceill (0); _floorl (0);
50526 return 0;
50528 _ACEOF
50529 if ac_fn_cxx_try_compile "$LINENO"; then :
50530 glibcxx_cv_func__long_double_round_use=yes
50531 else
50532 glibcxx_cv_func__long_double_round_use=no
50534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50535 ac_ext=c
50536 ac_cpp='$CPP $CPPFLAGS'
50537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
50544 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
50545 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
50546 for ac_func in _ceill _floorl
50547 do :
50548 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50549 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50550 eval as_val=\$$as_ac_var
50551 if test "x$as_val" = x""yes; then :
50552 cat >>confdefs.h <<_ACEOF
50553 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50554 _ACEOF
50557 done
50567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
50568 $as_echo_n "checking for isnanl declaration... " >&6; }
50569 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
50570 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
50571 $as_echo_n "(cached) " >&6
50572 else
50575 ac_ext=cpp
50576 ac_cpp='$CXXCPP $CPPFLAGS'
50577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50582 /* end confdefs.h. */
50583 #include <math.h>
50584 #ifdef HAVE_IEEEFP_H
50585 #include <ieeefp.h>
50586 #endif
50589 main ()
50591 isnanl(0);
50593 return 0;
50595 _ACEOF
50596 if ac_fn_cxx_try_compile "$LINENO"; then :
50597 glibcxx_cv_func_isnanl_use=yes
50598 else
50599 glibcxx_cv_func_isnanl_use=no
50601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50602 ac_ext=c
50603 ac_cpp='$CPP $CPPFLAGS'
50604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
50613 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
50615 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
50616 for ac_func in isnanl
50617 do :
50618 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
50619 if test "x$ac_cv_func_isnanl" = x""yes; then :
50620 cat >>confdefs.h <<_ACEOF
50621 #define HAVE_ISNANL 1
50622 _ACEOF
50625 done
50627 else
50629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
50630 $as_echo_n "checking for _isnanl declaration... " >&6; }
50631 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
50632 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
50633 $as_echo_n "(cached) " >&6
50634 else
50637 ac_ext=cpp
50638 ac_cpp='$CXXCPP $CPPFLAGS'
50639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50644 /* end confdefs.h. */
50645 #include <math.h>
50646 #ifdef HAVE_IEEEFP_H
50647 #include <ieeefp.h>
50648 #endif
50651 main ()
50653 _isnanl(0);
50655 return 0;
50657 _ACEOF
50658 if ac_fn_cxx_try_compile "$LINENO"; then :
50659 glibcxx_cv_func__isnanl_use=yes
50660 else
50661 glibcxx_cv_func__isnanl_use=no
50663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50664 ac_ext=c
50665 ac_cpp='$CPP $CPPFLAGS'
50666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
50675 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
50677 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
50678 for ac_func in _isnanl
50679 do :
50680 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
50681 if test "x$ac_cv_func__isnanl" = x""yes; then :
50682 cat >>confdefs.h <<_ACEOF
50683 #define HAVE__ISNANL 1
50684 _ACEOF
50687 done
50696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
50697 $as_echo_n "checking for isinfl declaration... " >&6; }
50698 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
50699 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
50700 $as_echo_n "(cached) " >&6
50701 else
50704 ac_ext=cpp
50705 ac_cpp='$CXXCPP $CPPFLAGS'
50706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50711 /* end confdefs.h. */
50712 #include <math.h>
50713 #ifdef HAVE_IEEEFP_H
50714 #include <ieeefp.h>
50715 #endif
50718 main ()
50720 isinfl(0);
50722 return 0;
50724 _ACEOF
50725 if ac_fn_cxx_try_compile "$LINENO"; then :
50726 glibcxx_cv_func_isinfl_use=yes
50727 else
50728 glibcxx_cv_func_isinfl_use=no
50730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50731 ac_ext=c
50732 ac_cpp='$CPP $CPPFLAGS'
50733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
50742 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
50744 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
50745 for ac_func in isinfl
50746 do :
50747 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
50748 if test "x$ac_cv_func_isinfl" = x""yes; then :
50749 cat >>confdefs.h <<_ACEOF
50750 #define HAVE_ISINFL 1
50751 _ACEOF
50754 done
50756 else
50758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
50759 $as_echo_n "checking for _isinfl declaration... " >&6; }
50760 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
50761 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
50762 $as_echo_n "(cached) " >&6
50763 else
50766 ac_ext=cpp
50767 ac_cpp='$CXXCPP $CPPFLAGS'
50768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50773 /* end confdefs.h. */
50774 #include <math.h>
50775 #ifdef HAVE_IEEEFP_H
50776 #include <ieeefp.h>
50777 #endif
50780 main ()
50782 _isinfl(0);
50784 return 0;
50786 _ACEOF
50787 if ac_fn_cxx_try_compile "$LINENO"; then :
50788 glibcxx_cv_func__isinfl_use=yes
50789 else
50790 glibcxx_cv_func__isinfl_use=no
50792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50793 ac_ext=c
50794 ac_cpp='$CPP $CPPFLAGS'
50795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
50804 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
50806 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
50807 for ac_func in _isinfl
50808 do :
50809 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
50810 if test "x$ac_cv_func__isinfl" = x""yes; then :
50811 cat >>confdefs.h <<_ACEOF
50812 #define HAVE__ISINFL 1
50813 _ACEOF
50816 done
50825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
50826 $as_echo_n "checking for atan2l declaration... " >&6; }
50827 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
50828 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
50829 $as_echo_n "(cached) " >&6
50830 else
50833 ac_ext=cpp
50834 ac_cpp='$CXXCPP $CPPFLAGS'
50835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50840 /* end confdefs.h. */
50841 #include <math.h>
50843 main ()
50845 atan2l(0, 0);
50847 return 0;
50849 _ACEOF
50850 if ac_fn_cxx_try_compile "$LINENO"; then :
50851 glibcxx_cv_func_atan2l_use=yes
50852 else
50853 glibcxx_cv_func_atan2l_use=no
50855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50856 ac_ext=c
50857 ac_cpp='$CPP $CPPFLAGS'
50858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
50867 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
50869 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
50870 for ac_func in atan2l
50871 do :
50872 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
50873 if test "x$ac_cv_func_atan2l" = x""yes; then :
50874 cat >>confdefs.h <<_ACEOF
50875 #define HAVE_ATAN2L 1
50876 _ACEOF
50879 done
50881 else
50883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
50884 $as_echo_n "checking for _atan2l declaration... " >&6; }
50885 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
50886 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
50887 $as_echo_n "(cached) " >&6
50888 else
50891 ac_ext=cpp
50892 ac_cpp='$CXXCPP $CPPFLAGS'
50893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50898 /* end confdefs.h. */
50899 #include <math.h>
50901 main ()
50903 _atan2l(0, 0);
50905 return 0;
50907 _ACEOF
50908 if ac_fn_cxx_try_compile "$LINENO"; then :
50909 glibcxx_cv_func__atan2l_use=yes
50910 else
50911 glibcxx_cv_func__atan2l_use=no
50913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50914 ac_ext=c
50915 ac_cpp='$CPP $CPPFLAGS'
50916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
50925 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
50927 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
50928 for ac_func in _atan2l
50929 do :
50930 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
50931 if test "x$ac_cv_func__atan2l" = x""yes; then :
50932 cat >>confdefs.h <<_ACEOF
50933 #define HAVE__ATAN2L 1
50934 _ACEOF
50937 done
50946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
50947 $as_echo_n "checking for expl declaration... " >&6; }
50948 if test x${glibcxx_cv_func_expl_use+set} != xset; then
50949 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
50950 $as_echo_n "(cached) " >&6
50951 else
50954 ac_ext=cpp
50955 ac_cpp='$CXXCPP $CPPFLAGS'
50956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50961 /* end confdefs.h. */
50962 #include <math.h>
50963 #ifdef HAVE_IEEEFP_H
50964 #include <ieeefp.h>
50965 #endif
50968 main ()
50970 expl(0);
50972 return 0;
50974 _ACEOF
50975 if ac_fn_cxx_try_compile "$LINENO"; then :
50976 glibcxx_cv_func_expl_use=yes
50977 else
50978 glibcxx_cv_func_expl_use=no
50980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50981 ac_ext=c
50982 ac_cpp='$CPP $CPPFLAGS'
50983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
50992 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
50994 if test x$glibcxx_cv_func_expl_use = x"yes"; then
50995 for ac_func in expl
50996 do :
50997 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50998 if test "x$ac_cv_func_expl" = x""yes; then :
50999 cat >>confdefs.h <<_ACEOF
51000 #define HAVE_EXPL 1
51001 _ACEOF
51004 done
51006 else
51008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
51009 $as_echo_n "checking for _expl declaration... " >&6; }
51010 if test x${glibcxx_cv_func__expl_use+set} != xset; then
51011 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
51012 $as_echo_n "(cached) " >&6
51013 else
51016 ac_ext=cpp
51017 ac_cpp='$CXXCPP $CPPFLAGS'
51018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51023 /* end confdefs.h. */
51024 #include <math.h>
51025 #ifdef HAVE_IEEEFP_H
51026 #include <ieeefp.h>
51027 #endif
51030 main ()
51032 _expl(0);
51034 return 0;
51036 _ACEOF
51037 if ac_fn_cxx_try_compile "$LINENO"; then :
51038 glibcxx_cv_func__expl_use=yes
51039 else
51040 glibcxx_cv_func__expl_use=no
51042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51043 ac_ext=c
51044 ac_cpp='$CPP $CPPFLAGS'
51045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
51054 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
51056 if test x$glibcxx_cv_func__expl_use = x"yes"; then
51057 for ac_func in _expl
51058 do :
51059 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
51060 if test "x$ac_cv_func__expl" = x""yes; then :
51061 cat >>confdefs.h <<_ACEOF
51062 #define HAVE__EXPL 1
51063 _ACEOF
51066 done
51075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
51076 $as_echo_n "checking for fabsl declaration... " >&6; }
51077 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
51078 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
51079 $as_echo_n "(cached) " >&6
51080 else
51083 ac_ext=cpp
51084 ac_cpp='$CXXCPP $CPPFLAGS'
51085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51090 /* end confdefs.h. */
51091 #include <math.h>
51092 #ifdef HAVE_IEEEFP_H
51093 #include <ieeefp.h>
51094 #endif
51097 main ()
51099 fabsl(0);
51101 return 0;
51103 _ACEOF
51104 if ac_fn_cxx_try_compile "$LINENO"; then :
51105 glibcxx_cv_func_fabsl_use=yes
51106 else
51107 glibcxx_cv_func_fabsl_use=no
51109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51110 ac_ext=c
51111 ac_cpp='$CPP $CPPFLAGS'
51112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
51121 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
51123 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
51124 for ac_func in fabsl
51125 do :
51126 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
51127 if test "x$ac_cv_func_fabsl" = x""yes; then :
51128 cat >>confdefs.h <<_ACEOF
51129 #define HAVE_FABSL 1
51130 _ACEOF
51133 done
51135 else
51137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
51138 $as_echo_n "checking for _fabsl declaration... " >&6; }
51139 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
51140 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
51141 $as_echo_n "(cached) " >&6
51142 else
51145 ac_ext=cpp
51146 ac_cpp='$CXXCPP $CPPFLAGS'
51147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51152 /* end confdefs.h. */
51153 #include <math.h>
51154 #ifdef HAVE_IEEEFP_H
51155 #include <ieeefp.h>
51156 #endif
51159 main ()
51161 _fabsl(0);
51163 return 0;
51165 _ACEOF
51166 if ac_fn_cxx_try_compile "$LINENO"; then :
51167 glibcxx_cv_func__fabsl_use=yes
51168 else
51169 glibcxx_cv_func__fabsl_use=no
51171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51172 ac_ext=c
51173 ac_cpp='$CPP $CPPFLAGS'
51174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
51183 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
51185 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
51186 for ac_func in _fabsl
51187 do :
51188 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
51189 if test "x$ac_cv_func__fabsl" = x""yes; then :
51190 cat >>confdefs.h <<_ACEOF
51191 #define HAVE__FABSL 1
51192 _ACEOF
51195 done
51204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
51205 $as_echo_n "checking for fmodl declaration... " >&6; }
51206 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
51207 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
51208 $as_echo_n "(cached) " >&6
51209 else
51212 ac_ext=cpp
51213 ac_cpp='$CXXCPP $CPPFLAGS'
51214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51219 /* end confdefs.h. */
51220 #include <math.h>
51222 main ()
51224 fmodl(0, 0);
51226 return 0;
51228 _ACEOF
51229 if ac_fn_cxx_try_compile "$LINENO"; then :
51230 glibcxx_cv_func_fmodl_use=yes
51231 else
51232 glibcxx_cv_func_fmodl_use=no
51234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51235 ac_ext=c
51236 ac_cpp='$CPP $CPPFLAGS'
51237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
51246 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
51248 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
51249 for ac_func in fmodl
51250 do :
51251 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
51252 if test "x$ac_cv_func_fmodl" = x""yes; then :
51253 cat >>confdefs.h <<_ACEOF
51254 #define HAVE_FMODL 1
51255 _ACEOF
51258 done
51260 else
51262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
51263 $as_echo_n "checking for _fmodl declaration... " >&6; }
51264 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
51265 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
51266 $as_echo_n "(cached) " >&6
51267 else
51270 ac_ext=cpp
51271 ac_cpp='$CXXCPP $CPPFLAGS'
51272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51277 /* end confdefs.h. */
51278 #include <math.h>
51280 main ()
51282 _fmodl(0, 0);
51284 return 0;
51286 _ACEOF
51287 if ac_fn_cxx_try_compile "$LINENO"; then :
51288 glibcxx_cv_func__fmodl_use=yes
51289 else
51290 glibcxx_cv_func__fmodl_use=no
51292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51293 ac_ext=c
51294 ac_cpp='$CPP $CPPFLAGS'
51295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
51304 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
51306 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
51307 for ac_func in _fmodl
51308 do :
51309 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
51310 if test "x$ac_cv_func__fmodl" = x""yes; then :
51311 cat >>confdefs.h <<_ACEOF
51312 #define HAVE__FMODL 1
51313 _ACEOF
51316 done
51325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
51326 $as_echo_n "checking for frexpl declaration... " >&6; }
51327 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
51328 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
51329 $as_echo_n "(cached) " >&6
51330 else
51333 ac_ext=cpp
51334 ac_cpp='$CXXCPP $CPPFLAGS'
51335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51340 /* end confdefs.h. */
51341 #include <math.h>
51343 main ()
51345 frexpl(0, 0);
51347 return 0;
51349 _ACEOF
51350 if ac_fn_cxx_try_compile "$LINENO"; then :
51351 glibcxx_cv_func_frexpl_use=yes
51352 else
51353 glibcxx_cv_func_frexpl_use=no
51355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51356 ac_ext=c
51357 ac_cpp='$CPP $CPPFLAGS'
51358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
51367 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
51369 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
51370 for ac_func in frexpl
51371 do :
51372 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
51373 if test "x$ac_cv_func_frexpl" = x""yes; then :
51374 cat >>confdefs.h <<_ACEOF
51375 #define HAVE_FREXPL 1
51376 _ACEOF
51379 done
51381 else
51383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
51384 $as_echo_n "checking for _frexpl declaration... " >&6; }
51385 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
51386 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
51387 $as_echo_n "(cached) " >&6
51388 else
51391 ac_ext=cpp
51392 ac_cpp='$CXXCPP $CPPFLAGS'
51393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51398 /* end confdefs.h. */
51399 #include <math.h>
51401 main ()
51403 _frexpl(0, 0);
51405 return 0;
51407 _ACEOF
51408 if ac_fn_cxx_try_compile "$LINENO"; then :
51409 glibcxx_cv_func__frexpl_use=yes
51410 else
51411 glibcxx_cv_func__frexpl_use=no
51413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51414 ac_ext=c
51415 ac_cpp='$CPP $CPPFLAGS'
51416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
51425 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
51427 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
51428 for ac_func in _frexpl
51429 do :
51430 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
51431 if test "x$ac_cv_func__frexpl" = x""yes; then :
51432 cat >>confdefs.h <<_ACEOF
51433 #define HAVE__FREXPL 1
51434 _ACEOF
51437 done
51446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
51447 $as_echo_n "checking for hypotl declaration... " >&6; }
51448 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
51449 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
51450 $as_echo_n "(cached) " >&6
51451 else
51454 ac_ext=cpp
51455 ac_cpp='$CXXCPP $CPPFLAGS'
51456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51461 /* end confdefs.h. */
51462 #include <math.h>
51464 main ()
51466 hypotl(0, 0);
51468 return 0;
51470 _ACEOF
51471 if ac_fn_cxx_try_compile "$LINENO"; then :
51472 glibcxx_cv_func_hypotl_use=yes
51473 else
51474 glibcxx_cv_func_hypotl_use=no
51476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51477 ac_ext=c
51478 ac_cpp='$CPP $CPPFLAGS'
51479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
51488 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
51490 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
51491 for ac_func in hypotl
51492 do :
51493 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
51494 if test "x$ac_cv_func_hypotl" = x""yes; then :
51495 cat >>confdefs.h <<_ACEOF
51496 #define HAVE_HYPOTL 1
51497 _ACEOF
51500 done
51502 else
51504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
51505 $as_echo_n "checking for _hypotl declaration... " >&6; }
51506 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
51507 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
51508 $as_echo_n "(cached) " >&6
51509 else
51512 ac_ext=cpp
51513 ac_cpp='$CXXCPP $CPPFLAGS'
51514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51519 /* end confdefs.h. */
51520 #include <math.h>
51522 main ()
51524 _hypotl(0, 0);
51526 return 0;
51528 _ACEOF
51529 if ac_fn_cxx_try_compile "$LINENO"; then :
51530 glibcxx_cv_func__hypotl_use=yes
51531 else
51532 glibcxx_cv_func__hypotl_use=no
51534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51535 ac_ext=c
51536 ac_cpp='$CPP $CPPFLAGS'
51537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
51546 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
51548 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
51549 for ac_func in _hypotl
51550 do :
51551 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
51552 if test "x$ac_cv_func__hypotl" = x""yes; then :
51553 cat >>confdefs.h <<_ACEOF
51554 #define HAVE__HYPOTL 1
51555 _ACEOF
51558 done
51567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
51568 $as_echo_n "checking for ldexpl declaration... " >&6; }
51569 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
51570 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
51571 $as_echo_n "(cached) " >&6
51572 else
51575 ac_ext=cpp
51576 ac_cpp='$CXXCPP $CPPFLAGS'
51577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51582 /* end confdefs.h. */
51583 #include <math.h>
51585 main ()
51587 ldexpl(0, 0);
51589 return 0;
51591 _ACEOF
51592 if ac_fn_cxx_try_compile "$LINENO"; then :
51593 glibcxx_cv_func_ldexpl_use=yes
51594 else
51595 glibcxx_cv_func_ldexpl_use=no
51597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51598 ac_ext=c
51599 ac_cpp='$CPP $CPPFLAGS'
51600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
51609 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
51611 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
51612 for ac_func in ldexpl
51613 do :
51614 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
51615 if test "x$ac_cv_func_ldexpl" = x""yes; then :
51616 cat >>confdefs.h <<_ACEOF
51617 #define HAVE_LDEXPL 1
51618 _ACEOF
51621 done
51623 else
51625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
51626 $as_echo_n "checking for _ldexpl declaration... " >&6; }
51627 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
51628 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
51629 $as_echo_n "(cached) " >&6
51630 else
51633 ac_ext=cpp
51634 ac_cpp='$CXXCPP $CPPFLAGS'
51635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51640 /* end confdefs.h. */
51641 #include <math.h>
51643 main ()
51645 _ldexpl(0, 0);
51647 return 0;
51649 _ACEOF
51650 if ac_fn_cxx_try_compile "$LINENO"; then :
51651 glibcxx_cv_func__ldexpl_use=yes
51652 else
51653 glibcxx_cv_func__ldexpl_use=no
51655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51656 ac_ext=c
51657 ac_cpp='$CPP $CPPFLAGS'
51658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
51667 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
51669 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
51670 for ac_func in _ldexpl
51671 do :
51672 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
51673 if test "x$ac_cv_func__ldexpl" = x""yes; then :
51674 cat >>confdefs.h <<_ACEOF
51675 #define HAVE__LDEXPL 1
51676 _ACEOF
51679 done
51688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
51689 $as_echo_n "checking for logl declaration... " >&6; }
51690 if test x${glibcxx_cv_func_logl_use+set} != xset; then
51691 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
51692 $as_echo_n "(cached) " >&6
51693 else
51696 ac_ext=cpp
51697 ac_cpp='$CXXCPP $CPPFLAGS'
51698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51703 /* end confdefs.h. */
51704 #include <math.h>
51705 #ifdef HAVE_IEEEFP_H
51706 #include <ieeefp.h>
51707 #endif
51710 main ()
51712 logl(0);
51714 return 0;
51716 _ACEOF
51717 if ac_fn_cxx_try_compile "$LINENO"; then :
51718 glibcxx_cv_func_logl_use=yes
51719 else
51720 glibcxx_cv_func_logl_use=no
51722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51723 ac_ext=c
51724 ac_cpp='$CPP $CPPFLAGS'
51725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
51734 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
51736 if test x$glibcxx_cv_func_logl_use = x"yes"; then
51737 for ac_func in logl
51738 do :
51739 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
51740 if test "x$ac_cv_func_logl" = x""yes; then :
51741 cat >>confdefs.h <<_ACEOF
51742 #define HAVE_LOGL 1
51743 _ACEOF
51746 done
51748 else
51750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
51751 $as_echo_n "checking for _logl declaration... " >&6; }
51752 if test x${glibcxx_cv_func__logl_use+set} != xset; then
51753 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
51754 $as_echo_n "(cached) " >&6
51755 else
51758 ac_ext=cpp
51759 ac_cpp='$CXXCPP $CPPFLAGS'
51760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51765 /* end confdefs.h. */
51766 #include <math.h>
51767 #ifdef HAVE_IEEEFP_H
51768 #include <ieeefp.h>
51769 #endif
51772 main ()
51774 _logl(0);
51776 return 0;
51778 _ACEOF
51779 if ac_fn_cxx_try_compile "$LINENO"; then :
51780 glibcxx_cv_func__logl_use=yes
51781 else
51782 glibcxx_cv_func__logl_use=no
51784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51785 ac_ext=c
51786 ac_cpp='$CPP $CPPFLAGS'
51787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
51796 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
51798 if test x$glibcxx_cv_func__logl_use = x"yes"; then
51799 for ac_func in _logl
51800 do :
51801 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
51802 if test "x$ac_cv_func__logl" = x""yes; then :
51803 cat >>confdefs.h <<_ACEOF
51804 #define HAVE__LOGL 1
51805 _ACEOF
51808 done
51817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
51818 $as_echo_n "checking for log10l declaration... " >&6; }
51819 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
51820 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
51821 $as_echo_n "(cached) " >&6
51822 else
51825 ac_ext=cpp
51826 ac_cpp='$CXXCPP $CPPFLAGS'
51827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51832 /* end confdefs.h. */
51833 #include <math.h>
51834 #ifdef HAVE_IEEEFP_H
51835 #include <ieeefp.h>
51836 #endif
51839 main ()
51841 log10l(0);
51843 return 0;
51845 _ACEOF
51846 if ac_fn_cxx_try_compile "$LINENO"; then :
51847 glibcxx_cv_func_log10l_use=yes
51848 else
51849 glibcxx_cv_func_log10l_use=no
51851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51852 ac_ext=c
51853 ac_cpp='$CPP $CPPFLAGS'
51854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
51863 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
51865 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
51866 for ac_func in log10l
51867 do :
51868 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
51869 if test "x$ac_cv_func_log10l" = x""yes; then :
51870 cat >>confdefs.h <<_ACEOF
51871 #define HAVE_LOG10L 1
51872 _ACEOF
51875 done
51877 else
51879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
51880 $as_echo_n "checking for _log10l declaration... " >&6; }
51881 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
51882 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
51883 $as_echo_n "(cached) " >&6
51884 else
51887 ac_ext=cpp
51888 ac_cpp='$CXXCPP $CPPFLAGS'
51889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51894 /* end confdefs.h. */
51895 #include <math.h>
51896 #ifdef HAVE_IEEEFP_H
51897 #include <ieeefp.h>
51898 #endif
51901 main ()
51903 _log10l(0);
51905 return 0;
51907 _ACEOF
51908 if ac_fn_cxx_try_compile "$LINENO"; then :
51909 glibcxx_cv_func__log10l_use=yes
51910 else
51911 glibcxx_cv_func__log10l_use=no
51913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51914 ac_ext=c
51915 ac_cpp='$CPP $CPPFLAGS'
51916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
51925 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
51927 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
51928 for ac_func in _log10l
51929 do :
51930 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
51931 if test "x$ac_cv_func__log10l" = x""yes; then :
51932 cat >>confdefs.h <<_ACEOF
51933 #define HAVE__LOG10L 1
51934 _ACEOF
51937 done
51946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
51947 $as_echo_n "checking for modfl declaration... " >&6; }
51948 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
51949 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
51950 $as_echo_n "(cached) " >&6
51951 else
51954 ac_ext=cpp
51955 ac_cpp='$CXXCPP $CPPFLAGS'
51956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51961 /* end confdefs.h. */
51962 #include <math.h>
51964 main ()
51966 modfl(0, 0);
51968 return 0;
51970 _ACEOF
51971 if ac_fn_cxx_try_compile "$LINENO"; then :
51972 glibcxx_cv_func_modfl_use=yes
51973 else
51974 glibcxx_cv_func_modfl_use=no
51976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51977 ac_ext=c
51978 ac_cpp='$CPP $CPPFLAGS'
51979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
51988 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51990 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51991 for ac_func in modfl
51992 do :
51993 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51994 if test "x$ac_cv_func_modfl" = x""yes; then :
51995 cat >>confdefs.h <<_ACEOF
51996 #define HAVE_MODFL 1
51997 _ACEOF
52000 done
52002 else
52004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
52005 $as_echo_n "checking for _modfl declaration... " >&6; }
52006 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
52007 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
52008 $as_echo_n "(cached) " >&6
52009 else
52012 ac_ext=cpp
52013 ac_cpp='$CXXCPP $CPPFLAGS'
52014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52019 /* end confdefs.h. */
52020 #include <math.h>
52022 main ()
52024 _modfl(0, 0);
52026 return 0;
52028 _ACEOF
52029 if ac_fn_cxx_try_compile "$LINENO"; then :
52030 glibcxx_cv_func__modfl_use=yes
52031 else
52032 glibcxx_cv_func__modfl_use=no
52034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52035 ac_ext=c
52036 ac_cpp='$CPP $CPPFLAGS'
52037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
52046 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
52048 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
52049 for ac_func in _modfl
52050 do :
52051 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
52052 if test "x$ac_cv_func__modfl" = x""yes; then :
52053 cat >>confdefs.h <<_ACEOF
52054 #define HAVE__MODFL 1
52055 _ACEOF
52058 done
52067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
52068 $as_echo_n "checking for powl declaration... " >&6; }
52069 if test x${glibcxx_cv_func_powl_use+set} != xset; then
52070 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
52071 $as_echo_n "(cached) " >&6
52072 else
52075 ac_ext=cpp
52076 ac_cpp='$CXXCPP $CPPFLAGS'
52077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52082 /* end confdefs.h. */
52083 #include <math.h>
52085 main ()
52087 powl(0, 0);
52089 return 0;
52091 _ACEOF
52092 if ac_fn_cxx_try_compile "$LINENO"; then :
52093 glibcxx_cv_func_powl_use=yes
52094 else
52095 glibcxx_cv_func_powl_use=no
52097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52098 ac_ext=c
52099 ac_cpp='$CPP $CPPFLAGS'
52100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
52109 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
52111 if test x$glibcxx_cv_func_powl_use = x"yes"; then
52112 for ac_func in powl
52113 do :
52114 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
52115 if test "x$ac_cv_func_powl" = x""yes; then :
52116 cat >>confdefs.h <<_ACEOF
52117 #define HAVE_POWL 1
52118 _ACEOF
52121 done
52123 else
52125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
52126 $as_echo_n "checking for _powl declaration... " >&6; }
52127 if test x${glibcxx_cv_func__powl_use+set} != xset; then
52128 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
52129 $as_echo_n "(cached) " >&6
52130 else
52133 ac_ext=cpp
52134 ac_cpp='$CXXCPP $CPPFLAGS'
52135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52140 /* end confdefs.h. */
52141 #include <math.h>
52143 main ()
52145 _powl(0, 0);
52147 return 0;
52149 _ACEOF
52150 if ac_fn_cxx_try_compile "$LINENO"; then :
52151 glibcxx_cv_func__powl_use=yes
52152 else
52153 glibcxx_cv_func__powl_use=no
52155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52156 ac_ext=c
52157 ac_cpp='$CPP $CPPFLAGS'
52158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
52167 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
52169 if test x$glibcxx_cv_func__powl_use = x"yes"; then
52170 for ac_func in _powl
52171 do :
52172 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
52173 if test "x$ac_cv_func__powl" = x""yes; then :
52174 cat >>confdefs.h <<_ACEOF
52175 #define HAVE__POWL 1
52176 _ACEOF
52179 done
52188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
52189 $as_echo_n "checking for sqrtl declaration... " >&6; }
52190 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
52191 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
52192 $as_echo_n "(cached) " >&6
52193 else
52196 ac_ext=cpp
52197 ac_cpp='$CXXCPP $CPPFLAGS'
52198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52203 /* end confdefs.h. */
52204 #include <math.h>
52205 #ifdef HAVE_IEEEFP_H
52206 #include <ieeefp.h>
52207 #endif
52210 main ()
52212 sqrtl(0);
52214 return 0;
52216 _ACEOF
52217 if ac_fn_cxx_try_compile "$LINENO"; then :
52218 glibcxx_cv_func_sqrtl_use=yes
52219 else
52220 glibcxx_cv_func_sqrtl_use=no
52222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52223 ac_ext=c
52224 ac_cpp='$CPP $CPPFLAGS'
52225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
52234 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
52236 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
52237 for ac_func in sqrtl
52238 do :
52239 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
52240 if test "x$ac_cv_func_sqrtl" = x""yes; then :
52241 cat >>confdefs.h <<_ACEOF
52242 #define HAVE_SQRTL 1
52243 _ACEOF
52246 done
52248 else
52250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
52251 $as_echo_n "checking for _sqrtl declaration... " >&6; }
52252 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
52253 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
52254 $as_echo_n "(cached) " >&6
52255 else
52258 ac_ext=cpp
52259 ac_cpp='$CXXCPP $CPPFLAGS'
52260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52265 /* end confdefs.h. */
52266 #include <math.h>
52267 #ifdef HAVE_IEEEFP_H
52268 #include <ieeefp.h>
52269 #endif
52272 main ()
52274 _sqrtl(0);
52276 return 0;
52278 _ACEOF
52279 if ac_fn_cxx_try_compile "$LINENO"; then :
52280 glibcxx_cv_func__sqrtl_use=yes
52281 else
52282 glibcxx_cv_func__sqrtl_use=no
52284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52285 ac_ext=c
52286 ac_cpp='$CPP $CPPFLAGS'
52287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
52296 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
52298 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
52299 for ac_func in _sqrtl
52300 do :
52301 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
52302 if test "x$ac_cv_func__sqrtl" = x""yes; then :
52303 cat >>confdefs.h <<_ACEOF
52304 #define HAVE__SQRTL 1
52305 _ACEOF
52308 done
52317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
52318 $as_echo_n "checking for sincosl declaration... " >&6; }
52319 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
52320 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
52321 $as_echo_n "(cached) " >&6
52322 else
52325 ac_ext=cpp
52326 ac_cpp='$CXXCPP $CPPFLAGS'
52327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52332 /* end confdefs.h. */
52333 #include <math.h>
52335 main ()
52337 sincosl(0, 0, 0);
52339 return 0;
52341 _ACEOF
52342 if ac_fn_cxx_try_compile "$LINENO"; then :
52343 glibcxx_cv_func_sincosl_use=yes
52344 else
52345 glibcxx_cv_func_sincosl_use=no
52347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52348 ac_ext=c
52349 ac_cpp='$CPP $CPPFLAGS'
52350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
52359 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
52361 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
52362 for ac_func in sincosl
52363 do :
52364 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
52365 if test "x$ac_cv_func_sincosl" = x""yes; then :
52366 cat >>confdefs.h <<_ACEOF
52367 #define HAVE_SINCOSL 1
52368 _ACEOF
52371 done
52373 else
52375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
52376 $as_echo_n "checking for _sincosl declaration... " >&6; }
52377 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
52378 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
52379 $as_echo_n "(cached) " >&6
52380 else
52383 ac_ext=cpp
52384 ac_cpp='$CXXCPP $CPPFLAGS'
52385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52390 /* end confdefs.h. */
52391 #include <math.h>
52393 main ()
52395 _sincosl(0, 0, 0);
52397 return 0;
52399 _ACEOF
52400 if ac_fn_cxx_try_compile "$LINENO"; then :
52401 glibcxx_cv_func__sincosl_use=yes
52402 else
52403 glibcxx_cv_func__sincosl_use=no
52405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52406 ac_ext=c
52407 ac_cpp='$CPP $CPPFLAGS'
52408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
52417 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
52419 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
52420 for ac_func in _sincosl
52421 do :
52422 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
52423 if test "x$ac_cv_func__sincosl" = x""yes; then :
52424 cat >>confdefs.h <<_ACEOF
52425 #define HAVE__SINCOSL 1
52426 _ACEOF
52429 done
52438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
52439 $as_echo_n "checking for finitel declaration... " >&6; }
52440 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
52441 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
52442 $as_echo_n "(cached) " >&6
52443 else
52446 ac_ext=cpp
52447 ac_cpp='$CXXCPP $CPPFLAGS'
52448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52453 /* end confdefs.h. */
52454 #include <math.h>
52455 #ifdef HAVE_IEEEFP_H
52456 #include <ieeefp.h>
52457 #endif
52460 main ()
52462 finitel(0);
52464 return 0;
52466 _ACEOF
52467 if ac_fn_cxx_try_compile "$LINENO"; then :
52468 glibcxx_cv_func_finitel_use=yes
52469 else
52470 glibcxx_cv_func_finitel_use=no
52472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52473 ac_ext=c
52474 ac_cpp='$CPP $CPPFLAGS'
52475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
52484 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
52486 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
52487 for ac_func in finitel
52488 do :
52489 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
52490 if test "x$ac_cv_func_finitel" = x""yes; then :
52491 cat >>confdefs.h <<_ACEOF
52492 #define HAVE_FINITEL 1
52493 _ACEOF
52496 done
52498 else
52500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
52501 $as_echo_n "checking for _finitel declaration... " >&6; }
52502 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
52503 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
52504 $as_echo_n "(cached) " >&6
52505 else
52508 ac_ext=cpp
52509 ac_cpp='$CXXCPP $CPPFLAGS'
52510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52515 /* end confdefs.h. */
52516 #include <math.h>
52517 #ifdef HAVE_IEEEFP_H
52518 #include <ieeefp.h>
52519 #endif
52522 main ()
52524 _finitel(0);
52526 return 0;
52528 _ACEOF
52529 if ac_fn_cxx_try_compile "$LINENO"; then :
52530 glibcxx_cv_func__finitel_use=yes
52531 else
52532 glibcxx_cv_func__finitel_use=no
52534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52535 ac_ext=c
52536 ac_cpp='$CPP $CPPFLAGS'
52537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
52546 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
52548 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
52549 for ac_func in _finitel
52550 do :
52551 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
52552 if test "x$ac_cv_func__finitel" = x""yes; then :
52553 cat >>confdefs.h <<_ACEOF
52554 #define HAVE__FINITEL 1
52555 _ACEOF
52558 done
52566 LIBS="$ac_save_LIBS"
52567 CXXFLAGS="$ac_save_CXXFLAGS"
52570 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52571 ac_save_CXXFLAGS="$CXXFLAGS"
52572 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
52576 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
52577 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
52578 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
52579 $as_echo_n "(cached) " >&6
52580 else
52583 ac_ext=cpp
52584 ac_cpp='$CXXCPP $CPPFLAGS'
52585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52590 /* end confdefs.h. */
52591 #include <stdlib.h>
52593 main ()
52595 at_quick_exit(0);
52597 return 0;
52599 _ACEOF
52600 if ac_fn_cxx_try_compile "$LINENO"; then :
52601 glibcxx_cv_func_at_quick_exit_use=yes
52602 else
52603 glibcxx_cv_func_at_quick_exit_use=no
52605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52606 ac_ext=c
52607 ac_cpp='$CPP $CPPFLAGS'
52608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
52617 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
52618 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
52619 for ac_func in at_quick_exit
52620 do :
52621 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
52622 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
52623 cat >>confdefs.h <<_ACEOF
52624 #define HAVE_AT_QUICK_EXIT 1
52625 _ACEOF
52628 done
52633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
52634 $as_echo_n "checking for quick_exit declaration... " >&6; }
52635 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
52636 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
52637 $as_echo_n "(cached) " >&6
52638 else
52641 ac_ext=cpp
52642 ac_cpp='$CXXCPP $CPPFLAGS'
52643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52648 /* end confdefs.h. */
52649 #include <stdlib.h>
52651 main ()
52653 quick_exit(0);
52655 return 0;
52657 _ACEOF
52658 if ac_fn_cxx_try_compile "$LINENO"; then :
52659 glibcxx_cv_func_quick_exit_use=yes
52660 else
52661 glibcxx_cv_func_quick_exit_use=no
52663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52664 ac_ext=c
52665 ac_cpp='$CPP $CPPFLAGS'
52666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
52675 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
52676 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
52677 for ac_func in quick_exit
52678 do :
52679 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
52680 if test "x$ac_cv_func_quick_exit" = x""yes; then :
52681 cat >>confdefs.h <<_ACEOF
52682 #define HAVE_QUICK_EXIT 1
52683 _ACEOF
52686 done
52691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
52692 $as_echo_n "checking for strtold declaration... " >&6; }
52693 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52694 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
52695 $as_echo_n "(cached) " >&6
52696 else
52699 ac_ext=cpp
52700 ac_cpp='$CXXCPP $CPPFLAGS'
52701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52706 /* end confdefs.h. */
52707 #include <stdlib.h>
52709 main ()
52711 strtold(0, 0);
52713 return 0;
52715 _ACEOF
52716 if ac_fn_cxx_try_compile "$LINENO"; then :
52717 glibcxx_cv_func_strtold_use=yes
52718 else
52719 glibcxx_cv_func_strtold_use=no
52721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52722 ac_ext=c
52723 ac_cpp='$CPP $CPPFLAGS'
52724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
52733 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
52734 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52735 for ac_func in strtold
52736 do :
52737 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
52738 if test "x$ac_cv_func_strtold" = x""yes; then :
52739 cat >>confdefs.h <<_ACEOF
52740 #define HAVE_STRTOLD 1
52741 _ACEOF
52744 done
52751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
52752 $as_echo_n "checking for strtof declaration... " >&6; }
52753 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52754 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
52755 $as_echo_n "(cached) " >&6
52756 else
52759 ac_ext=cpp
52760 ac_cpp='$CXXCPP $CPPFLAGS'
52761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52766 /* end confdefs.h. */
52767 #include <stdlib.h>
52769 main ()
52771 strtof(0, 0);
52773 return 0;
52775 _ACEOF
52776 if ac_fn_cxx_try_compile "$LINENO"; then :
52777 glibcxx_cv_func_strtof_use=yes
52778 else
52779 glibcxx_cv_func_strtof_use=no
52781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52782 ac_ext=c
52783 ac_cpp='$CPP $CPPFLAGS'
52784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
52793 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
52794 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52795 for ac_func in strtof
52796 do :
52797 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
52798 if test "x$ac_cv_func_strtof" = x""yes; then :
52799 cat >>confdefs.h <<_ACEOF
52800 #define HAVE_STRTOF 1
52801 _ACEOF
52804 done
52811 CXXFLAGS="$ac_save_CXXFLAGS"
52815 *djgpp)
52816 # GLIBCXX_CHECK_MATH_SUPPORT
52817 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52819 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52821 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52823 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
52825 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52829 *-freebsd*)
52830 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52833 # If we're not using GNU ld, then there's no point in even trying these
52834 # tests. Check for that first. We should have already tested for gld
52835 # by now (in libtool), but require it now just to be safe...
52836 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52837 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52841 # The name set by libtool depends on the version of libtool. Shame on us
52842 # for depending on an impl detail, but c'est la vie. Older versions used
52843 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52844 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52845 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52846 # set (hence we're using an older libtool), then set it.
52847 if test x${with_gnu_ld+set} != xset; then
52848 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52849 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52850 with_gnu_ld=no
52851 else
52852 with_gnu_ld=$ac_cv_prog_gnu_ld
52856 # Start by getting the version number. I think the libtool test already
52857 # does some of this, but throws away the result.
52858 glibcxx_ld_is_gold=no
52859 if test x"$with_gnu_ld" = x"yes"; then
52860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52861 $as_echo_n "checking for ld version... " >&6; }
52863 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52864 glibcxx_ld_is_gold=yes
52866 ldver=`$LD --version 2>/dev/null |
52867 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'`
52869 glibcxx_gnu_ld_version=`echo $ldver | \
52870 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52872 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52875 # Set --gc-sections.
52876 glibcxx_have_gc_sections=no
52877 if test "$glibcxx_ld_is_gold" = "yes"; then
52878 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52879 glibcxx_have_gc_sections=yes
52881 else
52882 glibcxx_gcsections_min_ld=21602
52883 if test x"$with_gnu_ld" = x"yes" &&
52884 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52885 glibcxx_have_gc_sections=yes
52888 if test "$glibcxx_have_gc_sections" = "yes"; then
52889 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52890 # NB: This flag only works reliably after 2.16.1. Configure tests
52891 # for this are difficult, so hard wire a value that should work.
52893 ac_test_CFLAGS="${CFLAGS+set}"
52894 ac_save_CFLAGS="$CFLAGS"
52895 CFLAGS='-Wl,--gc-sections'
52897 # Check for -Wl,--gc-sections
52898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52899 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52900 if test x$gcc_no_link = xyes; then
52901 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52904 /* end confdefs.h. */
52905 int one(void) { return 1; }
52906 int two(void) { return 2; }
52909 main ()
52911 two();
52913 return 0;
52915 _ACEOF
52916 if ac_fn_c_try_link "$LINENO"; then :
52917 ac_gcsections=yes
52918 else
52919 ac_gcsections=no
52921 rm -f core conftest.err conftest.$ac_objext \
52922 conftest$ac_exeext conftest.$ac_ext
52923 if test "$ac_gcsections" = "yes"; then
52924 rm -f conftest.c
52925 touch conftest.c
52926 if $CC -c conftest.c; then
52927 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52928 grep "Warning: gc-sections option ignored" > /dev/null; then
52929 ac_gcsections=no
52932 rm -f conftest.c conftest.o conftest
52934 if test "$ac_gcsections" = "yes"; then
52935 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52938 $as_echo "$ac_gcsections" >&6; }
52940 if test "$ac_test_CFLAGS" = set; then
52941 CFLAGS="$ac_save_CFLAGS"
52942 else
52943 # this is the suspicious part
52944 CFLAGS=''
52948 # Set -z,relro.
52949 # Note this is only for shared objects.
52950 ac_ld_relro=no
52951 if test x"$with_gnu_ld" = x"yes"; then
52952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52953 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52954 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52955 if test -n "$cxx_z_relo"; then
52956 OPT_LDFLAGS="-Wl,-z,relro"
52957 ac_ld_relro=yes
52959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52960 $as_echo "$ac_ld_relro" >&6; }
52963 # Set linker optimization flags.
52964 if test x"$with_gnu_ld" = x"yes"; then
52965 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52971 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
52973 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52975 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52977 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52979 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52981 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
52983 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52985 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52987 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52990 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52992 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52994 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52996 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52998 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
53000 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53002 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53004 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53006 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53008 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
53010 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53012 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53014 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
53016 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53018 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53020 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
53022 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53024 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53026 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53028 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53030 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53032 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53034 if test x"long_double_math_on_this_cpu" = x"yes"; then
53035 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
53037 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
53039 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
53043 *-hpux*)
53044 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53047 # If we're not using GNU ld, then there's no point in even trying these
53048 # tests. Check for that first. We should have already tested for gld
53049 # by now (in libtool), but require it now just to be safe...
53050 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53051 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53055 # The name set by libtool depends on the version of libtool. Shame on us
53056 # for depending on an impl detail, but c'est la vie. Older versions used
53057 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53058 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53059 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53060 # set (hence we're using an older libtool), then set it.
53061 if test x${with_gnu_ld+set} != xset; then
53062 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53063 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53064 with_gnu_ld=no
53065 else
53066 with_gnu_ld=$ac_cv_prog_gnu_ld
53070 # Start by getting the version number. I think the libtool test already
53071 # does some of this, but throws away the result.
53072 glibcxx_ld_is_gold=no
53073 if test x"$with_gnu_ld" = x"yes"; then
53074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53075 $as_echo_n "checking for ld version... " >&6; }
53077 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53078 glibcxx_ld_is_gold=yes
53080 ldver=`$LD --version 2>/dev/null |
53081 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'`
53083 glibcxx_gnu_ld_version=`echo $ldver | \
53084 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53086 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53089 # Set --gc-sections.
53090 glibcxx_have_gc_sections=no
53091 if test "$glibcxx_ld_is_gold" = "yes"; then
53092 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53093 glibcxx_have_gc_sections=yes
53095 else
53096 glibcxx_gcsections_min_ld=21602
53097 if test x"$with_gnu_ld" = x"yes" &&
53098 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53099 glibcxx_have_gc_sections=yes
53102 if test "$glibcxx_have_gc_sections" = "yes"; then
53103 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53104 # NB: This flag only works reliably after 2.16.1. Configure tests
53105 # for this are difficult, so hard wire a value that should work.
53107 ac_test_CFLAGS="${CFLAGS+set}"
53108 ac_save_CFLAGS="$CFLAGS"
53109 CFLAGS='-Wl,--gc-sections'
53111 # Check for -Wl,--gc-sections
53112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53113 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53114 if test x$gcc_no_link = xyes; then
53115 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53118 /* end confdefs.h. */
53119 int one(void) { return 1; }
53120 int two(void) { return 2; }
53123 main ()
53125 two();
53127 return 0;
53129 _ACEOF
53130 if ac_fn_c_try_link "$LINENO"; then :
53131 ac_gcsections=yes
53132 else
53133 ac_gcsections=no
53135 rm -f core conftest.err conftest.$ac_objext \
53136 conftest$ac_exeext conftest.$ac_ext
53137 if test "$ac_gcsections" = "yes"; then
53138 rm -f conftest.c
53139 touch conftest.c
53140 if $CC -c conftest.c; then
53141 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53142 grep "Warning: gc-sections option ignored" > /dev/null; then
53143 ac_gcsections=no
53146 rm -f conftest.c conftest.o conftest
53148 if test "$ac_gcsections" = "yes"; then
53149 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53152 $as_echo "$ac_gcsections" >&6; }
53154 if test "$ac_test_CFLAGS" = set; then
53155 CFLAGS="$ac_save_CFLAGS"
53156 else
53157 # this is the suspicious part
53158 CFLAGS=''
53162 # Set -z,relro.
53163 # Note this is only for shared objects.
53164 ac_ld_relro=no
53165 if test x"$with_gnu_ld" = x"yes"; then
53166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53167 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53168 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53169 if test -n "$cxx_z_relo"; then
53170 OPT_LDFLAGS="-Wl,-z,relro"
53171 ac_ld_relro=yes
53173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53174 $as_echo "$ac_ld_relro" >&6; }
53177 # Set linker optimization flags.
53178 if test x"$with_gnu_ld" = x"yes"; then
53179 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53186 # GLIBCXX_CHECK_MATH_SUPPORT
53187 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53189 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53191 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53193 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53195 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53197 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53199 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53201 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53203 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53205 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53207 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53209 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53211 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53213 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53215 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53217 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53219 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53221 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53223 $as_echo "#define HAVE_MODF 1" >>confdefs.h
53225 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53227 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53230 # GLIBCXX_CHECK_STDLIB_SUPPORT
53231 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
53236 # Check whether --enable-tls was given.
53237 if test "${enable_tls+set}" = set; then :
53238 enableval=$enable_tls;
53239 case "$enableval" in
53240 yes|no) ;;
53241 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53242 esac
53244 else
53245 enable_tls=yes
53249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53250 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53251 if test "${gcc_cv_have_tls+set}" = set; then :
53252 $as_echo_n "(cached) " >&6
53253 else
53255 if test "$cross_compiling" = yes; then :
53256 if test x$gcc_no_link = xyes; then
53257 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53260 /* end confdefs.h. */
53261 __thread int a; int b; int main() { return a = b; }
53262 _ACEOF
53263 if ac_fn_c_try_link "$LINENO"; then :
53264 chktls_save_LDFLAGS="$LDFLAGS"
53265 case $host in
53266 *-*-linux*)
53267 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53269 esac
53270 chktls_save_CFLAGS="$CFLAGS"
53271 CFLAGS="-fPIC $CFLAGS"
53272 if test x$gcc_no_link = xyes; then
53273 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53276 /* end confdefs.h. */
53277 int f() { return 0; }
53278 _ACEOF
53279 if ac_fn_c_try_link "$LINENO"; then :
53280 if test x$gcc_no_link = xyes; then
53281 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53284 /* end confdefs.h. */
53285 __thread int a; int b; int f() { return a = b; }
53286 _ACEOF
53287 if ac_fn_c_try_link "$LINENO"; then :
53288 gcc_cv_have_tls=yes
53289 else
53290 gcc_cv_have_tls=no
53292 rm -f core conftest.err conftest.$ac_objext \
53293 conftest$ac_exeext conftest.$ac_ext
53294 else
53295 gcc_cv_have_tls=yes
53297 rm -f core conftest.err conftest.$ac_objext \
53298 conftest$ac_exeext conftest.$ac_ext
53299 CFLAGS="$chktls_save_CFLAGS"
53300 LDFLAGS="$chktls_save_LDFLAGS"
53301 else
53302 gcc_cv_have_tls=no
53304 rm -f core conftest.err conftest.$ac_objext \
53305 conftest$ac_exeext conftest.$ac_ext
53308 else
53309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53310 /* end confdefs.h. */
53311 __thread int a; int b; int main() { return a = b; }
53312 _ACEOF
53313 if ac_fn_c_try_run "$LINENO"; then :
53314 chktls_save_LDFLAGS="$LDFLAGS"
53315 LDFLAGS="-static $LDFLAGS"
53316 if test x$gcc_no_link = xyes; then
53317 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53320 /* end confdefs.h. */
53321 int main() { return 0; }
53322 _ACEOF
53323 if ac_fn_c_try_link "$LINENO"; then :
53324 if test "$cross_compiling" = yes; then :
53325 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53327 as_fn_error "cannot run test program while cross compiling
53328 See \`config.log' for more details." "$LINENO" 5; }
53329 else
53330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53331 /* end confdefs.h. */
53332 __thread int a; int b; int main() { return a = b; }
53333 _ACEOF
53334 if ac_fn_c_try_run "$LINENO"; then :
53335 gcc_cv_have_tls=yes
53336 else
53337 gcc_cv_have_tls=no
53339 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53340 conftest.$ac_objext conftest.beam conftest.$ac_ext
53343 else
53344 gcc_cv_have_tls=yes
53346 rm -f core conftest.err conftest.$ac_objext \
53347 conftest$ac_exeext conftest.$ac_ext
53348 LDFLAGS="$chktls_save_LDFLAGS"
53349 if test $gcc_cv_have_tls = yes; then
53350 chktls_save_CFLAGS="$CFLAGS"
53351 thread_CFLAGS=failed
53352 for flag in '' '-pthread' '-lpthread'; do
53353 CFLAGS="$flag $chktls_save_CFLAGS"
53354 if test x$gcc_no_link = xyes; then
53355 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53358 /* end confdefs.h. */
53359 #include <pthread.h>
53360 void *g(void *d) { return NULL; }
53362 main ()
53364 pthread_t t; pthread_create(&t,NULL,g,NULL);
53366 return 0;
53368 _ACEOF
53369 if ac_fn_c_try_link "$LINENO"; then :
53370 thread_CFLAGS="$flag"
53372 rm -f core conftest.err conftest.$ac_objext \
53373 conftest$ac_exeext conftest.$ac_ext
53374 if test "X$thread_CFLAGS" != Xfailed; then
53375 break
53377 done
53378 CFLAGS="$chktls_save_CFLAGS"
53379 if test "X$thread_CFLAGS" != Xfailed; then
53380 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
53381 if test "$cross_compiling" = yes; then :
53382 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53383 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53384 as_fn_error "cannot run test program while cross compiling
53385 See \`config.log' for more details." "$LINENO" 5; }
53386 else
53387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53388 /* end confdefs.h. */
53389 #include <pthread.h>
53390 __thread int a;
53391 static int *volatile a_in_other_thread;
53392 static void *
53393 thread_func (void *arg)
53395 a_in_other_thread = &a;
53396 return (void *)0;
53399 main ()
53401 pthread_t thread;
53402 void *thread_retval;
53403 int *volatile a_in_main_thread;
53404 a_in_main_thread = &a;
53405 if (pthread_create (&thread, (pthread_attr_t *)0,
53406 thread_func, (void *)0))
53407 return 0;
53408 if (pthread_join (thread, &thread_retval))
53409 return 0;
53410 return (a_in_other_thread == a_in_main_thread);
53412 return 0;
53414 _ACEOF
53415 if ac_fn_c_try_run "$LINENO"; then :
53416 gcc_cv_have_tls=yes
53417 else
53418 gcc_cv_have_tls=no
53420 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53421 conftest.$ac_objext conftest.beam conftest.$ac_ext
53424 CFLAGS="$chktls_save_CFLAGS"
53427 else
53428 gcc_cv_have_tls=no
53430 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53431 conftest.$ac_objext conftest.beam conftest.$ac_ext
53435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
53436 $as_echo "$gcc_cv_have_tls" >&6; }
53437 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
53439 $as_echo "#define HAVE_TLS 1" >>confdefs.h
53442 case "$target" in
53443 *-hpux10*)
53444 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53446 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
53448 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53450 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53452 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53455 esac
53457 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
53459 # All these tests are for C++; save the language and the compiler flags.
53460 # The CXXFLAGS thing is suspicious, but based on similar bits previously
53461 # found in GLIBCXX_CONFIGURE.
53463 ac_ext=cpp
53464 ac_cpp='$CXXCPP $CPPFLAGS'
53465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53469 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53470 ac_save_CXXFLAGS="$CXXFLAGS"
53472 # Check for maintainer-mode bits.
53473 if test x"$USE_MAINTAINER_MODE" = xno; then
53474 WERROR=''
53475 else
53476 WERROR='-Werror'
53479 # Check for -ffunction-sections -fdata-sections
53480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53481 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
53482 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
53483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53484 /* end confdefs.h. */
53485 int foo; void bar() { };
53487 main ()
53491 return 0;
53493 _ACEOF
53494 if ac_fn_cxx_try_compile "$LINENO"; then :
53495 ac_fdsections=yes
53496 else
53497 ac_fdsections=no
53499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53500 if test "$ac_test_CXXFLAGS" = set; then
53501 CXXFLAGS="$ac_save_CXXFLAGS"
53502 else
53503 # this is the suspicious part
53504 CXXFLAGS=''
53506 if test x"$ac_fdsections" = x"yes"; then
53507 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
53510 $as_echo "$ac_fdsections" >&6; }
53512 ac_ext=c
53513 ac_cpp='$CPP $CPPFLAGS'
53514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53522 # If we're not using GNU ld, then there's no point in even trying these
53523 # tests. Check for that first. We should have already tested for gld
53524 # by now (in libtool), but require it now just to be safe...
53525 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53526 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53530 # The name set by libtool depends on the version of libtool. Shame on us
53531 # for depending on an impl detail, but c'est la vie. Older versions used
53532 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53533 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53534 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53535 # set (hence we're using an older libtool), then set it.
53536 if test x${with_gnu_ld+set} != xset; then
53537 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53538 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53539 with_gnu_ld=no
53540 else
53541 with_gnu_ld=$ac_cv_prog_gnu_ld
53545 # Start by getting the version number. I think the libtool test already
53546 # does some of this, but throws away the result.
53547 glibcxx_ld_is_gold=no
53548 if test x"$with_gnu_ld" = x"yes"; then
53549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53550 $as_echo_n "checking for ld version... " >&6; }
53552 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53553 glibcxx_ld_is_gold=yes
53555 ldver=`$LD --version 2>/dev/null |
53556 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'`
53558 glibcxx_gnu_ld_version=`echo $ldver | \
53559 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53561 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53564 # Set --gc-sections.
53565 glibcxx_have_gc_sections=no
53566 if test "$glibcxx_ld_is_gold" = "yes"; then
53567 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53568 glibcxx_have_gc_sections=yes
53570 else
53571 glibcxx_gcsections_min_ld=21602
53572 if test x"$with_gnu_ld" = x"yes" &&
53573 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53574 glibcxx_have_gc_sections=yes
53577 if test "$glibcxx_have_gc_sections" = "yes"; then
53578 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53579 # NB: This flag only works reliably after 2.16.1. Configure tests
53580 # for this are difficult, so hard wire a value that should work.
53582 ac_test_CFLAGS="${CFLAGS+set}"
53583 ac_save_CFLAGS="$CFLAGS"
53584 CFLAGS='-Wl,--gc-sections'
53586 # Check for -Wl,--gc-sections
53587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53588 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53589 if test x$gcc_no_link = xyes; then
53590 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53593 /* end confdefs.h. */
53594 int one(void) { return 1; }
53595 int two(void) { return 2; }
53598 main ()
53600 two();
53602 return 0;
53604 _ACEOF
53605 if ac_fn_c_try_link "$LINENO"; then :
53606 ac_gcsections=yes
53607 else
53608 ac_gcsections=no
53610 rm -f core conftest.err conftest.$ac_objext \
53611 conftest$ac_exeext conftest.$ac_ext
53612 if test "$ac_gcsections" = "yes"; then
53613 rm -f conftest.c
53614 touch conftest.c
53615 if $CC -c conftest.c; then
53616 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53617 grep "Warning: gc-sections option ignored" > /dev/null; then
53618 ac_gcsections=no
53621 rm -f conftest.c conftest.o conftest
53623 if test "$ac_gcsections" = "yes"; then
53624 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53627 $as_echo "$ac_gcsections" >&6; }
53629 if test "$ac_test_CFLAGS" = set; then
53630 CFLAGS="$ac_save_CFLAGS"
53631 else
53632 # this is the suspicious part
53633 CFLAGS=''
53637 # Set -z,relro.
53638 # Note this is only for shared objects.
53639 ac_ld_relro=no
53640 if test x"$with_gnu_ld" = x"yes"; then
53641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53642 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53643 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53644 if test -n "$cxx_z_relo"; then
53645 OPT_LDFLAGS="-Wl,-z,relro"
53646 ac_ld_relro=yes
53648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53649 $as_echo "$ac_ld_relro" >&6; }
53652 # Set linker optimization flags.
53653 if test x"$with_gnu_ld" = x"yes"; then
53654 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53661 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53662 ac_save_CXXFLAGS="$CXXFLAGS"
53663 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
53666 $as_echo_n "checking for sin in -lm... " >&6; }
53667 if test "${ac_cv_lib_m_sin+set}" = set; then :
53668 $as_echo_n "(cached) " >&6
53669 else
53670 ac_check_lib_save_LIBS=$LIBS
53671 LIBS="-lm $LIBS"
53672 if test x$gcc_no_link = xyes; then
53673 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53676 /* end confdefs.h. */
53678 /* Override any GCC internal prototype to avoid an error.
53679 Use char because int might match the return type of a GCC
53680 builtin and then its argument prototype would still apply. */
53681 #ifdef __cplusplus
53682 extern "C"
53683 #endif
53684 char sin ();
53686 main ()
53688 return sin ();
53690 return 0;
53692 _ACEOF
53693 if ac_fn_c_try_link "$LINENO"; then :
53694 ac_cv_lib_m_sin=yes
53695 else
53696 ac_cv_lib_m_sin=no
53698 rm -f core conftest.err conftest.$ac_objext \
53699 conftest$ac_exeext conftest.$ac_ext
53700 LIBS=$ac_check_lib_save_LIBS
53702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
53703 $as_echo "$ac_cv_lib_m_sin" >&6; }
53704 if test "x$ac_cv_lib_m_sin" = x""yes; then :
53705 libm="-lm"
53708 ac_save_LIBS="$LIBS"
53709 LIBS="$LIBS $libm"
53713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
53714 $as_echo_n "checking for isinf declaration... " >&6; }
53715 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
53716 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
53717 $as_echo_n "(cached) " >&6
53718 else
53721 ac_ext=cpp
53722 ac_cpp='$CXXCPP $CPPFLAGS'
53723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53728 /* end confdefs.h. */
53729 #include <math.h>
53730 #ifdef HAVE_IEEEFP_H
53731 #include <ieeefp.h>
53732 #endif
53735 main ()
53737 isinf(0);
53739 return 0;
53741 _ACEOF
53742 if ac_fn_cxx_try_compile "$LINENO"; then :
53743 glibcxx_cv_func_isinf_use=yes
53744 else
53745 glibcxx_cv_func_isinf_use=no
53747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53748 ac_ext=c
53749 ac_cpp='$CPP $CPPFLAGS'
53750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
53759 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
53761 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
53762 for ac_func in isinf
53763 do :
53764 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
53765 if test "x$ac_cv_func_isinf" = x""yes; then :
53766 cat >>confdefs.h <<_ACEOF
53767 #define HAVE_ISINF 1
53768 _ACEOF
53771 done
53773 else
53775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
53776 $as_echo_n "checking for _isinf declaration... " >&6; }
53777 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
53778 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
53779 $as_echo_n "(cached) " >&6
53780 else
53783 ac_ext=cpp
53784 ac_cpp='$CXXCPP $CPPFLAGS'
53785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53790 /* end confdefs.h. */
53791 #include <math.h>
53792 #ifdef HAVE_IEEEFP_H
53793 #include <ieeefp.h>
53794 #endif
53797 main ()
53799 _isinf(0);
53801 return 0;
53803 _ACEOF
53804 if ac_fn_cxx_try_compile "$LINENO"; then :
53805 glibcxx_cv_func__isinf_use=yes
53806 else
53807 glibcxx_cv_func__isinf_use=no
53809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53810 ac_ext=c
53811 ac_cpp='$CPP $CPPFLAGS'
53812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
53821 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
53823 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
53824 for ac_func in _isinf
53825 do :
53826 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
53827 if test "x$ac_cv_func__isinf" = x""yes; then :
53828 cat >>confdefs.h <<_ACEOF
53829 #define HAVE__ISINF 1
53830 _ACEOF
53833 done
53842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
53843 $as_echo_n "checking for isnan declaration... " >&6; }
53844 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
53845 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
53846 $as_echo_n "(cached) " >&6
53847 else
53850 ac_ext=cpp
53851 ac_cpp='$CXXCPP $CPPFLAGS'
53852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53857 /* end confdefs.h. */
53858 #include <math.h>
53859 #ifdef HAVE_IEEEFP_H
53860 #include <ieeefp.h>
53861 #endif
53864 main ()
53866 isnan(0);
53868 return 0;
53870 _ACEOF
53871 if ac_fn_cxx_try_compile "$LINENO"; then :
53872 glibcxx_cv_func_isnan_use=yes
53873 else
53874 glibcxx_cv_func_isnan_use=no
53876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53877 ac_ext=c
53878 ac_cpp='$CPP $CPPFLAGS'
53879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
53888 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
53890 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
53891 for ac_func in isnan
53892 do :
53893 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
53894 if test "x$ac_cv_func_isnan" = x""yes; then :
53895 cat >>confdefs.h <<_ACEOF
53896 #define HAVE_ISNAN 1
53897 _ACEOF
53900 done
53902 else
53904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
53905 $as_echo_n "checking for _isnan declaration... " >&6; }
53906 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
53907 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
53908 $as_echo_n "(cached) " >&6
53909 else
53912 ac_ext=cpp
53913 ac_cpp='$CXXCPP $CPPFLAGS'
53914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53919 /* end confdefs.h. */
53920 #include <math.h>
53921 #ifdef HAVE_IEEEFP_H
53922 #include <ieeefp.h>
53923 #endif
53926 main ()
53928 _isnan(0);
53930 return 0;
53932 _ACEOF
53933 if ac_fn_cxx_try_compile "$LINENO"; then :
53934 glibcxx_cv_func__isnan_use=yes
53935 else
53936 glibcxx_cv_func__isnan_use=no
53938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53939 ac_ext=c
53940 ac_cpp='$CPP $CPPFLAGS'
53941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
53950 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
53952 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
53953 for ac_func in _isnan
53954 do :
53955 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
53956 if test "x$ac_cv_func__isnan" = x""yes; then :
53957 cat >>confdefs.h <<_ACEOF
53958 #define HAVE__ISNAN 1
53959 _ACEOF
53962 done
53971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
53972 $as_echo_n "checking for finite declaration... " >&6; }
53973 if test x${glibcxx_cv_func_finite_use+set} != xset; then
53974 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
53975 $as_echo_n "(cached) " >&6
53976 else
53979 ac_ext=cpp
53980 ac_cpp='$CXXCPP $CPPFLAGS'
53981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53986 /* end confdefs.h. */
53987 #include <math.h>
53988 #ifdef HAVE_IEEEFP_H
53989 #include <ieeefp.h>
53990 #endif
53993 main ()
53995 finite(0);
53997 return 0;
53999 _ACEOF
54000 if ac_fn_cxx_try_compile "$LINENO"; then :
54001 glibcxx_cv_func_finite_use=yes
54002 else
54003 glibcxx_cv_func_finite_use=no
54005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54006 ac_ext=c
54007 ac_cpp='$CPP $CPPFLAGS'
54008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54017 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54019 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54020 for ac_func in finite
54021 do :
54022 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54023 if test "x$ac_cv_func_finite" = x""yes; then :
54024 cat >>confdefs.h <<_ACEOF
54025 #define HAVE_FINITE 1
54026 _ACEOF
54029 done
54031 else
54033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54034 $as_echo_n "checking for _finite declaration... " >&6; }
54035 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54036 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
54037 $as_echo_n "(cached) " >&6
54038 else
54041 ac_ext=cpp
54042 ac_cpp='$CXXCPP $CPPFLAGS'
54043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54048 /* end confdefs.h. */
54049 #include <math.h>
54050 #ifdef HAVE_IEEEFP_H
54051 #include <ieeefp.h>
54052 #endif
54055 main ()
54057 _finite(0);
54059 return 0;
54061 _ACEOF
54062 if ac_fn_cxx_try_compile "$LINENO"; then :
54063 glibcxx_cv_func__finite_use=yes
54064 else
54065 glibcxx_cv_func__finite_use=no
54067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54068 ac_ext=c
54069 ac_cpp='$CPP $CPPFLAGS'
54070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54079 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54081 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54082 for ac_func in _finite
54083 do :
54084 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54085 if test "x$ac_cv_func__finite" = x""yes; then :
54086 cat >>confdefs.h <<_ACEOF
54087 #define HAVE__FINITE 1
54088 _ACEOF
54091 done
54100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54101 $as_echo_n "checking for sincos declaration... " >&6; }
54102 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54103 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
54104 $as_echo_n "(cached) " >&6
54105 else
54108 ac_ext=cpp
54109 ac_cpp='$CXXCPP $CPPFLAGS'
54110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54115 /* end confdefs.h. */
54116 #include <math.h>
54118 main ()
54120 sincos(0, 0, 0);
54122 return 0;
54124 _ACEOF
54125 if ac_fn_cxx_try_compile "$LINENO"; then :
54126 glibcxx_cv_func_sincos_use=yes
54127 else
54128 glibcxx_cv_func_sincos_use=no
54130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54131 ac_ext=c
54132 ac_cpp='$CPP $CPPFLAGS'
54133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
54142 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
54144 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54145 for ac_func in sincos
54146 do :
54147 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
54148 if test "x$ac_cv_func_sincos" = x""yes; then :
54149 cat >>confdefs.h <<_ACEOF
54150 #define HAVE_SINCOS 1
54151 _ACEOF
54154 done
54156 else
54158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
54159 $as_echo_n "checking for _sincos declaration... " >&6; }
54160 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54161 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
54162 $as_echo_n "(cached) " >&6
54163 else
54166 ac_ext=cpp
54167 ac_cpp='$CXXCPP $CPPFLAGS'
54168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54173 /* end confdefs.h. */
54174 #include <math.h>
54176 main ()
54178 _sincos(0, 0, 0);
54180 return 0;
54182 _ACEOF
54183 if ac_fn_cxx_try_compile "$LINENO"; then :
54184 glibcxx_cv_func__sincos_use=yes
54185 else
54186 glibcxx_cv_func__sincos_use=no
54188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54189 ac_ext=c
54190 ac_cpp='$CPP $CPPFLAGS'
54191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
54200 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
54202 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54203 for ac_func in _sincos
54204 do :
54205 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
54206 if test "x$ac_cv_func__sincos" = x""yes; then :
54207 cat >>confdefs.h <<_ACEOF
54208 #define HAVE__SINCOS 1
54209 _ACEOF
54212 done
54221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
54222 $as_echo_n "checking for fpclass declaration... " >&6; }
54223 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54224 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
54225 $as_echo_n "(cached) " >&6
54226 else
54229 ac_ext=cpp
54230 ac_cpp='$CXXCPP $CPPFLAGS'
54231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54236 /* end confdefs.h. */
54237 #include <math.h>
54238 #ifdef HAVE_IEEEFP_H
54239 #include <ieeefp.h>
54240 #endif
54243 main ()
54245 fpclass(0);
54247 return 0;
54249 _ACEOF
54250 if ac_fn_cxx_try_compile "$LINENO"; then :
54251 glibcxx_cv_func_fpclass_use=yes
54252 else
54253 glibcxx_cv_func_fpclass_use=no
54255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54256 ac_ext=c
54257 ac_cpp='$CPP $CPPFLAGS'
54258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
54267 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
54269 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
54270 for ac_func in fpclass
54271 do :
54272 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
54273 if test "x$ac_cv_func_fpclass" = x""yes; then :
54274 cat >>confdefs.h <<_ACEOF
54275 #define HAVE_FPCLASS 1
54276 _ACEOF
54279 done
54281 else
54283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
54284 $as_echo_n "checking for _fpclass declaration... " >&6; }
54285 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
54286 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
54287 $as_echo_n "(cached) " >&6
54288 else
54291 ac_ext=cpp
54292 ac_cpp='$CXXCPP $CPPFLAGS'
54293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54298 /* end confdefs.h. */
54299 #include <math.h>
54300 #ifdef HAVE_IEEEFP_H
54301 #include <ieeefp.h>
54302 #endif
54305 main ()
54307 _fpclass(0);
54309 return 0;
54311 _ACEOF
54312 if ac_fn_cxx_try_compile "$LINENO"; then :
54313 glibcxx_cv_func__fpclass_use=yes
54314 else
54315 glibcxx_cv_func__fpclass_use=no
54317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54318 ac_ext=c
54319 ac_cpp='$CPP $CPPFLAGS'
54320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
54329 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
54331 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
54332 for ac_func in _fpclass
54333 do :
54334 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
54335 if test "x$ac_cv_func__fpclass" = x""yes; then :
54336 cat >>confdefs.h <<_ACEOF
54337 #define HAVE__FPCLASS 1
54338 _ACEOF
54341 done
54350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
54351 $as_echo_n "checking for qfpclass declaration... " >&6; }
54352 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
54353 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
54354 $as_echo_n "(cached) " >&6
54355 else
54358 ac_ext=cpp
54359 ac_cpp='$CXXCPP $CPPFLAGS'
54360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54365 /* end confdefs.h. */
54366 #include <math.h>
54367 #ifdef HAVE_IEEEFP_H
54368 #include <ieeefp.h>
54369 #endif
54372 main ()
54374 qfpclass(0);
54376 return 0;
54378 _ACEOF
54379 if ac_fn_cxx_try_compile "$LINENO"; then :
54380 glibcxx_cv_func_qfpclass_use=yes
54381 else
54382 glibcxx_cv_func_qfpclass_use=no
54384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54385 ac_ext=c
54386 ac_cpp='$CPP $CPPFLAGS'
54387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
54396 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
54398 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
54399 for ac_func in qfpclass
54400 do :
54401 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
54402 if test "x$ac_cv_func_qfpclass" = x""yes; then :
54403 cat >>confdefs.h <<_ACEOF
54404 #define HAVE_QFPCLASS 1
54405 _ACEOF
54408 done
54410 else
54412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
54413 $as_echo_n "checking for _qfpclass declaration... " >&6; }
54414 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
54415 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
54416 $as_echo_n "(cached) " >&6
54417 else
54420 ac_ext=cpp
54421 ac_cpp='$CXXCPP $CPPFLAGS'
54422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54427 /* end confdefs.h. */
54428 #include <math.h>
54429 #ifdef HAVE_IEEEFP_H
54430 #include <ieeefp.h>
54431 #endif
54434 main ()
54436 _qfpclass(0);
54438 return 0;
54440 _ACEOF
54441 if ac_fn_cxx_try_compile "$LINENO"; then :
54442 glibcxx_cv_func__qfpclass_use=yes
54443 else
54444 glibcxx_cv_func__qfpclass_use=no
54446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54447 ac_ext=c
54448 ac_cpp='$CPP $CPPFLAGS'
54449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
54458 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
54460 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
54461 for ac_func in _qfpclass
54462 do :
54463 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
54464 if test "x$ac_cv_func__qfpclass" = x""yes; then :
54465 cat >>confdefs.h <<_ACEOF
54466 #define HAVE__QFPCLASS 1
54467 _ACEOF
54470 done
54479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
54480 $as_echo_n "checking for hypot declaration... " >&6; }
54481 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
54482 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
54483 $as_echo_n "(cached) " >&6
54484 else
54487 ac_ext=cpp
54488 ac_cpp='$CXXCPP $CPPFLAGS'
54489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54494 /* end confdefs.h. */
54495 #include <math.h>
54497 main ()
54499 hypot(0, 0);
54501 return 0;
54503 _ACEOF
54504 if ac_fn_cxx_try_compile "$LINENO"; then :
54505 glibcxx_cv_func_hypot_use=yes
54506 else
54507 glibcxx_cv_func_hypot_use=no
54509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54510 ac_ext=c
54511 ac_cpp='$CPP $CPPFLAGS'
54512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
54521 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
54523 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
54524 for ac_func in hypot
54525 do :
54526 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
54527 if test "x$ac_cv_func_hypot" = x""yes; then :
54528 cat >>confdefs.h <<_ACEOF
54529 #define HAVE_HYPOT 1
54530 _ACEOF
54533 done
54535 else
54537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
54538 $as_echo_n "checking for _hypot declaration... " >&6; }
54539 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
54540 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
54541 $as_echo_n "(cached) " >&6
54542 else
54545 ac_ext=cpp
54546 ac_cpp='$CXXCPP $CPPFLAGS'
54547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54552 /* end confdefs.h. */
54553 #include <math.h>
54555 main ()
54557 _hypot(0, 0);
54559 return 0;
54561 _ACEOF
54562 if ac_fn_cxx_try_compile "$LINENO"; then :
54563 glibcxx_cv_func__hypot_use=yes
54564 else
54565 glibcxx_cv_func__hypot_use=no
54567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54568 ac_ext=c
54569 ac_cpp='$CPP $CPPFLAGS'
54570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
54579 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
54581 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
54582 for ac_func in _hypot
54583 do :
54584 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
54585 if test "x$ac_cv_func__hypot" = x""yes; then :
54586 cat >>confdefs.h <<_ACEOF
54587 #define HAVE__HYPOT 1
54588 _ACEOF
54591 done
54600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
54601 $as_echo_n "checking for float trig functions... " >&6; }
54602 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
54603 $as_echo_n "(cached) " >&6
54604 else
54607 ac_ext=cpp
54608 ac_cpp='$CXXCPP $CPPFLAGS'
54609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54614 /* end confdefs.h. */
54615 #include <math.h>
54617 main ()
54619 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
54621 return 0;
54623 _ACEOF
54624 if ac_fn_cxx_try_compile "$LINENO"; then :
54625 glibcxx_cv_func_float_trig_use=yes
54626 else
54627 glibcxx_cv_func_float_trig_use=no
54629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54630 ac_ext=c
54631 ac_cpp='$CPP $CPPFLAGS'
54632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
54639 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
54640 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
54641 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
54642 do :
54643 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54644 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54645 eval as_val=\$$as_ac_var
54646 if test "x$as_val" = x""yes; then :
54647 cat >>confdefs.h <<_ACEOF
54648 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54649 _ACEOF
54652 done
54654 else
54655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
54656 $as_echo_n "checking for _float trig functions... " >&6; }
54657 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
54658 $as_echo_n "(cached) " >&6
54659 else
54662 ac_ext=cpp
54663 ac_cpp='$CXXCPP $CPPFLAGS'
54664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54669 /* end confdefs.h. */
54670 #include <math.h>
54672 main ()
54674 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
54676 return 0;
54678 _ACEOF
54679 if ac_fn_cxx_try_compile "$LINENO"; then :
54680 glibcxx_cv_func__float_trig_use=yes
54681 else
54682 glibcxx_cv_func__float_trig_use=no
54684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54685 ac_ext=c
54686 ac_cpp='$CPP $CPPFLAGS'
54687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
54694 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
54695 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
54696 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
54697 do :
54698 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54699 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54700 eval as_val=\$$as_ac_var
54701 if test "x$as_val" = x""yes; then :
54702 cat >>confdefs.h <<_ACEOF
54703 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54704 _ACEOF
54707 done
54716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
54717 $as_echo_n "checking for float round functions... " >&6; }
54718 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
54719 $as_echo_n "(cached) " >&6
54720 else
54723 ac_ext=cpp
54724 ac_cpp='$CXXCPP $CPPFLAGS'
54725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54730 /* end confdefs.h. */
54731 #include <math.h>
54733 main ()
54735 ceilf (0); floorf (0);
54737 return 0;
54739 _ACEOF
54740 if ac_fn_cxx_try_compile "$LINENO"; then :
54741 glibcxx_cv_func_float_round_use=yes
54742 else
54743 glibcxx_cv_func_float_round_use=no
54745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54746 ac_ext=c
54747 ac_cpp='$CPP $CPPFLAGS'
54748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
54755 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
54756 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
54757 for ac_func in ceilf floorf
54758 do :
54759 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54760 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54761 eval as_val=\$$as_ac_var
54762 if test "x$as_val" = x""yes; then :
54763 cat >>confdefs.h <<_ACEOF
54764 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54765 _ACEOF
54768 done
54770 else
54771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
54772 $as_echo_n "checking for _float round functions... " >&6; }
54773 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
54774 $as_echo_n "(cached) " >&6
54775 else
54778 ac_ext=cpp
54779 ac_cpp='$CXXCPP $CPPFLAGS'
54780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54785 /* end confdefs.h. */
54786 #include <math.h>
54788 main ()
54790 _ceilf (0); _floorf (0);
54792 return 0;
54794 _ACEOF
54795 if ac_fn_cxx_try_compile "$LINENO"; then :
54796 glibcxx_cv_func__float_round_use=yes
54797 else
54798 glibcxx_cv_func__float_round_use=no
54800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54801 ac_ext=c
54802 ac_cpp='$CPP $CPPFLAGS'
54803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
54810 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
54811 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
54812 for ac_func in _ceilf _floorf
54813 do :
54814 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54815 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54816 eval as_val=\$$as_ac_var
54817 if test "x$as_val" = x""yes; then :
54818 cat >>confdefs.h <<_ACEOF
54819 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54820 _ACEOF
54823 done
54833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
54834 $as_echo_n "checking for expf declaration... " >&6; }
54835 if test x${glibcxx_cv_func_expf_use+set} != xset; then
54836 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
54837 $as_echo_n "(cached) " >&6
54838 else
54841 ac_ext=cpp
54842 ac_cpp='$CXXCPP $CPPFLAGS'
54843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54848 /* end confdefs.h. */
54849 #include <math.h>
54850 #ifdef HAVE_IEEEFP_H
54851 #include <ieeefp.h>
54852 #endif
54855 main ()
54857 expf(0);
54859 return 0;
54861 _ACEOF
54862 if ac_fn_cxx_try_compile "$LINENO"; then :
54863 glibcxx_cv_func_expf_use=yes
54864 else
54865 glibcxx_cv_func_expf_use=no
54867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54868 ac_ext=c
54869 ac_cpp='$CPP $CPPFLAGS'
54870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
54879 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
54881 if test x$glibcxx_cv_func_expf_use = x"yes"; then
54882 for ac_func in expf
54883 do :
54884 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
54885 if test "x$ac_cv_func_expf" = x""yes; then :
54886 cat >>confdefs.h <<_ACEOF
54887 #define HAVE_EXPF 1
54888 _ACEOF
54891 done
54893 else
54895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
54896 $as_echo_n "checking for _expf declaration... " >&6; }
54897 if test x${glibcxx_cv_func__expf_use+set} != xset; then
54898 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
54899 $as_echo_n "(cached) " >&6
54900 else
54903 ac_ext=cpp
54904 ac_cpp='$CXXCPP $CPPFLAGS'
54905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54910 /* end confdefs.h. */
54911 #include <math.h>
54912 #ifdef HAVE_IEEEFP_H
54913 #include <ieeefp.h>
54914 #endif
54917 main ()
54919 _expf(0);
54921 return 0;
54923 _ACEOF
54924 if ac_fn_cxx_try_compile "$LINENO"; then :
54925 glibcxx_cv_func__expf_use=yes
54926 else
54927 glibcxx_cv_func__expf_use=no
54929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54930 ac_ext=c
54931 ac_cpp='$CPP $CPPFLAGS'
54932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
54941 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
54943 if test x$glibcxx_cv_func__expf_use = x"yes"; then
54944 for ac_func in _expf
54945 do :
54946 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
54947 if test "x$ac_cv_func__expf" = x""yes; then :
54948 cat >>confdefs.h <<_ACEOF
54949 #define HAVE__EXPF 1
54950 _ACEOF
54953 done
54962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
54963 $as_echo_n "checking for isnanf declaration... " >&6; }
54964 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
54965 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
54966 $as_echo_n "(cached) " >&6
54967 else
54970 ac_ext=cpp
54971 ac_cpp='$CXXCPP $CPPFLAGS'
54972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54977 /* end confdefs.h. */
54978 #include <math.h>
54979 #ifdef HAVE_IEEEFP_H
54980 #include <ieeefp.h>
54981 #endif
54984 main ()
54986 isnanf(0);
54988 return 0;
54990 _ACEOF
54991 if ac_fn_cxx_try_compile "$LINENO"; then :
54992 glibcxx_cv_func_isnanf_use=yes
54993 else
54994 glibcxx_cv_func_isnanf_use=no
54996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54997 ac_ext=c
54998 ac_cpp='$CPP $CPPFLAGS'
54999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55008 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55010 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55011 for ac_func in isnanf
55012 do :
55013 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55014 if test "x$ac_cv_func_isnanf" = x""yes; then :
55015 cat >>confdefs.h <<_ACEOF
55016 #define HAVE_ISNANF 1
55017 _ACEOF
55020 done
55022 else
55024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55025 $as_echo_n "checking for _isnanf declaration... " >&6; }
55026 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55027 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
55028 $as_echo_n "(cached) " >&6
55029 else
55032 ac_ext=cpp
55033 ac_cpp='$CXXCPP $CPPFLAGS'
55034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55039 /* end confdefs.h. */
55040 #include <math.h>
55041 #ifdef HAVE_IEEEFP_H
55042 #include <ieeefp.h>
55043 #endif
55046 main ()
55048 _isnanf(0);
55050 return 0;
55052 _ACEOF
55053 if ac_fn_cxx_try_compile "$LINENO"; then :
55054 glibcxx_cv_func__isnanf_use=yes
55055 else
55056 glibcxx_cv_func__isnanf_use=no
55058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55059 ac_ext=c
55060 ac_cpp='$CPP $CPPFLAGS'
55061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55070 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55072 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55073 for ac_func in _isnanf
55074 do :
55075 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55076 if test "x$ac_cv_func__isnanf" = x""yes; then :
55077 cat >>confdefs.h <<_ACEOF
55078 #define HAVE__ISNANF 1
55079 _ACEOF
55082 done
55091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55092 $as_echo_n "checking for isinff declaration... " >&6; }
55093 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55094 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
55095 $as_echo_n "(cached) " >&6
55096 else
55099 ac_ext=cpp
55100 ac_cpp='$CXXCPP $CPPFLAGS'
55101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55106 /* end confdefs.h. */
55107 #include <math.h>
55108 #ifdef HAVE_IEEEFP_H
55109 #include <ieeefp.h>
55110 #endif
55113 main ()
55115 isinff(0);
55117 return 0;
55119 _ACEOF
55120 if ac_fn_cxx_try_compile "$LINENO"; then :
55121 glibcxx_cv_func_isinff_use=yes
55122 else
55123 glibcxx_cv_func_isinff_use=no
55125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55126 ac_ext=c
55127 ac_cpp='$CPP $CPPFLAGS'
55128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
55137 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
55139 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
55140 for ac_func in isinff
55141 do :
55142 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
55143 if test "x$ac_cv_func_isinff" = x""yes; then :
55144 cat >>confdefs.h <<_ACEOF
55145 #define HAVE_ISINFF 1
55146 _ACEOF
55149 done
55151 else
55153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
55154 $as_echo_n "checking for _isinff declaration... " >&6; }
55155 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
55156 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
55157 $as_echo_n "(cached) " >&6
55158 else
55161 ac_ext=cpp
55162 ac_cpp='$CXXCPP $CPPFLAGS'
55163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55168 /* end confdefs.h. */
55169 #include <math.h>
55170 #ifdef HAVE_IEEEFP_H
55171 #include <ieeefp.h>
55172 #endif
55175 main ()
55177 _isinff(0);
55179 return 0;
55181 _ACEOF
55182 if ac_fn_cxx_try_compile "$LINENO"; then :
55183 glibcxx_cv_func__isinff_use=yes
55184 else
55185 glibcxx_cv_func__isinff_use=no
55187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55188 ac_ext=c
55189 ac_cpp='$CPP $CPPFLAGS'
55190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
55199 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
55201 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
55202 for ac_func in _isinff
55203 do :
55204 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
55205 if test "x$ac_cv_func__isinff" = x""yes; then :
55206 cat >>confdefs.h <<_ACEOF
55207 #define HAVE__ISINFF 1
55208 _ACEOF
55211 done
55220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
55221 $as_echo_n "checking for atan2f declaration... " >&6; }
55222 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
55223 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
55224 $as_echo_n "(cached) " >&6
55225 else
55228 ac_ext=cpp
55229 ac_cpp='$CXXCPP $CPPFLAGS'
55230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55235 /* end confdefs.h. */
55236 #include <math.h>
55238 main ()
55240 atan2f(0, 0);
55242 return 0;
55244 _ACEOF
55245 if ac_fn_cxx_try_compile "$LINENO"; then :
55246 glibcxx_cv_func_atan2f_use=yes
55247 else
55248 glibcxx_cv_func_atan2f_use=no
55250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55251 ac_ext=c
55252 ac_cpp='$CPP $CPPFLAGS'
55253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
55262 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
55264 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
55265 for ac_func in atan2f
55266 do :
55267 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
55268 if test "x$ac_cv_func_atan2f" = x""yes; then :
55269 cat >>confdefs.h <<_ACEOF
55270 #define HAVE_ATAN2F 1
55271 _ACEOF
55274 done
55276 else
55278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
55279 $as_echo_n "checking for _atan2f declaration... " >&6; }
55280 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
55281 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
55282 $as_echo_n "(cached) " >&6
55283 else
55286 ac_ext=cpp
55287 ac_cpp='$CXXCPP $CPPFLAGS'
55288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55293 /* end confdefs.h. */
55294 #include <math.h>
55296 main ()
55298 _atan2f(0, 0);
55300 return 0;
55302 _ACEOF
55303 if ac_fn_cxx_try_compile "$LINENO"; then :
55304 glibcxx_cv_func__atan2f_use=yes
55305 else
55306 glibcxx_cv_func__atan2f_use=no
55308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55309 ac_ext=c
55310 ac_cpp='$CPP $CPPFLAGS'
55311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
55320 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
55322 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
55323 for ac_func in _atan2f
55324 do :
55325 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
55326 if test "x$ac_cv_func__atan2f" = x""yes; then :
55327 cat >>confdefs.h <<_ACEOF
55328 #define HAVE__ATAN2F 1
55329 _ACEOF
55332 done
55341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
55342 $as_echo_n "checking for fabsf declaration... " >&6; }
55343 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
55344 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
55345 $as_echo_n "(cached) " >&6
55346 else
55349 ac_ext=cpp
55350 ac_cpp='$CXXCPP $CPPFLAGS'
55351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55356 /* end confdefs.h. */
55357 #include <math.h>
55358 #ifdef HAVE_IEEEFP_H
55359 #include <ieeefp.h>
55360 #endif
55363 main ()
55365 fabsf(0);
55367 return 0;
55369 _ACEOF
55370 if ac_fn_cxx_try_compile "$LINENO"; then :
55371 glibcxx_cv_func_fabsf_use=yes
55372 else
55373 glibcxx_cv_func_fabsf_use=no
55375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55376 ac_ext=c
55377 ac_cpp='$CPP $CPPFLAGS'
55378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
55387 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
55389 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
55390 for ac_func in fabsf
55391 do :
55392 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
55393 if test "x$ac_cv_func_fabsf" = x""yes; then :
55394 cat >>confdefs.h <<_ACEOF
55395 #define HAVE_FABSF 1
55396 _ACEOF
55399 done
55401 else
55403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
55404 $as_echo_n "checking for _fabsf declaration... " >&6; }
55405 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
55406 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
55407 $as_echo_n "(cached) " >&6
55408 else
55411 ac_ext=cpp
55412 ac_cpp='$CXXCPP $CPPFLAGS'
55413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55418 /* end confdefs.h. */
55419 #include <math.h>
55420 #ifdef HAVE_IEEEFP_H
55421 #include <ieeefp.h>
55422 #endif
55425 main ()
55427 _fabsf(0);
55429 return 0;
55431 _ACEOF
55432 if ac_fn_cxx_try_compile "$LINENO"; then :
55433 glibcxx_cv_func__fabsf_use=yes
55434 else
55435 glibcxx_cv_func__fabsf_use=no
55437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55438 ac_ext=c
55439 ac_cpp='$CPP $CPPFLAGS'
55440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
55449 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
55451 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
55452 for ac_func in _fabsf
55453 do :
55454 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
55455 if test "x$ac_cv_func__fabsf" = x""yes; then :
55456 cat >>confdefs.h <<_ACEOF
55457 #define HAVE__FABSF 1
55458 _ACEOF
55461 done
55470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
55471 $as_echo_n "checking for fmodf declaration... " >&6; }
55472 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
55473 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
55474 $as_echo_n "(cached) " >&6
55475 else
55478 ac_ext=cpp
55479 ac_cpp='$CXXCPP $CPPFLAGS'
55480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55485 /* end confdefs.h. */
55486 #include <math.h>
55488 main ()
55490 fmodf(0, 0);
55492 return 0;
55494 _ACEOF
55495 if ac_fn_cxx_try_compile "$LINENO"; then :
55496 glibcxx_cv_func_fmodf_use=yes
55497 else
55498 glibcxx_cv_func_fmodf_use=no
55500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55501 ac_ext=c
55502 ac_cpp='$CPP $CPPFLAGS'
55503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
55512 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
55514 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
55515 for ac_func in fmodf
55516 do :
55517 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
55518 if test "x$ac_cv_func_fmodf" = x""yes; then :
55519 cat >>confdefs.h <<_ACEOF
55520 #define HAVE_FMODF 1
55521 _ACEOF
55524 done
55526 else
55528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
55529 $as_echo_n "checking for _fmodf declaration... " >&6; }
55530 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
55531 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
55532 $as_echo_n "(cached) " >&6
55533 else
55536 ac_ext=cpp
55537 ac_cpp='$CXXCPP $CPPFLAGS'
55538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55543 /* end confdefs.h. */
55544 #include <math.h>
55546 main ()
55548 _fmodf(0, 0);
55550 return 0;
55552 _ACEOF
55553 if ac_fn_cxx_try_compile "$LINENO"; then :
55554 glibcxx_cv_func__fmodf_use=yes
55555 else
55556 glibcxx_cv_func__fmodf_use=no
55558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55559 ac_ext=c
55560 ac_cpp='$CPP $CPPFLAGS'
55561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
55570 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
55572 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
55573 for ac_func in _fmodf
55574 do :
55575 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
55576 if test "x$ac_cv_func__fmodf" = x""yes; then :
55577 cat >>confdefs.h <<_ACEOF
55578 #define HAVE__FMODF 1
55579 _ACEOF
55582 done
55591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
55592 $as_echo_n "checking for frexpf declaration... " >&6; }
55593 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
55594 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
55595 $as_echo_n "(cached) " >&6
55596 else
55599 ac_ext=cpp
55600 ac_cpp='$CXXCPP $CPPFLAGS'
55601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55606 /* end confdefs.h. */
55607 #include <math.h>
55609 main ()
55611 frexpf(0, 0);
55613 return 0;
55615 _ACEOF
55616 if ac_fn_cxx_try_compile "$LINENO"; then :
55617 glibcxx_cv_func_frexpf_use=yes
55618 else
55619 glibcxx_cv_func_frexpf_use=no
55621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55622 ac_ext=c
55623 ac_cpp='$CPP $CPPFLAGS'
55624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
55633 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
55635 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
55636 for ac_func in frexpf
55637 do :
55638 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
55639 if test "x$ac_cv_func_frexpf" = x""yes; then :
55640 cat >>confdefs.h <<_ACEOF
55641 #define HAVE_FREXPF 1
55642 _ACEOF
55645 done
55647 else
55649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
55650 $as_echo_n "checking for _frexpf declaration... " >&6; }
55651 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
55652 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
55653 $as_echo_n "(cached) " >&6
55654 else
55657 ac_ext=cpp
55658 ac_cpp='$CXXCPP $CPPFLAGS'
55659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55664 /* end confdefs.h. */
55665 #include <math.h>
55667 main ()
55669 _frexpf(0, 0);
55671 return 0;
55673 _ACEOF
55674 if ac_fn_cxx_try_compile "$LINENO"; then :
55675 glibcxx_cv_func__frexpf_use=yes
55676 else
55677 glibcxx_cv_func__frexpf_use=no
55679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55680 ac_ext=c
55681 ac_cpp='$CPP $CPPFLAGS'
55682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
55691 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
55693 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
55694 for ac_func in _frexpf
55695 do :
55696 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
55697 if test "x$ac_cv_func__frexpf" = x""yes; then :
55698 cat >>confdefs.h <<_ACEOF
55699 #define HAVE__FREXPF 1
55700 _ACEOF
55703 done
55712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
55713 $as_echo_n "checking for hypotf declaration... " >&6; }
55714 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
55715 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
55716 $as_echo_n "(cached) " >&6
55717 else
55720 ac_ext=cpp
55721 ac_cpp='$CXXCPP $CPPFLAGS'
55722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55727 /* end confdefs.h. */
55728 #include <math.h>
55730 main ()
55732 hypotf(0, 0);
55734 return 0;
55736 _ACEOF
55737 if ac_fn_cxx_try_compile "$LINENO"; then :
55738 glibcxx_cv_func_hypotf_use=yes
55739 else
55740 glibcxx_cv_func_hypotf_use=no
55742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55743 ac_ext=c
55744 ac_cpp='$CPP $CPPFLAGS'
55745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
55754 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
55756 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
55757 for ac_func in hypotf
55758 do :
55759 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
55760 if test "x$ac_cv_func_hypotf" = x""yes; then :
55761 cat >>confdefs.h <<_ACEOF
55762 #define HAVE_HYPOTF 1
55763 _ACEOF
55766 done
55768 else
55770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
55771 $as_echo_n "checking for _hypotf declaration... " >&6; }
55772 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
55773 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
55774 $as_echo_n "(cached) " >&6
55775 else
55778 ac_ext=cpp
55779 ac_cpp='$CXXCPP $CPPFLAGS'
55780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55785 /* end confdefs.h. */
55786 #include <math.h>
55788 main ()
55790 _hypotf(0, 0);
55792 return 0;
55794 _ACEOF
55795 if ac_fn_cxx_try_compile "$LINENO"; then :
55796 glibcxx_cv_func__hypotf_use=yes
55797 else
55798 glibcxx_cv_func__hypotf_use=no
55800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55801 ac_ext=c
55802 ac_cpp='$CPP $CPPFLAGS'
55803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
55812 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
55814 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
55815 for ac_func in _hypotf
55816 do :
55817 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
55818 if test "x$ac_cv_func__hypotf" = x""yes; then :
55819 cat >>confdefs.h <<_ACEOF
55820 #define HAVE__HYPOTF 1
55821 _ACEOF
55824 done
55833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
55834 $as_echo_n "checking for ldexpf declaration... " >&6; }
55835 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
55836 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
55837 $as_echo_n "(cached) " >&6
55838 else
55841 ac_ext=cpp
55842 ac_cpp='$CXXCPP $CPPFLAGS'
55843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55848 /* end confdefs.h. */
55849 #include <math.h>
55851 main ()
55853 ldexpf(0, 0);
55855 return 0;
55857 _ACEOF
55858 if ac_fn_cxx_try_compile "$LINENO"; then :
55859 glibcxx_cv_func_ldexpf_use=yes
55860 else
55861 glibcxx_cv_func_ldexpf_use=no
55863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55864 ac_ext=c
55865 ac_cpp='$CPP $CPPFLAGS'
55866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
55875 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
55877 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
55878 for ac_func in ldexpf
55879 do :
55880 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
55881 if test "x$ac_cv_func_ldexpf" = x""yes; then :
55882 cat >>confdefs.h <<_ACEOF
55883 #define HAVE_LDEXPF 1
55884 _ACEOF
55887 done
55889 else
55891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
55892 $as_echo_n "checking for _ldexpf declaration... " >&6; }
55893 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
55894 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
55895 $as_echo_n "(cached) " >&6
55896 else
55899 ac_ext=cpp
55900 ac_cpp='$CXXCPP $CPPFLAGS'
55901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55906 /* end confdefs.h. */
55907 #include <math.h>
55909 main ()
55911 _ldexpf(0, 0);
55913 return 0;
55915 _ACEOF
55916 if ac_fn_cxx_try_compile "$LINENO"; then :
55917 glibcxx_cv_func__ldexpf_use=yes
55918 else
55919 glibcxx_cv_func__ldexpf_use=no
55921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55922 ac_ext=c
55923 ac_cpp='$CPP $CPPFLAGS'
55924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
55933 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
55935 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
55936 for ac_func in _ldexpf
55937 do :
55938 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
55939 if test "x$ac_cv_func__ldexpf" = x""yes; then :
55940 cat >>confdefs.h <<_ACEOF
55941 #define HAVE__LDEXPF 1
55942 _ACEOF
55945 done
55954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
55955 $as_echo_n "checking for logf declaration... " >&6; }
55956 if test x${glibcxx_cv_func_logf_use+set} != xset; then
55957 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
55958 $as_echo_n "(cached) " >&6
55959 else
55962 ac_ext=cpp
55963 ac_cpp='$CXXCPP $CPPFLAGS'
55964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55969 /* end confdefs.h. */
55970 #include <math.h>
55971 #ifdef HAVE_IEEEFP_H
55972 #include <ieeefp.h>
55973 #endif
55976 main ()
55978 logf(0);
55980 return 0;
55982 _ACEOF
55983 if ac_fn_cxx_try_compile "$LINENO"; then :
55984 glibcxx_cv_func_logf_use=yes
55985 else
55986 glibcxx_cv_func_logf_use=no
55988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55989 ac_ext=c
55990 ac_cpp='$CPP $CPPFLAGS'
55991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56000 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56002 if test x$glibcxx_cv_func_logf_use = x"yes"; then
56003 for ac_func in logf
56004 do :
56005 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56006 if test "x$ac_cv_func_logf" = x""yes; then :
56007 cat >>confdefs.h <<_ACEOF
56008 #define HAVE_LOGF 1
56009 _ACEOF
56012 done
56014 else
56016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56017 $as_echo_n "checking for _logf declaration... " >&6; }
56018 if test x${glibcxx_cv_func__logf_use+set} != xset; then
56019 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
56020 $as_echo_n "(cached) " >&6
56021 else
56024 ac_ext=cpp
56025 ac_cpp='$CXXCPP $CPPFLAGS'
56026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56031 /* end confdefs.h. */
56032 #include <math.h>
56033 #ifdef HAVE_IEEEFP_H
56034 #include <ieeefp.h>
56035 #endif
56038 main ()
56040 _logf(0);
56042 return 0;
56044 _ACEOF
56045 if ac_fn_cxx_try_compile "$LINENO"; then :
56046 glibcxx_cv_func__logf_use=yes
56047 else
56048 glibcxx_cv_func__logf_use=no
56050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56051 ac_ext=c
56052 ac_cpp='$CPP $CPPFLAGS'
56053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56062 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56064 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56065 for ac_func in _logf
56066 do :
56067 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56068 if test "x$ac_cv_func__logf" = x""yes; then :
56069 cat >>confdefs.h <<_ACEOF
56070 #define HAVE__LOGF 1
56071 _ACEOF
56074 done
56083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56084 $as_echo_n "checking for log10f declaration... " >&6; }
56085 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56086 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
56087 $as_echo_n "(cached) " >&6
56088 else
56091 ac_ext=cpp
56092 ac_cpp='$CXXCPP $CPPFLAGS'
56093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56098 /* end confdefs.h. */
56099 #include <math.h>
56100 #ifdef HAVE_IEEEFP_H
56101 #include <ieeefp.h>
56102 #endif
56105 main ()
56107 log10f(0);
56109 return 0;
56111 _ACEOF
56112 if ac_fn_cxx_try_compile "$LINENO"; then :
56113 glibcxx_cv_func_log10f_use=yes
56114 else
56115 glibcxx_cv_func_log10f_use=no
56117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56118 ac_ext=c
56119 ac_cpp='$CPP $CPPFLAGS'
56120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56129 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56131 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56132 for ac_func in log10f
56133 do :
56134 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
56135 if test "x$ac_cv_func_log10f" = x""yes; then :
56136 cat >>confdefs.h <<_ACEOF
56137 #define HAVE_LOG10F 1
56138 _ACEOF
56141 done
56143 else
56145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
56146 $as_echo_n "checking for _log10f declaration... " >&6; }
56147 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
56148 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
56149 $as_echo_n "(cached) " >&6
56150 else
56153 ac_ext=cpp
56154 ac_cpp='$CXXCPP $CPPFLAGS'
56155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56160 /* end confdefs.h. */
56161 #include <math.h>
56162 #ifdef HAVE_IEEEFP_H
56163 #include <ieeefp.h>
56164 #endif
56167 main ()
56169 _log10f(0);
56171 return 0;
56173 _ACEOF
56174 if ac_fn_cxx_try_compile "$LINENO"; then :
56175 glibcxx_cv_func__log10f_use=yes
56176 else
56177 glibcxx_cv_func__log10f_use=no
56179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56180 ac_ext=c
56181 ac_cpp='$CPP $CPPFLAGS'
56182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
56191 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
56193 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
56194 for ac_func in _log10f
56195 do :
56196 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
56197 if test "x$ac_cv_func__log10f" = x""yes; then :
56198 cat >>confdefs.h <<_ACEOF
56199 #define HAVE__LOG10F 1
56200 _ACEOF
56203 done
56212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
56213 $as_echo_n "checking for modff declaration... " >&6; }
56214 if test x${glibcxx_cv_func_modff_use+set} != xset; then
56215 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
56216 $as_echo_n "(cached) " >&6
56217 else
56220 ac_ext=cpp
56221 ac_cpp='$CXXCPP $CPPFLAGS'
56222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56227 /* end confdefs.h. */
56228 #include <math.h>
56230 main ()
56232 modff(0, 0);
56234 return 0;
56236 _ACEOF
56237 if ac_fn_cxx_try_compile "$LINENO"; then :
56238 glibcxx_cv_func_modff_use=yes
56239 else
56240 glibcxx_cv_func_modff_use=no
56242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56243 ac_ext=c
56244 ac_cpp='$CPP $CPPFLAGS'
56245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
56254 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
56256 if test x$glibcxx_cv_func_modff_use = x"yes"; then
56257 for ac_func in modff
56258 do :
56259 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
56260 if test "x$ac_cv_func_modff" = x""yes; then :
56261 cat >>confdefs.h <<_ACEOF
56262 #define HAVE_MODFF 1
56263 _ACEOF
56266 done
56268 else
56270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
56271 $as_echo_n "checking for _modff declaration... " >&6; }
56272 if test x${glibcxx_cv_func__modff_use+set} != xset; then
56273 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
56274 $as_echo_n "(cached) " >&6
56275 else
56278 ac_ext=cpp
56279 ac_cpp='$CXXCPP $CPPFLAGS'
56280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56285 /* end confdefs.h. */
56286 #include <math.h>
56288 main ()
56290 _modff(0, 0);
56292 return 0;
56294 _ACEOF
56295 if ac_fn_cxx_try_compile "$LINENO"; then :
56296 glibcxx_cv_func__modff_use=yes
56297 else
56298 glibcxx_cv_func__modff_use=no
56300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56301 ac_ext=c
56302 ac_cpp='$CPP $CPPFLAGS'
56303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
56312 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
56314 if test x$glibcxx_cv_func__modff_use = x"yes"; then
56315 for ac_func in _modff
56316 do :
56317 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
56318 if test "x$ac_cv_func__modff" = x""yes; then :
56319 cat >>confdefs.h <<_ACEOF
56320 #define HAVE__MODFF 1
56321 _ACEOF
56324 done
56333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
56334 $as_echo_n "checking for modf declaration... " >&6; }
56335 if test x${glibcxx_cv_func_modf_use+set} != xset; then
56336 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
56337 $as_echo_n "(cached) " >&6
56338 else
56341 ac_ext=cpp
56342 ac_cpp='$CXXCPP $CPPFLAGS'
56343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56348 /* end confdefs.h. */
56349 #include <math.h>
56351 main ()
56353 modf(0, 0);
56355 return 0;
56357 _ACEOF
56358 if ac_fn_cxx_try_compile "$LINENO"; then :
56359 glibcxx_cv_func_modf_use=yes
56360 else
56361 glibcxx_cv_func_modf_use=no
56363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56364 ac_ext=c
56365 ac_cpp='$CPP $CPPFLAGS'
56366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
56375 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
56377 if test x$glibcxx_cv_func_modf_use = x"yes"; then
56378 for ac_func in modf
56379 do :
56380 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
56381 if test "x$ac_cv_func_modf" = x""yes; then :
56382 cat >>confdefs.h <<_ACEOF
56383 #define HAVE_MODF 1
56384 _ACEOF
56387 done
56389 else
56391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
56392 $as_echo_n "checking for _modf declaration... " >&6; }
56393 if test x${glibcxx_cv_func__modf_use+set} != xset; then
56394 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
56395 $as_echo_n "(cached) " >&6
56396 else
56399 ac_ext=cpp
56400 ac_cpp='$CXXCPP $CPPFLAGS'
56401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56406 /* end confdefs.h. */
56407 #include <math.h>
56409 main ()
56411 _modf(0, 0);
56413 return 0;
56415 _ACEOF
56416 if ac_fn_cxx_try_compile "$LINENO"; then :
56417 glibcxx_cv_func__modf_use=yes
56418 else
56419 glibcxx_cv_func__modf_use=no
56421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56422 ac_ext=c
56423 ac_cpp='$CPP $CPPFLAGS'
56424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
56433 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
56435 if test x$glibcxx_cv_func__modf_use = x"yes"; then
56436 for ac_func in _modf
56437 do :
56438 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
56439 if test "x$ac_cv_func__modf" = x""yes; then :
56440 cat >>confdefs.h <<_ACEOF
56441 #define HAVE__MODF 1
56442 _ACEOF
56445 done
56454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
56455 $as_echo_n "checking for powf declaration... " >&6; }
56456 if test x${glibcxx_cv_func_powf_use+set} != xset; then
56457 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
56458 $as_echo_n "(cached) " >&6
56459 else
56462 ac_ext=cpp
56463 ac_cpp='$CXXCPP $CPPFLAGS'
56464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56469 /* end confdefs.h. */
56470 #include <math.h>
56472 main ()
56474 powf(0, 0);
56476 return 0;
56478 _ACEOF
56479 if ac_fn_cxx_try_compile "$LINENO"; then :
56480 glibcxx_cv_func_powf_use=yes
56481 else
56482 glibcxx_cv_func_powf_use=no
56484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56485 ac_ext=c
56486 ac_cpp='$CPP $CPPFLAGS'
56487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
56496 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
56498 if test x$glibcxx_cv_func_powf_use = x"yes"; then
56499 for ac_func in powf
56500 do :
56501 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
56502 if test "x$ac_cv_func_powf" = x""yes; then :
56503 cat >>confdefs.h <<_ACEOF
56504 #define HAVE_POWF 1
56505 _ACEOF
56508 done
56510 else
56512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
56513 $as_echo_n "checking for _powf declaration... " >&6; }
56514 if test x${glibcxx_cv_func__powf_use+set} != xset; then
56515 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
56516 $as_echo_n "(cached) " >&6
56517 else
56520 ac_ext=cpp
56521 ac_cpp='$CXXCPP $CPPFLAGS'
56522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56527 /* end confdefs.h. */
56528 #include <math.h>
56530 main ()
56532 _powf(0, 0);
56534 return 0;
56536 _ACEOF
56537 if ac_fn_cxx_try_compile "$LINENO"; then :
56538 glibcxx_cv_func__powf_use=yes
56539 else
56540 glibcxx_cv_func__powf_use=no
56542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56543 ac_ext=c
56544 ac_cpp='$CPP $CPPFLAGS'
56545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
56554 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
56556 if test x$glibcxx_cv_func__powf_use = x"yes"; then
56557 for ac_func in _powf
56558 do :
56559 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
56560 if test "x$ac_cv_func__powf" = x""yes; then :
56561 cat >>confdefs.h <<_ACEOF
56562 #define HAVE__POWF 1
56563 _ACEOF
56566 done
56575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
56576 $as_echo_n "checking for sqrtf declaration... " >&6; }
56577 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
56578 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
56579 $as_echo_n "(cached) " >&6
56580 else
56583 ac_ext=cpp
56584 ac_cpp='$CXXCPP $CPPFLAGS'
56585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56590 /* end confdefs.h. */
56591 #include <math.h>
56592 #ifdef HAVE_IEEEFP_H
56593 #include <ieeefp.h>
56594 #endif
56597 main ()
56599 sqrtf(0);
56601 return 0;
56603 _ACEOF
56604 if ac_fn_cxx_try_compile "$LINENO"; then :
56605 glibcxx_cv_func_sqrtf_use=yes
56606 else
56607 glibcxx_cv_func_sqrtf_use=no
56609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56610 ac_ext=c
56611 ac_cpp='$CPP $CPPFLAGS'
56612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
56621 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
56623 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
56624 for ac_func in sqrtf
56625 do :
56626 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
56627 if test "x$ac_cv_func_sqrtf" = x""yes; then :
56628 cat >>confdefs.h <<_ACEOF
56629 #define HAVE_SQRTF 1
56630 _ACEOF
56633 done
56635 else
56637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
56638 $as_echo_n "checking for _sqrtf declaration... " >&6; }
56639 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
56640 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
56641 $as_echo_n "(cached) " >&6
56642 else
56645 ac_ext=cpp
56646 ac_cpp='$CXXCPP $CPPFLAGS'
56647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56652 /* end confdefs.h. */
56653 #include <math.h>
56654 #ifdef HAVE_IEEEFP_H
56655 #include <ieeefp.h>
56656 #endif
56659 main ()
56661 _sqrtf(0);
56663 return 0;
56665 _ACEOF
56666 if ac_fn_cxx_try_compile "$LINENO"; then :
56667 glibcxx_cv_func__sqrtf_use=yes
56668 else
56669 glibcxx_cv_func__sqrtf_use=no
56671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56672 ac_ext=c
56673 ac_cpp='$CPP $CPPFLAGS'
56674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
56683 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
56685 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
56686 for ac_func in _sqrtf
56687 do :
56688 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
56689 if test "x$ac_cv_func__sqrtf" = x""yes; then :
56690 cat >>confdefs.h <<_ACEOF
56691 #define HAVE__SQRTF 1
56692 _ACEOF
56695 done
56704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
56705 $as_echo_n "checking for sincosf declaration... " >&6; }
56706 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
56707 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
56708 $as_echo_n "(cached) " >&6
56709 else
56712 ac_ext=cpp
56713 ac_cpp='$CXXCPP $CPPFLAGS'
56714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56719 /* end confdefs.h. */
56720 #include <math.h>
56722 main ()
56724 sincosf(0, 0, 0);
56726 return 0;
56728 _ACEOF
56729 if ac_fn_cxx_try_compile "$LINENO"; then :
56730 glibcxx_cv_func_sincosf_use=yes
56731 else
56732 glibcxx_cv_func_sincosf_use=no
56734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56735 ac_ext=c
56736 ac_cpp='$CPP $CPPFLAGS'
56737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
56746 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
56748 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
56749 for ac_func in sincosf
56750 do :
56751 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
56752 if test "x$ac_cv_func_sincosf" = x""yes; then :
56753 cat >>confdefs.h <<_ACEOF
56754 #define HAVE_SINCOSF 1
56755 _ACEOF
56758 done
56760 else
56762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
56763 $as_echo_n "checking for _sincosf declaration... " >&6; }
56764 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
56765 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
56766 $as_echo_n "(cached) " >&6
56767 else
56770 ac_ext=cpp
56771 ac_cpp='$CXXCPP $CPPFLAGS'
56772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56777 /* end confdefs.h. */
56778 #include <math.h>
56780 main ()
56782 _sincosf(0, 0, 0);
56784 return 0;
56786 _ACEOF
56787 if ac_fn_cxx_try_compile "$LINENO"; then :
56788 glibcxx_cv_func__sincosf_use=yes
56789 else
56790 glibcxx_cv_func__sincosf_use=no
56792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56793 ac_ext=c
56794 ac_cpp='$CPP $CPPFLAGS'
56795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
56804 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
56806 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
56807 for ac_func in _sincosf
56808 do :
56809 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
56810 if test "x$ac_cv_func__sincosf" = x""yes; then :
56811 cat >>confdefs.h <<_ACEOF
56812 #define HAVE__SINCOSF 1
56813 _ACEOF
56816 done
56825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
56826 $as_echo_n "checking for finitef declaration... " >&6; }
56827 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
56828 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
56829 $as_echo_n "(cached) " >&6
56830 else
56833 ac_ext=cpp
56834 ac_cpp='$CXXCPP $CPPFLAGS'
56835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56840 /* end confdefs.h. */
56841 #include <math.h>
56842 #ifdef HAVE_IEEEFP_H
56843 #include <ieeefp.h>
56844 #endif
56847 main ()
56849 finitef(0);
56851 return 0;
56853 _ACEOF
56854 if ac_fn_cxx_try_compile "$LINENO"; then :
56855 glibcxx_cv_func_finitef_use=yes
56856 else
56857 glibcxx_cv_func_finitef_use=no
56859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56860 ac_ext=c
56861 ac_cpp='$CPP $CPPFLAGS'
56862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
56871 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
56873 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
56874 for ac_func in finitef
56875 do :
56876 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
56877 if test "x$ac_cv_func_finitef" = x""yes; then :
56878 cat >>confdefs.h <<_ACEOF
56879 #define HAVE_FINITEF 1
56880 _ACEOF
56883 done
56885 else
56887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
56888 $as_echo_n "checking for _finitef declaration... " >&6; }
56889 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
56890 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
56891 $as_echo_n "(cached) " >&6
56892 else
56895 ac_ext=cpp
56896 ac_cpp='$CXXCPP $CPPFLAGS'
56897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56902 /* end confdefs.h. */
56903 #include <math.h>
56904 #ifdef HAVE_IEEEFP_H
56905 #include <ieeefp.h>
56906 #endif
56909 main ()
56911 _finitef(0);
56913 return 0;
56915 _ACEOF
56916 if ac_fn_cxx_try_compile "$LINENO"; then :
56917 glibcxx_cv_func__finitef_use=yes
56918 else
56919 glibcxx_cv_func__finitef_use=no
56921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56922 ac_ext=c
56923 ac_cpp='$CPP $CPPFLAGS'
56924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
56933 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
56935 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
56936 for ac_func in _finitef
56937 do :
56938 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
56939 if test "x$ac_cv_func__finitef" = x""yes; then :
56940 cat >>confdefs.h <<_ACEOF
56941 #define HAVE__FINITEF 1
56942 _ACEOF
56945 done
56954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
56955 $as_echo_n "checking for long double trig functions... " >&6; }
56956 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
56957 $as_echo_n "(cached) " >&6
56958 else
56961 ac_ext=cpp
56962 ac_cpp='$CXXCPP $CPPFLAGS'
56963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56968 /* end confdefs.h. */
56969 #include <math.h>
56971 main ()
56973 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
56975 return 0;
56977 _ACEOF
56978 if ac_fn_cxx_try_compile "$LINENO"; then :
56979 glibcxx_cv_func_long_double_trig_use=yes
56980 else
56981 glibcxx_cv_func_long_double_trig_use=no
56983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56984 ac_ext=c
56985 ac_cpp='$CPP $CPPFLAGS'
56986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
56993 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
56994 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
56995 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
56996 do :
56997 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56998 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56999 eval as_val=\$$as_ac_var
57000 if test "x$as_val" = x""yes; then :
57001 cat >>confdefs.h <<_ACEOF
57002 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57003 _ACEOF
57006 done
57008 else
57009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57010 $as_echo_n "checking for _long double trig functions... " >&6; }
57011 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
57012 $as_echo_n "(cached) " >&6
57013 else
57016 ac_ext=cpp
57017 ac_cpp='$CXXCPP $CPPFLAGS'
57018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57023 /* end confdefs.h. */
57024 #include <math.h>
57026 main ()
57028 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57030 return 0;
57032 _ACEOF
57033 if ac_fn_cxx_try_compile "$LINENO"; then :
57034 glibcxx_cv_func__long_double_trig_use=yes
57035 else
57036 glibcxx_cv_func__long_double_trig_use=no
57038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57039 ac_ext=c
57040 ac_cpp='$CPP $CPPFLAGS'
57041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57048 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57049 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57050 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57051 do :
57052 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57053 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57054 eval as_val=\$$as_ac_var
57055 if test "x$as_val" = x""yes; then :
57056 cat >>confdefs.h <<_ACEOF
57057 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57058 _ACEOF
57061 done
57070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57071 $as_echo_n "checking for long double round functions... " >&6; }
57072 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
57073 $as_echo_n "(cached) " >&6
57074 else
57077 ac_ext=cpp
57078 ac_cpp='$CXXCPP $CPPFLAGS'
57079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57084 /* end confdefs.h. */
57085 #include <math.h>
57087 main ()
57089 ceill (0); floorl (0);
57091 return 0;
57093 _ACEOF
57094 if ac_fn_cxx_try_compile "$LINENO"; then :
57095 glibcxx_cv_func_long_double_round_use=yes
57096 else
57097 glibcxx_cv_func_long_double_round_use=no
57099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57100 ac_ext=c
57101 ac_cpp='$CPP $CPPFLAGS'
57102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57109 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57110 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57111 for ac_func in ceill floorl
57112 do :
57113 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57114 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57115 eval as_val=\$$as_ac_var
57116 if test "x$as_val" = x""yes; then :
57117 cat >>confdefs.h <<_ACEOF
57118 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57119 _ACEOF
57122 done
57124 else
57125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57126 $as_echo_n "checking for _long double round functions... " >&6; }
57127 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
57128 $as_echo_n "(cached) " >&6
57129 else
57132 ac_ext=cpp
57133 ac_cpp='$CXXCPP $CPPFLAGS'
57134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57139 /* end confdefs.h. */
57140 #include <math.h>
57142 main ()
57144 _ceill (0); _floorl (0);
57146 return 0;
57148 _ACEOF
57149 if ac_fn_cxx_try_compile "$LINENO"; then :
57150 glibcxx_cv_func__long_double_round_use=yes
57151 else
57152 glibcxx_cv_func__long_double_round_use=no
57154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57155 ac_ext=c
57156 ac_cpp='$CPP $CPPFLAGS'
57157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
57164 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
57165 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
57166 for ac_func in _ceill _floorl
57167 do :
57168 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57169 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57170 eval as_val=\$$as_ac_var
57171 if test "x$as_val" = x""yes; then :
57172 cat >>confdefs.h <<_ACEOF
57173 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57174 _ACEOF
57177 done
57187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
57188 $as_echo_n "checking for isnanl declaration... " >&6; }
57189 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
57190 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
57191 $as_echo_n "(cached) " >&6
57192 else
57195 ac_ext=cpp
57196 ac_cpp='$CXXCPP $CPPFLAGS'
57197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57202 /* end confdefs.h. */
57203 #include <math.h>
57204 #ifdef HAVE_IEEEFP_H
57205 #include <ieeefp.h>
57206 #endif
57209 main ()
57211 isnanl(0);
57213 return 0;
57215 _ACEOF
57216 if ac_fn_cxx_try_compile "$LINENO"; then :
57217 glibcxx_cv_func_isnanl_use=yes
57218 else
57219 glibcxx_cv_func_isnanl_use=no
57221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57222 ac_ext=c
57223 ac_cpp='$CPP $CPPFLAGS'
57224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
57233 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
57235 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
57236 for ac_func in isnanl
57237 do :
57238 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
57239 if test "x$ac_cv_func_isnanl" = x""yes; then :
57240 cat >>confdefs.h <<_ACEOF
57241 #define HAVE_ISNANL 1
57242 _ACEOF
57245 done
57247 else
57249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
57250 $as_echo_n "checking for _isnanl declaration... " >&6; }
57251 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
57252 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
57253 $as_echo_n "(cached) " >&6
57254 else
57257 ac_ext=cpp
57258 ac_cpp='$CXXCPP $CPPFLAGS'
57259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57264 /* end confdefs.h. */
57265 #include <math.h>
57266 #ifdef HAVE_IEEEFP_H
57267 #include <ieeefp.h>
57268 #endif
57271 main ()
57273 _isnanl(0);
57275 return 0;
57277 _ACEOF
57278 if ac_fn_cxx_try_compile "$LINENO"; then :
57279 glibcxx_cv_func__isnanl_use=yes
57280 else
57281 glibcxx_cv_func__isnanl_use=no
57283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57284 ac_ext=c
57285 ac_cpp='$CPP $CPPFLAGS'
57286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
57295 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
57297 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
57298 for ac_func in _isnanl
57299 do :
57300 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
57301 if test "x$ac_cv_func__isnanl" = x""yes; then :
57302 cat >>confdefs.h <<_ACEOF
57303 #define HAVE__ISNANL 1
57304 _ACEOF
57307 done
57316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
57317 $as_echo_n "checking for isinfl declaration... " >&6; }
57318 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
57319 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
57320 $as_echo_n "(cached) " >&6
57321 else
57324 ac_ext=cpp
57325 ac_cpp='$CXXCPP $CPPFLAGS'
57326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57331 /* end confdefs.h. */
57332 #include <math.h>
57333 #ifdef HAVE_IEEEFP_H
57334 #include <ieeefp.h>
57335 #endif
57338 main ()
57340 isinfl(0);
57342 return 0;
57344 _ACEOF
57345 if ac_fn_cxx_try_compile "$LINENO"; then :
57346 glibcxx_cv_func_isinfl_use=yes
57347 else
57348 glibcxx_cv_func_isinfl_use=no
57350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57351 ac_ext=c
57352 ac_cpp='$CPP $CPPFLAGS'
57353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
57362 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
57364 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
57365 for ac_func in isinfl
57366 do :
57367 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
57368 if test "x$ac_cv_func_isinfl" = x""yes; then :
57369 cat >>confdefs.h <<_ACEOF
57370 #define HAVE_ISINFL 1
57371 _ACEOF
57374 done
57376 else
57378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
57379 $as_echo_n "checking for _isinfl declaration... " >&6; }
57380 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
57381 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
57382 $as_echo_n "(cached) " >&6
57383 else
57386 ac_ext=cpp
57387 ac_cpp='$CXXCPP $CPPFLAGS'
57388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57393 /* end confdefs.h. */
57394 #include <math.h>
57395 #ifdef HAVE_IEEEFP_H
57396 #include <ieeefp.h>
57397 #endif
57400 main ()
57402 _isinfl(0);
57404 return 0;
57406 _ACEOF
57407 if ac_fn_cxx_try_compile "$LINENO"; then :
57408 glibcxx_cv_func__isinfl_use=yes
57409 else
57410 glibcxx_cv_func__isinfl_use=no
57412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57413 ac_ext=c
57414 ac_cpp='$CPP $CPPFLAGS'
57415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
57424 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
57426 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
57427 for ac_func in _isinfl
57428 do :
57429 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
57430 if test "x$ac_cv_func__isinfl" = x""yes; then :
57431 cat >>confdefs.h <<_ACEOF
57432 #define HAVE__ISINFL 1
57433 _ACEOF
57436 done
57445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
57446 $as_echo_n "checking for atan2l declaration... " >&6; }
57447 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
57448 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
57449 $as_echo_n "(cached) " >&6
57450 else
57453 ac_ext=cpp
57454 ac_cpp='$CXXCPP $CPPFLAGS'
57455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57460 /* end confdefs.h. */
57461 #include <math.h>
57463 main ()
57465 atan2l(0, 0);
57467 return 0;
57469 _ACEOF
57470 if ac_fn_cxx_try_compile "$LINENO"; then :
57471 glibcxx_cv_func_atan2l_use=yes
57472 else
57473 glibcxx_cv_func_atan2l_use=no
57475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57476 ac_ext=c
57477 ac_cpp='$CPP $CPPFLAGS'
57478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
57487 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
57489 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
57490 for ac_func in atan2l
57491 do :
57492 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
57493 if test "x$ac_cv_func_atan2l" = x""yes; then :
57494 cat >>confdefs.h <<_ACEOF
57495 #define HAVE_ATAN2L 1
57496 _ACEOF
57499 done
57501 else
57503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
57504 $as_echo_n "checking for _atan2l declaration... " >&6; }
57505 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
57506 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
57507 $as_echo_n "(cached) " >&6
57508 else
57511 ac_ext=cpp
57512 ac_cpp='$CXXCPP $CPPFLAGS'
57513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57518 /* end confdefs.h. */
57519 #include <math.h>
57521 main ()
57523 _atan2l(0, 0);
57525 return 0;
57527 _ACEOF
57528 if ac_fn_cxx_try_compile "$LINENO"; then :
57529 glibcxx_cv_func__atan2l_use=yes
57530 else
57531 glibcxx_cv_func__atan2l_use=no
57533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57534 ac_ext=c
57535 ac_cpp='$CPP $CPPFLAGS'
57536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
57545 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
57547 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
57548 for ac_func in _atan2l
57549 do :
57550 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
57551 if test "x$ac_cv_func__atan2l" = x""yes; then :
57552 cat >>confdefs.h <<_ACEOF
57553 #define HAVE__ATAN2L 1
57554 _ACEOF
57557 done
57566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
57567 $as_echo_n "checking for expl declaration... " >&6; }
57568 if test x${glibcxx_cv_func_expl_use+set} != xset; then
57569 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
57570 $as_echo_n "(cached) " >&6
57571 else
57574 ac_ext=cpp
57575 ac_cpp='$CXXCPP $CPPFLAGS'
57576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57581 /* end confdefs.h. */
57582 #include <math.h>
57583 #ifdef HAVE_IEEEFP_H
57584 #include <ieeefp.h>
57585 #endif
57588 main ()
57590 expl(0);
57592 return 0;
57594 _ACEOF
57595 if ac_fn_cxx_try_compile "$LINENO"; then :
57596 glibcxx_cv_func_expl_use=yes
57597 else
57598 glibcxx_cv_func_expl_use=no
57600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57601 ac_ext=c
57602 ac_cpp='$CPP $CPPFLAGS'
57603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
57612 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
57614 if test x$glibcxx_cv_func_expl_use = x"yes"; then
57615 for ac_func in expl
57616 do :
57617 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
57618 if test "x$ac_cv_func_expl" = x""yes; then :
57619 cat >>confdefs.h <<_ACEOF
57620 #define HAVE_EXPL 1
57621 _ACEOF
57624 done
57626 else
57628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
57629 $as_echo_n "checking for _expl declaration... " >&6; }
57630 if test x${glibcxx_cv_func__expl_use+set} != xset; then
57631 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
57632 $as_echo_n "(cached) " >&6
57633 else
57636 ac_ext=cpp
57637 ac_cpp='$CXXCPP $CPPFLAGS'
57638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57643 /* end confdefs.h. */
57644 #include <math.h>
57645 #ifdef HAVE_IEEEFP_H
57646 #include <ieeefp.h>
57647 #endif
57650 main ()
57652 _expl(0);
57654 return 0;
57656 _ACEOF
57657 if ac_fn_cxx_try_compile "$LINENO"; then :
57658 glibcxx_cv_func__expl_use=yes
57659 else
57660 glibcxx_cv_func__expl_use=no
57662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57663 ac_ext=c
57664 ac_cpp='$CPP $CPPFLAGS'
57665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
57674 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
57676 if test x$glibcxx_cv_func__expl_use = x"yes"; then
57677 for ac_func in _expl
57678 do :
57679 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
57680 if test "x$ac_cv_func__expl" = x""yes; then :
57681 cat >>confdefs.h <<_ACEOF
57682 #define HAVE__EXPL 1
57683 _ACEOF
57686 done
57695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
57696 $as_echo_n "checking for fabsl declaration... " >&6; }
57697 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
57698 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
57699 $as_echo_n "(cached) " >&6
57700 else
57703 ac_ext=cpp
57704 ac_cpp='$CXXCPP $CPPFLAGS'
57705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57710 /* end confdefs.h. */
57711 #include <math.h>
57712 #ifdef HAVE_IEEEFP_H
57713 #include <ieeefp.h>
57714 #endif
57717 main ()
57719 fabsl(0);
57721 return 0;
57723 _ACEOF
57724 if ac_fn_cxx_try_compile "$LINENO"; then :
57725 glibcxx_cv_func_fabsl_use=yes
57726 else
57727 glibcxx_cv_func_fabsl_use=no
57729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57730 ac_ext=c
57731 ac_cpp='$CPP $CPPFLAGS'
57732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
57741 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
57743 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
57744 for ac_func in fabsl
57745 do :
57746 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
57747 if test "x$ac_cv_func_fabsl" = x""yes; then :
57748 cat >>confdefs.h <<_ACEOF
57749 #define HAVE_FABSL 1
57750 _ACEOF
57753 done
57755 else
57757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
57758 $as_echo_n "checking for _fabsl declaration... " >&6; }
57759 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
57760 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
57761 $as_echo_n "(cached) " >&6
57762 else
57765 ac_ext=cpp
57766 ac_cpp='$CXXCPP $CPPFLAGS'
57767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57772 /* end confdefs.h. */
57773 #include <math.h>
57774 #ifdef HAVE_IEEEFP_H
57775 #include <ieeefp.h>
57776 #endif
57779 main ()
57781 _fabsl(0);
57783 return 0;
57785 _ACEOF
57786 if ac_fn_cxx_try_compile "$LINENO"; then :
57787 glibcxx_cv_func__fabsl_use=yes
57788 else
57789 glibcxx_cv_func__fabsl_use=no
57791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57792 ac_ext=c
57793 ac_cpp='$CPP $CPPFLAGS'
57794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
57803 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
57805 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
57806 for ac_func in _fabsl
57807 do :
57808 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
57809 if test "x$ac_cv_func__fabsl" = x""yes; then :
57810 cat >>confdefs.h <<_ACEOF
57811 #define HAVE__FABSL 1
57812 _ACEOF
57815 done
57824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
57825 $as_echo_n "checking for fmodl declaration... " >&6; }
57826 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
57827 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
57828 $as_echo_n "(cached) " >&6
57829 else
57832 ac_ext=cpp
57833 ac_cpp='$CXXCPP $CPPFLAGS'
57834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57839 /* end confdefs.h. */
57840 #include <math.h>
57842 main ()
57844 fmodl(0, 0);
57846 return 0;
57848 _ACEOF
57849 if ac_fn_cxx_try_compile "$LINENO"; then :
57850 glibcxx_cv_func_fmodl_use=yes
57851 else
57852 glibcxx_cv_func_fmodl_use=no
57854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57855 ac_ext=c
57856 ac_cpp='$CPP $CPPFLAGS'
57857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
57866 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
57868 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
57869 for ac_func in fmodl
57870 do :
57871 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
57872 if test "x$ac_cv_func_fmodl" = x""yes; then :
57873 cat >>confdefs.h <<_ACEOF
57874 #define HAVE_FMODL 1
57875 _ACEOF
57878 done
57880 else
57882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
57883 $as_echo_n "checking for _fmodl declaration... " >&6; }
57884 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
57885 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
57886 $as_echo_n "(cached) " >&6
57887 else
57890 ac_ext=cpp
57891 ac_cpp='$CXXCPP $CPPFLAGS'
57892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57897 /* end confdefs.h. */
57898 #include <math.h>
57900 main ()
57902 _fmodl(0, 0);
57904 return 0;
57906 _ACEOF
57907 if ac_fn_cxx_try_compile "$LINENO"; then :
57908 glibcxx_cv_func__fmodl_use=yes
57909 else
57910 glibcxx_cv_func__fmodl_use=no
57912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57913 ac_ext=c
57914 ac_cpp='$CPP $CPPFLAGS'
57915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
57924 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
57926 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
57927 for ac_func in _fmodl
57928 do :
57929 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
57930 if test "x$ac_cv_func__fmodl" = x""yes; then :
57931 cat >>confdefs.h <<_ACEOF
57932 #define HAVE__FMODL 1
57933 _ACEOF
57936 done
57945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
57946 $as_echo_n "checking for frexpl declaration... " >&6; }
57947 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
57948 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
57949 $as_echo_n "(cached) " >&6
57950 else
57953 ac_ext=cpp
57954 ac_cpp='$CXXCPP $CPPFLAGS'
57955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57960 /* end confdefs.h. */
57961 #include <math.h>
57963 main ()
57965 frexpl(0, 0);
57967 return 0;
57969 _ACEOF
57970 if ac_fn_cxx_try_compile "$LINENO"; then :
57971 glibcxx_cv_func_frexpl_use=yes
57972 else
57973 glibcxx_cv_func_frexpl_use=no
57975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57976 ac_ext=c
57977 ac_cpp='$CPP $CPPFLAGS'
57978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
57987 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
57989 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57990 for ac_func in frexpl
57991 do :
57992 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
57993 if test "x$ac_cv_func_frexpl" = x""yes; then :
57994 cat >>confdefs.h <<_ACEOF
57995 #define HAVE_FREXPL 1
57996 _ACEOF
57999 done
58001 else
58003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58004 $as_echo_n "checking for _frexpl declaration... " >&6; }
58005 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58006 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
58007 $as_echo_n "(cached) " >&6
58008 else
58011 ac_ext=cpp
58012 ac_cpp='$CXXCPP $CPPFLAGS'
58013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58018 /* end confdefs.h. */
58019 #include <math.h>
58021 main ()
58023 _frexpl(0, 0);
58025 return 0;
58027 _ACEOF
58028 if ac_fn_cxx_try_compile "$LINENO"; then :
58029 glibcxx_cv_func__frexpl_use=yes
58030 else
58031 glibcxx_cv_func__frexpl_use=no
58033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58034 ac_ext=c
58035 ac_cpp='$CPP $CPPFLAGS'
58036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58045 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58047 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58048 for ac_func in _frexpl
58049 do :
58050 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58051 if test "x$ac_cv_func__frexpl" = x""yes; then :
58052 cat >>confdefs.h <<_ACEOF
58053 #define HAVE__FREXPL 1
58054 _ACEOF
58057 done
58066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58067 $as_echo_n "checking for hypotl declaration... " >&6; }
58068 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58069 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
58070 $as_echo_n "(cached) " >&6
58071 else
58074 ac_ext=cpp
58075 ac_cpp='$CXXCPP $CPPFLAGS'
58076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58081 /* end confdefs.h. */
58082 #include <math.h>
58084 main ()
58086 hypotl(0, 0);
58088 return 0;
58090 _ACEOF
58091 if ac_fn_cxx_try_compile "$LINENO"; then :
58092 glibcxx_cv_func_hypotl_use=yes
58093 else
58094 glibcxx_cv_func_hypotl_use=no
58096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58097 ac_ext=c
58098 ac_cpp='$CPP $CPPFLAGS'
58099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58108 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58110 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58111 for ac_func in hypotl
58112 do :
58113 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58114 if test "x$ac_cv_func_hypotl" = x""yes; then :
58115 cat >>confdefs.h <<_ACEOF
58116 #define HAVE_HYPOTL 1
58117 _ACEOF
58120 done
58122 else
58124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58125 $as_echo_n "checking for _hypotl declaration... " >&6; }
58126 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58127 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
58128 $as_echo_n "(cached) " >&6
58129 else
58132 ac_ext=cpp
58133 ac_cpp='$CXXCPP $CPPFLAGS'
58134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58139 /* end confdefs.h. */
58140 #include <math.h>
58142 main ()
58144 _hypotl(0, 0);
58146 return 0;
58148 _ACEOF
58149 if ac_fn_cxx_try_compile "$LINENO"; then :
58150 glibcxx_cv_func__hypotl_use=yes
58151 else
58152 glibcxx_cv_func__hypotl_use=no
58154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58155 ac_ext=c
58156 ac_cpp='$CPP $CPPFLAGS'
58157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
58166 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
58168 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58169 for ac_func in _hypotl
58170 do :
58171 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
58172 if test "x$ac_cv_func__hypotl" = x""yes; then :
58173 cat >>confdefs.h <<_ACEOF
58174 #define HAVE__HYPOTL 1
58175 _ACEOF
58178 done
58187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
58188 $as_echo_n "checking for ldexpl declaration... " >&6; }
58189 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58190 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
58191 $as_echo_n "(cached) " >&6
58192 else
58195 ac_ext=cpp
58196 ac_cpp='$CXXCPP $CPPFLAGS'
58197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58202 /* end confdefs.h. */
58203 #include <math.h>
58205 main ()
58207 ldexpl(0, 0);
58209 return 0;
58211 _ACEOF
58212 if ac_fn_cxx_try_compile "$LINENO"; then :
58213 glibcxx_cv_func_ldexpl_use=yes
58214 else
58215 glibcxx_cv_func_ldexpl_use=no
58217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58218 ac_ext=c
58219 ac_cpp='$CPP $CPPFLAGS'
58220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
58229 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
58231 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58232 for ac_func in ldexpl
58233 do :
58234 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
58235 if test "x$ac_cv_func_ldexpl" = x""yes; then :
58236 cat >>confdefs.h <<_ACEOF
58237 #define HAVE_LDEXPL 1
58238 _ACEOF
58241 done
58243 else
58245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
58246 $as_echo_n "checking for _ldexpl declaration... " >&6; }
58247 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58248 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
58249 $as_echo_n "(cached) " >&6
58250 else
58253 ac_ext=cpp
58254 ac_cpp='$CXXCPP $CPPFLAGS'
58255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58260 /* end confdefs.h. */
58261 #include <math.h>
58263 main ()
58265 _ldexpl(0, 0);
58267 return 0;
58269 _ACEOF
58270 if ac_fn_cxx_try_compile "$LINENO"; then :
58271 glibcxx_cv_func__ldexpl_use=yes
58272 else
58273 glibcxx_cv_func__ldexpl_use=no
58275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58276 ac_ext=c
58277 ac_cpp='$CPP $CPPFLAGS'
58278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
58287 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
58289 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58290 for ac_func in _ldexpl
58291 do :
58292 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
58293 if test "x$ac_cv_func__ldexpl" = x""yes; then :
58294 cat >>confdefs.h <<_ACEOF
58295 #define HAVE__LDEXPL 1
58296 _ACEOF
58299 done
58308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
58309 $as_echo_n "checking for logl declaration... " >&6; }
58310 if test x${glibcxx_cv_func_logl_use+set} != xset; then
58311 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
58312 $as_echo_n "(cached) " >&6
58313 else
58316 ac_ext=cpp
58317 ac_cpp='$CXXCPP $CPPFLAGS'
58318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58323 /* end confdefs.h. */
58324 #include <math.h>
58325 #ifdef HAVE_IEEEFP_H
58326 #include <ieeefp.h>
58327 #endif
58330 main ()
58332 logl(0);
58334 return 0;
58336 _ACEOF
58337 if ac_fn_cxx_try_compile "$LINENO"; then :
58338 glibcxx_cv_func_logl_use=yes
58339 else
58340 glibcxx_cv_func_logl_use=no
58342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58343 ac_ext=c
58344 ac_cpp='$CPP $CPPFLAGS'
58345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
58354 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
58356 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58357 for ac_func in logl
58358 do :
58359 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
58360 if test "x$ac_cv_func_logl" = x""yes; then :
58361 cat >>confdefs.h <<_ACEOF
58362 #define HAVE_LOGL 1
58363 _ACEOF
58366 done
58368 else
58370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
58371 $as_echo_n "checking for _logl declaration... " >&6; }
58372 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58373 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
58374 $as_echo_n "(cached) " >&6
58375 else
58378 ac_ext=cpp
58379 ac_cpp='$CXXCPP $CPPFLAGS'
58380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58385 /* end confdefs.h. */
58386 #include <math.h>
58387 #ifdef HAVE_IEEEFP_H
58388 #include <ieeefp.h>
58389 #endif
58392 main ()
58394 _logl(0);
58396 return 0;
58398 _ACEOF
58399 if ac_fn_cxx_try_compile "$LINENO"; then :
58400 glibcxx_cv_func__logl_use=yes
58401 else
58402 glibcxx_cv_func__logl_use=no
58404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58405 ac_ext=c
58406 ac_cpp='$CPP $CPPFLAGS'
58407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
58416 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
58418 if test x$glibcxx_cv_func__logl_use = x"yes"; then
58419 for ac_func in _logl
58420 do :
58421 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
58422 if test "x$ac_cv_func__logl" = x""yes; then :
58423 cat >>confdefs.h <<_ACEOF
58424 #define HAVE__LOGL 1
58425 _ACEOF
58428 done
58437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
58438 $as_echo_n "checking for log10l declaration... " >&6; }
58439 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58440 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
58441 $as_echo_n "(cached) " >&6
58442 else
58445 ac_ext=cpp
58446 ac_cpp='$CXXCPP $CPPFLAGS'
58447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58452 /* end confdefs.h. */
58453 #include <math.h>
58454 #ifdef HAVE_IEEEFP_H
58455 #include <ieeefp.h>
58456 #endif
58459 main ()
58461 log10l(0);
58463 return 0;
58465 _ACEOF
58466 if ac_fn_cxx_try_compile "$LINENO"; then :
58467 glibcxx_cv_func_log10l_use=yes
58468 else
58469 glibcxx_cv_func_log10l_use=no
58471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58472 ac_ext=c
58473 ac_cpp='$CPP $CPPFLAGS'
58474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
58483 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
58485 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58486 for ac_func in log10l
58487 do :
58488 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
58489 if test "x$ac_cv_func_log10l" = x""yes; then :
58490 cat >>confdefs.h <<_ACEOF
58491 #define HAVE_LOG10L 1
58492 _ACEOF
58495 done
58497 else
58499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
58500 $as_echo_n "checking for _log10l declaration... " >&6; }
58501 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58502 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
58503 $as_echo_n "(cached) " >&6
58504 else
58507 ac_ext=cpp
58508 ac_cpp='$CXXCPP $CPPFLAGS'
58509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58514 /* end confdefs.h. */
58515 #include <math.h>
58516 #ifdef HAVE_IEEEFP_H
58517 #include <ieeefp.h>
58518 #endif
58521 main ()
58523 _log10l(0);
58525 return 0;
58527 _ACEOF
58528 if ac_fn_cxx_try_compile "$LINENO"; then :
58529 glibcxx_cv_func__log10l_use=yes
58530 else
58531 glibcxx_cv_func__log10l_use=no
58533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58534 ac_ext=c
58535 ac_cpp='$CPP $CPPFLAGS'
58536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
58545 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
58547 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58548 for ac_func in _log10l
58549 do :
58550 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
58551 if test "x$ac_cv_func__log10l" = x""yes; then :
58552 cat >>confdefs.h <<_ACEOF
58553 #define HAVE__LOG10L 1
58554 _ACEOF
58557 done
58566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
58567 $as_echo_n "checking for modfl declaration... " >&6; }
58568 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58569 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
58570 $as_echo_n "(cached) " >&6
58571 else
58574 ac_ext=cpp
58575 ac_cpp='$CXXCPP $CPPFLAGS'
58576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58581 /* end confdefs.h. */
58582 #include <math.h>
58584 main ()
58586 modfl(0, 0);
58588 return 0;
58590 _ACEOF
58591 if ac_fn_cxx_try_compile "$LINENO"; then :
58592 glibcxx_cv_func_modfl_use=yes
58593 else
58594 glibcxx_cv_func_modfl_use=no
58596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58597 ac_ext=c
58598 ac_cpp='$CPP $CPPFLAGS'
58599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
58608 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
58610 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
58611 for ac_func in modfl
58612 do :
58613 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
58614 if test "x$ac_cv_func_modfl" = x""yes; then :
58615 cat >>confdefs.h <<_ACEOF
58616 #define HAVE_MODFL 1
58617 _ACEOF
58620 done
58622 else
58624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
58625 $as_echo_n "checking for _modfl declaration... " >&6; }
58626 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
58627 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
58628 $as_echo_n "(cached) " >&6
58629 else
58632 ac_ext=cpp
58633 ac_cpp='$CXXCPP $CPPFLAGS'
58634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58639 /* end confdefs.h. */
58640 #include <math.h>
58642 main ()
58644 _modfl(0, 0);
58646 return 0;
58648 _ACEOF
58649 if ac_fn_cxx_try_compile "$LINENO"; then :
58650 glibcxx_cv_func__modfl_use=yes
58651 else
58652 glibcxx_cv_func__modfl_use=no
58654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58655 ac_ext=c
58656 ac_cpp='$CPP $CPPFLAGS'
58657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
58666 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
58668 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
58669 for ac_func in _modfl
58670 do :
58671 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
58672 if test "x$ac_cv_func__modfl" = x""yes; then :
58673 cat >>confdefs.h <<_ACEOF
58674 #define HAVE__MODFL 1
58675 _ACEOF
58678 done
58687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
58688 $as_echo_n "checking for powl declaration... " >&6; }
58689 if test x${glibcxx_cv_func_powl_use+set} != xset; then
58690 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
58691 $as_echo_n "(cached) " >&6
58692 else
58695 ac_ext=cpp
58696 ac_cpp='$CXXCPP $CPPFLAGS'
58697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58702 /* end confdefs.h. */
58703 #include <math.h>
58705 main ()
58707 powl(0, 0);
58709 return 0;
58711 _ACEOF
58712 if ac_fn_cxx_try_compile "$LINENO"; then :
58713 glibcxx_cv_func_powl_use=yes
58714 else
58715 glibcxx_cv_func_powl_use=no
58717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58718 ac_ext=c
58719 ac_cpp='$CPP $CPPFLAGS'
58720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
58729 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
58731 if test x$glibcxx_cv_func_powl_use = x"yes"; then
58732 for ac_func in powl
58733 do :
58734 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
58735 if test "x$ac_cv_func_powl" = x""yes; then :
58736 cat >>confdefs.h <<_ACEOF
58737 #define HAVE_POWL 1
58738 _ACEOF
58741 done
58743 else
58745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
58746 $as_echo_n "checking for _powl declaration... " >&6; }
58747 if test x${glibcxx_cv_func__powl_use+set} != xset; then
58748 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
58749 $as_echo_n "(cached) " >&6
58750 else
58753 ac_ext=cpp
58754 ac_cpp='$CXXCPP $CPPFLAGS'
58755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58760 /* end confdefs.h. */
58761 #include <math.h>
58763 main ()
58765 _powl(0, 0);
58767 return 0;
58769 _ACEOF
58770 if ac_fn_cxx_try_compile "$LINENO"; then :
58771 glibcxx_cv_func__powl_use=yes
58772 else
58773 glibcxx_cv_func__powl_use=no
58775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58776 ac_ext=c
58777 ac_cpp='$CPP $CPPFLAGS'
58778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
58787 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
58789 if test x$glibcxx_cv_func__powl_use = x"yes"; then
58790 for ac_func in _powl
58791 do :
58792 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
58793 if test "x$ac_cv_func__powl" = x""yes; then :
58794 cat >>confdefs.h <<_ACEOF
58795 #define HAVE__POWL 1
58796 _ACEOF
58799 done
58808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
58809 $as_echo_n "checking for sqrtl declaration... " >&6; }
58810 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
58811 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
58812 $as_echo_n "(cached) " >&6
58813 else
58816 ac_ext=cpp
58817 ac_cpp='$CXXCPP $CPPFLAGS'
58818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58823 /* end confdefs.h. */
58824 #include <math.h>
58825 #ifdef HAVE_IEEEFP_H
58826 #include <ieeefp.h>
58827 #endif
58830 main ()
58832 sqrtl(0);
58834 return 0;
58836 _ACEOF
58837 if ac_fn_cxx_try_compile "$LINENO"; then :
58838 glibcxx_cv_func_sqrtl_use=yes
58839 else
58840 glibcxx_cv_func_sqrtl_use=no
58842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58843 ac_ext=c
58844 ac_cpp='$CPP $CPPFLAGS'
58845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
58854 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
58856 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
58857 for ac_func in sqrtl
58858 do :
58859 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
58860 if test "x$ac_cv_func_sqrtl" = x""yes; then :
58861 cat >>confdefs.h <<_ACEOF
58862 #define HAVE_SQRTL 1
58863 _ACEOF
58866 done
58868 else
58870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
58871 $as_echo_n "checking for _sqrtl declaration... " >&6; }
58872 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
58873 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
58874 $as_echo_n "(cached) " >&6
58875 else
58878 ac_ext=cpp
58879 ac_cpp='$CXXCPP $CPPFLAGS'
58880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58885 /* end confdefs.h. */
58886 #include <math.h>
58887 #ifdef HAVE_IEEEFP_H
58888 #include <ieeefp.h>
58889 #endif
58892 main ()
58894 _sqrtl(0);
58896 return 0;
58898 _ACEOF
58899 if ac_fn_cxx_try_compile "$LINENO"; then :
58900 glibcxx_cv_func__sqrtl_use=yes
58901 else
58902 glibcxx_cv_func__sqrtl_use=no
58904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58905 ac_ext=c
58906 ac_cpp='$CPP $CPPFLAGS'
58907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
58916 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
58918 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
58919 for ac_func in _sqrtl
58920 do :
58921 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
58922 if test "x$ac_cv_func__sqrtl" = x""yes; then :
58923 cat >>confdefs.h <<_ACEOF
58924 #define HAVE__SQRTL 1
58925 _ACEOF
58928 done
58937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
58938 $as_echo_n "checking for sincosl declaration... " >&6; }
58939 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
58940 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
58941 $as_echo_n "(cached) " >&6
58942 else
58945 ac_ext=cpp
58946 ac_cpp='$CXXCPP $CPPFLAGS'
58947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58952 /* end confdefs.h. */
58953 #include <math.h>
58955 main ()
58957 sincosl(0, 0, 0);
58959 return 0;
58961 _ACEOF
58962 if ac_fn_cxx_try_compile "$LINENO"; then :
58963 glibcxx_cv_func_sincosl_use=yes
58964 else
58965 glibcxx_cv_func_sincosl_use=no
58967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58968 ac_ext=c
58969 ac_cpp='$CPP $CPPFLAGS'
58970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
58979 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
58981 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
58982 for ac_func in sincosl
58983 do :
58984 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
58985 if test "x$ac_cv_func_sincosl" = x""yes; then :
58986 cat >>confdefs.h <<_ACEOF
58987 #define HAVE_SINCOSL 1
58988 _ACEOF
58991 done
58993 else
58995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
58996 $as_echo_n "checking for _sincosl declaration... " >&6; }
58997 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58998 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
58999 $as_echo_n "(cached) " >&6
59000 else
59003 ac_ext=cpp
59004 ac_cpp='$CXXCPP $CPPFLAGS'
59005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59010 /* end confdefs.h. */
59011 #include <math.h>
59013 main ()
59015 _sincosl(0, 0, 0);
59017 return 0;
59019 _ACEOF
59020 if ac_fn_cxx_try_compile "$LINENO"; then :
59021 glibcxx_cv_func__sincosl_use=yes
59022 else
59023 glibcxx_cv_func__sincosl_use=no
59025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59026 ac_ext=c
59027 ac_cpp='$CPP $CPPFLAGS'
59028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59037 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59039 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59040 for ac_func in _sincosl
59041 do :
59042 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59043 if test "x$ac_cv_func__sincosl" = x""yes; then :
59044 cat >>confdefs.h <<_ACEOF
59045 #define HAVE__SINCOSL 1
59046 _ACEOF
59049 done
59058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59059 $as_echo_n "checking for finitel declaration... " >&6; }
59060 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59061 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
59062 $as_echo_n "(cached) " >&6
59063 else
59066 ac_ext=cpp
59067 ac_cpp='$CXXCPP $CPPFLAGS'
59068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59073 /* end confdefs.h. */
59074 #include <math.h>
59075 #ifdef HAVE_IEEEFP_H
59076 #include <ieeefp.h>
59077 #endif
59080 main ()
59082 finitel(0);
59084 return 0;
59086 _ACEOF
59087 if ac_fn_cxx_try_compile "$LINENO"; then :
59088 glibcxx_cv_func_finitel_use=yes
59089 else
59090 glibcxx_cv_func_finitel_use=no
59092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59093 ac_ext=c
59094 ac_cpp='$CPP $CPPFLAGS'
59095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59104 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59106 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59107 for ac_func in finitel
59108 do :
59109 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59110 if test "x$ac_cv_func_finitel" = x""yes; then :
59111 cat >>confdefs.h <<_ACEOF
59112 #define HAVE_FINITEL 1
59113 _ACEOF
59116 done
59118 else
59120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59121 $as_echo_n "checking for _finitel declaration... " >&6; }
59122 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59123 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
59124 $as_echo_n "(cached) " >&6
59125 else
59128 ac_ext=cpp
59129 ac_cpp='$CXXCPP $CPPFLAGS'
59130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59135 /* end confdefs.h. */
59136 #include <math.h>
59137 #ifdef HAVE_IEEEFP_H
59138 #include <ieeefp.h>
59139 #endif
59142 main ()
59144 _finitel(0);
59146 return 0;
59148 _ACEOF
59149 if ac_fn_cxx_try_compile "$LINENO"; then :
59150 glibcxx_cv_func__finitel_use=yes
59151 else
59152 glibcxx_cv_func__finitel_use=no
59154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59155 ac_ext=c
59156 ac_cpp='$CPP $CPPFLAGS'
59157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
59166 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
59168 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59169 for ac_func in _finitel
59170 do :
59171 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
59172 if test "x$ac_cv_func__finitel" = x""yes; then :
59173 cat >>confdefs.h <<_ACEOF
59174 #define HAVE__FINITEL 1
59175 _ACEOF
59178 done
59186 LIBS="$ac_save_LIBS"
59187 CXXFLAGS="$ac_save_CXXFLAGS"
59190 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59191 ac_save_CXXFLAGS="$CXXFLAGS"
59192 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
59196 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
59197 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
59198 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
59199 $as_echo_n "(cached) " >&6
59200 else
59203 ac_ext=cpp
59204 ac_cpp='$CXXCPP $CPPFLAGS'
59205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59210 /* end confdefs.h. */
59211 #include <stdlib.h>
59213 main ()
59215 at_quick_exit(0);
59217 return 0;
59219 _ACEOF
59220 if ac_fn_cxx_try_compile "$LINENO"; then :
59221 glibcxx_cv_func_at_quick_exit_use=yes
59222 else
59223 glibcxx_cv_func_at_quick_exit_use=no
59225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59226 ac_ext=c
59227 ac_cpp='$CPP $CPPFLAGS'
59228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
59237 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
59238 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
59239 for ac_func in at_quick_exit
59240 do :
59241 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
59242 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
59243 cat >>confdefs.h <<_ACEOF
59244 #define HAVE_AT_QUICK_EXIT 1
59245 _ACEOF
59248 done
59253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
59254 $as_echo_n "checking for quick_exit declaration... " >&6; }
59255 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
59256 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
59257 $as_echo_n "(cached) " >&6
59258 else
59261 ac_ext=cpp
59262 ac_cpp='$CXXCPP $CPPFLAGS'
59263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59268 /* end confdefs.h. */
59269 #include <stdlib.h>
59271 main ()
59273 quick_exit(0);
59275 return 0;
59277 _ACEOF
59278 if ac_fn_cxx_try_compile "$LINENO"; then :
59279 glibcxx_cv_func_quick_exit_use=yes
59280 else
59281 glibcxx_cv_func_quick_exit_use=no
59283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59284 ac_ext=c
59285 ac_cpp='$CPP $CPPFLAGS'
59286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
59295 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
59296 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
59297 for ac_func in quick_exit
59298 do :
59299 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
59300 if test "x$ac_cv_func_quick_exit" = x""yes; then :
59301 cat >>confdefs.h <<_ACEOF
59302 #define HAVE_QUICK_EXIT 1
59303 _ACEOF
59306 done
59311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
59312 $as_echo_n "checking for strtold declaration... " >&6; }
59313 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
59314 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
59315 $as_echo_n "(cached) " >&6
59316 else
59319 ac_ext=cpp
59320 ac_cpp='$CXXCPP $CPPFLAGS'
59321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59326 /* end confdefs.h. */
59327 #include <stdlib.h>
59329 main ()
59331 strtold(0, 0);
59333 return 0;
59335 _ACEOF
59336 if ac_fn_cxx_try_compile "$LINENO"; then :
59337 glibcxx_cv_func_strtold_use=yes
59338 else
59339 glibcxx_cv_func_strtold_use=no
59341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59342 ac_ext=c
59343 ac_cpp='$CPP $CPPFLAGS'
59344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
59353 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
59354 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
59355 for ac_func in strtold
59356 do :
59357 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
59358 if test "x$ac_cv_func_strtold" = x""yes; then :
59359 cat >>confdefs.h <<_ACEOF
59360 #define HAVE_STRTOLD 1
59361 _ACEOF
59364 done
59371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
59372 $as_echo_n "checking for strtof declaration... " >&6; }
59373 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
59374 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
59375 $as_echo_n "(cached) " >&6
59376 else
59379 ac_ext=cpp
59380 ac_cpp='$CXXCPP $CPPFLAGS'
59381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59386 /* end confdefs.h. */
59387 #include <stdlib.h>
59389 main ()
59391 strtof(0, 0);
59393 return 0;
59395 _ACEOF
59396 if ac_fn_cxx_try_compile "$LINENO"; then :
59397 glibcxx_cv_func_strtof_use=yes
59398 else
59399 glibcxx_cv_func_strtof_use=no
59401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59402 ac_ext=c
59403 ac_cpp='$CPP $CPPFLAGS'
59404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
59413 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
59414 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
59415 for ac_func in strtof
59416 do :
59417 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
59418 if test "x$ac_cv_func_strtof" = x""yes; then :
59419 cat >>confdefs.h <<_ACEOF
59420 #define HAVE_STRTOF 1
59421 _ACEOF
59424 done
59431 CXXFLAGS="$ac_save_CXXFLAGS"
59433 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
59437 # Check whether --enable-tls was given.
59438 if test "${enable_tls+set}" = set; then :
59439 enableval=$enable_tls;
59440 case "$enableval" in
59441 yes|no) ;;
59442 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
59443 esac
59445 else
59446 enable_tls=yes
59450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
59451 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
59452 if test "${gcc_cv_have_tls+set}" = set; then :
59453 $as_echo_n "(cached) " >&6
59454 else
59456 if test "$cross_compiling" = yes; then :
59457 if test x$gcc_no_link = xyes; then
59458 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59461 /* end confdefs.h. */
59462 __thread int a; int b; int main() { return a = b; }
59463 _ACEOF
59464 if ac_fn_c_try_link "$LINENO"; then :
59465 chktls_save_LDFLAGS="$LDFLAGS"
59466 case $host in
59467 *-*-linux*)
59468 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
59470 esac
59471 chktls_save_CFLAGS="$CFLAGS"
59472 CFLAGS="-fPIC $CFLAGS"
59473 if test x$gcc_no_link = xyes; then
59474 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59477 /* end confdefs.h. */
59478 int f() { return 0; }
59479 _ACEOF
59480 if ac_fn_c_try_link "$LINENO"; then :
59481 if test x$gcc_no_link = xyes; then
59482 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59485 /* end confdefs.h. */
59486 __thread int a; int b; int f() { return a = b; }
59487 _ACEOF
59488 if ac_fn_c_try_link "$LINENO"; then :
59489 gcc_cv_have_tls=yes
59490 else
59491 gcc_cv_have_tls=no
59493 rm -f core conftest.err conftest.$ac_objext \
59494 conftest$ac_exeext conftest.$ac_ext
59495 else
59496 gcc_cv_have_tls=yes
59498 rm -f core conftest.err conftest.$ac_objext \
59499 conftest$ac_exeext conftest.$ac_ext
59500 CFLAGS="$chktls_save_CFLAGS"
59501 LDFLAGS="$chktls_save_LDFLAGS"
59502 else
59503 gcc_cv_have_tls=no
59505 rm -f core conftest.err conftest.$ac_objext \
59506 conftest$ac_exeext conftest.$ac_ext
59509 else
59510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59511 /* end confdefs.h. */
59512 __thread int a; int b; int main() { return a = b; }
59513 _ACEOF
59514 if ac_fn_c_try_run "$LINENO"; then :
59515 chktls_save_LDFLAGS="$LDFLAGS"
59516 LDFLAGS="-static $LDFLAGS"
59517 if test x$gcc_no_link = xyes; then
59518 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59521 /* end confdefs.h. */
59522 int main() { return 0; }
59523 _ACEOF
59524 if ac_fn_c_try_link "$LINENO"; then :
59525 if test "$cross_compiling" = yes; then :
59526 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59527 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59528 as_fn_error "cannot run test program while cross compiling
59529 See \`config.log' for more details." "$LINENO" 5; }
59530 else
59531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59532 /* end confdefs.h. */
59533 __thread int a; int b; int main() { return a = b; }
59534 _ACEOF
59535 if ac_fn_c_try_run "$LINENO"; then :
59536 gcc_cv_have_tls=yes
59537 else
59538 gcc_cv_have_tls=no
59540 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59541 conftest.$ac_objext conftest.beam conftest.$ac_ext
59544 else
59545 gcc_cv_have_tls=yes
59547 rm -f core conftest.err conftest.$ac_objext \
59548 conftest$ac_exeext conftest.$ac_ext
59549 LDFLAGS="$chktls_save_LDFLAGS"
59550 if test $gcc_cv_have_tls = yes; then
59551 chktls_save_CFLAGS="$CFLAGS"
59552 thread_CFLAGS=failed
59553 for flag in '' '-pthread' '-lpthread'; do
59554 CFLAGS="$flag $chktls_save_CFLAGS"
59555 if test x$gcc_no_link = xyes; then
59556 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59559 /* end confdefs.h. */
59560 #include <pthread.h>
59561 void *g(void *d) { return NULL; }
59563 main ()
59565 pthread_t t; pthread_create(&t,NULL,g,NULL);
59567 return 0;
59569 _ACEOF
59570 if ac_fn_c_try_link "$LINENO"; then :
59571 thread_CFLAGS="$flag"
59573 rm -f core conftest.err conftest.$ac_objext \
59574 conftest$ac_exeext conftest.$ac_ext
59575 if test "X$thread_CFLAGS" != Xfailed; then
59576 break
59578 done
59579 CFLAGS="$chktls_save_CFLAGS"
59580 if test "X$thread_CFLAGS" != Xfailed; then
59581 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
59582 if test "$cross_compiling" = yes; then :
59583 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59584 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59585 as_fn_error "cannot run test program while cross compiling
59586 See \`config.log' for more details." "$LINENO" 5; }
59587 else
59588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59589 /* end confdefs.h. */
59590 #include <pthread.h>
59591 __thread int a;
59592 static int *volatile a_in_other_thread;
59593 static void *
59594 thread_func (void *arg)
59596 a_in_other_thread = &a;
59597 return (void *)0;
59600 main ()
59602 pthread_t thread;
59603 void *thread_retval;
59604 int *volatile a_in_main_thread;
59605 a_in_main_thread = &a;
59606 if (pthread_create (&thread, (pthread_attr_t *)0,
59607 thread_func, (void *)0))
59608 return 0;
59609 if (pthread_join (thread, &thread_retval))
59610 return 0;
59611 return (a_in_other_thread == a_in_main_thread);
59613 return 0;
59615 _ACEOF
59616 if ac_fn_c_try_run "$LINENO"; then :
59617 gcc_cv_have_tls=yes
59618 else
59619 gcc_cv_have_tls=no
59621 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59622 conftest.$ac_objext conftest.beam conftest.$ac_ext
59625 CFLAGS="$chktls_save_CFLAGS"
59628 else
59629 gcc_cv_have_tls=no
59631 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59632 conftest.$ac_objext conftest.beam conftest.$ac_ext
59636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
59637 $as_echo "$gcc_cv_have_tls" >&6; }
59638 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
59640 $as_echo "#define HAVE_TLS 1" >>confdefs.h
59643 for ac_func in __cxa_thread_atexit_impl
59644 do :
59645 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
59646 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
59647 cat >>confdefs.h <<_ACEOF
59648 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
59649 _ACEOF
59652 done
59659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
59660 $as_echo_n "checking for iconv... " >&6; }
59661 if test "${am_cv_func_iconv+set}" = set; then :
59662 $as_echo_n "(cached) " >&6
59663 else
59665 am_cv_func_iconv="no, consider installing GNU libiconv"
59666 am_cv_lib_iconv=no
59667 am_save_CPPFLAGS="$CPPFLAGS"
59668 CPPFLAGS="$CPPFLAGS $INCICONV"
59669 if test x$gcc_no_link = xyes; then
59670 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59673 /* end confdefs.h. */
59674 #include <stdlib.h>
59675 #include <iconv.h>
59677 main ()
59679 iconv_t cd = iconv_open("","");
59680 iconv(cd,NULL,NULL,NULL,NULL);
59681 iconv_close(cd);
59683 return 0;
59685 _ACEOF
59686 if ac_fn_c_try_link "$LINENO"; then :
59687 am_cv_func_iconv=yes
59689 rm -f core conftest.err conftest.$ac_objext \
59690 conftest$ac_exeext conftest.$ac_ext
59691 CPPFLAGS="$am_save_CPPFLAGS"
59693 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
59694 for _libs in .libs _libs; do
59695 am_save_CPPFLAGS="$CPPFLAGS"
59696 am_save_LIBS="$LIBS"
59697 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
59698 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
59699 if test x$gcc_no_link = xyes; then
59700 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59703 /* end confdefs.h. */
59704 #include <stdlib.h>
59705 #include <iconv.h>
59707 main ()
59709 iconv_t cd = iconv_open("","");
59710 iconv(cd,NULL,NULL,NULL,NULL);
59711 iconv_close(cd);
59713 return 0;
59715 _ACEOF
59716 if ac_fn_c_try_link "$LINENO"; then :
59717 INCICONV="-I../libiconv/include"
59718 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
59719 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
59720 am_cv_lib_iconv=yes
59721 am_cv_func_iconv=yes
59723 rm -f core conftest.err conftest.$ac_objext \
59724 conftest$ac_exeext conftest.$ac_ext
59725 CPPFLAGS="$am_save_CPPFLAGS"
59726 LIBS="$am_save_LIBS"
59727 if test "$am_cv_func_iconv" = "yes"; then
59728 break
59730 done
59733 if test "$am_cv_func_iconv" != yes; then
59734 am_save_CPPFLAGS="$CPPFLAGS"
59735 am_save_LIBS="$LIBS"
59736 CPPFLAGS="$LIBS $INCICONV"
59737 LIBS="$LIBS $LIBICONV"
59738 if test x$gcc_no_link = xyes; then
59739 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59742 /* end confdefs.h. */
59743 #include <stdlib.h>
59744 #include <iconv.h>
59746 main ()
59748 iconv_t cd = iconv_open("","");
59749 iconv(cd,NULL,NULL,NULL,NULL);
59750 iconv_close(cd);
59752 return 0;
59754 _ACEOF
59755 if ac_fn_c_try_link "$LINENO"; then :
59756 am_cv_lib_iconv=yes
59757 am_cv_func_iconv=yes
59759 rm -f core conftest.err conftest.$ac_objext \
59760 conftest$ac_exeext conftest.$ac_ext
59761 CPPFLAGS="$am_save_CPPFLAGS"
59762 LIBS="$am_save_LIBS"
59766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
59767 $as_echo "$am_cv_func_iconv" >&6; }
59768 if test "$am_cv_func_iconv" = yes; then
59770 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
59773 if test "$am_cv_lib_iconv" = yes; then
59775 for element in $INCICONV; do
59776 haveit=
59777 for x in $CPPFLAGS; do
59779 acl_save_prefix="$prefix"
59780 prefix="$acl_final_prefix"
59781 acl_save_exec_prefix="$exec_prefix"
59782 exec_prefix="$acl_final_exec_prefix"
59783 eval x=\"$x\"
59784 exec_prefix="$acl_save_exec_prefix"
59785 prefix="$acl_save_prefix"
59787 if test "X$x" = "X$element"; then
59788 haveit=yes
59789 break
59791 done
59792 if test -z "$haveit"; then
59793 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
59795 done
59797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
59798 $as_echo_n "checking how to link with libiconv... " >&6; }
59799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
59800 $as_echo "$LIBICONV" >&6; }
59801 else
59802 LIBICONV=
59803 LTLIBICONV=
59808 if test "$am_cv_func_iconv" = yes; then
59809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
59810 $as_echo_n "checking for iconv declaration... " >&6; }
59811 if test "${am_cv_proto_iconv+set}" = set; then :
59812 $as_echo_n "(cached) " >&6
59813 else
59815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59816 /* end confdefs.h. */
59818 #include <stdlib.h>
59819 #include <iconv.h>
59820 extern
59821 #ifdef __cplusplus
59823 #endif
59824 #if defined(__STDC__) || defined(__cplusplus)
59825 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
59826 #else
59827 size_t iconv();
59828 #endif
59831 main ()
59835 return 0;
59837 _ACEOF
59838 if ac_fn_c_try_compile "$LINENO"; then :
59839 am_cv_proto_iconv_arg1=""
59840 else
59841 am_cv_proto_iconv_arg1="const"
59843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59844 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);"
59847 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
59848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
59849 }$am_cv_proto_iconv" >&5
59850 $as_echo "${ac_t:-
59851 }$am_cv_proto_iconv" >&6; }
59853 cat >>confdefs.h <<_ACEOF
59854 #define ICONV_CONST $am_cv_proto_iconv_arg1
59855 _ACEOF
59860 *-mingw32*)
59862 # If we're not using GNU ld, then there's no point in even trying these
59863 # tests. Check for that first. We should have already tested for gld
59864 # by now (in libtool), but require it now just to be safe...
59865 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
59866 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
59870 # The name set by libtool depends on the version of libtool. Shame on us
59871 # for depending on an impl detail, but c'est la vie. Older versions used
59872 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
59873 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
59874 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
59875 # set (hence we're using an older libtool), then set it.
59876 if test x${with_gnu_ld+set} != xset; then
59877 if test x${ac_cv_prog_gnu_ld+set} != xset; then
59878 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
59879 with_gnu_ld=no
59880 else
59881 with_gnu_ld=$ac_cv_prog_gnu_ld
59885 # Start by getting the version number. I think the libtool test already
59886 # does some of this, but throws away the result.
59887 glibcxx_ld_is_gold=no
59888 if test x"$with_gnu_ld" = x"yes"; then
59889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
59890 $as_echo_n "checking for ld version... " >&6; }
59892 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
59893 glibcxx_ld_is_gold=yes
59895 ldver=`$LD --version 2>/dev/null |
59896 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'`
59898 glibcxx_gnu_ld_version=`echo $ldver | \
59899 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
59900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
59901 $as_echo "$glibcxx_gnu_ld_version" >&6; }
59904 # Set --gc-sections.
59905 glibcxx_have_gc_sections=no
59906 if test "$glibcxx_ld_is_gold" = "yes"; then
59907 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
59908 glibcxx_have_gc_sections=yes
59910 else
59911 glibcxx_gcsections_min_ld=21602
59912 if test x"$with_gnu_ld" = x"yes" &&
59913 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
59914 glibcxx_have_gc_sections=yes
59917 if test "$glibcxx_have_gc_sections" = "yes"; then
59918 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
59919 # NB: This flag only works reliably after 2.16.1. Configure tests
59920 # for this are difficult, so hard wire a value that should work.
59922 ac_test_CFLAGS="${CFLAGS+set}"
59923 ac_save_CFLAGS="$CFLAGS"
59924 CFLAGS='-Wl,--gc-sections'
59926 # Check for -Wl,--gc-sections
59927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
59928 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
59929 if test x$gcc_no_link = xyes; then
59930 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59933 /* end confdefs.h. */
59934 int one(void) { return 1; }
59935 int two(void) { return 2; }
59938 main ()
59940 two();
59942 return 0;
59944 _ACEOF
59945 if ac_fn_c_try_link "$LINENO"; then :
59946 ac_gcsections=yes
59947 else
59948 ac_gcsections=no
59950 rm -f core conftest.err conftest.$ac_objext \
59951 conftest$ac_exeext conftest.$ac_ext
59952 if test "$ac_gcsections" = "yes"; then
59953 rm -f conftest.c
59954 touch conftest.c
59955 if $CC -c conftest.c; then
59956 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
59957 grep "Warning: gc-sections option ignored" > /dev/null; then
59958 ac_gcsections=no
59961 rm -f conftest.c conftest.o conftest
59963 if test "$ac_gcsections" = "yes"; then
59964 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
59966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
59967 $as_echo "$ac_gcsections" >&6; }
59969 if test "$ac_test_CFLAGS" = set; then
59970 CFLAGS="$ac_save_CFLAGS"
59971 else
59972 # this is the suspicious part
59973 CFLAGS=''
59977 # Set -z,relro.
59978 # Note this is only for shared objects.
59979 ac_ld_relro=no
59980 if test x"$with_gnu_ld" = x"yes"; then
59981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
59982 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
59983 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
59984 if test -n "$cxx_z_relo"; then
59985 OPT_LDFLAGS="-Wl,-z,relro"
59986 ac_ld_relro=yes
59988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
59989 $as_echo "$ac_ld_relro" >&6; }
59992 # Set linker optimization flags.
59993 if test x"$with_gnu_ld" = x"yes"; then
59994 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60001 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60002 ac_save_CXXFLAGS="$CXXFLAGS"
60003 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
60006 $as_echo_n "checking for sin in -lm... " >&6; }
60007 if test "${ac_cv_lib_m_sin+set}" = set; then :
60008 $as_echo_n "(cached) " >&6
60009 else
60010 ac_check_lib_save_LIBS=$LIBS
60011 LIBS="-lm $LIBS"
60012 if test x$gcc_no_link = xyes; then
60013 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60016 /* end confdefs.h. */
60018 /* Override any GCC internal prototype to avoid an error.
60019 Use char because int might match the return type of a GCC
60020 builtin and then its argument prototype would still apply. */
60021 #ifdef __cplusplus
60022 extern "C"
60023 #endif
60024 char sin ();
60026 main ()
60028 return sin ();
60030 return 0;
60032 _ACEOF
60033 if ac_fn_c_try_link "$LINENO"; then :
60034 ac_cv_lib_m_sin=yes
60035 else
60036 ac_cv_lib_m_sin=no
60038 rm -f core conftest.err conftest.$ac_objext \
60039 conftest$ac_exeext conftest.$ac_ext
60040 LIBS=$ac_check_lib_save_LIBS
60042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
60043 $as_echo "$ac_cv_lib_m_sin" >&6; }
60044 if test "x$ac_cv_lib_m_sin" = x""yes; then :
60045 libm="-lm"
60048 ac_save_LIBS="$LIBS"
60049 LIBS="$LIBS $libm"
60053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
60054 $as_echo_n "checking for isinf declaration... " >&6; }
60055 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
60056 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
60057 $as_echo_n "(cached) " >&6
60058 else
60061 ac_ext=cpp
60062 ac_cpp='$CXXCPP $CPPFLAGS'
60063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60068 /* end confdefs.h. */
60069 #include <math.h>
60070 #ifdef HAVE_IEEEFP_H
60071 #include <ieeefp.h>
60072 #endif
60075 main ()
60077 isinf(0);
60079 return 0;
60081 _ACEOF
60082 if ac_fn_cxx_try_compile "$LINENO"; then :
60083 glibcxx_cv_func_isinf_use=yes
60084 else
60085 glibcxx_cv_func_isinf_use=no
60087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60088 ac_ext=c
60089 ac_cpp='$CPP $CPPFLAGS'
60090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
60099 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
60101 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
60102 for ac_func in isinf
60103 do :
60104 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
60105 if test "x$ac_cv_func_isinf" = x""yes; then :
60106 cat >>confdefs.h <<_ACEOF
60107 #define HAVE_ISINF 1
60108 _ACEOF
60111 done
60113 else
60115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
60116 $as_echo_n "checking for _isinf declaration... " >&6; }
60117 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
60118 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
60119 $as_echo_n "(cached) " >&6
60120 else
60123 ac_ext=cpp
60124 ac_cpp='$CXXCPP $CPPFLAGS'
60125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60130 /* end confdefs.h. */
60131 #include <math.h>
60132 #ifdef HAVE_IEEEFP_H
60133 #include <ieeefp.h>
60134 #endif
60137 main ()
60139 _isinf(0);
60141 return 0;
60143 _ACEOF
60144 if ac_fn_cxx_try_compile "$LINENO"; then :
60145 glibcxx_cv_func__isinf_use=yes
60146 else
60147 glibcxx_cv_func__isinf_use=no
60149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60150 ac_ext=c
60151 ac_cpp='$CPP $CPPFLAGS'
60152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
60161 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
60163 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
60164 for ac_func in _isinf
60165 do :
60166 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
60167 if test "x$ac_cv_func__isinf" = x""yes; then :
60168 cat >>confdefs.h <<_ACEOF
60169 #define HAVE__ISINF 1
60170 _ACEOF
60173 done
60182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
60183 $as_echo_n "checking for isnan declaration... " >&6; }
60184 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
60185 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
60186 $as_echo_n "(cached) " >&6
60187 else
60190 ac_ext=cpp
60191 ac_cpp='$CXXCPP $CPPFLAGS'
60192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60197 /* end confdefs.h. */
60198 #include <math.h>
60199 #ifdef HAVE_IEEEFP_H
60200 #include <ieeefp.h>
60201 #endif
60204 main ()
60206 isnan(0);
60208 return 0;
60210 _ACEOF
60211 if ac_fn_cxx_try_compile "$LINENO"; then :
60212 glibcxx_cv_func_isnan_use=yes
60213 else
60214 glibcxx_cv_func_isnan_use=no
60216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60217 ac_ext=c
60218 ac_cpp='$CPP $CPPFLAGS'
60219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
60228 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
60230 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
60231 for ac_func in isnan
60232 do :
60233 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
60234 if test "x$ac_cv_func_isnan" = x""yes; then :
60235 cat >>confdefs.h <<_ACEOF
60236 #define HAVE_ISNAN 1
60237 _ACEOF
60240 done
60242 else
60244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
60245 $as_echo_n "checking for _isnan declaration... " >&6; }
60246 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
60247 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
60248 $as_echo_n "(cached) " >&6
60249 else
60252 ac_ext=cpp
60253 ac_cpp='$CXXCPP $CPPFLAGS'
60254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60259 /* end confdefs.h. */
60260 #include <math.h>
60261 #ifdef HAVE_IEEEFP_H
60262 #include <ieeefp.h>
60263 #endif
60266 main ()
60268 _isnan(0);
60270 return 0;
60272 _ACEOF
60273 if ac_fn_cxx_try_compile "$LINENO"; then :
60274 glibcxx_cv_func__isnan_use=yes
60275 else
60276 glibcxx_cv_func__isnan_use=no
60278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60279 ac_ext=c
60280 ac_cpp='$CPP $CPPFLAGS'
60281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
60290 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
60292 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
60293 for ac_func in _isnan
60294 do :
60295 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
60296 if test "x$ac_cv_func__isnan" = x""yes; then :
60297 cat >>confdefs.h <<_ACEOF
60298 #define HAVE__ISNAN 1
60299 _ACEOF
60302 done
60311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
60312 $as_echo_n "checking for finite declaration... " >&6; }
60313 if test x${glibcxx_cv_func_finite_use+set} != xset; then
60314 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
60315 $as_echo_n "(cached) " >&6
60316 else
60319 ac_ext=cpp
60320 ac_cpp='$CXXCPP $CPPFLAGS'
60321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60326 /* end confdefs.h. */
60327 #include <math.h>
60328 #ifdef HAVE_IEEEFP_H
60329 #include <ieeefp.h>
60330 #endif
60333 main ()
60335 finite(0);
60337 return 0;
60339 _ACEOF
60340 if ac_fn_cxx_try_compile "$LINENO"; then :
60341 glibcxx_cv_func_finite_use=yes
60342 else
60343 glibcxx_cv_func_finite_use=no
60345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60346 ac_ext=c
60347 ac_cpp='$CPP $CPPFLAGS'
60348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
60357 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
60359 if test x$glibcxx_cv_func_finite_use = x"yes"; then
60360 for ac_func in finite
60361 do :
60362 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
60363 if test "x$ac_cv_func_finite" = x""yes; then :
60364 cat >>confdefs.h <<_ACEOF
60365 #define HAVE_FINITE 1
60366 _ACEOF
60369 done
60371 else
60373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
60374 $as_echo_n "checking for _finite declaration... " >&6; }
60375 if test x${glibcxx_cv_func__finite_use+set} != xset; then
60376 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
60377 $as_echo_n "(cached) " >&6
60378 else
60381 ac_ext=cpp
60382 ac_cpp='$CXXCPP $CPPFLAGS'
60383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60388 /* end confdefs.h. */
60389 #include <math.h>
60390 #ifdef HAVE_IEEEFP_H
60391 #include <ieeefp.h>
60392 #endif
60395 main ()
60397 _finite(0);
60399 return 0;
60401 _ACEOF
60402 if ac_fn_cxx_try_compile "$LINENO"; then :
60403 glibcxx_cv_func__finite_use=yes
60404 else
60405 glibcxx_cv_func__finite_use=no
60407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60408 ac_ext=c
60409 ac_cpp='$CPP $CPPFLAGS'
60410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
60419 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
60421 if test x$glibcxx_cv_func__finite_use = x"yes"; then
60422 for ac_func in _finite
60423 do :
60424 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
60425 if test "x$ac_cv_func__finite" = x""yes; then :
60426 cat >>confdefs.h <<_ACEOF
60427 #define HAVE__FINITE 1
60428 _ACEOF
60431 done
60440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
60441 $as_echo_n "checking for sincos declaration... " >&6; }
60442 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
60443 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
60444 $as_echo_n "(cached) " >&6
60445 else
60448 ac_ext=cpp
60449 ac_cpp='$CXXCPP $CPPFLAGS'
60450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60455 /* end confdefs.h. */
60456 #include <math.h>
60458 main ()
60460 sincos(0, 0, 0);
60462 return 0;
60464 _ACEOF
60465 if ac_fn_cxx_try_compile "$LINENO"; then :
60466 glibcxx_cv_func_sincos_use=yes
60467 else
60468 glibcxx_cv_func_sincos_use=no
60470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60471 ac_ext=c
60472 ac_cpp='$CPP $CPPFLAGS'
60473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
60482 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
60484 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
60485 for ac_func in sincos
60486 do :
60487 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
60488 if test "x$ac_cv_func_sincos" = x""yes; then :
60489 cat >>confdefs.h <<_ACEOF
60490 #define HAVE_SINCOS 1
60491 _ACEOF
60494 done
60496 else
60498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
60499 $as_echo_n "checking for _sincos declaration... " >&6; }
60500 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
60501 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
60502 $as_echo_n "(cached) " >&6
60503 else
60506 ac_ext=cpp
60507 ac_cpp='$CXXCPP $CPPFLAGS'
60508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60513 /* end confdefs.h. */
60514 #include <math.h>
60516 main ()
60518 _sincos(0, 0, 0);
60520 return 0;
60522 _ACEOF
60523 if ac_fn_cxx_try_compile "$LINENO"; then :
60524 glibcxx_cv_func__sincos_use=yes
60525 else
60526 glibcxx_cv_func__sincos_use=no
60528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60529 ac_ext=c
60530 ac_cpp='$CPP $CPPFLAGS'
60531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
60540 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
60542 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
60543 for ac_func in _sincos
60544 do :
60545 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
60546 if test "x$ac_cv_func__sincos" = x""yes; then :
60547 cat >>confdefs.h <<_ACEOF
60548 #define HAVE__SINCOS 1
60549 _ACEOF
60552 done
60561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
60562 $as_echo_n "checking for fpclass declaration... " >&6; }
60563 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
60564 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
60565 $as_echo_n "(cached) " >&6
60566 else
60569 ac_ext=cpp
60570 ac_cpp='$CXXCPP $CPPFLAGS'
60571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60576 /* end confdefs.h. */
60577 #include <math.h>
60578 #ifdef HAVE_IEEEFP_H
60579 #include <ieeefp.h>
60580 #endif
60583 main ()
60585 fpclass(0);
60587 return 0;
60589 _ACEOF
60590 if ac_fn_cxx_try_compile "$LINENO"; then :
60591 glibcxx_cv_func_fpclass_use=yes
60592 else
60593 glibcxx_cv_func_fpclass_use=no
60595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60596 ac_ext=c
60597 ac_cpp='$CPP $CPPFLAGS'
60598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
60607 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
60609 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
60610 for ac_func in fpclass
60611 do :
60612 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
60613 if test "x$ac_cv_func_fpclass" = x""yes; then :
60614 cat >>confdefs.h <<_ACEOF
60615 #define HAVE_FPCLASS 1
60616 _ACEOF
60619 done
60621 else
60623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
60624 $as_echo_n "checking for _fpclass declaration... " >&6; }
60625 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
60626 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
60627 $as_echo_n "(cached) " >&6
60628 else
60631 ac_ext=cpp
60632 ac_cpp='$CXXCPP $CPPFLAGS'
60633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60638 /* end confdefs.h. */
60639 #include <math.h>
60640 #ifdef HAVE_IEEEFP_H
60641 #include <ieeefp.h>
60642 #endif
60645 main ()
60647 _fpclass(0);
60649 return 0;
60651 _ACEOF
60652 if ac_fn_cxx_try_compile "$LINENO"; then :
60653 glibcxx_cv_func__fpclass_use=yes
60654 else
60655 glibcxx_cv_func__fpclass_use=no
60657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60658 ac_ext=c
60659 ac_cpp='$CPP $CPPFLAGS'
60660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
60669 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
60671 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
60672 for ac_func in _fpclass
60673 do :
60674 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
60675 if test "x$ac_cv_func__fpclass" = x""yes; then :
60676 cat >>confdefs.h <<_ACEOF
60677 #define HAVE__FPCLASS 1
60678 _ACEOF
60681 done
60690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
60691 $as_echo_n "checking for qfpclass declaration... " >&6; }
60692 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
60693 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
60694 $as_echo_n "(cached) " >&6
60695 else
60698 ac_ext=cpp
60699 ac_cpp='$CXXCPP $CPPFLAGS'
60700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60705 /* end confdefs.h. */
60706 #include <math.h>
60707 #ifdef HAVE_IEEEFP_H
60708 #include <ieeefp.h>
60709 #endif
60712 main ()
60714 qfpclass(0);
60716 return 0;
60718 _ACEOF
60719 if ac_fn_cxx_try_compile "$LINENO"; then :
60720 glibcxx_cv_func_qfpclass_use=yes
60721 else
60722 glibcxx_cv_func_qfpclass_use=no
60724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60725 ac_ext=c
60726 ac_cpp='$CPP $CPPFLAGS'
60727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
60736 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
60738 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
60739 for ac_func in qfpclass
60740 do :
60741 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
60742 if test "x$ac_cv_func_qfpclass" = x""yes; then :
60743 cat >>confdefs.h <<_ACEOF
60744 #define HAVE_QFPCLASS 1
60745 _ACEOF
60748 done
60750 else
60752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
60753 $as_echo_n "checking for _qfpclass declaration... " >&6; }
60754 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
60755 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
60756 $as_echo_n "(cached) " >&6
60757 else
60760 ac_ext=cpp
60761 ac_cpp='$CXXCPP $CPPFLAGS'
60762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60767 /* end confdefs.h. */
60768 #include <math.h>
60769 #ifdef HAVE_IEEEFP_H
60770 #include <ieeefp.h>
60771 #endif
60774 main ()
60776 _qfpclass(0);
60778 return 0;
60780 _ACEOF
60781 if ac_fn_cxx_try_compile "$LINENO"; then :
60782 glibcxx_cv_func__qfpclass_use=yes
60783 else
60784 glibcxx_cv_func__qfpclass_use=no
60786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60787 ac_ext=c
60788 ac_cpp='$CPP $CPPFLAGS'
60789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
60798 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
60800 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
60801 for ac_func in _qfpclass
60802 do :
60803 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
60804 if test "x$ac_cv_func__qfpclass" = x""yes; then :
60805 cat >>confdefs.h <<_ACEOF
60806 #define HAVE__QFPCLASS 1
60807 _ACEOF
60810 done
60819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
60820 $as_echo_n "checking for hypot declaration... " >&6; }
60821 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
60822 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
60823 $as_echo_n "(cached) " >&6
60824 else
60827 ac_ext=cpp
60828 ac_cpp='$CXXCPP $CPPFLAGS'
60829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60834 /* end confdefs.h. */
60835 #include <math.h>
60837 main ()
60839 hypot(0, 0);
60841 return 0;
60843 _ACEOF
60844 if ac_fn_cxx_try_compile "$LINENO"; then :
60845 glibcxx_cv_func_hypot_use=yes
60846 else
60847 glibcxx_cv_func_hypot_use=no
60849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60850 ac_ext=c
60851 ac_cpp='$CPP $CPPFLAGS'
60852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
60861 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
60863 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
60864 for ac_func in hypot
60865 do :
60866 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
60867 if test "x$ac_cv_func_hypot" = x""yes; then :
60868 cat >>confdefs.h <<_ACEOF
60869 #define HAVE_HYPOT 1
60870 _ACEOF
60873 done
60875 else
60877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
60878 $as_echo_n "checking for _hypot declaration... " >&6; }
60879 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
60880 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
60881 $as_echo_n "(cached) " >&6
60882 else
60885 ac_ext=cpp
60886 ac_cpp='$CXXCPP $CPPFLAGS'
60887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60892 /* end confdefs.h. */
60893 #include <math.h>
60895 main ()
60897 _hypot(0, 0);
60899 return 0;
60901 _ACEOF
60902 if ac_fn_cxx_try_compile "$LINENO"; then :
60903 glibcxx_cv_func__hypot_use=yes
60904 else
60905 glibcxx_cv_func__hypot_use=no
60907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60908 ac_ext=c
60909 ac_cpp='$CPP $CPPFLAGS'
60910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
60919 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
60921 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
60922 for ac_func in _hypot
60923 do :
60924 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
60925 if test "x$ac_cv_func__hypot" = x""yes; then :
60926 cat >>confdefs.h <<_ACEOF
60927 #define HAVE__HYPOT 1
60928 _ACEOF
60931 done
60940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
60941 $as_echo_n "checking for float trig functions... " >&6; }
60942 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
60943 $as_echo_n "(cached) " >&6
60944 else
60947 ac_ext=cpp
60948 ac_cpp='$CXXCPP $CPPFLAGS'
60949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60954 /* end confdefs.h. */
60955 #include <math.h>
60957 main ()
60959 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
60961 return 0;
60963 _ACEOF
60964 if ac_fn_cxx_try_compile "$LINENO"; then :
60965 glibcxx_cv_func_float_trig_use=yes
60966 else
60967 glibcxx_cv_func_float_trig_use=no
60969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60970 ac_ext=c
60971 ac_cpp='$CPP $CPPFLAGS'
60972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
60979 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
60980 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
60981 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
60982 do :
60983 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60984 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60985 eval as_val=\$$as_ac_var
60986 if test "x$as_val" = x""yes; then :
60987 cat >>confdefs.h <<_ACEOF
60988 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60989 _ACEOF
60992 done
60994 else
60995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
60996 $as_echo_n "checking for _float trig functions... " >&6; }
60997 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
60998 $as_echo_n "(cached) " >&6
60999 else
61002 ac_ext=cpp
61003 ac_cpp='$CXXCPP $CPPFLAGS'
61004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61009 /* end confdefs.h. */
61010 #include <math.h>
61012 main ()
61014 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
61016 return 0;
61018 _ACEOF
61019 if ac_fn_cxx_try_compile "$LINENO"; then :
61020 glibcxx_cv_func__float_trig_use=yes
61021 else
61022 glibcxx_cv_func__float_trig_use=no
61024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61025 ac_ext=c
61026 ac_cpp='$CPP $CPPFLAGS'
61027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
61034 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
61035 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
61036 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
61037 do :
61038 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61039 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61040 eval as_val=\$$as_ac_var
61041 if test "x$as_val" = x""yes; then :
61042 cat >>confdefs.h <<_ACEOF
61043 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61044 _ACEOF
61047 done
61056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
61057 $as_echo_n "checking for float round functions... " >&6; }
61058 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
61059 $as_echo_n "(cached) " >&6
61060 else
61063 ac_ext=cpp
61064 ac_cpp='$CXXCPP $CPPFLAGS'
61065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61070 /* end confdefs.h. */
61071 #include <math.h>
61073 main ()
61075 ceilf (0); floorf (0);
61077 return 0;
61079 _ACEOF
61080 if ac_fn_cxx_try_compile "$LINENO"; then :
61081 glibcxx_cv_func_float_round_use=yes
61082 else
61083 glibcxx_cv_func_float_round_use=no
61085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61086 ac_ext=c
61087 ac_cpp='$CPP $CPPFLAGS'
61088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
61095 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
61096 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
61097 for ac_func in ceilf floorf
61098 do :
61099 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61100 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61101 eval as_val=\$$as_ac_var
61102 if test "x$as_val" = x""yes; then :
61103 cat >>confdefs.h <<_ACEOF
61104 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61105 _ACEOF
61108 done
61110 else
61111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
61112 $as_echo_n "checking for _float round functions... " >&6; }
61113 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
61114 $as_echo_n "(cached) " >&6
61115 else
61118 ac_ext=cpp
61119 ac_cpp='$CXXCPP $CPPFLAGS'
61120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61125 /* end confdefs.h. */
61126 #include <math.h>
61128 main ()
61130 _ceilf (0); _floorf (0);
61132 return 0;
61134 _ACEOF
61135 if ac_fn_cxx_try_compile "$LINENO"; then :
61136 glibcxx_cv_func__float_round_use=yes
61137 else
61138 glibcxx_cv_func__float_round_use=no
61140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61141 ac_ext=c
61142 ac_cpp='$CPP $CPPFLAGS'
61143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
61150 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
61151 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
61152 for ac_func in _ceilf _floorf
61153 do :
61154 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61155 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61156 eval as_val=\$$as_ac_var
61157 if test "x$as_val" = x""yes; then :
61158 cat >>confdefs.h <<_ACEOF
61159 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61160 _ACEOF
61163 done
61173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
61174 $as_echo_n "checking for expf declaration... " >&6; }
61175 if test x${glibcxx_cv_func_expf_use+set} != xset; then
61176 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
61177 $as_echo_n "(cached) " >&6
61178 else
61181 ac_ext=cpp
61182 ac_cpp='$CXXCPP $CPPFLAGS'
61183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61188 /* end confdefs.h. */
61189 #include <math.h>
61190 #ifdef HAVE_IEEEFP_H
61191 #include <ieeefp.h>
61192 #endif
61195 main ()
61197 expf(0);
61199 return 0;
61201 _ACEOF
61202 if ac_fn_cxx_try_compile "$LINENO"; then :
61203 glibcxx_cv_func_expf_use=yes
61204 else
61205 glibcxx_cv_func_expf_use=no
61207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61208 ac_ext=c
61209 ac_cpp='$CPP $CPPFLAGS'
61210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
61219 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
61221 if test x$glibcxx_cv_func_expf_use = x"yes"; then
61222 for ac_func in expf
61223 do :
61224 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
61225 if test "x$ac_cv_func_expf" = x""yes; then :
61226 cat >>confdefs.h <<_ACEOF
61227 #define HAVE_EXPF 1
61228 _ACEOF
61231 done
61233 else
61235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
61236 $as_echo_n "checking for _expf declaration... " >&6; }
61237 if test x${glibcxx_cv_func__expf_use+set} != xset; then
61238 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
61239 $as_echo_n "(cached) " >&6
61240 else
61243 ac_ext=cpp
61244 ac_cpp='$CXXCPP $CPPFLAGS'
61245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61250 /* end confdefs.h. */
61251 #include <math.h>
61252 #ifdef HAVE_IEEEFP_H
61253 #include <ieeefp.h>
61254 #endif
61257 main ()
61259 _expf(0);
61261 return 0;
61263 _ACEOF
61264 if ac_fn_cxx_try_compile "$LINENO"; then :
61265 glibcxx_cv_func__expf_use=yes
61266 else
61267 glibcxx_cv_func__expf_use=no
61269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61270 ac_ext=c
61271 ac_cpp='$CPP $CPPFLAGS'
61272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
61281 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
61283 if test x$glibcxx_cv_func__expf_use = x"yes"; then
61284 for ac_func in _expf
61285 do :
61286 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
61287 if test "x$ac_cv_func__expf" = x""yes; then :
61288 cat >>confdefs.h <<_ACEOF
61289 #define HAVE__EXPF 1
61290 _ACEOF
61293 done
61302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
61303 $as_echo_n "checking for isnanf declaration... " >&6; }
61304 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
61305 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
61306 $as_echo_n "(cached) " >&6
61307 else
61310 ac_ext=cpp
61311 ac_cpp='$CXXCPP $CPPFLAGS'
61312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61317 /* end confdefs.h. */
61318 #include <math.h>
61319 #ifdef HAVE_IEEEFP_H
61320 #include <ieeefp.h>
61321 #endif
61324 main ()
61326 isnanf(0);
61328 return 0;
61330 _ACEOF
61331 if ac_fn_cxx_try_compile "$LINENO"; then :
61332 glibcxx_cv_func_isnanf_use=yes
61333 else
61334 glibcxx_cv_func_isnanf_use=no
61336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61337 ac_ext=c
61338 ac_cpp='$CPP $CPPFLAGS'
61339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
61348 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
61350 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
61351 for ac_func in isnanf
61352 do :
61353 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
61354 if test "x$ac_cv_func_isnanf" = x""yes; then :
61355 cat >>confdefs.h <<_ACEOF
61356 #define HAVE_ISNANF 1
61357 _ACEOF
61360 done
61362 else
61364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
61365 $as_echo_n "checking for _isnanf declaration... " >&6; }
61366 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
61367 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
61368 $as_echo_n "(cached) " >&6
61369 else
61372 ac_ext=cpp
61373 ac_cpp='$CXXCPP $CPPFLAGS'
61374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61379 /* end confdefs.h. */
61380 #include <math.h>
61381 #ifdef HAVE_IEEEFP_H
61382 #include <ieeefp.h>
61383 #endif
61386 main ()
61388 _isnanf(0);
61390 return 0;
61392 _ACEOF
61393 if ac_fn_cxx_try_compile "$LINENO"; then :
61394 glibcxx_cv_func__isnanf_use=yes
61395 else
61396 glibcxx_cv_func__isnanf_use=no
61398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61399 ac_ext=c
61400 ac_cpp='$CPP $CPPFLAGS'
61401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
61410 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
61412 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
61413 for ac_func in _isnanf
61414 do :
61415 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
61416 if test "x$ac_cv_func__isnanf" = x""yes; then :
61417 cat >>confdefs.h <<_ACEOF
61418 #define HAVE__ISNANF 1
61419 _ACEOF
61422 done
61431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
61432 $as_echo_n "checking for isinff declaration... " >&6; }
61433 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
61434 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
61435 $as_echo_n "(cached) " >&6
61436 else
61439 ac_ext=cpp
61440 ac_cpp='$CXXCPP $CPPFLAGS'
61441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61446 /* end confdefs.h. */
61447 #include <math.h>
61448 #ifdef HAVE_IEEEFP_H
61449 #include <ieeefp.h>
61450 #endif
61453 main ()
61455 isinff(0);
61457 return 0;
61459 _ACEOF
61460 if ac_fn_cxx_try_compile "$LINENO"; then :
61461 glibcxx_cv_func_isinff_use=yes
61462 else
61463 glibcxx_cv_func_isinff_use=no
61465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61466 ac_ext=c
61467 ac_cpp='$CPP $CPPFLAGS'
61468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
61477 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
61479 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
61480 for ac_func in isinff
61481 do :
61482 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
61483 if test "x$ac_cv_func_isinff" = x""yes; then :
61484 cat >>confdefs.h <<_ACEOF
61485 #define HAVE_ISINFF 1
61486 _ACEOF
61489 done
61491 else
61493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
61494 $as_echo_n "checking for _isinff declaration... " >&6; }
61495 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
61496 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
61497 $as_echo_n "(cached) " >&6
61498 else
61501 ac_ext=cpp
61502 ac_cpp='$CXXCPP $CPPFLAGS'
61503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61508 /* end confdefs.h. */
61509 #include <math.h>
61510 #ifdef HAVE_IEEEFP_H
61511 #include <ieeefp.h>
61512 #endif
61515 main ()
61517 _isinff(0);
61519 return 0;
61521 _ACEOF
61522 if ac_fn_cxx_try_compile "$LINENO"; then :
61523 glibcxx_cv_func__isinff_use=yes
61524 else
61525 glibcxx_cv_func__isinff_use=no
61527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61528 ac_ext=c
61529 ac_cpp='$CPP $CPPFLAGS'
61530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
61539 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
61541 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
61542 for ac_func in _isinff
61543 do :
61544 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
61545 if test "x$ac_cv_func__isinff" = x""yes; then :
61546 cat >>confdefs.h <<_ACEOF
61547 #define HAVE__ISINFF 1
61548 _ACEOF
61551 done
61560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
61561 $as_echo_n "checking for atan2f declaration... " >&6; }
61562 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
61563 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
61564 $as_echo_n "(cached) " >&6
61565 else
61568 ac_ext=cpp
61569 ac_cpp='$CXXCPP $CPPFLAGS'
61570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61575 /* end confdefs.h. */
61576 #include <math.h>
61578 main ()
61580 atan2f(0, 0);
61582 return 0;
61584 _ACEOF
61585 if ac_fn_cxx_try_compile "$LINENO"; then :
61586 glibcxx_cv_func_atan2f_use=yes
61587 else
61588 glibcxx_cv_func_atan2f_use=no
61590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61591 ac_ext=c
61592 ac_cpp='$CPP $CPPFLAGS'
61593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
61602 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
61604 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
61605 for ac_func in atan2f
61606 do :
61607 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
61608 if test "x$ac_cv_func_atan2f" = x""yes; then :
61609 cat >>confdefs.h <<_ACEOF
61610 #define HAVE_ATAN2F 1
61611 _ACEOF
61614 done
61616 else
61618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
61619 $as_echo_n "checking for _atan2f declaration... " >&6; }
61620 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
61621 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
61622 $as_echo_n "(cached) " >&6
61623 else
61626 ac_ext=cpp
61627 ac_cpp='$CXXCPP $CPPFLAGS'
61628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61633 /* end confdefs.h. */
61634 #include <math.h>
61636 main ()
61638 _atan2f(0, 0);
61640 return 0;
61642 _ACEOF
61643 if ac_fn_cxx_try_compile "$LINENO"; then :
61644 glibcxx_cv_func__atan2f_use=yes
61645 else
61646 glibcxx_cv_func__atan2f_use=no
61648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61649 ac_ext=c
61650 ac_cpp='$CPP $CPPFLAGS'
61651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
61660 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
61662 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
61663 for ac_func in _atan2f
61664 do :
61665 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
61666 if test "x$ac_cv_func__atan2f" = x""yes; then :
61667 cat >>confdefs.h <<_ACEOF
61668 #define HAVE__ATAN2F 1
61669 _ACEOF
61672 done
61681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
61682 $as_echo_n "checking for fabsf declaration... " >&6; }
61683 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
61684 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
61685 $as_echo_n "(cached) " >&6
61686 else
61689 ac_ext=cpp
61690 ac_cpp='$CXXCPP $CPPFLAGS'
61691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61696 /* end confdefs.h. */
61697 #include <math.h>
61698 #ifdef HAVE_IEEEFP_H
61699 #include <ieeefp.h>
61700 #endif
61703 main ()
61705 fabsf(0);
61707 return 0;
61709 _ACEOF
61710 if ac_fn_cxx_try_compile "$LINENO"; then :
61711 glibcxx_cv_func_fabsf_use=yes
61712 else
61713 glibcxx_cv_func_fabsf_use=no
61715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61716 ac_ext=c
61717 ac_cpp='$CPP $CPPFLAGS'
61718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
61727 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
61729 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
61730 for ac_func in fabsf
61731 do :
61732 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
61733 if test "x$ac_cv_func_fabsf" = x""yes; then :
61734 cat >>confdefs.h <<_ACEOF
61735 #define HAVE_FABSF 1
61736 _ACEOF
61739 done
61741 else
61743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
61744 $as_echo_n "checking for _fabsf declaration... " >&6; }
61745 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
61746 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
61747 $as_echo_n "(cached) " >&6
61748 else
61751 ac_ext=cpp
61752 ac_cpp='$CXXCPP $CPPFLAGS'
61753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61758 /* end confdefs.h. */
61759 #include <math.h>
61760 #ifdef HAVE_IEEEFP_H
61761 #include <ieeefp.h>
61762 #endif
61765 main ()
61767 _fabsf(0);
61769 return 0;
61771 _ACEOF
61772 if ac_fn_cxx_try_compile "$LINENO"; then :
61773 glibcxx_cv_func__fabsf_use=yes
61774 else
61775 glibcxx_cv_func__fabsf_use=no
61777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61778 ac_ext=c
61779 ac_cpp='$CPP $CPPFLAGS'
61780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
61789 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
61791 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
61792 for ac_func in _fabsf
61793 do :
61794 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
61795 if test "x$ac_cv_func__fabsf" = x""yes; then :
61796 cat >>confdefs.h <<_ACEOF
61797 #define HAVE__FABSF 1
61798 _ACEOF
61801 done
61810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
61811 $as_echo_n "checking for fmodf declaration... " >&6; }
61812 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
61813 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
61814 $as_echo_n "(cached) " >&6
61815 else
61818 ac_ext=cpp
61819 ac_cpp='$CXXCPP $CPPFLAGS'
61820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61825 /* end confdefs.h. */
61826 #include <math.h>
61828 main ()
61830 fmodf(0, 0);
61832 return 0;
61834 _ACEOF
61835 if ac_fn_cxx_try_compile "$LINENO"; then :
61836 glibcxx_cv_func_fmodf_use=yes
61837 else
61838 glibcxx_cv_func_fmodf_use=no
61840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61841 ac_ext=c
61842 ac_cpp='$CPP $CPPFLAGS'
61843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
61852 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
61854 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
61855 for ac_func in fmodf
61856 do :
61857 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
61858 if test "x$ac_cv_func_fmodf" = x""yes; then :
61859 cat >>confdefs.h <<_ACEOF
61860 #define HAVE_FMODF 1
61861 _ACEOF
61864 done
61866 else
61868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
61869 $as_echo_n "checking for _fmodf declaration... " >&6; }
61870 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
61871 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
61872 $as_echo_n "(cached) " >&6
61873 else
61876 ac_ext=cpp
61877 ac_cpp='$CXXCPP $CPPFLAGS'
61878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61883 /* end confdefs.h. */
61884 #include <math.h>
61886 main ()
61888 _fmodf(0, 0);
61890 return 0;
61892 _ACEOF
61893 if ac_fn_cxx_try_compile "$LINENO"; then :
61894 glibcxx_cv_func__fmodf_use=yes
61895 else
61896 glibcxx_cv_func__fmodf_use=no
61898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61899 ac_ext=c
61900 ac_cpp='$CPP $CPPFLAGS'
61901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
61910 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
61912 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
61913 for ac_func in _fmodf
61914 do :
61915 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
61916 if test "x$ac_cv_func__fmodf" = x""yes; then :
61917 cat >>confdefs.h <<_ACEOF
61918 #define HAVE__FMODF 1
61919 _ACEOF
61922 done
61931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
61932 $as_echo_n "checking for frexpf declaration... " >&6; }
61933 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
61934 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
61935 $as_echo_n "(cached) " >&6
61936 else
61939 ac_ext=cpp
61940 ac_cpp='$CXXCPP $CPPFLAGS'
61941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61946 /* end confdefs.h. */
61947 #include <math.h>
61949 main ()
61951 frexpf(0, 0);
61953 return 0;
61955 _ACEOF
61956 if ac_fn_cxx_try_compile "$LINENO"; then :
61957 glibcxx_cv_func_frexpf_use=yes
61958 else
61959 glibcxx_cv_func_frexpf_use=no
61961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61962 ac_ext=c
61963 ac_cpp='$CPP $CPPFLAGS'
61964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
61973 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
61975 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
61976 for ac_func in frexpf
61977 do :
61978 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
61979 if test "x$ac_cv_func_frexpf" = x""yes; then :
61980 cat >>confdefs.h <<_ACEOF
61981 #define HAVE_FREXPF 1
61982 _ACEOF
61985 done
61987 else
61989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
61990 $as_echo_n "checking for _frexpf declaration... " >&6; }
61991 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
61992 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
61993 $as_echo_n "(cached) " >&6
61994 else
61997 ac_ext=cpp
61998 ac_cpp='$CXXCPP $CPPFLAGS'
61999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62004 /* end confdefs.h. */
62005 #include <math.h>
62007 main ()
62009 _frexpf(0, 0);
62011 return 0;
62013 _ACEOF
62014 if ac_fn_cxx_try_compile "$LINENO"; then :
62015 glibcxx_cv_func__frexpf_use=yes
62016 else
62017 glibcxx_cv_func__frexpf_use=no
62019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62020 ac_ext=c
62021 ac_cpp='$CPP $CPPFLAGS'
62022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
62031 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
62033 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
62034 for ac_func in _frexpf
62035 do :
62036 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
62037 if test "x$ac_cv_func__frexpf" = x""yes; then :
62038 cat >>confdefs.h <<_ACEOF
62039 #define HAVE__FREXPF 1
62040 _ACEOF
62043 done
62052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
62053 $as_echo_n "checking for hypotf declaration... " >&6; }
62054 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
62055 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
62056 $as_echo_n "(cached) " >&6
62057 else
62060 ac_ext=cpp
62061 ac_cpp='$CXXCPP $CPPFLAGS'
62062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62067 /* end confdefs.h. */
62068 #include <math.h>
62070 main ()
62072 hypotf(0, 0);
62074 return 0;
62076 _ACEOF
62077 if ac_fn_cxx_try_compile "$LINENO"; then :
62078 glibcxx_cv_func_hypotf_use=yes
62079 else
62080 glibcxx_cv_func_hypotf_use=no
62082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62083 ac_ext=c
62084 ac_cpp='$CPP $CPPFLAGS'
62085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
62094 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
62096 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
62097 for ac_func in hypotf
62098 do :
62099 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
62100 if test "x$ac_cv_func_hypotf" = x""yes; then :
62101 cat >>confdefs.h <<_ACEOF
62102 #define HAVE_HYPOTF 1
62103 _ACEOF
62106 done
62108 else
62110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
62111 $as_echo_n "checking for _hypotf declaration... " >&6; }
62112 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
62113 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
62114 $as_echo_n "(cached) " >&6
62115 else
62118 ac_ext=cpp
62119 ac_cpp='$CXXCPP $CPPFLAGS'
62120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62125 /* end confdefs.h. */
62126 #include <math.h>
62128 main ()
62130 _hypotf(0, 0);
62132 return 0;
62134 _ACEOF
62135 if ac_fn_cxx_try_compile "$LINENO"; then :
62136 glibcxx_cv_func__hypotf_use=yes
62137 else
62138 glibcxx_cv_func__hypotf_use=no
62140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62141 ac_ext=c
62142 ac_cpp='$CPP $CPPFLAGS'
62143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
62152 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
62154 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
62155 for ac_func in _hypotf
62156 do :
62157 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
62158 if test "x$ac_cv_func__hypotf" = x""yes; then :
62159 cat >>confdefs.h <<_ACEOF
62160 #define HAVE__HYPOTF 1
62161 _ACEOF
62164 done
62173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
62174 $as_echo_n "checking for ldexpf declaration... " >&6; }
62175 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
62176 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
62177 $as_echo_n "(cached) " >&6
62178 else
62181 ac_ext=cpp
62182 ac_cpp='$CXXCPP $CPPFLAGS'
62183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62188 /* end confdefs.h. */
62189 #include <math.h>
62191 main ()
62193 ldexpf(0, 0);
62195 return 0;
62197 _ACEOF
62198 if ac_fn_cxx_try_compile "$LINENO"; then :
62199 glibcxx_cv_func_ldexpf_use=yes
62200 else
62201 glibcxx_cv_func_ldexpf_use=no
62203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62204 ac_ext=c
62205 ac_cpp='$CPP $CPPFLAGS'
62206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
62215 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
62217 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
62218 for ac_func in ldexpf
62219 do :
62220 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
62221 if test "x$ac_cv_func_ldexpf" = x""yes; then :
62222 cat >>confdefs.h <<_ACEOF
62223 #define HAVE_LDEXPF 1
62224 _ACEOF
62227 done
62229 else
62231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
62232 $as_echo_n "checking for _ldexpf declaration... " >&6; }
62233 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
62234 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
62235 $as_echo_n "(cached) " >&6
62236 else
62239 ac_ext=cpp
62240 ac_cpp='$CXXCPP $CPPFLAGS'
62241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62246 /* end confdefs.h. */
62247 #include <math.h>
62249 main ()
62251 _ldexpf(0, 0);
62253 return 0;
62255 _ACEOF
62256 if ac_fn_cxx_try_compile "$LINENO"; then :
62257 glibcxx_cv_func__ldexpf_use=yes
62258 else
62259 glibcxx_cv_func__ldexpf_use=no
62261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62262 ac_ext=c
62263 ac_cpp='$CPP $CPPFLAGS'
62264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
62273 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
62275 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
62276 for ac_func in _ldexpf
62277 do :
62278 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
62279 if test "x$ac_cv_func__ldexpf" = x""yes; then :
62280 cat >>confdefs.h <<_ACEOF
62281 #define HAVE__LDEXPF 1
62282 _ACEOF
62285 done
62294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
62295 $as_echo_n "checking for logf declaration... " >&6; }
62296 if test x${glibcxx_cv_func_logf_use+set} != xset; then
62297 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
62298 $as_echo_n "(cached) " >&6
62299 else
62302 ac_ext=cpp
62303 ac_cpp='$CXXCPP $CPPFLAGS'
62304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62309 /* end confdefs.h. */
62310 #include <math.h>
62311 #ifdef HAVE_IEEEFP_H
62312 #include <ieeefp.h>
62313 #endif
62316 main ()
62318 logf(0);
62320 return 0;
62322 _ACEOF
62323 if ac_fn_cxx_try_compile "$LINENO"; then :
62324 glibcxx_cv_func_logf_use=yes
62325 else
62326 glibcxx_cv_func_logf_use=no
62328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62329 ac_ext=c
62330 ac_cpp='$CPP $CPPFLAGS'
62331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
62340 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
62342 if test x$glibcxx_cv_func_logf_use = x"yes"; then
62343 for ac_func in logf
62344 do :
62345 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
62346 if test "x$ac_cv_func_logf" = x""yes; then :
62347 cat >>confdefs.h <<_ACEOF
62348 #define HAVE_LOGF 1
62349 _ACEOF
62352 done
62354 else
62356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
62357 $as_echo_n "checking for _logf declaration... " >&6; }
62358 if test x${glibcxx_cv_func__logf_use+set} != xset; then
62359 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
62360 $as_echo_n "(cached) " >&6
62361 else
62364 ac_ext=cpp
62365 ac_cpp='$CXXCPP $CPPFLAGS'
62366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62371 /* end confdefs.h. */
62372 #include <math.h>
62373 #ifdef HAVE_IEEEFP_H
62374 #include <ieeefp.h>
62375 #endif
62378 main ()
62380 _logf(0);
62382 return 0;
62384 _ACEOF
62385 if ac_fn_cxx_try_compile "$LINENO"; then :
62386 glibcxx_cv_func__logf_use=yes
62387 else
62388 glibcxx_cv_func__logf_use=no
62390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62391 ac_ext=c
62392 ac_cpp='$CPP $CPPFLAGS'
62393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
62402 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
62404 if test x$glibcxx_cv_func__logf_use = x"yes"; then
62405 for ac_func in _logf
62406 do :
62407 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
62408 if test "x$ac_cv_func__logf" = x""yes; then :
62409 cat >>confdefs.h <<_ACEOF
62410 #define HAVE__LOGF 1
62411 _ACEOF
62414 done
62423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
62424 $as_echo_n "checking for log10f declaration... " >&6; }
62425 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
62426 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
62427 $as_echo_n "(cached) " >&6
62428 else
62431 ac_ext=cpp
62432 ac_cpp='$CXXCPP $CPPFLAGS'
62433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62438 /* end confdefs.h. */
62439 #include <math.h>
62440 #ifdef HAVE_IEEEFP_H
62441 #include <ieeefp.h>
62442 #endif
62445 main ()
62447 log10f(0);
62449 return 0;
62451 _ACEOF
62452 if ac_fn_cxx_try_compile "$LINENO"; then :
62453 glibcxx_cv_func_log10f_use=yes
62454 else
62455 glibcxx_cv_func_log10f_use=no
62457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62458 ac_ext=c
62459 ac_cpp='$CPP $CPPFLAGS'
62460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
62469 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
62471 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
62472 for ac_func in log10f
62473 do :
62474 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
62475 if test "x$ac_cv_func_log10f" = x""yes; then :
62476 cat >>confdefs.h <<_ACEOF
62477 #define HAVE_LOG10F 1
62478 _ACEOF
62481 done
62483 else
62485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
62486 $as_echo_n "checking for _log10f declaration... " >&6; }
62487 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
62488 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
62489 $as_echo_n "(cached) " >&6
62490 else
62493 ac_ext=cpp
62494 ac_cpp='$CXXCPP $CPPFLAGS'
62495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62500 /* end confdefs.h. */
62501 #include <math.h>
62502 #ifdef HAVE_IEEEFP_H
62503 #include <ieeefp.h>
62504 #endif
62507 main ()
62509 _log10f(0);
62511 return 0;
62513 _ACEOF
62514 if ac_fn_cxx_try_compile "$LINENO"; then :
62515 glibcxx_cv_func__log10f_use=yes
62516 else
62517 glibcxx_cv_func__log10f_use=no
62519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62520 ac_ext=c
62521 ac_cpp='$CPP $CPPFLAGS'
62522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
62531 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
62533 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
62534 for ac_func in _log10f
62535 do :
62536 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
62537 if test "x$ac_cv_func__log10f" = x""yes; then :
62538 cat >>confdefs.h <<_ACEOF
62539 #define HAVE__LOG10F 1
62540 _ACEOF
62543 done
62552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
62553 $as_echo_n "checking for modff declaration... " >&6; }
62554 if test x${glibcxx_cv_func_modff_use+set} != xset; then
62555 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
62556 $as_echo_n "(cached) " >&6
62557 else
62560 ac_ext=cpp
62561 ac_cpp='$CXXCPP $CPPFLAGS'
62562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62567 /* end confdefs.h. */
62568 #include <math.h>
62570 main ()
62572 modff(0, 0);
62574 return 0;
62576 _ACEOF
62577 if ac_fn_cxx_try_compile "$LINENO"; then :
62578 glibcxx_cv_func_modff_use=yes
62579 else
62580 glibcxx_cv_func_modff_use=no
62582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62583 ac_ext=c
62584 ac_cpp='$CPP $CPPFLAGS'
62585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
62594 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
62596 if test x$glibcxx_cv_func_modff_use = x"yes"; then
62597 for ac_func in modff
62598 do :
62599 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
62600 if test "x$ac_cv_func_modff" = x""yes; then :
62601 cat >>confdefs.h <<_ACEOF
62602 #define HAVE_MODFF 1
62603 _ACEOF
62606 done
62608 else
62610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
62611 $as_echo_n "checking for _modff declaration... " >&6; }
62612 if test x${glibcxx_cv_func__modff_use+set} != xset; then
62613 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
62614 $as_echo_n "(cached) " >&6
62615 else
62618 ac_ext=cpp
62619 ac_cpp='$CXXCPP $CPPFLAGS'
62620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62625 /* end confdefs.h. */
62626 #include <math.h>
62628 main ()
62630 _modff(0, 0);
62632 return 0;
62634 _ACEOF
62635 if ac_fn_cxx_try_compile "$LINENO"; then :
62636 glibcxx_cv_func__modff_use=yes
62637 else
62638 glibcxx_cv_func__modff_use=no
62640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62641 ac_ext=c
62642 ac_cpp='$CPP $CPPFLAGS'
62643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
62652 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
62654 if test x$glibcxx_cv_func__modff_use = x"yes"; then
62655 for ac_func in _modff
62656 do :
62657 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
62658 if test "x$ac_cv_func__modff" = x""yes; then :
62659 cat >>confdefs.h <<_ACEOF
62660 #define HAVE__MODFF 1
62661 _ACEOF
62664 done
62673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
62674 $as_echo_n "checking for modf declaration... " >&6; }
62675 if test x${glibcxx_cv_func_modf_use+set} != xset; then
62676 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
62677 $as_echo_n "(cached) " >&6
62678 else
62681 ac_ext=cpp
62682 ac_cpp='$CXXCPP $CPPFLAGS'
62683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62688 /* end confdefs.h. */
62689 #include <math.h>
62691 main ()
62693 modf(0, 0);
62695 return 0;
62697 _ACEOF
62698 if ac_fn_cxx_try_compile "$LINENO"; then :
62699 glibcxx_cv_func_modf_use=yes
62700 else
62701 glibcxx_cv_func_modf_use=no
62703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62704 ac_ext=c
62705 ac_cpp='$CPP $CPPFLAGS'
62706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
62715 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
62717 if test x$glibcxx_cv_func_modf_use = x"yes"; then
62718 for ac_func in modf
62719 do :
62720 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
62721 if test "x$ac_cv_func_modf" = x""yes; then :
62722 cat >>confdefs.h <<_ACEOF
62723 #define HAVE_MODF 1
62724 _ACEOF
62727 done
62729 else
62731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
62732 $as_echo_n "checking for _modf declaration... " >&6; }
62733 if test x${glibcxx_cv_func__modf_use+set} != xset; then
62734 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
62735 $as_echo_n "(cached) " >&6
62736 else
62739 ac_ext=cpp
62740 ac_cpp='$CXXCPP $CPPFLAGS'
62741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62746 /* end confdefs.h. */
62747 #include <math.h>
62749 main ()
62751 _modf(0, 0);
62753 return 0;
62755 _ACEOF
62756 if ac_fn_cxx_try_compile "$LINENO"; then :
62757 glibcxx_cv_func__modf_use=yes
62758 else
62759 glibcxx_cv_func__modf_use=no
62761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62762 ac_ext=c
62763 ac_cpp='$CPP $CPPFLAGS'
62764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
62773 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
62775 if test x$glibcxx_cv_func__modf_use = x"yes"; then
62776 for ac_func in _modf
62777 do :
62778 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
62779 if test "x$ac_cv_func__modf" = x""yes; then :
62780 cat >>confdefs.h <<_ACEOF
62781 #define HAVE__MODF 1
62782 _ACEOF
62785 done
62794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
62795 $as_echo_n "checking for powf declaration... " >&6; }
62796 if test x${glibcxx_cv_func_powf_use+set} != xset; then
62797 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
62798 $as_echo_n "(cached) " >&6
62799 else
62802 ac_ext=cpp
62803 ac_cpp='$CXXCPP $CPPFLAGS'
62804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62809 /* end confdefs.h. */
62810 #include <math.h>
62812 main ()
62814 powf(0, 0);
62816 return 0;
62818 _ACEOF
62819 if ac_fn_cxx_try_compile "$LINENO"; then :
62820 glibcxx_cv_func_powf_use=yes
62821 else
62822 glibcxx_cv_func_powf_use=no
62824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62825 ac_ext=c
62826 ac_cpp='$CPP $CPPFLAGS'
62827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
62836 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
62838 if test x$glibcxx_cv_func_powf_use = x"yes"; then
62839 for ac_func in powf
62840 do :
62841 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
62842 if test "x$ac_cv_func_powf" = x""yes; then :
62843 cat >>confdefs.h <<_ACEOF
62844 #define HAVE_POWF 1
62845 _ACEOF
62848 done
62850 else
62852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
62853 $as_echo_n "checking for _powf declaration... " >&6; }
62854 if test x${glibcxx_cv_func__powf_use+set} != xset; then
62855 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
62856 $as_echo_n "(cached) " >&6
62857 else
62860 ac_ext=cpp
62861 ac_cpp='$CXXCPP $CPPFLAGS'
62862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62867 /* end confdefs.h. */
62868 #include <math.h>
62870 main ()
62872 _powf(0, 0);
62874 return 0;
62876 _ACEOF
62877 if ac_fn_cxx_try_compile "$LINENO"; then :
62878 glibcxx_cv_func__powf_use=yes
62879 else
62880 glibcxx_cv_func__powf_use=no
62882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62883 ac_ext=c
62884 ac_cpp='$CPP $CPPFLAGS'
62885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
62894 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
62896 if test x$glibcxx_cv_func__powf_use = x"yes"; then
62897 for ac_func in _powf
62898 do :
62899 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
62900 if test "x$ac_cv_func__powf" = x""yes; then :
62901 cat >>confdefs.h <<_ACEOF
62902 #define HAVE__POWF 1
62903 _ACEOF
62906 done
62915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
62916 $as_echo_n "checking for sqrtf declaration... " >&6; }
62917 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
62918 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
62919 $as_echo_n "(cached) " >&6
62920 else
62923 ac_ext=cpp
62924 ac_cpp='$CXXCPP $CPPFLAGS'
62925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62930 /* end confdefs.h. */
62931 #include <math.h>
62932 #ifdef HAVE_IEEEFP_H
62933 #include <ieeefp.h>
62934 #endif
62937 main ()
62939 sqrtf(0);
62941 return 0;
62943 _ACEOF
62944 if ac_fn_cxx_try_compile "$LINENO"; then :
62945 glibcxx_cv_func_sqrtf_use=yes
62946 else
62947 glibcxx_cv_func_sqrtf_use=no
62949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62950 ac_ext=c
62951 ac_cpp='$CPP $CPPFLAGS'
62952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
62961 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
62963 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
62964 for ac_func in sqrtf
62965 do :
62966 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
62967 if test "x$ac_cv_func_sqrtf" = x""yes; then :
62968 cat >>confdefs.h <<_ACEOF
62969 #define HAVE_SQRTF 1
62970 _ACEOF
62973 done
62975 else
62977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
62978 $as_echo_n "checking for _sqrtf declaration... " >&6; }
62979 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
62980 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
62981 $as_echo_n "(cached) " >&6
62982 else
62985 ac_ext=cpp
62986 ac_cpp='$CXXCPP $CPPFLAGS'
62987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62992 /* end confdefs.h. */
62993 #include <math.h>
62994 #ifdef HAVE_IEEEFP_H
62995 #include <ieeefp.h>
62996 #endif
62999 main ()
63001 _sqrtf(0);
63003 return 0;
63005 _ACEOF
63006 if ac_fn_cxx_try_compile "$LINENO"; then :
63007 glibcxx_cv_func__sqrtf_use=yes
63008 else
63009 glibcxx_cv_func__sqrtf_use=no
63011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63012 ac_ext=c
63013 ac_cpp='$CPP $CPPFLAGS'
63014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
63023 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
63025 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63026 for ac_func in _sqrtf
63027 do :
63028 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
63029 if test "x$ac_cv_func__sqrtf" = x""yes; then :
63030 cat >>confdefs.h <<_ACEOF
63031 #define HAVE__SQRTF 1
63032 _ACEOF
63035 done
63044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
63045 $as_echo_n "checking for sincosf declaration... " >&6; }
63046 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63047 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
63048 $as_echo_n "(cached) " >&6
63049 else
63052 ac_ext=cpp
63053 ac_cpp='$CXXCPP $CPPFLAGS'
63054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63059 /* end confdefs.h. */
63060 #include <math.h>
63062 main ()
63064 sincosf(0, 0, 0);
63066 return 0;
63068 _ACEOF
63069 if ac_fn_cxx_try_compile "$LINENO"; then :
63070 glibcxx_cv_func_sincosf_use=yes
63071 else
63072 glibcxx_cv_func_sincosf_use=no
63074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63075 ac_ext=c
63076 ac_cpp='$CPP $CPPFLAGS'
63077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
63086 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
63088 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63089 for ac_func in sincosf
63090 do :
63091 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
63092 if test "x$ac_cv_func_sincosf" = x""yes; then :
63093 cat >>confdefs.h <<_ACEOF
63094 #define HAVE_SINCOSF 1
63095 _ACEOF
63098 done
63100 else
63102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
63103 $as_echo_n "checking for _sincosf declaration... " >&6; }
63104 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63105 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
63106 $as_echo_n "(cached) " >&6
63107 else
63110 ac_ext=cpp
63111 ac_cpp='$CXXCPP $CPPFLAGS'
63112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63117 /* end confdefs.h. */
63118 #include <math.h>
63120 main ()
63122 _sincosf(0, 0, 0);
63124 return 0;
63126 _ACEOF
63127 if ac_fn_cxx_try_compile "$LINENO"; then :
63128 glibcxx_cv_func__sincosf_use=yes
63129 else
63130 glibcxx_cv_func__sincosf_use=no
63132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63133 ac_ext=c
63134 ac_cpp='$CPP $CPPFLAGS'
63135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
63144 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
63146 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
63147 for ac_func in _sincosf
63148 do :
63149 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
63150 if test "x$ac_cv_func__sincosf" = x""yes; then :
63151 cat >>confdefs.h <<_ACEOF
63152 #define HAVE__SINCOSF 1
63153 _ACEOF
63156 done
63165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
63166 $as_echo_n "checking for finitef declaration... " >&6; }
63167 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63168 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
63169 $as_echo_n "(cached) " >&6
63170 else
63173 ac_ext=cpp
63174 ac_cpp='$CXXCPP $CPPFLAGS'
63175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63180 /* end confdefs.h. */
63181 #include <math.h>
63182 #ifdef HAVE_IEEEFP_H
63183 #include <ieeefp.h>
63184 #endif
63187 main ()
63189 finitef(0);
63191 return 0;
63193 _ACEOF
63194 if ac_fn_cxx_try_compile "$LINENO"; then :
63195 glibcxx_cv_func_finitef_use=yes
63196 else
63197 glibcxx_cv_func_finitef_use=no
63199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63200 ac_ext=c
63201 ac_cpp='$CPP $CPPFLAGS'
63202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
63211 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
63213 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63214 for ac_func in finitef
63215 do :
63216 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
63217 if test "x$ac_cv_func_finitef" = x""yes; then :
63218 cat >>confdefs.h <<_ACEOF
63219 #define HAVE_FINITEF 1
63220 _ACEOF
63223 done
63225 else
63227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
63228 $as_echo_n "checking for _finitef declaration... " >&6; }
63229 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63230 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
63231 $as_echo_n "(cached) " >&6
63232 else
63235 ac_ext=cpp
63236 ac_cpp='$CXXCPP $CPPFLAGS'
63237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63242 /* end confdefs.h. */
63243 #include <math.h>
63244 #ifdef HAVE_IEEEFP_H
63245 #include <ieeefp.h>
63246 #endif
63249 main ()
63251 _finitef(0);
63253 return 0;
63255 _ACEOF
63256 if ac_fn_cxx_try_compile "$LINENO"; then :
63257 glibcxx_cv_func__finitef_use=yes
63258 else
63259 glibcxx_cv_func__finitef_use=no
63261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63262 ac_ext=c
63263 ac_cpp='$CPP $CPPFLAGS'
63264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
63273 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
63275 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63276 for ac_func in _finitef
63277 do :
63278 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
63279 if test "x$ac_cv_func__finitef" = x""yes; then :
63280 cat >>confdefs.h <<_ACEOF
63281 #define HAVE__FINITEF 1
63282 _ACEOF
63285 done
63294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
63295 $as_echo_n "checking for long double trig functions... " >&6; }
63296 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
63297 $as_echo_n "(cached) " >&6
63298 else
63301 ac_ext=cpp
63302 ac_cpp='$CXXCPP $CPPFLAGS'
63303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63308 /* end confdefs.h. */
63309 #include <math.h>
63311 main ()
63313 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63315 return 0;
63317 _ACEOF
63318 if ac_fn_cxx_try_compile "$LINENO"; then :
63319 glibcxx_cv_func_long_double_trig_use=yes
63320 else
63321 glibcxx_cv_func_long_double_trig_use=no
63323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63324 ac_ext=c
63325 ac_cpp='$CPP $CPPFLAGS'
63326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
63333 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
63334 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63335 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63336 do :
63337 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63338 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63339 eval as_val=\$$as_ac_var
63340 if test "x$as_val" = x""yes; then :
63341 cat >>confdefs.h <<_ACEOF
63342 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63343 _ACEOF
63346 done
63348 else
63349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
63350 $as_echo_n "checking for _long double trig functions... " >&6; }
63351 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
63352 $as_echo_n "(cached) " >&6
63353 else
63356 ac_ext=cpp
63357 ac_cpp='$CXXCPP $CPPFLAGS'
63358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63363 /* end confdefs.h. */
63364 #include <math.h>
63366 main ()
63368 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63370 return 0;
63372 _ACEOF
63373 if ac_fn_cxx_try_compile "$LINENO"; then :
63374 glibcxx_cv_func__long_double_trig_use=yes
63375 else
63376 glibcxx_cv_func__long_double_trig_use=no
63378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63379 ac_ext=c
63380 ac_cpp='$CPP $CPPFLAGS'
63381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
63388 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
63389 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63390 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63391 do :
63392 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63393 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63394 eval as_val=\$$as_ac_var
63395 if test "x$as_val" = x""yes; then :
63396 cat >>confdefs.h <<_ACEOF
63397 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63398 _ACEOF
63401 done
63410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
63411 $as_echo_n "checking for long double round functions... " >&6; }
63412 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
63413 $as_echo_n "(cached) " >&6
63414 else
63417 ac_ext=cpp
63418 ac_cpp='$CXXCPP $CPPFLAGS'
63419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63424 /* end confdefs.h. */
63425 #include <math.h>
63427 main ()
63429 ceill (0); floorl (0);
63431 return 0;
63433 _ACEOF
63434 if ac_fn_cxx_try_compile "$LINENO"; then :
63435 glibcxx_cv_func_long_double_round_use=yes
63436 else
63437 glibcxx_cv_func_long_double_round_use=no
63439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63440 ac_ext=c
63441 ac_cpp='$CPP $CPPFLAGS'
63442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
63449 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
63450 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63451 for ac_func in ceill floorl
63452 do :
63453 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63454 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63455 eval as_val=\$$as_ac_var
63456 if test "x$as_val" = x""yes; then :
63457 cat >>confdefs.h <<_ACEOF
63458 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63459 _ACEOF
63462 done
63464 else
63465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
63466 $as_echo_n "checking for _long double round functions... " >&6; }
63467 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
63468 $as_echo_n "(cached) " >&6
63469 else
63472 ac_ext=cpp
63473 ac_cpp='$CXXCPP $CPPFLAGS'
63474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63479 /* end confdefs.h. */
63480 #include <math.h>
63482 main ()
63484 _ceill (0); _floorl (0);
63486 return 0;
63488 _ACEOF
63489 if ac_fn_cxx_try_compile "$LINENO"; then :
63490 glibcxx_cv_func__long_double_round_use=yes
63491 else
63492 glibcxx_cv_func__long_double_round_use=no
63494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63495 ac_ext=c
63496 ac_cpp='$CPP $CPPFLAGS'
63497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
63504 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
63505 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
63506 for ac_func in _ceill _floorl
63507 do :
63508 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63509 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63510 eval as_val=\$$as_ac_var
63511 if test "x$as_val" = x""yes; then :
63512 cat >>confdefs.h <<_ACEOF
63513 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63514 _ACEOF
63517 done
63527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
63528 $as_echo_n "checking for isnanl declaration... " >&6; }
63529 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63530 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
63531 $as_echo_n "(cached) " >&6
63532 else
63535 ac_ext=cpp
63536 ac_cpp='$CXXCPP $CPPFLAGS'
63537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63542 /* end confdefs.h. */
63543 #include <math.h>
63544 #ifdef HAVE_IEEEFP_H
63545 #include <ieeefp.h>
63546 #endif
63549 main ()
63551 isnanl(0);
63553 return 0;
63555 _ACEOF
63556 if ac_fn_cxx_try_compile "$LINENO"; then :
63557 glibcxx_cv_func_isnanl_use=yes
63558 else
63559 glibcxx_cv_func_isnanl_use=no
63561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63562 ac_ext=c
63563 ac_cpp='$CPP $CPPFLAGS'
63564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
63573 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
63575 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
63576 for ac_func in isnanl
63577 do :
63578 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
63579 if test "x$ac_cv_func_isnanl" = x""yes; then :
63580 cat >>confdefs.h <<_ACEOF
63581 #define HAVE_ISNANL 1
63582 _ACEOF
63585 done
63587 else
63589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
63590 $as_echo_n "checking for _isnanl declaration... " >&6; }
63591 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
63592 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
63593 $as_echo_n "(cached) " >&6
63594 else
63597 ac_ext=cpp
63598 ac_cpp='$CXXCPP $CPPFLAGS'
63599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63604 /* end confdefs.h. */
63605 #include <math.h>
63606 #ifdef HAVE_IEEEFP_H
63607 #include <ieeefp.h>
63608 #endif
63611 main ()
63613 _isnanl(0);
63615 return 0;
63617 _ACEOF
63618 if ac_fn_cxx_try_compile "$LINENO"; then :
63619 glibcxx_cv_func__isnanl_use=yes
63620 else
63621 glibcxx_cv_func__isnanl_use=no
63623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63624 ac_ext=c
63625 ac_cpp='$CPP $CPPFLAGS'
63626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
63635 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
63637 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
63638 for ac_func in _isnanl
63639 do :
63640 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
63641 if test "x$ac_cv_func__isnanl" = x""yes; then :
63642 cat >>confdefs.h <<_ACEOF
63643 #define HAVE__ISNANL 1
63644 _ACEOF
63647 done
63656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
63657 $as_echo_n "checking for isinfl declaration... " >&6; }
63658 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
63659 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
63660 $as_echo_n "(cached) " >&6
63661 else
63664 ac_ext=cpp
63665 ac_cpp='$CXXCPP $CPPFLAGS'
63666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63671 /* end confdefs.h. */
63672 #include <math.h>
63673 #ifdef HAVE_IEEEFP_H
63674 #include <ieeefp.h>
63675 #endif
63678 main ()
63680 isinfl(0);
63682 return 0;
63684 _ACEOF
63685 if ac_fn_cxx_try_compile "$LINENO"; then :
63686 glibcxx_cv_func_isinfl_use=yes
63687 else
63688 glibcxx_cv_func_isinfl_use=no
63690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63691 ac_ext=c
63692 ac_cpp='$CPP $CPPFLAGS'
63693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
63702 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
63704 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
63705 for ac_func in isinfl
63706 do :
63707 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
63708 if test "x$ac_cv_func_isinfl" = x""yes; then :
63709 cat >>confdefs.h <<_ACEOF
63710 #define HAVE_ISINFL 1
63711 _ACEOF
63714 done
63716 else
63718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
63719 $as_echo_n "checking for _isinfl declaration... " >&6; }
63720 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
63721 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
63722 $as_echo_n "(cached) " >&6
63723 else
63726 ac_ext=cpp
63727 ac_cpp='$CXXCPP $CPPFLAGS'
63728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63733 /* end confdefs.h. */
63734 #include <math.h>
63735 #ifdef HAVE_IEEEFP_H
63736 #include <ieeefp.h>
63737 #endif
63740 main ()
63742 _isinfl(0);
63744 return 0;
63746 _ACEOF
63747 if ac_fn_cxx_try_compile "$LINENO"; then :
63748 glibcxx_cv_func__isinfl_use=yes
63749 else
63750 glibcxx_cv_func__isinfl_use=no
63752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63753 ac_ext=c
63754 ac_cpp='$CPP $CPPFLAGS'
63755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
63764 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
63766 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
63767 for ac_func in _isinfl
63768 do :
63769 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
63770 if test "x$ac_cv_func__isinfl" = x""yes; then :
63771 cat >>confdefs.h <<_ACEOF
63772 #define HAVE__ISINFL 1
63773 _ACEOF
63776 done
63785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
63786 $as_echo_n "checking for atan2l declaration... " >&6; }
63787 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
63788 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
63789 $as_echo_n "(cached) " >&6
63790 else
63793 ac_ext=cpp
63794 ac_cpp='$CXXCPP $CPPFLAGS'
63795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63800 /* end confdefs.h. */
63801 #include <math.h>
63803 main ()
63805 atan2l(0, 0);
63807 return 0;
63809 _ACEOF
63810 if ac_fn_cxx_try_compile "$LINENO"; then :
63811 glibcxx_cv_func_atan2l_use=yes
63812 else
63813 glibcxx_cv_func_atan2l_use=no
63815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63816 ac_ext=c
63817 ac_cpp='$CPP $CPPFLAGS'
63818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
63827 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
63829 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
63830 for ac_func in atan2l
63831 do :
63832 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
63833 if test "x$ac_cv_func_atan2l" = x""yes; then :
63834 cat >>confdefs.h <<_ACEOF
63835 #define HAVE_ATAN2L 1
63836 _ACEOF
63839 done
63841 else
63843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
63844 $as_echo_n "checking for _atan2l declaration... " >&6; }
63845 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
63846 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
63847 $as_echo_n "(cached) " >&6
63848 else
63851 ac_ext=cpp
63852 ac_cpp='$CXXCPP $CPPFLAGS'
63853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63858 /* end confdefs.h. */
63859 #include <math.h>
63861 main ()
63863 _atan2l(0, 0);
63865 return 0;
63867 _ACEOF
63868 if ac_fn_cxx_try_compile "$LINENO"; then :
63869 glibcxx_cv_func__atan2l_use=yes
63870 else
63871 glibcxx_cv_func__atan2l_use=no
63873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63874 ac_ext=c
63875 ac_cpp='$CPP $CPPFLAGS'
63876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
63885 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
63887 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
63888 for ac_func in _atan2l
63889 do :
63890 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
63891 if test "x$ac_cv_func__atan2l" = x""yes; then :
63892 cat >>confdefs.h <<_ACEOF
63893 #define HAVE__ATAN2L 1
63894 _ACEOF
63897 done
63906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
63907 $as_echo_n "checking for expl declaration... " >&6; }
63908 if test x${glibcxx_cv_func_expl_use+set} != xset; then
63909 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
63910 $as_echo_n "(cached) " >&6
63911 else
63914 ac_ext=cpp
63915 ac_cpp='$CXXCPP $CPPFLAGS'
63916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63921 /* end confdefs.h. */
63922 #include <math.h>
63923 #ifdef HAVE_IEEEFP_H
63924 #include <ieeefp.h>
63925 #endif
63928 main ()
63930 expl(0);
63932 return 0;
63934 _ACEOF
63935 if ac_fn_cxx_try_compile "$LINENO"; then :
63936 glibcxx_cv_func_expl_use=yes
63937 else
63938 glibcxx_cv_func_expl_use=no
63940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63941 ac_ext=c
63942 ac_cpp='$CPP $CPPFLAGS'
63943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
63952 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
63954 if test x$glibcxx_cv_func_expl_use = x"yes"; then
63955 for ac_func in expl
63956 do :
63957 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
63958 if test "x$ac_cv_func_expl" = x""yes; then :
63959 cat >>confdefs.h <<_ACEOF
63960 #define HAVE_EXPL 1
63961 _ACEOF
63964 done
63966 else
63968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
63969 $as_echo_n "checking for _expl declaration... " >&6; }
63970 if test x${glibcxx_cv_func__expl_use+set} != xset; then
63971 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
63972 $as_echo_n "(cached) " >&6
63973 else
63976 ac_ext=cpp
63977 ac_cpp='$CXXCPP $CPPFLAGS'
63978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63983 /* end confdefs.h. */
63984 #include <math.h>
63985 #ifdef HAVE_IEEEFP_H
63986 #include <ieeefp.h>
63987 #endif
63990 main ()
63992 _expl(0);
63994 return 0;
63996 _ACEOF
63997 if ac_fn_cxx_try_compile "$LINENO"; then :
63998 glibcxx_cv_func__expl_use=yes
63999 else
64000 glibcxx_cv_func__expl_use=no
64002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64003 ac_ext=c
64004 ac_cpp='$CPP $CPPFLAGS'
64005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
64014 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
64016 if test x$glibcxx_cv_func__expl_use = x"yes"; then
64017 for ac_func in _expl
64018 do :
64019 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
64020 if test "x$ac_cv_func__expl" = x""yes; then :
64021 cat >>confdefs.h <<_ACEOF
64022 #define HAVE__EXPL 1
64023 _ACEOF
64026 done
64035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
64036 $as_echo_n "checking for fabsl declaration... " >&6; }
64037 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64038 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
64039 $as_echo_n "(cached) " >&6
64040 else
64043 ac_ext=cpp
64044 ac_cpp='$CXXCPP $CPPFLAGS'
64045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64050 /* end confdefs.h. */
64051 #include <math.h>
64052 #ifdef HAVE_IEEEFP_H
64053 #include <ieeefp.h>
64054 #endif
64057 main ()
64059 fabsl(0);
64061 return 0;
64063 _ACEOF
64064 if ac_fn_cxx_try_compile "$LINENO"; then :
64065 glibcxx_cv_func_fabsl_use=yes
64066 else
64067 glibcxx_cv_func_fabsl_use=no
64069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64070 ac_ext=c
64071 ac_cpp='$CPP $CPPFLAGS'
64072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
64081 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
64083 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
64084 for ac_func in fabsl
64085 do :
64086 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
64087 if test "x$ac_cv_func_fabsl" = x""yes; then :
64088 cat >>confdefs.h <<_ACEOF
64089 #define HAVE_FABSL 1
64090 _ACEOF
64093 done
64095 else
64097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
64098 $as_echo_n "checking for _fabsl declaration... " >&6; }
64099 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
64100 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
64101 $as_echo_n "(cached) " >&6
64102 else
64105 ac_ext=cpp
64106 ac_cpp='$CXXCPP $CPPFLAGS'
64107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64112 /* end confdefs.h. */
64113 #include <math.h>
64114 #ifdef HAVE_IEEEFP_H
64115 #include <ieeefp.h>
64116 #endif
64119 main ()
64121 _fabsl(0);
64123 return 0;
64125 _ACEOF
64126 if ac_fn_cxx_try_compile "$LINENO"; then :
64127 glibcxx_cv_func__fabsl_use=yes
64128 else
64129 glibcxx_cv_func__fabsl_use=no
64131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64132 ac_ext=c
64133 ac_cpp='$CPP $CPPFLAGS'
64134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
64143 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
64145 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
64146 for ac_func in _fabsl
64147 do :
64148 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
64149 if test "x$ac_cv_func__fabsl" = x""yes; then :
64150 cat >>confdefs.h <<_ACEOF
64151 #define HAVE__FABSL 1
64152 _ACEOF
64155 done
64164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
64165 $as_echo_n "checking for fmodl declaration... " >&6; }
64166 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
64167 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
64168 $as_echo_n "(cached) " >&6
64169 else
64172 ac_ext=cpp
64173 ac_cpp='$CXXCPP $CPPFLAGS'
64174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64179 /* end confdefs.h. */
64180 #include <math.h>
64182 main ()
64184 fmodl(0, 0);
64186 return 0;
64188 _ACEOF
64189 if ac_fn_cxx_try_compile "$LINENO"; then :
64190 glibcxx_cv_func_fmodl_use=yes
64191 else
64192 glibcxx_cv_func_fmodl_use=no
64194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64195 ac_ext=c
64196 ac_cpp='$CPP $CPPFLAGS'
64197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
64206 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
64208 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
64209 for ac_func in fmodl
64210 do :
64211 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
64212 if test "x$ac_cv_func_fmodl" = x""yes; then :
64213 cat >>confdefs.h <<_ACEOF
64214 #define HAVE_FMODL 1
64215 _ACEOF
64218 done
64220 else
64222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
64223 $as_echo_n "checking for _fmodl declaration... " >&6; }
64224 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
64225 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
64226 $as_echo_n "(cached) " >&6
64227 else
64230 ac_ext=cpp
64231 ac_cpp='$CXXCPP $CPPFLAGS'
64232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64237 /* end confdefs.h. */
64238 #include <math.h>
64240 main ()
64242 _fmodl(0, 0);
64244 return 0;
64246 _ACEOF
64247 if ac_fn_cxx_try_compile "$LINENO"; then :
64248 glibcxx_cv_func__fmodl_use=yes
64249 else
64250 glibcxx_cv_func__fmodl_use=no
64252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64253 ac_ext=c
64254 ac_cpp='$CPP $CPPFLAGS'
64255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
64264 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
64266 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
64267 for ac_func in _fmodl
64268 do :
64269 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
64270 if test "x$ac_cv_func__fmodl" = x""yes; then :
64271 cat >>confdefs.h <<_ACEOF
64272 #define HAVE__FMODL 1
64273 _ACEOF
64276 done
64285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
64286 $as_echo_n "checking for frexpl declaration... " >&6; }
64287 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
64288 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
64289 $as_echo_n "(cached) " >&6
64290 else
64293 ac_ext=cpp
64294 ac_cpp='$CXXCPP $CPPFLAGS'
64295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64300 /* end confdefs.h. */
64301 #include <math.h>
64303 main ()
64305 frexpl(0, 0);
64307 return 0;
64309 _ACEOF
64310 if ac_fn_cxx_try_compile "$LINENO"; then :
64311 glibcxx_cv_func_frexpl_use=yes
64312 else
64313 glibcxx_cv_func_frexpl_use=no
64315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64316 ac_ext=c
64317 ac_cpp='$CPP $CPPFLAGS'
64318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
64327 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
64329 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
64330 for ac_func in frexpl
64331 do :
64332 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
64333 if test "x$ac_cv_func_frexpl" = x""yes; then :
64334 cat >>confdefs.h <<_ACEOF
64335 #define HAVE_FREXPL 1
64336 _ACEOF
64339 done
64341 else
64343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
64344 $as_echo_n "checking for _frexpl declaration... " >&6; }
64345 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
64346 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
64347 $as_echo_n "(cached) " >&6
64348 else
64351 ac_ext=cpp
64352 ac_cpp='$CXXCPP $CPPFLAGS'
64353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64358 /* end confdefs.h. */
64359 #include <math.h>
64361 main ()
64363 _frexpl(0, 0);
64365 return 0;
64367 _ACEOF
64368 if ac_fn_cxx_try_compile "$LINENO"; then :
64369 glibcxx_cv_func__frexpl_use=yes
64370 else
64371 glibcxx_cv_func__frexpl_use=no
64373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64374 ac_ext=c
64375 ac_cpp='$CPP $CPPFLAGS'
64376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
64385 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
64387 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
64388 for ac_func in _frexpl
64389 do :
64390 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
64391 if test "x$ac_cv_func__frexpl" = x""yes; then :
64392 cat >>confdefs.h <<_ACEOF
64393 #define HAVE__FREXPL 1
64394 _ACEOF
64397 done
64406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
64407 $as_echo_n "checking for hypotl declaration... " >&6; }
64408 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
64409 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
64410 $as_echo_n "(cached) " >&6
64411 else
64414 ac_ext=cpp
64415 ac_cpp='$CXXCPP $CPPFLAGS'
64416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64421 /* end confdefs.h. */
64422 #include <math.h>
64424 main ()
64426 hypotl(0, 0);
64428 return 0;
64430 _ACEOF
64431 if ac_fn_cxx_try_compile "$LINENO"; then :
64432 glibcxx_cv_func_hypotl_use=yes
64433 else
64434 glibcxx_cv_func_hypotl_use=no
64436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64437 ac_ext=c
64438 ac_cpp='$CPP $CPPFLAGS'
64439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
64448 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
64450 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
64451 for ac_func in hypotl
64452 do :
64453 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
64454 if test "x$ac_cv_func_hypotl" = x""yes; then :
64455 cat >>confdefs.h <<_ACEOF
64456 #define HAVE_HYPOTL 1
64457 _ACEOF
64460 done
64462 else
64464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
64465 $as_echo_n "checking for _hypotl declaration... " >&6; }
64466 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
64467 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
64468 $as_echo_n "(cached) " >&6
64469 else
64472 ac_ext=cpp
64473 ac_cpp='$CXXCPP $CPPFLAGS'
64474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64479 /* end confdefs.h. */
64480 #include <math.h>
64482 main ()
64484 _hypotl(0, 0);
64486 return 0;
64488 _ACEOF
64489 if ac_fn_cxx_try_compile "$LINENO"; then :
64490 glibcxx_cv_func__hypotl_use=yes
64491 else
64492 glibcxx_cv_func__hypotl_use=no
64494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64495 ac_ext=c
64496 ac_cpp='$CPP $CPPFLAGS'
64497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
64506 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
64508 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
64509 for ac_func in _hypotl
64510 do :
64511 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
64512 if test "x$ac_cv_func__hypotl" = x""yes; then :
64513 cat >>confdefs.h <<_ACEOF
64514 #define HAVE__HYPOTL 1
64515 _ACEOF
64518 done
64527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
64528 $as_echo_n "checking for ldexpl declaration... " >&6; }
64529 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
64530 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
64531 $as_echo_n "(cached) " >&6
64532 else
64535 ac_ext=cpp
64536 ac_cpp='$CXXCPP $CPPFLAGS'
64537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64542 /* end confdefs.h. */
64543 #include <math.h>
64545 main ()
64547 ldexpl(0, 0);
64549 return 0;
64551 _ACEOF
64552 if ac_fn_cxx_try_compile "$LINENO"; then :
64553 glibcxx_cv_func_ldexpl_use=yes
64554 else
64555 glibcxx_cv_func_ldexpl_use=no
64557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64558 ac_ext=c
64559 ac_cpp='$CPP $CPPFLAGS'
64560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
64569 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
64571 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
64572 for ac_func in ldexpl
64573 do :
64574 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
64575 if test "x$ac_cv_func_ldexpl" = x""yes; then :
64576 cat >>confdefs.h <<_ACEOF
64577 #define HAVE_LDEXPL 1
64578 _ACEOF
64581 done
64583 else
64585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
64586 $as_echo_n "checking for _ldexpl declaration... " >&6; }
64587 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
64588 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
64589 $as_echo_n "(cached) " >&6
64590 else
64593 ac_ext=cpp
64594 ac_cpp='$CXXCPP $CPPFLAGS'
64595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64600 /* end confdefs.h. */
64601 #include <math.h>
64603 main ()
64605 _ldexpl(0, 0);
64607 return 0;
64609 _ACEOF
64610 if ac_fn_cxx_try_compile "$LINENO"; then :
64611 glibcxx_cv_func__ldexpl_use=yes
64612 else
64613 glibcxx_cv_func__ldexpl_use=no
64615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64616 ac_ext=c
64617 ac_cpp='$CPP $CPPFLAGS'
64618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
64627 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
64629 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
64630 for ac_func in _ldexpl
64631 do :
64632 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
64633 if test "x$ac_cv_func__ldexpl" = x""yes; then :
64634 cat >>confdefs.h <<_ACEOF
64635 #define HAVE__LDEXPL 1
64636 _ACEOF
64639 done
64648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
64649 $as_echo_n "checking for logl declaration... " >&6; }
64650 if test x${glibcxx_cv_func_logl_use+set} != xset; then
64651 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
64652 $as_echo_n "(cached) " >&6
64653 else
64656 ac_ext=cpp
64657 ac_cpp='$CXXCPP $CPPFLAGS'
64658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64663 /* end confdefs.h. */
64664 #include <math.h>
64665 #ifdef HAVE_IEEEFP_H
64666 #include <ieeefp.h>
64667 #endif
64670 main ()
64672 logl(0);
64674 return 0;
64676 _ACEOF
64677 if ac_fn_cxx_try_compile "$LINENO"; then :
64678 glibcxx_cv_func_logl_use=yes
64679 else
64680 glibcxx_cv_func_logl_use=no
64682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64683 ac_ext=c
64684 ac_cpp='$CPP $CPPFLAGS'
64685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
64694 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
64696 if test x$glibcxx_cv_func_logl_use = x"yes"; then
64697 for ac_func in logl
64698 do :
64699 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
64700 if test "x$ac_cv_func_logl" = x""yes; then :
64701 cat >>confdefs.h <<_ACEOF
64702 #define HAVE_LOGL 1
64703 _ACEOF
64706 done
64708 else
64710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
64711 $as_echo_n "checking for _logl declaration... " >&6; }
64712 if test x${glibcxx_cv_func__logl_use+set} != xset; then
64713 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
64714 $as_echo_n "(cached) " >&6
64715 else
64718 ac_ext=cpp
64719 ac_cpp='$CXXCPP $CPPFLAGS'
64720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64725 /* end confdefs.h. */
64726 #include <math.h>
64727 #ifdef HAVE_IEEEFP_H
64728 #include <ieeefp.h>
64729 #endif
64732 main ()
64734 _logl(0);
64736 return 0;
64738 _ACEOF
64739 if ac_fn_cxx_try_compile "$LINENO"; then :
64740 glibcxx_cv_func__logl_use=yes
64741 else
64742 glibcxx_cv_func__logl_use=no
64744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64745 ac_ext=c
64746 ac_cpp='$CPP $CPPFLAGS'
64747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
64756 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
64758 if test x$glibcxx_cv_func__logl_use = x"yes"; then
64759 for ac_func in _logl
64760 do :
64761 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
64762 if test "x$ac_cv_func__logl" = x""yes; then :
64763 cat >>confdefs.h <<_ACEOF
64764 #define HAVE__LOGL 1
64765 _ACEOF
64768 done
64777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
64778 $as_echo_n "checking for log10l declaration... " >&6; }
64779 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
64780 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
64781 $as_echo_n "(cached) " >&6
64782 else
64785 ac_ext=cpp
64786 ac_cpp='$CXXCPP $CPPFLAGS'
64787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64792 /* end confdefs.h. */
64793 #include <math.h>
64794 #ifdef HAVE_IEEEFP_H
64795 #include <ieeefp.h>
64796 #endif
64799 main ()
64801 log10l(0);
64803 return 0;
64805 _ACEOF
64806 if ac_fn_cxx_try_compile "$LINENO"; then :
64807 glibcxx_cv_func_log10l_use=yes
64808 else
64809 glibcxx_cv_func_log10l_use=no
64811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64812 ac_ext=c
64813 ac_cpp='$CPP $CPPFLAGS'
64814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
64823 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
64825 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
64826 for ac_func in log10l
64827 do :
64828 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
64829 if test "x$ac_cv_func_log10l" = x""yes; then :
64830 cat >>confdefs.h <<_ACEOF
64831 #define HAVE_LOG10L 1
64832 _ACEOF
64835 done
64837 else
64839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
64840 $as_echo_n "checking for _log10l declaration... " >&6; }
64841 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
64842 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
64843 $as_echo_n "(cached) " >&6
64844 else
64847 ac_ext=cpp
64848 ac_cpp='$CXXCPP $CPPFLAGS'
64849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64854 /* end confdefs.h. */
64855 #include <math.h>
64856 #ifdef HAVE_IEEEFP_H
64857 #include <ieeefp.h>
64858 #endif
64861 main ()
64863 _log10l(0);
64865 return 0;
64867 _ACEOF
64868 if ac_fn_cxx_try_compile "$LINENO"; then :
64869 glibcxx_cv_func__log10l_use=yes
64870 else
64871 glibcxx_cv_func__log10l_use=no
64873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64874 ac_ext=c
64875 ac_cpp='$CPP $CPPFLAGS'
64876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
64885 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
64887 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
64888 for ac_func in _log10l
64889 do :
64890 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
64891 if test "x$ac_cv_func__log10l" = x""yes; then :
64892 cat >>confdefs.h <<_ACEOF
64893 #define HAVE__LOG10L 1
64894 _ACEOF
64897 done
64906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
64907 $as_echo_n "checking for modfl declaration... " >&6; }
64908 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
64909 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
64910 $as_echo_n "(cached) " >&6
64911 else
64914 ac_ext=cpp
64915 ac_cpp='$CXXCPP $CPPFLAGS'
64916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64921 /* end confdefs.h. */
64922 #include <math.h>
64924 main ()
64926 modfl(0, 0);
64928 return 0;
64930 _ACEOF
64931 if ac_fn_cxx_try_compile "$LINENO"; then :
64932 glibcxx_cv_func_modfl_use=yes
64933 else
64934 glibcxx_cv_func_modfl_use=no
64936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64937 ac_ext=c
64938 ac_cpp='$CPP $CPPFLAGS'
64939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
64948 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
64950 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
64951 for ac_func in modfl
64952 do :
64953 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
64954 if test "x$ac_cv_func_modfl" = x""yes; then :
64955 cat >>confdefs.h <<_ACEOF
64956 #define HAVE_MODFL 1
64957 _ACEOF
64960 done
64962 else
64964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
64965 $as_echo_n "checking for _modfl declaration... " >&6; }
64966 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
64967 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
64968 $as_echo_n "(cached) " >&6
64969 else
64972 ac_ext=cpp
64973 ac_cpp='$CXXCPP $CPPFLAGS'
64974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64979 /* end confdefs.h. */
64980 #include <math.h>
64982 main ()
64984 _modfl(0, 0);
64986 return 0;
64988 _ACEOF
64989 if ac_fn_cxx_try_compile "$LINENO"; then :
64990 glibcxx_cv_func__modfl_use=yes
64991 else
64992 glibcxx_cv_func__modfl_use=no
64994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64995 ac_ext=c
64996 ac_cpp='$CPP $CPPFLAGS'
64997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
65006 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
65008 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
65009 for ac_func in _modfl
65010 do :
65011 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
65012 if test "x$ac_cv_func__modfl" = x""yes; then :
65013 cat >>confdefs.h <<_ACEOF
65014 #define HAVE__MODFL 1
65015 _ACEOF
65018 done
65027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
65028 $as_echo_n "checking for powl declaration... " >&6; }
65029 if test x${glibcxx_cv_func_powl_use+set} != xset; then
65030 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
65031 $as_echo_n "(cached) " >&6
65032 else
65035 ac_ext=cpp
65036 ac_cpp='$CXXCPP $CPPFLAGS'
65037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65042 /* end confdefs.h. */
65043 #include <math.h>
65045 main ()
65047 powl(0, 0);
65049 return 0;
65051 _ACEOF
65052 if ac_fn_cxx_try_compile "$LINENO"; then :
65053 glibcxx_cv_func_powl_use=yes
65054 else
65055 glibcxx_cv_func_powl_use=no
65057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65058 ac_ext=c
65059 ac_cpp='$CPP $CPPFLAGS'
65060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
65069 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
65071 if test x$glibcxx_cv_func_powl_use = x"yes"; then
65072 for ac_func in powl
65073 do :
65074 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
65075 if test "x$ac_cv_func_powl" = x""yes; then :
65076 cat >>confdefs.h <<_ACEOF
65077 #define HAVE_POWL 1
65078 _ACEOF
65081 done
65083 else
65085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
65086 $as_echo_n "checking for _powl declaration... " >&6; }
65087 if test x${glibcxx_cv_func__powl_use+set} != xset; then
65088 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
65089 $as_echo_n "(cached) " >&6
65090 else
65093 ac_ext=cpp
65094 ac_cpp='$CXXCPP $CPPFLAGS'
65095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65100 /* end confdefs.h. */
65101 #include <math.h>
65103 main ()
65105 _powl(0, 0);
65107 return 0;
65109 _ACEOF
65110 if ac_fn_cxx_try_compile "$LINENO"; then :
65111 glibcxx_cv_func__powl_use=yes
65112 else
65113 glibcxx_cv_func__powl_use=no
65115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65116 ac_ext=c
65117 ac_cpp='$CPP $CPPFLAGS'
65118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
65127 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
65129 if test x$glibcxx_cv_func__powl_use = x"yes"; then
65130 for ac_func in _powl
65131 do :
65132 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
65133 if test "x$ac_cv_func__powl" = x""yes; then :
65134 cat >>confdefs.h <<_ACEOF
65135 #define HAVE__POWL 1
65136 _ACEOF
65139 done
65148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
65149 $as_echo_n "checking for sqrtl declaration... " >&6; }
65150 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
65151 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
65152 $as_echo_n "(cached) " >&6
65153 else
65156 ac_ext=cpp
65157 ac_cpp='$CXXCPP $CPPFLAGS'
65158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65163 /* end confdefs.h. */
65164 #include <math.h>
65165 #ifdef HAVE_IEEEFP_H
65166 #include <ieeefp.h>
65167 #endif
65170 main ()
65172 sqrtl(0);
65174 return 0;
65176 _ACEOF
65177 if ac_fn_cxx_try_compile "$LINENO"; then :
65178 glibcxx_cv_func_sqrtl_use=yes
65179 else
65180 glibcxx_cv_func_sqrtl_use=no
65182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65183 ac_ext=c
65184 ac_cpp='$CPP $CPPFLAGS'
65185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
65194 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
65196 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
65197 for ac_func in sqrtl
65198 do :
65199 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
65200 if test "x$ac_cv_func_sqrtl" = x""yes; then :
65201 cat >>confdefs.h <<_ACEOF
65202 #define HAVE_SQRTL 1
65203 _ACEOF
65206 done
65208 else
65210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
65211 $as_echo_n "checking for _sqrtl declaration... " >&6; }
65212 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
65213 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
65214 $as_echo_n "(cached) " >&6
65215 else
65218 ac_ext=cpp
65219 ac_cpp='$CXXCPP $CPPFLAGS'
65220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65225 /* end confdefs.h. */
65226 #include <math.h>
65227 #ifdef HAVE_IEEEFP_H
65228 #include <ieeefp.h>
65229 #endif
65232 main ()
65234 _sqrtl(0);
65236 return 0;
65238 _ACEOF
65239 if ac_fn_cxx_try_compile "$LINENO"; then :
65240 glibcxx_cv_func__sqrtl_use=yes
65241 else
65242 glibcxx_cv_func__sqrtl_use=no
65244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65245 ac_ext=c
65246 ac_cpp='$CPP $CPPFLAGS'
65247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
65256 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
65258 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
65259 for ac_func in _sqrtl
65260 do :
65261 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
65262 if test "x$ac_cv_func__sqrtl" = x""yes; then :
65263 cat >>confdefs.h <<_ACEOF
65264 #define HAVE__SQRTL 1
65265 _ACEOF
65268 done
65277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
65278 $as_echo_n "checking for sincosl declaration... " >&6; }
65279 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
65280 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
65281 $as_echo_n "(cached) " >&6
65282 else
65285 ac_ext=cpp
65286 ac_cpp='$CXXCPP $CPPFLAGS'
65287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65292 /* end confdefs.h. */
65293 #include <math.h>
65295 main ()
65297 sincosl(0, 0, 0);
65299 return 0;
65301 _ACEOF
65302 if ac_fn_cxx_try_compile "$LINENO"; then :
65303 glibcxx_cv_func_sincosl_use=yes
65304 else
65305 glibcxx_cv_func_sincosl_use=no
65307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65308 ac_ext=c
65309 ac_cpp='$CPP $CPPFLAGS'
65310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
65319 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
65321 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
65322 for ac_func in sincosl
65323 do :
65324 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
65325 if test "x$ac_cv_func_sincosl" = x""yes; then :
65326 cat >>confdefs.h <<_ACEOF
65327 #define HAVE_SINCOSL 1
65328 _ACEOF
65331 done
65333 else
65335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
65336 $as_echo_n "checking for _sincosl declaration... " >&6; }
65337 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
65338 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
65339 $as_echo_n "(cached) " >&6
65340 else
65343 ac_ext=cpp
65344 ac_cpp='$CXXCPP $CPPFLAGS'
65345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65350 /* end confdefs.h. */
65351 #include <math.h>
65353 main ()
65355 _sincosl(0, 0, 0);
65357 return 0;
65359 _ACEOF
65360 if ac_fn_cxx_try_compile "$LINENO"; then :
65361 glibcxx_cv_func__sincosl_use=yes
65362 else
65363 glibcxx_cv_func__sincosl_use=no
65365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65366 ac_ext=c
65367 ac_cpp='$CPP $CPPFLAGS'
65368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
65377 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
65379 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
65380 for ac_func in _sincosl
65381 do :
65382 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
65383 if test "x$ac_cv_func__sincosl" = x""yes; then :
65384 cat >>confdefs.h <<_ACEOF
65385 #define HAVE__SINCOSL 1
65386 _ACEOF
65389 done
65398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
65399 $as_echo_n "checking for finitel declaration... " >&6; }
65400 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
65401 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
65402 $as_echo_n "(cached) " >&6
65403 else
65406 ac_ext=cpp
65407 ac_cpp='$CXXCPP $CPPFLAGS'
65408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65413 /* end confdefs.h. */
65414 #include <math.h>
65415 #ifdef HAVE_IEEEFP_H
65416 #include <ieeefp.h>
65417 #endif
65420 main ()
65422 finitel(0);
65424 return 0;
65426 _ACEOF
65427 if ac_fn_cxx_try_compile "$LINENO"; then :
65428 glibcxx_cv_func_finitel_use=yes
65429 else
65430 glibcxx_cv_func_finitel_use=no
65432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65433 ac_ext=c
65434 ac_cpp='$CPP $CPPFLAGS'
65435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
65444 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
65446 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
65447 for ac_func in finitel
65448 do :
65449 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
65450 if test "x$ac_cv_func_finitel" = x""yes; then :
65451 cat >>confdefs.h <<_ACEOF
65452 #define HAVE_FINITEL 1
65453 _ACEOF
65456 done
65458 else
65460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
65461 $as_echo_n "checking for _finitel declaration... " >&6; }
65462 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
65463 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
65464 $as_echo_n "(cached) " >&6
65465 else
65468 ac_ext=cpp
65469 ac_cpp='$CXXCPP $CPPFLAGS'
65470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65475 /* end confdefs.h. */
65476 #include <math.h>
65477 #ifdef HAVE_IEEEFP_H
65478 #include <ieeefp.h>
65479 #endif
65482 main ()
65484 _finitel(0);
65486 return 0;
65488 _ACEOF
65489 if ac_fn_cxx_try_compile "$LINENO"; then :
65490 glibcxx_cv_func__finitel_use=yes
65491 else
65492 glibcxx_cv_func__finitel_use=no
65494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65495 ac_ext=c
65496 ac_cpp='$CPP $CPPFLAGS'
65497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
65506 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
65508 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
65509 for ac_func in _finitel
65510 do :
65511 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
65512 if test "x$ac_cv_func__finitel" = x""yes; then :
65513 cat >>confdefs.h <<_ACEOF
65514 #define HAVE__FINITEL 1
65515 _ACEOF
65518 done
65526 LIBS="$ac_save_LIBS"
65527 CXXFLAGS="$ac_save_CXXFLAGS"
65530 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65531 ac_save_CXXFLAGS="$CXXFLAGS"
65532 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
65536 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
65537 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
65538 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
65539 $as_echo_n "(cached) " >&6
65540 else
65543 ac_ext=cpp
65544 ac_cpp='$CXXCPP $CPPFLAGS'
65545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65550 /* end confdefs.h. */
65551 #include <stdlib.h>
65553 main ()
65555 at_quick_exit(0);
65557 return 0;
65559 _ACEOF
65560 if ac_fn_cxx_try_compile "$LINENO"; then :
65561 glibcxx_cv_func_at_quick_exit_use=yes
65562 else
65563 glibcxx_cv_func_at_quick_exit_use=no
65565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65566 ac_ext=c
65567 ac_cpp='$CPP $CPPFLAGS'
65568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
65577 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
65578 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
65579 for ac_func in at_quick_exit
65580 do :
65581 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
65582 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
65583 cat >>confdefs.h <<_ACEOF
65584 #define HAVE_AT_QUICK_EXIT 1
65585 _ACEOF
65588 done
65593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
65594 $as_echo_n "checking for quick_exit declaration... " >&6; }
65595 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
65596 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
65597 $as_echo_n "(cached) " >&6
65598 else
65601 ac_ext=cpp
65602 ac_cpp='$CXXCPP $CPPFLAGS'
65603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65608 /* end confdefs.h. */
65609 #include <stdlib.h>
65611 main ()
65613 quick_exit(0);
65615 return 0;
65617 _ACEOF
65618 if ac_fn_cxx_try_compile "$LINENO"; then :
65619 glibcxx_cv_func_quick_exit_use=yes
65620 else
65621 glibcxx_cv_func_quick_exit_use=no
65623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65624 ac_ext=c
65625 ac_cpp='$CPP $CPPFLAGS'
65626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
65635 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
65636 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
65637 for ac_func in quick_exit
65638 do :
65639 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
65640 if test "x$ac_cv_func_quick_exit" = x""yes; then :
65641 cat >>confdefs.h <<_ACEOF
65642 #define HAVE_QUICK_EXIT 1
65643 _ACEOF
65646 done
65651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
65652 $as_echo_n "checking for strtold declaration... " >&6; }
65653 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
65654 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
65655 $as_echo_n "(cached) " >&6
65656 else
65659 ac_ext=cpp
65660 ac_cpp='$CXXCPP $CPPFLAGS'
65661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65666 /* end confdefs.h. */
65667 #include <stdlib.h>
65669 main ()
65671 strtold(0, 0);
65673 return 0;
65675 _ACEOF
65676 if ac_fn_cxx_try_compile "$LINENO"; then :
65677 glibcxx_cv_func_strtold_use=yes
65678 else
65679 glibcxx_cv_func_strtold_use=no
65681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65682 ac_ext=c
65683 ac_cpp='$CPP $CPPFLAGS'
65684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
65693 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
65694 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
65695 for ac_func in strtold
65696 do :
65697 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
65698 if test "x$ac_cv_func_strtold" = x""yes; then :
65699 cat >>confdefs.h <<_ACEOF
65700 #define HAVE_STRTOLD 1
65701 _ACEOF
65704 done
65711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
65712 $as_echo_n "checking for strtof declaration... " >&6; }
65713 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
65714 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
65715 $as_echo_n "(cached) " >&6
65716 else
65719 ac_ext=cpp
65720 ac_cpp='$CXXCPP $CPPFLAGS'
65721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65726 /* end confdefs.h. */
65727 #include <stdlib.h>
65729 main ()
65731 strtof(0, 0);
65733 return 0;
65735 _ACEOF
65736 if ac_fn_cxx_try_compile "$LINENO"; then :
65737 glibcxx_cv_func_strtof_use=yes
65738 else
65739 glibcxx_cv_func_strtof_use=no
65741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65742 ac_ext=c
65743 ac_cpp='$CPP $CPPFLAGS'
65744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
65753 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
65754 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
65755 for ac_func in strtof
65756 do :
65757 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
65758 if test "x$ac_cv_func_strtof" = x""yes; then :
65759 cat >>confdefs.h <<_ACEOF
65760 #define HAVE_STRTOF 1
65761 _ACEOF
65764 done
65771 CXXFLAGS="$ac_save_CXXFLAGS"
65774 *-netbsd*)
65775 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65778 # If we're not using GNU ld, then there's no point in even trying these
65779 # tests. Check for that first. We should have already tested for gld
65780 # by now (in libtool), but require it now just to be safe...
65781 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65782 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65786 # The name set by libtool depends on the version of libtool. Shame on us
65787 # for depending on an impl detail, but c'est la vie. Older versions used
65788 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65789 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65790 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65791 # set (hence we're using an older libtool), then set it.
65792 if test x${with_gnu_ld+set} != xset; then
65793 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65794 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65795 with_gnu_ld=no
65796 else
65797 with_gnu_ld=$ac_cv_prog_gnu_ld
65801 # Start by getting the version number. I think the libtool test already
65802 # does some of this, but throws away the result.
65803 glibcxx_ld_is_gold=no
65804 if test x"$with_gnu_ld" = x"yes"; then
65805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65806 $as_echo_n "checking for ld version... " >&6; }
65808 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65809 glibcxx_ld_is_gold=yes
65811 ldver=`$LD --version 2>/dev/null |
65812 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'`
65814 glibcxx_gnu_ld_version=`echo $ldver | \
65815 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65817 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65820 # Set --gc-sections.
65821 glibcxx_have_gc_sections=no
65822 if test "$glibcxx_ld_is_gold" = "yes"; then
65823 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65824 glibcxx_have_gc_sections=yes
65826 else
65827 glibcxx_gcsections_min_ld=21602
65828 if test x"$with_gnu_ld" = x"yes" &&
65829 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65830 glibcxx_have_gc_sections=yes
65833 if test "$glibcxx_have_gc_sections" = "yes"; then
65834 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65835 # NB: This flag only works reliably after 2.16.1. Configure tests
65836 # for this are difficult, so hard wire a value that should work.
65838 ac_test_CFLAGS="${CFLAGS+set}"
65839 ac_save_CFLAGS="$CFLAGS"
65840 CFLAGS='-Wl,--gc-sections'
65842 # Check for -Wl,--gc-sections
65843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65844 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65845 if test x$gcc_no_link = xyes; then
65846 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65849 /* end confdefs.h. */
65850 int one(void) { return 1; }
65851 int two(void) { return 2; }
65854 main ()
65856 two();
65858 return 0;
65860 _ACEOF
65861 if ac_fn_c_try_link "$LINENO"; then :
65862 ac_gcsections=yes
65863 else
65864 ac_gcsections=no
65866 rm -f core conftest.err conftest.$ac_objext \
65867 conftest$ac_exeext conftest.$ac_ext
65868 if test "$ac_gcsections" = "yes"; then
65869 rm -f conftest.c
65870 touch conftest.c
65871 if $CC -c conftest.c; then
65872 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65873 grep "Warning: gc-sections option ignored" > /dev/null; then
65874 ac_gcsections=no
65877 rm -f conftest.c conftest.o conftest
65879 if test "$ac_gcsections" = "yes"; then
65880 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65883 $as_echo "$ac_gcsections" >&6; }
65885 if test "$ac_test_CFLAGS" = set; then
65886 CFLAGS="$ac_save_CFLAGS"
65887 else
65888 # this is the suspicious part
65889 CFLAGS=''
65893 # Set -z,relro.
65894 # Note this is only for shared objects.
65895 ac_ld_relro=no
65896 if test x"$with_gnu_ld" = x"yes"; then
65897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65898 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65899 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65900 if test -n "$cxx_z_relo"; then
65901 OPT_LDFLAGS="-Wl,-z,relro"
65902 ac_ld_relro=yes
65904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65905 $as_echo "$ac_ld_relro" >&6; }
65908 # Set linker optimization flags.
65909 if test x"$with_gnu_ld" = x"yes"; then
65910 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65916 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
65918 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
65920 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
65922 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
65924 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
65926 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
65928 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
65930 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
65932 if test x"long_double_math_on_this_cpu" = x"yes"; then
65933 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
65935 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
65937 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
65941 *-qnx6.1* | *-qnx6.2*)
65942 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65945 # If we're not using GNU ld, then there's no point in even trying these
65946 # tests. Check for that first. We should have already tested for gld
65947 # by now (in libtool), but require it now just to be safe...
65948 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65949 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65953 # The name set by libtool depends on the version of libtool. Shame on us
65954 # for depending on an impl detail, but c'est la vie. Older versions used
65955 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65956 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65957 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65958 # set (hence we're using an older libtool), then set it.
65959 if test x${with_gnu_ld+set} != xset; then
65960 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65961 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65962 with_gnu_ld=no
65963 else
65964 with_gnu_ld=$ac_cv_prog_gnu_ld
65968 # Start by getting the version number. I think the libtool test already
65969 # does some of this, but throws away the result.
65970 glibcxx_ld_is_gold=no
65971 if test x"$with_gnu_ld" = x"yes"; then
65972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65973 $as_echo_n "checking for ld version... " >&6; }
65975 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65976 glibcxx_ld_is_gold=yes
65978 ldver=`$LD --version 2>/dev/null |
65979 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'`
65981 glibcxx_gnu_ld_version=`echo $ldver | \
65982 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65984 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65987 # Set --gc-sections.
65988 glibcxx_have_gc_sections=no
65989 if test "$glibcxx_ld_is_gold" = "yes"; then
65990 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65991 glibcxx_have_gc_sections=yes
65993 else
65994 glibcxx_gcsections_min_ld=21602
65995 if test x"$with_gnu_ld" = x"yes" &&
65996 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65997 glibcxx_have_gc_sections=yes
66000 if test "$glibcxx_have_gc_sections" = "yes"; then
66001 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66002 # NB: This flag only works reliably after 2.16.1. Configure tests
66003 # for this are difficult, so hard wire a value that should work.
66005 ac_test_CFLAGS="${CFLAGS+set}"
66006 ac_save_CFLAGS="$CFLAGS"
66007 CFLAGS='-Wl,--gc-sections'
66009 # Check for -Wl,--gc-sections
66010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66011 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66012 if test x$gcc_no_link = xyes; then
66013 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66016 /* end confdefs.h. */
66017 int one(void) { return 1; }
66018 int two(void) { return 2; }
66021 main ()
66023 two();
66025 return 0;
66027 _ACEOF
66028 if ac_fn_c_try_link "$LINENO"; then :
66029 ac_gcsections=yes
66030 else
66031 ac_gcsections=no
66033 rm -f core conftest.err conftest.$ac_objext \
66034 conftest$ac_exeext conftest.$ac_ext
66035 if test "$ac_gcsections" = "yes"; then
66036 rm -f conftest.c
66037 touch conftest.c
66038 if $CC -c conftest.c; then
66039 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66040 grep "Warning: gc-sections option ignored" > /dev/null; then
66041 ac_gcsections=no
66044 rm -f conftest.c conftest.o conftest
66046 if test "$ac_gcsections" = "yes"; then
66047 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66050 $as_echo "$ac_gcsections" >&6; }
66052 if test "$ac_test_CFLAGS" = set; then
66053 CFLAGS="$ac_save_CFLAGS"
66054 else
66055 # this is the suspicious part
66056 CFLAGS=''
66060 # Set -z,relro.
66061 # Note this is only for shared objects.
66062 ac_ld_relro=no
66063 if test x"$with_gnu_ld" = x"yes"; then
66064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66065 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66066 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66067 if test -n "$cxx_z_relo"; then
66068 OPT_LDFLAGS="-Wl,-z,relro"
66069 ac_ld_relro=yes
66071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66072 $as_echo "$ac_ld_relro" >&6; }
66075 # Set linker optimization flags.
66076 if test x"$with_gnu_ld" = x"yes"; then
66077 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66083 $as_echo "#define HAVE_COSF 1" >>confdefs.h
66085 $as_echo "#define HAVE_COSL 1" >>confdefs.h
66087 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
66089 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
66091 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
66093 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
66095 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
66097 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
66099 $as_echo "#define HAVE_SINF 1" >>confdefs.h
66101 $as_echo "#define HAVE_SINL 1" >>confdefs.h
66103 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
66105 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
66108 *-rtems*)
66110 # All these tests are for C++; save the language and the compiler flags.
66111 # The CXXFLAGS thing is suspicious, but based on similar bits previously
66112 # found in GLIBCXX_CONFIGURE.
66114 ac_ext=cpp
66115 ac_cpp='$CXXCPP $CPPFLAGS'
66116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66120 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66121 ac_save_CXXFLAGS="$CXXFLAGS"
66123 # Check for maintainer-mode bits.
66124 if test x"$USE_MAINTAINER_MODE" = xno; then
66125 WERROR=''
66126 else
66127 WERROR='-Werror'
66130 # Check for -ffunction-sections -fdata-sections
66131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
66132 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
66133 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
66134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66135 /* end confdefs.h. */
66136 int foo; void bar() { };
66138 main ()
66142 return 0;
66144 _ACEOF
66145 if ac_fn_cxx_try_compile "$LINENO"; then :
66146 ac_fdsections=yes
66147 else
66148 ac_fdsections=no
66150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66151 if test "$ac_test_CXXFLAGS" = set; then
66152 CXXFLAGS="$ac_save_CXXFLAGS"
66153 else
66154 # this is the suspicious part
66155 CXXFLAGS=''
66157 if test x"$ac_fdsections" = x"yes"; then
66158 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
66161 $as_echo "$ac_fdsections" >&6; }
66163 ac_ext=c
66164 ac_cpp='$CPP $CPPFLAGS'
66165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66173 # If we're not using GNU ld, then there's no point in even trying these
66174 # tests. Check for that first. We should have already tested for gld
66175 # by now (in libtool), but require it now just to be safe...
66176 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66177 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66181 # The name set by libtool depends on the version of libtool. Shame on us
66182 # for depending on an impl detail, but c'est la vie. Older versions used
66183 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66184 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66185 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66186 # set (hence we're using an older libtool), then set it.
66187 if test x${with_gnu_ld+set} != xset; then
66188 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66189 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66190 with_gnu_ld=no
66191 else
66192 with_gnu_ld=$ac_cv_prog_gnu_ld
66196 # Start by getting the version number. I think the libtool test already
66197 # does some of this, but throws away the result.
66198 glibcxx_ld_is_gold=no
66199 if test x"$with_gnu_ld" = x"yes"; then
66200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66201 $as_echo_n "checking for ld version... " >&6; }
66203 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66204 glibcxx_ld_is_gold=yes
66206 ldver=`$LD --version 2>/dev/null |
66207 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'`
66209 glibcxx_gnu_ld_version=`echo $ldver | \
66210 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66212 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66215 # Set --gc-sections.
66216 glibcxx_have_gc_sections=no
66217 if test "$glibcxx_ld_is_gold" = "yes"; then
66218 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66219 glibcxx_have_gc_sections=yes
66221 else
66222 glibcxx_gcsections_min_ld=21602
66223 if test x"$with_gnu_ld" = x"yes" &&
66224 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66225 glibcxx_have_gc_sections=yes
66228 if test "$glibcxx_have_gc_sections" = "yes"; then
66229 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66230 # NB: This flag only works reliably after 2.16.1. Configure tests
66231 # for this are difficult, so hard wire a value that should work.
66233 ac_test_CFLAGS="${CFLAGS+set}"
66234 ac_save_CFLAGS="$CFLAGS"
66235 CFLAGS='-Wl,--gc-sections'
66237 # Check for -Wl,--gc-sections
66238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66239 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66240 if test x$gcc_no_link = xyes; then
66241 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66244 /* end confdefs.h. */
66245 int one(void) { return 1; }
66246 int two(void) { return 2; }
66249 main ()
66251 two();
66253 return 0;
66255 _ACEOF
66256 if ac_fn_c_try_link "$LINENO"; then :
66257 ac_gcsections=yes
66258 else
66259 ac_gcsections=no
66261 rm -f core conftest.err conftest.$ac_objext \
66262 conftest$ac_exeext conftest.$ac_ext
66263 if test "$ac_gcsections" = "yes"; then
66264 rm -f conftest.c
66265 touch conftest.c
66266 if $CC -c conftest.c; then
66267 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66268 grep "Warning: gc-sections option ignored" > /dev/null; then
66269 ac_gcsections=no
66272 rm -f conftest.c conftest.o conftest
66274 if test "$ac_gcsections" = "yes"; then
66275 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66278 $as_echo "$ac_gcsections" >&6; }
66280 if test "$ac_test_CFLAGS" = set; then
66281 CFLAGS="$ac_save_CFLAGS"
66282 else
66283 # this is the suspicious part
66284 CFLAGS=''
66288 # Set -z,relro.
66289 # Note this is only for shared objects.
66290 ac_ld_relro=no
66291 if test x"$with_gnu_ld" = x"yes"; then
66292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66293 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66294 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66295 if test -n "$cxx_z_relo"; then
66296 OPT_LDFLAGS="-Wl,-z,relro"
66297 ac_ld_relro=yes
66299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66300 $as_echo "$ac_ld_relro" >&6; }
66303 # Set linker optimization flags.
66304 if test x"$with_gnu_ld" = x"yes"; then
66305 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66312 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66313 ac_save_CXXFLAGS="$CXXFLAGS"
66314 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66317 $as_echo_n "checking for sin in -lm... " >&6; }
66318 if test "${ac_cv_lib_m_sin+set}" = set; then :
66319 $as_echo_n "(cached) " >&6
66320 else
66321 ac_check_lib_save_LIBS=$LIBS
66322 LIBS="-lm $LIBS"
66323 if test x$gcc_no_link = xyes; then
66324 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66327 /* end confdefs.h. */
66329 /* Override any GCC internal prototype to avoid an error.
66330 Use char because int might match the return type of a GCC
66331 builtin and then its argument prototype would still apply. */
66332 #ifdef __cplusplus
66333 extern "C"
66334 #endif
66335 char sin ();
66337 main ()
66339 return sin ();
66341 return 0;
66343 _ACEOF
66344 if ac_fn_c_try_link "$LINENO"; then :
66345 ac_cv_lib_m_sin=yes
66346 else
66347 ac_cv_lib_m_sin=no
66349 rm -f core conftest.err conftest.$ac_objext \
66350 conftest$ac_exeext conftest.$ac_ext
66351 LIBS=$ac_check_lib_save_LIBS
66353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66354 $as_echo "$ac_cv_lib_m_sin" >&6; }
66355 if test "x$ac_cv_lib_m_sin" = x""yes; then :
66356 libm="-lm"
66359 ac_save_LIBS="$LIBS"
66360 LIBS="$LIBS $libm"
66364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
66365 $as_echo_n "checking for isinf declaration... " >&6; }
66366 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66367 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
66368 $as_echo_n "(cached) " >&6
66369 else
66372 ac_ext=cpp
66373 ac_cpp='$CXXCPP $CPPFLAGS'
66374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66379 /* end confdefs.h. */
66380 #include <math.h>
66381 #ifdef HAVE_IEEEFP_H
66382 #include <ieeefp.h>
66383 #endif
66386 main ()
66388 isinf(0);
66390 return 0;
66392 _ACEOF
66393 if ac_fn_cxx_try_compile "$LINENO"; then :
66394 glibcxx_cv_func_isinf_use=yes
66395 else
66396 glibcxx_cv_func_isinf_use=no
66398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66399 ac_ext=c
66400 ac_cpp='$CPP $CPPFLAGS'
66401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
66410 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
66412 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
66413 for ac_func in isinf
66414 do :
66415 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
66416 if test "x$ac_cv_func_isinf" = x""yes; then :
66417 cat >>confdefs.h <<_ACEOF
66418 #define HAVE_ISINF 1
66419 _ACEOF
66422 done
66424 else
66426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
66427 $as_echo_n "checking for _isinf declaration... " >&6; }
66428 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
66429 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
66430 $as_echo_n "(cached) " >&6
66431 else
66434 ac_ext=cpp
66435 ac_cpp='$CXXCPP $CPPFLAGS'
66436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66441 /* end confdefs.h. */
66442 #include <math.h>
66443 #ifdef HAVE_IEEEFP_H
66444 #include <ieeefp.h>
66445 #endif
66448 main ()
66450 _isinf(0);
66452 return 0;
66454 _ACEOF
66455 if ac_fn_cxx_try_compile "$LINENO"; then :
66456 glibcxx_cv_func__isinf_use=yes
66457 else
66458 glibcxx_cv_func__isinf_use=no
66460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66461 ac_ext=c
66462 ac_cpp='$CPP $CPPFLAGS'
66463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
66472 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
66474 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
66475 for ac_func in _isinf
66476 do :
66477 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
66478 if test "x$ac_cv_func__isinf" = x""yes; then :
66479 cat >>confdefs.h <<_ACEOF
66480 #define HAVE__ISINF 1
66481 _ACEOF
66484 done
66493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
66494 $as_echo_n "checking for isnan declaration... " >&6; }
66495 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
66496 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
66497 $as_echo_n "(cached) " >&6
66498 else
66501 ac_ext=cpp
66502 ac_cpp='$CXXCPP $CPPFLAGS'
66503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66508 /* end confdefs.h. */
66509 #include <math.h>
66510 #ifdef HAVE_IEEEFP_H
66511 #include <ieeefp.h>
66512 #endif
66515 main ()
66517 isnan(0);
66519 return 0;
66521 _ACEOF
66522 if ac_fn_cxx_try_compile "$LINENO"; then :
66523 glibcxx_cv_func_isnan_use=yes
66524 else
66525 glibcxx_cv_func_isnan_use=no
66527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66528 ac_ext=c
66529 ac_cpp='$CPP $CPPFLAGS'
66530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
66539 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
66541 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
66542 for ac_func in isnan
66543 do :
66544 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
66545 if test "x$ac_cv_func_isnan" = x""yes; then :
66546 cat >>confdefs.h <<_ACEOF
66547 #define HAVE_ISNAN 1
66548 _ACEOF
66551 done
66553 else
66555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
66556 $as_echo_n "checking for _isnan declaration... " >&6; }
66557 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
66558 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
66559 $as_echo_n "(cached) " >&6
66560 else
66563 ac_ext=cpp
66564 ac_cpp='$CXXCPP $CPPFLAGS'
66565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66570 /* end confdefs.h. */
66571 #include <math.h>
66572 #ifdef HAVE_IEEEFP_H
66573 #include <ieeefp.h>
66574 #endif
66577 main ()
66579 _isnan(0);
66581 return 0;
66583 _ACEOF
66584 if ac_fn_cxx_try_compile "$LINENO"; then :
66585 glibcxx_cv_func__isnan_use=yes
66586 else
66587 glibcxx_cv_func__isnan_use=no
66589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66590 ac_ext=c
66591 ac_cpp='$CPP $CPPFLAGS'
66592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
66601 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
66603 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
66604 for ac_func in _isnan
66605 do :
66606 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
66607 if test "x$ac_cv_func__isnan" = x""yes; then :
66608 cat >>confdefs.h <<_ACEOF
66609 #define HAVE__ISNAN 1
66610 _ACEOF
66613 done
66622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
66623 $as_echo_n "checking for finite declaration... " >&6; }
66624 if test x${glibcxx_cv_func_finite_use+set} != xset; then
66625 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
66626 $as_echo_n "(cached) " >&6
66627 else
66630 ac_ext=cpp
66631 ac_cpp='$CXXCPP $CPPFLAGS'
66632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66637 /* end confdefs.h. */
66638 #include <math.h>
66639 #ifdef HAVE_IEEEFP_H
66640 #include <ieeefp.h>
66641 #endif
66644 main ()
66646 finite(0);
66648 return 0;
66650 _ACEOF
66651 if ac_fn_cxx_try_compile "$LINENO"; then :
66652 glibcxx_cv_func_finite_use=yes
66653 else
66654 glibcxx_cv_func_finite_use=no
66656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66657 ac_ext=c
66658 ac_cpp='$CPP $CPPFLAGS'
66659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
66668 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
66670 if test x$glibcxx_cv_func_finite_use = x"yes"; then
66671 for ac_func in finite
66672 do :
66673 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
66674 if test "x$ac_cv_func_finite" = x""yes; then :
66675 cat >>confdefs.h <<_ACEOF
66676 #define HAVE_FINITE 1
66677 _ACEOF
66680 done
66682 else
66684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
66685 $as_echo_n "checking for _finite declaration... " >&6; }
66686 if test x${glibcxx_cv_func__finite_use+set} != xset; then
66687 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
66688 $as_echo_n "(cached) " >&6
66689 else
66692 ac_ext=cpp
66693 ac_cpp='$CXXCPP $CPPFLAGS'
66694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66699 /* end confdefs.h. */
66700 #include <math.h>
66701 #ifdef HAVE_IEEEFP_H
66702 #include <ieeefp.h>
66703 #endif
66706 main ()
66708 _finite(0);
66710 return 0;
66712 _ACEOF
66713 if ac_fn_cxx_try_compile "$LINENO"; then :
66714 glibcxx_cv_func__finite_use=yes
66715 else
66716 glibcxx_cv_func__finite_use=no
66718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66719 ac_ext=c
66720 ac_cpp='$CPP $CPPFLAGS'
66721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
66730 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
66732 if test x$glibcxx_cv_func__finite_use = x"yes"; then
66733 for ac_func in _finite
66734 do :
66735 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
66736 if test "x$ac_cv_func__finite" = x""yes; then :
66737 cat >>confdefs.h <<_ACEOF
66738 #define HAVE__FINITE 1
66739 _ACEOF
66742 done
66751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
66752 $as_echo_n "checking for sincos declaration... " >&6; }
66753 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
66754 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
66755 $as_echo_n "(cached) " >&6
66756 else
66759 ac_ext=cpp
66760 ac_cpp='$CXXCPP $CPPFLAGS'
66761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66766 /* end confdefs.h. */
66767 #include <math.h>
66769 main ()
66771 sincos(0, 0, 0);
66773 return 0;
66775 _ACEOF
66776 if ac_fn_cxx_try_compile "$LINENO"; then :
66777 glibcxx_cv_func_sincos_use=yes
66778 else
66779 glibcxx_cv_func_sincos_use=no
66781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66782 ac_ext=c
66783 ac_cpp='$CPP $CPPFLAGS'
66784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
66793 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
66795 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
66796 for ac_func in sincos
66797 do :
66798 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
66799 if test "x$ac_cv_func_sincos" = x""yes; then :
66800 cat >>confdefs.h <<_ACEOF
66801 #define HAVE_SINCOS 1
66802 _ACEOF
66805 done
66807 else
66809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
66810 $as_echo_n "checking for _sincos declaration... " >&6; }
66811 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
66812 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
66813 $as_echo_n "(cached) " >&6
66814 else
66817 ac_ext=cpp
66818 ac_cpp='$CXXCPP $CPPFLAGS'
66819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66824 /* end confdefs.h. */
66825 #include <math.h>
66827 main ()
66829 _sincos(0, 0, 0);
66831 return 0;
66833 _ACEOF
66834 if ac_fn_cxx_try_compile "$LINENO"; then :
66835 glibcxx_cv_func__sincos_use=yes
66836 else
66837 glibcxx_cv_func__sincos_use=no
66839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66840 ac_ext=c
66841 ac_cpp='$CPP $CPPFLAGS'
66842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
66851 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
66853 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
66854 for ac_func in _sincos
66855 do :
66856 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
66857 if test "x$ac_cv_func__sincos" = x""yes; then :
66858 cat >>confdefs.h <<_ACEOF
66859 #define HAVE__SINCOS 1
66860 _ACEOF
66863 done
66872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
66873 $as_echo_n "checking for fpclass declaration... " >&6; }
66874 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
66875 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
66876 $as_echo_n "(cached) " >&6
66877 else
66880 ac_ext=cpp
66881 ac_cpp='$CXXCPP $CPPFLAGS'
66882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66887 /* end confdefs.h. */
66888 #include <math.h>
66889 #ifdef HAVE_IEEEFP_H
66890 #include <ieeefp.h>
66891 #endif
66894 main ()
66896 fpclass(0);
66898 return 0;
66900 _ACEOF
66901 if ac_fn_cxx_try_compile "$LINENO"; then :
66902 glibcxx_cv_func_fpclass_use=yes
66903 else
66904 glibcxx_cv_func_fpclass_use=no
66906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66907 ac_ext=c
66908 ac_cpp='$CPP $CPPFLAGS'
66909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
66918 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
66920 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
66921 for ac_func in fpclass
66922 do :
66923 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
66924 if test "x$ac_cv_func_fpclass" = x""yes; then :
66925 cat >>confdefs.h <<_ACEOF
66926 #define HAVE_FPCLASS 1
66927 _ACEOF
66930 done
66932 else
66934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
66935 $as_echo_n "checking for _fpclass declaration... " >&6; }
66936 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
66937 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
66938 $as_echo_n "(cached) " >&6
66939 else
66942 ac_ext=cpp
66943 ac_cpp='$CXXCPP $CPPFLAGS'
66944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66949 /* end confdefs.h. */
66950 #include <math.h>
66951 #ifdef HAVE_IEEEFP_H
66952 #include <ieeefp.h>
66953 #endif
66956 main ()
66958 _fpclass(0);
66960 return 0;
66962 _ACEOF
66963 if ac_fn_cxx_try_compile "$LINENO"; then :
66964 glibcxx_cv_func__fpclass_use=yes
66965 else
66966 glibcxx_cv_func__fpclass_use=no
66968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66969 ac_ext=c
66970 ac_cpp='$CPP $CPPFLAGS'
66971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
66980 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
66982 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
66983 for ac_func in _fpclass
66984 do :
66985 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
66986 if test "x$ac_cv_func__fpclass" = x""yes; then :
66987 cat >>confdefs.h <<_ACEOF
66988 #define HAVE__FPCLASS 1
66989 _ACEOF
66992 done
67001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67002 $as_echo_n "checking for qfpclass declaration... " >&6; }
67003 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67004 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
67005 $as_echo_n "(cached) " >&6
67006 else
67009 ac_ext=cpp
67010 ac_cpp='$CXXCPP $CPPFLAGS'
67011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67016 /* end confdefs.h. */
67017 #include <math.h>
67018 #ifdef HAVE_IEEEFP_H
67019 #include <ieeefp.h>
67020 #endif
67023 main ()
67025 qfpclass(0);
67027 return 0;
67029 _ACEOF
67030 if ac_fn_cxx_try_compile "$LINENO"; then :
67031 glibcxx_cv_func_qfpclass_use=yes
67032 else
67033 glibcxx_cv_func_qfpclass_use=no
67035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67036 ac_ext=c
67037 ac_cpp='$CPP $CPPFLAGS'
67038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67047 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67049 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67050 for ac_func in qfpclass
67051 do :
67052 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67053 if test "x$ac_cv_func_qfpclass" = x""yes; then :
67054 cat >>confdefs.h <<_ACEOF
67055 #define HAVE_QFPCLASS 1
67056 _ACEOF
67059 done
67061 else
67063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67064 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67065 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67066 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
67067 $as_echo_n "(cached) " >&6
67068 else
67071 ac_ext=cpp
67072 ac_cpp='$CXXCPP $CPPFLAGS'
67073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67078 /* end confdefs.h. */
67079 #include <math.h>
67080 #ifdef HAVE_IEEEFP_H
67081 #include <ieeefp.h>
67082 #endif
67085 main ()
67087 _qfpclass(0);
67089 return 0;
67091 _ACEOF
67092 if ac_fn_cxx_try_compile "$LINENO"; then :
67093 glibcxx_cv_func__qfpclass_use=yes
67094 else
67095 glibcxx_cv_func__qfpclass_use=no
67097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67098 ac_ext=c
67099 ac_cpp='$CPP $CPPFLAGS'
67100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67109 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67111 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67112 for ac_func in _qfpclass
67113 do :
67114 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67115 if test "x$ac_cv_func__qfpclass" = x""yes; then :
67116 cat >>confdefs.h <<_ACEOF
67117 #define HAVE__QFPCLASS 1
67118 _ACEOF
67121 done
67130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67131 $as_echo_n "checking for hypot declaration... " >&6; }
67132 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67133 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
67134 $as_echo_n "(cached) " >&6
67135 else
67138 ac_ext=cpp
67139 ac_cpp='$CXXCPP $CPPFLAGS'
67140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67145 /* end confdefs.h. */
67146 #include <math.h>
67148 main ()
67150 hypot(0, 0);
67152 return 0;
67154 _ACEOF
67155 if ac_fn_cxx_try_compile "$LINENO"; then :
67156 glibcxx_cv_func_hypot_use=yes
67157 else
67158 glibcxx_cv_func_hypot_use=no
67160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67161 ac_ext=c
67162 ac_cpp='$CPP $CPPFLAGS'
67163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67172 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67174 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67175 for ac_func in hypot
67176 do :
67177 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67178 if test "x$ac_cv_func_hypot" = x""yes; then :
67179 cat >>confdefs.h <<_ACEOF
67180 #define HAVE_HYPOT 1
67181 _ACEOF
67184 done
67186 else
67188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67189 $as_echo_n "checking for _hypot declaration... " >&6; }
67190 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67191 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
67192 $as_echo_n "(cached) " >&6
67193 else
67196 ac_ext=cpp
67197 ac_cpp='$CXXCPP $CPPFLAGS'
67198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67203 /* end confdefs.h. */
67204 #include <math.h>
67206 main ()
67208 _hypot(0, 0);
67210 return 0;
67212 _ACEOF
67213 if ac_fn_cxx_try_compile "$LINENO"; then :
67214 glibcxx_cv_func__hypot_use=yes
67215 else
67216 glibcxx_cv_func__hypot_use=no
67218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67219 ac_ext=c
67220 ac_cpp='$CPP $CPPFLAGS'
67221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67230 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67232 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67233 for ac_func in _hypot
67234 do :
67235 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67236 if test "x$ac_cv_func__hypot" = x""yes; then :
67237 cat >>confdefs.h <<_ACEOF
67238 #define HAVE__HYPOT 1
67239 _ACEOF
67242 done
67251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67252 $as_echo_n "checking for float trig functions... " >&6; }
67253 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
67254 $as_echo_n "(cached) " >&6
67255 else
67258 ac_ext=cpp
67259 ac_cpp='$CXXCPP $CPPFLAGS'
67260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67265 /* end confdefs.h. */
67266 #include <math.h>
67268 main ()
67270 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67272 return 0;
67274 _ACEOF
67275 if ac_fn_cxx_try_compile "$LINENO"; then :
67276 glibcxx_cv_func_float_trig_use=yes
67277 else
67278 glibcxx_cv_func_float_trig_use=no
67280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67281 ac_ext=c
67282 ac_cpp='$CPP $CPPFLAGS'
67283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67290 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67291 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67292 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67293 do :
67294 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67295 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67296 eval as_val=\$$as_ac_var
67297 if test "x$as_val" = x""yes; then :
67298 cat >>confdefs.h <<_ACEOF
67299 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67300 _ACEOF
67303 done
67305 else
67306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67307 $as_echo_n "checking for _float trig functions... " >&6; }
67308 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
67309 $as_echo_n "(cached) " >&6
67310 else
67313 ac_ext=cpp
67314 ac_cpp='$CXXCPP $CPPFLAGS'
67315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67320 /* end confdefs.h. */
67321 #include <math.h>
67323 main ()
67325 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67327 return 0;
67329 _ACEOF
67330 if ac_fn_cxx_try_compile "$LINENO"; then :
67331 glibcxx_cv_func__float_trig_use=yes
67332 else
67333 glibcxx_cv_func__float_trig_use=no
67335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67336 ac_ext=c
67337 ac_cpp='$CPP $CPPFLAGS'
67338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67345 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67346 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67347 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67348 do :
67349 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67350 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67351 eval as_val=\$$as_ac_var
67352 if test "x$as_val" = x""yes; then :
67353 cat >>confdefs.h <<_ACEOF
67354 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67355 _ACEOF
67358 done
67367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67368 $as_echo_n "checking for float round functions... " >&6; }
67369 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
67370 $as_echo_n "(cached) " >&6
67371 else
67374 ac_ext=cpp
67375 ac_cpp='$CXXCPP $CPPFLAGS'
67376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67381 /* end confdefs.h. */
67382 #include <math.h>
67384 main ()
67386 ceilf (0); floorf (0);
67388 return 0;
67390 _ACEOF
67391 if ac_fn_cxx_try_compile "$LINENO"; then :
67392 glibcxx_cv_func_float_round_use=yes
67393 else
67394 glibcxx_cv_func_float_round_use=no
67396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67397 ac_ext=c
67398 ac_cpp='$CPP $CPPFLAGS'
67399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
67406 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
67407 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67408 for ac_func in ceilf floorf
67409 do :
67410 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67411 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67412 eval as_val=\$$as_ac_var
67413 if test "x$as_val" = x""yes; then :
67414 cat >>confdefs.h <<_ACEOF
67415 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67416 _ACEOF
67419 done
67421 else
67422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
67423 $as_echo_n "checking for _float round functions... " >&6; }
67424 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
67425 $as_echo_n "(cached) " >&6
67426 else
67429 ac_ext=cpp
67430 ac_cpp='$CXXCPP $CPPFLAGS'
67431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67436 /* end confdefs.h. */
67437 #include <math.h>
67439 main ()
67441 _ceilf (0); _floorf (0);
67443 return 0;
67445 _ACEOF
67446 if ac_fn_cxx_try_compile "$LINENO"; then :
67447 glibcxx_cv_func__float_round_use=yes
67448 else
67449 glibcxx_cv_func__float_round_use=no
67451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67452 ac_ext=c
67453 ac_cpp='$CPP $CPPFLAGS'
67454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
67461 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
67462 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67463 for ac_func in _ceilf _floorf
67464 do :
67465 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67466 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67467 eval as_val=\$$as_ac_var
67468 if test "x$as_val" = x""yes; then :
67469 cat >>confdefs.h <<_ACEOF
67470 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67471 _ACEOF
67474 done
67484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
67485 $as_echo_n "checking for expf declaration... " >&6; }
67486 if test x${glibcxx_cv_func_expf_use+set} != xset; then
67487 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
67488 $as_echo_n "(cached) " >&6
67489 else
67492 ac_ext=cpp
67493 ac_cpp='$CXXCPP $CPPFLAGS'
67494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67499 /* end confdefs.h. */
67500 #include <math.h>
67501 #ifdef HAVE_IEEEFP_H
67502 #include <ieeefp.h>
67503 #endif
67506 main ()
67508 expf(0);
67510 return 0;
67512 _ACEOF
67513 if ac_fn_cxx_try_compile "$LINENO"; then :
67514 glibcxx_cv_func_expf_use=yes
67515 else
67516 glibcxx_cv_func_expf_use=no
67518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67519 ac_ext=c
67520 ac_cpp='$CPP $CPPFLAGS'
67521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
67530 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
67532 if test x$glibcxx_cv_func_expf_use = x"yes"; then
67533 for ac_func in expf
67534 do :
67535 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
67536 if test "x$ac_cv_func_expf" = x""yes; then :
67537 cat >>confdefs.h <<_ACEOF
67538 #define HAVE_EXPF 1
67539 _ACEOF
67542 done
67544 else
67546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
67547 $as_echo_n "checking for _expf declaration... " >&6; }
67548 if test x${glibcxx_cv_func__expf_use+set} != xset; then
67549 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
67550 $as_echo_n "(cached) " >&6
67551 else
67554 ac_ext=cpp
67555 ac_cpp='$CXXCPP $CPPFLAGS'
67556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67561 /* end confdefs.h. */
67562 #include <math.h>
67563 #ifdef HAVE_IEEEFP_H
67564 #include <ieeefp.h>
67565 #endif
67568 main ()
67570 _expf(0);
67572 return 0;
67574 _ACEOF
67575 if ac_fn_cxx_try_compile "$LINENO"; then :
67576 glibcxx_cv_func__expf_use=yes
67577 else
67578 glibcxx_cv_func__expf_use=no
67580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67581 ac_ext=c
67582 ac_cpp='$CPP $CPPFLAGS'
67583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
67592 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
67594 if test x$glibcxx_cv_func__expf_use = x"yes"; then
67595 for ac_func in _expf
67596 do :
67597 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
67598 if test "x$ac_cv_func__expf" = x""yes; then :
67599 cat >>confdefs.h <<_ACEOF
67600 #define HAVE__EXPF 1
67601 _ACEOF
67604 done
67613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
67614 $as_echo_n "checking for isnanf declaration... " >&6; }
67615 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
67616 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
67617 $as_echo_n "(cached) " >&6
67618 else
67621 ac_ext=cpp
67622 ac_cpp='$CXXCPP $CPPFLAGS'
67623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67628 /* end confdefs.h. */
67629 #include <math.h>
67630 #ifdef HAVE_IEEEFP_H
67631 #include <ieeefp.h>
67632 #endif
67635 main ()
67637 isnanf(0);
67639 return 0;
67641 _ACEOF
67642 if ac_fn_cxx_try_compile "$LINENO"; then :
67643 glibcxx_cv_func_isnanf_use=yes
67644 else
67645 glibcxx_cv_func_isnanf_use=no
67647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67648 ac_ext=c
67649 ac_cpp='$CPP $CPPFLAGS'
67650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
67659 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
67661 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
67662 for ac_func in isnanf
67663 do :
67664 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
67665 if test "x$ac_cv_func_isnanf" = x""yes; then :
67666 cat >>confdefs.h <<_ACEOF
67667 #define HAVE_ISNANF 1
67668 _ACEOF
67671 done
67673 else
67675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
67676 $as_echo_n "checking for _isnanf declaration... " >&6; }
67677 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
67678 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
67679 $as_echo_n "(cached) " >&6
67680 else
67683 ac_ext=cpp
67684 ac_cpp='$CXXCPP $CPPFLAGS'
67685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67690 /* end confdefs.h. */
67691 #include <math.h>
67692 #ifdef HAVE_IEEEFP_H
67693 #include <ieeefp.h>
67694 #endif
67697 main ()
67699 _isnanf(0);
67701 return 0;
67703 _ACEOF
67704 if ac_fn_cxx_try_compile "$LINENO"; then :
67705 glibcxx_cv_func__isnanf_use=yes
67706 else
67707 glibcxx_cv_func__isnanf_use=no
67709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67710 ac_ext=c
67711 ac_cpp='$CPP $CPPFLAGS'
67712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
67721 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
67723 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
67724 for ac_func in _isnanf
67725 do :
67726 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
67727 if test "x$ac_cv_func__isnanf" = x""yes; then :
67728 cat >>confdefs.h <<_ACEOF
67729 #define HAVE__ISNANF 1
67730 _ACEOF
67733 done
67742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
67743 $as_echo_n "checking for isinff declaration... " >&6; }
67744 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
67745 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
67746 $as_echo_n "(cached) " >&6
67747 else
67750 ac_ext=cpp
67751 ac_cpp='$CXXCPP $CPPFLAGS'
67752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67757 /* end confdefs.h. */
67758 #include <math.h>
67759 #ifdef HAVE_IEEEFP_H
67760 #include <ieeefp.h>
67761 #endif
67764 main ()
67766 isinff(0);
67768 return 0;
67770 _ACEOF
67771 if ac_fn_cxx_try_compile "$LINENO"; then :
67772 glibcxx_cv_func_isinff_use=yes
67773 else
67774 glibcxx_cv_func_isinff_use=no
67776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67777 ac_ext=c
67778 ac_cpp='$CPP $CPPFLAGS'
67779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
67788 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
67790 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
67791 for ac_func in isinff
67792 do :
67793 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
67794 if test "x$ac_cv_func_isinff" = x""yes; then :
67795 cat >>confdefs.h <<_ACEOF
67796 #define HAVE_ISINFF 1
67797 _ACEOF
67800 done
67802 else
67804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
67805 $as_echo_n "checking for _isinff declaration... " >&6; }
67806 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
67807 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
67808 $as_echo_n "(cached) " >&6
67809 else
67812 ac_ext=cpp
67813 ac_cpp='$CXXCPP $CPPFLAGS'
67814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67819 /* end confdefs.h. */
67820 #include <math.h>
67821 #ifdef HAVE_IEEEFP_H
67822 #include <ieeefp.h>
67823 #endif
67826 main ()
67828 _isinff(0);
67830 return 0;
67832 _ACEOF
67833 if ac_fn_cxx_try_compile "$LINENO"; then :
67834 glibcxx_cv_func__isinff_use=yes
67835 else
67836 glibcxx_cv_func__isinff_use=no
67838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67839 ac_ext=c
67840 ac_cpp='$CPP $CPPFLAGS'
67841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
67850 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
67852 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
67853 for ac_func in _isinff
67854 do :
67855 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
67856 if test "x$ac_cv_func__isinff" = x""yes; then :
67857 cat >>confdefs.h <<_ACEOF
67858 #define HAVE__ISINFF 1
67859 _ACEOF
67862 done
67871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
67872 $as_echo_n "checking for atan2f declaration... " >&6; }
67873 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
67874 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
67875 $as_echo_n "(cached) " >&6
67876 else
67879 ac_ext=cpp
67880 ac_cpp='$CXXCPP $CPPFLAGS'
67881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67886 /* end confdefs.h. */
67887 #include <math.h>
67889 main ()
67891 atan2f(0, 0);
67893 return 0;
67895 _ACEOF
67896 if ac_fn_cxx_try_compile "$LINENO"; then :
67897 glibcxx_cv_func_atan2f_use=yes
67898 else
67899 glibcxx_cv_func_atan2f_use=no
67901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67902 ac_ext=c
67903 ac_cpp='$CPP $CPPFLAGS'
67904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
67913 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
67915 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
67916 for ac_func in atan2f
67917 do :
67918 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
67919 if test "x$ac_cv_func_atan2f" = x""yes; then :
67920 cat >>confdefs.h <<_ACEOF
67921 #define HAVE_ATAN2F 1
67922 _ACEOF
67925 done
67927 else
67929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
67930 $as_echo_n "checking for _atan2f declaration... " >&6; }
67931 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
67932 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
67933 $as_echo_n "(cached) " >&6
67934 else
67937 ac_ext=cpp
67938 ac_cpp='$CXXCPP $CPPFLAGS'
67939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67944 /* end confdefs.h. */
67945 #include <math.h>
67947 main ()
67949 _atan2f(0, 0);
67951 return 0;
67953 _ACEOF
67954 if ac_fn_cxx_try_compile "$LINENO"; then :
67955 glibcxx_cv_func__atan2f_use=yes
67956 else
67957 glibcxx_cv_func__atan2f_use=no
67959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67960 ac_ext=c
67961 ac_cpp='$CPP $CPPFLAGS'
67962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
67971 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
67973 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
67974 for ac_func in _atan2f
67975 do :
67976 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
67977 if test "x$ac_cv_func__atan2f" = x""yes; then :
67978 cat >>confdefs.h <<_ACEOF
67979 #define HAVE__ATAN2F 1
67980 _ACEOF
67983 done
67992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
67993 $as_echo_n "checking for fabsf declaration... " >&6; }
67994 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
67995 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
67996 $as_echo_n "(cached) " >&6
67997 else
68000 ac_ext=cpp
68001 ac_cpp='$CXXCPP $CPPFLAGS'
68002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68007 /* end confdefs.h. */
68008 #include <math.h>
68009 #ifdef HAVE_IEEEFP_H
68010 #include <ieeefp.h>
68011 #endif
68014 main ()
68016 fabsf(0);
68018 return 0;
68020 _ACEOF
68021 if ac_fn_cxx_try_compile "$LINENO"; then :
68022 glibcxx_cv_func_fabsf_use=yes
68023 else
68024 glibcxx_cv_func_fabsf_use=no
68026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68027 ac_ext=c
68028 ac_cpp='$CPP $CPPFLAGS'
68029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68038 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68040 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68041 for ac_func in fabsf
68042 do :
68043 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68044 if test "x$ac_cv_func_fabsf" = x""yes; then :
68045 cat >>confdefs.h <<_ACEOF
68046 #define HAVE_FABSF 1
68047 _ACEOF
68050 done
68052 else
68054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68055 $as_echo_n "checking for _fabsf declaration... " >&6; }
68056 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68057 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
68058 $as_echo_n "(cached) " >&6
68059 else
68062 ac_ext=cpp
68063 ac_cpp='$CXXCPP $CPPFLAGS'
68064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68069 /* end confdefs.h. */
68070 #include <math.h>
68071 #ifdef HAVE_IEEEFP_H
68072 #include <ieeefp.h>
68073 #endif
68076 main ()
68078 _fabsf(0);
68080 return 0;
68082 _ACEOF
68083 if ac_fn_cxx_try_compile "$LINENO"; then :
68084 glibcxx_cv_func__fabsf_use=yes
68085 else
68086 glibcxx_cv_func__fabsf_use=no
68088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68089 ac_ext=c
68090 ac_cpp='$CPP $CPPFLAGS'
68091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68100 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68102 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68103 for ac_func in _fabsf
68104 do :
68105 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68106 if test "x$ac_cv_func__fabsf" = x""yes; then :
68107 cat >>confdefs.h <<_ACEOF
68108 #define HAVE__FABSF 1
68109 _ACEOF
68112 done
68121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68122 $as_echo_n "checking for fmodf declaration... " >&6; }
68123 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68124 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
68125 $as_echo_n "(cached) " >&6
68126 else
68129 ac_ext=cpp
68130 ac_cpp='$CXXCPP $CPPFLAGS'
68131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68136 /* end confdefs.h. */
68137 #include <math.h>
68139 main ()
68141 fmodf(0, 0);
68143 return 0;
68145 _ACEOF
68146 if ac_fn_cxx_try_compile "$LINENO"; then :
68147 glibcxx_cv_func_fmodf_use=yes
68148 else
68149 glibcxx_cv_func_fmodf_use=no
68151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68152 ac_ext=c
68153 ac_cpp='$CPP $CPPFLAGS'
68154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68163 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68165 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68166 for ac_func in fmodf
68167 do :
68168 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68169 if test "x$ac_cv_func_fmodf" = x""yes; then :
68170 cat >>confdefs.h <<_ACEOF
68171 #define HAVE_FMODF 1
68172 _ACEOF
68175 done
68177 else
68179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68180 $as_echo_n "checking for _fmodf declaration... " >&6; }
68181 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68182 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
68183 $as_echo_n "(cached) " >&6
68184 else
68187 ac_ext=cpp
68188 ac_cpp='$CXXCPP $CPPFLAGS'
68189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68194 /* end confdefs.h. */
68195 #include <math.h>
68197 main ()
68199 _fmodf(0, 0);
68201 return 0;
68203 _ACEOF
68204 if ac_fn_cxx_try_compile "$LINENO"; then :
68205 glibcxx_cv_func__fmodf_use=yes
68206 else
68207 glibcxx_cv_func__fmodf_use=no
68209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68210 ac_ext=c
68211 ac_cpp='$CPP $CPPFLAGS'
68212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68221 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68223 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68224 for ac_func in _fmodf
68225 do :
68226 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68227 if test "x$ac_cv_func__fmodf" = x""yes; then :
68228 cat >>confdefs.h <<_ACEOF
68229 #define HAVE__FMODF 1
68230 _ACEOF
68233 done
68242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68243 $as_echo_n "checking for frexpf declaration... " >&6; }
68244 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68245 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
68246 $as_echo_n "(cached) " >&6
68247 else
68250 ac_ext=cpp
68251 ac_cpp='$CXXCPP $CPPFLAGS'
68252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68257 /* end confdefs.h. */
68258 #include <math.h>
68260 main ()
68262 frexpf(0, 0);
68264 return 0;
68266 _ACEOF
68267 if ac_fn_cxx_try_compile "$LINENO"; then :
68268 glibcxx_cv_func_frexpf_use=yes
68269 else
68270 glibcxx_cv_func_frexpf_use=no
68272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68273 ac_ext=c
68274 ac_cpp='$CPP $CPPFLAGS'
68275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68284 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68286 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68287 for ac_func in frexpf
68288 do :
68289 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68290 if test "x$ac_cv_func_frexpf" = x""yes; then :
68291 cat >>confdefs.h <<_ACEOF
68292 #define HAVE_FREXPF 1
68293 _ACEOF
68296 done
68298 else
68300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68301 $as_echo_n "checking for _frexpf declaration... " >&6; }
68302 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68303 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
68304 $as_echo_n "(cached) " >&6
68305 else
68308 ac_ext=cpp
68309 ac_cpp='$CXXCPP $CPPFLAGS'
68310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68315 /* end confdefs.h. */
68316 #include <math.h>
68318 main ()
68320 _frexpf(0, 0);
68322 return 0;
68324 _ACEOF
68325 if ac_fn_cxx_try_compile "$LINENO"; then :
68326 glibcxx_cv_func__frexpf_use=yes
68327 else
68328 glibcxx_cv_func__frexpf_use=no
68330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68331 ac_ext=c
68332 ac_cpp='$CPP $CPPFLAGS'
68333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68342 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68344 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68345 for ac_func in _frexpf
68346 do :
68347 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68348 if test "x$ac_cv_func__frexpf" = x""yes; then :
68349 cat >>confdefs.h <<_ACEOF
68350 #define HAVE__FREXPF 1
68351 _ACEOF
68354 done
68363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68364 $as_echo_n "checking for hypotf declaration... " >&6; }
68365 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68366 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
68367 $as_echo_n "(cached) " >&6
68368 else
68371 ac_ext=cpp
68372 ac_cpp='$CXXCPP $CPPFLAGS'
68373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68378 /* end confdefs.h. */
68379 #include <math.h>
68381 main ()
68383 hypotf(0, 0);
68385 return 0;
68387 _ACEOF
68388 if ac_fn_cxx_try_compile "$LINENO"; then :
68389 glibcxx_cv_func_hypotf_use=yes
68390 else
68391 glibcxx_cv_func_hypotf_use=no
68393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68394 ac_ext=c
68395 ac_cpp='$CPP $CPPFLAGS'
68396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
68405 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68407 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
68408 for ac_func in hypotf
68409 do :
68410 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
68411 if test "x$ac_cv_func_hypotf" = x""yes; then :
68412 cat >>confdefs.h <<_ACEOF
68413 #define HAVE_HYPOTF 1
68414 _ACEOF
68417 done
68419 else
68421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
68422 $as_echo_n "checking for _hypotf declaration... " >&6; }
68423 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
68424 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
68425 $as_echo_n "(cached) " >&6
68426 else
68429 ac_ext=cpp
68430 ac_cpp='$CXXCPP $CPPFLAGS'
68431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68436 /* end confdefs.h. */
68437 #include <math.h>
68439 main ()
68441 _hypotf(0, 0);
68443 return 0;
68445 _ACEOF
68446 if ac_fn_cxx_try_compile "$LINENO"; then :
68447 glibcxx_cv_func__hypotf_use=yes
68448 else
68449 glibcxx_cv_func__hypotf_use=no
68451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68452 ac_ext=c
68453 ac_cpp='$CPP $CPPFLAGS'
68454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
68463 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
68465 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
68466 for ac_func in _hypotf
68467 do :
68468 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
68469 if test "x$ac_cv_func__hypotf" = x""yes; then :
68470 cat >>confdefs.h <<_ACEOF
68471 #define HAVE__HYPOTF 1
68472 _ACEOF
68475 done
68484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
68485 $as_echo_n "checking for ldexpf declaration... " >&6; }
68486 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
68487 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
68488 $as_echo_n "(cached) " >&6
68489 else
68492 ac_ext=cpp
68493 ac_cpp='$CXXCPP $CPPFLAGS'
68494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68499 /* end confdefs.h. */
68500 #include <math.h>
68502 main ()
68504 ldexpf(0, 0);
68506 return 0;
68508 _ACEOF
68509 if ac_fn_cxx_try_compile "$LINENO"; then :
68510 glibcxx_cv_func_ldexpf_use=yes
68511 else
68512 glibcxx_cv_func_ldexpf_use=no
68514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68515 ac_ext=c
68516 ac_cpp='$CPP $CPPFLAGS'
68517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
68526 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
68528 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
68529 for ac_func in ldexpf
68530 do :
68531 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
68532 if test "x$ac_cv_func_ldexpf" = x""yes; then :
68533 cat >>confdefs.h <<_ACEOF
68534 #define HAVE_LDEXPF 1
68535 _ACEOF
68538 done
68540 else
68542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
68543 $as_echo_n "checking for _ldexpf declaration... " >&6; }
68544 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
68545 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
68546 $as_echo_n "(cached) " >&6
68547 else
68550 ac_ext=cpp
68551 ac_cpp='$CXXCPP $CPPFLAGS'
68552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68557 /* end confdefs.h. */
68558 #include <math.h>
68560 main ()
68562 _ldexpf(0, 0);
68564 return 0;
68566 _ACEOF
68567 if ac_fn_cxx_try_compile "$LINENO"; then :
68568 glibcxx_cv_func__ldexpf_use=yes
68569 else
68570 glibcxx_cv_func__ldexpf_use=no
68572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68573 ac_ext=c
68574 ac_cpp='$CPP $CPPFLAGS'
68575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
68584 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
68586 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
68587 for ac_func in _ldexpf
68588 do :
68589 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
68590 if test "x$ac_cv_func__ldexpf" = x""yes; then :
68591 cat >>confdefs.h <<_ACEOF
68592 #define HAVE__LDEXPF 1
68593 _ACEOF
68596 done
68605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
68606 $as_echo_n "checking for logf declaration... " >&6; }
68607 if test x${glibcxx_cv_func_logf_use+set} != xset; then
68608 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
68609 $as_echo_n "(cached) " >&6
68610 else
68613 ac_ext=cpp
68614 ac_cpp='$CXXCPP $CPPFLAGS'
68615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68620 /* end confdefs.h. */
68621 #include <math.h>
68622 #ifdef HAVE_IEEEFP_H
68623 #include <ieeefp.h>
68624 #endif
68627 main ()
68629 logf(0);
68631 return 0;
68633 _ACEOF
68634 if ac_fn_cxx_try_compile "$LINENO"; then :
68635 glibcxx_cv_func_logf_use=yes
68636 else
68637 glibcxx_cv_func_logf_use=no
68639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68640 ac_ext=c
68641 ac_cpp='$CPP $CPPFLAGS'
68642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
68651 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
68653 if test x$glibcxx_cv_func_logf_use = x"yes"; then
68654 for ac_func in logf
68655 do :
68656 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
68657 if test "x$ac_cv_func_logf" = x""yes; then :
68658 cat >>confdefs.h <<_ACEOF
68659 #define HAVE_LOGF 1
68660 _ACEOF
68663 done
68665 else
68667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
68668 $as_echo_n "checking for _logf declaration... " >&6; }
68669 if test x${glibcxx_cv_func__logf_use+set} != xset; then
68670 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
68671 $as_echo_n "(cached) " >&6
68672 else
68675 ac_ext=cpp
68676 ac_cpp='$CXXCPP $CPPFLAGS'
68677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68682 /* end confdefs.h. */
68683 #include <math.h>
68684 #ifdef HAVE_IEEEFP_H
68685 #include <ieeefp.h>
68686 #endif
68689 main ()
68691 _logf(0);
68693 return 0;
68695 _ACEOF
68696 if ac_fn_cxx_try_compile "$LINENO"; then :
68697 glibcxx_cv_func__logf_use=yes
68698 else
68699 glibcxx_cv_func__logf_use=no
68701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68702 ac_ext=c
68703 ac_cpp='$CPP $CPPFLAGS'
68704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
68713 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
68715 if test x$glibcxx_cv_func__logf_use = x"yes"; then
68716 for ac_func in _logf
68717 do :
68718 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
68719 if test "x$ac_cv_func__logf" = x""yes; then :
68720 cat >>confdefs.h <<_ACEOF
68721 #define HAVE__LOGF 1
68722 _ACEOF
68725 done
68734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
68735 $as_echo_n "checking for log10f declaration... " >&6; }
68736 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
68737 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
68738 $as_echo_n "(cached) " >&6
68739 else
68742 ac_ext=cpp
68743 ac_cpp='$CXXCPP $CPPFLAGS'
68744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68749 /* end confdefs.h. */
68750 #include <math.h>
68751 #ifdef HAVE_IEEEFP_H
68752 #include <ieeefp.h>
68753 #endif
68756 main ()
68758 log10f(0);
68760 return 0;
68762 _ACEOF
68763 if ac_fn_cxx_try_compile "$LINENO"; then :
68764 glibcxx_cv_func_log10f_use=yes
68765 else
68766 glibcxx_cv_func_log10f_use=no
68768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68769 ac_ext=c
68770 ac_cpp='$CPP $CPPFLAGS'
68771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
68780 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
68782 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
68783 for ac_func in log10f
68784 do :
68785 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
68786 if test "x$ac_cv_func_log10f" = x""yes; then :
68787 cat >>confdefs.h <<_ACEOF
68788 #define HAVE_LOG10F 1
68789 _ACEOF
68792 done
68794 else
68796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
68797 $as_echo_n "checking for _log10f declaration... " >&6; }
68798 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
68799 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
68800 $as_echo_n "(cached) " >&6
68801 else
68804 ac_ext=cpp
68805 ac_cpp='$CXXCPP $CPPFLAGS'
68806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68811 /* end confdefs.h. */
68812 #include <math.h>
68813 #ifdef HAVE_IEEEFP_H
68814 #include <ieeefp.h>
68815 #endif
68818 main ()
68820 _log10f(0);
68822 return 0;
68824 _ACEOF
68825 if ac_fn_cxx_try_compile "$LINENO"; then :
68826 glibcxx_cv_func__log10f_use=yes
68827 else
68828 glibcxx_cv_func__log10f_use=no
68830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68831 ac_ext=c
68832 ac_cpp='$CPP $CPPFLAGS'
68833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
68842 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
68844 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
68845 for ac_func in _log10f
68846 do :
68847 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
68848 if test "x$ac_cv_func__log10f" = x""yes; then :
68849 cat >>confdefs.h <<_ACEOF
68850 #define HAVE__LOG10F 1
68851 _ACEOF
68854 done
68863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
68864 $as_echo_n "checking for modff declaration... " >&6; }
68865 if test x${glibcxx_cv_func_modff_use+set} != xset; then
68866 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
68867 $as_echo_n "(cached) " >&6
68868 else
68871 ac_ext=cpp
68872 ac_cpp='$CXXCPP $CPPFLAGS'
68873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68878 /* end confdefs.h. */
68879 #include <math.h>
68881 main ()
68883 modff(0, 0);
68885 return 0;
68887 _ACEOF
68888 if ac_fn_cxx_try_compile "$LINENO"; then :
68889 glibcxx_cv_func_modff_use=yes
68890 else
68891 glibcxx_cv_func_modff_use=no
68893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68894 ac_ext=c
68895 ac_cpp='$CPP $CPPFLAGS'
68896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
68905 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
68907 if test x$glibcxx_cv_func_modff_use = x"yes"; then
68908 for ac_func in modff
68909 do :
68910 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
68911 if test "x$ac_cv_func_modff" = x""yes; then :
68912 cat >>confdefs.h <<_ACEOF
68913 #define HAVE_MODFF 1
68914 _ACEOF
68917 done
68919 else
68921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
68922 $as_echo_n "checking for _modff declaration... " >&6; }
68923 if test x${glibcxx_cv_func__modff_use+set} != xset; then
68924 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
68925 $as_echo_n "(cached) " >&6
68926 else
68929 ac_ext=cpp
68930 ac_cpp='$CXXCPP $CPPFLAGS'
68931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68936 /* end confdefs.h. */
68937 #include <math.h>
68939 main ()
68941 _modff(0, 0);
68943 return 0;
68945 _ACEOF
68946 if ac_fn_cxx_try_compile "$LINENO"; then :
68947 glibcxx_cv_func__modff_use=yes
68948 else
68949 glibcxx_cv_func__modff_use=no
68951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68952 ac_ext=c
68953 ac_cpp='$CPP $CPPFLAGS'
68954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
68963 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
68965 if test x$glibcxx_cv_func__modff_use = x"yes"; then
68966 for ac_func in _modff
68967 do :
68968 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
68969 if test "x$ac_cv_func__modff" = x""yes; then :
68970 cat >>confdefs.h <<_ACEOF
68971 #define HAVE__MODFF 1
68972 _ACEOF
68975 done
68984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
68985 $as_echo_n "checking for modf declaration... " >&6; }
68986 if test x${glibcxx_cv_func_modf_use+set} != xset; then
68987 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
68988 $as_echo_n "(cached) " >&6
68989 else
68992 ac_ext=cpp
68993 ac_cpp='$CXXCPP $CPPFLAGS'
68994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68999 /* end confdefs.h. */
69000 #include <math.h>
69002 main ()
69004 modf(0, 0);
69006 return 0;
69008 _ACEOF
69009 if ac_fn_cxx_try_compile "$LINENO"; then :
69010 glibcxx_cv_func_modf_use=yes
69011 else
69012 glibcxx_cv_func_modf_use=no
69014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69015 ac_ext=c
69016 ac_cpp='$CPP $CPPFLAGS'
69017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69026 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69028 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69029 for ac_func in modf
69030 do :
69031 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69032 if test "x$ac_cv_func_modf" = x""yes; then :
69033 cat >>confdefs.h <<_ACEOF
69034 #define HAVE_MODF 1
69035 _ACEOF
69038 done
69040 else
69042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69043 $as_echo_n "checking for _modf declaration... " >&6; }
69044 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69045 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
69046 $as_echo_n "(cached) " >&6
69047 else
69050 ac_ext=cpp
69051 ac_cpp='$CXXCPP $CPPFLAGS'
69052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69057 /* end confdefs.h. */
69058 #include <math.h>
69060 main ()
69062 _modf(0, 0);
69064 return 0;
69066 _ACEOF
69067 if ac_fn_cxx_try_compile "$LINENO"; then :
69068 glibcxx_cv_func__modf_use=yes
69069 else
69070 glibcxx_cv_func__modf_use=no
69072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69073 ac_ext=c
69074 ac_cpp='$CPP $CPPFLAGS'
69075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69084 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69086 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69087 for ac_func in _modf
69088 do :
69089 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69090 if test "x$ac_cv_func__modf" = x""yes; then :
69091 cat >>confdefs.h <<_ACEOF
69092 #define HAVE__MODF 1
69093 _ACEOF
69096 done
69105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69106 $as_echo_n "checking for powf declaration... " >&6; }
69107 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69108 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
69109 $as_echo_n "(cached) " >&6
69110 else
69113 ac_ext=cpp
69114 ac_cpp='$CXXCPP $CPPFLAGS'
69115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69120 /* end confdefs.h. */
69121 #include <math.h>
69123 main ()
69125 powf(0, 0);
69127 return 0;
69129 _ACEOF
69130 if ac_fn_cxx_try_compile "$LINENO"; then :
69131 glibcxx_cv_func_powf_use=yes
69132 else
69133 glibcxx_cv_func_powf_use=no
69135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69136 ac_ext=c
69137 ac_cpp='$CPP $CPPFLAGS'
69138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69147 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69149 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69150 for ac_func in powf
69151 do :
69152 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69153 if test "x$ac_cv_func_powf" = x""yes; then :
69154 cat >>confdefs.h <<_ACEOF
69155 #define HAVE_POWF 1
69156 _ACEOF
69159 done
69161 else
69163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69164 $as_echo_n "checking for _powf declaration... " >&6; }
69165 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69166 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
69167 $as_echo_n "(cached) " >&6
69168 else
69171 ac_ext=cpp
69172 ac_cpp='$CXXCPP $CPPFLAGS'
69173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69178 /* end confdefs.h. */
69179 #include <math.h>
69181 main ()
69183 _powf(0, 0);
69185 return 0;
69187 _ACEOF
69188 if ac_fn_cxx_try_compile "$LINENO"; then :
69189 glibcxx_cv_func__powf_use=yes
69190 else
69191 glibcxx_cv_func__powf_use=no
69193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69194 ac_ext=c
69195 ac_cpp='$CPP $CPPFLAGS'
69196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69205 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69207 if test x$glibcxx_cv_func__powf_use = x"yes"; then
69208 for ac_func in _powf
69209 do :
69210 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69211 if test "x$ac_cv_func__powf" = x""yes; then :
69212 cat >>confdefs.h <<_ACEOF
69213 #define HAVE__POWF 1
69214 _ACEOF
69217 done
69226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69227 $as_echo_n "checking for sqrtf declaration... " >&6; }
69228 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69229 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
69230 $as_echo_n "(cached) " >&6
69231 else
69234 ac_ext=cpp
69235 ac_cpp='$CXXCPP $CPPFLAGS'
69236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69241 /* end confdefs.h. */
69242 #include <math.h>
69243 #ifdef HAVE_IEEEFP_H
69244 #include <ieeefp.h>
69245 #endif
69248 main ()
69250 sqrtf(0);
69252 return 0;
69254 _ACEOF
69255 if ac_fn_cxx_try_compile "$LINENO"; then :
69256 glibcxx_cv_func_sqrtf_use=yes
69257 else
69258 glibcxx_cv_func_sqrtf_use=no
69260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69261 ac_ext=c
69262 ac_cpp='$CPP $CPPFLAGS'
69263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69272 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69274 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69275 for ac_func in sqrtf
69276 do :
69277 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69278 if test "x$ac_cv_func_sqrtf" = x""yes; then :
69279 cat >>confdefs.h <<_ACEOF
69280 #define HAVE_SQRTF 1
69281 _ACEOF
69284 done
69286 else
69288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69289 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69290 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69291 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
69292 $as_echo_n "(cached) " >&6
69293 else
69296 ac_ext=cpp
69297 ac_cpp='$CXXCPP $CPPFLAGS'
69298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69303 /* end confdefs.h. */
69304 #include <math.h>
69305 #ifdef HAVE_IEEEFP_H
69306 #include <ieeefp.h>
69307 #endif
69310 main ()
69312 _sqrtf(0);
69314 return 0;
69316 _ACEOF
69317 if ac_fn_cxx_try_compile "$LINENO"; then :
69318 glibcxx_cv_func__sqrtf_use=yes
69319 else
69320 glibcxx_cv_func__sqrtf_use=no
69322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69323 ac_ext=c
69324 ac_cpp='$CPP $CPPFLAGS'
69325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69334 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69336 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69337 for ac_func in _sqrtf
69338 do :
69339 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69340 if test "x$ac_cv_func__sqrtf" = x""yes; then :
69341 cat >>confdefs.h <<_ACEOF
69342 #define HAVE__SQRTF 1
69343 _ACEOF
69346 done
69355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69356 $as_echo_n "checking for sincosf declaration... " >&6; }
69357 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69358 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
69359 $as_echo_n "(cached) " >&6
69360 else
69363 ac_ext=cpp
69364 ac_cpp='$CXXCPP $CPPFLAGS'
69365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69370 /* end confdefs.h. */
69371 #include <math.h>
69373 main ()
69375 sincosf(0, 0, 0);
69377 return 0;
69379 _ACEOF
69380 if ac_fn_cxx_try_compile "$LINENO"; then :
69381 glibcxx_cv_func_sincosf_use=yes
69382 else
69383 glibcxx_cv_func_sincosf_use=no
69385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69386 ac_ext=c
69387 ac_cpp='$CPP $CPPFLAGS'
69388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
69397 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
69399 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
69400 for ac_func in sincosf
69401 do :
69402 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
69403 if test "x$ac_cv_func_sincosf" = x""yes; then :
69404 cat >>confdefs.h <<_ACEOF
69405 #define HAVE_SINCOSF 1
69406 _ACEOF
69409 done
69411 else
69413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
69414 $as_echo_n "checking for _sincosf declaration... " >&6; }
69415 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
69416 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
69417 $as_echo_n "(cached) " >&6
69418 else
69421 ac_ext=cpp
69422 ac_cpp='$CXXCPP $CPPFLAGS'
69423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69428 /* end confdefs.h. */
69429 #include <math.h>
69431 main ()
69433 _sincosf(0, 0, 0);
69435 return 0;
69437 _ACEOF
69438 if ac_fn_cxx_try_compile "$LINENO"; then :
69439 glibcxx_cv_func__sincosf_use=yes
69440 else
69441 glibcxx_cv_func__sincosf_use=no
69443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69444 ac_ext=c
69445 ac_cpp='$CPP $CPPFLAGS'
69446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
69455 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
69457 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
69458 for ac_func in _sincosf
69459 do :
69460 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
69461 if test "x$ac_cv_func__sincosf" = x""yes; then :
69462 cat >>confdefs.h <<_ACEOF
69463 #define HAVE__SINCOSF 1
69464 _ACEOF
69467 done
69476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
69477 $as_echo_n "checking for finitef declaration... " >&6; }
69478 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
69479 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
69480 $as_echo_n "(cached) " >&6
69481 else
69484 ac_ext=cpp
69485 ac_cpp='$CXXCPP $CPPFLAGS'
69486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69491 /* end confdefs.h. */
69492 #include <math.h>
69493 #ifdef HAVE_IEEEFP_H
69494 #include <ieeefp.h>
69495 #endif
69498 main ()
69500 finitef(0);
69502 return 0;
69504 _ACEOF
69505 if ac_fn_cxx_try_compile "$LINENO"; then :
69506 glibcxx_cv_func_finitef_use=yes
69507 else
69508 glibcxx_cv_func_finitef_use=no
69510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69511 ac_ext=c
69512 ac_cpp='$CPP $CPPFLAGS'
69513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
69522 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
69524 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
69525 for ac_func in finitef
69526 do :
69527 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
69528 if test "x$ac_cv_func_finitef" = x""yes; then :
69529 cat >>confdefs.h <<_ACEOF
69530 #define HAVE_FINITEF 1
69531 _ACEOF
69534 done
69536 else
69538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
69539 $as_echo_n "checking for _finitef declaration... " >&6; }
69540 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
69541 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
69542 $as_echo_n "(cached) " >&6
69543 else
69546 ac_ext=cpp
69547 ac_cpp='$CXXCPP $CPPFLAGS'
69548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69553 /* end confdefs.h. */
69554 #include <math.h>
69555 #ifdef HAVE_IEEEFP_H
69556 #include <ieeefp.h>
69557 #endif
69560 main ()
69562 _finitef(0);
69564 return 0;
69566 _ACEOF
69567 if ac_fn_cxx_try_compile "$LINENO"; then :
69568 glibcxx_cv_func__finitef_use=yes
69569 else
69570 glibcxx_cv_func__finitef_use=no
69572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69573 ac_ext=c
69574 ac_cpp='$CPP $CPPFLAGS'
69575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
69584 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
69586 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
69587 for ac_func in _finitef
69588 do :
69589 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
69590 if test "x$ac_cv_func__finitef" = x""yes; then :
69591 cat >>confdefs.h <<_ACEOF
69592 #define HAVE__FINITEF 1
69593 _ACEOF
69596 done
69605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
69606 $as_echo_n "checking for long double trig functions... " >&6; }
69607 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
69608 $as_echo_n "(cached) " >&6
69609 else
69612 ac_ext=cpp
69613 ac_cpp='$CXXCPP $CPPFLAGS'
69614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69619 /* end confdefs.h. */
69620 #include <math.h>
69622 main ()
69624 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
69626 return 0;
69628 _ACEOF
69629 if ac_fn_cxx_try_compile "$LINENO"; then :
69630 glibcxx_cv_func_long_double_trig_use=yes
69631 else
69632 glibcxx_cv_func_long_double_trig_use=no
69634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69635 ac_ext=c
69636 ac_cpp='$CPP $CPPFLAGS'
69637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
69644 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
69645 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
69646 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
69647 do :
69648 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69649 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69650 eval as_val=\$$as_ac_var
69651 if test "x$as_val" = x""yes; then :
69652 cat >>confdefs.h <<_ACEOF
69653 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69654 _ACEOF
69657 done
69659 else
69660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
69661 $as_echo_n "checking for _long double trig functions... " >&6; }
69662 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
69663 $as_echo_n "(cached) " >&6
69664 else
69667 ac_ext=cpp
69668 ac_cpp='$CXXCPP $CPPFLAGS'
69669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69674 /* end confdefs.h. */
69675 #include <math.h>
69677 main ()
69679 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
69681 return 0;
69683 _ACEOF
69684 if ac_fn_cxx_try_compile "$LINENO"; then :
69685 glibcxx_cv_func__long_double_trig_use=yes
69686 else
69687 glibcxx_cv_func__long_double_trig_use=no
69689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69690 ac_ext=c
69691 ac_cpp='$CPP $CPPFLAGS'
69692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
69699 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
69700 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
69701 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
69702 do :
69703 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69704 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69705 eval as_val=\$$as_ac_var
69706 if test "x$as_val" = x""yes; then :
69707 cat >>confdefs.h <<_ACEOF
69708 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69709 _ACEOF
69712 done
69721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
69722 $as_echo_n "checking for long double round functions... " >&6; }
69723 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
69724 $as_echo_n "(cached) " >&6
69725 else
69728 ac_ext=cpp
69729 ac_cpp='$CXXCPP $CPPFLAGS'
69730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69735 /* end confdefs.h. */
69736 #include <math.h>
69738 main ()
69740 ceill (0); floorl (0);
69742 return 0;
69744 _ACEOF
69745 if ac_fn_cxx_try_compile "$LINENO"; then :
69746 glibcxx_cv_func_long_double_round_use=yes
69747 else
69748 glibcxx_cv_func_long_double_round_use=no
69750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69751 ac_ext=c
69752 ac_cpp='$CPP $CPPFLAGS'
69753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
69760 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
69761 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
69762 for ac_func in ceill floorl
69763 do :
69764 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69765 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69766 eval as_val=\$$as_ac_var
69767 if test "x$as_val" = x""yes; then :
69768 cat >>confdefs.h <<_ACEOF
69769 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69770 _ACEOF
69773 done
69775 else
69776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
69777 $as_echo_n "checking for _long double round functions... " >&6; }
69778 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
69779 $as_echo_n "(cached) " >&6
69780 else
69783 ac_ext=cpp
69784 ac_cpp='$CXXCPP $CPPFLAGS'
69785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69790 /* end confdefs.h. */
69791 #include <math.h>
69793 main ()
69795 _ceill (0); _floorl (0);
69797 return 0;
69799 _ACEOF
69800 if ac_fn_cxx_try_compile "$LINENO"; then :
69801 glibcxx_cv_func__long_double_round_use=yes
69802 else
69803 glibcxx_cv_func__long_double_round_use=no
69805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69806 ac_ext=c
69807 ac_cpp='$CPP $CPPFLAGS'
69808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
69815 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
69816 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
69817 for ac_func in _ceill _floorl
69818 do :
69819 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69820 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69821 eval as_val=\$$as_ac_var
69822 if test "x$as_val" = x""yes; then :
69823 cat >>confdefs.h <<_ACEOF
69824 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69825 _ACEOF
69828 done
69838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
69839 $as_echo_n "checking for isnanl declaration... " >&6; }
69840 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
69841 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
69842 $as_echo_n "(cached) " >&6
69843 else
69846 ac_ext=cpp
69847 ac_cpp='$CXXCPP $CPPFLAGS'
69848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69853 /* end confdefs.h. */
69854 #include <math.h>
69855 #ifdef HAVE_IEEEFP_H
69856 #include <ieeefp.h>
69857 #endif
69860 main ()
69862 isnanl(0);
69864 return 0;
69866 _ACEOF
69867 if ac_fn_cxx_try_compile "$LINENO"; then :
69868 glibcxx_cv_func_isnanl_use=yes
69869 else
69870 glibcxx_cv_func_isnanl_use=no
69872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69873 ac_ext=c
69874 ac_cpp='$CPP $CPPFLAGS'
69875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
69884 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
69886 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
69887 for ac_func in isnanl
69888 do :
69889 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
69890 if test "x$ac_cv_func_isnanl" = x""yes; then :
69891 cat >>confdefs.h <<_ACEOF
69892 #define HAVE_ISNANL 1
69893 _ACEOF
69896 done
69898 else
69900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
69901 $as_echo_n "checking for _isnanl declaration... " >&6; }
69902 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
69903 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
69904 $as_echo_n "(cached) " >&6
69905 else
69908 ac_ext=cpp
69909 ac_cpp='$CXXCPP $CPPFLAGS'
69910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69915 /* end confdefs.h. */
69916 #include <math.h>
69917 #ifdef HAVE_IEEEFP_H
69918 #include <ieeefp.h>
69919 #endif
69922 main ()
69924 _isnanl(0);
69926 return 0;
69928 _ACEOF
69929 if ac_fn_cxx_try_compile "$LINENO"; then :
69930 glibcxx_cv_func__isnanl_use=yes
69931 else
69932 glibcxx_cv_func__isnanl_use=no
69934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69935 ac_ext=c
69936 ac_cpp='$CPP $CPPFLAGS'
69937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
69946 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
69948 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
69949 for ac_func in _isnanl
69950 do :
69951 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
69952 if test "x$ac_cv_func__isnanl" = x""yes; then :
69953 cat >>confdefs.h <<_ACEOF
69954 #define HAVE__ISNANL 1
69955 _ACEOF
69958 done
69967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
69968 $as_echo_n "checking for isinfl declaration... " >&6; }
69969 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
69970 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
69971 $as_echo_n "(cached) " >&6
69972 else
69975 ac_ext=cpp
69976 ac_cpp='$CXXCPP $CPPFLAGS'
69977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69982 /* end confdefs.h. */
69983 #include <math.h>
69984 #ifdef HAVE_IEEEFP_H
69985 #include <ieeefp.h>
69986 #endif
69989 main ()
69991 isinfl(0);
69993 return 0;
69995 _ACEOF
69996 if ac_fn_cxx_try_compile "$LINENO"; then :
69997 glibcxx_cv_func_isinfl_use=yes
69998 else
69999 glibcxx_cv_func_isinfl_use=no
70001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70002 ac_ext=c
70003 ac_cpp='$CPP $CPPFLAGS'
70004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70013 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70015 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70016 for ac_func in isinfl
70017 do :
70018 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70019 if test "x$ac_cv_func_isinfl" = x""yes; then :
70020 cat >>confdefs.h <<_ACEOF
70021 #define HAVE_ISINFL 1
70022 _ACEOF
70025 done
70027 else
70029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70030 $as_echo_n "checking for _isinfl declaration... " >&6; }
70031 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70032 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
70033 $as_echo_n "(cached) " >&6
70034 else
70037 ac_ext=cpp
70038 ac_cpp='$CXXCPP $CPPFLAGS'
70039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70044 /* end confdefs.h. */
70045 #include <math.h>
70046 #ifdef HAVE_IEEEFP_H
70047 #include <ieeefp.h>
70048 #endif
70051 main ()
70053 _isinfl(0);
70055 return 0;
70057 _ACEOF
70058 if ac_fn_cxx_try_compile "$LINENO"; then :
70059 glibcxx_cv_func__isinfl_use=yes
70060 else
70061 glibcxx_cv_func__isinfl_use=no
70063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70064 ac_ext=c
70065 ac_cpp='$CPP $CPPFLAGS'
70066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70075 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70077 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70078 for ac_func in _isinfl
70079 do :
70080 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70081 if test "x$ac_cv_func__isinfl" = x""yes; then :
70082 cat >>confdefs.h <<_ACEOF
70083 #define HAVE__ISINFL 1
70084 _ACEOF
70087 done
70096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70097 $as_echo_n "checking for atan2l declaration... " >&6; }
70098 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70099 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
70100 $as_echo_n "(cached) " >&6
70101 else
70104 ac_ext=cpp
70105 ac_cpp='$CXXCPP $CPPFLAGS'
70106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70111 /* end confdefs.h. */
70112 #include <math.h>
70114 main ()
70116 atan2l(0, 0);
70118 return 0;
70120 _ACEOF
70121 if ac_fn_cxx_try_compile "$LINENO"; then :
70122 glibcxx_cv_func_atan2l_use=yes
70123 else
70124 glibcxx_cv_func_atan2l_use=no
70126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70127 ac_ext=c
70128 ac_cpp='$CPP $CPPFLAGS'
70129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70138 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70140 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70141 for ac_func in atan2l
70142 do :
70143 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70144 if test "x$ac_cv_func_atan2l" = x""yes; then :
70145 cat >>confdefs.h <<_ACEOF
70146 #define HAVE_ATAN2L 1
70147 _ACEOF
70150 done
70152 else
70154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70155 $as_echo_n "checking for _atan2l declaration... " >&6; }
70156 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70157 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
70158 $as_echo_n "(cached) " >&6
70159 else
70162 ac_ext=cpp
70163 ac_cpp='$CXXCPP $CPPFLAGS'
70164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70169 /* end confdefs.h. */
70170 #include <math.h>
70172 main ()
70174 _atan2l(0, 0);
70176 return 0;
70178 _ACEOF
70179 if ac_fn_cxx_try_compile "$LINENO"; then :
70180 glibcxx_cv_func__atan2l_use=yes
70181 else
70182 glibcxx_cv_func__atan2l_use=no
70184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70185 ac_ext=c
70186 ac_cpp='$CPP $CPPFLAGS'
70187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70196 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70198 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70199 for ac_func in _atan2l
70200 do :
70201 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70202 if test "x$ac_cv_func__atan2l" = x""yes; then :
70203 cat >>confdefs.h <<_ACEOF
70204 #define HAVE__ATAN2L 1
70205 _ACEOF
70208 done
70217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70218 $as_echo_n "checking for expl declaration... " >&6; }
70219 if test x${glibcxx_cv_func_expl_use+set} != xset; then
70220 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
70221 $as_echo_n "(cached) " >&6
70222 else
70225 ac_ext=cpp
70226 ac_cpp='$CXXCPP $CPPFLAGS'
70227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70232 /* end confdefs.h. */
70233 #include <math.h>
70234 #ifdef HAVE_IEEEFP_H
70235 #include <ieeefp.h>
70236 #endif
70239 main ()
70241 expl(0);
70243 return 0;
70245 _ACEOF
70246 if ac_fn_cxx_try_compile "$LINENO"; then :
70247 glibcxx_cv_func_expl_use=yes
70248 else
70249 glibcxx_cv_func_expl_use=no
70251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70252 ac_ext=c
70253 ac_cpp='$CPP $CPPFLAGS'
70254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70263 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
70265 if test x$glibcxx_cv_func_expl_use = x"yes"; then
70266 for ac_func in expl
70267 do :
70268 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70269 if test "x$ac_cv_func_expl" = x""yes; then :
70270 cat >>confdefs.h <<_ACEOF
70271 #define HAVE_EXPL 1
70272 _ACEOF
70275 done
70277 else
70279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70280 $as_echo_n "checking for _expl declaration... " >&6; }
70281 if test x${glibcxx_cv_func__expl_use+set} != xset; then
70282 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
70283 $as_echo_n "(cached) " >&6
70284 else
70287 ac_ext=cpp
70288 ac_cpp='$CXXCPP $CPPFLAGS'
70289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70294 /* end confdefs.h. */
70295 #include <math.h>
70296 #ifdef HAVE_IEEEFP_H
70297 #include <ieeefp.h>
70298 #endif
70301 main ()
70303 _expl(0);
70305 return 0;
70307 _ACEOF
70308 if ac_fn_cxx_try_compile "$LINENO"; then :
70309 glibcxx_cv_func__expl_use=yes
70310 else
70311 glibcxx_cv_func__expl_use=no
70313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70314 ac_ext=c
70315 ac_cpp='$CPP $CPPFLAGS'
70316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70325 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
70327 if test x$glibcxx_cv_func__expl_use = x"yes"; then
70328 for ac_func in _expl
70329 do :
70330 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70331 if test "x$ac_cv_func__expl" = x""yes; then :
70332 cat >>confdefs.h <<_ACEOF
70333 #define HAVE__EXPL 1
70334 _ACEOF
70337 done
70346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70347 $as_echo_n "checking for fabsl declaration... " >&6; }
70348 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70349 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
70350 $as_echo_n "(cached) " >&6
70351 else
70354 ac_ext=cpp
70355 ac_cpp='$CXXCPP $CPPFLAGS'
70356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70361 /* end confdefs.h. */
70362 #include <math.h>
70363 #ifdef HAVE_IEEEFP_H
70364 #include <ieeefp.h>
70365 #endif
70368 main ()
70370 fabsl(0);
70372 return 0;
70374 _ACEOF
70375 if ac_fn_cxx_try_compile "$LINENO"; then :
70376 glibcxx_cv_func_fabsl_use=yes
70377 else
70378 glibcxx_cv_func_fabsl_use=no
70380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70381 ac_ext=c
70382 ac_cpp='$CPP $CPPFLAGS'
70383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
70392 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
70394 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
70395 for ac_func in fabsl
70396 do :
70397 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
70398 if test "x$ac_cv_func_fabsl" = x""yes; then :
70399 cat >>confdefs.h <<_ACEOF
70400 #define HAVE_FABSL 1
70401 _ACEOF
70404 done
70406 else
70408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
70409 $as_echo_n "checking for _fabsl declaration... " >&6; }
70410 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
70411 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
70412 $as_echo_n "(cached) " >&6
70413 else
70416 ac_ext=cpp
70417 ac_cpp='$CXXCPP $CPPFLAGS'
70418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70423 /* end confdefs.h. */
70424 #include <math.h>
70425 #ifdef HAVE_IEEEFP_H
70426 #include <ieeefp.h>
70427 #endif
70430 main ()
70432 _fabsl(0);
70434 return 0;
70436 _ACEOF
70437 if ac_fn_cxx_try_compile "$LINENO"; then :
70438 glibcxx_cv_func__fabsl_use=yes
70439 else
70440 glibcxx_cv_func__fabsl_use=no
70442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70443 ac_ext=c
70444 ac_cpp='$CPP $CPPFLAGS'
70445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
70454 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
70456 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
70457 for ac_func in _fabsl
70458 do :
70459 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
70460 if test "x$ac_cv_func__fabsl" = x""yes; then :
70461 cat >>confdefs.h <<_ACEOF
70462 #define HAVE__FABSL 1
70463 _ACEOF
70466 done
70475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
70476 $as_echo_n "checking for fmodl declaration... " >&6; }
70477 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
70478 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
70479 $as_echo_n "(cached) " >&6
70480 else
70483 ac_ext=cpp
70484 ac_cpp='$CXXCPP $CPPFLAGS'
70485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70490 /* end confdefs.h. */
70491 #include <math.h>
70493 main ()
70495 fmodl(0, 0);
70497 return 0;
70499 _ACEOF
70500 if ac_fn_cxx_try_compile "$LINENO"; then :
70501 glibcxx_cv_func_fmodl_use=yes
70502 else
70503 glibcxx_cv_func_fmodl_use=no
70505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70506 ac_ext=c
70507 ac_cpp='$CPP $CPPFLAGS'
70508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
70517 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
70519 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
70520 for ac_func in fmodl
70521 do :
70522 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
70523 if test "x$ac_cv_func_fmodl" = x""yes; then :
70524 cat >>confdefs.h <<_ACEOF
70525 #define HAVE_FMODL 1
70526 _ACEOF
70529 done
70531 else
70533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
70534 $as_echo_n "checking for _fmodl declaration... " >&6; }
70535 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
70536 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
70537 $as_echo_n "(cached) " >&6
70538 else
70541 ac_ext=cpp
70542 ac_cpp='$CXXCPP $CPPFLAGS'
70543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70548 /* end confdefs.h. */
70549 #include <math.h>
70551 main ()
70553 _fmodl(0, 0);
70555 return 0;
70557 _ACEOF
70558 if ac_fn_cxx_try_compile "$LINENO"; then :
70559 glibcxx_cv_func__fmodl_use=yes
70560 else
70561 glibcxx_cv_func__fmodl_use=no
70563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70564 ac_ext=c
70565 ac_cpp='$CPP $CPPFLAGS'
70566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
70575 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
70577 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
70578 for ac_func in _fmodl
70579 do :
70580 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
70581 if test "x$ac_cv_func__fmodl" = x""yes; then :
70582 cat >>confdefs.h <<_ACEOF
70583 #define HAVE__FMODL 1
70584 _ACEOF
70587 done
70596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
70597 $as_echo_n "checking for frexpl declaration... " >&6; }
70598 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
70599 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
70600 $as_echo_n "(cached) " >&6
70601 else
70604 ac_ext=cpp
70605 ac_cpp='$CXXCPP $CPPFLAGS'
70606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70611 /* end confdefs.h. */
70612 #include <math.h>
70614 main ()
70616 frexpl(0, 0);
70618 return 0;
70620 _ACEOF
70621 if ac_fn_cxx_try_compile "$LINENO"; then :
70622 glibcxx_cv_func_frexpl_use=yes
70623 else
70624 glibcxx_cv_func_frexpl_use=no
70626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70627 ac_ext=c
70628 ac_cpp='$CPP $CPPFLAGS'
70629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
70638 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
70640 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
70641 for ac_func in frexpl
70642 do :
70643 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
70644 if test "x$ac_cv_func_frexpl" = x""yes; then :
70645 cat >>confdefs.h <<_ACEOF
70646 #define HAVE_FREXPL 1
70647 _ACEOF
70650 done
70652 else
70654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
70655 $as_echo_n "checking for _frexpl declaration... " >&6; }
70656 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
70657 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
70658 $as_echo_n "(cached) " >&6
70659 else
70662 ac_ext=cpp
70663 ac_cpp='$CXXCPP $CPPFLAGS'
70664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70669 /* end confdefs.h. */
70670 #include <math.h>
70672 main ()
70674 _frexpl(0, 0);
70676 return 0;
70678 _ACEOF
70679 if ac_fn_cxx_try_compile "$LINENO"; then :
70680 glibcxx_cv_func__frexpl_use=yes
70681 else
70682 glibcxx_cv_func__frexpl_use=no
70684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70685 ac_ext=c
70686 ac_cpp='$CPP $CPPFLAGS'
70687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
70696 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
70698 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
70699 for ac_func in _frexpl
70700 do :
70701 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
70702 if test "x$ac_cv_func__frexpl" = x""yes; then :
70703 cat >>confdefs.h <<_ACEOF
70704 #define HAVE__FREXPL 1
70705 _ACEOF
70708 done
70717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
70718 $as_echo_n "checking for hypotl declaration... " >&6; }
70719 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
70720 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
70721 $as_echo_n "(cached) " >&6
70722 else
70725 ac_ext=cpp
70726 ac_cpp='$CXXCPP $CPPFLAGS'
70727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70732 /* end confdefs.h. */
70733 #include <math.h>
70735 main ()
70737 hypotl(0, 0);
70739 return 0;
70741 _ACEOF
70742 if ac_fn_cxx_try_compile "$LINENO"; then :
70743 glibcxx_cv_func_hypotl_use=yes
70744 else
70745 glibcxx_cv_func_hypotl_use=no
70747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70748 ac_ext=c
70749 ac_cpp='$CPP $CPPFLAGS'
70750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
70759 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
70761 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
70762 for ac_func in hypotl
70763 do :
70764 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
70765 if test "x$ac_cv_func_hypotl" = x""yes; then :
70766 cat >>confdefs.h <<_ACEOF
70767 #define HAVE_HYPOTL 1
70768 _ACEOF
70771 done
70773 else
70775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
70776 $as_echo_n "checking for _hypotl declaration... " >&6; }
70777 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
70778 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
70779 $as_echo_n "(cached) " >&6
70780 else
70783 ac_ext=cpp
70784 ac_cpp='$CXXCPP $CPPFLAGS'
70785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70790 /* end confdefs.h. */
70791 #include <math.h>
70793 main ()
70795 _hypotl(0, 0);
70797 return 0;
70799 _ACEOF
70800 if ac_fn_cxx_try_compile "$LINENO"; then :
70801 glibcxx_cv_func__hypotl_use=yes
70802 else
70803 glibcxx_cv_func__hypotl_use=no
70805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70806 ac_ext=c
70807 ac_cpp='$CPP $CPPFLAGS'
70808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
70817 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
70819 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
70820 for ac_func in _hypotl
70821 do :
70822 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
70823 if test "x$ac_cv_func__hypotl" = x""yes; then :
70824 cat >>confdefs.h <<_ACEOF
70825 #define HAVE__HYPOTL 1
70826 _ACEOF
70829 done
70838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
70839 $as_echo_n "checking for ldexpl declaration... " >&6; }
70840 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
70841 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
70842 $as_echo_n "(cached) " >&6
70843 else
70846 ac_ext=cpp
70847 ac_cpp='$CXXCPP $CPPFLAGS'
70848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70853 /* end confdefs.h. */
70854 #include <math.h>
70856 main ()
70858 ldexpl(0, 0);
70860 return 0;
70862 _ACEOF
70863 if ac_fn_cxx_try_compile "$LINENO"; then :
70864 glibcxx_cv_func_ldexpl_use=yes
70865 else
70866 glibcxx_cv_func_ldexpl_use=no
70868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70869 ac_ext=c
70870 ac_cpp='$CPP $CPPFLAGS'
70871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
70880 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
70882 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
70883 for ac_func in ldexpl
70884 do :
70885 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
70886 if test "x$ac_cv_func_ldexpl" = x""yes; then :
70887 cat >>confdefs.h <<_ACEOF
70888 #define HAVE_LDEXPL 1
70889 _ACEOF
70892 done
70894 else
70896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
70897 $as_echo_n "checking for _ldexpl declaration... " >&6; }
70898 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
70899 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
70900 $as_echo_n "(cached) " >&6
70901 else
70904 ac_ext=cpp
70905 ac_cpp='$CXXCPP $CPPFLAGS'
70906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70911 /* end confdefs.h. */
70912 #include <math.h>
70914 main ()
70916 _ldexpl(0, 0);
70918 return 0;
70920 _ACEOF
70921 if ac_fn_cxx_try_compile "$LINENO"; then :
70922 glibcxx_cv_func__ldexpl_use=yes
70923 else
70924 glibcxx_cv_func__ldexpl_use=no
70926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70927 ac_ext=c
70928 ac_cpp='$CPP $CPPFLAGS'
70929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
70938 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
70940 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
70941 for ac_func in _ldexpl
70942 do :
70943 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
70944 if test "x$ac_cv_func__ldexpl" = x""yes; then :
70945 cat >>confdefs.h <<_ACEOF
70946 #define HAVE__LDEXPL 1
70947 _ACEOF
70950 done
70959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
70960 $as_echo_n "checking for logl declaration... " >&6; }
70961 if test x${glibcxx_cv_func_logl_use+set} != xset; then
70962 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
70963 $as_echo_n "(cached) " >&6
70964 else
70967 ac_ext=cpp
70968 ac_cpp='$CXXCPP $CPPFLAGS'
70969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70974 /* end confdefs.h. */
70975 #include <math.h>
70976 #ifdef HAVE_IEEEFP_H
70977 #include <ieeefp.h>
70978 #endif
70981 main ()
70983 logl(0);
70985 return 0;
70987 _ACEOF
70988 if ac_fn_cxx_try_compile "$LINENO"; then :
70989 glibcxx_cv_func_logl_use=yes
70990 else
70991 glibcxx_cv_func_logl_use=no
70993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70994 ac_ext=c
70995 ac_cpp='$CPP $CPPFLAGS'
70996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71005 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71007 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71008 for ac_func in logl
71009 do :
71010 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71011 if test "x$ac_cv_func_logl" = x""yes; then :
71012 cat >>confdefs.h <<_ACEOF
71013 #define HAVE_LOGL 1
71014 _ACEOF
71017 done
71019 else
71021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71022 $as_echo_n "checking for _logl declaration... " >&6; }
71023 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71024 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
71025 $as_echo_n "(cached) " >&6
71026 else
71029 ac_ext=cpp
71030 ac_cpp='$CXXCPP $CPPFLAGS'
71031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71036 /* end confdefs.h. */
71037 #include <math.h>
71038 #ifdef HAVE_IEEEFP_H
71039 #include <ieeefp.h>
71040 #endif
71043 main ()
71045 _logl(0);
71047 return 0;
71049 _ACEOF
71050 if ac_fn_cxx_try_compile "$LINENO"; then :
71051 glibcxx_cv_func__logl_use=yes
71052 else
71053 glibcxx_cv_func__logl_use=no
71055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71056 ac_ext=c
71057 ac_cpp='$CPP $CPPFLAGS'
71058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71067 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71069 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71070 for ac_func in _logl
71071 do :
71072 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71073 if test "x$ac_cv_func__logl" = x""yes; then :
71074 cat >>confdefs.h <<_ACEOF
71075 #define HAVE__LOGL 1
71076 _ACEOF
71079 done
71088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71089 $as_echo_n "checking for log10l declaration... " >&6; }
71090 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71091 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
71092 $as_echo_n "(cached) " >&6
71093 else
71096 ac_ext=cpp
71097 ac_cpp='$CXXCPP $CPPFLAGS'
71098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71103 /* end confdefs.h. */
71104 #include <math.h>
71105 #ifdef HAVE_IEEEFP_H
71106 #include <ieeefp.h>
71107 #endif
71110 main ()
71112 log10l(0);
71114 return 0;
71116 _ACEOF
71117 if ac_fn_cxx_try_compile "$LINENO"; then :
71118 glibcxx_cv_func_log10l_use=yes
71119 else
71120 glibcxx_cv_func_log10l_use=no
71122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71123 ac_ext=c
71124 ac_cpp='$CPP $CPPFLAGS'
71125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71134 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71136 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71137 for ac_func in log10l
71138 do :
71139 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71140 if test "x$ac_cv_func_log10l" = x""yes; then :
71141 cat >>confdefs.h <<_ACEOF
71142 #define HAVE_LOG10L 1
71143 _ACEOF
71146 done
71148 else
71150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71151 $as_echo_n "checking for _log10l declaration... " >&6; }
71152 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71153 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
71154 $as_echo_n "(cached) " >&6
71155 else
71158 ac_ext=cpp
71159 ac_cpp='$CXXCPP $CPPFLAGS'
71160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71165 /* end confdefs.h. */
71166 #include <math.h>
71167 #ifdef HAVE_IEEEFP_H
71168 #include <ieeefp.h>
71169 #endif
71172 main ()
71174 _log10l(0);
71176 return 0;
71178 _ACEOF
71179 if ac_fn_cxx_try_compile "$LINENO"; then :
71180 glibcxx_cv_func__log10l_use=yes
71181 else
71182 glibcxx_cv_func__log10l_use=no
71184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71185 ac_ext=c
71186 ac_cpp='$CPP $CPPFLAGS'
71187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71196 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71198 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71199 for ac_func in _log10l
71200 do :
71201 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71202 if test "x$ac_cv_func__log10l" = x""yes; then :
71203 cat >>confdefs.h <<_ACEOF
71204 #define HAVE__LOG10L 1
71205 _ACEOF
71208 done
71217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71218 $as_echo_n "checking for modfl declaration... " >&6; }
71219 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71220 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
71221 $as_echo_n "(cached) " >&6
71222 else
71225 ac_ext=cpp
71226 ac_cpp='$CXXCPP $CPPFLAGS'
71227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71232 /* end confdefs.h. */
71233 #include <math.h>
71235 main ()
71237 modfl(0, 0);
71239 return 0;
71241 _ACEOF
71242 if ac_fn_cxx_try_compile "$LINENO"; then :
71243 glibcxx_cv_func_modfl_use=yes
71244 else
71245 glibcxx_cv_func_modfl_use=no
71247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71248 ac_ext=c
71249 ac_cpp='$CPP $CPPFLAGS'
71250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71259 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71261 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71262 for ac_func in modfl
71263 do :
71264 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71265 if test "x$ac_cv_func_modfl" = x""yes; then :
71266 cat >>confdefs.h <<_ACEOF
71267 #define HAVE_MODFL 1
71268 _ACEOF
71271 done
71273 else
71275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71276 $as_echo_n "checking for _modfl declaration... " >&6; }
71277 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71278 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
71279 $as_echo_n "(cached) " >&6
71280 else
71283 ac_ext=cpp
71284 ac_cpp='$CXXCPP $CPPFLAGS'
71285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71290 /* end confdefs.h. */
71291 #include <math.h>
71293 main ()
71295 _modfl(0, 0);
71297 return 0;
71299 _ACEOF
71300 if ac_fn_cxx_try_compile "$LINENO"; then :
71301 glibcxx_cv_func__modfl_use=yes
71302 else
71303 glibcxx_cv_func__modfl_use=no
71305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71306 ac_ext=c
71307 ac_cpp='$CPP $CPPFLAGS'
71308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71317 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71319 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71320 for ac_func in _modfl
71321 do :
71322 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71323 if test "x$ac_cv_func__modfl" = x""yes; then :
71324 cat >>confdefs.h <<_ACEOF
71325 #define HAVE__MODFL 1
71326 _ACEOF
71329 done
71338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71339 $as_echo_n "checking for powl declaration... " >&6; }
71340 if test x${glibcxx_cv_func_powl_use+set} != xset; then
71341 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
71342 $as_echo_n "(cached) " >&6
71343 else
71346 ac_ext=cpp
71347 ac_cpp='$CXXCPP $CPPFLAGS'
71348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71353 /* end confdefs.h. */
71354 #include <math.h>
71356 main ()
71358 powl(0, 0);
71360 return 0;
71362 _ACEOF
71363 if ac_fn_cxx_try_compile "$LINENO"; then :
71364 glibcxx_cv_func_powl_use=yes
71365 else
71366 glibcxx_cv_func_powl_use=no
71368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71369 ac_ext=c
71370 ac_cpp='$CPP $CPPFLAGS'
71371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71380 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
71382 if test x$glibcxx_cv_func_powl_use = x"yes"; then
71383 for ac_func in powl
71384 do :
71385 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
71386 if test "x$ac_cv_func_powl" = x""yes; then :
71387 cat >>confdefs.h <<_ACEOF
71388 #define HAVE_POWL 1
71389 _ACEOF
71392 done
71394 else
71396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
71397 $as_echo_n "checking for _powl declaration... " >&6; }
71398 if test x${glibcxx_cv_func__powl_use+set} != xset; then
71399 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
71400 $as_echo_n "(cached) " >&6
71401 else
71404 ac_ext=cpp
71405 ac_cpp='$CXXCPP $CPPFLAGS'
71406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71411 /* end confdefs.h. */
71412 #include <math.h>
71414 main ()
71416 _powl(0, 0);
71418 return 0;
71420 _ACEOF
71421 if ac_fn_cxx_try_compile "$LINENO"; then :
71422 glibcxx_cv_func__powl_use=yes
71423 else
71424 glibcxx_cv_func__powl_use=no
71426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71427 ac_ext=c
71428 ac_cpp='$CPP $CPPFLAGS'
71429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
71438 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
71440 if test x$glibcxx_cv_func__powl_use = x"yes"; then
71441 for ac_func in _powl
71442 do :
71443 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
71444 if test "x$ac_cv_func__powl" = x""yes; then :
71445 cat >>confdefs.h <<_ACEOF
71446 #define HAVE__POWL 1
71447 _ACEOF
71450 done
71459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
71460 $as_echo_n "checking for sqrtl declaration... " >&6; }
71461 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
71462 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
71463 $as_echo_n "(cached) " >&6
71464 else
71467 ac_ext=cpp
71468 ac_cpp='$CXXCPP $CPPFLAGS'
71469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71474 /* end confdefs.h. */
71475 #include <math.h>
71476 #ifdef HAVE_IEEEFP_H
71477 #include <ieeefp.h>
71478 #endif
71481 main ()
71483 sqrtl(0);
71485 return 0;
71487 _ACEOF
71488 if ac_fn_cxx_try_compile "$LINENO"; then :
71489 glibcxx_cv_func_sqrtl_use=yes
71490 else
71491 glibcxx_cv_func_sqrtl_use=no
71493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71494 ac_ext=c
71495 ac_cpp='$CPP $CPPFLAGS'
71496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
71505 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
71507 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
71508 for ac_func in sqrtl
71509 do :
71510 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
71511 if test "x$ac_cv_func_sqrtl" = x""yes; then :
71512 cat >>confdefs.h <<_ACEOF
71513 #define HAVE_SQRTL 1
71514 _ACEOF
71517 done
71519 else
71521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
71522 $as_echo_n "checking for _sqrtl declaration... " >&6; }
71523 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
71524 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
71525 $as_echo_n "(cached) " >&6
71526 else
71529 ac_ext=cpp
71530 ac_cpp='$CXXCPP $CPPFLAGS'
71531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71536 /* end confdefs.h. */
71537 #include <math.h>
71538 #ifdef HAVE_IEEEFP_H
71539 #include <ieeefp.h>
71540 #endif
71543 main ()
71545 _sqrtl(0);
71547 return 0;
71549 _ACEOF
71550 if ac_fn_cxx_try_compile "$LINENO"; then :
71551 glibcxx_cv_func__sqrtl_use=yes
71552 else
71553 glibcxx_cv_func__sqrtl_use=no
71555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71556 ac_ext=c
71557 ac_cpp='$CPP $CPPFLAGS'
71558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
71567 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
71569 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
71570 for ac_func in _sqrtl
71571 do :
71572 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
71573 if test "x$ac_cv_func__sqrtl" = x""yes; then :
71574 cat >>confdefs.h <<_ACEOF
71575 #define HAVE__SQRTL 1
71576 _ACEOF
71579 done
71588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
71589 $as_echo_n "checking for sincosl declaration... " >&6; }
71590 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
71591 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
71592 $as_echo_n "(cached) " >&6
71593 else
71596 ac_ext=cpp
71597 ac_cpp='$CXXCPP $CPPFLAGS'
71598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71603 /* end confdefs.h. */
71604 #include <math.h>
71606 main ()
71608 sincosl(0, 0, 0);
71610 return 0;
71612 _ACEOF
71613 if ac_fn_cxx_try_compile "$LINENO"; then :
71614 glibcxx_cv_func_sincosl_use=yes
71615 else
71616 glibcxx_cv_func_sincosl_use=no
71618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71619 ac_ext=c
71620 ac_cpp='$CPP $CPPFLAGS'
71621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
71630 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
71632 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
71633 for ac_func in sincosl
71634 do :
71635 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
71636 if test "x$ac_cv_func_sincosl" = x""yes; then :
71637 cat >>confdefs.h <<_ACEOF
71638 #define HAVE_SINCOSL 1
71639 _ACEOF
71642 done
71644 else
71646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
71647 $as_echo_n "checking for _sincosl declaration... " >&6; }
71648 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
71649 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
71650 $as_echo_n "(cached) " >&6
71651 else
71654 ac_ext=cpp
71655 ac_cpp='$CXXCPP $CPPFLAGS'
71656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71661 /* end confdefs.h. */
71662 #include <math.h>
71664 main ()
71666 _sincosl(0, 0, 0);
71668 return 0;
71670 _ACEOF
71671 if ac_fn_cxx_try_compile "$LINENO"; then :
71672 glibcxx_cv_func__sincosl_use=yes
71673 else
71674 glibcxx_cv_func__sincosl_use=no
71676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71677 ac_ext=c
71678 ac_cpp='$CPP $CPPFLAGS'
71679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
71688 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
71690 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
71691 for ac_func in _sincosl
71692 do :
71693 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
71694 if test "x$ac_cv_func__sincosl" = x""yes; then :
71695 cat >>confdefs.h <<_ACEOF
71696 #define HAVE__SINCOSL 1
71697 _ACEOF
71700 done
71709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
71710 $as_echo_n "checking for finitel declaration... " >&6; }
71711 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
71712 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
71713 $as_echo_n "(cached) " >&6
71714 else
71717 ac_ext=cpp
71718 ac_cpp='$CXXCPP $CPPFLAGS'
71719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71724 /* end confdefs.h. */
71725 #include <math.h>
71726 #ifdef HAVE_IEEEFP_H
71727 #include <ieeefp.h>
71728 #endif
71731 main ()
71733 finitel(0);
71735 return 0;
71737 _ACEOF
71738 if ac_fn_cxx_try_compile "$LINENO"; then :
71739 glibcxx_cv_func_finitel_use=yes
71740 else
71741 glibcxx_cv_func_finitel_use=no
71743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71744 ac_ext=c
71745 ac_cpp='$CPP $CPPFLAGS'
71746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
71755 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
71757 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
71758 for ac_func in finitel
71759 do :
71760 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
71761 if test "x$ac_cv_func_finitel" = x""yes; then :
71762 cat >>confdefs.h <<_ACEOF
71763 #define HAVE_FINITEL 1
71764 _ACEOF
71767 done
71769 else
71771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
71772 $as_echo_n "checking for _finitel declaration... " >&6; }
71773 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
71774 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
71775 $as_echo_n "(cached) " >&6
71776 else
71779 ac_ext=cpp
71780 ac_cpp='$CXXCPP $CPPFLAGS'
71781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71786 /* end confdefs.h. */
71787 #include <math.h>
71788 #ifdef HAVE_IEEEFP_H
71789 #include <ieeefp.h>
71790 #endif
71793 main ()
71795 _finitel(0);
71797 return 0;
71799 _ACEOF
71800 if ac_fn_cxx_try_compile "$LINENO"; then :
71801 glibcxx_cv_func__finitel_use=yes
71802 else
71803 glibcxx_cv_func__finitel_use=no
71805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71806 ac_ext=c
71807 ac_cpp='$CPP $CPPFLAGS'
71808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
71817 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
71819 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
71820 for ac_func in _finitel
71821 do :
71822 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
71823 if test "x$ac_cv_func__finitel" = x""yes; then :
71824 cat >>confdefs.h <<_ACEOF
71825 #define HAVE__FINITEL 1
71826 _ACEOF
71829 done
71837 LIBS="$ac_save_LIBS"
71838 CXXFLAGS="$ac_save_CXXFLAGS"
71841 ac_test_CXXFLAGS="${CXXFLAGS+set}"
71842 ac_save_CXXFLAGS="$CXXFLAGS"
71843 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
71846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
71847 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
71848 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
71849 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
71850 $as_echo_n "(cached) " >&6
71851 else
71854 ac_ext=cpp
71855 ac_cpp='$CXXCPP $CPPFLAGS'
71856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71861 /* end confdefs.h. */
71862 #include <stdlib.h>
71864 main ()
71866 at_quick_exit(0);
71868 return 0;
71870 _ACEOF
71871 if ac_fn_cxx_try_compile "$LINENO"; then :
71872 glibcxx_cv_func_at_quick_exit_use=yes
71873 else
71874 glibcxx_cv_func_at_quick_exit_use=no
71876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71877 ac_ext=c
71878 ac_cpp='$CPP $CPPFLAGS'
71879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
71888 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
71889 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
71890 for ac_func in at_quick_exit
71891 do :
71892 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
71893 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
71894 cat >>confdefs.h <<_ACEOF
71895 #define HAVE_AT_QUICK_EXIT 1
71896 _ACEOF
71899 done
71904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
71905 $as_echo_n "checking for quick_exit declaration... " >&6; }
71906 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
71907 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
71908 $as_echo_n "(cached) " >&6
71909 else
71912 ac_ext=cpp
71913 ac_cpp='$CXXCPP $CPPFLAGS'
71914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71919 /* end confdefs.h. */
71920 #include <stdlib.h>
71922 main ()
71924 quick_exit(0);
71926 return 0;
71928 _ACEOF
71929 if ac_fn_cxx_try_compile "$LINENO"; then :
71930 glibcxx_cv_func_quick_exit_use=yes
71931 else
71932 glibcxx_cv_func_quick_exit_use=no
71934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71935 ac_ext=c
71936 ac_cpp='$CPP $CPPFLAGS'
71937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
71946 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
71947 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
71948 for ac_func in quick_exit
71949 do :
71950 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
71951 if test "x$ac_cv_func_quick_exit" = x""yes; then :
71952 cat >>confdefs.h <<_ACEOF
71953 #define HAVE_QUICK_EXIT 1
71954 _ACEOF
71957 done
71962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
71963 $as_echo_n "checking for strtold declaration... " >&6; }
71964 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
71965 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
71966 $as_echo_n "(cached) " >&6
71967 else
71970 ac_ext=cpp
71971 ac_cpp='$CXXCPP $CPPFLAGS'
71972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71977 /* end confdefs.h. */
71978 #include <stdlib.h>
71980 main ()
71982 strtold(0, 0);
71984 return 0;
71986 _ACEOF
71987 if ac_fn_cxx_try_compile "$LINENO"; then :
71988 glibcxx_cv_func_strtold_use=yes
71989 else
71990 glibcxx_cv_func_strtold_use=no
71992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71993 ac_ext=c
71994 ac_cpp='$CPP $CPPFLAGS'
71995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72004 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72005 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72006 for ac_func in strtold
72007 do :
72008 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72009 if test "x$ac_cv_func_strtold" = x""yes; then :
72010 cat >>confdefs.h <<_ACEOF
72011 #define HAVE_STRTOLD 1
72012 _ACEOF
72015 done
72022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72023 $as_echo_n "checking for strtof declaration... " >&6; }
72024 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72025 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
72026 $as_echo_n "(cached) " >&6
72027 else
72030 ac_ext=cpp
72031 ac_cpp='$CXXCPP $CPPFLAGS'
72032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72037 /* end confdefs.h. */
72038 #include <stdlib.h>
72040 main ()
72042 strtof(0, 0);
72044 return 0;
72046 _ACEOF
72047 if ac_fn_cxx_try_compile "$LINENO"; then :
72048 glibcxx_cv_func_strtof_use=yes
72049 else
72050 glibcxx_cv_func_strtof_use=no
72052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72053 ac_ext=c
72054 ac_cpp='$CPP $CPPFLAGS'
72055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72064 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72065 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72066 for ac_func in strtof
72067 do :
72068 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72069 if test "x$ac_cv_func_strtof" = x""yes; then :
72070 cat >>confdefs.h <<_ACEOF
72071 #define HAVE_STRTOF 1
72072 _ACEOF
72075 done
72082 CXXFLAGS="$ac_save_CXXFLAGS"
72085 *-solaris*)
72087 # If we're not using GNU ld, then there's no point in even trying these
72088 # tests. Check for that first. We should have already tested for gld
72089 # by now (in libtool), but require it now just to be safe...
72090 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
72091 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
72095 # The name set by libtool depends on the version of libtool. Shame on us
72096 # for depending on an impl detail, but c'est la vie. Older versions used
72097 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
72098 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
72099 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
72100 # set (hence we're using an older libtool), then set it.
72101 if test x${with_gnu_ld+set} != xset; then
72102 if test x${ac_cv_prog_gnu_ld+set} != xset; then
72103 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
72104 with_gnu_ld=no
72105 else
72106 with_gnu_ld=$ac_cv_prog_gnu_ld
72110 # Start by getting the version number. I think the libtool test already
72111 # does some of this, but throws away the result.
72112 glibcxx_ld_is_gold=no
72113 if test x"$with_gnu_ld" = x"yes"; then
72114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
72115 $as_echo_n "checking for ld version... " >&6; }
72117 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
72118 glibcxx_ld_is_gold=yes
72120 ldver=`$LD --version 2>/dev/null |
72121 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'`
72123 glibcxx_gnu_ld_version=`echo $ldver | \
72124 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
72125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
72126 $as_echo "$glibcxx_gnu_ld_version" >&6; }
72129 # Set --gc-sections.
72130 glibcxx_have_gc_sections=no
72131 if test "$glibcxx_ld_is_gold" = "yes"; then
72132 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
72133 glibcxx_have_gc_sections=yes
72135 else
72136 glibcxx_gcsections_min_ld=21602
72137 if test x"$with_gnu_ld" = x"yes" &&
72138 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
72139 glibcxx_have_gc_sections=yes
72142 if test "$glibcxx_have_gc_sections" = "yes"; then
72143 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
72144 # NB: This flag only works reliably after 2.16.1. Configure tests
72145 # for this are difficult, so hard wire a value that should work.
72147 ac_test_CFLAGS="${CFLAGS+set}"
72148 ac_save_CFLAGS="$CFLAGS"
72149 CFLAGS='-Wl,--gc-sections'
72151 # Check for -Wl,--gc-sections
72152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
72153 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
72154 if test x$gcc_no_link = xyes; then
72155 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72158 /* end confdefs.h. */
72159 int one(void) { return 1; }
72160 int two(void) { return 2; }
72163 main ()
72165 two();
72167 return 0;
72169 _ACEOF
72170 if ac_fn_c_try_link "$LINENO"; then :
72171 ac_gcsections=yes
72172 else
72173 ac_gcsections=no
72175 rm -f core conftest.err conftest.$ac_objext \
72176 conftest$ac_exeext conftest.$ac_ext
72177 if test "$ac_gcsections" = "yes"; then
72178 rm -f conftest.c
72179 touch conftest.c
72180 if $CC -c conftest.c; then
72181 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
72182 grep "Warning: gc-sections option ignored" > /dev/null; then
72183 ac_gcsections=no
72186 rm -f conftest.c conftest.o conftest
72188 if test "$ac_gcsections" = "yes"; then
72189 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
72191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
72192 $as_echo "$ac_gcsections" >&6; }
72194 if test "$ac_test_CFLAGS" = set; then
72195 CFLAGS="$ac_save_CFLAGS"
72196 else
72197 # this is the suspicious part
72198 CFLAGS=''
72202 # Set -z,relro.
72203 # Note this is only for shared objects.
72204 ac_ld_relro=no
72205 if test x"$with_gnu_ld" = x"yes"; then
72206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
72207 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
72208 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
72209 if test -n "$cxx_z_relo"; then
72210 OPT_LDFLAGS="-Wl,-z,relro"
72211 ac_ld_relro=yes
72213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
72214 $as_echo "$ac_ld_relro" >&6; }
72217 # Set linker optimization flags.
72218 if test x"$with_gnu_ld" = x"yes"; then
72219 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
72225 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
72227 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72229 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
72231 # All of the dependencies for wide character support are here, so
72232 # turn it on.
72233 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
72235 # These two C99 functions are present only in Solaris >= 10
72236 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
72238 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
72240 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72242 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72244 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
72246 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
72249 *-tpf)
72250 SECTION_FLAGS='-ffunction-sections -fdata-sections'
72251 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
72253 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72255 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
72257 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
72259 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
72261 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
72263 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
72265 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72267 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72269 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
72271 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
72273 if test x"long_double_math_on_this_cpu" = x"yes"; then
72274 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
72276 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
72278 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
72280 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
72284 *-*vms*)
72285 # Check for available headers.
72286 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
72288 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72289 ac_save_CXXFLAGS="$CXXFLAGS"
72290 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
72293 $as_echo_n "checking for sin in -lm... " >&6; }
72294 if test "${ac_cv_lib_m_sin+set}" = set; then :
72295 $as_echo_n "(cached) " >&6
72296 else
72297 ac_check_lib_save_LIBS=$LIBS
72298 LIBS="-lm $LIBS"
72299 if test x$gcc_no_link = xyes; then
72300 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72303 /* end confdefs.h. */
72305 /* Override any GCC internal prototype to avoid an error.
72306 Use char because int might match the return type of a GCC
72307 builtin and then its argument prototype would still apply. */
72308 #ifdef __cplusplus
72309 extern "C"
72310 #endif
72311 char sin ();
72313 main ()
72315 return sin ();
72317 return 0;
72319 _ACEOF
72320 if ac_fn_c_try_link "$LINENO"; then :
72321 ac_cv_lib_m_sin=yes
72322 else
72323 ac_cv_lib_m_sin=no
72325 rm -f core conftest.err conftest.$ac_objext \
72326 conftest$ac_exeext conftest.$ac_ext
72327 LIBS=$ac_check_lib_save_LIBS
72329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
72330 $as_echo "$ac_cv_lib_m_sin" >&6; }
72331 if test "x$ac_cv_lib_m_sin" = x""yes; then :
72332 libm="-lm"
72335 ac_save_LIBS="$LIBS"
72336 LIBS="$LIBS $libm"
72340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
72341 $as_echo_n "checking for isinf declaration... " >&6; }
72342 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
72343 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
72344 $as_echo_n "(cached) " >&6
72345 else
72348 ac_ext=cpp
72349 ac_cpp='$CXXCPP $CPPFLAGS'
72350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72355 /* end confdefs.h. */
72356 #include <math.h>
72357 #ifdef HAVE_IEEEFP_H
72358 #include <ieeefp.h>
72359 #endif
72362 main ()
72364 isinf(0);
72366 return 0;
72368 _ACEOF
72369 if ac_fn_cxx_try_compile "$LINENO"; then :
72370 glibcxx_cv_func_isinf_use=yes
72371 else
72372 glibcxx_cv_func_isinf_use=no
72374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72375 ac_ext=c
72376 ac_cpp='$CPP $CPPFLAGS'
72377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
72386 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
72388 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
72389 for ac_func in isinf
72390 do :
72391 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
72392 if test "x$ac_cv_func_isinf" = x""yes; then :
72393 cat >>confdefs.h <<_ACEOF
72394 #define HAVE_ISINF 1
72395 _ACEOF
72398 done
72400 else
72402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
72403 $as_echo_n "checking for _isinf declaration... " >&6; }
72404 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
72405 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
72406 $as_echo_n "(cached) " >&6
72407 else
72410 ac_ext=cpp
72411 ac_cpp='$CXXCPP $CPPFLAGS'
72412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72417 /* end confdefs.h. */
72418 #include <math.h>
72419 #ifdef HAVE_IEEEFP_H
72420 #include <ieeefp.h>
72421 #endif
72424 main ()
72426 _isinf(0);
72428 return 0;
72430 _ACEOF
72431 if ac_fn_cxx_try_compile "$LINENO"; then :
72432 glibcxx_cv_func__isinf_use=yes
72433 else
72434 glibcxx_cv_func__isinf_use=no
72436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72437 ac_ext=c
72438 ac_cpp='$CPP $CPPFLAGS'
72439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
72448 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
72450 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
72451 for ac_func in _isinf
72452 do :
72453 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
72454 if test "x$ac_cv_func__isinf" = x""yes; then :
72455 cat >>confdefs.h <<_ACEOF
72456 #define HAVE__ISINF 1
72457 _ACEOF
72460 done
72469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
72470 $as_echo_n "checking for isnan declaration... " >&6; }
72471 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
72472 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
72473 $as_echo_n "(cached) " >&6
72474 else
72477 ac_ext=cpp
72478 ac_cpp='$CXXCPP $CPPFLAGS'
72479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72484 /* end confdefs.h. */
72485 #include <math.h>
72486 #ifdef HAVE_IEEEFP_H
72487 #include <ieeefp.h>
72488 #endif
72491 main ()
72493 isnan(0);
72495 return 0;
72497 _ACEOF
72498 if ac_fn_cxx_try_compile "$LINENO"; then :
72499 glibcxx_cv_func_isnan_use=yes
72500 else
72501 glibcxx_cv_func_isnan_use=no
72503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72504 ac_ext=c
72505 ac_cpp='$CPP $CPPFLAGS'
72506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
72515 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
72517 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
72518 for ac_func in isnan
72519 do :
72520 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
72521 if test "x$ac_cv_func_isnan" = x""yes; then :
72522 cat >>confdefs.h <<_ACEOF
72523 #define HAVE_ISNAN 1
72524 _ACEOF
72527 done
72529 else
72531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
72532 $as_echo_n "checking for _isnan declaration... " >&6; }
72533 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
72534 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
72535 $as_echo_n "(cached) " >&6
72536 else
72539 ac_ext=cpp
72540 ac_cpp='$CXXCPP $CPPFLAGS'
72541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72546 /* end confdefs.h. */
72547 #include <math.h>
72548 #ifdef HAVE_IEEEFP_H
72549 #include <ieeefp.h>
72550 #endif
72553 main ()
72555 _isnan(0);
72557 return 0;
72559 _ACEOF
72560 if ac_fn_cxx_try_compile "$LINENO"; then :
72561 glibcxx_cv_func__isnan_use=yes
72562 else
72563 glibcxx_cv_func__isnan_use=no
72565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72566 ac_ext=c
72567 ac_cpp='$CPP $CPPFLAGS'
72568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
72577 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
72579 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
72580 for ac_func in _isnan
72581 do :
72582 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
72583 if test "x$ac_cv_func__isnan" = x""yes; then :
72584 cat >>confdefs.h <<_ACEOF
72585 #define HAVE__ISNAN 1
72586 _ACEOF
72589 done
72598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
72599 $as_echo_n "checking for finite declaration... " >&6; }
72600 if test x${glibcxx_cv_func_finite_use+set} != xset; then
72601 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
72602 $as_echo_n "(cached) " >&6
72603 else
72606 ac_ext=cpp
72607 ac_cpp='$CXXCPP $CPPFLAGS'
72608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72613 /* end confdefs.h. */
72614 #include <math.h>
72615 #ifdef HAVE_IEEEFP_H
72616 #include <ieeefp.h>
72617 #endif
72620 main ()
72622 finite(0);
72624 return 0;
72626 _ACEOF
72627 if ac_fn_cxx_try_compile "$LINENO"; then :
72628 glibcxx_cv_func_finite_use=yes
72629 else
72630 glibcxx_cv_func_finite_use=no
72632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72633 ac_ext=c
72634 ac_cpp='$CPP $CPPFLAGS'
72635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
72644 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
72646 if test x$glibcxx_cv_func_finite_use = x"yes"; then
72647 for ac_func in finite
72648 do :
72649 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
72650 if test "x$ac_cv_func_finite" = x""yes; then :
72651 cat >>confdefs.h <<_ACEOF
72652 #define HAVE_FINITE 1
72653 _ACEOF
72656 done
72658 else
72660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
72661 $as_echo_n "checking for _finite declaration... " >&6; }
72662 if test x${glibcxx_cv_func__finite_use+set} != xset; then
72663 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
72664 $as_echo_n "(cached) " >&6
72665 else
72668 ac_ext=cpp
72669 ac_cpp='$CXXCPP $CPPFLAGS'
72670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72675 /* end confdefs.h. */
72676 #include <math.h>
72677 #ifdef HAVE_IEEEFP_H
72678 #include <ieeefp.h>
72679 #endif
72682 main ()
72684 _finite(0);
72686 return 0;
72688 _ACEOF
72689 if ac_fn_cxx_try_compile "$LINENO"; then :
72690 glibcxx_cv_func__finite_use=yes
72691 else
72692 glibcxx_cv_func__finite_use=no
72694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72695 ac_ext=c
72696 ac_cpp='$CPP $CPPFLAGS'
72697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
72706 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
72708 if test x$glibcxx_cv_func__finite_use = x"yes"; then
72709 for ac_func in _finite
72710 do :
72711 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
72712 if test "x$ac_cv_func__finite" = x""yes; then :
72713 cat >>confdefs.h <<_ACEOF
72714 #define HAVE__FINITE 1
72715 _ACEOF
72718 done
72727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
72728 $as_echo_n "checking for sincos declaration... " >&6; }
72729 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
72730 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
72731 $as_echo_n "(cached) " >&6
72732 else
72735 ac_ext=cpp
72736 ac_cpp='$CXXCPP $CPPFLAGS'
72737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72742 /* end confdefs.h. */
72743 #include <math.h>
72745 main ()
72747 sincos(0, 0, 0);
72749 return 0;
72751 _ACEOF
72752 if ac_fn_cxx_try_compile "$LINENO"; then :
72753 glibcxx_cv_func_sincos_use=yes
72754 else
72755 glibcxx_cv_func_sincos_use=no
72757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72758 ac_ext=c
72759 ac_cpp='$CPP $CPPFLAGS'
72760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
72769 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
72771 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
72772 for ac_func in sincos
72773 do :
72774 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
72775 if test "x$ac_cv_func_sincos" = x""yes; then :
72776 cat >>confdefs.h <<_ACEOF
72777 #define HAVE_SINCOS 1
72778 _ACEOF
72781 done
72783 else
72785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
72786 $as_echo_n "checking for _sincos declaration... " >&6; }
72787 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
72788 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
72789 $as_echo_n "(cached) " >&6
72790 else
72793 ac_ext=cpp
72794 ac_cpp='$CXXCPP $CPPFLAGS'
72795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72800 /* end confdefs.h. */
72801 #include <math.h>
72803 main ()
72805 _sincos(0, 0, 0);
72807 return 0;
72809 _ACEOF
72810 if ac_fn_cxx_try_compile "$LINENO"; then :
72811 glibcxx_cv_func__sincos_use=yes
72812 else
72813 glibcxx_cv_func__sincos_use=no
72815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72816 ac_ext=c
72817 ac_cpp='$CPP $CPPFLAGS'
72818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
72827 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
72829 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
72830 for ac_func in _sincos
72831 do :
72832 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
72833 if test "x$ac_cv_func__sincos" = x""yes; then :
72834 cat >>confdefs.h <<_ACEOF
72835 #define HAVE__SINCOS 1
72836 _ACEOF
72839 done
72848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
72849 $as_echo_n "checking for fpclass declaration... " >&6; }
72850 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
72851 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
72852 $as_echo_n "(cached) " >&6
72853 else
72856 ac_ext=cpp
72857 ac_cpp='$CXXCPP $CPPFLAGS'
72858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72863 /* end confdefs.h. */
72864 #include <math.h>
72865 #ifdef HAVE_IEEEFP_H
72866 #include <ieeefp.h>
72867 #endif
72870 main ()
72872 fpclass(0);
72874 return 0;
72876 _ACEOF
72877 if ac_fn_cxx_try_compile "$LINENO"; then :
72878 glibcxx_cv_func_fpclass_use=yes
72879 else
72880 glibcxx_cv_func_fpclass_use=no
72882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72883 ac_ext=c
72884 ac_cpp='$CPP $CPPFLAGS'
72885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
72894 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
72896 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
72897 for ac_func in fpclass
72898 do :
72899 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
72900 if test "x$ac_cv_func_fpclass" = x""yes; then :
72901 cat >>confdefs.h <<_ACEOF
72902 #define HAVE_FPCLASS 1
72903 _ACEOF
72906 done
72908 else
72910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
72911 $as_echo_n "checking for _fpclass declaration... " >&6; }
72912 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
72913 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
72914 $as_echo_n "(cached) " >&6
72915 else
72918 ac_ext=cpp
72919 ac_cpp='$CXXCPP $CPPFLAGS'
72920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72925 /* end confdefs.h. */
72926 #include <math.h>
72927 #ifdef HAVE_IEEEFP_H
72928 #include <ieeefp.h>
72929 #endif
72932 main ()
72934 _fpclass(0);
72936 return 0;
72938 _ACEOF
72939 if ac_fn_cxx_try_compile "$LINENO"; then :
72940 glibcxx_cv_func__fpclass_use=yes
72941 else
72942 glibcxx_cv_func__fpclass_use=no
72944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72945 ac_ext=c
72946 ac_cpp='$CPP $CPPFLAGS'
72947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
72956 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
72958 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
72959 for ac_func in _fpclass
72960 do :
72961 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
72962 if test "x$ac_cv_func__fpclass" = x""yes; then :
72963 cat >>confdefs.h <<_ACEOF
72964 #define HAVE__FPCLASS 1
72965 _ACEOF
72968 done
72977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
72978 $as_echo_n "checking for qfpclass declaration... " >&6; }
72979 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
72980 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
72981 $as_echo_n "(cached) " >&6
72982 else
72985 ac_ext=cpp
72986 ac_cpp='$CXXCPP $CPPFLAGS'
72987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72992 /* end confdefs.h. */
72993 #include <math.h>
72994 #ifdef HAVE_IEEEFP_H
72995 #include <ieeefp.h>
72996 #endif
72999 main ()
73001 qfpclass(0);
73003 return 0;
73005 _ACEOF
73006 if ac_fn_cxx_try_compile "$LINENO"; then :
73007 glibcxx_cv_func_qfpclass_use=yes
73008 else
73009 glibcxx_cv_func_qfpclass_use=no
73011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73012 ac_ext=c
73013 ac_cpp='$CPP $CPPFLAGS'
73014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
73023 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
73025 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
73026 for ac_func in qfpclass
73027 do :
73028 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
73029 if test "x$ac_cv_func_qfpclass" = x""yes; then :
73030 cat >>confdefs.h <<_ACEOF
73031 #define HAVE_QFPCLASS 1
73032 _ACEOF
73035 done
73037 else
73039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
73040 $as_echo_n "checking for _qfpclass declaration... " >&6; }
73041 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
73042 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
73043 $as_echo_n "(cached) " >&6
73044 else
73047 ac_ext=cpp
73048 ac_cpp='$CXXCPP $CPPFLAGS'
73049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73054 /* end confdefs.h. */
73055 #include <math.h>
73056 #ifdef HAVE_IEEEFP_H
73057 #include <ieeefp.h>
73058 #endif
73061 main ()
73063 _qfpclass(0);
73065 return 0;
73067 _ACEOF
73068 if ac_fn_cxx_try_compile "$LINENO"; then :
73069 glibcxx_cv_func__qfpclass_use=yes
73070 else
73071 glibcxx_cv_func__qfpclass_use=no
73073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73074 ac_ext=c
73075 ac_cpp='$CPP $CPPFLAGS'
73076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
73085 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
73087 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
73088 for ac_func in _qfpclass
73089 do :
73090 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
73091 if test "x$ac_cv_func__qfpclass" = x""yes; then :
73092 cat >>confdefs.h <<_ACEOF
73093 #define HAVE__QFPCLASS 1
73094 _ACEOF
73097 done
73106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
73107 $as_echo_n "checking for hypot declaration... " >&6; }
73108 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
73109 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
73110 $as_echo_n "(cached) " >&6
73111 else
73114 ac_ext=cpp
73115 ac_cpp='$CXXCPP $CPPFLAGS'
73116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73121 /* end confdefs.h. */
73122 #include <math.h>
73124 main ()
73126 hypot(0, 0);
73128 return 0;
73130 _ACEOF
73131 if ac_fn_cxx_try_compile "$LINENO"; then :
73132 glibcxx_cv_func_hypot_use=yes
73133 else
73134 glibcxx_cv_func_hypot_use=no
73136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73137 ac_ext=c
73138 ac_cpp='$CPP $CPPFLAGS'
73139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
73148 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
73150 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
73151 for ac_func in hypot
73152 do :
73153 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
73154 if test "x$ac_cv_func_hypot" = x""yes; then :
73155 cat >>confdefs.h <<_ACEOF
73156 #define HAVE_HYPOT 1
73157 _ACEOF
73160 done
73162 else
73164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
73165 $as_echo_n "checking for _hypot declaration... " >&6; }
73166 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
73167 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
73168 $as_echo_n "(cached) " >&6
73169 else
73172 ac_ext=cpp
73173 ac_cpp='$CXXCPP $CPPFLAGS'
73174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73179 /* end confdefs.h. */
73180 #include <math.h>
73182 main ()
73184 _hypot(0, 0);
73186 return 0;
73188 _ACEOF
73189 if ac_fn_cxx_try_compile "$LINENO"; then :
73190 glibcxx_cv_func__hypot_use=yes
73191 else
73192 glibcxx_cv_func__hypot_use=no
73194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73195 ac_ext=c
73196 ac_cpp='$CPP $CPPFLAGS'
73197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
73206 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
73208 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
73209 for ac_func in _hypot
73210 do :
73211 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
73212 if test "x$ac_cv_func__hypot" = x""yes; then :
73213 cat >>confdefs.h <<_ACEOF
73214 #define HAVE__HYPOT 1
73215 _ACEOF
73218 done
73227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
73228 $as_echo_n "checking for float trig functions... " >&6; }
73229 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
73230 $as_echo_n "(cached) " >&6
73231 else
73234 ac_ext=cpp
73235 ac_cpp='$CXXCPP $CPPFLAGS'
73236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73241 /* end confdefs.h. */
73242 #include <math.h>
73244 main ()
73246 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
73248 return 0;
73250 _ACEOF
73251 if ac_fn_cxx_try_compile "$LINENO"; then :
73252 glibcxx_cv_func_float_trig_use=yes
73253 else
73254 glibcxx_cv_func_float_trig_use=no
73256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73257 ac_ext=c
73258 ac_cpp='$CPP $CPPFLAGS'
73259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
73266 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
73267 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
73268 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
73269 do :
73270 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73271 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73272 eval as_val=\$$as_ac_var
73273 if test "x$as_val" = x""yes; then :
73274 cat >>confdefs.h <<_ACEOF
73275 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73276 _ACEOF
73279 done
73281 else
73282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
73283 $as_echo_n "checking for _float trig functions... " >&6; }
73284 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
73285 $as_echo_n "(cached) " >&6
73286 else
73289 ac_ext=cpp
73290 ac_cpp='$CXXCPP $CPPFLAGS'
73291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73296 /* end confdefs.h. */
73297 #include <math.h>
73299 main ()
73301 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
73303 return 0;
73305 _ACEOF
73306 if ac_fn_cxx_try_compile "$LINENO"; then :
73307 glibcxx_cv_func__float_trig_use=yes
73308 else
73309 glibcxx_cv_func__float_trig_use=no
73311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73312 ac_ext=c
73313 ac_cpp='$CPP $CPPFLAGS'
73314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
73321 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
73322 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
73323 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
73324 do :
73325 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73326 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73327 eval as_val=\$$as_ac_var
73328 if test "x$as_val" = x""yes; then :
73329 cat >>confdefs.h <<_ACEOF
73330 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73331 _ACEOF
73334 done
73343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
73344 $as_echo_n "checking for float round functions... " >&6; }
73345 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
73346 $as_echo_n "(cached) " >&6
73347 else
73350 ac_ext=cpp
73351 ac_cpp='$CXXCPP $CPPFLAGS'
73352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73357 /* end confdefs.h. */
73358 #include <math.h>
73360 main ()
73362 ceilf (0); floorf (0);
73364 return 0;
73366 _ACEOF
73367 if ac_fn_cxx_try_compile "$LINENO"; then :
73368 glibcxx_cv_func_float_round_use=yes
73369 else
73370 glibcxx_cv_func_float_round_use=no
73372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73373 ac_ext=c
73374 ac_cpp='$CPP $CPPFLAGS'
73375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
73382 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
73383 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
73384 for ac_func in ceilf floorf
73385 do :
73386 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73387 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73388 eval as_val=\$$as_ac_var
73389 if test "x$as_val" = x""yes; then :
73390 cat >>confdefs.h <<_ACEOF
73391 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73392 _ACEOF
73395 done
73397 else
73398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
73399 $as_echo_n "checking for _float round functions... " >&6; }
73400 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
73401 $as_echo_n "(cached) " >&6
73402 else
73405 ac_ext=cpp
73406 ac_cpp='$CXXCPP $CPPFLAGS'
73407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73412 /* end confdefs.h. */
73413 #include <math.h>
73415 main ()
73417 _ceilf (0); _floorf (0);
73419 return 0;
73421 _ACEOF
73422 if ac_fn_cxx_try_compile "$LINENO"; then :
73423 glibcxx_cv_func__float_round_use=yes
73424 else
73425 glibcxx_cv_func__float_round_use=no
73427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73428 ac_ext=c
73429 ac_cpp='$CPP $CPPFLAGS'
73430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
73437 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
73438 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
73439 for ac_func in _ceilf _floorf
73440 do :
73441 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73442 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73443 eval as_val=\$$as_ac_var
73444 if test "x$as_val" = x""yes; then :
73445 cat >>confdefs.h <<_ACEOF
73446 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73447 _ACEOF
73450 done
73460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
73461 $as_echo_n "checking for expf declaration... " >&6; }
73462 if test x${glibcxx_cv_func_expf_use+set} != xset; then
73463 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
73464 $as_echo_n "(cached) " >&6
73465 else
73468 ac_ext=cpp
73469 ac_cpp='$CXXCPP $CPPFLAGS'
73470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73475 /* end confdefs.h. */
73476 #include <math.h>
73477 #ifdef HAVE_IEEEFP_H
73478 #include <ieeefp.h>
73479 #endif
73482 main ()
73484 expf(0);
73486 return 0;
73488 _ACEOF
73489 if ac_fn_cxx_try_compile "$LINENO"; then :
73490 glibcxx_cv_func_expf_use=yes
73491 else
73492 glibcxx_cv_func_expf_use=no
73494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73495 ac_ext=c
73496 ac_cpp='$CPP $CPPFLAGS'
73497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
73506 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
73508 if test x$glibcxx_cv_func_expf_use = x"yes"; then
73509 for ac_func in expf
73510 do :
73511 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
73512 if test "x$ac_cv_func_expf" = x""yes; then :
73513 cat >>confdefs.h <<_ACEOF
73514 #define HAVE_EXPF 1
73515 _ACEOF
73518 done
73520 else
73522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
73523 $as_echo_n "checking for _expf declaration... " >&6; }
73524 if test x${glibcxx_cv_func__expf_use+set} != xset; then
73525 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
73526 $as_echo_n "(cached) " >&6
73527 else
73530 ac_ext=cpp
73531 ac_cpp='$CXXCPP $CPPFLAGS'
73532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73537 /* end confdefs.h. */
73538 #include <math.h>
73539 #ifdef HAVE_IEEEFP_H
73540 #include <ieeefp.h>
73541 #endif
73544 main ()
73546 _expf(0);
73548 return 0;
73550 _ACEOF
73551 if ac_fn_cxx_try_compile "$LINENO"; then :
73552 glibcxx_cv_func__expf_use=yes
73553 else
73554 glibcxx_cv_func__expf_use=no
73556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73557 ac_ext=c
73558 ac_cpp='$CPP $CPPFLAGS'
73559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
73568 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
73570 if test x$glibcxx_cv_func__expf_use = x"yes"; then
73571 for ac_func in _expf
73572 do :
73573 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
73574 if test "x$ac_cv_func__expf" = x""yes; then :
73575 cat >>confdefs.h <<_ACEOF
73576 #define HAVE__EXPF 1
73577 _ACEOF
73580 done
73589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
73590 $as_echo_n "checking for isnanf declaration... " >&6; }
73591 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
73592 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
73593 $as_echo_n "(cached) " >&6
73594 else
73597 ac_ext=cpp
73598 ac_cpp='$CXXCPP $CPPFLAGS'
73599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73604 /* end confdefs.h. */
73605 #include <math.h>
73606 #ifdef HAVE_IEEEFP_H
73607 #include <ieeefp.h>
73608 #endif
73611 main ()
73613 isnanf(0);
73615 return 0;
73617 _ACEOF
73618 if ac_fn_cxx_try_compile "$LINENO"; then :
73619 glibcxx_cv_func_isnanf_use=yes
73620 else
73621 glibcxx_cv_func_isnanf_use=no
73623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73624 ac_ext=c
73625 ac_cpp='$CPP $CPPFLAGS'
73626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
73635 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
73637 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
73638 for ac_func in isnanf
73639 do :
73640 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
73641 if test "x$ac_cv_func_isnanf" = x""yes; then :
73642 cat >>confdefs.h <<_ACEOF
73643 #define HAVE_ISNANF 1
73644 _ACEOF
73647 done
73649 else
73651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
73652 $as_echo_n "checking for _isnanf declaration... " >&6; }
73653 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
73654 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
73655 $as_echo_n "(cached) " >&6
73656 else
73659 ac_ext=cpp
73660 ac_cpp='$CXXCPP $CPPFLAGS'
73661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73666 /* end confdefs.h. */
73667 #include <math.h>
73668 #ifdef HAVE_IEEEFP_H
73669 #include <ieeefp.h>
73670 #endif
73673 main ()
73675 _isnanf(0);
73677 return 0;
73679 _ACEOF
73680 if ac_fn_cxx_try_compile "$LINENO"; then :
73681 glibcxx_cv_func__isnanf_use=yes
73682 else
73683 glibcxx_cv_func__isnanf_use=no
73685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73686 ac_ext=c
73687 ac_cpp='$CPP $CPPFLAGS'
73688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
73697 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
73699 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
73700 for ac_func in _isnanf
73701 do :
73702 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
73703 if test "x$ac_cv_func__isnanf" = x""yes; then :
73704 cat >>confdefs.h <<_ACEOF
73705 #define HAVE__ISNANF 1
73706 _ACEOF
73709 done
73718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
73719 $as_echo_n "checking for isinff declaration... " >&6; }
73720 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
73721 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
73722 $as_echo_n "(cached) " >&6
73723 else
73726 ac_ext=cpp
73727 ac_cpp='$CXXCPP $CPPFLAGS'
73728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73733 /* end confdefs.h. */
73734 #include <math.h>
73735 #ifdef HAVE_IEEEFP_H
73736 #include <ieeefp.h>
73737 #endif
73740 main ()
73742 isinff(0);
73744 return 0;
73746 _ACEOF
73747 if ac_fn_cxx_try_compile "$LINENO"; then :
73748 glibcxx_cv_func_isinff_use=yes
73749 else
73750 glibcxx_cv_func_isinff_use=no
73752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73753 ac_ext=c
73754 ac_cpp='$CPP $CPPFLAGS'
73755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
73764 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
73766 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
73767 for ac_func in isinff
73768 do :
73769 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
73770 if test "x$ac_cv_func_isinff" = x""yes; then :
73771 cat >>confdefs.h <<_ACEOF
73772 #define HAVE_ISINFF 1
73773 _ACEOF
73776 done
73778 else
73780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
73781 $as_echo_n "checking for _isinff declaration... " >&6; }
73782 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
73783 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
73784 $as_echo_n "(cached) " >&6
73785 else
73788 ac_ext=cpp
73789 ac_cpp='$CXXCPP $CPPFLAGS'
73790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73795 /* end confdefs.h. */
73796 #include <math.h>
73797 #ifdef HAVE_IEEEFP_H
73798 #include <ieeefp.h>
73799 #endif
73802 main ()
73804 _isinff(0);
73806 return 0;
73808 _ACEOF
73809 if ac_fn_cxx_try_compile "$LINENO"; then :
73810 glibcxx_cv_func__isinff_use=yes
73811 else
73812 glibcxx_cv_func__isinff_use=no
73814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73815 ac_ext=c
73816 ac_cpp='$CPP $CPPFLAGS'
73817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
73826 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
73828 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
73829 for ac_func in _isinff
73830 do :
73831 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
73832 if test "x$ac_cv_func__isinff" = x""yes; then :
73833 cat >>confdefs.h <<_ACEOF
73834 #define HAVE__ISINFF 1
73835 _ACEOF
73838 done
73847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
73848 $as_echo_n "checking for atan2f declaration... " >&6; }
73849 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
73850 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
73851 $as_echo_n "(cached) " >&6
73852 else
73855 ac_ext=cpp
73856 ac_cpp='$CXXCPP $CPPFLAGS'
73857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73862 /* end confdefs.h. */
73863 #include <math.h>
73865 main ()
73867 atan2f(0, 0);
73869 return 0;
73871 _ACEOF
73872 if ac_fn_cxx_try_compile "$LINENO"; then :
73873 glibcxx_cv_func_atan2f_use=yes
73874 else
73875 glibcxx_cv_func_atan2f_use=no
73877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73878 ac_ext=c
73879 ac_cpp='$CPP $CPPFLAGS'
73880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
73889 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
73891 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
73892 for ac_func in atan2f
73893 do :
73894 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
73895 if test "x$ac_cv_func_atan2f" = x""yes; then :
73896 cat >>confdefs.h <<_ACEOF
73897 #define HAVE_ATAN2F 1
73898 _ACEOF
73901 done
73903 else
73905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
73906 $as_echo_n "checking for _atan2f declaration... " >&6; }
73907 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
73908 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
73909 $as_echo_n "(cached) " >&6
73910 else
73913 ac_ext=cpp
73914 ac_cpp='$CXXCPP $CPPFLAGS'
73915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73920 /* end confdefs.h. */
73921 #include <math.h>
73923 main ()
73925 _atan2f(0, 0);
73927 return 0;
73929 _ACEOF
73930 if ac_fn_cxx_try_compile "$LINENO"; then :
73931 glibcxx_cv_func__atan2f_use=yes
73932 else
73933 glibcxx_cv_func__atan2f_use=no
73935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73936 ac_ext=c
73937 ac_cpp='$CPP $CPPFLAGS'
73938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
73947 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
73949 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
73950 for ac_func in _atan2f
73951 do :
73952 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
73953 if test "x$ac_cv_func__atan2f" = x""yes; then :
73954 cat >>confdefs.h <<_ACEOF
73955 #define HAVE__ATAN2F 1
73956 _ACEOF
73959 done
73968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
73969 $as_echo_n "checking for fabsf declaration... " >&6; }
73970 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
73971 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
73972 $as_echo_n "(cached) " >&6
73973 else
73976 ac_ext=cpp
73977 ac_cpp='$CXXCPP $CPPFLAGS'
73978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73983 /* end confdefs.h. */
73984 #include <math.h>
73985 #ifdef HAVE_IEEEFP_H
73986 #include <ieeefp.h>
73987 #endif
73990 main ()
73992 fabsf(0);
73994 return 0;
73996 _ACEOF
73997 if ac_fn_cxx_try_compile "$LINENO"; then :
73998 glibcxx_cv_func_fabsf_use=yes
73999 else
74000 glibcxx_cv_func_fabsf_use=no
74002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74003 ac_ext=c
74004 ac_cpp='$CPP $CPPFLAGS'
74005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
74014 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
74016 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
74017 for ac_func in fabsf
74018 do :
74019 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
74020 if test "x$ac_cv_func_fabsf" = x""yes; then :
74021 cat >>confdefs.h <<_ACEOF
74022 #define HAVE_FABSF 1
74023 _ACEOF
74026 done
74028 else
74030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
74031 $as_echo_n "checking for _fabsf declaration... " >&6; }
74032 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
74033 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
74034 $as_echo_n "(cached) " >&6
74035 else
74038 ac_ext=cpp
74039 ac_cpp='$CXXCPP $CPPFLAGS'
74040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74045 /* end confdefs.h. */
74046 #include <math.h>
74047 #ifdef HAVE_IEEEFP_H
74048 #include <ieeefp.h>
74049 #endif
74052 main ()
74054 _fabsf(0);
74056 return 0;
74058 _ACEOF
74059 if ac_fn_cxx_try_compile "$LINENO"; then :
74060 glibcxx_cv_func__fabsf_use=yes
74061 else
74062 glibcxx_cv_func__fabsf_use=no
74064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74065 ac_ext=c
74066 ac_cpp='$CPP $CPPFLAGS'
74067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
74076 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
74078 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
74079 for ac_func in _fabsf
74080 do :
74081 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
74082 if test "x$ac_cv_func__fabsf" = x""yes; then :
74083 cat >>confdefs.h <<_ACEOF
74084 #define HAVE__FABSF 1
74085 _ACEOF
74088 done
74097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
74098 $as_echo_n "checking for fmodf declaration... " >&6; }
74099 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
74100 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
74101 $as_echo_n "(cached) " >&6
74102 else
74105 ac_ext=cpp
74106 ac_cpp='$CXXCPP $CPPFLAGS'
74107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74112 /* end confdefs.h. */
74113 #include <math.h>
74115 main ()
74117 fmodf(0, 0);
74119 return 0;
74121 _ACEOF
74122 if ac_fn_cxx_try_compile "$LINENO"; then :
74123 glibcxx_cv_func_fmodf_use=yes
74124 else
74125 glibcxx_cv_func_fmodf_use=no
74127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74128 ac_ext=c
74129 ac_cpp='$CPP $CPPFLAGS'
74130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
74139 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
74141 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
74142 for ac_func in fmodf
74143 do :
74144 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
74145 if test "x$ac_cv_func_fmodf" = x""yes; then :
74146 cat >>confdefs.h <<_ACEOF
74147 #define HAVE_FMODF 1
74148 _ACEOF
74151 done
74153 else
74155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
74156 $as_echo_n "checking for _fmodf declaration... " >&6; }
74157 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
74158 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
74159 $as_echo_n "(cached) " >&6
74160 else
74163 ac_ext=cpp
74164 ac_cpp='$CXXCPP $CPPFLAGS'
74165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74170 /* end confdefs.h. */
74171 #include <math.h>
74173 main ()
74175 _fmodf(0, 0);
74177 return 0;
74179 _ACEOF
74180 if ac_fn_cxx_try_compile "$LINENO"; then :
74181 glibcxx_cv_func__fmodf_use=yes
74182 else
74183 glibcxx_cv_func__fmodf_use=no
74185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74186 ac_ext=c
74187 ac_cpp='$CPP $CPPFLAGS'
74188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
74197 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
74199 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
74200 for ac_func in _fmodf
74201 do :
74202 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
74203 if test "x$ac_cv_func__fmodf" = x""yes; then :
74204 cat >>confdefs.h <<_ACEOF
74205 #define HAVE__FMODF 1
74206 _ACEOF
74209 done
74218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
74219 $as_echo_n "checking for frexpf declaration... " >&6; }
74220 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
74221 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
74222 $as_echo_n "(cached) " >&6
74223 else
74226 ac_ext=cpp
74227 ac_cpp='$CXXCPP $CPPFLAGS'
74228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74233 /* end confdefs.h. */
74234 #include <math.h>
74236 main ()
74238 frexpf(0, 0);
74240 return 0;
74242 _ACEOF
74243 if ac_fn_cxx_try_compile "$LINENO"; then :
74244 glibcxx_cv_func_frexpf_use=yes
74245 else
74246 glibcxx_cv_func_frexpf_use=no
74248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74249 ac_ext=c
74250 ac_cpp='$CPP $CPPFLAGS'
74251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
74260 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
74262 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
74263 for ac_func in frexpf
74264 do :
74265 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
74266 if test "x$ac_cv_func_frexpf" = x""yes; then :
74267 cat >>confdefs.h <<_ACEOF
74268 #define HAVE_FREXPF 1
74269 _ACEOF
74272 done
74274 else
74276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
74277 $as_echo_n "checking for _frexpf declaration... " >&6; }
74278 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
74279 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
74280 $as_echo_n "(cached) " >&6
74281 else
74284 ac_ext=cpp
74285 ac_cpp='$CXXCPP $CPPFLAGS'
74286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74291 /* end confdefs.h. */
74292 #include <math.h>
74294 main ()
74296 _frexpf(0, 0);
74298 return 0;
74300 _ACEOF
74301 if ac_fn_cxx_try_compile "$LINENO"; then :
74302 glibcxx_cv_func__frexpf_use=yes
74303 else
74304 glibcxx_cv_func__frexpf_use=no
74306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74307 ac_ext=c
74308 ac_cpp='$CPP $CPPFLAGS'
74309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
74318 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
74320 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
74321 for ac_func in _frexpf
74322 do :
74323 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
74324 if test "x$ac_cv_func__frexpf" = x""yes; then :
74325 cat >>confdefs.h <<_ACEOF
74326 #define HAVE__FREXPF 1
74327 _ACEOF
74330 done
74339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
74340 $as_echo_n "checking for hypotf declaration... " >&6; }
74341 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
74342 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
74343 $as_echo_n "(cached) " >&6
74344 else
74347 ac_ext=cpp
74348 ac_cpp='$CXXCPP $CPPFLAGS'
74349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74354 /* end confdefs.h. */
74355 #include <math.h>
74357 main ()
74359 hypotf(0, 0);
74361 return 0;
74363 _ACEOF
74364 if ac_fn_cxx_try_compile "$LINENO"; then :
74365 glibcxx_cv_func_hypotf_use=yes
74366 else
74367 glibcxx_cv_func_hypotf_use=no
74369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74370 ac_ext=c
74371 ac_cpp='$CPP $CPPFLAGS'
74372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
74381 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
74383 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
74384 for ac_func in hypotf
74385 do :
74386 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
74387 if test "x$ac_cv_func_hypotf" = x""yes; then :
74388 cat >>confdefs.h <<_ACEOF
74389 #define HAVE_HYPOTF 1
74390 _ACEOF
74393 done
74395 else
74397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
74398 $as_echo_n "checking for _hypotf declaration... " >&6; }
74399 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
74400 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
74401 $as_echo_n "(cached) " >&6
74402 else
74405 ac_ext=cpp
74406 ac_cpp='$CXXCPP $CPPFLAGS'
74407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74412 /* end confdefs.h. */
74413 #include <math.h>
74415 main ()
74417 _hypotf(0, 0);
74419 return 0;
74421 _ACEOF
74422 if ac_fn_cxx_try_compile "$LINENO"; then :
74423 glibcxx_cv_func__hypotf_use=yes
74424 else
74425 glibcxx_cv_func__hypotf_use=no
74427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74428 ac_ext=c
74429 ac_cpp='$CPP $CPPFLAGS'
74430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
74439 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
74441 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
74442 for ac_func in _hypotf
74443 do :
74444 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
74445 if test "x$ac_cv_func__hypotf" = x""yes; then :
74446 cat >>confdefs.h <<_ACEOF
74447 #define HAVE__HYPOTF 1
74448 _ACEOF
74451 done
74460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
74461 $as_echo_n "checking for ldexpf declaration... " >&6; }
74462 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
74463 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
74464 $as_echo_n "(cached) " >&6
74465 else
74468 ac_ext=cpp
74469 ac_cpp='$CXXCPP $CPPFLAGS'
74470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74475 /* end confdefs.h. */
74476 #include <math.h>
74478 main ()
74480 ldexpf(0, 0);
74482 return 0;
74484 _ACEOF
74485 if ac_fn_cxx_try_compile "$LINENO"; then :
74486 glibcxx_cv_func_ldexpf_use=yes
74487 else
74488 glibcxx_cv_func_ldexpf_use=no
74490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74491 ac_ext=c
74492 ac_cpp='$CPP $CPPFLAGS'
74493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
74502 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
74504 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
74505 for ac_func in ldexpf
74506 do :
74507 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
74508 if test "x$ac_cv_func_ldexpf" = x""yes; then :
74509 cat >>confdefs.h <<_ACEOF
74510 #define HAVE_LDEXPF 1
74511 _ACEOF
74514 done
74516 else
74518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
74519 $as_echo_n "checking for _ldexpf declaration... " >&6; }
74520 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
74521 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
74522 $as_echo_n "(cached) " >&6
74523 else
74526 ac_ext=cpp
74527 ac_cpp='$CXXCPP $CPPFLAGS'
74528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74533 /* end confdefs.h. */
74534 #include <math.h>
74536 main ()
74538 _ldexpf(0, 0);
74540 return 0;
74542 _ACEOF
74543 if ac_fn_cxx_try_compile "$LINENO"; then :
74544 glibcxx_cv_func__ldexpf_use=yes
74545 else
74546 glibcxx_cv_func__ldexpf_use=no
74548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74549 ac_ext=c
74550 ac_cpp='$CPP $CPPFLAGS'
74551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
74560 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
74562 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
74563 for ac_func in _ldexpf
74564 do :
74565 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
74566 if test "x$ac_cv_func__ldexpf" = x""yes; then :
74567 cat >>confdefs.h <<_ACEOF
74568 #define HAVE__LDEXPF 1
74569 _ACEOF
74572 done
74581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
74582 $as_echo_n "checking for logf declaration... " >&6; }
74583 if test x${glibcxx_cv_func_logf_use+set} != xset; then
74584 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
74585 $as_echo_n "(cached) " >&6
74586 else
74589 ac_ext=cpp
74590 ac_cpp='$CXXCPP $CPPFLAGS'
74591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74596 /* end confdefs.h. */
74597 #include <math.h>
74598 #ifdef HAVE_IEEEFP_H
74599 #include <ieeefp.h>
74600 #endif
74603 main ()
74605 logf(0);
74607 return 0;
74609 _ACEOF
74610 if ac_fn_cxx_try_compile "$LINENO"; then :
74611 glibcxx_cv_func_logf_use=yes
74612 else
74613 glibcxx_cv_func_logf_use=no
74615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74616 ac_ext=c
74617 ac_cpp='$CPP $CPPFLAGS'
74618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
74627 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
74629 if test x$glibcxx_cv_func_logf_use = x"yes"; then
74630 for ac_func in logf
74631 do :
74632 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
74633 if test "x$ac_cv_func_logf" = x""yes; then :
74634 cat >>confdefs.h <<_ACEOF
74635 #define HAVE_LOGF 1
74636 _ACEOF
74639 done
74641 else
74643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
74644 $as_echo_n "checking for _logf declaration... " >&6; }
74645 if test x${glibcxx_cv_func__logf_use+set} != xset; then
74646 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
74647 $as_echo_n "(cached) " >&6
74648 else
74651 ac_ext=cpp
74652 ac_cpp='$CXXCPP $CPPFLAGS'
74653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74658 /* end confdefs.h. */
74659 #include <math.h>
74660 #ifdef HAVE_IEEEFP_H
74661 #include <ieeefp.h>
74662 #endif
74665 main ()
74667 _logf(0);
74669 return 0;
74671 _ACEOF
74672 if ac_fn_cxx_try_compile "$LINENO"; then :
74673 glibcxx_cv_func__logf_use=yes
74674 else
74675 glibcxx_cv_func__logf_use=no
74677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74678 ac_ext=c
74679 ac_cpp='$CPP $CPPFLAGS'
74680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
74689 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
74691 if test x$glibcxx_cv_func__logf_use = x"yes"; then
74692 for ac_func in _logf
74693 do :
74694 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
74695 if test "x$ac_cv_func__logf" = x""yes; then :
74696 cat >>confdefs.h <<_ACEOF
74697 #define HAVE__LOGF 1
74698 _ACEOF
74701 done
74710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
74711 $as_echo_n "checking for log10f declaration... " >&6; }
74712 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
74713 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
74714 $as_echo_n "(cached) " >&6
74715 else
74718 ac_ext=cpp
74719 ac_cpp='$CXXCPP $CPPFLAGS'
74720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74725 /* end confdefs.h. */
74726 #include <math.h>
74727 #ifdef HAVE_IEEEFP_H
74728 #include <ieeefp.h>
74729 #endif
74732 main ()
74734 log10f(0);
74736 return 0;
74738 _ACEOF
74739 if ac_fn_cxx_try_compile "$LINENO"; then :
74740 glibcxx_cv_func_log10f_use=yes
74741 else
74742 glibcxx_cv_func_log10f_use=no
74744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74745 ac_ext=c
74746 ac_cpp='$CPP $CPPFLAGS'
74747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
74756 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
74758 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
74759 for ac_func in log10f
74760 do :
74761 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
74762 if test "x$ac_cv_func_log10f" = x""yes; then :
74763 cat >>confdefs.h <<_ACEOF
74764 #define HAVE_LOG10F 1
74765 _ACEOF
74768 done
74770 else
74772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
74773 $as_echo_n "checking for _log10f declaration... " >&6; }
74774 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
74775 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
74776 $as_echo_n "(cached) " >&6
74777 else
74780 ac_ext=cpp
74781 ac_cpp='$CXXCPP $CPPFLAGS'
74782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74787 /* end confdefs.h. */
74788 #include <math.h>
74789 #ifdef HAVE_IEEEFP_H
74790 #include <ieeefp.h>
74791 #endif
74794 main ()
74796 _log10f(0);
74798 return 0;
74800 _ACEOF
74801 if ac_fn_cxx_try_compile "$LINENO"; then :
74802 glibcxx_cv_func__log10f_use=yes
74803 else
74804 glibcxx_cv_func__log10f_use=no
74806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74807 ac_ext=c
74808 ac_cpp='$CPP $CPPFLAGS'
74809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
74818 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
74820 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
74821 for ac_func in _log10f
74822 do :
74823 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
74824 if test "x$ac_cv_func__log10f" = x""yes; then :
74825 cat >>confdefs.h <<_ACEOF
74826 #define HAVE__LOG10F 1
74827 _ACEOF
74830 done
74839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
74840 $as_echo_n "checking for modff declaration... " >&6; }
74841 if test x${glibcxx_cv_func_modff_use+set} != xset; then
74842 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
74843 $as_echo_n "(cached) " >&6
74844 else
74847 ac_ext=cpp
74848 ac_cpp='$CXXCPP $CPPFLAGS'
74849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74854 /* end confdefs.h. */
74855 #include <math.h>
74857 main ()
74859 modff(0, 0);
74861 return 0;
74863 _ACEOF
74864 if ac_fn_cxx_try_compile "$LINENO"; then :
74865 glibcxx_cv_func_modff_use=yes
74866 else
74867 glibcxx_cv_func_modff_use=no
74869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74870 ac_ext=c
74871 ac_cpp='$CPP $CPPFLAGS'
74872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
74881 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
74883 if test x$glibcxx_cv_func_modff_use = x"yes"; then
74884 for ac_func in modff
74885 do :
74886 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
74887 if test "x$ac_cv_func_modff" = x""yes; then :
74888 cat >>confdefs.h <<_ACEOF
74889 #define HAVE_MODFF 1
74890 _ACEOF
74893 done
74895 else
74897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
74898 $as_echo_n "checking for _modff declaration... " >&6; }
74899 if test x${glibcxx_cv_func__modff_use+set} != xset; then
74900 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
74901 $as_echo_n "(cached) " >&6
74902 else
74905 ac_ext=cpp
74906 ac_cpp='$CXXCPP $CPPFLAGS'
74907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74912 /* end confdefs.h. */
74913 #include <math.h>
74915 main ()
74917 _modff(0, 0);
74919 return 0;
74921 _ACEOF
74922 if ac_fn_cxx_try_compile "$LINENO"; then :
74923 glibcxx_cv_func__modff_use=yes
74924 else
74925 glibcxx_cv_func__modff_use=no
74927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74928 ac_ext=c
74929 ac_cpp='$CPP $CPPFLAGS'
74930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
74939 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
74941 if test x$glibcxx_cv_func__modff_use = x"yes"; then
74942 for ac_func in _modff
74943 do :
74944 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
74945 if test "x$ac_cv_func__modff" = x""yes; then :
74946 cat >>confdefs.h <<_ACEOF
74947 #define HAVE__MODFF 1
74948 _ACEOF
74951 done
74960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
74961 $as_echo_n "checking for modf declaration... " >&6; }
74962 if test x${glibcxx_cv_func_modf_use+set} != xset; then
74963 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
74964 $as_echo_n "(cached) " >&6
74965 else
74968 ac_ext=cpp
74969 ac_cpp='$CXXCPP $CPPFLAGS'
74970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74975 /* end confdefs.h. */
74976 #include <math.h>
74978 main ()
74980 modf(0, 0);
74982 return 0;
74984 _ACEOF
74985 if ac_fn_cxx_try_compile "$LINENO"; then :
74986 glibcxx_cv_func_modf_use=yes
74987 else
74988 glibcxx_cv_func_modf_use=no
74990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74991 ac_ext=c
74992 ac_cpp='$CPP $CPPFLAGS'
74993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
75002 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
75004 if test x$glibcxx_cv_func_modf_use = x"yes"; then
75005 for ac_func in modf
75006 do :
75007 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
75008 if test "x$ac_cv_func_modf" = x""yes; then :
75009 cat >>confdefs.h <<_ACEOF
75010 #define HAVE_MODF 1
75011 _ACEOF
75014 done
75016 else
75018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
75019 $as_echo_n "checking for _modf declaration... " >&6; }
75020 if test x${glibcxx_cv_func__modf_use+set} != xset; then
75021 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
75022 $as_echo_n "(cached) " >&6
75023 else
75026 ac_ext=cpp
75027 ac_cpp='$CXXCPP $CPPFLAGS'
75028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75033 /* end confdefs.h. */
75034 #include <math.h>
75036 main ()
75038 _modf(0, 0);
75040 return 0;
75042 _ACEOF
75043 if ac_fn_cxx_try_compile "$LINENO"; then :
75044 glibcxx_cv_func__modf_use=yes
75045 else
75046 glibcxx_cv_func__modf_use=no
75048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75049 ac_ext=c
75050 ac_cpp='$CPP $CPPFLAGS'
75051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
75060 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
75062 if test x$glibcxx_cv_func__modf_use = x"yes"; then
75063 for ac_func in _modf
75064 do :
75065 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
75066 if test "x$ac_cv_func__modf" = x""yes; then :
75067 cat >>confdefs.h <<_ACEOF
75068 #define HAVE__MODF 1
75069 _ACEOF
75072 done
75081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
75082 $as_echo_n "checking for powf declaration... " >&6; }
75083 if test x${glibcxx_cv_func_powf_use+set} != xset; then
75084 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
75085 $as_echo_n "(cached) " >&6
75086 else
75089 ac_ext=cpp
75090 ac_cpp='$CXXCPP $CPPFLAGS'
75091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75096 /* end confdefs.h. */
75097 #include <math.h>
75099 main ()
75101 powf(0, 0);
75103 return 0;
75105 _ACEOF
75106 if ac_fn_cxx_try_compile "$LINENO"; then :
75107 glibcxx_cv_func_powf_use=yes
75108 else
75109 glibcxx_cv_func_powf_use=no
75111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75112 ac_ext=c
75113 ac_cpp='$CPP $CPPFLAGS'
75114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
75123 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
75125 if test x$glibcxx_cv_func_powf_use = x"yes"; then
75126 for ac_func in powf
75127 do :
75128 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
75129 if test "x$ac_cv_func_powf" = x""yes; then :
75130 cat >>confdefs.h <<_ACEOF
75131 #define HAVE_POWF 1
75132 _ACEOF
75135 done
75137 else
75139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
75140 $as_echo_n "checking for _powf declaration... " >&6; }
75141 if test x${glibcxx_cv_func__powf_use+set} != xset; then
75142 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
75143 $as_echo_n "(cached) " >&6
75144 else
75147 ac_ext=cpp
75148 ac_cpp='$CXXCPP $CPPFLAGS'
75149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75154 /* end confdefs.h. */
75155 #include <math.h>
75157 main ()
75159 _powf(0, 0);
75161 return 0;
75163 _ACEOF
75164 if ac_fn_cxx_try_compile "$LINENO"; then :
75165 glibcxx_cv_func__powf_use=yes
75166 else
75167 glibcxx_cv_func__powf_use=no
75169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75170 ac_ext=c
75171 ac_cpp='$CPP $CPPFLAGS'
75172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
75181 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
75183 if test x$glibcxx_cv_func__powf_use = x"yes"; then
75184 for ac_func in _powf
75185 do :
75186 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
75187 if test "x$ac_cv_func__powf" = x""yes; then :
75188 cat >>confdefs.h <<_ACEOF
75189 #define HAVE__POWF 1
75190 _ACEOF
75193 done
75202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
75203 $as_echo_n "checking for sqrtf declaration... " >&6; }
75204 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
75205 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
75206 $as_echo_n "(cached) " >&6
75207 else
75210 ac_ext=cpp
75211 ac_cpp='$CXXCPP $CPPFLAGS'
75212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75217 /* end confdefs.h. */
75218 #include <math.h>
75219 #ifdef HAVE_IEEEFP_H
75220 #include <ieeefp.h>
75221 #endif
75224 main ()
75226 sqrtf(0);
75228 return 0;
75230 _ACEOF
75231 if ac_fn_cxx_try_compile "$LINENO"; then :
75232 glibcxx_cv_func_sqrtf_use=yes
75233 else
75234 glibcxx_cv_func_sqrtf_use=no
75236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75237 ac_ext=c
75238 ac_cpp='$CPP $CPPFLAGS'
75239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
75248 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
75250 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
75251 for ac_func in sqrtf
75252 do :
75253 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
75254 if test "x$ac_cv_func_sqrtf" = x""yes; then :
75255 cat >>confdefs.h <<_ACEOF
75256 #define HAVE_SQRTF 1
75257 _ACEOF
75260 done
75262 else
75264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
75265 $as_echo_n "checking for _sqrtf declaration... " >&6; }
75266 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
75267 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
75268 $as_echo_n "(cached) " >&6
75269 else
75272 ac_ext=cpp
75273 ac_cpp='$CXXCPP $CPPFLAGS'
75274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75279 /* end confdefs.h. */
75280 #include <math.h>
75281 #ifdef HAVE_IEEEFP_H
75282 #include <ieeefp.h>
75283 #endif
75286 main ()
75288 _sqrtf(0);
75290 return 0;
75292 _ACEOF
75293 if ac_fn_cxx_try_compile "$LINENO"; then :
75294 glibcxx_cv_func__sqrtf_use=yes
75295 else
75296 glibcxx_cv_func__sqrtf_use=no
75298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75299 ac_ext=c
75300 ac_cpp='$CPP $CPPFLAGS'
75301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
75310 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
75312 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
75313 for ac_func in _sqrtf
75314 do :
75315 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
75316 if test "x$ac_cv_func__sqrtf" = x""yes; then :
75317 cat >>confdefs.h <<_ACEOF
75318 #define HAVE__SQRTF 1
75319 _ACEOF
75322 done
75331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
75332 $as_echo_n "checking for sincosf declaration... " >&6; }
75333 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
75334 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
75335 $as_echo_n "(cached) " >&6
75336 else
75339 ac_ext=cpp
75340 ac_cpp='$CXXCPP $CPPFLAGS'
75341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75346 /* end confdefs.h. */
75347 #include <math.h>
75349 main ()
75351 sincosf(0, 0, 0);
75353 return 0;
75355 _ACEOF
75356 if ac_fn_cxx_try_compile "$LINENO"; then :
75357 glibcxx_cv_func_sincosf_use=yes
75358 else
75359 glibcxx_cv_func_sincosf_use=no
75361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75362 ac_ext=c
75363 ac_cpp='$CPP $CPPFLAGS'
75364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
75373 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
75375 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
75376 for ac_func in sincosf
75377 do :
75378 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
75379 if test "x$ac_cv_func_sincosf" = x""yes; then :
75380 cat >>confdefs.h <<_ACEOF
75381 #define HAVE_SINCOSF 1
75382 _ACEOF
75385 done
75387 else
75389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
75390 $as_echo_n "checking for _sincosf declaration... " >&6; }
75391 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
75392 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
75393 $as_echo_n "(cached) " >&6
75394 else
75397 ac_ext=cpp
75398 ac_cpp='$CXXCPP $CPPFLAGS'
75399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75404 /* end confdefs.h. */
75405 #include <math.h>
75407 main ()
75409 _sincosf(0, 0, 0);
75411 return 0;
75413 _ACEOF
75414 if ac_fn_cxx_try_compile "$LINENO"; then :
75415 glibcxx_cv_func__sincosf_use=yes
75416 else
75417 glibcxx_cv_func__sincosf_use=no
75419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75420 ac_ext=c
75421 ac_cpp='$CPP $CPPFLAGS'
75422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
75431 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
75433 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
75434 for ac_func in _sincosf
75435 do :
75436 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
75437 if test "x$ac_cv_func__sincosf" = x""yes; then :
75438 cat >>confdefs.h <<_ACEOF
75439 #define HAVE__SINCOSF 1
75440 _ACEOF
75443 done
75452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
75453 $as_echo_n "checking for finitef declaration... " >&6; }
75454 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
75455 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
75456 $as_echo_n "(cached) " >&6
75457 else
75460 ac_ext=cpp
75461 ac_cpp='$CXXCPP $CPPFLAGS'
75462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75467 /* end confdefs.h. */
75468 #include <math.h>
75469 #ifdef HAVE_IEEEFP_H
75470 #include <ieeefp.h>
75471 #endif
75474 main ()
75476 finitef(0);
75478 return 0;
75480 _ACEOF
75481 if ac_fn_cxx_try_compile "$LINENO"; then :
75482 glibcxx_cv_func_finitef_use=yes
75483 else
75484 glibcxx_cv_func_finitef_use=no
75486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75487 ac_ext=c
75488 ac_cpp='$CPP $CPPFLAGS'
75489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
75498 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
75500 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
75501 for ac_func in finitef
75502 do :
75503 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
75504 if test "x$ac_cv_func_finitef" = x""yes; then :
75505 cat >>confdefs.h <<_ACEOF
75506 #define HAVE_FINITEF 1
75507 _ACEOF
75510 done
75512 else
75514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
75515 $as_echo_n "checking for _finitef declaration... " >&6; }
75516 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
75517 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
75518 $as_echo_n "(cached) " >&6
75519 else
75522 ac_ext=cpp
75523 ac_cpp='$CXXCPP $CPPFLAGS'
75524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75529 /* end confdefs.h. */
75530 #include <math.h>
75531 #ifdef HAVE_IEEEFP_H
75532 #include <ieeefp.h>
75533 #endif
75536 main ()
75538 _finitef(0);
75540 return 0;
75542 _ACEOF
75543 if ac_fn_cxx_try_compile "$LINENO"; then :
75544 glibcxx_cv_func__finitef_use=yes
75545 else
75546 glibcxx_cv_func__finitef_use=no
75548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75549 ac_ext=c
75550 ac_cpp='$CPP $CPPFLAGS'
75551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
75560 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
75562 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
75563 for ac_func in _finitef
75564 do :
75565 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
75566 if test "x$ac_cv_func__finitef" = x""yes; then :
75567 cat >>confdefs.h <<_ACEOF
75568 #define HAVE__FINITEF 1
75569 _ACEOF
75572 done
75581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
75582 $as_echo_n "checking for long double trig functions... " >&6; }
75583 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
75584 $as_echo_n "(cached) " >&6
75585 else
75588 ac_ext=cpp
75589 ac_cpp='$CXXCPP $CPPFLAGS'
75590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75595 /* end confdefs.h. */
75596 #include <math.h>
75598 main ()
75600 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
75602 return 0;
75604 _ACEOF
75605 if ac_fn_cxx_try_compile "$LINENO"; then :
75606 glibcxx_cv_func_long_double_trig_use=yes
75607 else
75608 glibcxx_cv_func_long_double_trig_use=no
75610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75611 ac_ext=c
75612 ac_cpp='$CPP $CPPFLAGS'
75613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
75620 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
75621 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
75622 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
75623 do :
75624 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75625 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75626 eval as_val=\$$as_ac_var
75627 if test "x$as_val" = x""yes; then :
75628 cat >>confdefs.h <<_ACEOF
75629 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75630 _ACEOF
75633 done
75635 else
75636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
75637 $as_echo_n "checking for _long double trig functions... " >&6; }
75638 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
75639 $as_echo_n "(cached) " >&6
75640 else
75643 ac_ext=cpp
75644 ac_cpp='$CXXCPP $CPPFLAGS'
75645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75650 /* end confdefs.h. */
75651 #include <math.h>
75653 main ()
75655 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
75657 return 0;
75659 _ACEOF
75660 if ac_fn_cxx_try_compile "$LINENO"; then :
75661 glibcxx_cv_func__long_double_trig_use=yes
75662 else
75663 glibcxx_cv_func__long_double_trig_use=no
75665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75666 ac_ext=c
75667 ac_cpp='$CPP $CPPFLAGS'
75668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
75675 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
75676 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
75677 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
75678 do :
75679 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75680 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75681 eval as_val=\$$as_ac_var
75682 if test "x$as_val" = x""yes; then :
75683 cat >>confdefs.h <<_ACEOF
75684 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75685 _ACEOF
75688 done
75697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
75698 $as_echo_n "checking for long double round functions... " >&6; }
75699 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
75700 $as_echo_n "(cached) " >&6
75701 else
75704 ac_ext=cpp
75705 ac_cpp='$CXXCPP $CPPFLAGS'
75706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75711 /* end confdefs.h. */
75712 #include <math.h>
75714 main ()
75716 ceill (0); floorl (0);
75718 return 0;
75720 _ACEOF
75721 if ac_fn_cxx_try_compile "$LINENO"; then :
75722 glibcxx_cv_func_long_double_round_use=yes
75723 else
75724 glibcxx_cv_func_long_double_round_use=no
75726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75727 ac_ext=c
75728 ac_cpp='$CPP $CPPFLAGS'
75729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
75736 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
75737 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
75738 for ac_func in ceill floorl
75739 do :
75740 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75741 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75742 eval as_val=\$$as_ac_var
75743 if test "x$as_val" = x""yes; then :
75744 cat >>confdefs.h <<_ACEOF
75745 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75746 _ACEOF
75749 done
75751 else
75752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
75753 $as_echo_n "checking for _long double round functions... " >&6; }
75754 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
75755 $as_echo_n "(cached) " >&6
75756 else
75759 ac_ext=cpp
75760 ac_cpp='$CXXCPP $CPPFLAGS'
75761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75766 /* end confdefs.h. */
75767 #include <math.h>
75769 main ()
75771 _ceill (0); _floorl (0);
75773 return 0;
75775 _ACEOF
75776 if ac_fn_cxx_try_compile "$LINENO"; then :
75777 glibcxx_cv_func__long_double_round_use=yes
75778 else
75779 glibcxx_cv_func__long_double_round_use=no
75781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75782 ac_ext=c
75783 ac_cpp='$CPP $CPPFLAGS'
75784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
75791 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
75792 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
75793 for ac_func in _ceill _floorl
75794 do :
75795 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75796 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75797 eval as_val=\$$as_ac_var
75798 if test "x$as_val" = x""yes; then :
75799 cat >>confdefs.h <<_ACEOF
75800 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75801 _ACEOF
75804 done
75814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
75815 $as_echo_n "checking for isnanl declaration... " >&6; }
75816 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
75817 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
75818 $as_echo_n "(cached) " >&6
75819 else
75822 ac_ext=cpp
75823 ac_cpp='$CXXCPP $CPPFLAGS'
75824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75829 /* end confdefs.h. */
75830 #include <math.h>
75831 #ifdef HAVE_IEEEFP_H
75832 #include <ieeefp.h>
75833 #endif
75836 main ()
75838 isnanl(0);
75840 return 0;
75842 _ACEOF
75843 if ac_fn_cxx_try_compile "$LINENO"; then :
75844 glibcxx_cv_func_isnanl_use=yes
75845 else
75846 glibcxx_cv_func_isnanl_use=no
75848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75849 ac_ext=c
75850 ac_cpp='$CPP $CPPFLAGS'
75851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
75860 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
75862 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
75863 for ac_func in isnanl
75864 do :
75865 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
75866 if test "x$ac_cv_func_isnanl" = x""yes; then :
75867 cat >>confdefs.h <<_ACEOF
75868 #define HAVE_ISNANL 1
75869 _ACEOF
75872 done
75874 else
75876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
75877 $as_echo_n "checking for _isnanl declaration... " >&6; }
75878 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
75879 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
75880 $as_echo_n "(cached) " >&6
75881 else
75884 ac_ext=cpp
75885 ac_cpp='$CXXCPP $CPPFLAGS'
75886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75891 /* end confdefs.h. */
75892 #include <math.h>
75893 #ifdef HAVE_IEEEFP_H
75894 #include <ieeefp.h>
75895 #endif
75898 main ()
75900 _isnanl(0);
75902 return 0;
75904 _ACEOF
75905 if ac_fn_cxx_try_compile "$LINENO"; then :
75906 glibcxx_cv_func__isnanl_use=yes
75907 else
75908 glibcxx_cv_func__isnanl_use=no
75910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75911 ac_ext=c
75912 ac_cpp='$CPP $CPPFLAGS'
75913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
75922 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
75924 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
75925 for ac_func in _isnanl
75926 do :
75927 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
75928 if test "x$ac_cv_func__isnanl" = x""yes; then :
75929 cat >>confdefs.h <<_ACEOF
75930 #define HAVE__ISNANL 1
75931 _ACEOF
75934 done
75943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
75944 $as_echo_n "checking for isinfl declaration... " >&6; }
75945 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
75946 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
75947 $as_echo_n "(cached) " >&6
75948 else
75951 ac_ext=cpp
75952 ac_cpp='$CXXCPP $CPPFLAGS'
75953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75958 /* end confdefs.h. */
75959 #include <math.h>
75960 #ifdef HAVE_IEEEFP_H
75961 #include <ieeefp.h>
75962 #endif
75965 main ()
75967 isinfl(0);
75969 return 0;
75971 _ACEOF
75972 if ac_fn_cxx_try_compile "$LINENO"; then :
75973 glibcxx_cv_func_isinfl_use=yes
75974 else
75975 glibcxx_cv_func_isinfl_use=no
75977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75978 ac_ext=c
75979 ac_cpp='$CPP $CPPFLAGS'
75980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
75989 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
75991 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
75992 for ac_func in isinfl
75993 do :
75994 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
75995 if test "x$ac_cv_func_isinfl" = x""yes; then :
75996 cat >>confdefs.h <<_ACEOF
75997 #define HAVE_ISINFL 1
75998 _ACEOF
76001 done
76003 else
76005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
76006 $as_echo_n "checking for _isinfl declaration... " >&6; }
76007 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
76008 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
76009 $as_echo_n "(cached) " >&6
76010 else
76013 ac_ext=cpp
76014 ac_cpp='$CXXCPP $CPPFLAGS'
76015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76020 /* end confdefs.h. */
76021 #include <math.h>
76022 #ifdef HAVE_IEEEFP_H
76023 #include <ieeefp.h>
76024 #endif
76027 main ()
76029 _isinfl(0);
76031 return 0;
76033 _ACEOF
76034 if ac_fn_cxx_try_compile "$LINENO"; then :
76035 glibcxx_cv_func__isinfl_use=yes
76036 else
76037 glibcxx_cv_func__isinfl_use=no
76039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76040 ac_ext=c
76041 ac_cpp='$CPP $CPPFLAGS'
76042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
76051 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
76053 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76054 for ac_func in _isinfl
76055 do :
76056 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
76057 if test "x$ac_cv_func__isinfl" = x""yes; then :
76058 cat >>confdefs.h <<_ACEOF
76059 #define HAVE__ISINFL 1
76060 _ACEOF
76063 done
76072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
76073 $as_echo_n "checking for atan2l declaration... " >&6; }
76074 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76075 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
76076 $as_echo_n "(cached) " >&6
76077 else
76080 ac_ext=cpp
76081 ac_cpp='$CXXCPP $CPPFLAGS'
76082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76087 /* end confdefs.h. */
76088 #include <math.h>
76090 main ()
76092 atan2l(0, 0);
76094 return 0;
76096 _ACEOF
76097 if ac_fn_cxx_try_compile "$LINENO"; then :
76098 glibcxx_cv_func_atan2l_use=yes
76099 else
76100 glibcxx_cv_func_atan2l_use=no
76102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76103 ac_ext=c
76104 ac_cpp='$CPP $CPPFLAGS'
76105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
76114 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
76116 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76117 for ac_func in atan2l
76118 do :
76119 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
76120 if test "x$ac_cv_func_atan2l" = x""yes; then :
76121 cat >>confdefs.h <<_ACEOF
76122 #define HAVE_ATAN2L 1
76123 _ACEOF
76126 done
76128 else
76130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
76131 $as_echo_n "checking for _atan2l declaration... " >&6; }
76132 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76133 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
76134 $as_echo_n "(cached) " >&6
76135 else
76138 ac_ext=cpp
76139 ac_cpp='$CXXCPP $CPPFLAGS'
76140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76145 /* end confdefs.h. */
76146 #include <math.h>
76148 main ()
76150 _atan2l(0, 0);
76152 return 0;
76154 _ACEOF
76155 if ac_fn_cxx_try_compile "$LINENO"; then :
76156 glibcxx_cv_func__atan2l_use=yes
76157 else
76158 glibcxx_cv_func__atan2l_use=no
76160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76161 ac_ext=c
76162 ac_cpp='$CPP $CPPFLAGS'
76163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
76172 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
76174 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76175 for ac_func in _atan2l
76176 do :
76177 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
76178 if test "x$ac_cv_func__atan2l" = x""yes; then :
76179 cat >>confdefs.h <<_ACEOF
76180 #define HAVE__ATAN2L 1
76181 _ACEOF
76184 done
76193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
76194 $as_echo_n "checking for expl declaration... " >&6; }
76195 if test x${glibcxx_cv_func_expl_use+set} != xset; then
76196 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
76197 $as_echo_n "(cached) " >&6
76198 else
76201 ac_ext=cpp
76202 ac_cpp='$CXXCPP $CPPFLAGS'
76203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76208 /* end confdefs.h. */
76209 #include <math.h>
76210 #ifdef HAVE_IEEEFP_H
76211 #include <ieeefp.h>
76212 #endif
76215 main ()
76217 expl(0);
76219 return 0;
76221 _ACEOF
76222 if ac_fn_cxx_try_compile "$LINENO"; then :
76223 glibcxx_cv_func_expl_use=yes
76224 else
76225 glibcxx_cv_func_expl_use=no
76227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76228 ac_ext=c
76229 ac_cpp='$CPP $CPPFLAGS'
76230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
76239 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
76241 if test x$glibcxx_cv_func_expl_use = x"yes"; then
76242 for ac_func in expl
76243 do :
76244 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
76245 if test "x$ac_cv_func_expl" = x""yes; then :
76246 cat >>confdefs.h <<_ACEOF
76247 #define HAVE_EXPL 1
76248 _ACEOF
76251 done
76253 else
76255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
76256 $as_echo_n "checking for _expl declaration... " >&6; }
76257 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76258 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
76259 $as_echo_n "(cached) " >&6
76260 else
76263 ac_ext=cpp
76264 ac_cpp='$CXXCPP $CPPFLAGS'
76265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76270 /* end confdefs.h. */
76271 #include <math.h>
76272 #ifdef HAVE_IEEEFP_H
76273 #include <ieeefp.h>
76274 #endif
76277 main ()
76279 _expl(0);
76281 return 0;
76283 _ACEOF
76284 if ac_fn_cxx_try_compile "$LINENO"; then :
76285 glibcxx_cv_func__expl_use=yes
76286 else
76287 glibcxx_cv_func__expl_use=no
76289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76290 ac_ext=c
76291 ac_cpp='$CPP $CPPFLAGS'
76292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
76301 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
76303 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76304 for ac_func in _expl
76305 do :
76306 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
76307 if test "x$ac_cv_func__expl" = x""yes; then :
76308 cat >>confdefs.h <<_ACEOF
76309 #define HAVE__EXPL 1
76310 _ACEOF
76313 done
76322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
76323 $as_echo_n "checking for fabsl declaration... " >&6; }
76324 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
76325 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
76326 $as_echo_n "(cached) " >&6
76327 else
76330 ac_ext=cpp
76331 ac_cpp='$CXXCPP $CPPFLAGS'
76332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76337 /* end confdefs.h. */
76338 #include <math.h>
76339 #ifdef HAVE_IEEEFP_H
76340 #include <ieeefp.h>
76341 #endif
76344 main ()
76346 fabsl(0);
76348 return 0;
76350 _ACEOF
76351 if ac_fn_cxx_try_compile "$LINENO"; then :
76352 glibcxx_cv_func_fabsl_use=yes
76353 else
76354 glibcxx_cv_func_fabsl_use=no
76356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76357 ac_ext=c
76358 ac_cpp='$CPP $CPPFLAGS'
76359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
76368 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
76370 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
76371 for ac_func in fabsl
76372 do :
76373 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
76374 if test "x$ac_cv_func_fabsl" = x""yes; then :
76375 cat >>confdefs.h <<_ACEOF
76376 #define HAVE_FABSL 1
76377 _ACEOF
76380 done
76382 else
76384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
76385 $as_echo_n "checking for _fabsl declaration... " >&6; }
76386 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
76387 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
76388 $as_echo_n "(cached) " >&6
76389 else
76392 ac_ext=cpp
76393 ac_cpp='$CXXCPP $CPPFLAGS'
76394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76399 /* end confdefs.h. */
76400 #include <math.h>
76401 #ifdef HAVE_IEEEFP_H
76402 #include <ieeefp.h>
76403 #endif
76406 main ()
76408 _fabsl(0);
76410 return 0;
76412 _ACEOF
76413 if ac_fn_cxx_try_compile "$LINENO"; then :
76414 glibcxx_cv_func__fabsl_use=yes
76415 else
76416 glibcxx_cv_func__fabsl_use=no
76418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76419 ac_ext=c
76420 ac_cpp='$CPP $CPPFLAGS'
76421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
76430 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
76432 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
76433 for ac_func in _fabsl
76434 do :
76435 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
76436 if test "x$ac_cv_func__fabsl" = x""yes; then :
76437 cat >>confdefs.h <<_ACEOF
76438 #define HAVE__FABSL 1
76439 _ACEOF
76442 done
76451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
76452 $as_echo_n "checking for fmodl declaration... " >&6; }
76453 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
76454 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
76455 $as_echo_n "(cached) " >&6
76456 else
76459 ac_ext=cpp
76460 ac_cpp='$CXXCPP $CPPFLAGS'
76461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76466 /* end confdefs.h. */
76467 #include <math.h>
76469 main ()
76471 fmodl(0, 0);
76473 return 0;
76475 _ACEOF
76476 if ac_fn_cxx_try_compile "$LINENO"; then :
76477 glibcxx_cv_func_fmodl_use=yes
76478 else
76479 glibcxx_cv_func_fmodl_use=no
76481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76482 ac_ext=c
76483 ac_cpp='$CPP $CPPFLAGS'
76484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
76493 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
76495 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
76496 for ac_func in fmodl
76497 do :
76498 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
76499 if test "x$ac_cv_func_fmodl" = x""yes; then :
76500 cat >>confdefs.h <<_ACEOF
76501 #define HAVE_FMODL 1
76502 _ACEOF
76505 done
76507 else
76509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
76510 $as_echo_n "checking for _fmodl declaration... " >&6; }
76511 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
76512 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
76513 $as_echo_n "(cached) " >&6
76514 else
76517 ac_ext=cpp
76518 ac_cpp='$CXXCPP $CPPFLAGS'
76519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76524 /* end confdefs.h. */
76525 #include <math.h>
76527 main ()
76529 _fmodl(0, 0);
76531 return 0;
76533 _ACEOF
76534 if ac_fn_cxx_try_compile "$LINENO"; then :
76535 glibcxx_cv_func__fmodl_use=yes
76536 else
76537 glibcxx_cv_func__fmodl_use=no
76539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76540 ac_ext=c
76541 ac_cpp='$CPP $CPPFLAGS'
76542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
76551 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
76553 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
76554 for ac_func in _fmodl
76555 do :
76556 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
76557 if test "x$ac_cv_func__fmodl" = x""yes; then :
76558 cat >>confdefs.h <<_ACEOF
76559 #define HAVE__FMODL 1
76560 _ACEOF
76563 done
76572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
76573 $as_echo_n "checking for frexpl declaration... " >&6; }
76574 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
76575 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
76576 $as_echo_n "(cached) " >&6
76577 else
76580 ac_ext=cpp
76581 ac_cpp='$CXXCPP $CPPFLAGS'
76582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76587 /* end confdefs.h. */
76588 #include <math.h>
76590 main ()
76592 frexpl(0, 0);
76594 return 0;
76596 _ACEOF
76597 if ac_fn_cxx_try_compile "$LINENO"; then :
76598 glibcxx_cv_func_frexpl_use=yes
76599 else
76600 glibcxx_cv_func_frexpl_use=no
76602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76603 ac_ext=c
76604 ac_cpp='$CPP $CPPFLAGS'
76605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
76614 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
76616 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
76617 for ac_func in frexpl
76618 do :
76619 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
76620 if test "x$ac_cv_func_frexpl" = x""yes; then :
76621 cat >>confdefs.h <<_ACEOF
76622 #define HAVE_FREXPL 1
76623 _ACEOF
76626 done
76628 else
76630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
76631 $as_echo_n "checking for _frexpl declaration... " >&6; }
76632 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
76633 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
76634 $as_echo_n "(cached) " >&6
76635 else
76638 ac_ext=cpp
76639 ac_cpp='$CXXCPP $CPPFLAGS'
76640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76645 /* end confdefs.h. */
76646 #include <math.h>
76648 main ()
76650 _frexpl(0, 0);
76652 return 0;
76654 _ACEOF
76655 if ac_fn_cxx_try_compile "$LINENO"; then :
76656 glibcxx_cv_func__frexpl_use=yes
76657 else
76658 glibcxx_cv_func__frexpl_use=no
76660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76661 ac_ext=c
76662 ac_cpp='$CPP $CPPFLAGS'
76663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
76672 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
76674 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
76675 for ac_func in _frexpl
76676 do :
76677 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
76678 if test "x$ac_cv_func__frexpl" = x""yes; then :
76679 cat >>confdefs.h <<_ACEOF
76680 #define HAVE__FREXPL 1
76681 _ACEOF
76684 done
76693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
76694 $as_echo_n "checking for hypotl declaration... " >&6; }
76695 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
76696 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
76697 $as_echo_n "(cached) " >&6
76698 else
76701 ac_ext=cpp
76702 ac_cpp='$CXXCPP $CPPFLAGS'
76703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76708 /* end confdefs.h. */
76709 #include <math.h>
76711 main ()
76713 hypotl(0, 0);
76715 return 0;
76717 _ACEOF
76718 if ac_fn_cxx_try_compile "$LINENO"; then :
76719 glibcxx_cv_func_hypotl_use=yes
76720 else
76721 glibcxx_cv_func_hypotl_use=no
76723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76724 ac_ext=c
76725 ac_cpp='$CPP $CPPFLAGS'
76726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
76735 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
76737 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
76738 for ac_func in hypotl
76739 do :
76740 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
76741 if test "x$ac_cv_func_hypotl" = x""yes; then :
76742 cat >>confdefs.h <<_ACEOF
76743 #define HAVE_HYPOTL 1
76744 _ACEOF
76747 done
76749 else
76751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
76752 $as_echo_n "checking for _hypotl declaration... " >&6; }
76753 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
76754 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
76755 $as_echo_n "(cached) " >&6
76756 else
76759 ac_ext=cpp
76760 ac_cpp='$CXXCPP $CPPFLAGS'
76761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76766 /* end confdefs.h. */
76767 #include <math.h>
76769 main ()
76771 _hypotl(0, 0);
76773 return 0;
76775 _ACEOF
76776 if ac_fn_cxx_try_compile "$LINENO"; then :
76777 glibcxx_cv_func__hypotl_use=yes
76778 else
76779 glibcxx_cv_func__hypotl_use=no
76781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76782 ac_ext=c
76783 ac_cpp='$CPP $CPPFLAGS'
76784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
76793 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
76795 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
76796 for ac_func in _hypotl
76797 do :
76798 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
76799 if test "x$ac_cv_func__hypotl" = x""yes; then :
76800 cat >>confdefs.h <<_ACEOF
76801 #define HAVE__HYPOTL 1
76802 _ACEOF
76805 done
76814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
76815 $as_echo_n "checking for ldexpl declaration... " >&6; }
76816 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
76817 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
76818 $as_echo_n "(cached) " >&6
76819 else
76822 ac_ext=cpp
76823 ac_cpp='$CXXCPP $CPPFLAGS'
76824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76829 /* end confdefs.h. */
76830 #include <math.h>
76832 main ()
76834 ldexpl(0, 0);
76836 return 0;
76838 _ACEOF
76839 if ac_fn_cxx_try_compile "$LINENO"; then :
76840 glibcxx_cv_func_ldexpl_use=yes
76841 else
76842 glibcxx_cv_func_ldexpl_use=no
76844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76845 ac_ext=c
76846 ac_cpp='$CPP $CPPFLAGS'
76847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
76856 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
76858 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
76859 for ac_func in ldexpl
76860 do :
76861 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
76862 if test "x$ac_cv_func_ldexpl" = x""yes; then :
76863 cat >>confdefs.h <<_ACEOF
76864 #define HAVE_LDEXPL 1
76865 _ACEOF
76868 done
76870 else
76872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
76873 $as_echo_n "checking for _ldexpl declaration... " >&6; }
76874 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
76875 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
76876 $as_echo_n "(cached) " >&6
76877 else
76880 ac_ext=cpp
76881 ac_cpp='$CXXCPP $CPPFLAGS'
76882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76887 /* end confdefs.h. */
76888 #include <math.h>
76890 main ()
76892 _ldexpl(0, 0);
76894 return 0;
76896 _ACEOF
76897 if ac_fn_cxx_try_compile "$LINENO"; then :
76898 glibcxx_cv_func__ldexpl_use=yes
76899 else
76900 glibcxx_cv_func__ldexpl_use=no
76902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76903 ac_ext=c
76904 ac_cpp='$CPP $CPPFLAGS'
76905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
76914 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
76916 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
76917 for ac_func in _ldexpl
76918 do :
76919 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
76920 if test "x$ac_cv_func__ldexpl" = x""yes; then :
76921 cat >>confdefs.h <<_ACEOF
76922 #define HAVE__LDEXPL 1
76923 _ACEOF
76926 done
76935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
76936 $as_echo_n "checking for logl declaration... " >&6; }
76937 if test x${glibcxx_cv_func_logl_use+set} != xset; then
76938 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
76939 $as_echo_n "(cached) " >&6
76940 else
76943 ac_ext=cpp
76944 ac_cpp='$CXXCPP $CPPFLAGS'
76945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76950 /* end confdefs.h. */
76951 #include <math.h>
76952 #ifdef HAVE_IEEEFP_H
76953 #include <ieeefp.h>
76954 #endif
76957 main ()
76959 logl(0);
76961 return 0;
76963 _ACEOF
76964 if ac_fn_cxx_try_compile "$LINENO"; then :
76965 glibcxx_cv_func_logl_use=yes
76966 else
76967 glibcxx_cv_func_logl_use=no
76969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76970 ac_ext=c
76971 ac_cpp='$CPP $CPPFLAGS'
76972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
76981 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
76983 if test x$glibcxx_cv_func_logl_use = x"yes"; then
76984 for ac_func in logl
76985 do :
76986 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
76987 if test "x$ac_cv_func_logl" = x""yes; then :
76988 cat >>confdefs.h <<_ACEOF
76989 #define HAVE_LOGL 1
76990 _ACEOF
76993 done
76995 else
76997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
76998 $as_echo_n "checking for _logl declaration... " >&6; }
76999 if test x${glibcxx_cv_func__logl_use+set} != xset; then
77000 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
77001 $as_echo_n "(cached) " >&6
77002 else
77005 ac_ext=cpp
77006 ac_cpp='$CXXCPP $CPPFLAGS'
77007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77012 /* end confdefs.h. */
77013 #include <math.h>
77014 #ifdef HAVE_IEEEFP_H
77015 #include <ieeefp.h>
77016 #endif
77019 main ()
77021 _logl(0);
77023 return 0;
77025 _ACEOF
77026 if ac_fn_cxx_try_compile "$LINENO"; then :
77027 glibcxx_cv_func__logl_use=yes
77028 else
77029 glibcxx_cv_func__logl_use=no
77031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77032 ac_ext=c
77033 ac_cpp='$CPP $CPPFLAGS'
77034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
77043 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
77045 if test x$glibcxx_cv_func__logl_use = x"yes"; then
77046 for ac_func in _logl
77047 do :
77048 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
77049 if test "x$ac_cv_func__logl" = x""yes; then :
77050 cat >>confdefs.h <<_ACEOF
77051 #define HAVE__LOGL 1
77052 _ACEOF
77055 done
77064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
77065 $as_echo_n "checking for log10l declaration... " >&6; }
77066 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
77067 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
77068 $as_echo_n "(cached) " >&6
77069 else
77072 ac_ext=cpp
77073 ac_cpp='$CXXCPP $CPPFLAGS'
77074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77079 /* end confdefs.h. */
77080 #include <math.h>
77081 #ifdef HAVE_IEEEFP_H
77082 #include <ieeefp.h>
77083 #endif
77086 main ()
77088 log10l(0);
77090 return 0;
77092 _ACEOF
77093 if ac_fn_cxx_try_compile "$LINENO"; then :
77094 glibcxx_cv_func_log10l_use=yes
77095 else
77096 glibcxx_cv_func_log10l_use=no
77098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77099 ac_ext=c
77100 ac_cpp='$CPP $CPPFLAGS'
77101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
77110 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
77112 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
77113 for ac_func in log10l
77114 do :
77115 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
77116 if test "x$ac_cv_func_log10l" = x""yes; then :
77117 cat >>confdefs.h <<_ACEOF
77118 #define HAVE_LOG10L 1
77119 _ACEOF
77122 done
77124 else
77126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
77127 $as_echo_n "checking for _log10l declaration... " >&6; }
77128 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
77129 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
77130 $as_echo_n "(cached) " >&6
77131 else
77134 ac_ext=cpp
77135 ac_cpp='$CXXCPP $CPPFLAGS'
77136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77141 /* end confdefs.h. */
77142 #include <math.h>
77143 #ifdef HAVE_IEEEFP_H
77144 #include <ieeefp.h>
77145 #endif
77148 main ()
77150 _log10l(0);
77152 return 0;
77154 _ACEOF
77155 if ac_fn_cxx_try_compile "$LINENO"; then :
77156 glibcxx_cv_func__log10l_use=yes
77157 else
77158 glibcxx_cv_func__log10l_use=no
77160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77161 ac_ext=c
77162 ac_cpp='$CPP $CPPFLAGS'
77163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
77172 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
77174 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
77175 for ac_func in _log10l
77176 do :
77177 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
77178 if test "x$ac_cv_func__log10l" = x""yes; then :
77179 cat >>confdefs.h <<_ACEOF
77180 #define HAVE__LOG10L 1
77181 _ACEOF
77184 done
77193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
77194 $as_echo_n "checking for modfl declaration... " >&6; }
77195 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
77196 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
77197 $as_echo_n "(cached) " >&6
77198 else
77201 ac_ext=cpp
77202 ac_cpp='$CXXCPP $CPPFLAGS'
77203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77208 /* end confdefs.h. */
77209 #include <math.h>
77211 main ()
77213 modfl(0, 0);
77215 return 0;
77217 _ACEOF
77218 if ac_fn_cxx_try_compile "$LINENO"; then :
77219 glibcxx_cv_func_modfl_use=yes
77220 else
77221 glibcxx_cv_func_modfl_use=no
77223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77224 ac_ext=c
77225 ac_cpp='$CPP $CPPFLAGS'
77226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
77235 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
77237 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
77238 for ac_func in modfl
77239 do :
77240 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
77241 if test "x$ac_cv_func_modfl" = x""yes; then :
77242 cat >>confdefs.h <<_ACEOF
77243 #define HAVE_MODFL 1
77244 _ACEOF
77247 done
77249 else
77251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
77252 $as_echo_n "checking for _modfl declaration... " >&6; }
77253 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
77254 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
77255 $as_echo_n "(cached) " >&6
77256 else
77259 ac_ext=cpp
77260 ac_cpp='$CXXCPP $CPPFLAGS'
77261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77266 /* end confdefs.h. */
77267 #include <math.h>
77269 main ()
77271 _modfl(0, 0);
77273 return 0;
77275 _ACEOF
77276 if ac_fn_cxx_try_compile "$LINENO"; then :
77277 glibcxx_cv_func__modfl_use=yes
77278 else
77279 glibcxx_cv_func__modfl_use=no
77281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77282 ac_ext=c
77283 ac_cpp='$CPP $CPPFLAGS'
77284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
77293 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
77295 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
77296 for ac_func in _modfl
77297 do :
77298 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
77299 if test "x$ac_cv_func__modfl" = x""yes; then :
77300 cat >>confdefs.h <<_ACEOF
77301 #define HAVE__MODFL 1
77302 _ACEOF
77305 done
77314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
77315 $as_echo_n "checking for powl declaration... " >&6; }
77316 if test x${glibcxx_cv_func_powl_use+set} != xset; then
77317 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
77318 $as_echo_n "(cached) " >&6
77319 else
77322 ac_ext=cpp
77323 ac_cpp='$CXXCPP $CPPFLAGS'
77324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77329 /* end confdefs.h. */
77330 #include <math.h>
77332 main ()
77334 powl(0, 0);
77336 return 0;
77338 _ACEOF
77339 if ac_fn_cxx_try_compile "$LINENO"; then :
77340 glibcxx_cv_func_powl_use=yes
77341 else
77342 glibcxx_cv_func_powl_use=no
77344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77345 ac_ext=c
77346 ac_cpp='$CPP $CPPFLAGS'
77347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
77356 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
77358 if test x$glibcxx_cv_func_powl_use = x"yes"; then
77359 for ac_func in powl
77360 do :
77361 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
77362 if test "x$ac_cv_func_powl" = x""yes; then :
77363 cat >>confdefs.h <<_ACEOF
77364 #define HAVE_POWL 1
77365 _ACEOF
77368 done
77370 else
77372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
77373 $as_echo_n "checking for _powl declaration... " >&6; }
77374 if test x${glibcxx_cv_func__powl_use+set} != xset; then
77375 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
77376 $as_echo_n "(cached) " >&6
77377 else
77380 ac_ext=cpp
77381 ac_cpp='$CXXCPP $CPPFLAGS'
77382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77387 /* end confdefs.h. */
77388 #include <math.h>
77390 main ()
77392 _powl(0, 0);
77394 return 0;
77396 _ACEOF
77397 if ac_fn_cxx_try_compile "$LINENO"; then :
77398 glibcxx_cv_func__powl_use=yes
77399 else
77400 glibcxx_cv_func__powl_use=no
77402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77403 ac_ext=c
77404 ac_cpp='$CPP $CPPFLAGS'
77405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
77414 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
77416 if test x$glibcxx_cv_func__powl_use = x"yes"; then
77417 for ac_func in _powl
77418 do :
77419 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
77420 if test "x$ac_cv_func__powl" = x""yes; then :
77421 cat >>confdefs.h <<_ACEOF
77422 #define HAVE__POWL 1
77423 _ACEOF
77426 done
77435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
77436 $as_echo_n "checking for sqrtl declaration... " >&6; }
77437 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
77438 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
77439 $as_echo_n "(cached) " >&6
77440 else
77443 ac_ext=cpp
77444 ac_cpp='$CXXCPP $CPPFLAGS'
77445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77450 /* end confdefs.h. */
77451 #include <math.h>
77452 #ifdef HAVE_IEEEFP_H
77453 #include <ieeefp.h>
77454 #endif
77457 main ()
77459 sqrtl(0);
77461 return 0;
77463 _ACEOF
77464 if ac_fn_cxx_try_compile "$LINENO"; then :
77465 glibcxx_cv_func_sqrtl_use=yes
77466 else
77467 glibcxx_cv_func_sqrtl_use=no
77469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77470 ac_ext=c
77471 ac_cpp='$CPP $CPPFLAGS'
77472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
77481 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
77483 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
77484 for ac_func in sqrtl
77485 do :
77486 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
77487 if test "x$ac_cv_func_sqrtl" = x""yes; then :
77488 cat >>confdefs.h <<_ACEOF
77489 #define HAVE_SQRTL 1
77490 _ACEOF
77493 done
77495 else
77497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
77498 $as_echo_n "checking for _sqrtl declaration... " >&6; }
77499 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
77500 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
77501 $as_echo_n "(cached) " >&6
77502 else
77505 ac_ext=cpp
77506 ac_cpp='$CXXCPP $CPPFLAGS'
77507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77512 /* end confdefs.h. */
77513 #include <math.h>
77514 #ifdef HAVE_IEEEFP_H
77515 #include <ieeefp.h>
77516 #endif
77519 main ()
77521 _sqrtl(0);
77523 return 0;
77525 _ACEOF
77526 if ac_fn_cxx_try_compile "$LINENO"; then :
77527 glibcxx_cv_func__sqrtl_use=yes
77528 else
77529 glibcxx_cv_func__sqrtl_use=no
77531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77532 ac_ext=c
77533 ac_cpp='$CPP $CPPFLAGS'
77534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
77543 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
77545 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
77546 for ac_func in _sqrtl
77547 do :
77548 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
77549 if test "x$ac_cv_func__sqrtl" = x""yes; then :
77550 cat >>confdefs.h <<_ACEOF
77551 #define HAVE__SQRTL 1
77552 _ACEOF
77555 done
77564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
77565 $as_echo_n "checking for sincosl declaration... " >&6; }
77566 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
77567 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
77568 $as_echo_n "(cached) " >&6
77569 else
77572 ac_ext=cpp
77573 ac_cpp='$CXXCPP $CPPFLAGS'
77574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77579 /* end confdefs.h. */
77580 #include <math.h>
77582 main ()
77584 sincosl(0, 0, 0);
77586 return 0;
77588 _ACEOF
77589 if ac_fn_cxx_try_compile "$LINENO"; then :
77590 glibcxx_cv_func_sincosl_use=yes
77591 else
77592 glibcxx_cv_func_sincosl_use=no
77594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77595 ac_ext=c
77596 ac_cpp='$CPP $CPPFLAGS'
77597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
77606 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
77608 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
77609 for ac_func in sincosl
77610 do :
77611 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
77612 if test "x$ac_cv_func_sincosl" = x""yes; then :
77613 cat >>confdefs.h <<_ACEOF
77614 #define HAVE_SINCOSL 1
77615 _ACEOF
77618 done
77620 else
77622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
77623 $as_echo_n "checking for _sincosl declaration... " >&6; }
77624 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
77625 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
77626 $as_echo_n "(cached) " >&6
77627 else
77630 ac_ext=cpp
77631 ac_cpp='$CXXCPP $CPPFLAGS'
77632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77637 /* end confdefs.h. */
77638 #include <math.h>
77640 main ()
77642 _sincosl(0, 0, 0);
77644 return 0;
77646 _ACEOF
77647 if ac_fn_cxx_try_compile "$LINENO"; then :
77648 glibcxx_cv_func__sincosl_use=yes
77649 else
77650 glibcxx_cv_func__sincosl_use=no
77652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77653 ac_ext=c
77654 ac_cpp='$CPP $CPPFLAGS'
77655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
77664 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
77666 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
77667 for ac_func in _sincosl
77668 do :
77669 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
77670 if test "x$ac_cv_func__sincosl" = x""yes; then :
77671 cat >>confdefs.h <<_ACEOF
77672 #define HAVE__SINCOSL 1
77673 _ACEOF
77676 done
77685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
77686 $as_echo_n "checking for finitel declaration... " >&6; }
77687 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
77688 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
77689 $as_echo_n "(cached) " >&6
77690 else
77693 ac_ext=cpp
77694 ac_cpp='$CXXCPP $CPPFLAGS'
77695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77700 /* end confdefs.h. */
77701 #include <math.h>
77702 #ifdef HAVE_IEEEFP_H
77703 #include <ieeefp.h>
77704 #endif
77707 main ()
77709 finitel(0);
77711 return 0;
77713 _ACEOF
77714 if ac_fn_cxx_try_compile "$LINENO"; then :
77715 glibcxx_cv_func_finitel_use=yes
77716 else
77717 glibcxx_cv_func_finitel_use=no
77719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77720 ac_ext=c
77721 ac_cpp='$CPP $CPPFLAGS'
77722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
77731 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
77733 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
77734 for ac_func in finitel
77735 do :
77736 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
77737 if test "x$ac_cv_func_finitel" = x""yes; then :
77738 cat >>confdefs.h <<_ACEOF
77739 #define HAVE_FINITEL 1
77740 _ACEOF
77743 done
77745 else
77747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
77748 $as_echo_n "checking for _finitel declaration... " >&6; }
77749 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
77750 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
77751 $as_echo_n "(cached) " >&6
77752 else
77755 ac_ext=cpp
77756 ac_cpp='$CXXCPP $CPPFLAGS'
77757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77762 /* end confdefs.h. */
77763 #include <math.h>
77764 #ifdef HAVE_IEEEFP_H
77765 #include <ieeefp.h>
77766 #endif
77769 main ()
77771 _finitel(0);
77773 return 0;
77775 _ACEOF
77776 if ac_fn_cxx_try_compile "$LINENO"; then :
77777 glibcxx_cv_func__finitel_use=yes
77778 else
77779 glibcxx_cv_func__finitel_use=no
77781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77782 ac_ext=c
77783 ac_cpp='$CPP $CPPFLAGS'
77784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
77793 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
77795 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
77796 for ac_func in _finitel
77797 do :
77798 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
77799 if test "x$ac_cv_func__finitel" = x""yes; then :
77800 cat >>confdefs.h <<_ACEOF
77801 #define HAVE__FINITEL 1
77802 _ACEOF
77805 done
77813 LIBS="$ac_save_LIBS"
77814 CXXFLAGS="$ac_save_CXXFLAGS"
77817 ac_test_CXXFLAGS="${CXXFLAGS+set}"
77818 ac_save_CXXFLAGS="$CXXFLAGS"
77819 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
77822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
77823 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
77824 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
77825 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
77826 $as_echo_n "(cached) " >&6
77827 else
77830 ac_ext=cpp
77831 ac_cpp='$CXXCPP $CPPFLAGS'
77832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77837 /* end confdefs.h. */
77838 #include <stdlib.h>
77840 main ()
77842 at_quick_exit(0);
77844 return 0;
77846 _ACEOF
77847 if ac_fn_cxx_try_compile "$LINENO"; then :
77848 glibcxx_cv_func_at_quick_exit_use=yes
77849 else
77850 glibcxx_cv_func_at_quick_exit_use=no
77852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77853 ac_ext=c
77854 ac_cpp='$CPP $CPPFLAGS'
77855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
77864 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
77865 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
77866 for ac_func in at_quick_exit
77867 do :
77868 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
77869 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
77870 cat >>confdefs.h <<_ACEOF
77871 #define HAVE_AT_QUICK_EXIT 1
77872 _ACEOF
77875 done
77880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
77881 $as_echo_n "checking for quick_exit declaration... " >&6; }
77882 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
77883 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
77884 $as_echo_n "(cached) " >&6
77885 else
77888 ac_ext=cpp
77889 ac_cpp='$CXXCPP $CPPFLAGS'
77890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77895 /* end confdefs.h. */
77896 #include <stdlib.h>
77898 main ()
77900 quick_exit(0);
77902 return 0;
77904 _ACEOF
77905 if ac_fn_cxx_try_compile "$LINENO"; then :
77906 glibcxx_cv_func_quick_exit_use=yes
77907 else
77908 glibcxx_cv_func_quick_exit_use=no
77910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77911 ac_ext=c
77912 ac_cpp='$CPP $CPPFLAGS'
77913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
77922 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
77923 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
77924 for ac_func in quick_exit
77925 do :
77926 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
77927 if test "x$ac_cv_func_quick_exit" = x""yes; then :
77928 cat >>confdefs.h <<_ACEOF
77929 #define HAVE_QUICK_EXIT 1
77930 _ACEOF
77933 done
77938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
77939 $as_echo_n "checking for strtold declaration... " >&6; }
77940 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
77941 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
77942 $as_echo_n "(cached) " >&6
77943 else
77946 ac_ext=cpp
77947 ac_cpp='$CXXCPP $CPPFLAGS'
77948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77953 /* end confdefs.h. */
77954 #include <stdlib.h>
77956 main ()
77958 strtold(0, 0);
77960 return 0;
77962 _ACEOF
77963 if ac_fn_cxx_try_compile "$LINENO"; then :
77964 glibcxx_cv_func_strtold_use=yes
77965 else
77966 glibcxx_cv_func_strtold_use=no
77968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77969 ac_ext=c
77970 ac_cpp='$CPP $CPPFLAGS'
77971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
77980 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
77981 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
77982 for ac_func in strtold
77983 do :
77984 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
77985 if test "x$ac_cv_func_strtold" = x""yes; then :
77986 cat >>confdefs.h <<_ACEOF
77987 #define HAVE_STRTOLD 1
77988 _ACEOF
77991 done
77998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
77999 $as_echo_n "checking for strtof declaration... " >&6; }
78000 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
78001 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
78002 $as_echo_n "(cached) " >&6
78003 else
78006 ac_ext=cpp
78007 ac_cpp='$CXXCPP $CPPFLAGS'
78008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78013 /* end confdefs.h. */
78014 #include <stdlib.h>
78016 main ()
78018 strtof(0, 0);
78020 return 0;
78022 _ACEOF
78023 if ac_fn_cxx_try_compile "$LINENO"; then :
78024 glibcxx_cv_func_strtof_use=yes
78025 else
78026 glibcxx_cv_func_strtof_use=no
78028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78029 ac_ext=c
78030 ac_cpp='$CPP $CPPFLAGS'
78031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
78040 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
78041 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
78042 for ac_func in strtof
78043 do :
78044 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
78045 if test "x$ac_cv_func_strtof" = x""yes; then :
78046 cat >>confdefs.h <<_ACEOF
78047 #define HAVE_STRTOF 1
78048 _ACEOF
78051 done
78058 CXXFLAGS="$ac_save_CXXFLAGS"
78061 *-vxworks)
78062 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
78064 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
78066 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
78068 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
78070 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
78072 $as_echo "#define HAVE_COSF 1" >>confdefs.h
78074 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
78076 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
78078 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
78080 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
78082 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
78084 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
78086 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
78088 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
78090 $as_echo "#define HAVE_POWF 1" >>confdefs.h
78092 $as_echo "#define HAVE_SINF 1" >>confdefs.h
78094 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
78096 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
78098 $as_echo "#define HAVE_TANF 1" >>confdefs.h
78100 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
78104 as_fn_error "No support for this host/target combination." "$LINENO" 5
78106 esac
78110 # At some point, we should differentiate between architectures
78111 # like x86, which have long double versions, and alpha/powerpc/etc.,
78112 # which don't. For the time being, punt.
78113 if test x"long_double_math_on_this_cpu" = x"yes"; then
78114 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
78116 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
78118 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
78120 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
78122 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
78124 $as_echo "#define HAVE_COSL 1" >>confdefs.h
78126 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
78128 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
78130 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
78132 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
78134 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
78136 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
78138 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
78140 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
78142 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
78144 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
78146 $as_echo "#define HAVE_POWL 1" >>confdefs.h
78148 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
78150 $as_echo "#define HAVE_SINL 1" >>confdefs.h
78152 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
78154 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
78156 $as_echo "#define HAVE_TANL 1" >>confdefs.h
78158 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
78163 # Check for _Unwind_GetIPInfo.
78166 # Check whether --with-system-libunwind was given.
78167 if test "${with_system_libunwind+set}" = set; then :
78168 withval=$with_system_libunwind;
78171 # If system-libunwind was not specifically set, pick a default setting.
78172 if test x$with_system_libunwind = x; then
78173 case ${target} in
78174 ia64-*-hpux*) with_system_libunwind=yes ;;
78175 *) with_system_libunwind=no ;;
78176 esac
78178 # Based on system-libunwind and target, do we have ipinfo?
78179 if test x$with_system_libunwind = xyes; then
78180 case ${target} in
78181 ia64-*-*) have_unwind_getipinfo=no ;;
78182 *) have_unwind_getipinfo=yes ;;
78183 esac
78184 else
78185 # Darwin before version 9 does not have _Unwind_GetIPInfo.
78187 case ${target} in
78188 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
78189 *) have_unwind_getipinfo=yes ;;
78190 esac
78194 if test x$have_unwind_getipinfo = xyes; then
78196 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
78201 # Check whether --enable-linux-futex was given.
78202 if test "${enable_linux_futex+set}" = set; then :
78203 enableval=$enable_linux_futex;
78204 case "$enableval" in
78205 yes|no|default) ;;
78206 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
78207 esac
78209 else
78210 enable_linux_futex=default
78214 case "$target" in
78215 *-linux*)
78216 case "$enable_linux_futex" in
78217 default)
78218 # If headers don't have gettid/futex syscalls definition, then
78219 # default to no, otherwise there will be compile time failures.
78220 # Otherwise, default to yes. If we don't detect we are
78221 # compiled/linked against NPTL and not cross-compiling, check
78222 # if programs are run by default against NPTL and if not, issue
78223 # a warning.
78224 enable_linux_futex=no
78225 if test x$gcc_no_link = xyes; then
78226 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78229 /* end confdefs.h. */
78230 #include <sys/syscall.h>
78231 int lk;
78233 main ()
78235 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78237 return 0;
78239 _ACEOF
78240 if ac_fn_c_try_link "$LINENO"; then :
78241 save_LIBS="$LIBS"
78242 LIBS="-lpthread $LIBS"
78243 if test x$gcc_no_link = xyes; then
78244 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78247 /* end confdefs.h. */
78248 #ifndef _GNU_SOURCE
78249 #define _GNU_SOURCE 1
78250 #endif
78251 #include <pthread.h>
78252 pthread_t th; void *status;
78254 main ()
78256 pthread_tryjoin_np (th, &status);
78258 return 0;
78260 _ACEOF
78261 if ac_fn_c_try_link "$LINENO"; then :
78262 enable_linux_futex=yes
78263 else
78264 if test x$cross_compiling = xno; then
78265 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
78266 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
78267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
78268 If so, please configure with --disable-linux-futex" >&5
78269 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
78270 If so, please configure with --disable-linux-futex" >&2;}
78273 enable_linux_futex=yes
78275 rm -f core conftest.err conftest.$ac_objext \
78276 conftest$ac_exeext conftest.$ac_ext
78277 LIBS="$save_LIBS"
78279 rm -f core conftest.err conftest.$ac_objext \
78280 conftest$ac_exeext conftest.$ac_ext
78282 yes)
78283 if test x$gcc_no_link = xyes; then
78284 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78287 /* end confdefs.h. */
78288 #include <sys/syscall.h>
78289 int lk;
78291 main ()
78293 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78295 return 0;
78297 _ACEOF
78298 if ac_fn_c_try_link "$LINENO"; then :
78300 else
78301 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
78303 rm -f core conftest.err conftest.$ac_objext \
78304 conftest$ac_exeext conftest.$ac_ext
78306 esac
78309 enable_linux_futex=no
78311 esac
78312 if test x$enable_linux_futex = xyes; then
78314 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
78321 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
78323 acx_cv_header_stdint=stddef.h
78324 acx_cv_header_stdint_kind="(already complete)"
78325 for i in stdint.h $inttype_headers; do
78326 unset ac_cv_type_uintptr_t
78327 unset ac_cv_type_uintmax_t
78328 unset ac_cv_type_int_least32_t
78329 unset ac_cv_type_int_fast32_t
78330 unset ac_cv_type_uint64_t
78331 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
78332 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
78333 #include <$i>
78335 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
78336 acx_cv_header_stdint=$i
78337 else
78338 continue
78341 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78342 #include <$i>
78344 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78346 else
78347 acx_cv_header_stdint_kind="(mostly complete)"
78350 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
78351 #include <$i>
78353 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
78355 else
78356 acx_cv_header_stdint_kind="(mostly complete)"
78359 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
78360 #include <$i>
78362 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
78364 else
78365 acx_cv_header_stdint_kind="(mostly complete)"
78368 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78369 #include <$i>
78371 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78373 else
78374 acx_cv_header_stdint_kind="(lacks uint64_t)"
78377 break
78378 done
78379 if test "$acx_cv_header_stdint" = stddef.h; then
78380 acx_cv_header_stdint_kind="(lacks uintmax_t)"
78381 for i in stdint.h $inttype_headers; do
78382 unset ac_cv_type_uintptr_t
78383 unset ac_cv_type_uint32_t
78384 unset ac_cv_type_uint64_t
78385 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
78386 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
78387 #include <$i>
78389 if test "x$ac_cv_type_uint32_t" = x""yes; then :
78390 acx_cv_header_stdint=$i
78391 else
78392 continue
78395 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78396 #include <$i>
78398 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78402 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78403 #include <$i>
78405 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78409 break
78410 done
78412 if test "$acx_cv_header_stdint" = stddef.h; then
78413 acx_cv_header_stdint_kind="(u_intXX_t style)"
78414 for i in sys/types.h $inttype_headers; do
78415 unset ac_cv_type_u_int32_t
78416 unset ac_cv_type_u_int64_t
78417 $as_echo_n "looking for u_intXX_t types in $i, " >&6
78418 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
78419 #include <$i>
78421 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
78422 acx_cv_header_stdint=$i
78423 else
78424 continue
78427 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
78428 #include <$i>
78430 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
78434 break
78435 done
78437 if test "$acx_cv_header_stdint" = stddef.h; then
78438 acx_cv_header_stdint_kind="(using manual detection)"
78441 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
78442 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
78443 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
78444 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
78445 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
78447 # ----------------- Summarize what we found so far
78449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
78450 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
78452 case `$as_basename -- include/gstdint.h ||
78453 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
78454 Xinclude/gstdint.h : 'X\(//\)$' \| \
78455 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
78456 $as_echo X/include/gstdint.h |
78457 sed '/^.*\/\([^/][^/]*\)\/*$/{
78458 s//\1/
78461 /^X\/\(\/\/\)$/{
78462 s//\1/
78465 /^X\/\(\/\).*/{
78466 s//\1/
78469 s/.*/./; q'` in
78470 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78471 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78472 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78473 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78474 *) ;;
78475 esac
78477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
78478 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
78480 # ----------------- done included file, check C basic types --------
78482 # Lacking an uintptr_t? Test size of void *
78483 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
78484 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
78485 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78486 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78487 # This bug is HP SR number 8606223364.
78488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
78489 $as_echo_n "checking size of void *... " >&6; }
78490 if test "${ac_cv_sizeof_void_p+set}" = set; then :
78491 $as_echo_n "(cached) " >&6
78492 else
78493 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
78495 else
78496 if test "$ac_cv_type_void_p" = yes; then
78497 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78498 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78499 { as_fn_set_status 77
78500 as_fn_error "cannot compute sizeof (void *)
78501 See \`config.log' for more details." "$LINENO" 5; }; }
78502 else
78503 ac_cv_sizeof_void_p=0
78508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
78509 $as_echo "$ac_cv_sizeof_void_p" >&6; }
78513 cat >>confdefs.h <<_ACEOF
78514 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
78515 _ACEOF
78518 esac
78520 # Lacking an uint64_t? Test size of long
78521 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
78522 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
78523 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78524 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78525 # This bug is HP SR number 8606223364.
78526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
78527 $as_echo_n "checking size of long... " >&6; }
78528 if test "${ac_cv_sizeof_long+set}" = set; then :
78529 $as_echo_n "(cached) " >&6
78530 else
78531 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
78533 else
78534 if test "$ac_cv_type_long" = yes; then
78535 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78536 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78537 { as_fn_set_status 77
78538 as_fn_error "cannot compute sizeof (long)
78539 See \`config.log' for more details." "$LINENO" 5; }; }
78540 else
78541 ac_cv_sizeof_long=0
78546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
78547 $as_echo "$ac_cv_sizeof_long" >&6; }
78551 cat >>confdefs.h <<_ACEOF
78552 #define SIZEOF_LONG $ac_cv_sizeof_long
78553 _ACEOF
78556 esac
78558 if test $acx_cv_header_stdint = stddef.h; then
78559 # Lacking a good header? Test size of everything and deduce all types.
78560 # The cast to long int works around a bug in the HP C Compiler
78561 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78562 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78563 # This bug is HP SR number 8606223364.
78564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
78565 $as_echo_n "checking size of int... " >&6; }
78566 if test "${ac_cv_sizeof_int+set}" = set; then :
78567 $as_echo_n "(cached) " >&6
78568 else
78569 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
78571 else
78572 if test "$ac_cv_type_int" = yes; then
78573 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78574 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78575 { as_fn_set_status 77
78576 as_fn_error "cannot compute sizeof (int)
78577 See \`config.log' for more details." "$LINENO" 5; }; }
78578 else
78579 ac_cv_sizeof_int=0
78584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
78585 $as_echo "$ac_cv_sizeof_int" >&6; }
78589 cat >>confdefs.h <<_ACEOF
78590 #define SIZEOF_INT $ac_cv_sizeof_int
78591 _ACEOF
78594 # The cast to long int works around a bug in the HP C Compiler
78595 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78596 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78597 # This bug is HP SR number 8606223364.
78598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
78599 $as_echo_n "checking size of short... " >&6; }
78600 if test "${ac_cv_sizeof_short+set}" = set; then :
78601 $as_echo_n "(cached) " >&6
78602 else
78603 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
78605 else
78606 if test "$ac_cv_type_short" = yes; then
78607 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78608 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78609 { as_fn_set_status 77
78610 as_fn_error "cannot compute sizeof (short)
78611 See \`config.log' for more details." "$LINENO" 5; }; }
78612 else
78613 ac_cv_sizeof_short=0
78618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
78619 $as_echo "$ac_cv_sizeof_short" >&6; }
78623 cat >>confdefs.h <<_ACEOF
78624 #define SIZEOF_SHORT $ac_cv_sizeof_short
78625 _ACEOF
78628 # The cast to long int works around a bug in the HP C Compiler
78629 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78630 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78631 # This bug is HP SR number 8606223364.
78632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
78633 $as_echo_n "checking size of char... " >&6; }
78634 if test "${ac_cv_sizeof_char+set}" = set; then :
78635 $as_echo_n "(cached) " >&6
78636 else
78637 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
78639 else
78640 if test "$ac_cv_type_char" = yes; then
78641 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78642 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78643 { as_fn_set_status 77
78644 as_fn_error "cannot compute sizeof (char)
78645 See \`config.log' for more details." "$LINENO" 5; }; }
78646 else
78647 ac_cv_sizeof_char=0
78652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
78653 $as_echo "$ac_cv_sizeof_char" >&6; }
78657 cat >>confdefs.h <<_ACEOF
78658 #define SIZEOF_CHAR $ac_cv_sizeof_char
78659 _ACEOF
78663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
78664 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
78665 case "$ac_cv_sizeof_char" in
78666 1) acx_cv_type_int8_t=char ;;
78667 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
78668 esac
78669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
78670 $as_echo "$acx_cv_type_int8_t" >&6; }
78672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
78673 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
78674 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
78675 2:*) acx_cv_type_int16_t=int ;;
78676 *:2) acx_cv_type_int16_t=short ;;
78677 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
78678 esac
78679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
78680 $as_echo "$acx_cv_type_int16_t" >&6; }
78682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
78683 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
78684 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
78685 4:*) acx_cv_type_int32_t=int ;;
78686 *:4) acx_cv_type_int32_t=long ;;
78687 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
78688 esac
78689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
78690 $as_echo "$acx_cv_type_int32_t" >&6; }
78693 # These tests are here to make the output prettier
78695 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
78696 case "$ac_cv_sizeof_long" in
78697 8) acx_cv_type_int64_t=long ;;
78698 esac
78699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
78700 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
78701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
78702 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
78705 # Now we can use the above types
78707 if test "$ac_cv_type_uintptr_t" != yes; then
78708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
78709 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
78710 case $ac_cv_sizeof_void_p in
78711 2) acx_cv_type_intptr_t=int16_t ;;
78712 4) acx_cv_type_intptr_t=int32_t ;;
78713 8) acx_cv_type_intptr_t=int64_t ;;
78714 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
78715 esac
78716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
78717 $as_echo "$acx_cv_type_intptr_t" >&6; }
78720 # ----------------- done all checks, emit header -------------
78721 ac_config_commands="$ac_config_commands include/gstdint.h"
78727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
78728 $as_echo_n "checking for GNU c++filt... " >&6; }
78729 if test "${ac_cv_path_CXXFILT+set}" = set; then :
78730 $as_echo_n "(cached) " >&6
78731 else
78732 if test -z "$CXXFILT"; then
78733 ac_path_CXXFILT_found=false
78734 # Loop through the user's path and test for each of PROGNAME-LIST
78735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78736 for as_dir in $PATH
78738 IFS=$as_save_IFS
78739 test -z "$as_dir" && as_dir=.
78740 for ac_prog in c++filt gc++filt; do
78741 for ac_exec_ext in '' $ac_executable_extensions; do
78742 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
78743 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
78744 # Check for GNU $ac_path_CXXFILT
78745 case `"$ac_path_CXXFILT" --version 2>&1` in
78746 *GNU*)
78747 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
78748 esac
78750 $ac_path_CXXFILT_found && break 3
78751 done
78752 done
78753 done
78754 IFS=$as_save_IFS
78755 if test -z "$ac_cv_path_CXXFILT"; then
78758 else
78759 ac_cv_path_CXXFILT=$CXXFILT
78763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
78764 $as_echo "$ac_cv_path_CXXFILT" >&6; }
78765 CXXFILT=$ac_cv_path_CXXFILT
78769 # Check whether --enable-symvers was given.
78770 if test "${enable_symvers+set}" = set; then :
78771 enableval=$enable_symvers;
78772 case "$enableval" in
78773 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
78774 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
78775 esac
78777 else
78778 enable_symvers=yes
78783 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
78784 # don't know enough about $LD to do tricks...
78786 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
78787 # with extern "C++" in version scripts.
78790 # Turn a 'yes' into a suitable default.
78791 if test x$enable_symvers = xyes ; then
78792 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
78793 enable_symvers=no
78794 else
78795 if test $with_gnu_ld = yes ; then
78796 case ${target_os} in
78797 hpux*)
78798 enable_symvers=no ;;
78800 enable_symvers=gnu ;;
78801 esac
78802 else
78803 case ${target_os} in
78804 darwin*)
78805 enable_symvers=darwin ;;
78806 # Sun symbol versioning exists since Solaris 2.5.
78807 solaris2.[5-9]* | solaris2.1[0-9]*)
78808 # make_sunver.pl needs GNU c++filt to support extern "C++" in
78809 # version scripts, so disable symbol versioning if none can be
78810 # found.
78811 if test -z "$ac_cv_path_CXXFILT"; then
78812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
78813 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
78814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
78815 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
78816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78817 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78818 enable_symvers=no
78819 else
78820 enable_symvers=sun
78824 enable_symvers=no ;;
78825 esac
78830 # Check to see if 'darwin' or 'darwin-export' can win.
78831 if test x$enable_symvers = xdarwin-export ; then
78832 enable_symvers=darwin
78835 # Check if 'sun' was requested on non-Solaris 2 platforms.
78836 if test x$enable_symvers = xsun ; then
78837 case ${target_os} in
78838 solaris2*)
78839 # All fine.
78842 # Unlikely to work.
78843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
78844 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
78845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
78846 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
78847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78848 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78849 enable_symvers=no
78851 esac
78854 # Check to see if 'gnu' can win.
78855 if test $enable_symvers = gnu ||
78856 test $enable_symvers = gnu-versioned-namespace ||
78857 test $enable_symvers = sun; then
78858 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
78859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
78860 $as_echo_n "checking for shared libgcc... " >&6; }
78861 ac_save_CFLAGS="$CFLAGS"
78862 CFLAGS=' -lgcc_s'
78863 if test x$gcc_no_link = xyes; then
78864 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78867 /* end confdefs.h. */
78870 main ()
78872 return 0;
78874 return 0;
78876 _ACEOF
78877 if ac_fn_c_try_link "$LINENO"; then :
78878 glibcxx_shared_libgcc=yes
78879 else
78880 glibcxx_shared_libgcc=no
78882 rm -f core conftest.err conftest.$ac_objext \
78883 conftest$ac_exeext conftest.$ac_ext
78884 CFLAGS="$ac_save_CFLAGS"
78885 if test $glibcxx_shared_libgcc = no; then
78886 cat > conftest.c <<EOF
78887 int main (void) { return 0; }
78889 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
78890 -shared -shared-libgcc -o conftest.so \
78891 conftest.c -v 2>&1 >/dev/null \
78892 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
78893 rm -f conftest.c conftest.so
78894 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
78895 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
78896 if test x$gcc_no_link = xyes; then
78897 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78900 /* end confdefs.h. */
78903 main ()
78905 return 0;
78907 return 0;
78909 _ACEOF
78910 if ac_fn_c_try_link "$LINENO"; then :
78911 glibcxx_shared_libgcc=yes
78913 rm -f core conftest.err conftest.$ac_objext \
78914 conftest$ac_exeext conftest.$ac_ext
78915 CFLAGS="$ac_save_CFLAGS"
78918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
78919 $as_echo "$glibcxx_shared_libgcc" >&6; }
78921 # For GNU ld, we need at least this version. The format is described in
78922 # GLIBCXX_CHECK_LINKER_FEATURES above.
78923 glibcxx_min_gnu_ld_version=21400
78925 # If no shared libgcc, can't win.
78926 if test $glibcxx_shared_libgcc != yes; then
78927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
78928 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
78929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
78930 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
78931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78932 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78933 enable_symvers=no
78934 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
78935 : All interesting versions of Sun ld support sun style symbol versioning.
78936 elif test $with_gnu_ld != yes ; then
78937 # just fail for now
78938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
78939 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
78940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
78941 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
78942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78943 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78944 enable_symvers=no
78945 elif test $glibcxx_ld_is_gold = yes ; then
78946 : All versions of gold support symbol versioning.
78947 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
78948 # The right tools, the right setup, but too old. Fallbacks?
78949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
78950 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
78951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
78952 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
78953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
78954 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
78955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
78956 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
78957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78958 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78959 enable_symvers=no
78963 # For libtool versioning info, format is CURRENT:REVISION:AGE
78964 libtool_VERSION=6:22:0
78966 # Everything parsed; figure out what files and settings to use.
78967 case $enable_symvers in
78969 SYMVER_FILE=config/abi/pre/none.ver
78971 gnu)
78972 SYMVER_FILE=config/abi/pre/gnu.ver
78974 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
78977 gnu-versioned-namespace)
78978 libtool_VERSION=7:0:0
78979 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
78981 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
78984 darwin)
78985 SYMVER_FILE=config/abi/pre/gnu.ver
78987 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
78990 sun)
78991 SYMVER_FILE=config/abi/pre/gnu.ver
78993 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
78996 esac
78998 if test x$enable_symvers != xno ; then
79000 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
79004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
79005 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
79006 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
79007 $as_echo_n "(cached) " >&6
79008 else
79010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79011 /* end confdefs.h. */
79012 void foo (void); __asm (".symver foo, bar@SYMVER");
79014 main ()
79018 return 0;
79020 _ACEOF
79021 if ac_fn_c_try_compile "$LINENO"; then :
79022 glibcxx_cv_have_as_symver_directive=yes
79023 else
79024 glibcxx_cv_have_as_symver_directive=no
79026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
79029 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
79030 if test $glibcxx_cv_have_as_symver_directive = yes; then
79032 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
79043 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
79044 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
79046 if test $enable_symvers != no ; then
79047 case ${target_os} in
79048 # The Solaris 2 runtime linker doesn't support the GNU extension of
79049 # binding the same symbol to different versions
79050 solaris2*)
79052 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
79055 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
79058 esac
79061 # Now, set up compatibility support, if any.
79062 # In addition, need this to deal with std::size_t mangling in
79063 # src/compatibility.cc. In a perfect world, could use
79064 # typeid(std::size_t).name()[0] to do direct substitution.
79065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
79066 $as_echo_n "checking for size_t as unsigned int... " >&6; }
79067 ac_save_CFLAGS="$CFLAGS"
79068 CFLAGS="-Werror"
79069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79070 /* end confdefs.h. */
79073 main ()
79075 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
79077 return 0;
79079 _ACEOF
79080 if ac_fn_c_try_compile "$LINENO"; then :
79081 glibcxx_size_t_is_i=yes
79082 else
79083 glibcxx_size_t_is_i=no
79085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79086 CFLAGS=$ac_save_CFLAGS
79087 if test "$glibcxx_size_t_is_i" = yes; then
79089 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
79092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
79093 $as_echo "$glibcxx_size_t_is_i" >&6; }
79095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
79096 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
79097 ac_save_CFLAGS="$CFLAGS"
79098 CFLAGS="-Werror"
79099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79100 /* end confdefs.h. */
79103 main ()
79105 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
79107 return 0;
79109 _ACEOF
79110 if ac_fn_c_try_compile "$LINENO"; then :
79111 glibcxx_ptrdiff_t_is_i=yes
79112 else
79113 glibcxx_ptrdiff_t_is_i=no
79115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79116 CFLAGS=$ac_save_CFLAGS
79117 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
79119 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
79122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
79123 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
79128 # Check whether --enable-libstdcxx-visibility was given.
79129 if test "${enable_libstdcxx_visibility+set}" = set; then :
79130 enableval=$enable_libstdcxx_visibility;
79131 case "$enableval" in
79132 yes|no) ;;
79133 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
79134 esac
79136 else
79137 enable_libstdcxx_visibility=yes
79142 if test x$enable_libstdcxx_visibility = xyes ; then
79143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
79144 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
79145 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
79146 $as_echo_n "(cached) " >&6
79147 else
79149 save_CFLAGS="$CFLAGS"
79150 CFLAGS="$CFLAGS -Werror"
79151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79152 /* end confdefs.h. */
79153 void __attribute__((visibility("hidden"))) foo(void) { }
79155 main ()
79159 return 0;
79161 _ACEOF
79162 if ac_fn_c_try_compile "$LINENO"; then :
79163 glibcxx_cv_have_attribute_visibility=yes
79164 else
79165 glibcxx_cv_have_attribute_visibility=no
79167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79168 CFLAGS="$save_CFLAGS"
79170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
79171 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
79172 if test $glibcxx_cv_have_attribute_visibility = no; then
79173 enable_libstdcxx_visibility=no
79178 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
79179 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
79183 # Check whether --enable-libstdcxx-dual-abi was given.
79184 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
79185 enableval=$enable_libstdcxx_dual_abi;
79186 case "$enableval" in
79187 yes|no) ;;
79188 *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
79189 esac
79191 else
79192 enable_libstdcxx_dual_abi=yes
79196 if test x$enable_symvers = xgnu-versioned-namespace; then
79197 # gnu-versioned-namespace is incompatible with the dual ABI.
79198 enable_libstdcxx_dual_abi="no"
79200 if test x"$enable_libstdcxx_dual_abi" != xyes; then
79201 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
79202 $as_echo "$as_me: dual ABI is disabled" >&6;}
79203 default_libstdcxx_abi="gcc4-compatible"
79208 if test x$enable_libstdcxx_dual_abi = xyes; then
79209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
79210 $as_echo_n "checking for default std::string ABI to use... " >&6; }
79212 # Check whether --with-default-libstdcxx-abi was given.
79213 if test "${with_default_libstdcxx_abi+set}" = set; then :
79214 withval=$with_default_libstdcxx_abi; case "$withval" in
79215 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
79216 new|cxx11) default_libstdcxx_abi="new" ;;
79217 c++*|gnu++*) as_fn_error "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
79218 *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
79219 esac
79221 else
79222 default_libstdcxx_abi="new"
79225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
79226 $as_echo "${default_libstdcxx_abi}" >&6; }
79228 if test $default_libstdcxx_abi = "new"; then
79229 glibcxx_cxx11_abi=1
79230 glibcxx_cxx98_abi=0
79231 else
79232 glibcxx_cxx11_abi=0
79233 glibcxx_cxx98_abi=1
79239 ac_ldbl_compat=no
79240 case "$target" in
79241 powerpc*-*-linux* | \
79242 sparc*-*-linux* | \
79243 s390*-*-linux* | \
79244 alpha*-*-linux*)
79245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79246 /* end confdefs.h. */
79249 main ()
79252 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
79253 #error no need for long double compatibility
79254 #endif
79257 return 0;
79259 _ACEOF
79260 if ac_fn_c_try_compile "$LINENO"; then :
79261 ac_ldbl_compat=yes
79262 else
79263 ac_ldbl_compat=no
79265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79266 if test "$ac_ldbl_compat" = yes; then
79268 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
79270 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
79272 esac
79275 # Check if assembler supports disabling hardware capability support.
79277 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
79279 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
79280 # with a different meaning.
79281 case ${target_os} in
79282 solaris2*)
79283 ac_save_CFLAGS="$CFLAGS"
79284 CFLAGS="$CFLAGS -Wa,-nH"
79286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
79287 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
79288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79289 /* end confdefs.h. */
79292 main ()
79294 return 0;
79296 return 0;
79298 _ACEOF
79299 if ac_fn_c_try_compile "$LINENO"; then :
79300 ac_hwcap_flags=yes
79301 else
79302 ac_hwcap_flags=no
79304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79305 if test "$ac_hwcap_flags" = "yes"; then
79306 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
79308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
79309 $as_echo "$ac_hwcap_flags" >&6; }
79311 CFLAGS="$ac_save_CFLAGS"
79313 esac
79318 # Check if assembler supports rdrand opcode.
79320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
79321 $as_echo_n "checking for rdrand support in assembler... " >&6; }
79322 if test "${ac_cv_x86_rdrand+set}" = set; then :
79323 $as_echo_n "(cached) " >&6
79324 else
79326 ac_cv_x86_rdrand=no
79327 case "$target" in
79328 i?86-*-* | \
79329 x86_64-*-*)
79330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79331 /* end confdefs.h. */
79334 main ()
79336 asm("rdrand %eax");
79338 return 0;
79340 _ACEOF
79341 if ac_fn_c_try_compile "$LINENO"; then :
79342 ac_cv_x86_rdrand=yes
79343 else
79344 ac_cv_x86_rdrand=no
79346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79347 esac
79351 if test $ac_cv_x86_rdrand = yes; then
79353 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
79356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
79357 $as_echo "$ac_cv_x86_rdrand" >&6; }
79360 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
79362 if $GLIBCXX_IS_NATIVE ; then
79363 # Do checks for resource limit functions.
79365 setrlimit_have_headers=yes
79366 for ac_header in unistd.h sys/time.h sys/resource.h
79367 do :
79368 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79369 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79370 eval as_val=\$$as_ac_Header
79371 if test "x$as_val" = x""yes; then :
79372 cat >>confdefs.h <<_ACEOF
79373 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79374 _ACEOF
79376 else
79377 setrlimit_have_headers=no
79380 done
79382 # If don't have the headers, then we can't run the tests now, and we
79383 # won't be seeing any of these during testsuite compilation.
79384 if test $setrlimit_have_headers = yes; then
79385 # Can't do these in a loop, else the resulting syntax is wrong.
79387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
79388 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
79389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79390 /* end confdefs.h. */
79391 #include <unistd.h>
79392 #include <sys/time.h>
79393 #include <sys/resource.h>
79396 main ()
79398 int f = RLIMIT_DATA ;
79400 return 0;
79402 _ACEOF
79403 if ac_fn_c_try_compile "$LINENO"; then :
79404 glibcxx_mresult=1
79405 else
79406 glibcxx_mresult=0
79408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79410 cat >>confdefs.h <<_ACEOF
79411 #define HAVE_LIMIT_DATA $glibcxx_mresult
79412 _ACEOF
79414 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79416 $as_echo "$res" >&6; }
79419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
79420 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
79421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79422 /* end confdefs.h. */
79423 #include <unistd.h>
79424 #include <sys/time.h>
79425 #include <sys/resource.h>
79428 main ()
79430 int f = RLIMIT_RSS ;
79432 return 0;
79434 _ACEOF
79435 if ac_fn_c_try_compile "$LINENO"; then :
79436 glibcxx_mresult=1
79437 else
79438 glibcxx_mresult=0
79440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79442 cat >>confdefs.h <<_ACEOF
79443 #define HAVE_LIMIT_RSS $glibcxx_mresult
79444 _ACEOF
79446 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79448 $as_echo "$res" >&6; }
79451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
79452 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
79453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79454 /* end confdefs.h. */
79455 #include <unistd.h>
79456 #include <sys/time.h>
79457 #include <sys/resource.h>
79460 main ()
79462 int f = RLIMIT_VMEM ;
79464 return 0;
79466 _ACEOF
79467 if ac_fn_c_try_compile "$LINENO"; then :
79468 glibcxx_mresult=1
79469 else
79470 glibcxx_mresult=0
79472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79474 cat >>confdefs.h <<_ACEOF
79475 #define HAVE_LIMIT_VMEM $glibcxx_mresult
79476 _ACEOF
79478 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79480 $as_echo "$res" >&6; }
79483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
79484 $as_echo_n "checking for RLIMIT_AS... " >&6; }
79485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79486 /* end confdefs.h. */
79487 #include <unistd.h>
79488 #include <sys/time.h>
79489 #include <sys/resource.h>
79492 main ()
79494 int f = RLIMIT_AS ;
79496 return 0;
79498 _ACEOF
79499 if ac_fn_c_try_compile "$LINENO"; then :
79500 glibcxx_mresult=1
79501 else
79502 glibcxx_mresult=0
79504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79506 cat >>confdefs.h <<_ACEOF
79507 #define HAVE_LIMIT_AS $glibcxx_mresult
79508 _ACEOF
79510 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79512 $as_echo "$res" >&6; }
79515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
79516 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
79517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79518 /* end confdefs.h. */
79519 #include <unistd.h>
79520 #include <sys/time.h>
79521 #include <sys/resource.h>
79524 main ()
79526 int f = RLIMIT_FSIZE ;
79528 return 0;
79530 _ACEOF
79531 if ac_fn_c_try_compile "$LINENO"; then :
79532 glibcxx_mresult=1
79533 else
79534 glibcxx_mresult=0
79536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79538 cat >>confdefs.h <<_ACEOF
79539 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
79540 _ACEOF
79542 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79544 $as_echo "$res" >&6; }
79547 # Check for rlimit, setrlimit.
79548 if test "${glibcxx_cv_setrlimit+set}" = set; then :
79549 $as_echo_n "(cached) " >&6
79550 else
79552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79553 /* end confdefs.h. */
79554 #include <unistd.h>
79555 #include <sys/time.h>
79556 #include <sys/resource.h>
79559 main ()
79561 struct rlimit r;
79562 setrlimit(0, &r);
79564 return 0;
79566 _ACEOF
79567 if ac_fn_c_try_compile "$LINENO"; then :
79568 glibcxx_cv_setrlimit=yes
79569 else
79570 glibcxx_cv_setrlimit=no
79572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
79579 $as_echo_n "checking for testsuite resource limits support... " >&6; }
79580 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
79581 ac_res_limits=yes
79583 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
79585 else
79586 ac_res_limits=no
79588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
79589 $as_echo "$ac_res_limits" >&6; }
79592 # Look for setenv, so that extended locale tests can be performed.
79594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
79595 $as_echo_n "checking for setenv declaration... " >&6; }
79596 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
79597 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
79598 $as_echo_n "(cached) " >&6
79599 else
79602 ac_ext=cpp
79603 ac_cpp='$CXXCPP $CPPFLAGS'
79604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79609 /* end confdefs.h. */
79610 #include <stdlib.h>
79612 main ()
79614 setenv(0, 0, 0);
79616 return 0;
79618 _ACEOF
79619 if ac_fn_cxx_try_compile "$LINENO"; then :
79620 glibcxx_cv_func_setenv_use=yes
79621 else
79622 glibcxx_cv_func_setenv_use=no
79624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79625 ac_ext=c
79626 ac_cpp='$CPP $CPPFLAGS'
79627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
79636 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
79637 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
79638 for ac_func in setenv
79639 do :
79640 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
79641 if test "x$ac_cv_func_setenv" = x""yes; then :
79642 cat >>confdefs.h <<_ACEOF
79643 #define HAVE_SETENV 1
79644 _ACEOF
79647 done
79653 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
79654 test $enable_symvers != no; then
79655 case "$host" in
79656 *-*-cygwin*)
79657 enable_abi_check=no ;;
79659 enable_abi_check=yes ;;
79660 esac
79661 else
79662 # Only build this as native, since automake does not understand
79663 # CXX_FOR_BUILD.
79664 enable_abi_check=no
79667 # Export file names for ABI checking.
79668 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
79670 baseline_subdir_switch="$abi_baseline_subdir_switch"
79674 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
79676 # Check whether --enable-libstdcxx-threads was given.
79677 if test "${enable_libstdcxx_threads+set}" = set; then :
79678 enableval=$enable_libstdcxx_threads;
79679 case "$enableval" in
79680 yes|no) ;;
79681 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
79682 esac
79684 else
79685 enable_libstdcxx_threads=auto
79690 if test x$enable_libstdcxx_threads = xauto ||
79691 test x$enable_libstdcxx_threads = xyes; then
79694 ac_ext=cpp
79695 ac_cpp='$CXXCPP $CPPFLAGS'
79696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79701 ac_save_CXXFLAGS="$CXXFLAGS"
79702 CXXFLAGS="$CXXFLAGS -fno-exceptions \
79703 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
79705 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
79706 case $target_thread_file in
79707 posix)
79708 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
79709 esac
79711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
79712 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
79714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79715 /* end confdefs.h. */
79716 #include <unistd.h>
79718 main ()
79721 // In case of POSIX threads check _POSIX_TIMEOUTS.
79722 #if (defined(_PTHREADS) \
79723 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
79724 #error
79725 #endif
79728 return 0;
79730 _ACEOF
79731 if ac_fn_cxx_try_compile "$LINENO"; then :
79732 ac_gthread_use_mutex_timedlock=1
79733 else
79734 ac_gthread_use_mutex_timedlock=0
79736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79739 cat >>confdefs.h <<_ACEOF
79740 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
79741 _ACEOF
79744 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
79745 else res_mutex_timedlock=no ; fi
79746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
79747 $as_echo "$res_mutex_timedlock" >&6; }
79749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
79750 $as_echo_n "checking for gthreads library... " >&6; }
79752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79753 /* end confdefs.h. */
79754 #include "gthr.h"
79756 main ()
79759 #ifndef __GTHREADS_CXX0X
79760 #error
79761 #endif
79764 return 0;
79766 _ACEOF
79767 if ac_fn_cxx_try_compile "$LINENO"; then :
79768 ac_has_gthreads=yes
79769 else
79770 ac_has_gthreads=no
79772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79773 else
79774 ac_has_gthreads=no
79777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
79778 $as_echo "$ac_has_gthreads" >&6; }
79780 if test x"$ac_has_gthreads" = x"yes"; then
79782 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
79785 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
79786 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
79788 if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
79790 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
79796 CXXFLAGS="$ac_save_CXXFLAGS"
79797 ac_ext=c
79798 ac_cpp='$CPP $CPPFLAGS'
79799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79805 # For Filesystem TS.
79806 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
79807 do :
79808 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79809 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79810 eval as_val=\$$as_ac_Header
79811 if test "x$as_val" = x""yes; then :
79812 cat >>confdefs.h <<_ACEOF
79813 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79814 _ACEOF
79818 done
79821 # Check whether --enable-libstdcxx-filesystem-ts was given.
79822 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
79823 enableval=$enable_libstdcxx_filesystem_ts;
79824 case "$enableval" in
79825 yes|no|auto) ;;
79826 *) as_fn_error "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
79827 esac
79829 else
79830 enable_libstdcxx_filesystem_ts=auto
79835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
79836 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
79837 if test x"$ac_cv_header_dirent_h" != x"yes"; then
79838 enable_libstdcxx_filesystem_ts=no
79840 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
79841 case "${target_os}" in
79842 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
79843 enable_libstdcxx_filesystem_ts=yes
79845 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
79846 enable_libstdcxx_filesystem_ts=yes
79848 solaris*)
79849 enable_libstdcxx_filesystem_ts=yes
79852 enable_libstdcxx_filesystem_ts=no
79854 esac
79856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
79857 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
79861 ac_ext=cpp
79862 ac_cpp='$CXXCPP $CPPFLAGS'
79863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79867 ac_save_CXXFLAGS="$CXXFLAGS"
79868 CXXFLAGS="$CXXFLAGS -fno-exceptions"
79869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
79870 $as_echo_n "checking for struct dirent.d_type... " >&6; }
79871 if test "${glibcxx_cv_dirent_d_type+set}" = set; then :
79872 $as_echo_n "(cached) " >&6
79873 else
79874 if test x$gcc_no_link = xyes; then
79875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79876 /* end confdefs.h. */
79877 #include <dirent.h>
79879 main ()
79882 struct dirent d;
79883 if (sizeof d.d_type) return 0;
79886 return 0;
79888 _ACEOF
79889 if ac_fn_cxx_try_compile "$LINENO"; then :
79890 glibcxx_cv_dirent_d_type=yes
79891 else
79892 glibcxx_cv_dirent_d_type=no
79894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79895 else
79896 if test x$gcc_no_link = xyes; then
79897 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79900 /* end confdefs.h. */
79901 #include <dirent.h>
79903 main ()
79906 struct dirent d;
79907 if (sizeof d.d_type) return 0;
79910 return 0;
79912 _ACEOF
79913 if ac_fn_cxx_try_link "$LINENO"; then :
79914 glibcxx_cv_dirent_d_type=yes
79915 else
79916 glibcxx_cv_dirent_d_type=no
79918 rm -f core conftest.err conftest.$ac_objext \
79919 conftest$ac_exeext conftest.$ac_ext
79924 if test $glibcxx_cv_dirent_d_type = yes; then
79926 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
79929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
79930 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
79931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
79932 $as_echo_n "checking for realpath... " >&6; }
79933 if test "${glibcxx_cv_realpath+set}" = set; then :
79934 $as_echo_n "(cached) " >&6
79935 else
79936 if test x$gcc_no_link = xyes; then
79937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79938 /* end confdefs.h. */
79940 #include <stdlib.h>
79941 #include <unistd.h>
79944 main ()
79947 #if _XOPEN_VERSION < 500
79948 #error
79949 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
79950 char *tmp = realpath((const char*)NULL, (char*)NULL);
79951 #else
79952 #error
79953 #endif
79956 return 0;
79958 _ACEOF
79959 if ac_fn_cxx_try_compile "$LINENO"; then :
79960 glibcxx_cv_realpath=yes
79961 else
79962 glibcxx_cv_realpath=no
79964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79965 else
79966 if test x$gcc_no_link = xyes; then
79967 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79970 /* end confdefs.h. */
79972 #include <stdlib.h>
79973 #include <unistd.h>
79976 main ()
79979 #if _XOPEN_VERSION < 500
79980 #error
79981 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
79982 char *tmp = realpath((const char*)NULL, (char*)NULL);
79983 #else
79984 #error
79985 #endif
79988 return 0;
79990 _ACEOF
79991 if ac_fn_cxx_try_link "$LINENO"; then :
79992 glibcxx_cv_realpath=yes
79993 else
79994 glibcxx_cv_realpath=no
79996 rm -f core conftest.err conftest.$ac_objext \
79997 conftest$ac_exeext conftest.$ac_ext
80002 if test $glibcxx_cv_realpath = yes; then
80004 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
80007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
80008 $as_echo "$glibcxx_cv_realpath" >&6; }
80009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
80010 $as_echo_n "checking for utimensat... " >&6; }
80011 if test "${glibcxx_cv_utimensat+set}" = set; then :
80012 $as_echo_n "(cached) " >&6
80013 else
80014 if test x$gcc_no_link = xyes; then
80015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80016 /* end confdefs.h. */
80018 #include <fcntl.h>
80019 #include <sys/stat.h>
80022 main ()
80025 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80026 int i = utimensat(AT_FDCWD, "path", ts, 0);
80029 return 0;
80031 _ACEOF
80032 if ac_fn_cxx_try_compile "$LINENO"; then :
80033 glibcxx_cv_utimensat=yes
80034 else
80035 glibcxx_cv_utimensat=no
80037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80038 else
80039 if test x$gcc_no_link = xyes; then
80040 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80043 /* end confdefs.h. */
80045 #include <fcntl.h>
80046 #include <sys/stat.h>
80049 main ()
80052 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80053 int i = utimensat(AT_FDCWD, "path", ts, 0);
80056 return 0;
80058 _ACEOF
80059 if ac_fn_cxx_try_link "$LINENO"; then :
80060 glibcxx_cv_utimensat=yes
80061 else
80062 glibcxx_cv_utimensat=no
80064 rm -f core conftest.err conftest.$ac_objext \
80065 conftest$ac_exeext conftest.$ac_ext
80070 if test $glibcxx_cv_utimensat = yes; then
80072 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
80075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
80076 $as_echo "$glibcxx_cv_utimensat" >&6; }
80077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
80078 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
80079 if test "${glibcxx_cv_st_mtim+set}" = set; then :
80080 $as_echo_n "(cached) " >&6
80081 else
80082 if test x$gcc_no_link = xyes; then
80083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80084 /* end confdefs.h. */
80085 #include <sys/stat.h>
80087 main ()
80090 struct stat st;
80091 return st.st_mtim.tv_nsec;
80094 return 0;
80096 _ACEOF
80097 if ac_fn_cxx_try_compile "$LINENO"; then :
80098 glibcxx_cv_st_mtim=yes
80099 else
80100 glibcxx_cv_st_mtim=no
80102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80103 else
80104 if test x$gcc_no_link = xyes; then
80105 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80108 /* end confdefs.h. */
80109 #include <sys/stat.h>
80111 main ()
80114 struct stat st;
80115 return st.st_mtim.tv_nsec;
80118 return 0;
80120 _ACEOF
80121 if ac_fn_cxx_try_link "$LINENO"; then :
80122 glibcxx_cv_st_mtim=yes
80123 else
80124 glibcxx_cv_st_mtim=no
80126 rm -f core conftest.err conftest.$ac_objext \
80127 conftest$ac_exeext conftest.$ac_ext
80132 if test $glibcxx_cv_st_mtim = yes; then
80134 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
80137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
80138 $as_echo "$glibcxx_cv_st_mtim" >&6; }
80139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
80140 $as_echo_n "checking for fchmod... " >&6; }
80141 if test "${glibcxx_cv_fchmod+set}" = set; then :
80142 $as_echo_n "(cached) " >&6
80143 else
80144 if test x$gcc_no_link = xyes; then
80145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80146 /* end confdefs.h. */
80147 #include <sys/stat.h>
80149 main ()
80151 fchmod(1, S_IWUSR);
80153 return 0;
80155 _ACEOF
80156 if ac_fn_cxx_try_compile "$LINENO"; then :
80157 glibcxx_cv_fchmod=yes
80158 else
80159 glibcxx_cv_fchmod=no
80161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80162 else
80163 if test x$gcc_no_link = xyes; then
80164 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80167 /* end confdefs.h. */
80168 #include <sys/stat.h>
80170 main ()
80172 fchmod(1, S_IWUSR);
80174 return 0;
80176 _ACEOF
80177 if ac_fn_cxx_try_link "$LINENO"; then :
80178 glibcxx_cv_fchmod=yes
80179 else
80180 glibcxx_cv_fchmod=no
80182 rm -f core conftest.err conftest.$ac_objext \
80183 conftest$ac_exeext conftest.$ac_ext
80188 if test $glibcxx_cv_fchmod = yes; then
80190 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
80193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
80194 $as_echo "$glibcxx_cv_fchmod" >&6; }
80195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
80196 $as_echo_n "checking for fchmodat... " >&6; }
80197 if test "${glibcxx_cv_fchmodat+set}" = set; then :
80198 $as_echo_n "(cached) " >&6
80199 else
80200 if test x$gcc_no_link = xyes; then
80201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80202 /* end confdefs.h. */
80204 #include <fcntl.h>
80205 #include <sys/stat.h>
80208 main ()
80210 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80212 return 0;
80214 _ACEOF
80215 if ac_fn_cxx_try_compile "$LINENO"; then :
80216 glibcxx_cv_fchmodat=yes
80217 else
80218 glibcxx_cv_fchmodat=no
80220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80221 else
80222 if test x$gcc_no_link = xyes; then
80223 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80226 /* end confdefs.h. */
80228 #include <fcntl.h>
80229 #include <sys/stat.h>
80232 main ()
80234 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80236 return 0;
80238 _ACEOF
80239 if ac_fn_cxx_try_link "$LINENO"; then :
80240 glibcxx_cv_fchmodat=yes
80241 else
80242 glibcxx_cv_fchmodat=no
80244 rm -f core conftest.err conftest.$ac_objext \
80245 conftest$ac_exeext conftest.$ac_ext
80250 if test $glibcxx_cv_fchmodat = yes; then
80252 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
80255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
80256 $as_echo "$glibcxx_cv_fchmodat" >&6; }
80257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
80258 $as_echo_n "checking for sendfile that can copy files... " >&6; }
80259 if test "${glibcxx_cv_sendfile+set}" = set; then :
80260 $as_echo_n "(cached) " >&6
80261 else
80262 case "${target_os}" in
80263 gnu* | linux* | solaris*)
80264 if test x$gcc_no_link = xyes; then
80265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80266 /* end confdefs.h. */
80267 #include <sys/sendfile.h>
80269 main ()
80271 sendfile(1, 2, (off_t*)NULL, sizeof 1);
80273 return 0;
80275 _ACEOF
80276 if ac_fn_cxx_try_compile "$LINENO"; then :
80277 glibcxx_cv_sendfile=yes
80278 else
80279 glibcxx_cv_sendfile=no
80281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80282 else
80283 if test x$gcc_no_link = xyes; then
80284 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80287 /* end confdefs.h. */
80288 #include <sys/sendfile.h>
80290 main ()
80292 sendfile(1, 2, (off_t*)NULL, sizeof 1);
80294 return 0;
80296 _ACEOF
80297 if ac_fn_cxx_try_link "$LINENO"; then :
80298 glibcxx_cv_sendfile=yes
80299 else
80300 glibcxx_cv_sendfile=no
80302 rm -f core conftest.err conftest.$ac_objext \
80303 conftest$ac_exeext conftest.$ac_ext
80307 glibcxx_cv_sendfile=no
80309 esac
80313 if test $glibcxx_cv_sendfile = yes; then
80315 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
80318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
80319 $as_echo "$glibcxx_cv_sendfile" >&6; }
80320 CXXFLAGS="$ac_save_CXXFLAGS"
80321 ac_ext=c
80322 ac_cpp='$CPP $CPPFLAGS'
80323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80329 # For Transactional Memory TS
80331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
80332 $as_echo_n "checking how size_t is mangled... " >&6; }
80333 if test "${glibcxx_cv_size_t_mangling+set}" = set; then :
80334 $as_echo_n "(cached) " >&6
80335 else
80337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80338 /* end confdefs.h. */
80341 main ()
80343 extern __SIZE_TYPE__ x; extern unsigned long x;
80345 return 0;
80347 _ACEOF
80348 if ac_fn_c_try_compile "$LINENO"; then :
80349 glibcxx_cv_size_t_mangling=m
80350 else
80352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80353 /* end confdefs.h. */
80356 main ()
80358 extern __SIZE_TYPE__ x; extern unsigned int x;
80360 return 0;
80362 _ACEOF
80363 if ac_fn_c_try_compile "$LINENO"; then :
80364 glibcxx_cv_size_t_mangling=j
80365 else
80367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80368 /* end confdefs.h. */
80371 main ()
80373 extern __SIZE_TYPE__ x; extern unsigned long long x;
80375 return 0;
80377 _ACEOF
80378 if ac_fn_c_try_compile "$LINENO"; then :
80379 glibcxx_cv_size_t_mangling=y
80380 else
80382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80383 /* end confdefs.h. */
80386 main ()
80388 extern __SIZE_TYPE__ x; extern unsigned short x;
80390 return 0;
80392 _ACEOF
80393 if ac_fn_c_try_compile "$LINENO"; then :
80394 glibcxx_cv_size_t_mangling=t
80395 else
80396 glibcxx_cv_size_t_mangling=x
80398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
80411 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
80412 if test $glibcxx_cv_size_t_mangling = x; then
80413 as_fn_error "Unknown underlying type for size_t" "$LINENO" 5
80416 cat >>confdefs.h <<_ACEOF
80417 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
80418 _ACEOF
80422 # Define documentation rules conditionally.
80424 # See if makeinfo has been installed and is modern enough
80425 # that we can use it.
80427 # Extract the first word of "makeinfo", so it can be a program name with args.
80428 set dummy makeinfo; ac_word=$2
80429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80430 $as_echo_n "checking for $ac_word... " >&6; }
80431 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
80432 $as_echo_n "(cached) " >&6
80433 else
80434 if test -n "$MAKEINFO"; then
80435 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
80436 else
80437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80438 for as_dir in $PATH
80440 IFS=$as_save_IFS
80441 test -z "$as_dir" && as_dir=.
80442 for ac_exec_ext in '' $ac_executable_extensions; do
80443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80444 ac_cv_prog_MAKEINFO="makeinfo"
80445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80446 break 2
80448 done
80449 done
80450 IFS=$as_save_IFS
80454 MAKEINFO=$ac_cv_prog_MAKEINFO
80455 if test -n "$MAKEINFO"; then
80456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
80457 $as_echo "$MAKEINFO" >&6; }
80458 else
80459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80460 $as_echo "no" >&6; }
80464 if test -n "$MAKEINFO"; then
80465 # Found it, now check the version.
80466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
80467 $as_echo_n "checking for modern makeinfo... " >&6; }
80468 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
80469 $as_echo_n "(cached) " >&6
80470 else
80471 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
80472 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
80474 case $ac_prog_version in
80475 '') gcc_cv_prog_makeinfo_modern=no;;
80476 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
80477 *) gcc_cv_prog_makeinfo_modern=no;;
80478 esac
80481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
80482 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
80483 else
80484 gcc_cv_prog_makeinfo_modern=no
80486 if test $gcc_cv_prog_makeinfo_modern = no; then
80487 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
80490 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
80491 BUILD_INFO_TRUE=
80492 BUILD_INFO_FALSE='#'
80493 else
80494 BUILD_INFO_TRUE='#'
80495 BUILD_INFO_FALSE=
80499 # Check for doxygen
80500 # Extract the first word of "doxygen", so it can be a program name with args.
80501 set dummy doxygen; ac_word=$2
80502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80503 $as_echo_n "checking for $ac_word... " >&6; }
80504 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
80505 $as_echo_n "(cached) " >&6
80506 else
80507 if test -n "$DOXYGEN"; then
80508 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
80509 else
80510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80511 for as_dir in $PATH
80513 IFS=$as_save_IFS
80514 test -z "$as_dir" && as_dir=.
80515 for ac_exec_ext in '' $ac_executable_extensions; do
80516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80517 ac_cv_prog_DOXYGEN="yes"
80518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80519 break 2
80521 done
80522 done
80523 IFS=$as_save_IFS
80525 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
80528 DOXYGEN=$ac_cv_prog_DOXYGEN
80529 if test -n "$DOXYGEN"; then
80530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
80531 $as_echo "$DOXYGEN" >&6; }
80532 else
80533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80534 $as_echo "no" >&6; }
80538 # Extract the first word of "dot", so it can be a program name with args.
80539 set dummy dot; ac_word=$2
80540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80541 $as_echo_n "checking for $ac_word... " >&6; }
80542 if test "${ac_cv_prog_DOT+set}" = set; then :
80543 $as_echo_n "(cached) " >&6
80544 else
80545 if test -n "$DOT"; then
80546 ac_cv_prog_DOT="$DOT" # Let the user override the test.
80547 else
80548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80549 for as_dir in $PATH
80551 IFS=$as_save_IFS
80552 test -z "$as_dir" && as_dir=.
80553 for ac_exec_ext in '' $ac_executable_extensions; do
80554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80555 ac_cv_prog_DOT="yes"
80556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80557 break 2
80559 done
80560 done
80561 IFS=$as_save_IFS
80563 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
80566 DOT=$ac_cv_prog_DOT
80567 if test -n "$DOT"; then
80568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
80569 $as_echo "$DOT" >&6; }
80570 else
80571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80572 $as_echo "no" >&6; }
80577 # Check for docbook
80578 # Extract the first word of "xsltproc", so it can be a program name with args.
80579 set dummy xsltproc; ac_word=$2
80580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80581 $as_echo_n "checking for $ac_word... " >&6; }
80582 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
80583 $as_echo_n "(cached) " >&6
80584 else
80585 if test -n "$XSLTPROC"; then
80586 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
80587 else
80588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80589 for as_dir in $PATH
80591 IFS=$as_save_IFS
80592 test -z "$as_dir" && as_dir=.
80593 for ac_exec_ext in '' $ac_executable_extensions; do
80594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80595 ac_cv_prog_XSLTPROC="yes"
80596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80597 break 2
80599 done
80600 done
80601 IFS=$as_save_IFS
80603 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
80606 XSLTPROC=$ac_cv_prog_XSLTPROC
80607 if test -n "$XSLTPROC"; then
80608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
80609 $as_echo "$XSLTPROC" >&6; }
80610 else
80611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80612 $as_echo "no" >&6; }
80616 # Extract the first word of "xmllint", so it can be a program name with args.
80617 set dummy xmllint; ac_word=$2
80618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80619 $as_echo_n "checking for $ac_word... " >&6; }
80620 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
80621 $as_echo_n "(cached) " >&6
80622 else
80623 if test -n "$XMLLINT"; then
80624 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
80625 else
80626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80627 for as_dir in $PATH
80629 IFS=$as_save_IFS
80630 test -z "$as_dir" && as_dir=.
80631 for ac_exec_ext in '' $ac_executable_extensions; do
80632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80633 ac_cv_prog_XMLLINT="yes"
80634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80635 break 2
80637 done
80638 done
80639 IFS=$as_save_IFS
80641 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
80644 XMLLINT=$ac_cv_prog_XMLLINT
80645 if test -n "$XMLLINT"; then
80646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
80647 $as_echo "$XMLLINT" >&6; }
80648 else
80649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80650 $as_echo "no" >&6; }
80656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
80657 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
80658 glibcxx_stylesheets=no
80659 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
80660 glibcxx_stylesheets=yes
80662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
80663 $as_echo "$glibcxx_stylesheets" >&6; }
80665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
80666 $as_echo_n "checking for local stylesheet directory... " >&6; }
80667 glibcxx_local_stylesheets=no
80668 if test x"$glibcxx_stylesheets" = x"yes"; then
80669 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
80670 glibcxx_local_stylesheets=yes
80671 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
80673 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
80674 glibcxx_local_stylesheets=yes
80675 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
80677 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
80678 glibcxx_local_stylesheets=yes
80679 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
80682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
80683 $as_echo "$glibcxx_local_stylesheets" >&6; }
80685 if test x"$glibcxx_local_stylesheets" = x"yes"; then
80687 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
80688 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
80689 else
80690 glibcxx_stylesheets=no
80693 # Check for epub3 dependencies.
80694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
80695 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
80696 glibcxx_epub_stylesheets=no
80697 if test x"$glibcxx_local_stylesheets" = x"yes"; then
80698 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
80699 glibcxx_epub_stylesheets=yes
80702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
80703 $as_echo "$glibcxx_epub_stylesheets" >&6; }
80704 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
80705 BUILD_EPUB_TRUE=
80706 BUILD_EPUB_FALSE='#'
80707 else
80708 BUILD_EPUB_TRUE='#'
80709 BUILD_EPUB_FALSE=
80715 # Check for xml/html dependencies.
80716 if test $ac_cv_prog_DOXYGEN = "yes" &&
80717 test $ac_cv_prog_DOT = "yes" &&
80718 test $ac_cv_prog_XSLTPROC = "yes" &&
80719 test $ac_cv_prog_XMLLINT = "yes" &&
80720 test $glibcxx_stylesheets = "yes"; then
80721 BUILD_XML_TRUE=
80722 BUILD_XML_FALSE='#'
80723 else
80724 BUILD_XML_TRUE='#'
80725 BUILD_XML_FALSE=
80729 if test $ac_cv_prog_DOXYGEN = "yes" &&
80730 test $ac_cv_prog_DOT = "yes" &&
80731 test $ac_cv_prog_XSLTPROC = "yes" &&
80732 test $ac_cv_prog_XMLLINT = "yes" &&
80733 test $glibcxx_stylesheets = "yes"; then
80734 BUILD_HTML_TRUE=
80735 BUILD_HTML_FALSE='#'
80736 else
80737 BUILD_HTML_TRUE='#'
80738 BUILD_HTML_FALSE=
80742 # Check for man dependencies.
80743 if test $ac_cv_prog_DOXYGEN = "yes" &&
80744 test $ac_cv_prog_DOT = "yes"; then
80745 BUILD_MAN_TRUE=
80746 BUILD_MAN_FALSE='#'
80747 else
80748 BUILD_MAN_TRUE='#'
80749 BUILD_MAN_FALSE=
80753 # Check for pdf dependencies.
80754 # Extract the first word of "dblatex", so it can be a program name with args.
80755 set dummy dblatex; ac_word=$2
80756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80757 $as_echo_n "checking for $ac_word... " >&6; }
80758 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
80759 $as_echo_n "(cached) " >&6
80760 else
80761 if test -n "$DBLATEX"; then
80762 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
80763 else
80764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80765 for as_dir in $PATH
80767 IFS=$as_save_IFS
80768 test -z "$as_dir" && as_dir=.
80769 for ac_exec_ext in '' $ac_executable_extensions; do
80770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80771 ac_cv_prog_DBLATEX="yes"
80772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80773 break 2
80775 done
80776 done
80777 IFS=$as_save_IFS
80779 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
80782 DBLATEX=$ac_cv_prog_DBLATEX
80783 if test -n "$DBLATEX"; then
80784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
80785 $as_echo "$DBLATEX" >&6; }
80786 else
80787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80788 $as_echo "no" >&6; }
80792 # Extract the first word of "pdflatex", so it can be a program name with args.
80793 set dummy pdflatex; ac_word=$2
80794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80795 $as_echo_n "checking for $ac_word... " >&6; }
80796 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
80797 $as_echo_n "(cached) " >&6
80798 else
80799 if test -n "$PDFLATEX"; then
80800 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
80801 else
80802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80803 for as_dir in $PATH
80805 IFS=$as_save_IFS
80806 test -z "$as_dir" && as_dir=.
80807 for ac_exec_ext in '' $ac_executable_extensions; do
80808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80809 ac_cv_prog_PDFLATEX="yes"
80810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80811 break 2
80813 done
80814 done
80815 IFS=$as_save_IFS
80817 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
80820 PDFLATEX=$ac_cv_prog_PDFLATEX
80821 if test -n "$PDFLATEX"; then
80822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
80823 $as_echo "$PDFLATEX" >&6; }
80824 else
80825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80826 $as_echo "no" >&6; }
80830 if test $ac_cv_prog_DBLATEX = "yes" &&
80831 test $ac_cv_prog_PDFLATEX = "yes"; then
80832 BUILD_PDF_TRUE=
80833 BUILD_PDF_FALSE='#'
80834 else
80835 BUILD_PDF_TRUE='#'
80836 BUILD_PDF_FALSE=
80841 # Propagate the target-specific source directories through the build chain.
80842 ATOMICITY_SRCDIR=config/${atomicity_dir}
80843 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
80844 ATOMIC_FLAGS=${atomic_flags}
80845 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
80846 OS_INC_SRCDIR=config/${os_include_dir}
80847 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
80848 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
80849 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
80850 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
80862 # Determine cross-compile flags and AM_CONDITIONALs.
80863 #AC_SUBST(GLIBCXX_IS_NATIVE)
80864 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
80865 if test $is_hosted = yes; then
80866 GLIBCXX_HOSTED_TRUE=
80867 GLIBCXX_HOSTED_FALSE='#'
80868 else
80869 GLIBCXX_HOSTED_TRUE='#'
80870 GLIBCXX_HOSTED_FALSE=
80874 if test $enable_libstdcxx_pch = yes; then
80875 GLIBCXX_BUILD_PCH_TRUE=
80876 GLIBCXX_BUILD_PCH_FALSE='#'
80877 else
80878 GLIBCXX_BUILD_PCH_TRUE='#'
80879 GLIBCXX_BUILD_PCH_FALSE=
80883 if test $enable_libstdcxx_allocator_flag = new; then
80884 ENABLE_ALLOCATOR_NEW_TRUE=
80885 ENABLE_ALLOCATOR_NEW_FALSE='#'
80886 else
80887 ENABLE_ALLOCATOR_NEW_TRUE='#'
80888 ENABLE_ALLOCATOR_NEW_FALSE=
80892 if test $enable_cheaders = c; then
80893 GLIBCXX_C_HEADERS_C_TRUE=
80894 GLIBCXX_C_HEADERS_C_FALSE='#'
80895 else
80896 GLIBCXX_C_HEADERS_C_TRUE='#'
80897 GLIBCXX_C_HEADERS_C_FALSE=
80901 if test $enable_cheaders = c_std; then
80902 GLIBCXX_C_HEADERS_C_STD_TRUE=
80903 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
80904 else
80905 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
80906 GLIBCXX_C_HEADERS_C_STD_FALSE=
80910 if test $enable_cheaders = c_global; then
80911 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
80912 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
80913 else
80914 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
80915 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
80919 if test $c_compatibility = yes; then
80920 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
80921 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
80922 else
80923 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
80924 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
80928 if test $enable_libstdcxx_debug = yes; then
80929 GLIBCXX_BUILD_DEBUG_TRUE=
80930 GLIBCXX_BUILD_DEBUG_FALSE='#'
80931 else
80932 GLIBCXX_BUILD_DEBUG_TRUE='#'
80933 GLIBCXX_BUILD_DEBUG_FALSE=
80937 if test $enable_extern_template = yes; then
80938 ENABLE_EXTERN_TEMPLATE_TRUE=
80939 ENABLE_EXTERN_TEMPLATE_FALSE='#'
80940 else
80941 ENABLE_EXTERN_TEMPLATE_TRUE='#'
80942 ENABLE_EXTERN_TEMPLATE_FALSE=
80946 if test $python_mod_dir != no; then
80947 ENABLE_PYTHONDIR_TRUE=
80948 ENABLE_PYTHONDIR_FALSE='#'
80949 else
80950 ENABLE_PYTHONDIR_TRUE='#'
80951 ENABLE_PYTHONDIR_FALSE=
80955 if test $enable_werror = yes; then
80956 ENABLE_WERROR_TRUE=
80957 ENABLE_WERROR_FALSE='#'
80958 else
80959 ENABLE_WERROR_TRUE='#'
80960 ENABLE_WERROR_FALSE=
80964 if test $enable_vtable_verify = yes; then
80965 ENABLE_VTABLE_VERIFY_TRUE=
80966 ENABLE_VTABLE_VERIFY_FALSE='#'
80967 else
80968 ENABLE_VTABLE_VERIFY_TRUE='#'
80969 ENABLE_VTABLE_VERIFY_FALSE=
80973 if test $enable_symvers != no; then
80974 ENABLE_SYMVERS_TRUE=
80975 ENABLE_SYMVERS_FALSE='#'
80976 else
80977 ENABLE_SYMVERS_TRUE='#'
80978 ENABLE_SYMVERS_FALSE=
80982 if test $enable_symvers = gnu; then
80983 ENABLE_SYMVERS_GNU_TRUE=
80984 ENABLE_SYMVERS_GNU_FALSE='#'
80985 else
80986 ENABLE_SYMVERS_GNU_TRUE='#'
80987 ENABLE_SYMVERS_GNU_FALSE=
80991 if test $enable_symvers = gnu-versioned-namespace; then
80992 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
80993 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
80994 else
80995 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
80996 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
81000 if test $enable_symvers = darwin; then
81001 ENABLE_SYMVERS_DARWIN_TRUE=
81002 ENABLE_SYMVERS_DARWIN_FALSE='#'
81003 else
81004 ENABLE_SYMVERS_DARWIN_TRUE='#'
81005 ENABLE_SYMVERS_DARWIN_FALSE=
81009 if test $enable_symvers = sun; then
81010 ENABLE_SYMVERS_SUN_TRUE=
81011 ENABLE_SYMVERS_SUN_FALSE='#'
81012 else
81013 ENABLE_SYMVERS_SUN_TRUE='#'
81014 ENABLE_SYMVERS_SUN_FALSE=
81018 if test $enable_libstdcxx_visibility = yes; then
81019 ENABLE_VISIBILITY_TRUE=
81020 ENABLE_VISIBILITY_FALSE='#'
81021 else
81022 ENABLE_VISIBILITY_TRUE='#'
81023 ENABLE_VISIBILITY_FALSE=
81027 if test $enable_libstdcxx_dual_abi = yes; then
81028 ENABLE_DUAL_ABI_TRUE=
81029 ENABLE_DUAL_ABI_FALSE='#'
81030 else
81031 ENABLE_DUAL_ABI_TRUE='#'
81032 ENABLE_DUAL_ABI_FALSE=
81036 if test $glibcxx_cxx11_abi = 1; then
81037 ENABLE_CXX11_ABI_TRUE=
81038 ENABLE_CXX11_ABI_FALSE='#'
81039 else
81040 ENABLE_CXX11_ABI_TRUE='#'
81041 ENABLE_CXX11_ABI_FALSE=
81045 if test $ac_ldbl_compat = yes; then
81046 GLIBCXX_LDBL_COMPAT_TRUE=
81047 GLIBCXX_LDBL_COMPAT_FALSE='#'
81048 else
81049 GLIBCXX_LDBL_COMPAT_TRUE='#'
81050 GLIBCXX_LDBL_COMPAT_FALSE=
81054 if test $enable_libstdcxx_filesystem_ts = yes; then
81055 ENABLE_FILESYSTEM_TS_TRUE=
81056 ENABLE_FILESYSTEM_TS_FALSE='#'
81057 else
81058 ENABLE_FILESYSTEM_TS_TRUE='#'
81059 ENABLE_FILESYSTEM_TS_FALSE=
81065 cat >confcache <<\_ACEOF
81066 # This file is a shell script that caches the results of configure
81067 # tests run on this system so they can be shared between configure
81068 # scripts and configure runs, see configure's option --config-cache.
81069 # It is not useful on other systems. If it contains results you don't
81070 # want to keep, you may remove or edit it.
81072 # config.status only pays attention to the cache file if you give it
81073 # the --recheck option to rerun configure.
81075 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81076 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81077 # following values.
81079 _ACEOF
81081 # The following way of writing the cache mishandles newlines in values,
81082 # but we know of no workaround that is simple, portable, and efficient.
81083 # So, we kill variables containing newlines.
81084 # Ultrix sh set writes to stderr and can't be redirected directly,
81085 # and sets the high bit in the cache file unless we assign to the vars.
81087 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81088 eval ac_val=\$$ac_var
81089 case $ac_val in #(
81090 *${as_nl}*)
81091 case $ac_var in #(
81092 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81093 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81094 esac
81095 case $ac_var in #(
81096 _ | IFS | as_nl) ;; #(
81097 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81098 *) { eval $ac_var=; unset $ac_var;} ;;
81099 esac ;;
81100 esac
81101 done
81103 (set) 2>&1 |
81104 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81105 *${as_nl}ac_space=\ *)
81106 # `set' does not quote correctly, so add quotes: double-quote
81107 # substitution turns \\\\ into \\, and sed turns \\ into \.
81108 sed -n \
81109 "s/'/'\\\\''/g;
81110 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81111 ;; #(
81113 # `set' quotes correctly as required by POSIX, so do not add quotes.
81114 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81116 esac |
81117 sort
81119 sed '
81120 /^ac_cv_env_/b end
81121 t clear
81122 :clear
81123 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81124 t end
81125 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81126 :end' >>confcache
81127 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81128 if test -w "$cache_file"; then
81129 test "x$cache_file" != "x/dev/null" &&
81130 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81131 $as_echo "$as_me: updating cache $cache_file" >&6;}
81132 cat confcache >$cache_file
81133 else
81134 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81135 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81138 rm -f confcache
81140 if test ${multilib} = yes; then
81141 multilib_arg="--enable-multilib"
81142 else
81143 multilib_arg=
81146 # Export all the install information.
81148 glibcxx_toolexecdir=no
81149 glibcxx_toolexeclibdir=no
81150 glibcxx_prefixdir=$prefix
81152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
81153 $as_echo_n "checking for gxx-include-dir... " >&6; }
81155 # Check whether --with-gxx-include-dir was given.
81156 if test "${with_gxx_include_dir+set}" = set; then :
81157 withval=$with_gxx_include_dir; case "$withval" in
81158 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
81159 no) gxx_include_dir=no ;;
81160 *) gxx_include_dir=$withval ;;
81161 esac
81162 else
81163 gxx_include_dir=no
81166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81167 $as_echo "$gxx_include_dir" >&6; }
81169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
81170 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
81171 # Check whether --enable-version-specific-runtime-libs was given.
81172 if test "${enable_version_specific_runtime_libs+set}" = set; then :
81173 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
81174 yes) version_specific_libs=yes ;;
81175 no) version_specific_libs=no ;;
81176 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
81177 esac
81178 else
81179 version_specific_libs=no
81182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
81183 $as_echo "$version_specific_libs" >&6; }
81185 # Default case for install directory for include files.
81186 if test $version_specific_libs = no && test $gxx_include_dir = no; then
81187 gxx_include_dir='include/c++/${gcc_version}'
81188 if test -n "$with_cross_host" &&
81189 test x"$with_cross_host" != x"no"; then
81190 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
81191 else
81192 gxx_include_dir='${prefix}/'"$gxx_include_dir"
81196 # Version-specific runtime libs processing.
81197 if test $version_specific_libs = yes; then
81198 # Need the gcc compiler version to know where to install libraries
81199 # and header files if --enable-version-specific-runtime-libs option
81200 # is selected. FIXME: these variables are misnamed, there are
81201 # no executables installed in _toolexecdir or _toolexeclibdir.
81202 if test x"$gxx_include_dir" = x"no"; then
81203 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
81205 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81206 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
81209 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
81210 # Install a library built with a cross compiler in tooldir, not libdir.
81211 if test x"$glibcxx_toolexecdir" = x"no"; then
81212 if test -n "$with_cross_host" &&
81213 test x"$with_cross_host" != x"no"; then
81214 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
81215 glibcxx_toolexeclibdir='${toolexecdir}/lib'
81216 else
81217 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81218 glibcxx_toolexeclibdir='${libdir}'
81220 multi_os_directory=`$CXX -print-multi-os-directory`
81221 case $multi_os_directory in
81222 .) ;; # Avoid trailing /.
81223 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
81224 esac
81227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
81228 $as_echo_n "checking for install location... " >&6; }
81229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81230 $as_echo "$gxx_include_dir" >&6; }
81238 # Export all the include and flag information to Makefiles.
81240 # Used for every C++ compile we perform.
81241 GLIBCXX_INCLUDES="\
81242 -I$glibcxx_builddir/include/$host_alias \
81243 -I$glibcxx_builddir/include \
81244 -I$glibcxx_srcdir/libsupc++"
81246 # For Canadian crosses, pick this up too.
81247 if test $CANADIAN = yes; then
81248 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
81251 # Stuff in the actual top level. Currently only used by libsupc++ to
81252 # get unwind* headers from the libgcc dir.
81253 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
81254 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
81256 # Now, export this to all the little Makefiles....
81261 # Optimization flags that are probably a good idea for thrill-seekers. Just
81262 # uncomment the lines below and make, everything else is ready to go...
81263 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
81264 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
81267 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
81271 ac_config_files="$ac_config_files Makefile"
81273 ac_config_files="$ac_config_files scripts/testsuite_flags"
81275 ac_config_files="$ac_config_files scripts/extract_symvers"
81277 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
81280 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
81281 # that multilib installs will end up installed in the correct place.
81282 # The testsuite needs it for multilib-aware ABI baseline files.
81283 # To work around this not being passed down from config-ml.in ->
81284 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
81285 # append it here. Only modify Makefiles that have just been created.
81287 # Also, get rid of this simulated-VPATH thing that automake does.
81288 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile src/filesystem/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
81291 ac_config_commands="$ac_config_commands generate-headers"
81294 cat >confcache <<\_ACEOF
81295 # This file is a shell script that caches the results of configure
81296 # tests run on this system so they can be shared between configure
81297 # scripts and configure runs, see configure's option --config-cache.
81298 # It is not useful on other systems. If it contains results you don't
81299 # want to keep, you may remove or edit it.
81301 # config.status only pays attention to the cache file if you give it
81302 # the --recheck option to rerun configure.
81304 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81305 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81306 # following values.
81308 _ACEOF
81310 # The following way of writing the cache mishandles newlines in values,
81311 # but we know of no workaround that is simple, portable, and efficient.
81312 # So, we kill variables containing newlines.
81313 # Ultrix sh set writes to stderr and can't be redirected directly,
81314 # and sets the high bit in the cache file unless we assign to the vars.
81316 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81317 eval ac_val=\$$ac_var
81318 case $ac_val in #(
81319 *${as_nl}*)
81320 case $ac_var in #(
81321 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81322 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81323 esac
81324 case $ac_var in #(
81325 _ | IFS | as_nl) ;; #(
81326 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81327 *) { eval $ac_var=; unset $ac_var;} ;;
81328 esac ;;
81329 esac
81330 done
81332 (set) 2>&1 |
81333 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81334 *${as_nl}ac_space=\ *)
81335 # `set' does not quote correctly, so add quotes: double-quote
81336 # substitution turns \\\\ into \\, and sed turns \\ into \.
81337 sed -n \
81338 "s/'/'\\\\''/g;
81339 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81340 ;; #(
81342 # `set' quotes correctly as required by POSIX, so do not add quotes.
81343 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81345 esac |
81346 sort
81348 sed '
81349 /^ac_cv_env_/b end
81350 t clear
81351 :clear
81352 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81353 t end
81354 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81355 :end' >>confcache
81356 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81357 if test -w "$cache_file"; then
81358 test "x$cache_file" != "x/dev/null" &&
81359 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81360 $as_echo "$as_me: updating cache $cache_file" >&6;}
81361 cat confcache >$cache_file
81362 else
81363 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81364 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81367 rm -f confcache
81369 test "x$prefix" = xNONE && prefix=$ac_default_prefix
81370 # Let make expand exec_prefix.
81371 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
81373 DEFS=-DHAVE_CONFIG_H
81375 ac_libobjs=
81376 ac_ltlibobjs=
81377 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
81378 # 1. Remove the extension, and $U if already installed.
81379 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
81380 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
81381 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
81382 # will be set to the directory where LIBOBJS objects are built.
81383 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
81384 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
81385 done
81386 LIBOBJS=$ac_libobjs
81388 LTLIBOBJS=$ac_ltlibobjs
81391 if test -n "$EXEEXT"; then
81392 am__EXEEXT_TRUE=
81393 am__EXEEXT_FALSE='#'
81394 else
81395 am__EXEEXT_TRUE='#'
81396 am__EXEEXT_FALSE=
81399 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
81400 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
81401 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81403 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
81404 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
81405 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81407 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
81408 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
81409 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81411 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
81412 as_fn_error "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
81413 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81415 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
81416 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
81417 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81419 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
81420 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
81421 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81423 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
81424 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
81425 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81427 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
81428 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
81429 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81431 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
81432 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
81433 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81435 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
81436 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
81437 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81439 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
81440 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
81441 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81443 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
81444 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
81445 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81447 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
81448 as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
81449 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81451 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
81452 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
81453 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81455 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
81456 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
81457 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81459 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
81460 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
81461 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81463 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
81464 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
81465 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81467 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
81468 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
81469 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81471 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
81472 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
81473 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81475 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
81476 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
81477 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81479 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
81480 as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
81481 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81483 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
81484 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
81485 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81487 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
81488 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
81489 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81491 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
81492 as_fn_error "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
81493 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81495 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
81496 as_fn_error "conditional \"BUILD_INFO\" was never defined.
81497 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81499 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
81500 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
81501 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81503 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
81504 as_fn_error "conditional \"BUILD_XML\" was never defined.
81505 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81507 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
81508 as_fn_error "conditional \"BUILD_HTML\" was never defined.
81509 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81511 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
81512 as_fn_error "conditional \"BUILD_MAN\" was never defined.
81513 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81515 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
81516 as_fn_error "conditional \"BUILD_PDF\" was never defined.
81517 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81520 : ${CONFIG_STATUS=./config.status}
81521 ac_write_fail=0
81522 ac_clean_files_save=$ac_clean_files
81523 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
81524 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
81525 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
81526 as_write_fail=0
81527 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
81528 #! $SHELL
81529 # Generated by $as_me.
81530 # Run this file to recreate the current configuration.
81531 # Compiler output produced by configure, useful for debugging
81532 # configure, is in config.log if it exists.
81534 debug=false
81535 ac_cs_recheck=false
81536 ac_cs_silent=false
81538 SHELL=\${CONFIG_SHELL-$SHELL}
81539 export SHELL
81540 _ASEOF
81541 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
81542 ## -------------------- ##
81543 ## M4sh Initialization. ##
81544 ## -------------------- ##
81546 # Be more Bourne compatible
81547 DUALCASE=1; export DUALCASE # for MKS sh
81548 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
81549 emulate sh
81550 NULLCMD=:
81551 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
81552 # is contrary to our usage. Disable this feature.
81553 alias -g '${1+"$@"}'='"$@"'
81554 setopt NO_GLOB_SUBST
81555 else
81556 case `(set -o) 2>/dev/null` in #(
81557 *posix*) :
81558 set -o posix ;; #(
81559 *) :
81561 esac
81565 as_nl='
81567 export as_nl
81568 # Printing a long string crashes Solaris 7 /usr/bin/printf.
81569 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
81570 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
81571 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
81572 # Prefer a ksh shell builtin over an external printf program on Solaris,
81573 # but without wasting forks for bash or zsh.
81574 if test -z "$BASH_VERSION$ZSH_VERSION" \
81575 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
81576 as_echo='print -r --'
81577 as_echo_n='print -rn --'
81578 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
81579 as_echo='printf %s\n'
81580 as_echo_n='printf %s'
81581 else
81582 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
81583 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
81584 as_echo_n='/usr/ucb/echo -n'
81585 else
81586 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
81587 as_echo_n_body='eval
81588 arg=$1;
81589 case $arg in #(
81590 *"$as_nl"*)
81591 expr "X$arg" : "X\\(.*\\)$as_nl";
81592 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
81593 esac;
81594 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
81596 export as_echo_n_body
81597 as_echo_n='sh -c $as_echo_n_body as_echo'
81599 export as_echo_body
81600 as_echo='sh -c $as_echo_body as_echo'
81603 # The user is always right.
81604 if test "${PATH_SEPARATOR+set}" != set; then
81605 PATH_SEPARATOR=:
81606 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81607 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81608 PATH_SEPARATOR=';'
81613 # IFS
81614 # We need space, tab and new line, in precisely that order. Quoting is
81615 # there to prevent editors from complaining about space-tab.
81616 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
81617 # splitting by setting IFS to empty value.)
81618 IFS=" "" $as_nl"
81620 # Find who we are. Look in the path if we contain no directory separator.
81621 case $0 in #((
81622 *[\\/]* ) as_myself=$0 ;;
81623 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81624 for as_dir in $PATH
81626 IFS=$as_save_IFS
81627 test -z "$as_dir" && as_dir=.
81628 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81629 done
81630 IFS=$as_save_IFS
81633 esac
81634 # We did not find ourselves, most probably we were run as `sh COMMAND'
81635 # in which case we are not to be found in the path.
81636 if test "x$as_myself" = x; then
81637 as_myself=$0
81639 if test ! -f "$as_myself"; then
81640 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
81641 exit 1
81644 # Unset variables that we do not need and which cause bugs (e.g. in
81645 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
81646 # suppresses any "Segmentation fault" message there. '((' could
81647 # trigger a bug in pdksh 5.2.14.
81648 for as_var in BASH_ENV ENV MAIL MAILPATH
81649 do eval test x\${$as_var+set} = xset \
81650 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
81651 done
81652 PS1='$ '
81653 PS2='> '
81654 PS4='+ '
81656 # NLS nuisances.
81657 LC_ALL=C
81658 export LC_ALL
81659 LANGUAGE=C
81660 export LANGUAGE
81662 # CDPATH.
81663 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
81666 # as_fn_error ERROR [LINENO LOG_FD]
81667 # ---------------------------------
81668 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
81669 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
81670 # script with status $?, using 1 if that was 0.
81671 as_fn_error ()
81673 as_status=$?; test $as_status -eq 0 && as_status=1
81674 if test "$3"; then
81675 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
81676 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
81678 $as_echo "$as_me: error: $1" >&2
81679 as_fn_exit $as_status
81680 } # as_fn_error
81683 # as_fn_set_status STATUS
81684 # -----------------------
81685 # Set $? to STATUS, without forking.
81686 as_fn_set_status ()
81688 return $1
81689 } # as_fn_set_status
81691 # as_fn_exit STATUS
81692 # -----------------
81693 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
81694 as_fn_exit ()
81696 set +e
81697 as_fn_set_status $1
81698 exit $1
81699 } # as_fn_exit
81701 # as_fn_unset VAR
81702 # ---------------
81703 # Portably unset VAR.
81704 as_fn_unset ()
81706 { eval $1=; unset $1;}
81708 as_unset=as_fn_unset
81709 # as_fn_append VAR VALUE
81710 # ----------------------
81711 # Append the text in VALUE to the end of the definition contained in VAR. Take
81712 # advantage of any shell optimizations that allow amortized linear growth over
81713 # repeated appends, instead of the typical quadratic growth present in naive
81714 # implementations.
81715 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
81716 eval 'as_fn_append ()
81718 eval $1+=\$2
81720 else
81721 as_fn_append ()
81723 eval $1=\$$1\$2
81725 fi # as_fn_append
81727 # as_fn_arith ARG...
81728 # ------------------
81729 # Perform arithmetic evaluation on the ARGs, and store the result in the
81730 # global $as_val. Take advantage of shells that can avoid forks. The arguments
81731 # must be portable across $(()) and expr.
81732 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
81733 eval 'as_fn_arith ()
81735 as_val=$(( $* ))
81737 else
81738 as_fn_arith ()
81740 as_val=`expr "$@" || test $? -eq 1`
81742 fi # as_fn_arith
81745 if expr a : '\(a\)' >/dev/null 2>&1 &&
81746 test "X`expr 00001 : '.*\(...\)'`" = X001; then
81747 as_expr=expr
81748 else
81749 as_expr=false
81752 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
81753 as_basename=basename
81754 else
81755 as_basename=false
81758 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
81759 as_dirname=dirname
81760 else
81761 as_dirname=false
81764 as_me=`$as_basename -- "$0" ||
81765 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
81766 X"$0" : 'X\(//\)$' \| \
81767 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
81768 $as_echo X/"$0" |
81769 sed '/^.*\/\([^/][^/]*\)\/*$/{
81770 s//\1/
81773 /^X\/\(\/\/\)$/{
81774 s//\1/
81777 /^X\/\(\/\).*/{
81778 s//\1/
81781 s/.*/./; q'`
81783 # Avoid depending upon Character Ranges.
81784 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81785 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
81786 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
81787 as_cr_digits='0123456789'
81788 as_cr_alnum=$as_cr_Letters$as_cr_digits
81790 ECHO_C= ECHO_N= ECHO_T=
81791 case `echo -n x` in #(((((
81792 -n*)
81793 case `echo 'xy\c'` in
81794 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
81795 xy) ECHO_C='\c';;
81796 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
81797 ECHO_T=' ';;
81798 esac;;
81800 ECHO_N='-n';;
81801 esac
81803 rm -f conf$$ conf$$.exe conf$$.file
81804 if test -d conf$$.dir; then
81805 rm -f conf$$.dir/conf$$.file
81806 else
81807 rm -f conf$$.dir
81808 mkdir conf$$.dir 2>/dev/null
81810 if (echo >conf$$.file) 2>/dev/null; then
81811 if ln -s conf$$.file conf$$ 2>/dev/null; then
81812 as_ln_s='ln -s'
81813 # ... but there are two gotchas:
81814 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
81815 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
81816 # In both cases, we have to default to `cp -p'.
81817 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
81818 as_ln_s='cp -p'
81819 elif ln conf$$.file conf$$ 2>/dev/null; then
81820 as_ln_s=ln
81821 else
81822 as_ln_s='cp -p'
81824 else
81825 as_ln_s='cp -p'
81827 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
81828 rmdir conf$$.dir 2>/dev/null
81831 # as_fn_mkdir_p
81832 # -------------
81833 # Create "$as_dir" as a directory, including parents if necessary.
81834 as_fn_mkdir_p ()
81837 case $as_dir in #(
81838 -*) as_dir=./$as_dir;;
81839 esac
81840 test -d "$as_dir" || eval $as_mkdir_p || {
81841 as_dirs=
81842 while :; do
81843 case $as_dir in #(
81844 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
81845 *) as_qdir=$as_dir;;
81846 esac
81847 as_dirs="'$as_qdir' $as_dirs"
81848 as_dir=`$as_dirname -- "$as_dir" ||
81849 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81850 X"$as_dir" : 'X\(//\)[^/]' \| \
81851 X"$as_dir" : 'X\(//\)$' \| \
81852 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
81853 $as_echo X"$as_dir" |
81854 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81855 s//\1/
81858 /^X\(\/\/\)[^/].*/{
81859 s//\1/
81862 /^X\(\/\/\)$/{
81863 s//\1/
81866 /^X\(\/\).*/{
81867 s//\1/
81870 s/.*/./; q'`
81871 test -d "$as_dir" && break
81872 done
81873 test -z "$as_dirs" || eval "mkdir $as_dirs"
81874 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
81877 } # as_fn_mkdir_p
81878 if mkdir -p . 2>/dev/null; then
81879 as_mkdir_p='mkdir -p "$as_dir"'
81880 else
81881 test -d ./-p && rmdir ./-p
81882 as_mkdir_p=false
81885 if test -x / >/dev/null 2>&1; then
81886 as_test_x='test -x'
81887 else
81888 if ls -dL / >/dev/null 2>&1; then
81889 as_ls_L_option=L
81890 else
81891 as_ls_L_option=
81893 as_test_x='
81894 eval sh -c '\''
81895 if test -d "$1"; then
81896 test -d "$1/.";
81897 else
81898 case $1 in #(
81899 -*)set "./$1";;
81900 esac;
81901 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
81902 ???[sx]*):;;*)false;;esac;fi
81903 '\'' sh
81906 as_executable_p=$as_test_x
81908 # Sed expression to map a string onto a valid CPP name.
81909 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
81911 # Sed expression to map a string onto a valid variable name.
81912 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
81915 exec 6>&1
81916 ## ----------------------------------- ##
81917 ## Main body of $CONFIG_STATUS script. ##
81918 ## ----------------------------------- ##
81919 _ASEOF
81920 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
81922 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81923 # Save the log message, to keep $0 and so on meaningful, and to
81924 # report actual input values of CONFIG_FILES etc. instead of their
81925 # values after options handling.
81926 ac_log="
81927 This file was extended by package-unused $as_me version-unused, which was
81928 generated by GNU Autoconf 2.64. Invocation command line was
81930 CONFIG_FILES = $CONFIG_FILES
81931 CONFIG_HEADERS = $CONFIG_HEADERS
81932 CONFIG_LINKS = $CONFIG_LINKS
81933 CONFIG_COMMANDS = $CONFIG_COMMANDS
81934 $ $0 $@
81936 on `(hostname || uname -n) 2>/dev/null | sed 1q`
81939 _ACEOF
81941 case $ac_config_files in *"
81942 "*) set x $ac_config_files; shift; ac_config_files=$*;;
81943 esac
81945 case $ac_config_headers in *"
81946 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
81947 esac
81950 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81951 # Files that config.status was made for.
81952 config_files="$ac_config_files"
81953 config_headers="$ac_config_headers"
81954 config_commands="$ac_config_commands"
81956 _ACEOF
81958 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81959 ac_cs_usage="\
81960 \`$as_me' instantiates files and other configuration actions
81961 from templates according to the current configuration. Unless the files
81962 and actions are specified as TAGs, all are instantiated by default.
81964 Usage: $0 [OPTION]... [TAG]...
81966 -h, --help print this help, then exit
81967 -V, --version print version number and configuration settings, then exit
81968 -q, --quiet, --silent
81969 do not print progress messages
81970 -d, --debug don't remove temporary files
81971 --recheck update $as_me by reconfiguring in the same conditions
81972 --file=FILE[:TEMPLATE]
81973 instantiate the configuration file FILE
81974 --header=FILE[:TEMPLATE]
81975 instantiate the configuration header FILE
81977 Configuration files:
81978 $config_files
81980 Configuration headers:
81981 $config_headers
81983 Configuration commands:
81984 $config_commands
81986 Report bugs to the package provider."
81988 _ACEOF
81989 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81990 ac_cs_version="\\
81991 package-unused config.status version-unused
81992 configured by $0, generated by GNU Autoconf 2.64,
81993 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
81995 Copyright (C) 2009 Free Software Foundation, Inc.
81996 This config.status script is free software; the Free Software Foundation
81997 gives unlimited permission to copy, distribute and modify it."
81999 ac_pwd='$ac_pwd'
82000 srcdir='$srcdir'
82001 INSTALL='$INSTALL'
82002 MKDIR_P='$MKDIR_P'
82003 AWK='$AWK'
82004 test -n "\$AWK" || AWK=awk
82005 _ACEOF
82007 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82008 # The default lists apply if the user does not specify any file.
82009 ac_need_defaults=:
82010 while test $# != 0
82012 case $1 in
82013 --*=*)
82014 ac_option=`expr "X$1" : 'X\([^=]*\)='`
82015 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
82016 ac_shift=:
82019 ac_option=$1
82020 ac_optarg=$2
82021 ac_shift=shift
82023 esac
82025 case $ac_option in
82026 # Handling of the options.
82027 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
82028 ac_cs_recheck=: ;;
82029 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
82030 $as_echo "$ac_cs_version"; exit ;;
82031 --debug | --debu | --deb | --de | --d | -d )
82032 debug=: ;;
82033 --file | --fil | --fi | --f )
82034 $ac_shift
82035 case $ac_optarg in
82036 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82037 esac
82038 as_fn_append CONFIG_FILES " '$ac_optarg'"
82039 ac_need_defaults=false;;
82040 --header | --heade | --head | --hea )
82041 $ac_shift
82042 case $ac_optarg in
82043 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82044 esac
82045 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
82046 ac_need_defaults=false;;
82047 --he | --h)
82048 # Conflict between --help and --header
82049 as_fn_error "ambiguous option: \`$1'
82050 Try \`$0 --help' for more information.";;
82051 --help | --hel | -h )
82052 $as_echo "$ac_cs_usage"; exit ;;
82053 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
82054 | -silent | --silent | --silen | --sile | --sil | --si | --s)
82055 ac_cs_silent=: ;;
82057 # This is an error.
82058 -*) as_fn_error "unrecognized option: \`$1'
82059 Try \`$0 --help' for more information." ;;
82061 *) as_fn_append ac_config_targets " $1"
82062 ac_need_defaults=false ;;
82064 esac
82065 shift
82066 done
82068 ac_configure_extra_args=
82070 if $ac_cs_silent; then
82071 exec 6>/dev/null
82072 ac_configure_extra_args="$ac_configure_extra_args --silent"
82075 _ACEOF
82076 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82077 if \$ac_cs_recheck; then
82078 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
82079 shift
82080 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
82081 CONFIG_SHELL='$SHELL'
82082 export CONFIG_SHELL
82083 exec "\$@"
82086 _ACEOF
82087 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82088 exec 5>>config.log
82090 echo
82091 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
82092 ## Running $as_me. ##
82093 _ASBOX
82094 $as_echo "$ac_log"
82095 } >&5
82097 _ACEOF
82098 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82100 # INIT-COMMANDS
82103 srcdir="$srcdir"
82104 host="$host"
82105 target="$target"
82106 with_multisubdir="$with_multisubdir"
82107 with_multisrctop="$with_multisrctop"
82108 with_target_subdir="$with_target_subdir"
82109 ac_configure_args="${multilib_arg} ${ac_configure_args}"
82110 multi_basedir="$multi_basedir"
82111 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
82112 CC="$CC"
82113 CXX="$CXX"
82114 GFORTRAN="$GFORTRAN"
82115 GCJ="$GCJ"
82118 # The HP-UX ksh and POSIX shell print the target directory to stdout
82119 # if CDPATH is set.
82120 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82122 sed_quote_subst='$sed_quote_subst'
82123 double_quote_subst='$double_quote_subst'
82124 delay_variable_subst='$delay_variable_subst'
82125 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
82126 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
82127 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
82128 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
82129 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
82130 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
82131 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
82132 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
82133 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
82134 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
82135 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
82136 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
82137 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
82138 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
82139 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
82140 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
82141 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
82142 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
82143 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
82144 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
82145 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
82146 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
82147 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
82148 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
82149 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
82150 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
82151 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
82152 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
82153 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
82154 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
82155 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
82156 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
82157 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
82158 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
82159 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
82160 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
82161 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
82162 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82163 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82164 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
82165 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
82166 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
82167 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
82168 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
82169 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
82170 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
82171 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
82172 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
82173 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"`'
82174 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
82175 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
82176 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
82177 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
82178 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
82179 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
82180 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
82181 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
82182 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
82183 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
82184 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
82185 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
82186 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
82187 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
82188 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
82189 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82190 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
82191 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
82192 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
82193 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
82194 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
82195 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
82196 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82197 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
82198 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82199 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
82200 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82201 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
82202 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
82203 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
82204 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
82205 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
82206 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
82207 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
82208 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
82209 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
82210 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
82211 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
82212 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
82213 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
82214 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
82215 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
82216 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
82217 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
82218 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
82219 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
82220 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
82221 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
82222 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
82223 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
82224 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
82225 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
82226 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
82227 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
82228 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
82229 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
82230 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
82231 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
82232 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82233 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82234 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
82235 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
82236 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
82237 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
82238 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
82239 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
82240 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
82241 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
82242 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
82243 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
82244 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
82245 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
82246 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
82247 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
82248 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
82249 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
82250 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
82251 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
82252 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
82253 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82254 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82255 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
82256 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
82257 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
82258 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
82259 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
82260 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
82261 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
82262 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
82263 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
82264 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82265 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82266 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
82267 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82268 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82269 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82270 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82271 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82272 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82273 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
82274 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82275 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82276 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82277 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
82278 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
82279 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
82280 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
82281 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
82282 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
82283 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
82284 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
82285 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
82286 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
82287 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
82288 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82289 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82290 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82291 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82292 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
82293 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
82294 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
82295 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82296 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82297 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
82298 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
82299 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
82301 LTCC='$LTCC'
82302 LTCFLAGS='$LTCFLAGS'
82303 compiler='$compiler_DEFAULT'
82305 # A function that is used when there is no print builtin or printf.
82306 func_fallback_echo ()
82308 eval 'cat <<_LTECHO_EOF
82310 _LTECHO_EOF'
82313 # Quote evaled strings.
82314 for var in SHELL \
82315 ECHO \
82316 SED \
82317 GREP \
82318 EGREP \
82319 FGREP \
82320 LD \
82321 NM \
82322 LN_S \
82323 lt_SP2NL \
82324 lt_NL2SP \
82325 reload_flag \
82326 OBJDUMP \
82327 deplibs_check_method \
82328 file_magic_cmd \
82329 AR \
82330 AR_FLAGS \
82331 STRIP \
82332 RANLIB \
82333 CC \
82334 CFLAGS \
82335 compiler \
82336 lt_cv_sys_global_symbol_pipe \
82337 lt_cv_sys_global_symbol_to_cdecl \
82338 lt_cv_sys_global_symbol_to_c_name_address \
82339 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
82340 lt_prog_compiler_no_builtin_flag \
82341 lt_prog_compiler_wl \
82342 lt_prog_compiler_pic \
82343 lt_prog_compiler_static \
82344 lt_cv_prog_compiler_c_o \
82345 need_locks \
82346 DSYMUTIL \
82347 NMEDIT \
82348 LIPO \
82349 OTOOL \
82350 OTOOL64 \
82351 shrext_cmds \
82352 export_dynamic_flag_spec \
82353 whole_archive_flag_spec \
82354 compiler_needs_object \
82355 with_gnu_ld \
82356 allow_undefined_flag \
82357 no_undefined_flag \
82358 hardcode_libdir_flag_spec \
82359 hardcode_libdir_flag_spec_ld \
82360 hardcode_libdir_separator \
82361 fix_srcfile_path \
82362 exclude_expsyms \
82363 include_expsyms \
82364 file_list_spec \
82365 variables_saved_for_relink \
82366 libname_spec \
82367 library_names_spec \
82368 soname_spec \
82369 install_override_mode \
82370 finish_eval \
82371 old_striplib \
82372 striplib \
82373 compiler_lib_search_dirs \
82374 predep_objects \
82375 postdep_objects \
82376 predeps \
82377 postdeps \
82378 compiler_lib_search_path \
82379 LD_CXX \
82380 reload_flag_CXX \
82381 compiler_CXX \
82382 lt_prog_compiler_no_builtin_flag_CXX \
82383 lt_prog_compiler_wl_CXX \
82384 lt_prog_compiler_pic_CXX \
82385 lt_prog_compiler_static_CXX \
82386 lt_cv_prog_compiler_c_o_CXX \
82387 export_dynamic_flag_spec_CXX \
82388 whole_archive_flag_spec_CXX \
82389 compiler_needs_object_CXX \
82390 with_gnu_ld_CXX \
82391 allow_undefined_flag_CXX \
82392 no_undefined_flag_CXX \
82393 hardcode_libdir_flag_spec_CXX \
82394 hardcode_libdir_flag_spec_ld_CXX \
82395 hardcode_libdir_separator_CXX \
82396 fix_srcfile_path_CXX \
82397 exclude_expsyms_CXX \
82398 include_expsyms_CXX \
82399 file_list_spec_CXX \
82400 compiler_lib_search_dirs_CXX \
82401 predep_objects_CXX \
82402 postdep_objects_CXX \
82403 predeps_CXX \
82404 postdeps_CXX \
82405 compiler_lib_search_path_CXX; do
82406 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82407 *[\\\\\\\`\\"\\\$]*)
82408 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
82411 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82413 esac
82414 done
82416 # Double-quote double-evaled strings.
82417 for var in reload_cmds \
82418 old_postinstall_cmds \
82419 old_postuninstall_cmds \
82420 old_archive_cmds \
82421 extract_expsyms_cmds \
82422 old_archive_from_new_cmds \
82423 old_archive_from_expsyms_cmds \
82424 archive_cmds \
82425 archive_expsym_cmds \
82426 module_cmds \
82427 module_expsym_cmds \
82428 export_symbols_cmds \
82429 prelink_cmds \
82430 postinstall_cmds \
82431 postuninstall_cmds \
82432 finish_cmds \
82433 sys_lib_search_path_spec \
82434 sys_lib_dlsearch_path_spec \
82435 reload_cmds_CXX \
82436 old_archive_cmds_CXX \
82437 old_archive_from_new_cmds_CXX \
82438 old_archive_from_expsyms_cmds_CXX \
82439 archive_cmds_CXX \
82440 archive_expsym_cmds_CXX \
82441 module_cmds_CXX \
82442 module_expsym_cmds_CXX \
82443 export_symbols_cmds_CXX \
82444 prelink_cmds_CXX; do
82445 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82446 *[\\\\\\\`\\"\\\$]*)
82447 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
82450 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82452 esac
82453 done
82455 ac_aux_dir='$ac_aux_dir'
82456 xsi_shell='$xsi_shell'
82457 lt_shell_append='$lt_shell_append'
82459 # See if we are running on zsh, and set the options which allow our
82460 # commands through without removal of \ escapes INIT.
82461 if test -n "\${ZSH_VERSION+set}" ; then
82462 setopt NO_GLOB_SUBST
82466 PACKAGE='$PACKAGE'
82467 VERSION='$VERSION'
82468 TIMESTAMP='$TIMESTAMP'
82469 RM='$RM'
82470 ofile='$ofile'
82477 GCC="$GCC"
82478 CC="$CC"
82479 acx_cv_header_stdint="$acx_cv_header_stdint"
82480 acx_cv_type_int8_t="$acx_cv_type_int8_t"
82481 acx_cv_type_int16_t="$acx_cv_type_int16_t"
82482 acx_cv_type_int32_t="$acx_cv_type_int32_t"
82483 acx_cv_type_int64_t="$acx_cv_type_int64_t"
82484 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
82485 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
82486 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
82487 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
82488 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
82489 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
82490 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
82491 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
82492 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
82495 _ACEOF
82497 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82499 # Handling of arguments.
82500 for ac_config_target in $ac_config_targets
82502 case $ac_config_target in
82503 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
82504 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
82505 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
82506 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
82507 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
82508 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
82509 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
82510 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
82511 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
82512 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
82513 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
82514 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
82515 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
82516 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
82517 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
82518 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
82519 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
82520 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
82521 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
82523 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
82524 esac
82525 done
82528 # If the user did not use the arguments to specify the items to instantiate,
82529 # then the envvar interface is used. Set only those that are not.
82530 # We use the long form for the default assignment because of an extremely
82531 # bizarre bug on SunOS 4.1.3.
82532 if $ac_need_defaults; then
82533 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
82534 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
82535 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
82538 # Have a temporary directory for convenience. Make it in the build tree
82539 # simply because there is no reason against having it here, and in addition,
82540 # creating and moving files from /tmp can sometimes cause problems.
82541 # Hook for its removal unless debugging.
82542 # Note that there is a small window in which the directory will not be cleaned:
82543 # after its creation but before its name has been assigned to `$tmp'.
82544 $debug ||
82546 tmp=
82547 trap 'exit_status=$?
82548 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
82550 trap 'as_fn_exit 1' 1 2 13 15
82552 # Create a (secure) tmp directory for tmp files.
82555 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
82556 test -n "$tmp" && test -d "$tmp"
82557 } ||
82559 tmp=./conf$$-$RANDOM
82560 (umask 077 && mkdir "$tmp")
82561 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
82563 # Set up the scripts for CONFIG_FILES section.
82564 # No need to generate them if there are no CONFIG_FILES.
82565 # This happens for instance with `./config.status config.h'.
82566 if test -n "$CONFIG_FILES"; then
82569 ac_cr=`echo X | tr X '\015'`
82570 # On cygwin, bash can eat \r inside `` if the user requested igncr.
82571 # But we know of no other shell where ac_cr would be empty at this
82572 # point, so we can use a bashism as a fallback.
82573 if test "x$ac_cr" = x; then
82574 eval ac_cr=\$\'\\r\'
82576 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
82577 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
82578 ac_cs_awk_cr='\r'
82579 else
82580 ac_cs_awk_cr=$ac_cr
82583 echo 'BEGIN {' >"$tmp/subs1.awk" &&
82584 _ACEOF
82588 echo "cat >conf$$subs.awk <<_ACEOF" &&
82589 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
82590 echo "_ACEOF"
82591 } >conf$$subs.sh ||
82592 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82593 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
82594 ac_delim='%!_!# '
82595 for ac_last_try in false false false false false :; do
82596 . ./conf$$subs.sh ||
82597 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82599 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
82600 if test $ac_delim_n = $ac_delim_num; then
82601 break
82602 elif $ac_last_try; then
82603 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82604 else
82605 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
82607 done
82608 rm -f conf$$subs.sh
82610 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82611 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
82612 _ACEOF
82613 sed -n '
82615 s/^/S["/; s/!.*/"]=/
82618 s/^[^!]*!//
82619 :repl
82620 t repl
82621 s/'"$ac_delim"'$//
82622 t delim
82625 s/\(.\{148\}\).*/\1/
82626 t more1
82627 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
82630 b repl
82631 :more1
82632 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
82635 s/.\{148\}//
82636 t nl
82637 :delim
82639 s/\(.\{148\}\).*/\1/
82640 t more2
82641 s/["\\]/\\&/g; s/^/"/; s/$/"/
82644 :more2
82645 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
82648 s/.\{148\}//
82649 t delim
82650 ' <conf$$subs.awk | sed '
82651 /^[^""]/{
82653 s/\n//
82655 ' >>$CONFIG_STATUS || ac_write_fail=1
82656 rm -f conf$$subs.awk
82657 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82658 _ACAWK
82659 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
82660 for (key in S) S_is_set[key] = 1
82661 FS = "\a"
82665 line = $ 0
82666 nfields = split(line, field, "@")
82667 substed = 0
82668 len = length(field[1])
82669 for (i = 2; i < nfields; i++) {
82670 key = field[i]
82671 keylen = length(key)
82672 if (S_is_set[key]) {
82673 value = S[key]
82674 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
82675 len += length(value) + length(field[++i])
82676 substed = 1
82677 } else
82678 len += 1 + keylen
82681 print line
82684 _ACAWK
82685 _ACEOF
82686 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82687 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
82688 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
82689 else
82691 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
82692 || as_fn_error "could not setup config files machinery" "$LINENO" 5
82693 _ACEOF
82695 # VPATH may cause trouble with some makes, so we remove $(srcdir),
82696 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
82697 # trailing colons and then remove the whole line if VPATH becomes empty
82698 # (actually we leave an empty line to preserve line numbers).
82699 if test "x$srcdir" = x.; then
82700 ac_vpsub='/^[ ]*VPATH[ ]*=/{
82701 s/:*\$(srcdir):*/:/
82702 s/:*\${srcdir}:*/:/
82703 s/:*@srcdir@:*/:/
82704 s/^\([^=]*=[ ]*\):*/\1/
82705 s/:*$//
82706 s/^[^=]*=[ ]*$//
82710 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82711 fi # test -n "$CONFIG_FILES"
82713 # Set up the scripts for CONFIG_HEADERS section.
82714 # No need to generate them if there are no CONFIG_HEADERS.
82715 # This happens for instance with `./config.status Makefile'.
82716 if test -n "$CONFIG_HEADERS"; then
82717 cat >"$tmp/defines.awk" <<\_ACAWK ||
82718 BEGIN {
82719 _ACEOF
82721 # Transform confdefs.h into an awk script `defines.awk', embedded as
82722 # here-document in config.status, that substitutes the proper values into
82723 # config.h.in to produce config.h.
82725 # Create a delimiter string that does not exist in confdefs.h, to ease
82726 # handling of long lines.
82727 ac_delim='%!_!# '
82728 for ac_last_try in false false :; do
82729 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
82730 if test -z "$ac_t"; then
82731 break
82732 elif $ac_last_try; then
82733 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
82734 else
82735 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
82737 done
82739 # For the awk script, D is an array of macro values keyed by name,
82740 # likewise P contains macro parameters if any. Preserve backslash
82741 # newline sequences.
82743 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
82744 sed -n '
82745 s/.\{148\}/&'"$ac_delim"'/g
82746 t rset
82747 :rset
82748 s/^[ ]*#[ ]*define[ ][ ]*/ /
82749 t def
82751 :def
82752 s/\\$//
82753 t bsnl
82754 s/["\\]/\\&/g
82755 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
82756 D["\1"]=" \3"/p
82757 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
82759 :bsnl
82760 s/["\\]/\\&/g
82761 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
82762 D["\1"]=" \3\\\\\\n"\\/p
82763 t cont
82764 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
82765 t cont
82767 :cont
82769 s/.\{148\}/&'"$ac_delim"'/g
82770 t clear
82771 :clear
82772 s/\\$//
82773 t bsnlc
82774 s/["\\]/\\&/g; s/^/"/; s/$/"/p
82776 :bsnlc
82777 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
82778 b cont
82779 ' <confdefs.h | sed '
82780 s/'"$ac_delim"'/"\\\
82781 "/g' >>$CONFIG_STATUS || ac_write_fail=1
82783 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82784 for (key in D) D_is_set[key] = 1
82785 FS = "\a"
82787 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
82788 line = \$ 0
82789 split(line, arg, " ")
82790 if (arg[1] == "#") {
82791 defundef = arg[2]
82792 mac1 = arg[3]
82793 } else {
82794 defundef = substr(arg[1], 2)
82795 mac1 = arg[2]
82797 split(mac1, mac2, "(") #)
82798 macro = mac2[1]
82799 prefix = substr(line, 1, index(line, defundef) - 1)
82800 if (D_is_set[macro]) {
82801 # Preserve the white space surrounding the "#".
82802 print prefix "define", macro P[macro] D[macro]
82803 next
82804 } else {
82805 # Replace #undef with comments. This is necessary, for example,
82806 # in the case of _POSIX_SOURCE, which is predefined and required
82807 # on some systems where configure will not decide to define it.
82808 if (defundef == "undef") {
82809 print "/*", prefix defundef, macro, "*/"
82810 next
82814 { print }
82815 _ACAWK
82816 _ACEOF
82817 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82818 as_fn_error "could not setup config headers machinery" "$LINENO" 5
82819 fi # test -n "$CONFIG_HEADERS"
82822 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
82823 shift
82824 for ac_tag
82826 case $ac_tag in
82827 :[FHLC]) ac_mode=$ac_tag; continue;;
82828 esac
82829 case $ac_mode$ac_tag in
82830 :[FHL]*:*);;
82831 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
82832 :[FH]-) ac_tag=-:-;;
82833 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
82834 esac
82835 ac_save_IFS=$IFS
82836 IFS=:
82837 set x $ac_tag
82838 IFS=$ac_save_IFS
82839 shift
82840 ac_file=$1
82841 shift
82843 case $ac_mode in
82844 :L) ac_source=$1;;
82845 :[FH])
82846 ac_file_inputs=
82847 for ac_f
82849 case $ac_f in
82850 -) ac_f="$tmp/stdin";;
82851 *) # Look for the file first in the build tree, then in the source tree
82852 # (if the path is not absolute). The absolute path cannot be DOS-style,
82853 # because $ac_f cannot contain `:'.
82854 test -f "$ac_f" ||
82855 case $ac_f in
82856 [\\/$]*) false;;
82857 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
82858 esac ||
82859 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
82860 esac
82861 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
82862 as_fn_append ac_file_inputs " '$ac_f'"
82863 done
82865 # Let's still pretend it is `configure' which instantiates (i.e., don't
82866 # use $as_me), people would be surprised to read:
82867 # /* config.h. Generated by config.status. */
82868 configure_input='Generated from '`
82869 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
82870 `' by configure.'
82871 if test x"$ac_file" != x-; then
82872 configure_input="$ac_file. $configure_input"
82873 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
82874 $as_echo "$as_me: creating $ac_file" >&6;}
82876 # Neutralize special characters interpreted by sed in replacement strings.
82877 case $configure_input in #(
82878 *\&* | *\|* | *\\* )
82879 ac_sed_conf_input=`$as_echo "$configure_input" |
82880 sed 's/[\\\\&|]/\\\\&/g'`;; #(
82881 *) ac_sed_conf_input=$configure_input;;
82882 esac
82884 case $ac_tag in
82885 *:-:* | *:-) cat >"$tmp/stdin" \
82886 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
82887 esac
82889 esac
82891 ac_dir=`$as_dirname -- "$ac_file" ||
82892 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
82893 X"$ac_file" : 'X\(//\)[^/]' \| \
82894 X"$ac_file" : 'X\(//\)$' \| \
82895 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
82896 $as_echo X"$ac_file" |
82897 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
82898 s//\1/
82901 /^X\(\/\/\)[^/].*/{
82902 s//\1/
82905 /^X\(\/\/\)$/{
82906 s//\1/
82909 /^X\(\/\).*/{
82910 s//\1/
82913 s/.*/./; q'`
82914 as_dir="$ac_dir"; as_fn_mkdir_p
82915 ac_builddir=.
82917 case "$ac_dir" in
82918 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
82920 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
82921 # A ".." for each directory in $ac_dir_suffix.
82922 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
82923 case $ac_top_builddir_sub in
82924 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
82925 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
82926 esac ;;
82927 esac
82928 ac_abs_top_builddir=$ac_pwd
82929 ac_abs_builddir=$ac_pwd$ac_dir_suffix
82930 # for backward compatibility:
82931 ac_top_builddir=$ac_top_build_prefix
82933 case $srcdir in
82934 .) # We are building in place.
82935 ac_srcdir=.
82936 ac_top_srcdir=$ac_top_builddir_sub
82937 ac_abs_top_srcdir=$ac_pwd ;;
82938 [\\/]* | ?:[\\/]* ) # Absolute name.
82939 ac_srcdir=$srcdir$ac_dir_suffix;
82940 ac_top_srcdir=$srcdir
82941 ac_abs_top_srcdir=$srcdir ;;
82942 *) # Relative name.
82943 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
82944 ac_top_srcdir=$ac_top_build_prefix$srcdir
82945 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
82946 esac
82947 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
82950 case $ac_mode in
82953 # CONFIG_FILE
82956 case $INSTALL in
82957 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
82958 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
82959 esac
82960 ac_MKDIR_P=$MKDIR_P
82961 case $MKDIR_P in
82962 [\\/$]* | ?:[\\/]* ) ;;
82963 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
82964 esac
82965 _ACEOF
82967 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82968 # If the template does not know about datarootdir, expand it.
82969 # FIXME: This hack should be removed a few years after 2.60.
82970 ac_datarootdir_hack=; ac_datarootdir_seen=
82971 ac_sed_dataroot='
82972 /datarootdir/ {
82976 /@datadir@/p
82977 /@docdir@/p
82978 /@infodir@/p
82979 /@localedir@/p
82980 /@mandir@/p'
82981 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
82982 *datarootdir*) ac_datarootdir_seen=yes;;
82983 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
82984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
82985 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
82986 _ACEOF
82987 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82988 ac_datarootdir_hack='
82989 s&@datadir@&$datadir&g
82990 s&@docdir@&$docdir&g
82991 s&@infodir@&$infodir&g
82992 s&@localedir@&$localedir&g
82993 s&@mandir@&$mandir&g
82994 s&\\\${datarootdir}&$datarootdir&g' ;;
82995 esac
82996 _ACEOF
82998 # Neutralize VPATH when `$srcdir' = `.'.
82999 # Shell code in configure.ac might set extrasub.
83000 # FIXME: do we really want to maintain this feature?
83001 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83002 ac_sed_extra="$ac_vpsub
83003 $extrasub
83004 _ACEOF
83005 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83007 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
83008 s|@configure_input@|$ac_sed_conf_input|;t t
83009 s&@top_builddir@&$ac_top_builddir_sub&;t t
83010 s&@top_build_prefix@&$ac_top_build_prefix&;t t
83011 s&@srcdir@&$ac_srcdir&;t t
83012 s&@abs_srcdir@&$ac_abs_srcdir&;t t
83013 s&@top_srcdir@&$ac_top_srcdir&;t t
83014 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
83015 s&@builddir@&$ac_builddir&;t t
83016 s&@abs_builddir@&$ac_abs_builddir&;t t
83017 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
83018 s&@INSTALL@&$ac_INSTALL&;t t
83019 s&@MKDIR_P@&$ac_MKDIR_P&;t t
83020 $ac_datarootdir_hack
83022 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
83023 || as_fn_error "could not create $ac_file" "$LINENO" 5
83025 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
83026 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
83027 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
83028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83029 which seems to be undefined. Please make sure it is defined." >&5
83030 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83031 which seems to be undefined. Please make sure it is defined." >&2;}
83033 rm -f "$tmp/stdin"
83034 case $ac_file in
83035 -) cat "$tmp/out" && rm -f "$tmp/out";;
83036 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
83037 esac \
83038 || as_fn_error "could not create $ac_file" "$LINENO" 5
83042 # CONFIG_HEADER
83044 if test x"$ac_file" != x-; then
83046 $as_echo "/* $configure_input */" \
83047 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
83048 } >"$tmp/config.h" \
83049 || as_fn_error "could not create $ac_file" "$LINENO" 5
83050 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
83051 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
83052 $as_echo "$as_me: $ac_file is unchanged" >&6;}
83053 else
83054 rm -f "$ac_file"
83055 mv "$tmp/config.h" "$ac_file" \
83056 || as_fn_error "could not create $ac_file" "$LINENO" 5
83058 else
83059 $as_echo "/* $configure_input */" \
83060 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
83061 || as_fn_error "could not create -" "$LINENO" 5
83063 # Compute "$ac_file"'s index in $config_headers.
83064 _am_arg="$ac_file"
83065 _am_stamp_count=1
83066 for _am_header in $config_headers :; do
83067 case $_am_header in
83068 $_am_arg | $_am_arg:* )
83069 break ;;
83071 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
83072 esac
83073 done
83074 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
83075 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83076 X"$_am_arg" : 'X\(//\)[^/]' \| \
83077 X"$_am_arg" : 'X\(//\)$' \| \
83078 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
83079 $as_echo X"$_am_arg" |
83080 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83081 s//\1/
83084 /^X\(\/\/\)[^/].*/{
83085 s//\1/
83088 /^X\(\/\/\)$/{
83089 s//\1/
83092 /^X\(\/\).*/{
83093 s//\1/
83096 s/.*/./; q'`/stamp-h$_am_stamp_count
83099 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
83100 $as_echo "$as_me: executing $ac_file commands" >&6;}
83102 esac
83105 case $ac_file$ac_mode in
83106 "default-1":C)
83107 # Only add multilib support code if we just rebuilt the top-level
83108 # Makefile.
83109 case " $CONFIG_FILES " in
83110 *" Makefile "*)
83111 ac_file=Makefile . ${multi_basedir}/config-ml.in
83113 esac ;;
83114 "libtool":C)
83116 # See if we are running on zsh, and set the options which allow our
83117 # commands through without removal of \ escapes.
83118 if test -n "${ZSH_VERSION+set}" ; then
83119 setopt NO_GLOB_SUBST
83122 cfgfile="${ofile}T"
83123 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
83124 $RM "$cfgfile"
83126 cat <<_LT_EOF >> "$cfgfile"
83127 #! $SHELL
83129 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
83130 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
83131 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
83132 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
83134 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
83135 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
83136 # Written by Gordon Matzigkeit, 1996
83138 # This file is part of GNU Libtool.
83140 # GNU Libtool is free software; you can redistribute it and/or
83141 # modify it under the terms of the GNU General Public License as
83142 # published by the Free Software Foundation; either version 2 of
83143 # the License, or (at your option) any later version.
83145 # As a special exception to the GNU General Public License,
83146 # if you distribute this file as part of a program or library that
83147 # is built using GNU Libtool, you may include this file under the
83148 # same distribution terms that you use for the rest of that program.
83150 # GNU Libtool is distributed in the hope that it will be useful,
83151 # but WITHOUT ANY WARRANTY; without even the implied warranty of
83152 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
83153 # GNU General Public License for more details.
83155 # You should have received a copy of the GNU General Public License
83156 # along with GNU Libtool; see the file COPYING. If not, a copy
83157 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
83158 # obtained by writing to the Free Software Foundation, Inc.,
83159 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
83162 # The names of the tagged configurations supported by this script.
83163 available_tags="CXX "
83165 # ### BEGIN LIBTOOL CONFIG
83167 # Which release of libtool.m4 was used?
83168 macro_version=$macro_version
83169 macro_revision=$macro_revision
83171 # Whether or not to build shared libraries.
83172 build_libtool_libs=$enable_shared
83174 # Whether or not to build static libraries.
83175 build_old_libs=$enable_static
83177 # What type of objects to build.
83178 pic_mode=$pic_mode
83180 # Whether or not to optimize for fast installation.
83181 fast_install=$enable_fast_install
83183 # Shell to use when invoking shell scripts.
83184 SHELL=$lt_SHELL
83186 # An echo program that protects backslashes.
83187 ECHO=$lt_ECHO
83189 # The host system.
83190 host_alias=$host_alias
83191 host=$host
83192 host_os=$host_os
83194 # The build system.
83195 build_alias=$build_alias
83196 build=$build
83197 build_os=$build_os
83199 # A sed program that does not truncate output.
83200 SED=$lt_SED
83202 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
83203 Xsed="\$SED -e 1s/^X//"
83205 # A grep program that handles long lines.
83206 GREP=$lt_GREP
83208 # An ERE matcher.
83209 EGREP=$lt_EGREP
83211 # A literal string matcher.
83212 FGREP=$lt_FGREP
83214 # A BSD- or MS-compatible name lister.
83215 NM=$lt_NM
83217 # Whether we need soft or hard links.
83218 LN_S=$lt_LN_S
83220 # What is the maximum length of a command?
83221 max_cmd_len=$max_cmd_len
83223 # Object file suffix (normally "o").
83224 objext=$ac_objext
83226 # Executable file suffix (normally "").
83227 exeext=$exeext
83229 # whether the shell understands "unset".
83230 lt_unset=$lt_unset
83232 # turn spaces into newlines.
83233 SP2NL=$lt_lt_SP2NL
83235 # turn newlines into spaces.
83236 NL2SP=$lt_lt_NL2SP
83238 # An object symbol dumper.
83239 OBJDUMP=$lt_OBJDUMP
83241 # Method to check whether dependent libraries are shared objects.
83242 deplibs_check_method=$lt_deplibs_check_method
83244 # Command to use when deplibs_check_method == "file_magic".
83245 file_magic_cmd=$lt_file_magic_cmd
83247 # The archiver.
83248 AR=$lt_AR
83249 AR_FLAGS=$lt_AR_FLAGS
83251 # A symbol stripping program.
83252 STRIP=$lt_STRIP
83254 # Commands used to install an old-style archive.
83255 RANLIB=$lt_RANLIB
83256 old_postinstall_cmds=$lt_old_postinstall_cmds
83257 old_postuninstall_cmds=$lt_old_postuninstall_cmds
83259 # Whether to use a lock for old archive extraction.
83260 lock_old_archive_extraction=$lock_old_archive_extraction
83262 # A C compiler.
83263 LTCC=$lt_CC
83265 # LTCC compiler flags.
83266 LTCFLAGS=$lt_CFLAGS
83268 # Take the output of nm and produce a listing of raw symbols and C names.
83269 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
83271 # Transform the output of nm in a proper C declaration.
83272 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
83274 # Transform the output of nm in a C name address pair.
83275 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
83277 # Transform the output of nm in a C name address pair when lib prefix is needed.
83278 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
83280 # The name of the directory that contains temporary libtool files.
83281 objdir=$objdir
83283 # Used to examine libraries when file_magic_cmd begins with "file".
83284 MAGIC_CMD=$MAGIC_CMD
83286 # Must we lock files when doing compilation?
83287 need_locks=$lt_need_locks
83289 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
83290 DSYMUTIL=$lt_DSYMUTIL
83292 # Tool to change global to local symbols on Mac OS X.
83293 NMEDIT=$lt_NMEDIT
83295 # Tool to manipulate fat objects and archives on Mac OS X.
83296 LIPO=$lt_LIPO
83298 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
83299 OTOOL=$lt_OTOOL
83301 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
83302 OTOOL64=$lt_OTOOL64
83304 # Old archive suffix (normally "a").
83305 libext=$libext
83307 # Shared library suffix (normally ".so").
83308 shrext_cmds=$lt_shrext_cmds
83310 # The commands to extract the exported symbol list from a shared archive.
83311 extract_expsyms_cmds=$lt_extract_expsyms_cmds
83313 # Variables whose values should be saved in libtool wrapper scripts and
83314 # restored at link time.
83315 variables_saved_for_relink=$lt_variables_saved_for_relink
83317 # Do we need the "lib" prefix for modules?
83318 need_lib_prefix=$need_lib_prefix
83320 # Do we need a version for libraries?
83321 need_version=$need_version
83323 # Library versioning type.
83324 version_type=$version_type
83326 # Shared library runtime path variable.
83327 runpath_var=$runpath_var
83329 # Shared library path variable.
83330 shlibpath_var=$shlibpath_var
83332 # Is shlibpath searched before the hard-coded library search path?
83333 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
83335 # Format of library name prefix.
83336 libname_spec=$lt_libname_spec
83338 # List of archive names. First name is the real one, the rest are links.
83339 # The last name is the one that the linker finds with -lNAME
83340 library_names_spec=$lt_library_names_spec
83342 # The coded name of the library, if different from the real name.
83343 soname_spec=$lt_soname_spec
83345 # Permission mode override for installation of shared libraries.
83346 install_override_mode=$lt_install_override_mode
83348 # Command to use after installation of a shared archive.
83349 postinstall_cmds=$lt_postinstall_cmds
83351 # Command to use after uninstallation of a shared archive.
83352 postuninstall_cmds=$lt_postuninstall_cmds
83354 # Commands used to finish a libtool library installation in a directory.
83355 finish_cmds=$lt_finish_cmds
83357 # As "finish_cmds", except a single script fragment to be evaled but
83358 # not shown.
83359 finish_eval=$lt_finish_eval
83361 # Whether we should hardcode library paths into libraries.
83362 hardcode_into_libs=$hardcode_into_libs
83364 # Compile-time system search path for libraries.
83365 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
83367 # Run-time system search path for libraries.
83368 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
83370 # Whether dlopen is supported.
83371 dlopen_support=$enable_dlopen
83373 # Whether dlopen of programs is supported.
83374 dlopen_self=$enable_dlopen_self
83376 # Whether dlopen of statically linked programs is supported.
83377 dlopen_self_static=$enable_dlopen_self_static
83379 # Commands to strip libraries.
83380 old_striplib=$lt_old_striplib
83381 striplib=$lt_striplib
83384 # The linker used to build libraries.
83385 LD=$lt_LD
83387 # How to create reloadable object files.
83388 reload_flag=$lt_reload_flag
83389 reload_cmds=$lt_reload_cmds
83391 # Commands used to build an old-style archive.
83392 old_archive_cmds=$lt_old_archive_cmds
83394 # A language specific compiler.
83395 CC=$lt_compiler
83397 # Is the compiler the GNU compiler?
83398 with_gcc=$GCC
83400 # Compiler flag to turn off builtin functions.
83401 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
83403 # How to pass a linker flag through the compiler.
83404 wl=$lt_lt_prog_compiler_wl
83406 # Additional compiler flags for building library objects.
83407 pic_flag=$lt_lt_prog_compiler_pic
83409 # Compiler flag to prevent dynamic linking.
83410 link_static_flag=$lt_lt_prog_compiler_static
83412 # Does compiler simultaneously support -c and -o options?
83413 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
83415 # Whether or not to add -lc for building shared libraries.
83416 build_libtool_need_lc=$archive_cmds_need_lc
83418 # Whether or not to disallow shared libs when runtime libs are static.
83419 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
83421 # Compiler flag to allow reflexive dlopens.
83422 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
83424 # Compiler flag to generate shared objects directly from archives.
83425 whole_archive_flag_spec=$lt_whole_archive_flag_spec
83427 # Whether the compiler copes with passing no objects directly.
83428 compiler_needs_object=$lt_compiler_needs_object
83430 # Create an old-style archive from a shared archive.
83431 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
83433 # Create a temporary old-style archive to link instead of a shared archive.
83434 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
83436 # Commands used to build a shared archive.
83437 archive_cmds=$lt_archive_cmds
83438 archive_expsym_cmds=$lt_archive_expsym_cmds
83440 # Commands used to build a loadable module if different from building
83441 # a shared archive.
83442 module_cmds=$lt_module_cmds
83443 module_expsym_cmds=$lt_module_expsym_cmds
83445 # Whether we are building with GNU ld or not.
83446 with_gnu_ld=$lt_with_gnu_ld
83448 # Flag that allows shared libraries with undefined symbols to be built.
83449 allow_undefined_flag=$lt_allow_undefined_flag
83451 # Flag that enforces no undefined symbols.
83452 no_undefined_flag=$lt_no_undefined_flag
83454 # Flag to hardcode \$libdir into a binary during linking.
83455 # This must work even if \$libdir does not exist
83456 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
83458 # If ld is used when linking, flag to hardcode \$libdir into a binary
83459 # during linking. This must work even if \$libdir does not exist.
83460 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
83462 # Whether we need a single "-rpath" flag with a separated argument.
83463 hardcode_libdir_separator=$lt_hardcode_libdir_separator
83465 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83466 # DIR into the resulting binary.
83467 hardcode_direct=$hardcode_direct
83469 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83470 # DIR into the resulting binary and the resulting library dependency is
83471 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
83472 # library is relocated.
83473 hardcode_direct_absolute=$hardcode_direct_absolute
83475 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
83476 # into the resulting binary.
83477 hardcode_minus_L=$hardcode_minus_L
83479 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
83480 # into the resulting binary.
83481 hardcode_shlibpath_var=$hardcode_shlibpath_var
83483 # Set to "yes" if building a shared library automatically hardcodes DIR
83484 # into the library and all subsequent libraries and executables linked
83485 # against it.
83486 hardcode_automatic=$hardcode_automatic
83488 # Set to yes if linker adds runtime paths of dependent libraries
83489 # to runtime path list.
83490 inherit_rpath=$inherit_rpath
83492 # Whether libtool must link a program against all its dependency libraries.
83493 link_all_deplibs=$link_all_deplibs
83495 # Fix the shell variable \$srcfile for the compiler.
83496 fix_srcfile_path=$lt_fix_srcfile_path
83498 # Set to "yes" if exported symbols are required.
83499 always_export_symbols=$always_export_symbols
83501 # The commands to list exported symbols.
83502 export_symbols_cmds=$lt_export_symbols_cmds
83504 # Symbols that should not be listed in the preloaded symbols.
83505 exclude_expsyms=$lt_exclude_expsyms
83507 # Symbols that must always be exported.
83508 include_expsyms=$lt_include_expsyms
83510 # Commands necessary for linking programs (against libraries) with templates.
83511 prelink_cmds=$lt_prelink_cmds
83513 # Specify filename containing input files.
83514 file_list_spec=$lt_file_list_spec
83516 # How to hardcode a shared library path into an executable.
83517 hardcode_action=$hardcode_action
83519 # The directories searched by this compiler when creating a shared library.
83520 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
83522 # Dependencies to place before and after the objects being linked to
83523 # create a shared library.
83524 predep_objects=$lt_predep_objects
83525 postdep_objects=$lt_postdep_objects
83526 predeps=$lt_predeps
83527 postdeps=$lt_postdeps
83529 # The library search path used internally by the compiler when linking
83530 # a shared library.
83531 compiler_lib_search_path=$lt_compiler_lib_search_path
83533 # ### END LIBTOOL CONFIG
83535 _LT_EOF
83537 case $host_os in
83538 aix3*)
83539 cat <<\_LT_EOF >> "$cfgfile"
83540 # AIX sometimes has problems with the GCC collect2 program. For some
83541 # reason, if we set the COLLECT_NAMES environment variable, the problems
83542 # vanish in a puff of smoke.
83543 if test "X${COLLECT_NAMES+set}" != Xset; then
83544 COLLECT_NAMES=
83545 export COLLECT_NAMES
83547 _LT_EOF
83549 esac
83552 ltmain="$ac_aux_dir/ltmain.sh"
83555 # We use sed instead of cat because bash on DJGPP gets confused if
83556 # if finds mixed CR/LF and LF-only lines. Since sed operates in
83557 # text mode, it properly converts lines to CR/LF. This bash problem
83558 # is reportedly fixed, but why not run on old versions too?
83559 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
83560 || (rm -f "$cfgfile"; exit 1)
83562 case $xsi_shell in
83563 yes)
83564 cat << \_LT_EOF >> "$cfgfile"
83566 # func_dirname file append nondir_replacement
83567 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
83568 # otherwise set result to NONDIR_REPLACEMENT.
83569 func_dirname ()
83571 case ${1} in
83572 */*) func_dirname_result="${1%/*}${2}" ;;
83573 * ) func_dirname_result="${3}" ;;
83574 esac
83577 # func_basename file
83578 func_basename ()
83580 func_basename_result="${1##*/}"
83583 # func_dirname_and_basename file append nondir_replacement
83584 # perform func_basename and func_dirname in a single function
83585 # call:
83586 # dirname: Compute the dirname of FILE. If nonempty,
83587 # add APPEND to the result, otherwise set result
83588 # to NONDIR_REPLACEMENT.
83589 # value returned in "$func_dirname_result"
83590 # basename: Compute filename of FILE.
83591 # value retuned in "$func_basename_result"
83592 # Implementation must be kept synchronized with func_dirname
83593 # and func_basename. For efficiency, we do not delegate to
83594 # those functions but instead duplicate the functionality here.
83595 func_dirname_and_basename ()
83597 case ${1} in
83598 */*) func_dirname_result="${1%/*}${2}" ;;
83599 * ) func_dirname_result="${3}" ;;
83600 esac
83601 func_basename_result="${1##*/}"
83604 # func_stripname prefix suffix name
83605 # strip PREFIX and SUFFIX off of NAME.
83606 # PREFIX and SUFFIX must not contain globbing or regex special
83607 # characters, hashes, percent signs, but SUFFIX may contain a leading
83608 # dot (in which case that matches only a dot).
83609 func_stripname ()
83611 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
83612 # positional parameters, so assign one to ordinary parameter first.
83613 func_stripname_result=${3}
83614 func_stripname_result=${func_stripname_result#"${1}"}
83615 func_stripname_result=${func_stripname_result%"${2}"}
83618 # func_opt_split
83619 func_opt_split ()
83621 func_opt_split_opt=${1%%=*}
83622 func_opt_split_arg=${1#*=}
83625 # func_lo2o object
83626 func_lo2o ()
83628 case ${1} in
83629 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
83630 *) func_lo2o_result=${1} ;;
83631 esac
83634 # func_xform libobj-or-source
83635 func_xform ()
83637 func_xform_result=${1%.*}.lo
83640 # func_arith arithmetic-term...
83641 func_arith ()
83643 func_arith_result=$(( $* ))
83646 # func_len string
83647 # STRING may not start with a hyphen.
83648 func_len ()
83650 func_len_result=${#1}
83653 _LT_EOF
83655 *) # Bourne compatible functions.
83656 cat << \_LT_EOF >> "$cfgfile"
83658 # func_dirname file append nondir_replacement
83659 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
83660 # otherwise set result to NONDIR_REPLACEMENT.
83661 func_dirname ()
83663 # Extract subdirectory from the argument.
83664 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
83665 if test "X$func_dirname_result" = "X${1}"; then
83666 func_dirname_result="${3}"
83667 else
83668 func_dirname_result="$func_dirname_result${2}"
83672 # func_basename file
83673 func_basename ()
83675 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
83679 # func_stripname prefix suffix name
83680 # strip PREFIX and SUFFIX off of NAME.
83681 # PREFIX and SUFFIX must not contain globbing or regex special
83682 # characters, hashes, percent signs, but SUFFIX may contain a leading
83683 # dot (in which case that matches only a dot).
83684 # func_strip_suffix prefix name
83685 func_stripname ()
83687 case ${2} in
83688 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
83689 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
83690 esac
83693 # sed scripts:
83694 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
83695 my_sed_long_arg='1s/^-[^=]*=//'
83697 # func_opt_split
83698 func_opt_split ()
83700 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
83701 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
83704 # func_lo2o object
83705 func_lo2o ()
83707 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
83710 # func_xform libobj-or-source
83711 func_xform ()
83713 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
83716 # func_arith arithmetic-term...
83717 func_arith ()
83719 func_arith_result=`expr "$@"`
83722 # func_len string
83723 # STRING may not start with a hyphen.
83724 func_len ()
83726 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
83729 _LT_EOF
83730 esac
83732 case $lt_shell_append in
83733 yes)
83734 cat << \_LT_EOF >> "$cfgfile"
83736 # func_append var value
83737 # Append VALUE to the end of shell variable VAR.
83738 func_append ()
83740 eval "$1+=\$2"
83742 _LT_EOF
83745 cat << \_LT_EOF >> "$cfgfile"
83747 # func_append var value
83748 # Append VALUE to the end of shell variable VAR.
83749 func_append ()
83751 eval "$1=\$$1\$2"
83754 _LT_EOF
83756 esac
83759 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
83760 || (rm -f "$cfgfile"; exit 1)
83762 mv -f "$cfgfile" "$ofile" ||
83763 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
83764 chmod +x "$ofile"
83767 cat <<_LT_EOF >> "$ofile"
83769 # ### BEGIN LIBTOOL TAG CONFIG: CXX
83771 # The linker used to build libraries.
83772 LD=$lt_LD_CXX
83774 # How to create reloadable object files.
83775 reload_flag=$lt_reload_flag_CXX
83776 reload_cmds=$lt_reload_cmds_CXX
83778 # Commands used to build an old-style archive.
83779 old_archive_cmds=$lt_old_archive_cmds_CXX
83781 # A language specific compiler.
83782 CC=$lt_compiler_CXX
83784 # Is the compiler the GNU compiler?
83785 with_gcc=$GCC_CXX
83787 # Compiler flag to turn off builtin functions.
83788 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
83790 # How to pass a linker flag through the compiler.
83791 wl=$lt_lt_prog_compiler_wl_CXX
83793 # Additional compiler flags for building library objects.
83794 pic_flag=$lt_lt_prog_compiler_pic_CXX
83796 # Compiler flag to prevent dynamic linking.
83797 link_static_flag=$lt_lt_prog_compiler_static_CXX
83799 # Does compiler simultaneously support -c and -o options?
83800 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
83802 # Whether or not to add -lc for building shared libraries.
83803 build_libtool_need_lc=$archive_cmds_need_lc_CXX
83805 # Whether or not to disallow shared libs when runtime libs are static.
83806 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
83808 # Compiler flag to allow reflexive dlopens.
83809 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
83811 # Compiler flag to generate shared objects directly from archives.
83812 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
83814 # Whether the compiler copes with passing no objects directly.
83815 compiler_needs_object=$lt_compiler_needs_object_CXX
83817 # Create an old-style archive from a shared archive.
83818 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
83820 # Create a temporary old-style archive to link instead of a shared archive.
83821 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
83823 # Commands used to build a shared archive.
83824 archive_cmds=$lt_archive_cmds_CXX
83825 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
83827 # Commands used to build a loadable module if different from building
83828 # a shared archive.
83829 module_cmds=$lt_module_cmds_CXX
83830 module_expsym_cmds=$lt_module_expsym_cmds_CXX
83832 # Whether we are building with GNU ld or not.
83833 with_gnu_ld=$lt_with_gnu_ld_CXX
83835 # Flag that allows shared libraries with undefined symbols to be built.
83836 allow_undefined_flag=$lt_allow_undefined_flag_CXX
83838 # Flag that enforces no undefined symbols.
83839 no_undefined_flag=$lt_no_undefined_flag_CXX
83841 # Flag to hardcode \$libdir into a binary during linking.
83842 # This must work even if \$libdir does not exist
83843 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
83845 # If ld is used when linking, flag to hardcode \$libdir into a binary
83846 # during linking. This must work even if \$libdir does not exist.
83847 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
83849 # Whether we need a single "-rpath" flag with a separated argument.
83850 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
83852 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83853 # DIR into the resulting binary.
83854 hardcode_direct=$hardcode_direct_CXX
83856 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83857 # DIR into the resulting binary and the resulting library dependency is
83858 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
83859 # library is relocated.
83860 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
83862 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
83863 # into the resulting binary.
83864 hardcode_minus_L=$hardcode_minus_L_CXX
83866 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
83867 # into the resulting binary.
83868 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
83870 # Set to "yes" if building a shared library automatically hardcodes DIR
83871 # into the library and all subsequent libraries and executables linked
83872 # against it.
83873 hardcode_automatic=$hardcode_automatic_CXX
83875 # Set to yes if linker adds runtime paths of dependent libraries
83876 # to runtime path list.
83877 inherit_rpath=$inherit_rpath_CXX
83879 # Whether libtool must link a program against all its dependency libraries.
83880 link_all_deplibs=$link_all_deplibs_CXX
83882 # Fix the shell variable \$srcfile for the compiler.
83883 fix_srcfile_path=$lt_fix_srcfile_path_CXX
83885 # Set to "yes" if exported symbols are required.
83886 always_export_symbols=$always_export_symbols_CXX
83888 # The commands to list exported symbols.
83889 export_symbols_cmds=$lt_export_symbols_cmds_CXX
83891 # Symbols that should not be listed in the preloaded symbols.
83892 exclude_expsyms=$lt_exclude_expsyms_CXX
83894 # Symbols that must always be exported.
83895 include_expsyms=$lt_include_expsyms_CXX
83897 # Commands necessary for linking programs (against libraries) with templates.
83898 prelink_cmds=$lt_prelink_cmds_CXX
83900 # Specify filename containing input files.
83901 file_list_spec=$lt_file_list_spec_CXX
83903 # How to hardcode a shared library path into an executable.
83904 hardcode_action=$hardcode_action_CXX
83906 # The directories searched by this compiler when creating a shared library.
83907 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
83909 # Dependencies to place before and after the objects being linked to
83910 # create a shared library.
83911 predep_objects=$lt_predep_objects_CXX
83912 postdep_objects=$lt_postdep_objects_CXX
83913 predeps=$lt_predeps_CXX
83914 postdeps=$lt_postdeps_CXX
83916 # The library search path used internally by the compiler when linking
83917 # a shared library.
83918 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
83920 # ### END LIBTOOL TAG CONFIG: CXX
83921 _LT_EOF
83924 "include/gstdint.h":C)
83925 if test "$GCC" = yes; then
83926 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
83927 else
83928 echo "/* generated for $CC */" > tmp-stdint.h
83931 sed 's/^ *//' >> tmp-stdint.h <<EOF
83933 #ifndef GCC_GENERATED_STDINT_H
83934 #define GCC_GENERATED_STDINT_H 1
83936 #include <sys/types.h>
83939 if test "$acx_cv_header_stdint" != stdint.h; then
83940 echo "#include <stddef.h>" >> tmp-stdint.h
83942 if test "$acx_cv_header_stdint" != stddef.h; then
83943 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
83946 sed 's/^ *//' >> tmp-stdint.h <<EOF
83947 /* glibc uses these symbols as guards to prevent redefinitions. */
83948 #ifdef __int8_t_defined
83949 #define _INT8_T
83950 #define _INT16_T
83951 #define _INT32_T
83952 #endif
83953 #ifdef __uint32_t_defined
83954 #define _UINT32_T
83955 #endif
83959 # ----------------- done header, emit basic int types -------------
83960 if test "$acx_cv_header_stdint" = stddef.h; then
83961 sed 's/^ *//' >> tmp-stdint.h <<EOF
83963 #ifndef _UINT8_T
83964 #define _UINT8_T
83965 #ifndef __uint8_t_defined
83966 #define __uint8_t_defined
83967 #ifndef uint8_t
83968 typedef unsigned $acx_cv_type_int8_t uint8_t;
83969 #endif
83970 #endif
83971 #endif
83973 #ifndef _UINT16_T
83974 #define _UINT16_T
83975 #ifndef __uint16_t_defined
83976 #define __uint16_t_defined
83977 #ifndef uint16_t
83978 typedef unsigned $acx_cv_type_int16_t uint16_t;
83979 #endif
83980 #endif
83981 #endif
83983 #ifndef _UINT32_T
83984 #define _UINT32_T
83985 #ifndef __uint32_t_defined
83986 #define __uint32_t_defined
83987 #ifndef uint32_t
83988 typedef unsigned $acx_cv_type_int32_t uint32_t;
83989 #endif
83990 #endif
83991 #endif
83993 #ifndef _INT8_T
83994 #define _INT8_T
83995 #ifndef __int8_t_defined
83996 #define __int8_t_defined
83997 #ifndef int8_t
83998 typedef $acx_cv_type_int8_t int8_t;
83999 #endif
84000 #endif
84001 #endif
84003 #ifndef _INT16_T
84004 #define _INT16_T
84005 #ifndef __int16_t_defined
84006 #define __int16_t_defined
84007 #ifndef int16_t
84008 typedef $acx_cv_type_int16_t int16_t;
84009 #endif
84010 #endif
84011 #endif
84013 #ifndef _INT32_T
84014 #define _INT32_T
84015 #ifndef __int32_t_defined
84016 #define __int32_t_defined
84017 #ifndef int32_t
84018 typedef $acx_cv_type_int32_t int32_t;
84019 #endif
84020 #endif
84021 #endif
84023 elif test "$ac_cv_type_u_int32_t" = yes; then
84024 sed 's/^ *//' >> tmp-stdint.h <<EOF
84026 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
84027 #ifndef _INT8_T
84028 #define _INT8_T
84029 #endif
84030 #ifndef _INT16_T
84031 #define _INT16_T
84032 #endif
84033 #ifndef _INT32_T
84034 #define _INT32_T
84035 #endif
84037 #ifndef _UINT8_T
84038 #define _UINT8_T
84039 #ifndef __uint8_t_defined
84040 #define __uint8_t_defined
84041 #ifndef uint8_t
84042 typedef u_int8_t uint8_t;
84043 #endif
84044 #endif
84045 #endif
84047 #ifndef _UINT16_T
84048 #define _UINT16_T
84049 #ifndef __uint16_t_defined
84050 #define __uint16_t_defined
84051 #ifndef uint16_t
84052 typedef u_int16_t uint16_t;
84053 #endif
84054 #endif
84055 #endif
84057 #ifndef _UINT32_T
84058 #define _UINT32_T
84059 #ifndef __uint32_t_defined
84060 #define __uint32_t_defined
84061 #ifndef uint32_t
84062 typedef u_int32_t uint32_t;
84063 #endif
84064 #endif
84065 #endif
84067 else
84068 sed 's/^ *//' >> tmp-stdint.h <<EOF
84070 /* Some systems have guard macros to prevent redefinitions, define them. */
84071 #ifndef _INT8_T
84072 #define _INT8_T
84073 #endif
84074 #ifndef _INT16_T
84075 #define _INT16_T
84076 #endif
84077 #ifndef _INT32_T
84078 #define _INT32_T
84079 #endif
84080 #ifndef _UINT8_T
84081 #define _UINT8_T
84082 #endif
84083 #ifndef _UINT16_T
84084 #define _UINT16_T
84085 #endif
84086 #ifndef _UINT32_T
84087 #define _UINT32_T
84088 #endif
84092 # ------------- done basic int types, emit int64_t types ------------
84093 if test "$ac_cv_type_uint64_t" = yes; then
84094 sed 's/^ *//' >> tmp-stdint.h <<EOF
84096 /* system headers have good uint64_t and int64_t */
84097 #ifndef _INT64_T
84098 #define _INT64_T
84099 #endif
84100 #ifndef _UINT64_T
84101 #define _UINT64_T
84102 #endif
84104 elif test "$ac_cv_type_u_int64_t" = yes; then
84105 sed 's/^ *//' >> tmp-stdint.h <<EOF
84107 /* system headers have an u_int64_t (and int64_t) */
84108 #ifndef _INT64_T
84109 #define _INT64_T
84110 #endif
84111 #ifndef _UINT64_T
84112 #define _UINT64_T
84113 #ifndef __uint64_t_defined
84114 #define __uint64_t_defined
84115 #ifndef uint64_t
84116 typedef u_int64_t uint64_t;
84117 #endif
84118 #endif
84119 #endif
84121 elif test -n "$acx_cv_type_int64_t"; then
84122 sed 's/^ *//' >> tmp-stdint.h <<EOF
84124 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
84125 #ifndef _INT64_T
84126 #define _INT64_T
84127 #ifndef int64_t
84128 typedef $acx_cv_type_int64_t int64_t;
84129 #endif
84130 #endif
84131 #ifndef _UINT64_T
84132 #define _UINT64_T
84133 #ifndef __uint64_t_defined
84134 #define __uint64_t_defined
84135 #ifndef uint64_t
84136 typedef unsigned $acx_cv_type_int64_t uint64_t;
84137 #endif
84138 #endif
84139 #endif
84141 else
84142 sed 's/^ *//' >> tmp-stdint.h <<EOF
84144 /* some common heuristics for int64_t, using compiler-specific tests */
84145 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
84146 #ifndef _INT64_T
84147 #define _INT64_T
84148 #ifndef __int64_t_defined
84149 #ifndef int64_t
84150 typedef long long int64_t;
84151 #endif
84152 #endif
84153 #endif
84154 #ifndef _UINT64_T
84155 #define _UINT64_T
84156 #ifndef uint64_t
84157 typedef unsigned long long uint64_t;
84158 #endif
84159 #endif
84161 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
84162 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
84163 does not implement __extension__. But that compiler doesn't define
84164 __GNUC_MINOR__. */
84165 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
84166 # define __extension__
84167 # endif
84169 # ifndef _INT64_T
84170 # define _INT64_T
84171 # ifndef int64_t
84172 __extension__ typedef long long int64_t;
84173 # endif
84174 # endif
84175 # ifndef _UINT64_T
84176 # define _UINT64_T
84177 # ifndef uint64_t
84178 __extension__ typedef unsigned long long uint64_t;
84179 # endif
84180 # endif
84182 #elif !defined __STRICT_ANSI__
84183 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
84185 # ifndef _INT64_T
84186 # define _INT64_T
84187 # ifndef int64_t
84188 typedef __int64 int64_t;
84189 # endif
84190 # endif
84191 # ifndef _UINT64_T
84192 # define _UINT64_T
84193 # ifndef uint64_t
84194 typedef unsigned __int64 uint64_t;
84195 # endif
84196 # endif
84197 # endif /* compiler */
84199 #endif /* ANSI version */
84203 # ------------- done int64_t types, emit intptr types ------------
84204 if test "$ac_cv_type_uintptr_t" != yes; then
84205 sed 's/^ *//' >> tmp-stdint.h <<EOF
84207 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
84208 #ifndef __uintptr_t_defined
84209 #ifndef uintptr_t
84210 typedef u$acx_cv_type_intptr_t uintptr_t;
84211 #endif
84212 #endif
84213 #ifndef __intptr_t_defined
84214 #ifndef intptr_t
84215 typedef $acx_cv_type_intptr_t intptr_t;
84216 #endif
84217 #endif
84221 # ------------- done intptr types, emit int_least types ------------
84222 if test "$ac_cv_type_int_least32_t" != yes; then
84223 sed 's/^ *//' >> tmp-stdint.h <<EOF
84225 /* Define int_least types */
84226 typedef int8_t int_least8_t;
84227 typedef int16_t int_least16_t;
84228 typedef int32_t int_least32_t;
84229 #ifdef _INT64_T
84230 typedef int64_t int_least64_t;
84231 #endif
84233 typedef uint8_t uint_least8_t;
84234 typedef uint16_t uint_least16_t;
84235 typedef uint32_t uint_least32_t;
84236 #ifdef _UINT64_T
84237 typedef uint64_t uint_least64_t;
84238 #endif
84242 # ------------- done intptr types, emit int_fast types ------------
84243 if test "$ac_cv_type_int_fast32_t" != yes; then
84244 sed 's/^ *//' >> tmp-stdint.h <<EOF
84246 /* Define int_fast types. short is often slow */
84247 typedef int8_t int_fast8_t;
84248 typedef int int_fast16_t;
84249 typedef int32_t int_fast32_t;
84250 #ifdef _INT64_T
84251 typedef int64_t int_fast64_t;
84252 #endif
84254 typedef uint8_t uint_fast8_t;
84255 typedef unsigned int uint_fast16_t;
84256 typedef uint32_t uint_fast32_t;
84257 #ifdef _UINT64_T
84258 typedef uint64_t uint_fast64_t;
84259 #endif
84263 if test "$ac_cv_type_uintmax_t" != yes; then
84264 sed 's/^ *//' >> tmp-stdint.h <<EOF
84266 /* Define intmax based on what we found */
84267 #ifndef intmax_t
84268 #ifdef _INT64_T
84269 typedef int64_t intmax_t;
84270 #else
84271 typedef long intmax_t;
84272 #endif
84273 #endif
84274 #ifndef uintmax_t
84275 #ifdef _UINT64_T
84276 typedef uint64_t uintmax_t;
84277 #else
84278 typedef unsigned long uintmax_t;
84279 #endif
84280 #endif
84284 sed 's/^ *//' >> tmp-stdint.h <<EOF
84286 #endif /* GCC_GENERATED_STDINT_H */
84289 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
84290 rm -f tmp-stdint.h
84291 else
84292 mv -f tmp-stdint.h include/gstdint.h
84296 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
84297 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
84298 "include/Makefile":F) cat > vpsed$$ << \_EOF
84299 s!`test -f '$<' || echo '$(srcdir)/'`!!
84300 _EOF
84301 sed -f vpsed$$ $ac_file > tmp$$
84302 mv tmp$$ $ac_file
84303 rm vpsed$$
84304 echo 'MULTISUBDIR =' >> $ac_file
84305 ml_norecursion=yes
84306 . ${multi_basedir}/config-ml.in
84307 { ml_norecursion=; unset ml_norecursion;}
84309 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
84310 s!`test -f '$<' || echo '$(srcdir)/'`!!
84311 _EOF
84312 sed -f vpsed$$ $ac_file > tmp$$
84313 mv tmp$$ $ac_file
84314 rm vpsed$$
84315 echo 'MULTISUBDIR =' >> $ac_file
84316 ml_norecursion=yes
84317 . ${multi_basedir}/config-ml.in
84318 { ml_norecursion=; unset ml_norecursion;}
84320 "src/Makefile":F) cat > vpsed$$ << \_EOF
84321 s!`test -f '$<' || echo '$(srcdir)/'`!!
84322 _EOF
84323 sed -f vpsed$$ $ac_file > tmp$$
84324 mv tmp$$ $ac_file
84325 rm vpsed$$
84326 echo 'MULTISUBDIR =' >> $ac_file
84327 ml_norecursion=yes
84328 . ${multi_basedir}/config-ml.in
84329 { ml_norecursion=; unset ml_norecursion;}
84331 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
84332 s!`test -f '$<' || echo '$(srcdir)/'`!!
84333 _EOF
84334 sed -f vpsed$$ $ac_file > tmp$$
84335 mv tmp$$ $ac_file
84336 rm vpsed$$
84337 echo 'MULTISUBDIR =' >> $ac_file
84338 ml_norecursion=yes
84339 . ${multi_basedir}/config-ml.in
84340 { ml_norecursion=; unset ml_norecursion;}
84342 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
84343 s!`test -f '$<' || echo '$(srcdir)/'`!!
84344 _EOF
84345 sed -f vpsed$$ $ac_file > tmp$$
84346 mv tmp$$ $ac_file
84347 rm vpsed$$
84348 echo 'MULTISUBDIR =' >> $ac_file
84349 ml_norecursion=yes
84350 . ${multi_basedir}/config-ml.in
84351 { ml_norecursion=; unset ml_norecursion;}
84353 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
84354 s!`test -f '$<' || echo '$(srcdir)/'`!!
84355 _EOF
84356 sed -f vpsed$$ $ac_file > tmp$$
84357 mv tmp$$ $ac_file
84358 rm vpsed$$
84359 echo 'MULTISUBDIR =' >> $ac_file
84360 ml_norecursion=yes
84361 . ${multi_basedir}/config-ml.in
84362 { ml_norecursion=; unset ml_norecursion;}
84364 "doc/Makefile":F) cat > vpsed$$ << \_EOF
84365 s!`test -f '$<' || echo '$(srcdir)/'`!!
84366 _EOF
84367 sed -f vpsed$$ $ac_file > tmp$$
84368 mv tmp$$ $ac_file
84369 rm vpsed$$
84370 echo 'MULTISUBDIR =' >> $ac_file
84371 ml_norecursion=yes
84372 . ${multi_basedir}/config-ml.in
84373 { ml_norecursion=; unset ml_norecursion;}
84375 "po/Makefile":F) cat > vpsed$$ << \_EOF
84376 s!`test -f '$<' || echo '$(srcdir)/'`!!
84377 _EOF
84378 sed -f vpsed$$ $ac_file > tmp$$
84379 mv tmp$$ $ac_file
84380 rm vpsed$$
84381 echo 'MULTISUBDIR =' >> $ac_file
84382 ml_norecursion=yes
84383 . ${multi_basedir}/config-ml.in
84384 { ml_norecursion=; unset ml_norecursion;}
84386 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
84387 s!`test -f '$<' || echo '$(srcdir)/'`!!
84388 _EOF
84389 sed -f vpsed$$ $ac_file > tmp$$
84390 mv tmp$$ $ac_file
84391 rm vpsed$$
84392 echo 'MULTISUBDIR =' >> $ac_file
84393 ml_norecursion=yes
84394 . ${multi_basedir}/config-ml.in
84395 { ml_norecursion=; unset ml_norecursion;}
84397 "python/Makefile":F) cat > vpsed$$ << \_EOF
84398 s!`test -f '$<' || echo '$(srcdir)/'`!!
84399 _EOF
84400 sed -f vpsed$$ $ac_file > tmp$$
84401 mv tmp$$ $ac_file
84402 rm vpsed$$
84403 echo 'MULTISUBDIR =' >> $ac_file
84404 ml_norecursion=yes
84405 . ${multi_basedir}/config-ml.in
84406 { ml_norecursion=; unset ml_norecursion;}
84408 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
84410 esac
84411 done # for ac_tag
84414 as_fn_exit 0
84415 _ACEOF
84416 ac_clean_files=$ac_clean_files_save
84418 test $ac_write_fail = 0 ||
84419 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
84422 # configure is writing to config.log, and then calls config.status.
84423 # config.status does its own redirection, appending to config.log.
84424 # Unfortunately, on DOS this fails, as config.log is still kept open
84425 # by configure, so config.status won't be able to write to it; its
84426 # output is simply discarded. So we exec the FD to /dev/null,
84427 # effectively closing config.log, so it can be properly (re)opened and
84428 # appended to by config.status. When coming back to configure, we
84429 # need to make the FD available again.
84430 if test "$no_create" != yes; then
84431 ac_cs_success=:
84432 ac_config_status_args=
84433 test "$silent" = yes &&
84434 ac_config_status_args="$ac_config_status_args --quiet"
84435 exec 5>/dev/null
84436 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
84437 exec 5>>config.log
84438 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
84439 # would make configure fail if this is the last instruction.
84440 $ac_cs_success || as_fn_exit $?
84442 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
84443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
84444 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}