PR testsuite/85483: Move aarch64/sve/vcond_1.c test to g++.dg/other/
[official-gcc.git] / libstdc++-v3 / configure
blob49d12887d522578b94d613ad7a8053161c11cbe4
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 get_gcc_base_ver
606 WARN_FLAGS
607 OPTIMIZE_CXXFLAGS
608 TOPLEVEL_INCLUDES
609 GLIBCXX_INCLUDES
610 glibcxx_toolexeclibdir
611 glibcxx_toolexecdir
612 gxx_include_dir
613 glibcxx_prefixdir
614 EXTRA_CFLAGS
615 CPU_OPT_BITS_RANDOM
616 CPU_OPT_EXT_RANDOM
617 ERROR_CONSTANTS_SRCDIR
618 OS_INC_SRCDIR
619 ABI_TWEAKS_SRCDIR
620 CPU_DEFINES_SRCDIR
621 ATOMIC_FLAGS
622 ATOMIC_WORD_SRCDIR
623 ATOMICITY_SRCDIR
624 INCLUDE_DIR_NOTPARALLEL_FALSE
625 INCLUDE_DIR_NOTPARALLEL_TRUE
626 BUILD_PDF_FALSE
627 BUILD_PDF_TRUE
628 PDFLATEX
629 DBLATEX
630 BUILD_MAN_FALSE
631 BUILD_MAN_TRUE
632 BUILD_HTML_FALSE
633 BUILD_HTML_TRUE
634 BUILD_XML_FALSE
635 BUILD_XML_TRUE
636 BUILD_EPUB_FALSE
637 BUILD_EPUB_TRUE
638 XSL_STYLE_DIR
639 XMLLINT
640 XSLTPROC
642 DOXYGEN
643 BUILD_INFO_FALSE
644 BUILD_INFO_TRUE
645 ENABLE_FILESYSTEM_TS_FALSE
646 ENABLE_FILESYSTEM_TS_TRUE
647 baseline_subdir_switch
648 baseline_dir
649 HWCAP_CFLAGS
650 GLIBCXX_LDBL_COMPAT_FALSE
651 GLIBCXX_LDBL_COMPAT_TRUE
652 LONG_DOUBLE_COMPAT_FLAGS
653 ENABLE_CXX11_ABI_FALSE
654 ENABLE_CXX11_ABI_TRUE
655 glibcxx_cxx98_abi
656 ENABLE_DUAL_ABI_FALSE
657 ENABLE_DUAL_ABI_TRUE
658 ENABLE_VISIBILITY_FALSE
659 ENABLE_VISIBILITY_TRUE
660 libtool_VERSION
661 ENABLE_SYMVERS_SUN_FALSE
662 ENABLE_SYMVERS_SUN_TRUE
663 ENABLE_SYMVERS_DARWIN_FALSE
664 ENABLE_SYMVERS_DARWIN_TRUE
665 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
666 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
667 ENABLE_SYMVERS_GNU_FALSE
668 ENABLE_SYMVERS_GNU_TRUE
669 ENABLE_SYMVERS_FALSE
670 ENABLE_SYMVERS_TRUE
671 port_specific_symbol_files
672 SYMVER_FILE
673 CXXFILT
674 LTLIBICONV
675 LIBICONV
676 OPT_LDFLAGS
677 SECTION_LDFLAGS
678 GLIBCXX_LIBS
679 ENABLE_VTABLE_VERIFY_FALSE
680 ENABLE_VTABLE_VERIFY_TRUE
681 VTV_CYGMIN_FALSE
682 VTV_CYGMIN_TRUE
683 VTV_CXXLINKFLAGS
684 VTV_PCH_CXXFLAGS
685 VTV_CXXFLAGS
686 ENABLE_WERROR_FALSE
687 ENABLE_WERROR_TRUE
688 ENABLE_PYTHONDIR_FALSE
689 ENABLE_PYTHONDIR_TRUE
690 python_mod_dir
691 ENABLE_EXTERN_TEMPLATE_FALSE
692 ENABLE_EXTERN_TEMPLATE_TRUE
693 EXTRA_CXX_FLAGS
694 GLIBCXX_BUILD_DEBUG_FALSE
695 GLIBCXX_BUILD_DEBUG_TRUE
696 DEBUG_FLAGS
697 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
698 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
699 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
700 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
701 GLIBCXX_C_HEADERS_C_STD_FALSE
702 GLIBCXX_C_HEADERS_C_STD_TRUE
703 GLIBCXX_C_HEADERS_C_FALSE
704 GLIBCXX_C_HEADERS_C_TRUE
705 C_INCLUDE_DIR
706 ALLOCATOR_NAME
707 ALLOCATOR_H
708 ENABLE_ALLOCATOR_NEW_FALSE
709 ENABLE_ALLOCATOR_NEW_TRUE
710 CLOCALE_INTERNAL_H
711 CLOCALE_CC
712 CTIME_CC
713 CTIME_H
714 CNUMERIC_CC
715 CMONEY_CC
716 CMESSAGES_CC
717 CCTYPE_CC
718 CCOLLATE_CC
719 CCODECVT_CC
720 CMESSAGES_H
721 CLOCALE_H
722 USE_NLS
723 glibcxx_localedir
724 glibcxx_POFILES
725 glibcxx_MOFILES
726 check_msgfmt
727 BASIC_FILE_CC
728 BASIC_FILE_H
729 CSTDIO_H
730 SECTION_FLAGS
731 WERROR
732 thread_header
733 glibcxx_PCHFLAGS
734 GLIBCXX_BUILD_PCH_FALSE
735 GLIBCXX_BUILD_PCH_TRUE
736 GLIBCXX_HOSTED_FALSE
737 GLIBCXX_HOSTED_TRUE
738 glibcxx_compiler_shared_flag
739 glibcxx_compiler_pic_flag
740 glibcxx_lt_pic_flag
741 enable_static
742 enable_shared
743 lt_host_flags
744 CXXCPP
745 OTOOL64
746 OTOOL
747 LIPO
748 NMEDIT
749 DSYMUTIL
750 OBJDUMP
752 ac_ct_DUMPBIN
753 DUMPBIN
755 FGREP
757 LIBTOOL
758 EGREP
759 GREP
761 MAINT
762 MAINTAINER_MODE_FALSE
763 MAINTAINER_MODE_TRUE
764 RANLIB
767 LN_S
768 toplevel_srcdir
769 toplevel_builddir
770 glibcxx_srcdir
771 glibcxx_builddir
772 ac_ct_CXX
773 CXXFLAGS
775 OBJEXT
776 EXEEXT
777 ac_ct_CC
778 CPPFLAGS
779 LDFLAGS
780 CFLAGS
782 am__untar
783 am__tar
784 AMTAR
785 am__leading_dot
786 SET_MAKE
788 mkdir_p
789 MKDIR_P
790 INSTALL_STRIP_PROGRAM
791 STRIP
792 install_sh
793 MAKEINFO
794 AUTOHEADER
795 AUTOMAKE
796 AUTOCONF
797 ACLOCAL
798 VERSION
799 PACKAGE
800 CYGPATH_W
801 am__isrc
802 INSTALL_DATA
803 INSTALL_SCRIPT
804 INSTALL_PROGRAM
805 target_os
806 target_vendor
807 target_cpu
808 target
809 host_os
810 host_vendor
811 host_cpu
812 host
813 build_os
814 build_vendor
815 build_cpu
816 build
817 multi_basedir
818 target_alias
819 host_alias
820 build_alias
821 LIBS
822 ECHO_T
823 ECHO_N
824 ECHO_C
825 DEFS
826 mandir
827 localedir
828 libdir
829 psdir
830 pdfdir
831 dvidir
832 htmldir
833 infodir
834 docdir
835 oldincludedir
836 includedir
837 localstatedir
838 sharedstatedir
839 sysconfdir
840 datadir
841 datarootdir
842 libexecdir
843 sbindir
844 bindir
845 program_transform_name
846 prefix
847 exec_prefix
848 PACKAGE_URL
849 PACKAGE_BUGREPORT
850 PACKAGE_STRING
851 PACKAGE_VERSION
852 PACKAGE_TARNAME
853 PACKAGE_NAME
854 PATH_SEPARATOR
855 SHELL'
856 ac_subst_files=''
857 ac_user_opts='
858 enable_option_checking
859 enable_multilib
860 with_target_subdir
861 with_cross_host
862 with_newlib
863 enable_maintainer_mode
864 enable_shared
865 enable_static
866 with_pic
867 enable_fast_install
868 with_gnu_ld
869 enable_libtool_lock
870 enable_hosted_libstdcxx
871 enable_libstdcxx_verbose
872 enable_libstdcxx_pch
873 enable_cstdio
874 enable_clocale
875 enable_nls
876 enable_libstdcxx_allocator
877 enable_cheaders
878 enable_long_long
879 enable_wchar_t
880 enable_c99
881 enable_concept_checks
882 enable_libstdcxx_debug_flags
883 enable_libstdcxx_debug
884 enable_cxx_flags
885 enable_fully_dynamic_string
886 enable_extern_template
887 with_python_dir
888 enable_werror
889 enable_vtable_verify
890 enable_libstdcxx_time
891 enable_tls
892 enable_rpath
893 with_libiconv_prefix
894 with_system_libunwind
895 enable_linux_futex
896 enable_symvers
897 enable_libstdcxx_visibility
898 enable_libstdcxx_dual_abi
899 with_default_libstdcxx_abi
900 enable_libstdcxx_threads
901 enable_libstdcxx_filesystem_ts
902 enable_cet
903 with_gxx_include_dir
904 enable_version_specific_runtime_libs
905 with_gcc_major_version_only
907 ac_precious_vars='build_alias
908 host_alias
909 target_alias
911 CFLAGS
912 LDFLAGS
913 LIBS
914 CPPFLAGS
916 CXXFLAGS
919 CXXCPP
920 CXXFILT'
923 # Initialize some variables set by options.
924 ac_init_help=
925 ac_init_version=false
926 ac_unrecognized_opts=
927 ac_unrecognized_sep=
928 # The variables have the same names as the options, with
929 # dashes changed to underlines.
930 cache_file=/dev/null
931 exec_prefix=NONE
932 no_create=
933 no_recursion=
934 prefix=NONE
935 program_prefix=NONE
936 program_suffix=NONE
937 program_transform_name=s,x,x,
938 silent=
939 site=
940 srcdir=
941 verbose=
942 x_includes=NONE
943 x_libraries=NONE
945 # Installation directory options.
946 # These are left unexpanded so users can "make install exec_prefix=/foo"
947 # and all the variables that are supposed to be based on exec_prefix
948 # by default will actually change.
949 # Use braces instead of parens because sh, perl, etc. also accept them.
950 # (The list follows the same order as the GNU Coding Standards.)
951 bindir='${exec_prefix}/bin'
952 sbindir='${exec_prefix}/sbin'
953 libexecdir='${exec_prefix}/libexec'
954 datarootdir='${prefix}/share'
955 datadir='${datarootdir}'
956 sysconfdir='${prefix}/etc'
957 sharedstatedir='${prefix}/com'
958 localstatedir='${prefix}/var'
959 includedir='${prefix}/include'
960 oldincludedir='/usr/include'
961 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
962 infodir='${datarootdir}/info'
963 htmldir='${docdir}'
964 dvidir='${docdir}'
965 pdfdir='${docdir}'
966 psdir='${docdir}'
967 libdir='${exec_prefix}/lib'
968 localedir='${datarootdir}/locale'
969 mandir='${datarootdir}/man'
971 ac_prev=
972 ac_dashdash=
973 for ac_option
975 # If the previous option needs an argument, assign it.
976 if test -n "$ac_prev"; then
977 eval $ac_prev=\$ac_option
978 ac_prev=
979 continue
982 case $ac_option in
983 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
984 *) ac_optarg=yes ;;
985 esac
987 # Accept the important Cygnus configure options, so we can diagnose typos.
989 case $ac_dashdash$ac_option in
991 ac_dashdash=yes ;;
993 -bindir | --bindir | --bindi | --bind | --bin | --bi)
994 ac_prev=bindir ;;
995 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
996 bindir=$ac_optarg ;;
998 -build | --build | --buil | --bui | --bu)
999 ac_prev=build_alias ;;
1000 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1001 build_alias=$ac_optarg ;;
1003 -cache-file | --cache-file | --cache-fil | --cache-fi \
1004 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1005 ac_prev=cache_file ;;
1006 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1007 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1008 cache_file=$ac_optarg ;;
1010 --config-cache | -C)
1011 cache_file=config.cache ;;
1013 -datadir | --datadir | --datadi | --datad)
1014 ac_prev=datadir ;;
1015 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1016 datadir=$ac_optarg ;;
1018 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1019 | --dataroo | --dataro | --datar)
1020 ac_prev=datarootdir ;;
1021 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1022 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1023 datarootdir=$ac_optarg ;;
1025 -disable-* | --disable-*)
1026 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1027 # Reject names that are not valid shell variable names.
1028 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1029 as_fn_error "invalid feature name: $ac_useropt"
1030 ac_useropt_orig=$ac_useropt
1031 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1032 case $ac_user_opts in
1034 "enable_$ac_useropt"
1035 "*) ;;
1036 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1037 ac_unrecognized_sep=', ';;
1038 esac
1039 eval enable_$ac_useropt=no ;;
1041 -docdir | --docdir | --docdi | --doc | --do)
1042 ac_prev=docdir ;;
1043 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1044 docdir=$ac_optarg ;;
1046 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1047 ac_prev=dvidir ;;
1048 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1049 dvidir=$ac_optarg ;;
1051 -enable-* | --enable-*)
1052 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1053 # Reject names that are not valid shell variable names.
1054 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1055 as_fn_error "invalid feature name: $ac_useropt"
1056 ac_useropt_orig=$ac_useropt
1057 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1058 case $ac_user_opts in
1060 "enable_$ac_useropt"
1061 "*) ;;
1062 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1063 ac_unrecognized_sep=', ';;
1064 esac
1065 eval enable_$ac_useropt=\$ac_optarg ;;
1067 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1068 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1069 | --exec | --exe | --ex)
1070 ac_prev=exec_prefix ;;
1071 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1072 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1073 | --exec=* | --exe=* | --ex=*)
1074 exec_prefix=$ac_optarg ;;
1076 -gas | --gas | --ga | --g)
1077 # Obsolete; use --with-gas.
1078 with_gas=yes ;;
1080 -help | --help | --hel | --he | -h)
1081 ac_init_help=long ;;
1082 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1083 ac_init_help=recursive ;;
1084 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1085 ac_init_help=short ;;
1087 -host | --host | --hos | --ho)
1088 ac_prev=host_alias ;;
1089 -host=* | --host=* | --hos=* | --ho=*)
1090 host_alias=$ac_optarg ;;
1092 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1093 ac_prev=htmldir ;;
1094 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1095 | --ht=*)
1096 htmldir=$ac_optarg ;;
1098 -includedir | --includedir | --includedi | --included | --include \
1099 | --includ | --inclu | --incl | --inc)
1100 ac_prev=includedir ;;
1101 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1102 | --includ=* | --inclu=* | --incl=* | --inc=*)
1103 includedir=$ac_optarg ;;
1105 -infodir | --infodir | --infodi | --infod | --info | --inf)
1106 ac_prev=infodir ;;
1107 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1108 infodir=$ac_optarg ;;
1110 -libdir | --libdir | --libdi | --libd)
1111 ac_prev=libdir ;;
1112 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1113 libdir=$ac_optarg ;;
1115 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1116 | --libexe | --libex | --libe)
1117 ac_prev=libexecdir ;;
1118 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1119 | --libexe=* | --libex=* | --libe=*)
1120 libexecdir=$ac_optarg ;;
1122 -localedir | --localedir | --localedi | --localed | --locale)
1123 ac_prev=localedir ;;
1124 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1125 localedir=$ac_optarg ;;
1127 -localstatedir | --localstatedir | --localstatedi | --localstated \
1128 | --localstate | --localstat | --localsta | --localst | --locals)
1129 ac_prev=localstatedir ;;
1130 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1131 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1132 localstatedir=$ac_optarg ;;
1134 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1135 ac_prev=mandir ;;
1136 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1137 mandir=$ac_optarg ;;
1139 -nfp | --nfp | --nf)
1140 # Obsolete; use --without-fp.
1141 with_fp=no ;;
1143 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1144 | --no-cr | --no-c | -n)
1145 no_create=yes ;;
1147 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1148 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1149 no_recursion=yes ;;
1151 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1152 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1153 | --oldin | --oldi | --old | --ol | --o)
1154 ac_prev=oldincludedir ;;
1155 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1156 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1157 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1158 oldincludedir=$ac_optarg ;;
1160 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1161 ac_prev=prefix ;;
1162 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1163 prefix=$ac_optarg ;;
1165 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1166 | --program-pre | --program-pr | --program-p)
1167 ac_prev=program_prefix ;;
1168 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1169 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1170 program_prefix=$ac_optarg ;;
1172 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1173 | --program-suf | --program-su | --program-s)
1174 ac_prev=program_suffix ;;
1175 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1176 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1177 program_suffix=$ac_optarg ;;
1179 -program-transform-name | --program-transform-name \
1180 | --program-transform-nam | --program-transform-na \
1181 | --program-transform-n | --program-transform- \
1182 | --program-transform | --program-transfor \
1183 | --program-transfo | --program-transf \
1184 | --program-trans | --program-tran \
1185 | --progr-tra | --program-tr | --program-t)
1186 ac_prev=program_transform_name ;;
1187 -program-transform-name=* | --program-transform-name=* \
1188 | --program-transform-nam=* | --program-transform-na=* \
1189 | --program-transform-n=* | --program-transform-=* \
1190 | --program-transform=* | --program-transfor=* \
1191 | --program-transfo=* | --program-transf=* \
1192 | --program-trans=* | --program-tran=* \
1193 | --progr-tra=* | --program-tr=* | --program-t=*)
1194 program_transform_name=$ac_optarg ;;
1196 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1197 ac_prev=pdfdir ;;
1198 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1199 pdfdir=$ac_optarg ;;
1201 -psdir | --psdir | --psdi | --psd | --ps)
1202 ac_prev=psdir ;;
1203 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1204 psdir=$ac_optarg ;;
1206 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1207 | -silent | --silent | --silen | --sile | --sil)
1208 silent=yes ;;
1210 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1211 ac_prev=sbindir ;;
1212 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1213 | --sbi=* | --sb=*)
1214 sbindir=$ac_optarg ;;
1216 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1217 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1218 | --sharedst | --shareds | --shared | --share | --shar \
1219 | --sha | --sh)
1220 ac_prev=sharedstatedir ;;
1221 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1222 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1223 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1224 | --sha=* | --sh=*)
1225 sharedstatedir=$ac_optarg ;;
1227 -site | --site | --sit)
1228 ac_prev=site ;;
1229 -site=* | --site=* | --sit=*)
1230 site=$ac_optarg ;;
1232 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1233 ac_prev=srcdir ;;
1234 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1235 srcdir=$ac_optarg ;;
1237 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1238 | --syscon | --sysco | --sysc | --sys | --sy)
1239 ac_prev=sysconfdir ;;
1240 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1241 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1242 sysconfdir=$ac_optarg ;;
1244 -target | --target | --targe | --targ | --tar | --ta | --t)
1245 ac_prev=target_alias ;;
1246 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1247 target_alias=$ac_optarg ;;
1249 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1250 verbose=yes ;;
1252 -version | --version | --versio | --versi | --vers | -V)
1253 ac_init_version=: ;;
1255 -with-* | --with-*)
1256 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1257 # Reject names that are not valid shell variable names.
1258 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1259 as_fn_error "invalid package name: $ac_useropt"
1260 ac_useropt_orig=$ac_useropt
1261 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1262 case $ac_user_opts in
1264 "with_$ac_useropt"
1265 "*) ;;
1266 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1267 ac_unrecognized_sep=', ';;
1268 esac
1269 eval with_$ac_useropt=\$ac_optarg ;;
1271 -without-* | --without-*)
1272 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1273 # Reject names that are not valid shell variable names.
1274 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1275 as_fn_error "invalid package name: $ac_useropt"
1276 ac_useropt_orig=$ac_useropt
1277 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1278 case $ac_user_opts in
1280 "with_$ac_useropt"
1281 "*) ;;
1282 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1283 ac_unrecognized_sep=', ';;
1284 esac
1285 eval with_$ac_useropt=no ;;
1287 --x)
1288 # Obsolete; use --with-x.
1289 with_x=yes ;;
1291 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1292 | --x-incl | --x-inc | --x-in | --x-i)
1293 ac_prev=x_includes ;;
1294 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1295 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1296 x_includes=$ac_optarg ;;
1298 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1299 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1300 ac_prev=x_libraries ;;
1301 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1302 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1303 x_libraries=$ac_optarg ;;
1305 -*) as_fn_error "unrecognized option: \`$ac_option'
1306 Try \`$0 --help' for more information."
1309 *=*)
1310 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1311 # Reject names that are not valid shell variable names.
1312 case $ac_envvar in #(
1313 '' | [0-9]* | *[!_$as_cr_alnum]* )
1314 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1315 esac
1316 eval $ac_envvar=\$ac_optarg
1317 export $ac_envvar ;;
1320 # FIXME: should be removed in autoconf 3.0.
1321 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1322 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1323 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1324 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1327 esac
1328 done
1330 if test -n "$ac_prev"; then
1331 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1332 as_fn_error "missing argument to $ac_option"
1335 if test -n "$ac_unrecognized_opts"; then
1336 case $enable_option_checking in
1337 no) ;;
1338 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1339 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1340 esac
1343 # Check all directory arguments for consistency.
1344 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1345 datadir sysconfdir sharedstatedir localstatedir includedir \
1346 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1347 libdir localedir mandir
1349 eval ac_val=\$$ac_var
1350 # Remove trailing slashes.
1351 case $ac_val in
1352 */ )
1353 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1354 eval $ac_var=\$ac_val;;
1355 esac
1356 # Be sure to have absolute directory names.
1357 case $ac_val in
1358 [\\/$]* | ?:[\\/]* ) continue;;
1359 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1360 esac
1361 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1362 done
1364 # There might be people who depend on the old broken behavior: `$host'
1365 # used to hold the argument of --host etc.
1366 # FIXME: To remove some day.
1367 build=$build_alias
1368 host=$host_alias
1369 target=$target_alias
1371 # FIXME: To remove some day.
1372 if test "x$host_alias" != x; then
1373 if test "x$build_alias" = x; then
1374 cross_compiling=maybe
1375 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1376 If a cross compiler is detected then cross compile mode will be used." >&2
1377 elif test "x$build_alias" != "x$host_alias"; then
1378 cross_compiling=yes
1382 ac_tool_prefix=
1383 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1385 test "$silent" = yes && exec 6>/dev/null
1388 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1389 ac_ls_di=`ls -di .` &&
1390 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1391 as_fn_error "working directory cannot be determined"
1392 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1393 as_fn_error "pwd does not report name of working directory"
1396 # Find the source files, if location was not specified.
1397 if test -z "$srcdir"; then
1398 ac_srcdir_defaulted=yes
1399 # Try the directory containing this script, then the parent directory.
1400 ac_confdir=`$as_dirname -- "$as_myself" ||
1401 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1402 X"$as_myself" : 'X\(//\)[^/]' \| \
1403 X"$as_myself" : 'X\(//\)$' \| \
1404 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1405 $as_echo X"$as_myself" |
1406 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1407 s//\1/
1410 /^X\(\/\/\)[^/].*/{
1411 s//\1/
1414 /^X\(\/\/\)$/{
1415 s//\1/
1418 /^X\(\/\).*/{
1419 s//\1/
1422 s/.*/./; q'`
1423 srcdir=$ac_confdir
1424 if test ! -r "$srcdir/$ac_unique_file"; then
1425 srcdir=..
1427 else
1428 ac_srcdir_defaulted=no
1430 if test ! -r "$srcdir/$ac_unique_file"; then
1431 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1432 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1434 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1435 ac_abs_confdir=`(
1436 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1437 pwd)`
1438 # When building in place, set srcdir=.
1439 if test "$ac_abs_confdir" = "$ac_pwd"; then
1440 srcdir=.
1442 # Remove unnecessary trailing slashes from srcdir.
1443 # Double slashes in file names in object file debugging info
1444 # mess up M-x gdb in Emacs.
1445 case $srcdir in
1446 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1447 esac
1448 for ac_var in $ac_precious_vars; do
1449 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1450 eval ac_env_${ac_var}_value=\$${ac_var}
1451 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1452 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1453 done
1456 # Report the --help message.
1458 if test "$ac_init_help" = "long"; then
1459 # Omit some internal or obsolete options to make the list less imposing.
1460 # This message is too long to be a string in the A/UX 3.1 sh.
1461 cat <<_ACEOF
1462 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1464 Usage: $0 [OPTION]... [VAR=VALUE]...
1466 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1467 VAR=VALUE. See below for descriptions of some of the useful variables.
1469 Defaults for the options are specified in brackets.
1471 Configuration:
1472 -h, --help display this help and exit
1473 --help=short display options specific to this package
1474 --help=recursive display the short help of all the included packages
1475 -V, --version display version information and exit
1476 -q, --quiet, --silent do not print \`checking...' messages
1477 --cache-file=FILE cache test results in FILE [disabled]
1478 -C, --config-cache alias for \`--cache-file=config.cache'
1479 -n, --no-create do not create output files
1480 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1482 Installation directories:
1483 --prefix=PREFIX install architecture-independent files in PREFIX
1484 [$ac_default_prefix]
1485 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1486 [PREFIX]
1488 By default, \`make install' will install all the files in
1489 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1490 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1491 for instance \`--prefix=\$HOME'.
1493 For better control, use the options below.
1495 Fine tuning of the installation directories:
1496 --bindir=DIR user executables [EPREFIX/bin]
1497 --sbindir=DIR system admin executables [EPREFIX/sbin]
1498 --libexecdir=DIR program executables [EPREFIX/libexec]
1499 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1500 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1501 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1502 --libdir=DIR object code libraries [EPREFIX/lib]
1503 --includedir=DIR C header files [PREFIX/include]
1504 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1505 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1506 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1507 --infodir=DIR info documentation [DATAROOTDIR/info]
1508 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1509 --mandir=DIR man documentation [DATAROOTDIR/man]
1510 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1511 --htmldir=DIR html documentation [DOCDIR]
1512 --dvidir=DIR dvi documentation [DOCDIR]
1513 --pdfdir=DIR pdf documentation [DOCDIR]
1514 --psdir=DIR ps documentation [DOCDIR]
1515 _ACEOF
1517 cat <<\_ACEOF
1519 Program names:
1520 --program-prefix=PREFIX prepend PREFIX to installed program names
1521 --program-suffix=SUFFIX append SUFFIX to installed program names
1522 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1524 System types:
1525 --build=BUILD configure for building on BUILD [guessed]
1526 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1527 --target=TARGET configure for building compilers for TARGET [HOST]
1528 _ACEOF
1531 if test -n "$ac_init_help"; then
1532 case $ac_init_help in
1533 short | recursive ) echo "Configuration of package-unused version-unused:";;
1534 esac
1535 cat <<\_ACEOF
1537 Optional Features:
1538 --disable-option-checking ignore unrecognized --enable/--with options
1539 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1540 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1541 --enable-multilib build many library versions (default)
1542 --enable-maintainer-mode enable make rules and dependencies not useful
1543 (and sometimes confusing) to the casual installer
1544 --enable-shared[=PKGS] build shared libraries [default=yes]
1545 --enable-static[=PKGS] build static libraries [default=yes]
1546 --enable-fast-install[=PKGS]
1547 optimize for fast installation [default=yes]
1548 --disable-libtool-lock avoid locking (might break parallel builds)
1549 --disable-hosted-libstdcxx
1550 only build freestanding C++ runtime support
1551 --disable-libstdcxx-verbose
1552 disable termination messages to standard error
1553 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1554 [default=$is_hosted]
1555 --enable-cstdio[=PACKAGE]
1556 use target-specific I/O package [default=stdio]
1557 --enable-clocale[=MODEL]
1558 use MODEL for target locale package [default=auto]
1559 --enable-nls use Native Language Support (default)
1560 --enable-libstdcxx-allocator[=KIND]
1561 use KIND for target std::allocator base
1562 [default=auto]
1563 --enable-cheaders[=KIND]
1564 construct "C" headers for g++ [default=$c_model]
1565 --enable-long-long enable template specializations for 'long long'
1566 [default=yes]
1567 --enable-wchar_t enable template specializations for 'wchar_t'
1568 [default=yes]
1569 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1570 --enable-concept-checks use Boost-derived template checks [default=no]
1571 --enable-libstdcxx-debug-flags=FLAGS
1572 pass compiler FLAGS when building debug library
1573 [default="-gdwarf-4 -g3 -O0"]
1574 --enable-libstdcxx-debug
1575 build extra debug library [default=no]
1576 --enable-cxx-flags=FLAGS
1577 pass compiler FLAGS when building library [default=]
1578 --enable-fully-dynamic-string
1579 do not put empty strings in per-process static
1580 memory [default=no]
1581 --enable-extern-template
1582 enable extern template [default=yes]
1583 --enable-werror turns on -Werror [default=yes]
1584 --enable-vtable-verify enable vtable verify [default=no]
1585 --enable-libstdcxx-time[=KIND]
1586 use KIND for check type [default=auto]
1587 --enable-tls Use thread-local storage [default=yes]
1588 --disable-rpath do not hardcode runtime library paths
1589 --enable-linux-futex use the Linux futex system call [default=default]
1590 --enable-symvers[=STYLE]
1591 enables symbol versioning of the shared library
1592 [default=yes]
1593 --enable-libstdcxx-visibility
1594 enables visibility safe usage [default=yes]
1595 --enable-libstdcxx-dual-abi
1596 support two versions of std::string [default=yes]
1597 --enable-libstdcxx-threads
1598 enable C++11 threads support [default=auto]
1599 --enable-libstdcxx-filesystem-ts
1600 turns on ISO/IEC TS 18822 support [default=auto]
1601 --enable-cet enable Intel CET in target libraries [default=no]
1602 --enable-version-specific-runtime-libs
1603 Specify that runtime libraries should be installed
1604 in a compiler-specific directory
1606 Optional Packages:
1607 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1608 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1609 --with-target-subdir=SUBDIR
1610 configuring in a subdirectory
1611 --with-cross-host=HOST configuring with a cross compiler
1612 --with-newlib assume newlib as a system C library
1613 --with-pic try to use only PIC/non-PIC objects [default=use
1614 both]
1615 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1616 --with-python-dir the location to install Python modules. This path is
1617 relative starting from the prefix.
1618 --with-gnu-ld assume the C compiler uses GNU ld default=no
1619 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1620 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1621 --with-system-libunwind use installed libunwind
1622 --with-default-libstdcxx-abi
1623 set the std::string ABI to use by default
1624 --with-gxx-include-dir=DIR
1625 installation directory for include files
1626 --with-gcc-major-version-only
1627 use only GCC major number in filesystem paths
1629 Some influential environment variables:
1630 CC C compiler command
1631 CFLAGS C compiler flags
1632 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1633 nonstandard directory <lib dir>
1634 LIBS libraries to pass to the linker, e.g. -l<library>
1635 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1636 you have headers in a nonstandard directory <include dir>
1637 CXX C++ compiler command
1638 CXXFLAGS C++ compiler flags
1639 CPP C preprocessor
1640 CXXCPP C++ preprocessor
1641 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1642 `c++filt', `gc++filt' on PATH.
1644 Use these variables to override the choices made by `configure' or to help
1645 it to find libraries and programs with nonstandard names/locations.
1647 Report bugs to the package provider.
1648 _ACEOF
1649 ac_status=$?
1652 if test "$ac_init_help" = "recursive"; then
1653 # If there are subdirs, report their specific --help.
1654 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1655 test -d "$ac_dir" ||
1656 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1657 continue
1658 ac_builddir=.
1660 case "$ac_dir" in
1661 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1663 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1664 # A ".." for each directory in $ac_dir_suffix.
1665 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1666 case $ac_top_builddir_sub in
1667 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1668 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1669 esac ;;
1670 esac
1671 ac_abs_top_builddir=$ac_pwd
1672 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1673 # for backward compatibility:
1674 ac_top_builddir=$ac_top_build_prefix
1676 case $srcdir in
1677 .) # We are building in place.
1678 ac_srcdir=.
1679 ac_top_srcdir=$ac_top_builddir_sub
1680 ac_abs_top_srcdir=$ac_pwd ;;
1681 [\\/]* | ?:[\\/]* ) # Absolute name.
1682 ac_srcdir=$srcdir$ac_dir_suffix;
1683 ac_top_srcdir=$srcdir
1684 ac_abs_top_srcdir=$srcdir ;;
1685 *) # Relative name.
1686 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1687 ac_top_srcdir=$ac_top_build_prefix$srcdir
1688 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1689 esac
1690 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1692 cd "$ac_dir" || { ac_status=$?; continue; }
1693 # Check for guested configure.
1694 if test -f "$ac_srcdir/configure.gnu"; then
1695 echo &&
1696 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1697 elif test -f "$ac_srcdir/configure"; then
1698 echo &&
1699 $SHELL "$ac_srcdir/configure" --help=recursive
1700 else
1701 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1702 fi || ac_status=$?
1703 cd "$ac_pwd" || { ac_status=$?; break; }
1704 done
1707 test -n "$ac_init_help" && exit $ac_status
1708 if $ac_init_version; then
1709 cat <<\_ACEOF
1710 package-unused configure version-unused
1711 generated by GNU Autoconf 2.64
1713 Copyright (C) 2009 Free Software Foundation, Inc.
1714 This configure script is free software; the Free Software Foundation
1715 gives unlimited permission to copy, distribute and modify it.
1716 _ACEOF
1717 exit
1720 ## ------------------------ ##
1721 ## Autoconf initialization. ##
1722 ## ------------------------ ##
1724 # ac_fn_c_try_compile LINENO
1725 # --------------------------
1726 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1727 ac_fn_c_try_compile ()
1729 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1730 rm -f conftest.$ac_objext
1731 if { { ac_try="$ac_compile"
1732 case "(($ac_try" in
1733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1734 *) ac_try_echo=$ac_try;;
1735 esac
1736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1737 $as_echo "$ac_try_echo"; } >&5
1738 (eval "$ac_compile") 2>conftest.err
1739 ac_status=$?
1740 if test -s conftest.err; then
1741 grep -v '^ *+' conftest.err >conftest.er1
1742 cat conftest.er1 >&5
1743 mv -f conftest.er1 conftest.err
1745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1746 test $ac_status = 0; } && {
1747 test -z "$ac_c_werror_flag" ||
1748 test ! -s conftest.err
1749 } && test -s conftest.$ac_objext; then :
1750 ac_retval=0
1751 else
1752 $as_echo "$as_me: failed program was:" >&5
1753 sed 's/^/| /' conftest.$ac_ext >&5
1755 ac_retval=1
1757 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1758 return $ac_retval
1760 } # ac_fn_c_try_compile
1762 # ac_fn_cxx_try_compile LINENO
1763 # ----------------------------
1764 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1765 ac_fn_cxx_try_compile ()
1767 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1768 rm -f conftest.$ac_objext
1769 if { { ac_try="$ac_compile"
1770 case "(($ac_try" in
1771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1772 *) ac_try_echo=$ac_try;;
1773 esac
1774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775 $as_echo "$ac_try_echo"; } >&5
1776 (eval "$ac_compile") 2>conftest.err
1777 ac_status=$?
1778 if test -s conftest.err; then
1779 grep -v '^ *+' conftest.err >conftest.er1
1780 cat conftest.er1 >&5
1781 mv -f conftest.er1 conftest.err
1783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784 test $ac_status = 0; } && {
1785 test -z "$ac_cxx_werror_flag" ||
1786 test ! -s conftest.err
1787 } && test -s conftest.$ac_objext; then :
1788 ac_retval=0
1789 else
1790 $as_echo "$as_me: failed program was:" >&5
1791 sed 's/^/| /' conftest.$ac_ext >&5
1793 ac_retval=1
1795 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1796 return $ac_retval
1798 } # ac_fn_cxx_try_compile
1800 # ac_fn_c_try_cpp LINENO
1801 # ----------------------
1802 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1803 ac_fn_c_try_cpp ()
1805 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1806 if { { ac_try="$ac_cpp conftest.$ac_ext"
1807 case "(($ac_try" in
1808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1809 *) ac_try_echo=$ac_try;;
1810 esac
1811 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1812 $as_echo "$ac_try_echo"; } >&5
1813 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1814 ac_status=$?
1815 if test -s conftest.err; then
1816 grep -v '^ *+' conftest.err >conftest.er1
1817 cat conftest.er1 >&5
1818 mv -f conftest.er1 conftest.err
1820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1821 test $ac_status = 0; } >/dev/null && {
1822 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1823 test ! -s conftest.err
1824 }; then :
1825 ac_retval=0
1826 else
1827 $as_echo "$as_me: failed program was:" >&5
1828 sed 's/^/| /' conftest.$ac_ext >&5
1830 ac_retval=1
1832 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1833 return $ac_retval
1835 } # ac_fn_c_try_cpp
1837 # ac_fn_c_try_link LINENO
1838 # -----------------------
1839 # Try to link conftest.$ac_ext, and return whether this succeeded.
1840 ac_fn_c_try_link ()
1842 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1843 rm -f conftest.$ac_objext conftest$ac_exeext
1844 if { { ac_try="$ac_link"
1845 case "(($ac_try" in
1846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1847 *) ac_try_echo=$ac_try;;
1848 esac
1849 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1850 $as_echo "$ac_try_echo"; } >&5
1851 (eval "$ac_link") 2>conftest.err
1852 ac_status=$?
1853 if test -s conftest.err; then
1854 grep -v '^ *+' conftest.err >conftest.er1
1855 cat conftest.er1 >&5
1856 mv -f conftest.er1 conftest.err
1858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1859 test $ac_status = 0; } && {
1860 test -z "$ac_c_werror_flag" ||
1861 test ! -s conftest.err
1862 } && test -s conftest$ac_exeext && {
1863 test "$cross_compiling" = yes ||
1864 $as_test_x conftest$ac_exeext
1865 }; then :
1866 ac_retval=0
1867 else
1868 $as_echo "$as_me: failed program was:" >&5
1869 sed 's/^/| /' conftest.$ac_ext >&5
1871 ac_retval=1
1873 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1874 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1875 # interfere with the next link command; also delete a directory that is
1876 # left behind by Apple's compiler. We do this before executing the actions.
1877 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1878 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1879 return $ac_retval
1881 } # ac_fn_c_try_link
1883 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1884 # -------------------------------------------------------
1885 # Tests whether HEADER exists and can be compiled using the include files in
1886 # INCLUDES, setting the cache variable VAR accordingly.
1887 ac_fn_c_check_header_compile ()
1889 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1891 $as_echo_n "checking for $2... " >&6; }
1892 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1893 $as_echo_n "(cached) " >&6
1894 else
1895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1896 /* end confdefs.h. */
1898 #include <$2>
1899 _ACEOF
1900 if ac_fn_c_try_compile "$LINENO"; then :
1901 eval "$3=yes"
1902 else
1903 eval "$3=no"
1905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1907 eval ac_res=\$$3
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1909 $as_echo "$ac_res" >&6; }
1910 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1912 } # ac_fn_c_check_header_compile
1914 # ac_fn_c_try_run LINENO
1915 # ----------------------
1916 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1917 # that executables *can* be run.
1918 ac_fn_c_try_run ()
1920 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1921 if { { ac_try="$ac_link"
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_link") 2>&5
1929 ac_status=$?
1930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1931 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1932 { { case "(($ac_try" in
1933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1934 *) ac_try_echo=$ac_try;;
1935 esac
1936 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1937 $as_echo "$ac_try_echo"; } >&5
1938 (eval "$ac_try") 2>&5
1939 ac_status=$?
1940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1941 test $ac_status = 0; }; }; then :
1942 ac_retval=0
1943 else
1944 $as_echo "$as_me: program exited with status $ac_status" >&5
1945 $as_echo "$as_me: failed program was:" >&5
1946 sed 's/^/| /' conftest.$ac_ext >&5
1948 ac_retval=$ac_status
1950 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1951 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1952 return $ac_retval
1954 } # ac_fn_c_try_run
1956 # ac_fn_c_check_func LINENO FUNC VAR
1957 # ----------------------------------
1958 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1959 ac_fn_c_check_func ()
1961 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1963 $as_echo_n "checking for $2... " >&6; }
1964 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1965 $as_echo_n "(cached) " >&6
1966 else
1967 if test x$gcc_no_link = xyes; then
1968 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1971 /* end confdefs.h. */
1972 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1974 #define $2 innocuous_$2
1976 /* System header to define __stub macros and hopefully few prototypes,
1977 which can conflict with char $2 (); below.
1978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1979 <limits.h> exists even on freestanding compilers. */
1981 #ifdef __STDC__
1982 # include <limits.h>
1983 #else
1984 # include <assert.h>
1985 #endif
1987 #undef $2
1989 /* Override any GCC internal prototype to avoid an error.
1990 Use char because int might match the return type of a GCC
1991 builtin and then its argument prototype would still apply. */
1992 #ifdef __cplusplus
1993 extern "C"
1994 #endif
1995 char $2 ();
1996 /* The GNU C library defines this for functions which it implements
1997 to always fail with ENOSYS. Some functions are actually named
1998 something starting with __ and the normal name is an alias. */
1999 #if defined __stub_$2 || defined __stub___$2
2000 choke me
2001 #endif
2004 main ()
2006 return $2 ();
2008 return 0;
2010 _ACEOF
2011 if ac_fn_c_try_link "$LINENO"; then :
2012 eval "$3=yes"
2013 else
2014 eval "$3=no"
2016 rm -f core conftest.err conftest.$ac_objext \
2017 conftest$ac_exeext conftest.$ac_ext
2019 eval ac_res=\$$3
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2021 $as_echo "$ac_res" >&6; }
2022 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2024 } # ac_fn_c_check_func
2026 # ac_fn_cxx_try_cpp LINENO
2027 # ------------------------
2028 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2029 ac_fn_cxx_try_cpp ()
2031 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2032 if { { ac_try="$ac_cpp conftest.$ac_ext"
2033 case "(($ac_try" in
2034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2035 *) ac_try_echo=$ac_try;;
2036 esac
2037 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2038 $as_echo "$ac_try_echo"; } >&5
2039 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2040 ac_status=$?
2041 if test -s conftest.err; then
2042 grep -v '^ *+' conftest.err >conftest.er1
2043 cat conftest.er1 >&5
2044 mv -f conftest.er1 conftest.err
2046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2047 test $ac_status = 0; } >/dev/null && {
2048 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2049 test ! -s conftest.err
2050 }; then :
2051 ac_retval=0
2052 else
2053 $as_echo "$as_me: failed program was:" >&5
2054 sed 's/^/| /' conftest.$ac_ext >&5
2056 ac_retval=1
2058 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2059 return $ac_retval
2061 } # ac_fn_cxx_try_cpp
2063 # ac_fn_cxx_try_link LINENO
2064 # -------------------------
2065 # Try to link conftest.$ac_ext, and return whether this succeeded.
2066 ac_fn_cxx_try_link ()
2068 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2069 rm -f conftest.$ac_objext conftest$ac_exeext
2070 if { { ac_try="$ac_link"
2071 case "(($ac_try" in
2072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2073 *) ac_try_echo=$ac_try;;
2074 esac
2075 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2076 $as_echo "$ac_try_echo"; } >&5
2077 (eval "$ac_link") 2>conftest.err
2078 ac_status=$?
2079 if test -s conftest.err; then
2080 grep -v '^ *+' conftest.err >conftest.er1
2081 cat conftest.er1 >&5
2082 mv -f conftest.er1 conftest.err
2084 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2085 test $ac_status = 0; } && {
2086 test -z "$ac_cxx_werror_flag" ||
2087 test ! -s conftest.err
2088 } && test -s conftest$ac_exeext && {
2089 test "$cross_compiling" = yes ||
2090 $as_test_x conftest$ac_exeext
2091 }; then :
2092 ac_retval=0
2093 else
2094 $as_echo "$as_me: failed program was:" >&5
2095 sed 's/^/| /' conftest.$ac_ext >&5
2097 ac_retval=1
2099 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2100 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2101 # interfere with the next link command; also delete a directory that is
2102 # left behind by Apple's compiler. We do this before executing the actions.
2103 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2104 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2105 return $ac_retval
2107 } # ac_fn_cxx_try_link
2109 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2110 # -------------------------------------------------------
2111 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2112 # the include files in INCLUDES and setting the cache variable VAR
2113 # accordingly.
2114 ac_fn_c_check_header_mongrel ()
2116 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2117 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2119 $as_echo_n "checking for $2... " >&6; }
2120 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2121 $as_echo_n "(cached) " >&6
2123 eval ac_res=\$$3
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2125 $as_echo "$ac_res" >&6; }
2126 else
2127 # Is the header compilable?
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2129 $as_echo_n "checking $2 usability... " >&6; }
2130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2131 /* end confdefs.h. */
2133 #include <$2>
2134 _ACEOF
2135 if ac_fn_c_try_compile "$LINENO"; then :
2136 ac_header_compiler=yes
2137 else
2138 ac_header_compiler=no
2140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2142 $as_echo "$ac_header_compiler" >&6; }
2144 # Is the header present?
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2146 $as_echo_n "checking $2 presence... " >&6; }
2147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2148 /* end confdefs.h. */
2149 #include <$2>
2150 _ACEOF
2151 if ac_fn_c_try_cpp "$LINENO"; then :
2152 ac_header_preproc=yes
2153 else
2154 ac_header_preproc=no
2156 rm -f conftest.err conftest.$ac_ext
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2158 $as_echo "$ac_header_preproc" >&6; }
2160 # So? What about this header?
2161 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2162 yes:no: )
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2164 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2166 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2168 no:yes:* )
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2170 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2172 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2174 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2176 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2178 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2180 esac
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2182 $as_echo_n "checking for $2... " >&6; }
2183 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2184 $as_echo_n "(cached) " >&6
2185 else
2186 eval "$3=\$ac_header_compiler"
2188 eval ac_res=\$$3
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2190 $as_echo "$ac_res" >&6; }
2192 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2194 } # ac_fn_c_check_header_mongrel
2196 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2197 # ---------------------------------------------------------
2198 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2199 # the include files in INCLUDES and setting the cache variable VAR
2200 # accordingly.
2201 ac_fn_cxx_check_header_mongrel ()
2203 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2204 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2206 $as_echo_n "checking for $2... " >&6; }
2207 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2208 $as_echo_n "(cached) " >&6
2210 eval ac_res=\$$3
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2212 $as_echo "$ac_res" >&6; }
2213 else
2214 # Is the header compilable?
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2216 $as_echo_n "checking $2 usability... " >&6; }
2217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2218 /* end confdefs.h. */
2220 #include <$2>
2221 _ACEOF
2222 if ac_fn_cxx_try_compile "$LINENO"; then :
2223 ac_header_compiler=yes
2224 else
2225 ac_header_compiler=no
2227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2229 $as_echo "$ac_header_compiler" >&6; }
2231 # Is the header present?
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2233 $as_echo_n "checking $2 presence... " >&6; }
2234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2235 /* end confdefs.h. */
2236 #include <$2>
2237 _ACEOF
2238 if ac_fn_cxx_try_cpp "$LINENO"; then :
2239 ac_header_preproc=yes
2240 else
2241 ac_header_preproc=no
2243 rm -f conftest.err conftest.$ac_ext
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2245 $as_echo "$ac_header_preproc" >&6; }
2247 # So? What about this header?
2248 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2249 yes:no: )
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2251 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2253 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2255 no:yes:* )
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2257 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2259 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2261 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2263 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2265 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2267 esac
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2269 $as_echo_n "checking for $2... " >&6; }
2270 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2271 $as_echo_n "(cached) " >&6
2272 else
2273 eval "$3=\$ac_header_compiler"
2275 eval ac_res=\$$3
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2277 $as_echo "$ac_res" >&6; }
2279 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2281 } # ac_fn_cxx_check_header_mongrel
2283 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2284 # --------------------------------------------
2285 # Tries to find the compile-time value of EXPR in a program that includes
2286 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2287 # computed
2288 ac_fn_c_compute_int ()
2290 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2291 if test "$cross_compiling" = yes; then
2292 # Depending upon the size, compute the lo and hi bounds.
2293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2294 /* end confdefs.h. */
2297 main ()
2299 static int test_array [1 - 2 * !(($2) >= 0)];
2300 test_array [0] = 0
2303 return 0;
2305 _ACEOF
2306 if ac_fn_c_try_compile "$LINENO"; then :
2307 ac_lo=0 ac_mid=0
2308 while :; do
2309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2310 /* end confdefs.h. */
2313 main ()
2315 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2316 test_array [0] = 0
2319 return 0;
2321 _ACEOF
2322 if ac_fn_c_try_compile "$LINENO"; then :
2323 ac_hi=$ac_mid; break
2324 else
2325 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2326 if test $ac_lo -le $ac_mid; then
2327 ac_lo= ac_hi=
2328 break
2330 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2333 done
2334 else
2335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2336 /* end confdefs.h. */
2339 main ()
2341 static int test_array [1 - 2 * !(($2) < 0)];
2342 test_array [0] = 0
2345 return 0;
2347 _ACEOF
2348 if ac_fn_c_try_compile "$LINENO"; then :
2349 ac_hi=-1 ac_mid=-1
2350 while :; do
2351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2352 /* end confdefs.h. */
2355 main ()
2357 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2358 test_array [0] = 0
2361 return 0;
2363 _ACEOF
2364 if ac_fn_c_try_compile "$LINENO"; then :
2365 ac_lo=$ac_mid; break
2366 else
2367 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2368 if test $ac_mid -le $ac_hi; then
2369 ac_lo= ac_hi=
2370 break
2372 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2375 done
2376 else
2377 ac_lo= ac_hi=
2379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2382 # Binary search between lo and hi bounds.
2383 while test "x$ac_lo" != "x$ac_hi"; do
2384 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2386 /* end confdefs.h. */
2389 main ()
2391 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2392 test_array [0] = 0
2395 return 0;
2397 _ACEOF
2398 if ac_fn_c_try_compile "$LINENO"; then :
2399 ac_hi=$ac_mid
2400 else
2401 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2404 done
2405 case $ac_lo in #((
2406 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2407 '') ac_retval=1 ;;
2408 esac
2409 else
2410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2411 /* end confdefs.h. */
2413 static long int longval () { return $2; }
2414 static unsigned long int ulongval () { return $2; }
2415 #include <stdio.h>
2416 #include <stdlib.h>
2418 main ()
2421 FILE *f = fopen ("conftest.val", "w");
2422 if (! f)
2423 return 1;
2424 if (($2) < 0)
2426 long int i = longval ();
2427 if (i != ($2))
2428 return 1;
2429 fprintf (f, "%ld", i);
2431 else
2433 unsigned long int i = ulongval ();
2434 if (i != ($2))
2435 return 1;
2436 fprintf (f, "%lu", i);
2438 /* Do not output a trailing newline, as this causes \r\n confusion
2439 on some platforms. */
2440 return ferror (f) || fclose (f) != 0;
2443 return 0;
2445 _ACEOF
2446 if ac_fn_c_try_run "$LINENO"; then :
2447 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2448 else
2449 ac_retval=1
2451 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2452 conftest.$ac_objext conftest.beam conftest.$ac_ext
2453 rm -f conftest.val
2456 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2457 return $ac_retval
2459 } # ac_fn_c_compute_int
2461 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2462 # -------------------------------------------
2463 # Tests whether TYPE exists after having included INCLUDES, setting cache
2464 # variable VAR accordingly.
2465 ac_fn_c_check_type ()
2467 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2469 $as_echo_n "checking for $2... " >&6; }
2470 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2471 $as_echo_n "(cached) " >&6
2472 else
2473 eval "$3=no"
2474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2475 /* end confdefs.h. */
2478 main ()
2480 if (sizeof ($2))
2481 return 0;
2483 return 0;
2485 _ACEOF
2486 if ac_fn_c_try_compile "$LINENO"; then :
2487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2488 /* end confdefs.h. */
2491 main ()
2493 if (sizeof (($2)))
2494 return 0;
2496 return 0;
2498 _ACEOF
2499 if ac_fn_c_try_compile "$LINENO"; then :
2501 else
2502 eval "$3=yes"
2504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2508 eval ac_res=\$$3
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2510 $as_echo "$ac_res" >&6; }
2511 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2513 } # ac_fn_c_check_type
2515 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2516 # ---------------------------------------------
2517 # Tests whether TYPE exists after having included INCLUDES, setting cache
2518 # variable VAR accordingly.
2519 ac_fn_cxx_check_type ()
2521 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2523 $as_echo_n "checking for $2... " >&6; }
2524 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2525 $as_echo_n "(cached) " >&6
2526 else
2527 eval "$3=no"
2528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2529 /* end confdefs.h. */
2532 main ()
2534 if (sizeof ($2))
2535 return 0;
2537 return 0;
2539 _ACEOF
2540 if ac_fn_cxx_try_compile "$LINENO"; then :
2541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2542 /* end confdefs.h. */
2545 main ()
2547 if (sizeof (($2)))
2548 return 0;
2550 return 0;
2552 _ACEOF
2553 if ac_fn_cxx_try_compile "$LINENO"; then :
2555 else
2556 eval "$3=yes"
2558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2562 eval ac_res=\$$3
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2564 $as_echo "$ac_res" >&6; }
2565 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2567 } # ac_fn_cxx_check_type
2568 cat >config.log <<_ACEOF
2569 This file contains any messages produced by compilers while
2570 running configure, to aid debugging if configure makes a mistake.
2572 It was created by package-unused $as_me version-unused, which was
2573 generated by GNU Autoconf 2.64. Invocation command line was
2575 $ $0 $@
2577 _ACEOF
2578 exec 5>>config.log
2580 cat <<_ASUNAME
2581 ## --------- ##
2582 ## Platform. ##
2583 ## --------- ##
2585 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2586 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2587 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2588 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2589 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2591 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2592 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2594 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2595 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2596 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2597 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2598 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2599 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2600 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2602 _ASUNAME
2604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2605 for as_dir in $PATH
2607 IFS=$as_save_IFS
2608 test -z "$as_dir" && as_dir=.
2609 $as_echo "PATH: $as_dir"
2610 done
2611 IFS=$as_save_IFS
2613 } >&5
2615 cat >&5 <<_ACEOF
2618 ## ----------- ##
2619 ## Core tests. ##
2620 ## ----------- ##
2622 _ACEOF
2625 # Keep a trace of the command line.
2626 # Strip out --no-create and --no-recursion so they do not pile up.
2627 # Strip out --silent because we don't want to record it for future runs.
2628 # Also quote any args containing shell meta-characters.
2629 # Make two passes to allow for proper duplicate-argument suppression.
2630 ac_configure_args=
2631 ac_configure_args0=
2632 ac_configure_args1=
2633 ac_must_keep_next=false
2634 for ac_pass in 1 2
2636 for ac_arg
2638 case $ac_arg in
2639 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2640 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2641 | -silent | --silent | --silen | --sile | --sil)
2642 continue ;;
2643 *\'*)
2644 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2645 esac
2646 case $ac_pass in
2647 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2649 as_fn_append ac_configure_args1 " '$ac_arg'"
2650 if test $ac_must_keep_next = true; then
2651 ac_must_keep_next=false # Got value, back to normal.
2652 else
2653 case $ac_arg in
2654 *=* | --config-cache | -C | -disable-* | --disable-* \
2655 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2656 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2657 | -with-* | --with-* | -without-* | --without-* | --x)
2658 case "$ac_configure_args0 " in
2659 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2660 esac
2662 -* ) ac_must_keep_next=true ;;
2663 esac
2665 as_fn_append ac_configure_args " '$ac_arg'"
2667 esac
2668 done
2669 done
2670 { ac_configure_args0=; unset ac_configure_args0;}
2671 { ac_configure_args1=; unset ac_configure_args1;}
2673 # When interrupted or exit'd, cleanup temporary files, and complete
2674 # config.log. We remove comments because anyway the quotes in there
2675 # would cause problems or look ugly.
2676 # WARNING: Use '\'' to represent an apostrophe within the trap.
2677 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2678 trap 'exit_status=$?
2679 # Save into config.log some information that might help in debugging.
2681 echo
2683 cat <<\_ASBOX
2684 ## ---------------- ##
2685 ## Cache variables. ##
2686 ## ---------------- ##
2687 _ASBOX
2688 echo
2689 # The following way of writing the cache mishandles newlines in values,
2691 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2692 eval ac_val=\$$ac_var
2693 case $ac_val in #(
2694 *${as_nl}*)
2695 case $ac_var in #(
2696 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2697 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2698 esac
2699 case $ac_var in #(
2700 _ | IFS | as_nl) ;; #(
2701 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2702 *) { eval $ac_var=; unset $ac_var;} ;;
2703 esac ;;
2704 esac
2705 done
2706 (set) 2>&1 |
2707 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2708 *${as_nl}ac_space=\ *)
2709 sed -n \
2710 "s/'\''/'\''\\\\'\'''\''/g;
2711 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2712 ;; #(
2714 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2716 esac |
2717 sort
2719 echo
2721 cat <<\_ASBOX
2722 ## ----------------- ##
2723 ## Output variables. ##
2724 ## ----------------- ##
2725 _ASBOX
2726 echo
2727 for ac_var in $ac_subst_vars
2729 eval ac_val=\$$ac_var
2730 case $ac_val in
2731 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2732 esac
2733 $as_echo "$ac_var='\''$ac_val'\''"
2734 done | sort
2735 echo
2737 if test -n "$ac_subst_files"; then
2738 cat <<\_ASBOX
2739 ## ------------------- ##
2740 ## File substitutions. ##
2741 ## ------------------- ##
2742 _ASBOX
2743 echo
2744 for ac_var in $ac_subst_files
2746 eval ac_val=\$$ac_var
2747 case $ac_val in
2748 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2749 esac
2750 $as_echo "$ac_var='\''$ac_val'\''"
2751 done | sort
2752 echo
2755 if test -s confdefs.h; then
2756 cat <<\_ASBOX
2757 ## ----------- ##
2758 ## confdefs.h. ##
2759 ## ----------- ##
2760 _ASBOX
2761 echo
2762 cat confdefs.h
2763 echo
2765 test "$ac_signal" != 0 &&
2766 $as_echo "$as_me: caught signal $ac_signal"
2767 $as_echo "$as_me: exit $exit_status"
2768 } >&5
2769 rm -f core *.core core.conftest.* &&
2770 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2771 exit $exit_status
2773 for ac_signal in 1 2 13 15; do
2774 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2775 done
2776 ac_signal=0
2778 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2779 rm -f -r conftest* confdefs.h
2781 $as_echo "/* confdefs.h */" > confdefs.h
2783 # Predefined preprocessor variables.
2785 cat >>confdefs.h <<_ACEOF
2786 #define PACKAGE_NAME "$PACKAGE_NAME"
2787 _ACEOF
2789 cat >>confdefs.h <<_ACEOF
2790 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2791 _ACEOF
2793 cat >>confdefs.h <<_ACEOF
2794 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2795 _ACEOF
2797 cat >>confdefs.h <<_ACEOF
2798 #define PACKAGE_STRING "$PACKAGE_STRING"
2799 _ACEOF
2801 cat >>confdefs.h <<_ACEOF
2802 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2803 _ACEOF
2805 cat >>confdefs.h <<_ACEOF
2806 #define PACKAGE_URL "$PACKAGE_URL"
2807 _ACEOF
2810 # Let the site file select an alternate cache file if it wants to.
2811 # Prefer an explicitly selected file to automatically selected ones.
2812 ac_site_file1=NONE
2813 ac_site_file2=NONE
2814 if test -n "$CONFIG_SITE"; then
2815 ac_site_file1=$CONFIG_SITE
2816 elif test "x$prefix" != xNONE; then
2817 ac_site_file1=$prefix/share/config.site
2818 ac_site_file2=$prefix/etc/config.site
2819 else
2820 ac_site_file1=$ac_default_prefix/share/config.site
2821 ac_site_file2=$ac_default_prefix/etc/config.site
2823 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2825 test "x$ac_site_file" = xNONE && continue
2826 if test -r "$ac_site_file"; then
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2828 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2829 sed 's/^/| /' "$ac_site_file" >&5
2830 . "$ac_site_file"
2832 done
2834 if test -r "$cache_file"; then
2835 # Some versions of bash will fail to source /dev/null (special
2836 # files actually), so we avoid doing that.
2837 if test -f "$cache_file"; then
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2839 $as_echo "$as_me: loading cache $cache_file" >&6;}
2840 case $cache_file in
2841 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2842 *) . "./$cache_file";;
2843 esac
2845 else
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2847 $as_echo "$as_me: creating cache $cache_file" >&6;}
2848 >$cache_file
2851 # Check that the precious variables saved in the cache have kept the same
2852 # value.
2853 ac_cache_corrupted=false
2854 for ac_var in $ac_precious_vars; do
2855 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2856 eval ac_new_set=\$ac_env_${ac_var}_set
2857 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2858 eval ac_new_val=\$ac_env_${ac_var}_value
2859 case $ac_old_set,$ac_new_set in
2860 set,)
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2862 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2863 ac_cache_corrupted=: ;;
2864 ,set)
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2866 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2867 ac_cache_corrupted=: ;;
2868 ,);;
2870 if test "x$ac_old_val" != "x$ac_new_val"; then
2871 # differences in whitespace do not lead to failure.
2872 ac_old_val_w=`echo x $ac_old_val`
2873 ac_new_val_w=`echo x $ac_new_val`
2874 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2876 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2877 ac_cache_corrupted=:
2878 else
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2880 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2881 eval $ac_var=\$ac_old_val
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2884 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2886 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2887 fi;;
2888 esac
2889 # Pass precious variables to config.status.
2890 if test "$ac_new_set" = set; then
2891 case $ac_new_val in
2892 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2893 *) ac_arg=$ac_var=$ac_new_val ;;
2894 esac
2895 case " $ac_configure_args " in
2896 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2897 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2898 esac
2900 done
2901 if $ac_cache_corrupted; then
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2903 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2905 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2906 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2908 ## -------------------- ##
2909 ## Main body of script. ##
2910 ## -------------------- ##
2912 ac_ext=c
2913 ac_cpp='$CPP $CPPFLAGS'
2914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2923 ac_config_headers="$ac_config_headers config.h"
2926 # This works around the fact that libtool configuration may change LD
2927 # for this particular configuration, but some shells, instead of
2928 # keeping the changes in LD private, export them just because LD is
2929 # exported. Only used at the end of this file.
2930 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2932 # Find the rest of the source tree framework.
2933 # Default to --enable-multilib
2934 # Check whether --enable-multilib was given.
2935 if test "${enable_multilib+set}" = set; then :
2936 enableval=$enable_multilib; case "$enableval" in
2937 yes) multilib=yes ;;
2938 no) multilib=no ;;
2939 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2940 esac
2941 else
2942 multilib=yes
2946 # We may get other options which we leave undocumented:
2947 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2948 # See config-ml.in if you want the gory details.
2950 if test "$srcdir" = "."; then
2951 if test "$with_target_subdir" != "."; then
2952 multi_basedir="$srcdir/$with_multisrctop../.."
2953 else
2954 multi_basedir="$srcdir/$with_multisrctop.."
2956 else
2957 multi_basedir="$srcdir/.."
2961 # Even if the default multilib is not a cross compilation,
2962 # it may be that some of the other multilibs are.
2963 if test $cross_compiling = no && test $multilib = yes \
2964 && test "x${with_multisubdir}" != x ; then
2965 cross_compiling=maybe
2968 ac_config_commands="$ac_config_commands default-1"
2971 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2973 # You will slowly go insane if you do not grok the following fact: when
2974 # building v3 as part of the compiler, the top-level /target/ becomes the
2975 # library's /host/. configure then causes --target to default to --host,
2976 # exactly like any other package using autoconf. Therefore, 'target' and
2977 # 'host' will always be the same. This makes sense both for native and
2978 # cross compilers, just think about it for a little while. :-)
2980 # Also, if v3 is being configured as part of a cross compiler, the top-level
2981 # configure script will pass the "real" host as $with_cross_host.
2983 # Do not delete or change the following two lines. For why, see
2984 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2985 ac_aux_dir=
2986 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2987 for ac_t in install-sh install.sh shtool; do
2988 if test -f "$ac_dir/$ac_t"; then
2989 ac_aux_dir=$ac_dir
2990 ac_install_sh="$ac_aux_dir/$ac_t -c"
2991 break 2
2993 done
2994 done
2995 if test -z "$ac_aux_dir"; then
2996 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2999 # These three variables are undocumented and unsupported,
3000 # and are intended to be withdrawn in a future Autoconf release.
3001 # They can cause serious problems if a builder's source tree is in a directory
3002 # whose full name contains unusual characters.
3003 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3004 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3005 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3008 # Make sure we can run config.sub.
3009 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3010 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3013 $as_echo_n "checking build system type... " >&6; }
3014 if test "${ac_cv_build+set}" = set; then :
3015 $as_echo_n "(cached) " >&6
3016 else
3017 ac_build_alias=$build_alias
3018 test "x$ac_build_alias" = x &&
3019 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3020 test "x$ac_build_alias" = x &&
3021 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3022 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3023 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3027 $as_echo "$ac_cv_build" >&6; }
3028 case $ac_cv_build in
3029 *-*-*) ;;
3030 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3031 esac
3032 build=$ac_cv_build
3033 ac_save_IFS=$IFS; IFS='-'
3034 set x $ac_cv_build
3035 shift
3036 build_cpu=$1
3037 build_vendor=$2
3038 shift; shift
3039 # Remember, the first character of IFS is used to create $*,
3040 # except with old shells:
3041 build_os=$*
3042 IFS=$ac_save_IFS
3043 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3047 $as_echo_n "checking host system type... " >&6; }
3048 if test "${ac_cv_host+set}" = set; then :
3049 $as_echo_n "(cached) " >&6
3050 else
3051 if test "x$host_alias" = x; then
3052 ac_cv_host=$ac_cv_build
3053 else
3054 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3055 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3060 $as_echo "$ac_cv_host" >&6; }
3061 case $ac_cv_host in
3062 *-*-*) ;;
3063 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3064 esac
3065 host=$ac_cv_host
3066 ac_save_IFS=$IFS; IFS='-'
3067 set x $ac_cv_host
3068 shift
3069 host_cpu=$1
3070 host_vendor=$2
3071 shift; shift
3072 # Remember, the first character of IFS is used to create $*,
3073 # except with old shells:
3074 host_os=$*
3075 IFS=$ac_save_IFS
3076 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3080 $as_echo_n "checking target system type... " >&6; }
3081 if test "${ac_cv_target+set}" = set; then :
3082 $as_echo_n "(cached) " >&6
3083 else
3084 if test "x$target_alias" = x; then
3085 ac_cv_target=$ac_cv_host
3086 else
3087 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3088 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3093 $as_echo "$ac_cv_target" >&6; }
3094 case $ac_cv_target in
3095 *-*-*) ;;
3096 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3097 esac
3098 target=$ac_cv_target
3099 ac_save_IFS=$IFS; IFS='-'
3100 set x $ac_cv_target
3101 shift
3102 target_cpu=$1
3103 target_vendor=$2
3104 shift; shift
3105 # Remember, the first character of IFS is used to create $*,
3106 # except with old shells:
3107 target_os=$*
3108 IFS=$ac_save_IFS
3109 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3112 # The aliases save the names the user supplied, while $host etc.
3113 # will get canonicalized.
3114 test -n "$target_alias" &&
3115 test "$program_prefix$program_suffix$program_transform_name" = \
3116 NONENONEs,x,x, &&
3117 program_prefix=${target_alias}-
3119 target_alias=${target_alias-$host_alias}
3121 # Handy for debugging:
3122 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3124 if test "$build" != "$host"; then
3125 # We are being configured with some form of cross compiler.
3126 GLIBCXX_IS_NATIVE=false
3127 case "$host","$target" in
3128 # Darwin crosses can use the host system's libraries and headers,
3129 # because of the fat library support. Of course, it must be the
3130 # same version of Darwin on both sides. Allow the user to
3131 # just say --target=foo-darwin without a version number to mean
3132 # "the version on this system".
3133 *-*-darwin*,*-*-darwin*)
3134 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3135 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3136 if test $hostos = $targetos -o $targetos = darwin ; then
3137 GLIBCXX_IS_NATIVE=true
3144 esac
3145 else
3146 GLIBCXX_IS_NATIVE=true
3149 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3150 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3151 # 1.x: minimum required version
3152 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3153 # of other PACKAGE_* variables will, however, and there's nothing
3154 # we can do about that; they come from AC_INIT).
3155 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3156 # file in the top srcdir, etc, etc), so stop complaining.
3157 # no-dependencies: turns off auto dependency generation (just for now)
3158 # no-dist: we don't want 'dist' and related rules.
3159 # -Wall: turns on all automake warnings...
3160 # -Wno-portability: ...except this one, since GNU make is now required.
3161 am__api_version='1.11'
3163 # Find a good install program. We prefer a C program (faster),
3164 # so one script is as good as another. But avoid the broken or
3165 # incompatible versions:
3166 # SysV /etc/install, /usr/sbin/install
3167 # SunOS /usr/etc/install
3168 # IRIX /sbin/install
3169 # AIX /bin/install
3170 # AmigaOS /C/install, which installs bootblocks on floppy discs
3171 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3172 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3173 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3174 # OS/2's system install, which has a completely different semantic
3175 # ./install, which can be erroneously created by make from ./install.sh.
3176 # Reject install programs that cannot install multiple files.
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3178 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3179 if test -z "$INSTALL"; then
3180 if test "${ac_cv_path_install+set}" = set; then :
3181 $as_echo_n "(cached) " >&6
3182 else
3183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3184 for as_dir in $PATH
3186 IFS=$as_save_IFS
3187 test -z "$as_dir" && as_dir=.
3188 # Account for people who put trailing slashes in PATH elements.
3189 case $as_dir/ in #((
3190 ./ | .// | /[cC]/* | \
3191 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3192 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3193 /usr/ucb/* ) ;;
3195 # OSF1 and SCO ODT 3.0 have their own names for install.
3196 # Don't use installbsd from OSF since it installs stuff as root
3197 # by default.
3198 for ac_prog in ginstall scoinst install; do
3199 for ac_exec_ext in '' $ac_executable_extensions; do
3200 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3201 if test $ac_prog = install &&
3202 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3203 # AIX install. It has an incompatible calling convention.
3205 elif test $ac_prog = install &&
3206 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3207 # program-specific install script used by HP pwplus--don't use.
3209 else
3210 rm -rf conftest.one conftest.two conftest.dir
3211 echo one > conftest.one
3212 echo two > conftest.two
3213 mkdir conftest.dir
3214 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3215 test -s conftest.one && test -s conftest.two &&
3216 test -s conftest.dir/conftest.one &&
3217 test -s conftest.dir/conftest.two
3218 then
3219 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3220 break 3
3224 done
3225 done
3227 esac
3229 done
3230 IFS=$as_save_IFS
3232 rm -rf conftest.one conftest.two conftest.dir
3235 if test "${ac_cv_path_install+set}" = set; then
3236 INSTALL=$ac_cv_path_install
3237 else
3238 # As a last resort, use the slow shell script. Don't cache a
3239 # value for INSTALL within a source directory, because that will
3240 # break other packages using the cache if that directory is
3241 # removed, or if the value is a relative name.
3242 INSTALL=$ac_install_sh
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3246 $as_echo "$INSTALL" >&6; }
3248 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3249 # It thinks the first close brace ends the variable substitution.
3250 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3252 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3254 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3257 $as_echo_n "checking whether build environment is sane... " >&6; }
3258 # Just in case
3259 sleep 1
3260 echo timestamp > conftest.file
3261 # Reject unsafe characters in $srcdir or the absolute working directory
3262 # name. Accept space and tab only in the latter.
3263 am_lf='
3265 case `pwd` in
3266 *[\\\"\#\$\&\'\`$am_lf]*)
3267 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3268 esac
3269 case $srcdir in
3270 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3271 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3272 esac
3274 # Do `set' in a subshell so we don't clobber the current shell's
3275 # arguments. Must try -L first in case configure is actually a
3276 # symlink; some systems play weird games with the mod time of symlinks
3277 # (eg FreeBSD returns the mod time of the symlink's containing
3278 # directory).
3279 if (
3280 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3281 if test "$*" = "X"; then
3282 # -L didn't work.
3283 set X `ls -t "$srcdir/configure" conftest.file`
3285 rm -f conftest.file
3286 if test "$*" != "X $srcdir/configure conftest.file" \
3287 && test "$*" != "X conftest.file $srcdir/configure"; then
3289 # If neither matched, then we have a broken ls. This can happen
3290 # if, for instance, CONFIG_SHELL is bash and it inherits a
3291 # broken ls alias from the environment. This has actually
3292 # happened. Such a system could not be considered "sane".
3293 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3294 alias in your environment" "$LINENO" 5
3297 test "$2" = conftest.file
3299 then
3300 # Ok.
3302 else
3303 as_fn_error "newly created file is older than distributed files!
3304 Check your system clock" "$LINENO" 5
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3307 $as_echo "yes" >&6; }
3308 test "$program_prefix" != NONE &&
3309 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3310 # Use a double $ so make ignores it.
3311 test "$program_suffix" != NONE &&
3312 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3313 # Double any \ or $.
3314 # By default was `s,x,x', remove it if useless.
3315 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3316 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3318 # expand $ac_aux_dir to an absolute path
3319 am_aux_dir=`cd $ac_aux_dir && pwd`
3321 if test x"${MISSING+set}" != xset; then
3322 case $am_aux_dir in
3323 *\ * | *\ *)
3324 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3326 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3327 esac
3329 # Use eval to expand $SHELL
3330 if eval "$MISSING --run true"; then
3331 am_missing_run="$MISSING --run "
3332 else
3333 am_missing_run=
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3335 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3338 if test x"${install_sh}" != xset; then
3339 case $am_aux_dir in
3340 *\ * | *\ *)
3341 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3343 install_sh="\${SHELL} $am_aux_dir/install-sh"
3344 esac
3347 # Installed binaries are usually stripped using `strip' when the user
3348 # run `make install-strip'. However `strip' might not be the right
3349 # tool to use in cross-compilation environments, therefore Automake
3350 # will honor the `STRIP' environment variable to overrule this program.
3351 if test "$cross_compiling" != no; then
3352 if test -n "$ac_tool_prefix"; then
3353 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3354 set dummy ${ac_tool_prefix}strip; ac_word=$2
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3356 $as_echo_n "checking for $ac_word... " >&6; }
3357 if test "${ac_cv_prog_STRIP+set}" = set; then :
3358 $as_echo_n "(cached) " >&6
3359 else
3360 if test -n "$STRIP"; then
3361 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3362 else
3363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3364 for as_dir in $PATH
3366 IFS=$as_save_IFS
3367 test -z "$as_dir" && as_dir=.
3368 for ac_exec_ext in '' $ac_executable_extensions; do
3369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3370 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3372 break 2
3374 done
3375 done
3376 IFS=$as_save_IFS
3380 STRIP=$ac_cv_prog_STRIP
3381 if test -n "$STRIP"; then
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3383 $as_echo "$STRIP" >&6; }
3384 else
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3386 $as_echo "no" >&6; }
3391 if test -z "$ac_cv_prog_STRIP"; then
3392 ac_ct_STRIP=$STRIP
3393 # Extract the first word of "strip", so it can be a program name with args.
3394 set dummy strip; ac_word=$2
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3396 $as_echo_n "checking for $ac_word... " >&6; }
3397 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3398 $as_echo_n "(cached) " >&6
3399 else
3400 if test -n "$ac_ct_STRIP"; then
3401 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3402 else
3403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3404 for as_dir in $PATH
3406 IFS=$as_save_IFS
3407 test -z "$as_dir" && as_dir=.
3408 for ac_exec_ext in '' $ac_executable_extensions; do
3409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3410 ac_cv_prog_ac_ct_STRIP="strip"
3411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3412 break 2
3414 done
3415 done
3416 IFS=$as_save_IFS
3420 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3421 if test -n "$ac_ct_STRIP"; then
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3423 $as_echo "$ac_ct_STRIP" >&6; }
3424 else
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3426 $as_echo "no" >&6; }
3429 if test "x$ac_ct_STRIP" = x; then
3430 STRIP=":"
3431 else
3432 case $cross_compiling:$ac_tool_warned in
3433 yes:)
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3435 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3436 ac_tool_warned=yes ;;
3437 esac
3438 STRIP=$ac_ct_STRIP
3440 else
3441 STRIP="$ac_cv_prog_STRIP"
3445 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3448 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3449 if test -z "$MKDIR_P"; then
3450 if test "${ac_cv_path_mkdir+set}" = set; then :
3451 $as_echo_n "(cached) " >&6
3452 else
3453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3454 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3456 IFS=$as_save_IFS
3457 test -z "$as_dir" && as_dir=.
3458 for ac_prog in mkdir gmkdir; do
3459 for ac_exec_ext in '' $ac_executable_extensions; do
3460 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3461 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3462 'mkdir (GNU coreutils) '* | \
3463 'mkdir (coreutils) '* | \
3464 'mkdir (fileutils) '4.1*)
3465 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3466 break 3;;
3467 esac
3468 done
3469 done
3470 done
3471 IFS=$as_save_IFS
3475 if test "${ac_cv_path_mkdir+set}" = set; then
3476 MKDIR_P="$ac_cv_path_mkdir -p"
3477 else
3478 # As a last resort, use the slow shell script. Don't cache a
3479 # value for MKDIR_P within a source directory, because that will
3480 # break other packages using the cache if that directory is
3481 # removed, or if the value is a relative name.
3482 test -d ./--version && rmdir ./--version
3483 MKDIR_P="$ac_install_sh -d"
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3487 $as_echo "$MKDIR_P" >&6; }
3489 mkdir_p="$MKDIR_P"
3490 case $mkdir_p in
3491 [\\/$]* | ?:[\\/]*) ;;
3492 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3493 esac
3495 for ac_prog in gawk mawk nawk awk
3497 # Extract the first word of "$ac_prog", so it can be a program name with args.
3498 set dummy $ac_prog; ac_word=$2
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3500 $as_echo_n "checking for $ac_word... " >&6; }
3501 if test "${ac_cv_prog_AWK+set}" = set; then :
3502 $as_echo_n "(cached) " >&6
3503 else
3504 if test -n "$AWK"; then
3505 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3506 else
3507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3508 for as_dir in $PATH
3510 IFS=$as_save_IFS
3511 test -z "$as_dir" && as_dir=.
3512 for ac_exec_ext in '' $ac_executable_extensions; do
3513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3514 ac_cv_prog_AWK="$ac_prog"
3515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3516 break 2
3518 done
3519 done
3520 IFS=$as_save_IFS
3524 AWK=$ac_cv_prog_AWK
3525 if test -n "$AWK"; then
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3527 $as_echo "$AWK" >&6; }
3528 else
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3530 $as_echo "no" >&6; }
3534 test -n "$AWK" && break
3535 done
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3538 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3539 set x ${MAKE-make}
3540 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3541 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3542 $as_echo_n "(cached) " >&6
3543 else
3544 cat >conftest.make <<\_ACEOF
3545 SHELL = /bin/sh
3546 all:
3547 @echo '@@@%%%=$(MAKE)=@@@%%%'
3548 _ACEOF
3549 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3550 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3551 *@@@%%%=?*=@@@%%%*)
3552 eval ac_cv_prog_make_${ac_make}_set=yes;;
3554 eval ac_cv_prog_make_${ac_make}_set=no;;
3555 esac
3556 rm -f conftest.make
3558 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3560 $as_echo "yes" >&6; }
3561 SET_MAKE=
3562 else
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3564 $as_echo "no" >&6; }
3565 SET_MAKE="MAKE=${MAKE-make}"
3568 rm -rf .tst 2>/dev/null
3569 mkdir .tst 2>/dev/null
3570 if test -d .tst; then
3571 am__leading_dot=.
3572 else
3573 am__leading_dot=_
3575 rmdir .tst 2>/dev/null
3577 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3578 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3579 # is not polluted with repeated "-I."
3580 am__isrc=' -I$(srcdir)'
3581 # test to see if srcdir already configured
3582 if test -f $srcdir/config.status; then
3583 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3587 # test whether we have cygpath
3588 if test -z "$CYGPATH_W"; then
3589 if (cygpath --version) >/dev/null 2>/dev/null; then
3590 CYGPATH_W='cygpath -w'
3591 else
3592 CYGPATH_W=echo
3597 # Define the identity of the package.
3598 PACKAGE='libstdc++'
3599 VERSION='version-unused'
3602 # Some tools Automake needs.
3604 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3607 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3610 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3613 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3616 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3618 # We need awk for the "check" target. The system "awk" is bad on
3619 # some platforms.
3620 # Always define AMTAR for backward compatibility. Yes, it's still used
3621 # in the wild :-( We should find a proper way to deprecate it ...
3622 AMTAR='$${TAR-tar}'
3624 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3633 # -fno-builtin must be present here so that a non-conflicting form of
3634 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3636 save_CXXFLAGS="$CXXFLAGS"
3637 CXXFLAGS="$CXXFLAGS -fno-builtin"
3638 ac_ext=c
3639 ac_cpp='$CPP $CPPFLAGS'
3640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3643 if test -n "$ac_tool_prefix"; then
3644 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3645 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3647 $as_echo_n "checking for $ac_word... " >&6; }
3648 if test "${ac_cv_prog_CC+set}" = set; then :
3649 $as_echo_n "(cached) " >&6
3650 else
3651 if test -n "$CC"; then
3652 ac_cv_prog_CC="$CC" # Let the user override the test.
3653 else
3654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3655 for as_dir in $PATH
3657 IFS=$as_save_IFS
3658 test -z "$as_dir" && as_dir=.
3659 for ac_exec_ext in '' $ac_executable_extensions; do
3660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3661 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3663 break 2
3665 done
3666 done
3667 IFS=$as_save_IFS
3671 CC=$ac_cv_prog_CC
3672 if test -n "$CC"; then
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3674 $as_echo "$CC" >&6; }
3675 else
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3677 $as_echo "no" >&6; }
3682 if test -z "$ac_cv_prog_CC"; then
3683 ac_ct_CC=$CC
3684 # Extract the first word of "gcc", so it can be a program name with args.
3685 set dummy gcc; ac_word=$2
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3687 $as_echo_n "checking for $ac_word... " >&6; }
3688 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3689 $as_echo_n "(cached) " >&6
3690 else
3691 if test -n "$ac_ct_CC"; then
3692 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3693 else
3694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3695 for as_dir in $PATH
3697 IFS=$as_save_IFS
3698 test -z "$as_dir" && as_dir=.
3699 for ac_exec_ext in '' $ac_executable_extensions; do
3700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3701 ac_cv_prog_ac_ct_CC="gcc"
3702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3703 break 2
3705 done
3706 done
3707 IFS=$as_save_IFS
3711 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3712 if test -n "$ac_ct_CC"; then
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3714 $as_echo "$ac_ct_CC" >&6; }
3715 else
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3717 $as_echo "no" >&6; }
3720 if test "x$ac_ct_CC" = x; then
3721 CC=""
3722 else
3723 case $cross_compiling:$ac_tool_warned in
3724 yes:)
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3726 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3727 ac_tool_warned=yes ;;
3728 esac
3729 CC=$ac_ct_CC
3731 else
3732 CC="$ac_cv_prog_CC"
3735 if test -z "$CC"; then
3736 if test -n "$ac_tool_prefix"; then
3737 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3738 set dummy ${ac_tool_prefix}cc; ac_word=$2
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3740 $as_echo_n "checking for $ac_word... " >&6; }
3741 if test "${ac_cv_prog_CC+set}" = set; then :
3742 $as_echo_n "(cached) " >&6
3743 else
3744 if test -n "$CC"; then
3745 ac_cv_prog_CC="$CC" # Let the user override the test.
3746 else
3747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3748 for as_dir in $PATH
3750 IFS=$as_save_IFS
3751 test -z "$as_dir" && as_dir=.
3752 for ac_exec_ext in '' $ac_executable_extensions; do
3753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3754 ac_cv_prog_CC="${ac_tool_prefix}cc"
3755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3756 break 2
3758 done
3759 done
3760 IFS=$as_save_IFS
3764 CC=$ac_cv_prog_CC
3765 if test -n "$CC"; then
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3767 $as_echo "$CC" >&6; }
3768 else
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3770 $as_echo "no" >&6; }
3776 if test -z "$CC"; then
3777 # Extract the first word of "cc", so it can be a program name with args.
3778 set dummy cc; ac_word=$2
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3780 $as_echo_n "checking for $ac_word... " >&6; }
3781 if test "${ac_cv_prog_CC+set}" = set; then :
3782 $as_echo_n "(cached) " >&6
3783 else
3784 if test -n "$CC"; then
3785 ac_cv_prog_CC="$CC" # Let the user override the test.
3786 else
3787 ac_prog_rejected=no
3788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3789 for as_dir in $PATH
3791 IFS=$as_save_IFS
3792 test -z "$as_dir" && as_dir=.
3793 for ac_exec_ext in '' $ac_executable_extensions; do
3794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3795 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3796 ac_prog_rejected=yes
3797 continue
3799 ac_cv_prog_CC="cc"
3800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3801 break 2
3803 done
3804 done
3805 IFS=$as_save_IFS
3807 if test $ac_prog_rejected = yes; then
3808 # We found a bogon in the path, so make sure we never use it.
3809 set dummy $ac_cv_prog_CC
3810 shift
3811 if test $# != 0; then
3812 # We chose a different compiler from the bogus one.
3813 # However, it has the same basename, so the bogon will be chosen
3814 # first if we set CC to just the basename; use the full file name.
3815 shift
3816 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3821 CC=$ac_cv_prog_CC
3822 if test -n "$CC"; then
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3824 $as_echo "$CC" >&6; }
3825 else
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3827 $as_echo "no" >&6; }
3832 if test -z "$CC"; then
3833 if test -n "$ac_tool_prefix"; then
3834 for ac_prog in cl.exe
3836 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3837 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3839 $as_echo_n "checking for $ac_word... " >&6; }
3840 if test "${ac_cv_prog_CC+set}" = set; then :
3841 $as_echo_n "(cached) " >&6
3842 else
3843 if test -n "$CC"; then
3844 ac_cv_prog_CC="$CC" # Let the user override the test.
3845 else
3846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3847 for as_dir in $PATH
3849 IFS=$as_save_IFS
3850 test -z "$as_dir" && as_dir=.
3851 for ac_exec_ext in '' $ac_executable_extensions; do
3852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3853 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3855 break 2
3857 done
3858 done
3859 IFS=$as_save_IFS
3863 CC=$ac_cv_prog_CC
3864 if test -n "$CC"; then
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3866 $as_echo "$CC" >&6; }
3867 else
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3869 $as_echo "no" >&6; }
3873 test -n "$CC" && break
3874 done
3876 if test -z "$CC"; then
3877 ac_ct_CC=$CC
3878 for ac_prog in cl.exe
3880 # Extract the first word of "$ac_prog", so it can be a program name with args.
3881 set dummy $ac_prog; ac_word=$2
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3883 $as_echo_n "checking for $ac_word... " >&6; }
3884 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3885 $as_echo_n "(cached) " >&6
3886 else
3887 if test -n "$ac_ct_CC"; then
3888 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3889 else
3890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3891 for as_dir in $PATH
3893 IFS=$as_save_IFS
3894 test -z "$as_dir" && as_dir=.
3895 for ac_exec_ext in '' $ac_executable_extensions; do
3896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3897 ac_cv_prog_ac_ct_CC="$ac_prog"
3898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3899 break 2
3901 done
3902 done
3903 IFS=$as_save_IFS
3907 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3908 if test -n "$ac_ct_CC"; then
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3910 $as_echo "$ac_ct_CC" >&6; }
3911 else
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3913 $as_echo "no" >&6; }
3917 test -n "$ac_ct_CC" && break
3918 done
3920 if test "x$ac_ct_CC" = x; then
3921 CC=""
3922 else
3923 case $cross_compiling:$ac_tool_warned in
3924 yes:)
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3926 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3927 ac_tool_warned=yes ;;
3928 esac
3929 CC=$ac_ct_CC
3936 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3937 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3938 as_fn_error "no acceptable C compiler found in \$PATH
3939 See \`config.log' for more details." "$LINENO" 5; }
3941 # Provide some information about the compiler.
3942 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3943 set X $ac_compile
3944 ac_compiler=$2
3945 for ac_option in --version -v -V -qversion; do
3946 { { ac_try="$ac_compiler $ac_option >&5"
3947 case "(($ac_try" in
3948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3949 *) ac_try_echo=$ac_try;;
3950 esac
3951 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3952 $as_echo "$ac_try_echo"; } >&5
3953 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3954 ac_status=$?
3955 if test -s conftest.err; then
3956 sed '10a\
3957 ... rest of stderr output deleted ...
3958 10q' conftest.err >conftest.er1
3959 cat conftest.er1 >&5
3960 rm -f conftest.er1 conftest.err
3962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3963 test $ac_status = 0; }
3964 done
3966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3967 /* end confdefs.h. */
3970 main ()
3974 return 0;
3976 _ACEOF
3977 # FIXME: Cleanup?
3978 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3979 (eval $ac_link) 2>&5
3980 ac_status=$?
3981 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3982 test $ac_status = 0; }; then :
3983 gcc_no_link=no
3984 else
3985 gcc_no_link=yes
3987 if test x$gcc_no_link = xyes; then
3988 # Setting cross_compile will disable run tests; it will
3989 # also disable AC_CHECK_FILE but that's generally
3990 # correct if we can't link.
3991 cross_compiling=yes
3992 EXEEXT=
3993 else
3994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3995 /* end confdefs.h. */
3998 main ()
4002 return 0;
4004 _ACEOF
4005 ac_clean_files_save=$ac_clean_files
4006 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4007 # Try to create an executable without -o first, disregard a.out.
4008 # It will help us diagnose broken compilers, and finding out an intuition
4009 # of exeext.
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4011 $as_echo_n "checking for C compiler default output file name... " >&6; }
4012 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4014 # The possible output files:
4015 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4017 ac_rmfiles=
4018 for ac_file in $ac_files
4020 case $ac_file in
4021 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4022 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4023 esac
4024 done
4025 rm -f $ac_rmfiles
4027 if { { ac_try="$ac_link_default"
4028 case "(($ac_try" in
4029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4030 *) ac_try_echo=$ac_try;;
4031 esac
4032 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4033 $as_echo "$ac_try_echo"; } >&5
4034 (eval "$ac_link_default") 2>&5
4035 ac_status=$?
4036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4037 test $ac_status = 0; }; then :
4038 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4039 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4040 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4041 # so that the user can short-circuit this test for compilers unknown to
4042 # Autoconf.
4043 for ac_file in $ac_files ''
4045 test -f "$ac_file" || continue
4046 case $ac_file in
4047 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4049 [ab].out )
4050 # We found the default executable, but exeext='' is most
4051 # certainly right.
4052 break;;
4053 *.* )
4054 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4055 then :; else
4056 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4058 # We set ac_cv_exeext here because the later test for it is not
4059 # safe: cross compilers may not add the suffix if given an `-o'
4060 # argument, so we may need to know it at that point already.
4061 # Even if this section looks crufty: it has the advantage of
4062 # actually working.
4063 break;;
4065 break;;
4066 esac
4067 done
4068 test "$ac_cv_exeext" = no && ac_cv_exeext=
4070 else
4071 ac_file=''
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4074 $as_echo "$ac_file" >&6; }
4075 if test -z "$ac_file"; then :
4076 $as_echo "$as_me: failed program was:" >&5
4077 sed 's/^/| /' conftest.$ac_ext >&5
4079 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4080 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4081 { as_fn_set_status 77
4082 as_fn_error "C compiler cannot create executables
4083 See \`config.log' for more details." "$LINENO" 5; }; }
4085 ac_exeext=$ac_cv_exeext
4087 # Check that the compiler produces executables we can run. If not, either
4088 # the compiler is broken, or we cross compile.
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4090 $as_echo_n "checking whether the C compiler works... " >&6; }
4091 # If not cross compiling, check that we can run a simple program.
4092 if test "$cross_compiling" != yes; then
4093 if { ac_try='./$ac_file'
4094 { { case "(($ac_try" in
4095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4096 *) ac_try_echo=$ac_try;;
4097 esac
4098 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4099 $as_echo "$ac_try_echo"; } >&5
4100 (eval "$ac_try") 2>&5
4101 ac_status=$?
4102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4103 test $ac_status = 0; }; }; then
4104 cross_compiling=no
4105 else
4106 if test "$cross_compiling" = maybe; then
4107 cross_compiling=yes
4108 else
4109 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4110 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4111 as_fn_error "cannot run C compiled programs.
4112 If you meant to cross compile, use \`--host'.
4113 See \`config.log' for more details." "$LINENO" 5; }
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4118 $as_echo "yes" >&6; }
4120 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4121 ac_clean_files=$ac_clean_files_save
4122 # Check that the compiler produces executables we can run. If not, either
4123 # the compiler is broken, or we cross compile.
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4125 $as_echo_n "checking whether we are cross compiling... " >&6; }
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4127 $as_echo "$cross_compiling" >&6; }
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4130 $as_echo_n "checking for suffix of executables... " >&6; }
4131 if { { ac_try="$ac_link"
4132 case "(($ac_try" in
4133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4134 *) ac_try_echo=$ac_try;;
4135 esac
4136 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4137 $as_echo "$ac_try_echo"; } >&5
4138 (eval "$ac_link") 2>&5
4139 ac_status=$?
4140 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4141 test $ac_status = 0; }; then :
4142 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4143 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4144 # work properly (i.e., refer to `conftest.exe'), while it won't with
4145 # `rm'.
4146 for ac_file in conftest.exe conftest conftest.*; do
4147 test -f "$ac_file" || continue
4148 case $ac_file in
4149 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4150 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4151 break;;
4152 * ) break;;
4153 esac
4154 done
4155 else
4156 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4157 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4158 as_fn_error "cannot compute suffix of executables: cannot compile and link
4159 See \`config.log' for more details." "$LINENO" 5; }
4161 rm -f conftest$ac_cv_exeext
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4163 $as_echo "$ac_cv_exeext" >&6; }
4165 rm -f conftest.$ac_ext
4166 EXEEXT=$ac_cv_exeext
4167 ac_exeext=$EXEEXT
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4170 $as_echo_n "checking for suffix of object files... " >&6; }
4171 if test "${ac_cv_objext+set}" = set; then :
4172 $as_echo_n "(cached) " >&6
4173 else
4174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4175 /* end confdefs.h. */
4178 main ()
4182 return 0;
4184 _ACEOF
4185 rm -f conftest.o conftest.obj
4186 if { { ac_try="$ac_compile"
4187 case "(($ac_try" in
4188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4189 *) ac_try_echo=$ac_try;;
4190 esac
4191 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4192 $as_echo "$ac_try_echo"; } >&5
4193 (eval "$ac_compile") 2>&5
4194 ac_status=$?
4195 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4196 test $ac_status = 0; }; then :
4197 for ac_file in conftest.o conftest.obj conftest.*; do
4198 test -f "$ac_file" || continue;
4199 case $ac_file in
4200 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4201 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4202 break;;
4203 esac
4204 done
4205 else
4206 $as_echo "$as_me: failed program was:" >&5
4207 sed 's/^/| /' conftest.$ac_ext >&5
4209 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4210 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4211 as_fn_error "cannot compute suffix of object files: cannot compile
4212 See \`config.log' for more details." "$LINENO" 5; }
4214 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4217 $as_echo "$ac_cv_objext" >&6; }
4218 OBJEXT=$ac_cv_objext
4219 ac_objext=$OBJEXT
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4221 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4222 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4223 $as_echo_n "(cached) " >&6
4224 else
4225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4226 /* end confdefs.h. */
4229 main ()
4231 #ifndef __GNUC__
4232 choke me
4233 #endif
4236 return 0;
4238 _ACEOF
4239 if ac_fn_c_try_compile "$LINENO"; then :
4240 ac_compiler_gnu=yes
4241 else
4242 ac_compiler_gnu=no
4244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4245 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4249 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4250 if test $ac_compiler_gnu = yes; then
4251 GCC=yes
4252 else
4253 GCC=
4255 ac_test_CFLAGS=${CFLAGS+set}
4256 ac_save_CFLAGS=$CFLAGS
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4258 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4259 if test "${ac_cv_prog_cc_g+set}" = set; then :
4260 $as_echo_n "(cached) " >&6
4261 else
4262 ac_save_c_werror_flag=$ac_c_werror_flag
4263 ac_c_werror_flag=yes
4264 ac_cv_prog_cc_g=no
4265 CFLAGS="-g"
4266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4267 /* end confdefs.h. */
4270 main ()
4274 return 0;
4276 _ACEOF
4277 if ac_fn_c_try_compile "$LINENO"; then :
4278 ac_cv_prog_cc_g=yes
4279 else
4280 CFLAGS=""
4281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4282 /* end confdefs.h. */
4285 main ()
4289 return 0;
4291 _ACEOF
4292 if ac_fn_c_try_compile "$LINENO"; then :
4294 else
4295 ac_c_werror_flag=$ac_save_c_werror_flag
4296 CFLAGS="-g"
4297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4298 /* end confdefs.h. */
4301 main ()
4305 return 0;
4307 _ACEOF
4308 if ac_fn_c_try_compile "$LINENO"; then :
4309 ac_cv_prog_cc_g=yes
4311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4316 ac_c_werror_flag=$ac_save_c_werror_flag
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4319 $as_echo "$ac_cv_prog_cc_g" >&6; }
4320 if test "$ac_test_CFLAGS" = set; then
4321 CFLAGS=$ac_save_CFLAGS
4322 elif test $ac_cv_prog_cc_g = yes; then
4323 if test "$GCC" = yes; then
4324 CFLAGS="-g -O2"
4325 else
4326 CFLAGS="-g"
4328 else
4329 if test "$GCC" = yes; then
4330 CFLAGS="-O2"
4331 else
4332 CFLAGS=
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4336 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4337 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4338 $as_echo_n "(cached) " >&6
4339 else
4340 ac_cv_prog_cc_c89=no
4341 ac_save_CC=$CC
4342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4343 /* end confdefs.h. */
4344 #include <stdarg.h>
4345 #include <stdio.h>
4346 #include <sys/types.h>
4347 #include <sys/stat.h>
4348 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4349 struct buf { int x; };
4350 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4351 static char *e (p, i)
4352 char **p;
4353 int i;
4355 return p[i];
4357 static char *f (char * (*g) (char **, int), char **p, ...)
4359 char *s;
4360 va_list v;
4361 va_start (v,p);
4362 s = g (p, va_arg (v,int));
4363 va_end (v);
4364 return s;
4367 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4368 function prototypes and stuff, but not '\xHH' hex character constants.
4369 These don't provoke an error unfortunately, instead are silently treated
4370 as 'x'. The following induces an error, until -std is added to get
4371 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4372 array size at least. It's necessary to write '\x00'==0 to get something
4373 that's true only with -std. */
4374 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4376 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4377 inside strings and character constants. */
4378 #define FOO(x) 'x'
4379 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4381 int test (int i, double x);
4382 struct s1 {int (*f) (int a);};
4383 struct s2 {int (*f) (double a);};
4384 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4385 int argc;
4386 char **argv;
4388 main ()
4390 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4392 return 0;
4394 _ACEOF
4395 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4396 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4398 CC="$ac_save_CC $ac_arg"
4399 if ac_fn_c_try_compile "$LINENO"; then :
4400 ac_cv_prog_cc_c89=$ac_arg
4402 rm -f core conftest.err conftest.$ac_objext
4403 test "x$ac_cv_prog_cc_c89" != "xno" && break
4404 done
4405 rm -f conftest.$ac_ext
4406 CC=$ac_save_CC
4409 # AC_CACHE_VAL
4410 case "x$ac_cv_prog_cc_c89" in
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4413 $as_echo "none needed" >&6; } ;;
4414 xno)
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4416 $as_echo "unsupported" >&6; } ;;
4418 CC="$CC $ac_cv_prog_cc_c89"
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4420 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4421 esac
4422 if test "x$ac_cv_prog_cc_c89" != xno; then :
4426 ac_ext=c
4427 ac_cpp='$CPP $CPPFLAGS'
4428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4432 ac_ext=cpp
4433 ac_cpp='$CXXCPP $CPPFLAGS'
4434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4437 if test -z "$CXX"; then
4438 if test -n "$CCC"; then
4439 CXX=$CCC
4440 else
4441 if test -n "$ac_tool_prefix"; then
4442 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4444 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4445 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4447 $as_echo_n "checking for $ac_word... " >&6; }
4448 if test "${ac_cv_prog_CXX+set}" = set; then :
4449 $as_echo_n "(cached) " >&6
4450 else
4451 if test -n "$CXX"; then
4452 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4453 else
4454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4455 for as_dir in $PATH
4457 IFS=$as_save_IFS
4458 test -z "$as_dir" && as_dir=.
4459 for ac_exec_ext in '' $ac_executable_extensions; do
4460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4461 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4463 break 2
4465 done
4466 done
4467 IFS=$as_save_IFS
4471 CXX=$ac_cv_prog_CXX
4472 if test -n "$CXX"; then
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4474 $as_echo "$CXX" >&6; }
4475 else
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4477 $as_echo "no" >&6; }
4481 test -n "$CXX" && break
4482 done
4484 if test -z "$CXX"; then
4485 ac_ct_CXX=$CXX
4486 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4488 # Extract the first word of "$ac_prog", so it can be a program name with args.
4489 set dummy $ac_prog; ac_word=$2
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4491 $as_echo_n "checking for $ac_word... " >&6; }
4492 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4493 $as_echo_n "(cached) " >&6
4494 else
4495 if test -n "$ac_ct_CXX"; then
4496 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4497 else
4498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4499 for as_dir in $PATH
4501 IFS=$as_save_IFS
4502 test -z "$as_dir" && as_dir=.
4503 for ac_exec_ext in '' $ac_executable_extensions; do
4504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4505 ac_cv_prog_ac_ct_CXX="$ac_prog"
4506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4507 break 2
4509 done
4510 done
4511 IFS=$as_save_IFS
4515 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4516 if test -n "$ac_ct_CXX"; then
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4518 $as_echo "$ac_ct_CXX" >&6; }
4519 else
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4521 $as_echo "no" >&6; }
4525 test -n "$ac_ct_CXX" && break
4526 done
4528 if test "x$ac_ct_CXX" = x; then
4529 CXX="g++"
4530 else
4531 case $cross_compiling:$ac_tool_warned in
4532 yes:)
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4534 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4535 ac_tool_warned=yes ;;
4536 esac
4537 CXX=$ac_ct_CXX
4543 # Provide some information about the compiler.
4544 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4545 set X $ac_compile
4546 ac_compiler=$2
4547 for ac_option in --version -v -V -qversion; do
4548 { { ac_try="$ac_compiler $ac_option >&5"
4549 case "(($ac_try" in
4550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4551 *) ac_try_echo=$ac_try;;
4552 esac
4553 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4554 $as_echo "$ac_try_echo"; } >&5
4555 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4556 ac_status=$?
4557 if test -s conftest.err; then
4558 sed '10a\
4559 ... rest of stderr output deleted ...
4560 10q' conftest.err >conftest.er1
4561 cat conftest.er1 >&5
4562 rm -f conftest.er1 conftest.err
4564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4565 test $ac_status = 0; }
4566 done
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4569 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4570 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4571 $as_echo_n "(cached) " >&6
4572 else
4573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4574 /* end confdefs.h. */
4577 main ()
4579 #ifndef __GNUC__
4580 choke me
4581 #endif
4584 return 0;
4586 _ACEOF
4587 if ac_fn_cxx_try_compile "$LINENO"; then :
4588 ac_compiler_gnu=yes
4589 else
4590 ac_compiler_gnu=no
4592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4593 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4597 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4598 if test $ac_compiler_gnu = yes; then
4599 GXX=yes
4600 else
4601 GXX=
4603 ac_test_CXXFLAGS=${CXXFLAGS+set}
4604 ac_save_CXXFLAGS=$CXXFLAGS
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4606 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4607 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4608 $as_echo_n "(cached) " >&6
4609 else
4610 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4611 ac_cxx_werror_flag=yes
4612 ac_cv_prog_cxx_g=no
4613 CXXFLAGS="-g"
4614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4615 /* end confdefs.h. */
4618 main ()
4622 return 0;
4624 _ACEOF
4625 if ac_fn_cxx_try_compile "$LINENO"; then :
4626 ac_cv_prog_cxx_g=yes
4627 else
4628 CXXFLAGS=""
4629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4630 /* end confdefs.h. */
4633 main ()
4637 return 0;
4639 _ACEOF
4640 if ac_fn_cxx_try_compile "$LINENO"; then :
4642 else
4643 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4644 CXXFLAGS="-g"
4645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4646 /* end confdefs.h. */
4649 main ()
4653 return 0;
4655 _ACEOF
4656 if ac_fn_cxx_try_compile "$LINENO"; then :
4657 ac_cv_prog_cxx_g=yes
4659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4664 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4667 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4668 if test "$ac_test_CXXFLAGS" = set; then
4669 CXXFLAGS=$ac_save_CXXFLAGS
4670 elif test $ac_cv_prog_cxx_g = yes; then
4671 if test "$GXX" = yes; then
4672 CXXFLAGS="-g -O2"
4673 else
4674 CXXFLAGS="-g"
4676 else
4677 if test "$GXX" = yes; then
4678 CXXFLAGS="-O2"
4679 else
4680 CXXFLAGS=
4683 ac_ext=c
4684 ac_cpp='$CPP $CPPFLAGS'
4685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4689 CXXFLAGS="$save_CXXFLAGS"
4691 # Runs configure.host, and assorted other critical bits. Sets
4692 # up critical shell variables.
4694 ac_ext=c
4695 ac_cpp='$CPP $CPPFLAGS'
4696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4700 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4701 # On Suns, sometimes $CPP names a directory.
4702 if test -n "$CPP" && test -d "$CPP"; then
4703 CPP=
4705 if test -z "$CPP"; then
4706 if test "${ac_cv_prog_CPP+set}" = set; then :
4707 $as_echo_n "(cached) " >&6
4708 else
4709 # Double quotes because CPP needs to be expanded
4710 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4712 ac_preproc_ok=false
4713 for ac_c_preproc_warn_flag in '' yes
4715 # Use a header file that comes with gcc, so configuring glibc
4716 # with a fresh cross-compiler works.
4717 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4718 # <limits.h> exists even on freestanding compilers.
4719 # On the NeXT, cc -E runs the code through the compiler's parser,
4720 # not just through cpp. "Syntax error" is here to catch this case.
4721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4722 /* end confdefs.h. */
4723 #ifdef __STDC__
4724 # include <limits.h>
4725 #else
4726 # include <assert.h>
4727 #endif
4728 Syntax error
4729 _ACEOF
4730 if ac_fn_c_try_cpp "$LINENO"; then :
4732 else
4733 # Broken: fails on valid input.
4734 continue
4736 rm -f conftest.err conftest.$ac_ext
4738 # OK, works on sane cases. Now check whether nonexistent headers
4739 # can be detected and how.
4740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4741 /* end confdefs.h. */
4742 #include <ac_nonexistent.h>
4743 _ACEOF
4744 if ac_fn_c_try_cpp "$LINENO"; then :
4745 # Broken: success on invalid input.
4746 continue
4747 else
4748 # Passes both tests.
4749 ac_preproc_ok=:
4750 break
4752 rm -f conftest.err conftest.$ac_ext
4754 done
4755 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4756 rm -f conftest.err conftest.$ac_ext
4757 if $ac_preproc_ok; then :
4758 break
4761 done
4762 ac_cv_prog_CPP=$CPP
4765 CPP=$ac_cv_prog_CPP
4766 else
4767 ac_cv_prog_CPP=$CPP
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4770 $as_echo "$CPP" >&6; }
4771 ac_preproc_ok=false
4772 for ac_c_preproc_warn_flag in '' yes
4774 # Use a header file that comes with gcc, so configuring glibc
4775 # with a fresh cross-compiler works.
4776 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4777 # <limits.h> exists even on freestanding compilers.
4778 # On the NeXT, cc -E runs the code through the compiler's parser,
4779 # not just through cpp. "Syntax error" is here to catch this case.
4780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4781 /* end confdefs.h. */
4782 #ifdef __STDC__
4783 # include <limits.h>
4784 #else
4785 # include <assert.h>
4786 #endif
4787 Syntax error
4788 _ACEOF
4789 if ac_fn_c_try_cpp "$LINENO"; then :
4791 else
4792 # Broken: fails on valid input.
4793 continue
4795 rm -f conftest.err conftest.$ac_ext
4797 # OK, works on sane cases. Now check whether nonexistent headers
4798 # can be detected and how.
4799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4800 /* end confdefs.h. */
4801 #include <ac_nonexistent.h>
4802 _ACEOF
4803 if ac_fn_c_try_cpp "$LINENO"; then :
4804 # Broken: success on invalid input.
4805 continue
4806 else
4807 # Passes both tests.
4808 ac_preproc_ok=:
4809 break
4811 rm -f conftest.err conftest.$ac_ext
4813 done
4814 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4815 rm -f conftest.err conftest.$ac_ext
4816 if $ac_preproc_ok; then :
4818 else
4819 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4820 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4821 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4822 See \`config.log' for more details." "$LINENO" 5; }
4825 ac_ext=c
4826 ac_cpp='$CPP $CPPFLAGS'
4827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4833 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4834 if test "${ac_cv_path_GREP+set}" = set; then :
4835 $as_echo_n "(cached) " >&6
4836 else
4837 if test -z "$GREP"; then
4838 ac_path_GREP_found=false
4839 # Loop through the user's path and test for each of PROGNAME-LIST
4840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4841 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4843 IFS=$as_save_IFS
4844 test -z "$as_dir" && as_dir=.
4845 for ac_prog in grep ggrep; do
4846 for ac_exec_ext in '' $ac_executable_extensions; do
4847 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4848 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4849 # Check for GNU ac_path_GREP and select it if it is found.
4850 # Check for GNU $ac_path_GREP
4851 case `"$ac_path_GREP" --version 2>&1` in
4852 *GNU*)
4853 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4855 ac_count=0
4856 $as_echo_n 0123456789 >"conftest.in"
4857 while :
4859 cat "conftest.in" "conftest.in" >"conftest.tmp"
4860 mv "conftest.tmp" "conftest.in"
4861 cp "conftest.in" "conftest.nl"
4862 $as_echo 'GREP' >> "conftest.nl"
4863 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4864 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4865 as_fn_arith $ac_count + 1 && ac_count=$as_val
4866 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4867 # Best one so far, save it but keep looking for a better one
4868 ac_cv_path_GREP="$ac_path_GREP"
4869 ac_path_GREP_max=$ac_count
4871 # 10*(2^10) chars as input seems more than enough
4872 test $ac_count -gt 10 && break
4873 done
4874 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4875 esac
4877 $ac_path_GREP_found && break 3
4878 done
4879 done
4880 done
4881 IFS=$as_save_IFS
4882 if test -z "$ac_cv_path_GREP"; then
4883 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4885 else
4886 ac_cv_path_GREP=$GREP
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4891 $as_echo "$ac_cv_path_GREP" >&6; }
4892 GREP="$ac_cv_path_GREP"
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4896 $as_echo_n "checking for egrep... " >&6; }
4897 if test "${ac_cv_path_EGREP+set}" = set; then :
4898 $as_echo_n "(cached) " >&6
4899 else
4900 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4901 then ac_cv_path_EGREP="$GREP -E"
4902 else
4903 if test -z "$EGREP"; then
4904 ac_path_EGREP_found=false
4905 # Loop through the user's path and test for each of PROGNAME-LIST
4906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4907 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4909 IFS=$as_save_IFS
4910 test -z "$as_dir" && as_dir=.
4911 for ac_prog in egrep; do
4912 for ac_exec_ext in '' $ac_executable_extensions; do
4913 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4914 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4915 # Check for GNU ac_path_EGREP and select it if it is found.
4916 # Check for GNU $ac_path_EGREP
4917 case `"$ac_path_EGREP" --version 2>&1` in
4918 *GNU*)
4919 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4921 ac_count=0
4922 $as_echo_n 0123456789 >"conftest.in"
4923 while :
4925 cat "conftest.in" "conftest.in" >"conftest.tmp"
4926 mv "conftest.tmp" "conftest.in"
4927 cp "conftest.in" "conftest.nl"
4928 $as_echo 'EGREP' >> "conftest.nl"
4929 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4930 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4931 as_fn_arith $ac_count + 1 && ac_count=$as_val
4932 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4933 # Best one so far, save it but keep looking for a better one
4934 ac_cv_path_EGREP="$ac_path_EGREP"
4935 ac_path_EGREP_max=$ac_count
4937 # 10*(2^10) chars as input seems more than enough
4938 test $ac_count -gt 10 && break
4939 done
4940 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4941 esac
4943 $ac_path_EGREP_found && break 3
4944 done
4945 done
4946 done
4947 IFS=$as_save_IFS
4948 if test -z "$ac_cv_path_EGREP"; then
4949 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4951 else
4952 ac_cv_path_EGREP=$EGREP
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4958 $as_echo "$ac_cv_path_EGREP" >&6; }
4959 EGREP="$ac_cv_path_EGREP"
4963 # Keep these sync'd with the list in Makefile.am. The first provides an
4964 # expandable list at autoconf time; the second provides an expandable list
4965 # (i.e., shell variable) at configure time.
4967 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/filesystem doc po testsuite python'
4969 # These need to be absolute paths, yet at the same time need to
4970 # canonicalize only relative paths, because then amd will not unmount
4971 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4972 glibcxx_builddir=`${PWDCMD-pwd}`
4973 case $srcdir in
4974 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4975 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4976 esac
4977 toplevel_builddir=${glibcxx_builddir}/..
4978 toplevel_srcdir=${glibcxx_srcdir}/..
4984 # We use these options to decide which functions to include. They are
4985 # set from the top level.
4987 # Check whether --with-target-subdir was given.
4988 if test "${with_target_subdir+set}" = set; then :
4989 withval=$with_target_subdir;
4994 # Check whether --with-cross-host was given.
4995 if test "${with_cross_host+set}" = set; then :
4996 withval=$with_cross_host;
5001 # Check whether --with-newlib was given.
5002 if test "${with_newlib+set}" = set; then :
5003 withval=$with_newlib;
5007 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5008 # available). Uncomment the next line to force a particular method.
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5010 $as_echo_n "checking whether ln -s works... " >&6; }
5011 LN_S=$as_ln_s
5012 if test "$LN_S" = "ln -s"; then
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5014 $as_echo "yes" >&6; }
5015 else
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5017 $as_echo "no, using $LN_S" >&6; }
5020 #LN_S='cp -p'
5022 if test -n "$ac_tool_prefix"; then
5023 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5024 set dummy ${ac_tool_prefix}as; ac_word=$2
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5026 $as_echo_n "checking for $ac_word... " >&6; }
5027 if test "${ac_cv_prog_AS+set}" = set; then :
5028 $as_echo_n "(cached) " >&6
5029 else
5030 if test -n "$AS"; then
5031 ac_cv_prog_AS="$AS" # Let the user override the test.
5032 else
5033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5034 for as_dir in $PATH
5036 IFS=$as_save_IFS
5037 test -z "$as_dir" && as_dir=.
5038 for ac_exec_ext in '' $ac_executable_extensions; do
5039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5040 ac_cv_prog_AS="${ac_tool_prefix}as"
5041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5042 break 2
5044 done
5045 done
5046 IFS=$as_save_IFS
5050 AS=$ac_cv_prog_AS
5051 if test -n "$AS"; then
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5053 $as_echo "$AS" >&6; }
5054 else
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5056 $as_echo "no" >&6; }
5061 if test -z "$ac_cv_prog_AS"; then
5062 ac_ct_AS=$AS
5063 # Extract the first word of "as", so it can be a program name with args.
5064 set dummy as; ac_word=$2
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5066 $as_echo_n "checking for $ac_word... " >&6; }
5067 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5068 $as_echo_n "(cached) " >&6
5069 else
5070 if test -n "$ac_ct_AS"; then
5071 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5072 else
5073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5074 for as_dir in $PATH
5076 IFS=$as_save_IFS
5077 test -z "$as_dir" && as_dir=.
5078 for ac_exec_ext in '' $ac_executable_extensions; do
5079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5080 ac_cv_prog_ac_ct_AS="as"
5081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5082 break 2
5084 done
5085 done
5086 IFS=$as_save_IFS
5090 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5091 if test -n "$ac_ct_AS"; then
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5093 $as_echo "$ac_ct_AS" >&6; }
5094 else
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5096 $as_echo "no" >&6; }
5099 if test "x$ac_ct_AS" = x; then
5100 AS=""
5101 else
5102 case $cross_compiling:$ac_tool_warned in
5103 yes:)
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5105 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5106 ac_tool_warned=yes ;;
5107 esac
5108 AS=$ac_ct_AS
5110 else
5111 AS="$ac_cv_prog_AS"
5114 if test -n "$ac_tool_prefix"; then
5115 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5116 set dummy ${ac_tool_prefix}ar; ac_word=$2
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5118 $as_echo_n "checking for $ac_word... " >&6; }
5119 if test "${ac_cv_prog_AR+set}" = set; then :
5120 $as_echo_n "(cached) " >&6
5121 else
5122 if test -n "$AR"; then
5123 ac_cv_prog_AR="$AR" # Let the user override the test.
5124 else
5125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5126 for as_dir in $PATH
5128 IFS=$as_save_IFS
5129 test -z "$as_dir" && as_dir=.
5130 for ac_exec_ext in '' $ac_executable_extensions; do
5131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5132 ac_cv_prog_AR="${ac_tool_prefix}ar"
5133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5134 break 2
5136 done
5137 done
5138 IFS=$as_save_IFS
5142 AR=$ac_cv_prog_AR
5143 if test -n "$AR"; then
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5145 $as_echo "$AR" >&6; }
5146 else
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5148 $as_echo "no" >&6; }
5153 if test -z "$ac_cv_prog_AR"; then
5154 ac_ct_AR=$AR
5155 # Extract the first word of "ar", so it can be a program name with args.
5156 set dummy ar; ac_word=$2
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5158 $as_echo_n "checking for $ac_word... " >&6; }
5159 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5160 $as_echo_n "(cached) " >&6
5161 else
5162 if test -n "$ac_ct_AR"; then
5163 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5164 else
5165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5166 for as_dir in $PATH
5168 IFS=$as_save_IFS
5169 test -z "$as_dir" && as_dir=.
5170 for ac_exec_ext in '' $ac_executable_extensions; do
5171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5172 ac_cv_prog_ac_ct_AR="ar"
5173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5174 break 2
5176 done
5177 done
5178 IFS=$as_save_IFS
5182 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5183 if test -n "$ac_ct_AR"; then
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5185 $as_echo "$ac_ct_AR" >&6; }
5186 else
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5188 $as_echo "no" >&6; }
5191 if test "x$ac_ct_AR" = x; then
5192 AR=""
5193 else
5194 case $cross_compiling:$ac_tool_warned in
5195 yes:)
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5197 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5198 ac_tool_warned=yes ;;
5199 esac
5200 AR=$ac_ct_AR
5202 else
5203 AR="$ac_cv_prog_AR"
5206 if test -n "$ac_tool_prefix"; then
5207 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5208 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5210 $as_echo_n "checking for $ac_word... " >&6; }
5211 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5212 $as_echo_n "(cached) " >&6
5213 else
5214 if test -n "$RANLIB"; then
5215 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5216 else
5217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5218 for as_dir in $PATH
5220 IFS=$as_save_IFS
5221 test -z "$as_dir" && as_dir=.
5222 for ac_exec_ext in '' $ac_executable_extensions; do
5223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5224 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5226 break 2
5228 done
5229 done
5230 IFS=$as_save_IFS
5234 RANLIB=$ac_cv_prog_RANLIB
5235 if test -n "$RANLIB"; then
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5237 $as_echo "$RANLIB" >&6; }
5238 else
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5240 $as_echo "no" >&6; }
5245 if test -z "$ac_cv_prog_RANLIB"; then
5246 ac_ct_RANLIB=$RANLIB
5247 # Extract the first word of "ranlib", so it can be a program name with args.
5248 set dummy ranlib; ac_word=$2
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5250 $as_echo_n "checking for $ac_word... " >&6; }
5251 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5252 $as_echo_n "(cached) " >&6
5253 else
5254 if test -n "$ac_ct_RANLIB"; then
5255 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5256 else
5257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5258 for as_dir in $PATH
5260 IFS=$as_save_IFS
5261 test -z "$as_dir" && as_dir=.
5262 for ac_exec_ext in '' $ac_executable_extensions; do
5263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5264 ac_cv_prog_ac_ct_RANLIB="ranlib"
5265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5266 break 2
5268 done
5269 done
5270 IFS=$as_save_IFS
5274 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5275 if test -n "$ac_ct_RANLIB"; then
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5277 $as_echo "$ac_ct_RANLIB" >&6; }
5278 else
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5280 $as_echo "no" >&6; }
5283 if test "x$ac_ct_RANLIB" = x; then
5284 RANLIB="ranlib-not-found-in-path-error"
5285 else
5286 case $cross_compiling:$ac_tool_warned in
5287 yes:)
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5289 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5290 ac_tool_warned=yes ;;
5291 esac
5292 RANLIB=$ac_ct_RANLIB
5294 else
5295 RANLIB="$ac_cv_prog_RANLIB"
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5301 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5302 # Check whether --enable-maintainer-mode was given.
5303 if test "${enable_maintainer_mode+set}" = set; then :
5304 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5305 else
5306 USE_MAINTAINER_MODE=no
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5310 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5311 if test $USE_MAINTAINER_MODE = yes; then
5312 MAINTAINER_MODE_TRUE=
5313 MAINTAINER_MODE_FALSE='#'
5314 else
5315 MAINTAINER_MODE_TRUE='#'
5316 MAINTAINER_MODE_FALSE=
5319 MAINT=$MAINTAINER_MODE_TRUE
5323 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5324 # which are themselves conditionally expanded.
5325 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5326 ## other macros from doing the same. This should be automated.) -pme
5328 # Check for C library flavor since GNU/Linux platforms use different
5329 # configuration directories depending on the C library in use.
5330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5331 /* end confdefs.h. */
5333 #include <stdio.h>
5334 #if __UCLIBC__
5335 _using_uclibc
5336 #endif
5338 _ACEOF
5339 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5340 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5341 uclibc=yes
5342 else
5343 uclibc=no
5345 rm -f conftest*
5348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5349 /* end confdefs.h. */
5351 #include <stdio.h>
5352 #if __BIONIC__
5353 _using_bionic
5354 #endif
5356 _ACEOF
5357 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5358 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5359 bionic=yes
5360 else
5361 bionic=no
5363 rm -f conftest*
5366 # Find platform-specific directories containing configuration info.
5367 # Also possibly modify flags used elsewhere, as needed by the platform.
5369 . $glibcxx_srcdir/configure.host
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5371 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5373 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5377 # Libtool setup.
5378 if test "x${with_newlib}" != "xyes"; then
5379 enable_dlopen=yes
5384 case `pwd` in
5385 *\ * | *\ *)
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5387 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5388 esac
5392 macro_version='2.2.7a'
5393 macro_revision='1.3134'
5407 ltmain="$ac_aux_dir/ltmain.sh"
5409 # Backslashify metacharacters that are still active within
5410 # double-quoted strings.
5411 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5413 # Same as above, but do not quote variable references.
5414 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5416 # Sed substitution to delay expansion of an escaped shell variable in a
5417 # double_quote_subst'ed string.
5418 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5420 # Sed substitution to delay expansion of an escaped single quote.
5421 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5423 # Sed substitution to avoid accidental globbing in evaled expressions
5424 no_glob_subst='s/\*/\\\*/g'
5426 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5427 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5428 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5431 $as_echo_n "checking how to print strings... " >&6; }
5432 # Test print first, because it will be a builtin if present.
5433 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5434 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5435 ECHO='print -r --'
5436 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5437 ECHO='printf %s\n'
5438 else
5439 # Use this function as a fallback that always works.
5440 func_fallback_echo ()
5442 eval 'cat <<_LTECHO_EOF
5444 _LTECHO_EOF'
5446 ECHO='func_fallback_echo'
5449 # func_echo_all arg...
5450 # Invoke $ECHO with all args, space-separated.
5451 func_echo_all ()
5453 $ECHO ""
5456 case "$ECHO" in
5457 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5458 $as_echo "printf" >&6; } ;;
5459 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5460 $as_echo "print -r" >&6; } ;;
5461 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5462 $as_echo "cat" >&6; } ;;
5463 esac
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5479 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5480 if test "${ac_cv_path_SED+set}" = set; then :
5481 $as_echo_n "(cached) " >&6
5482 else
5483 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5484 for ac_i in 1 2 3 4 5 6 7; do
5485 ac_script="$ac_script$as_nl$ac_script"
5486 done
5487 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5488 { ac_script=; unset ac_script;}
5489 if test -z "$SED"; then
5490 ac_path_SED_found=false
5491 # Loop through the user's path and test for each of PROGNAME-LIST
5492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5493 for as_dir in $PATH
5495 IFS=$as_save_IFS
5496 test -z "$as_dir" && as_dir=.
5497 for ac_prog in sed gsed; do
5498 for ac_exec_ext in '' $ac_executable_extensions; do
5499 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5500 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5501 # Check for GNU ac_path_SED and select it if it is found.
5502 # Check for GNU $ac_path_SED
5503 case `"$ac_path_SED" --version 2>&1` in
5504 *GNU*)
5505 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5507 ac_count=0
5508 $as_echo_n 0123456789 >"conftest.in"
5509 while :
5511 cat "conftest.in" "conftest.in" >"conftest.tmp"
5512 mv "conftest.tmp" "conftest.in"
5513 cp "conftest.in" "conftest.nl"
5514 $as_echo '' >> "conftest.nl"
5515 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5516 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5517 as_fn_arith $ac_count + 1 && ac_count=$as_val
5518 if test $ac_count -gt ${ac_path_SED_max-0}; then
5519 # Best one so far, save it but keep looking for a better one
5520 ac_cv_path_SED="$ac_path_SED"
5521 ac_path_SED_max=$ac_count
5523 # 10*(2^10) chars as input seems more than enough
5524 test $ac_count -gt 10 && break
5525 done
5526 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5527 esac
5529 $ac_path_SED_found && break 3
5530 done
5531 done
5532 done
5533 IFS=$as_save_IFS
5534 if test -z "$ac_cv_path_SED"; then
5535 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5537 else
5538 ac_cv_path_SED=$SED
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5543 $as_echo "$ac_cv_path_SED" >&6; }
5544 SED="$ac_cv_path_SED"
5545 rm -f conftest.sed
5547 test -z "$SED" && SED=sed
5548 Xsed="$SED -e 1s/^X//"
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5561 $as_echo_n "checking for fgrep... " >&6; }
5562 if test "${ac_cv_path_FGREP+set}" = set; then :
5563 $as_echo_n "(cached) " >&6
5564 else
5565 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5566 then ac_cv_path_FGREP="$GREP -F"
5567 else
5568 if test -z "$FGREP"; then
5569 ac_path_FGREP_found=false
5570 # Loop through the user's path and test for each of PROGNAME-LIST
5571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5572 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5574 IFS=$as_save_IFS
5575 test -z "$as_dir" && as_dir=.
5576 for ac_prog in fgrep; do
5577 for ac_exec_ext in '' $ac_executable_extensions; do
5578 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5579 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5580 # Check for GNU ac_path_FGREP and select it if it is found.
5581 # Check for GNU $ac_path_FGREP
5582 case `"$ac_path_FGREP" --version 2>&1` in
5583 *GNU*)
5584 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5586 ac_count=0
5587 $as_echo_n 0123456789 >"conftest.in"
5588 while :
5590 cat "conftest.in" "conftest.in" >"conftest.tmp"
5591 mv "conftest.tmp" "conftest.in"
5592 cp "conftest.in" "conftest.nl"
5593 $as_echo 'FGREP' >> "conftest.nl"
5594 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5595 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5596 as_fn_arith $ac_count + 1 && ac_count=$as_val
5597 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5598 # Best one so far, save it but keep looking for a better one
5599 ac_cv_path_FGREP="$ac_path_FGREP"
5600 ac_path_FGREP_max=$ac_count
5602 # 10*(2^10) chars as input seems more than enough
5603 test $ac_count -gt 10 && break
5604 done
5605 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5606 esac
5608 $ac_path_FGREP_found && break 3
5609 done
5610 done
5611 done
5612 IFS=$as_save_IFS
5613 if test -z "$ac_cv_path_FGREP"; then
5614 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5616 else
5617 ac_cv_path_FGREP=$FGREP
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5623 $as_echo "$ac_cv_path_FGREP" >&6; }
5624 FGREP="$ac_cv_path_FGREP"
5627 test -z "$GREP" && GREP=grep
5647 # Check whether --with-gnu-ld was given.
5648 if test "${with_gnu_ld+set}" = set; then :
5649 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5650 else
5651 with_gnu_ld=no
5654 ac_prog=ld
5655 if test "$GCC" = yes; then
5656 # Check if gcc -print-prog-name=ld gives a path.
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5658 $as_echo_n "checking for ld used by $CC... " >&6; }
5659 case $host in
5660 *-*-mingw*)
5661 # gcc leaves a trailing carriage return which upsets mingw
5662 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5664 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5665 esac
5666 case $ac_prog in
5667 # Accept absolute paths.
5668 [\\/]* | ?:[\\/]*)
5669 re_direlt='/[^/][^/]*/\.\./'
5670 # Canonicalize the pathname of ld
5671 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5672 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5673 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5674 done
5675 test -z "$LD" && LD="$ac_prog"
5678 # If it fails, then pretend we aren't using GCC.
5679 ac_prog=ld
5682 # If it is relative, then search for the first ld in PATH.
5683 with_gnu_ld=unknown
5685 esac
5686 elif test "$with_gnu_ld" = yes; then
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5688 $as_echo_n "checking for GNU ld... " >&6; }
5689 else
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5691 $as_echo_n "checking for non-GNU ld... " >&6; }
5693 if test "${lt_cv_path_LD+set}" = set; then :
5694 $as_echo_n "(cached) " >&6
5695 else
5696 if test -z "$LD"; then
5697 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5698 for ac_dir in $PATH; do
5699 IFS="$lt_save_ifs"
5700 test -z "$ac_dir" && ac_dir=.
5701 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5702 lt_cv_path_LD="$ac_dir/$ac_prog"
5703 # Check to see if the program is GNU ld. I'd rather use --version,
5704 # but apparently some variants of GNU ld only accept -v.
5705 # Break only if it was the GNU/non-GNU ld that we prefer.
5706 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5707 *GNU* | *'with BFD'*)
5708 test "$with_gnu_ld" != no && break
5711 test "$with_gnu_ld" != yes && break
5713 esac
5715 done
5716 IFS="$lt_save_ifs"
5717 else
5718 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5722 LD="$lt_cv_path_LD"
5723 if test -n "$LD"; then
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5725 $as_echo "$LD" >&6; }
5726 else
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5728 $as_echo "no" >&6; }
5730 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5732 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5733 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5734 $as_echo_n "(cached) " >&6
5735 else
5736 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5737 case `$LD -v 2>&1 </dev/null` in
5738 *GNU* | *'with BFD'*)
5739 lt_cv_prog_gnu_ld=yes
5742 lt_cv_prog_gnu_ld=no
5744 esac
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5747 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5748 with_gnu_ld=$lt_cv_prog_gnu_ld
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5759 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5760 if test "${lt_cv_path_NM+set}" = set; then :
5761 $as_echo_n "(cached) " >&6
5762 else
5763 if test -n "$NM"; then
5764 # Let the user override the test.
5765 lt_cv_path_NM="$NM"
5766 else
5767 lt_nm_to_check="${ac_tool_prefix}nm"
5768 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5769 lt_nm_to_check="$lt_nm_to_check nm"
5771 for lt_tmp_nm in $lt_nm_to_check; do
5772 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5773 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5774 IFS="$lt_save_ifs"
5775 test -z "$ac_dir" && ac_dir=.
5776 tmp_nm="$ac_dir/$lt_tmp_nm"
5777 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5778 # Check to see if the nm accepts a BSD-compat flag.
5779 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5780 # nm: unknown option "B" ignored
5781 # Tru64's nm complains that /dev/null is an invalid object file
5782 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5783 */dev/null* | *'Invalid file or object type'*)
5784 lt_cv_path_NM="$tmp_nm -B"
5785 break
5788 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5789 */dev/null*)
5790 lt_cv_path_NM="$tmp_nm -p"
5791 break
5794 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5795 continue # so that we can try to find one that supports BSD flags
5797 esac
5799 esac
5801 done
5802 IFS="$lt_save_ifs"
5803 done
5804 : ${lt_cv_path_NM=no}
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5808 $as_echo "$lt_cv_path_NM" >&6; }
5809 if test "$lt_cv_path_NM" != "no"; then
5810 NM="$lt_cv_path_NM"
5811 else
5812 # Didn't find any BSD compatible name lister, look for dumpbin.
5813 if test -n "$DUMPBIN"; then :
5814 # Let the user override the test.
5815 else
5816 if test -n "$ac_tool_prefix"; then
5817 for ac_prog in dumpbin "link -dump"
5819 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5820 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5822 $as_echo_n "checking for $ac_word... " >&6; }
5823 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5824 $as_echo_n "(cached) " >&6
5825 else
5826 if test -n "$DUMPBIN"; then
5827 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5828 else
5829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5830 for as_dir in $PATH
5832 IFS=$as_save_IFS
5833 test -z "$as_dir" && as_dir=.
5834 for ac_exec_ext in '' $ac_executable_extensions; do
5835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5836 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5838 break 2
5840 done
5841 done
5842 IFS=$as_save_IFS
5846 DUMPBIN=$ac_cv_prog_DUMPBIN
5847 if test -n "$DUMPBIN"; then
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5849 $as_echo "$DUMPBIN" >&6; }
5850 else
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5852 $as_echo "no" >&6; }
5856 test -n "$DUMPBIN" && break
5857 done
5859 if test -z "$DUMPBIN"; then
5860 ac_ct_DUMPBIN=$DUMPBIN
5861 for ac_prog in dumpbin "link -dump"
5863 # Extract the first word of "$ac_prog", so it can be a program name with args.
5864 set dummy $ac_prog; ac_word=$2
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5866 $as_echo_n "checking for $ac_word... " >&6; }
5867 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5868 $as_echo_n "(cached) " >&6
5869 else
5870 if test -n "$ac_ct_DUMPBIN"; then
5871 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5872 else
5873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5874 for as_dir in $PATH
5876 IFS=$as_save_IFS
5877 test -z "$as_dir" && as_dir=.
5878 for ac_exec_ext in '' $ac_executable_extensions; do
5879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5880 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5882 break 2
5884 done
5885 done
5886 IFS=$as_save_IFS
5890 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5891 if test -n "$ac_ct_DUMPBIN"; then
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5893 $as_echo "$ac_ct_DUMPBIN" >&6; }
5894 else
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5896 $as_echo "no" >&6; }
5900 test -n "$ac_ct_DUMPBIN" && break
5901 done
5903 if test "x$ac_ct_DUMPBIN" = x; then
5904 DUMPBIN=":"
5905 else
5906 case $cross_compiling:$ac_tool_warned in
5907 yes:)
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5909 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5910 ac_tool_warned=yes ;;
5911 esac
5912 DUMPBIN=$ac_ct_DUMPBIN
5916 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5917 *COFF*)
5918 DUMPBIN="$DUMPBIN -symbols"
5921 DUMPBIN=:
5923 esac
5926 if test "$DUMPBIN" != ":"; then
5927 NM="$DUMPBIN"
5930 test -z "$NM" && NM=nm
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5938 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5939 if test "${lt_cv_nm_interface+set}" = set; then :
5940 $as_echo_n "(cached) " >&6
5941 else
5942 lt_cv_nm_interface="BSD nm"
5943 echo "int some_variable = 0;" > conftest.$ac_ext
5944 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5945 (eval "$ac_compile" 2>conftest.err)
5946 cat conftest.err >&5
5947 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5948 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5949 cat conftest.err >&5
5950 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5951 cat conftest.out >&5
5952 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5953 lt_cv_nm_interface="MS dumpbin"
5955 rm -f conftest*
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5958 $as_echo "$lt_cv_nm_interface" >&6; }
5960 # find the maximum length of command line arguments
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5962 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5963 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5964 $as_echo_n "(cached) " >&6
5965 else
5967 teststring="ABCD"
5969 case $build_os in
5970 msdosdjgpp*)
5971 # On DJGPP, this test can blow up pretty badly due to problems in libc
5972 # (any single argument exceeding 2000 bytes causes a buffer overrun
5973 # during glob expansion). Even if it were fixed, the result of this
5974 # check would be larger than it should be.
5975 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5978 gnu*)
5979 # Under GNU Hurd, this test is not required because there is
5980 # no limit to the length of command line arguments.
5981 # Libtool will interpret -1 as no limit whatsoever
5982 lt_cv_sys_max_cmd_len=-1;
5985 cygwin* | mingw* | cegcc*)
5986 # On Win9x/ME, this test blows up -- it succeeds, but takes
5987 # about 5 minutes as the teststring grows exponentially.
5988 # Worse, since 9x/ME are not pre-emptively multitasking,
5989 # you end up with a "frozen" computer, even though with patience
5990 # the test eventually succeeds (with a max line length of 256k).
5991 # Instead, let's just punt: use the minimum linelength reported by
5992 # all of the supported platforms: 8192 (on NT/2K/XP).
5993 lt_cv_sys_max_cmd_len=8192;
5996 mint*)
5997 # On MiNT this can take a long time and run out of memory.
5998 lt_cv_sys_max_cmd_len=8192;
6001 amigaos*)
6002 # On AmigaOS with pdksh, this test takes hours, literally.
6003 # So we just punt and use a minimum line length of 8192.
6004 lt_cv_sys_max_cmd_len=8192;
6007 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6008 # This has been around since 386BSD, at least. Likely further.
6009 if test -x /sbin/sysctl; then
6010 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6011 elif test -x /usr/sbin/sysctl; then
6012 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6013 else
6014 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6016 # And add a safety zone
6017 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6018 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6021 interix*)
6022 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6023 lt_cv_sys_max_cmd_len=196608
6026 osf*)
6027 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6028 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6029 # nice to cause kernel panics so lets avoid the loop below.
6030 # First set a reasonable default.
6031 lt_cv_sys_max_cmd_len=16384
6033 if test -x /sbin/sysconfig; then
6034 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6035 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6036 esac
6039 sco3.2v5*)
6040 lt_cv_sys_max_cmd_len=102400
6042 sysv5* | sco5v6* | sysv4.2uw2*)
6043 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6044 if test -n "$kargmax"; then
6045 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6046 else
6047 lt_cv_sys_max_cmd_len=32768
6051 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6052 if test -n "$lt_cv_sys_max_cmd_len"; then
6053 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6054 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6055 else
6056 # Make teststring a little bigger before we do anything with it.
6057 # a 1K string should be a reasonable start.
6058 for i in 1 2 3 4 5 6 7 8 ; do
6059 teststring=$teststring$teststring
6060 done
6061 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6062 # If test is not a shell built-in, we'll probably end up computing a
6063 # maximum length that is only half of the actual maximum length, but
6064 # we can't tell.
6065 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6066 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6067 test $i != 17 # 1/2 MB should be enough
6069 i=`expr $i + 1`
6070 teststring=$teststring$teststring
6071 done
6072 # Only check the string length outside the loop.
6073 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6074 teststring=
6075 # Add a significant safety factor because C++ compilers can tack on
6076 # massive amounts of additional arguments before passing them to the
6077 # linker. It appears as though 1/2 is a usable value.
6078 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6081 esac
6085 if test -n $lt_cv_sys_max_cmd_len ; then
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6087 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6088 else
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6090 $as_echo "none" >&6; }
6092 max_cmd_len=$lt_cv_sys_max_cmd_len
6099 : ${CP="cp -f"}
6100 : ${MV="mv -f"}
6101 : ${RM="rm -f"}
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6104 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6105 # Try some XSI features
6106 xsi_shell=no
6107 ( _lt_dummy="a/b/c"
6108 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6109 = c,a/b,, \
6110 && eval 'test $(( 1 + 1 )) -eq 2 \
6111 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6112 && xsi_shell=yes
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6114 $as_echo "$xsi_shell" >&6; }
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6118 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6119 lt_shell_append=no
6120 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6121 >/dev/null 2>&1 \
6122 && lt_shell_append=yes
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6124 $as_echo "$lt_shell_append" >&6; }
6127 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6128 lt_unset=unset
6129 else
6130 lt_unset=false
6137 # test EBCDIC or ASCII
6138 case `echo X|tr X '\101'` in
6139 A) # ASCII based system
6140 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6141 lt_SP2NL='tr \040 \012'
6142 lt_NL2SP='tr \015\012 \040\040'
6144 *) # EBCDIC based system
6145 lt_SP2NL='tr \100 \n'
6146 lt_NL2SP='tr \r\n \100\100'
6148 esac
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6159 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6160 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6161 $as_echo_n "(cached) " >&6
6162 else
6163 lt_cv_ld_reload_flag='-r'
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6166 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6167 reload_flag=$lt_cv_ld_reload_flag
6168 case $reload_flag in
6169 "" | " "*) ;;
6170 *) reload_flag=" $reload_flag" ;;
6171 esac
6172 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6173 case $host_os in
6174 darwin*)
6175 if test "$GCC" = yes; then
6176 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6177 else
6178 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6181 esac
6191 if test -n "$ac_tool_prefix"; then
6192 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6193 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6195 $as_echo_n "checking for $ac_word... " >&6; }
6196 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6197 $as_echo_n "(cached) " >&6
6198 else
6199 if test -n "$OBJDUMP"; then
6200 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6201 else
6202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6203 for as_dir in $PATH
6205 IFS=$as_save_IFS
6206 test -z "$as_dir" && as_dir=.
6207 for ac_exec_ext in '' $ac_executable_extensions; do
6208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6209 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6211 break 2
6213 done
6214 done
6215 IFS=$as_save_IFS
6219 OBJDUMP=$ac_cv_prog_OBJDUMP
6220 if test -n "$OBJDUMP"; then
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6222 $as_echo "$OBJDUMP" >&6; }
6223 else
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6225 $as_echo "no" >&6; }
6230 if test -z "$ac_cv_prog_OBJDUMP"; then
6231 ac_ct_OBJDUMP=$OBJDUMP
6232 # Extract the first word of "objdump", so it can be a program name with args.
6233 set dummy objdump; ac_word=$2
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6235 $as_echo_n "checking for $ac_word... " >&6; }
6236 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6237 $as_echo_n "(cached) " >&6
6238 else
6239 if test -n "$ac_ct_OBJDUMP"; then
6240 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6241 else
6242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6243 for as_dir in $PATH
6245 IFS=$as_save_IFS
6246 test -z "$as_dir" && as_dir=.
6247 for ac_exec_ext in '' $ac_executable_extensions; do
6248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6249 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6251 break 2
6253 done
6254 done
6255 IFS=$as_save_IFS
6259 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6260 if test -n "$ac_ct_OBJDUMP"; then
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6262 $as_echo "$ac_ct_OBJDUMP" >&6; }
6263 else
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6265 $as_echo "no" >&6; }
6268 if test "x$ac_ct_OBJDUMP" = x; then
6269 OBJDUMP="false"
6270 else
6271 case $cross_compiling:$ac_tool_warned in
6272 yes:)
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6274 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6275 ac_tool_warned=yes ;;
6276 esac
6277 OBJDUMP=$ac_ct_OBJDUMP
6279 else
6280 OBJDUMP="$ac_cv_prog_OBJDUMP"
6283 test -z "$OBJDUMP" && OBJDUMP=objdump
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6294 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6295 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6296 $as_echo_n "(cached) " >&6
6297 else
6298 lt_cv_file_magic_cmd='$MAGIC_CMD'
6299 lt_cv_file_magic_test_file=
6300 lt_cv_deplibs_check_method='unknown'
6301 # Need to set the preceding variable on all platforms that support
6302 # interlibrary dependencies.
6303 # 'none' -- dependencies not supported.
6304 # `unknown' -- same as none, but documents that we really don't know.
6305 # 'pass_all' -- all dependencies passed with no checks.
6306 # 'test_compile' -- check by making test program.
6307 # 'file_magic [[regex]]' -- check by looking for files in library path
6308 # which responds to the $file_magic_cmd with a given extended regex.
6309 # If you have `file' or equivalent on your system and you're not sure
6310 # whether `pass_all' will *always* work, you probably want this one.
6312 case $host_os in
6313 aix[4-9]*)
6314 lt_cv_deplibs_check_method=pass_all
6317 beos*)
6318 lt_cv_deplibs_check_method=pass_all
6321 bsdi[45]*)
6322 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6323 lt_cv_file_magic_cmd='/usr/bin/file -L'
6324 lt_cv_file_magic_test_file=/shlib/libc.so
6327 cygwin*)
6328 # func_win32_libid is a shell function defined in ltmain.sh
6329 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6330 lt_cv_file_magic_cmd='func_win32_libid'
6333 mingw* | pw32*)
6334 # Base MSYS/MinGW do not provide the 'file' command needed by
6335 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6336 # unless we find 'file', for example because we are cross-compiling.
6337 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6338 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6339 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6340 lt_cv_file_magic_cmd='func_win32_libid'
6341 else
6342 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6343 lt_cv_file_magic_cmd='$OBJDUMP -f'
6347 cegcc*)
6348 # use the weaker test based on 'objdump'. See mingw*.
6349 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6350 lt_cv_file_magic_cmd='$OBJDUMP -f'
6353 darwin* | rhapsody*)
6354 lt_cv_deplibs_check_method=pass_all
6357 freebsd* | dragonfly*)
6358 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6359 case $host_cpu in
6360 i*86 )
6361 # Not sure whether the presence of OpenBSD here was a mistake.
6362 # Let's accept both of them until this is cleared up.
6363 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6364 lt_cv_file_magic_cmd=/usr/bin/file
6365 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6367 esac
6368 else
6369 lt_cv_deplibs_check_method=pass_all
6373 gnu*)
6374 lt_cv_deplibs_check_method=pass_all
6377 haiku*)
6378 lt_cv_deplibs_check_method=pass_all
6381 hpux10.20* | hpux11*)
6382 lt_cv_file_magic_cmd=/usr/bin/file
6383 case $host_cpu in
6384 ia64*)
6385 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6386 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6388 hppa*64*)
6389 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]'
6390 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6393 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6394 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6396 esac
6399 interix[3-9]*)
6400 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6401 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6404 irix5* | irix6* | nonstopux*)
6405 case $LD in
6406 *-32|*"-32 ") libmagic=32-bit;;
6407 *-n32|*"-n32 ") libmagic=N32;;
6408 *-64|*"-64 ") libmagic=64-bit;;
6409 *) libmagic=never-match;;
6410 esac
6411 lt_cv_deplibs_check_method=pass_all
6414 # This must be Linux ELF.
6415 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6416 lt_cv_deplibs_check_method=pass_all
6419 netbsd*)
6420 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6421 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6422 else
6423 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6427 newos6*)
6428 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6429 lt_cv_file_magic_cmd=/usr/bin/file
6430 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6433 *nto* | *qnx*)
6434 lt_cv_deplibs_check_method=pass_all
6437 openbsd*)
6438 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6439 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6440 else
6441 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6445 osf3* | osf4* | osf5*)
6446 lt_cv_deplibs_check_method=pass_all
6449 rdos*)
6450 lt_cv_deplibs_check_method=pass_all
6453 solaris*)
6454 lt_cv_deplibs_check_method=pass_all
6457 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6458 lt_cv_deplibs_check_method=pass_all
6461 sysv4 | sysv4.3*)
6462 case $host_vendor in
6463 motorola)
6464 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]'
6465 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6467 ncr)
6468 lt_cv_deplibs_check_method=pass_all
6470 sequent)
6471 lt_cv_file_magic_cmd='/bin/file'
6472 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6474 sni)
6475 lt_cv_file_magic_cmd='/bin/file'
6476 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6477 lt_cv_file_magic_test_file=/lib/libc.so
6479 siemens)
6480 lt_cv_deplibs_check_method=pass_all
6483 lt_cv_deplibs_check_method=pass_all
6485 esac
6488 tpf*)
6489 lt_cv_deplibs_check_method=pass_all
6491 esac
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6495 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6496 file_magic_cmd=$lt_cv_file_magic_cmd
6497 deplibs_check_method=$lt_cv_deplibs_check_method
6498 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6511 if test -n "$ac_tool_prefix"; then
6512 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6513 set dummy ${ac_tool_prefix}ar; ac_word=$2
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6515 $as_echo_n "checking for $ac_word... " >&6; }
6516 if test "${ac_cv_prog_AR+set}" = set; then :
6517 $as_echo_n "(cached) " >&6
6518 else
6519 if test -n "$AR"; then
6520 ac_cv_prog_AR="$AR" # Let the user override the test.
6521 else
6522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6523 for as_dir in $PATH
6525 IFS=$as_save_IFS
6526 test -z "$as_dir" && as_dir=.
6527 for ac_exec_ext in '' $ac_executable_extensions; do
6528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6529 ac_cv_prog_AR="${ac_tool_prefix}ar"
6530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6531 break 2
6533 done
6534 done
6535 IFS=$as_save_IFS
6539 AR=$ac_cv_prog_AR
6540 if test -n "$AR"; then
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6542 $as_echo "$AR" >&6; }
6543 else
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6545 $as_echo "no" >&6; }
6550 if test -z "$ac_cv_prog_AR"; then
6551 ac_ct_AR=$AR
6552 # Extract the first word of "ar", so it can be a program name with args.
6553 set dummy ar; ac_word=$2
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6555 $as_echo_n "checking for $ac_word... " >&6; }
6556 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6557 $as_echo_n "(cached) " >&6
6558 else
6559 if test -n "$ac_ct_AR"; then
6560 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6561 else
6562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6563 for as_dir in $PATH
6565 IFS=$as_save_IFS
6566 test -z "$as_dir" && as_dir=.
6567 for ac_exec_ext in '' $ac_executable_extensions; do
6568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6569 ac_cv_prog_ac_ct_AR="ar"
6570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6571 break 2
6573 done
6574 done
6575 IFS=$as_save_IFS
6579 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6580 if test -n "$ac_ct_AR"; then
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6582 $as_echo "$ac_ct_AR" >&6; }
6583 else
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6585 $as_echo "no" >&6; }
6588 if test "x$ac_ct_AR" = x; then
6589 AR="false"
6590 else
6591 case $cross_compiling:$ac_tool_warned in
6592 yes:)
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6594 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6595 ac_tool_warned=yes ;;
6596 esac
6597 AR=$ac_ct_AR
6599 else
6600 AR="$ac_cv_prog_AR"
6603 test -z "$AR" && AR=ar
6604 test -z "$AR_FLAGS" && AR_FLAGS=cru
6616 if test -n "$ac_tool_prefix"; then
6617 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6618 set dummy ${ac_tool_prefix}strip; ac_word=$2
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6620 $as_echo_n "checking for $ac_word... " >&6; }
6621 if test "${ac_cv_prog_STRIP+set}" = set; then :
6622 $as_echo_n "(cached) " >&6
6623 else
6624 if test -n "$STRIP"; then
6625 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6626 else
6627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6628 for as_dir in $PATH
6630 IFS=$as_save_IFS
6631 test -z "$as_dir" && as_dir=.
6632 for ac_exec_ext in '' $ac_executable_extensions; do
6633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6634 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6636 break 2
6638 done
6639 done
6640 IFS=$as_save_IFS
6644 STRIP=$ac_cv_prog_STRIP
6645 if test -n "$STRIP"; then
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6647 $as_echo "$STRIP" >&6; }
6648 else
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6650 $as_echo "no" >&6; }
6655 if test -z "$ac_cv_prog_STRIP"; then
6656 ac_ct_STRIP=$STRIP
6657 # Extract the first word of "strip", so it can be a program name with args.
6658 set dummy strip; ac_word=$2
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6660 $as_echo_n "checking for $ac_word... " >&6; }
6661 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6662 $as_echo_n "(cached) " >&6
6663 else
6664 if test -n "$ac_ct_STRIP"; then
6665 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6666 else
6667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6668 for as_dir in $PATH
6670 IFS=$as_save_IFS
6671 test -z "$as_dir" && as_dir=.
6672 for ac_exec_ext in '' $ac_executable_extensions; do
6673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6674 ac_cv_prog_ac_ct_STRIP="strip"
6675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6676 break 2
6678 done
6679 done
6680 IFS=$as_save_IFS
6684 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6685 if test -n "$ac_ct_STRIP"; then
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6687 $as_echo "$ac_ct_STRIP" >&6; }
6688 else
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6690 $as_echo "no" >&6; }
6693 if test "x$ac_ct_STRIP" = x; then
6694 STRIP=":"
6695 else
6696 case $cross_compiling:$ac_tool_warned in
6697 yes:)
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6699 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6700 ac_tool_warned=yes ;;
6701 esac
6702 STRIP=$ac_ct_STRIP
6704 else
6705 STRIP="$ac_cv_prog_STRIP"
6708 test -z "$STRIP" && STRIP=:
6715 if test -n "$ac_tool_prefix"; then
6716 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6717 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6719 $as_echo_n "checking for $ac_word... " >&6; }
6720 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6721 $as_echo_n "(cached) " >&6
6722 else
6723 if test -n "$RANLIB"; then
6724 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6725 else
6726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6727 for as_dir in $PATH
6729 IFS=$as_save_IFS
6730 test -z "$as_dir" && as_dir=.
6731 for ac_exec_ext in '' $ac_executable_extensions; do
6732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6733 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6735 break 2
6737 done
6738 done
6739 IFS=$as_save_IFS
6743 RANLIB=$ac_cv_prog_RANLIB
6744 if test -n "$RANLIB"; then
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6746 $as_echo "$RANLIB" >&6; }
6747 else
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6749 $as_echo "no" >&6; }
6754 if test -z "$ac_cv_prog_RANLIB"; then
6755 ac_ct_RANLIB=$RANLIB
6756 # Extract the first word of "ranlib", so it can be a program name with args.
6757 set dummy ranlib; ac_word=$2
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6759 $as_echo_n "checking for $ac_word... " >&6; }
6760 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6761 $as_echo_n "(cached) " >&6
6762 else
6763 if test -n "$ac_ct_RANLIB"; then
6764 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6765 else
6766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6767 for as_dir in $PATH
6769 IFS=$as_save_IFS
6770 test -z "$as_dir" && as_dir=.
6771 for ac_exec_ext in '' $ac_executable_extensions; do
6772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6773 ac_cv_prog_ac_ct_RANLIB="ranlib"
6774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6775 break 2
6777 done
6778 done
6779 IFS=$as_save_IFS
6783 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6784 if test -n "$ac_ct_RANLIB"; then
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6786 $as_echo "$ac_ct_RANLIB" >&6; }
6787 else
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6789 $as_echo "no" >&6; }
6792 if test "x$ac_ct_RANLIB" = x; then
6793 RANLIB=":"
6794 else
6795 case $cross_compiling:$ac_tool_warned in
6796 yes:)
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6798 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6799 ac_tool_warned=yes ;;
6800 esac
6801 RANLIB=$ac_ct_RANLIB
6803 else
6804 RANLIB="$ac_cv_prog_RANLIB"
6807 test -z "$RANLIB" && RANLIB=:
6814 # Determine commands to create old-style static archives.
6815 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6816 old_postinstall_cmds='chmod 644 $oldlib'
6817 old_postuninstall_cmds=
6819 if test -n "$RANLIB"; then
6820 case $host_os in
6821 openbsd*)
6822 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6825 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6827 esac
6828 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6831 case $host_os in
6832 darwin*)
6833 lock_old_archive_extraction=yes ;;
6835 lock_old_archive_extraction=no ;;
6836 esac
6876 # If no C compiler was specified, use CC.
6877 LTCC=${LTCC-"$CC"}
6879 # If no C compiler flags were specified, use CFLAGS.
6880 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6882 # Allow CC to be a program name with arguments.
6883 compiler=$CC
6886 # Check for command to grab the raw symbol name followed by C symbol from nm.
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6888 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6889 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6890 $as_echo_n "(cached) " >&6
6891 else
6893 # These are sane defaults that work on at least a few old systems.
6894 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6896 # Character class describing NM global symbol codes.
6897 symcode='[BCDEGRST]'
6899 # Regexp to match symbols that can be accessed directly from C.
6900 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6902 # Define system-specific variables.
6903 case $host_os in
6904 aix*)
6905 symcode='[BCDT]'
6907 cygwin* | mingw* | pw32* | cegcc*)
6908 symcode='[ABCDGISTW]'
6910 hpux*)
6911 if test "$host_cpu" = ia64; then
6912 symcode='[ABCDEGRST]'
6915 irix* | nonstopux*)
6916 symcode='[BCDEGRST]'
6918 osf*)
6919 symcode='[BCDEGQRST]'
6921 solaris*)
6922 symcode='[BDRT]'
6924 sco3.2v5*)
6925 symcode='[DT]'
6927 sysv4.2uw2*)
6928 symcode='[DT]'
6930 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6931 symcode='[ABDT]'
6933 sysv4)
6934 symcode='[DFNSTU]'
6936 esac
6938 # If we're using GNU nm, then use its standard symbol codes.
6939 case `$NM -V 2>&1` in
6940 *GNU* | *'with BFD'*)
6941 symcode='[ABCDGIRSTW]' ;;
6942 esac
6944 # Transform an extracted symbol line into a proper C declaration.
6945 # Some systems (esp. on ia64) link data and code symbols differently,
6946 # so use this general approach.
6947 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6949 # Transform an extracted symbol line into symbol name and symbol address
6950 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6951 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6953 # Handle CRLF in mingw tool chain
6954 opt_cr=
6955 case $build_os in
6956 mingw*)
6957 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6959 esac
6961 # Try without a prefix underscore, then with it.
6962 for ac_symprfx in "" "_"; do
6964 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6965 symxfrm="\\1 $ac_symprfx\\2 \\2"
6967 # Write the raw and C identifiers.
6968 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6969 # Fake it for dumpbin and say T for any non-static function
6970 # and D for any global variable.
6971 # Also find C++ and __fastcall symbols from MSVC++,
6972 # which start with @ or ?.
6973 lt_cv_sys_global_symbol_pipe="$AWK '"\
6974 " {last_section=section; section=\$ 3};"\
6975 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6976 " \$ 0!~/External *\|/{next};"\
6977 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6978 " {if(hide[section]) next};"\
6979 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6980 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6981 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6982 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6983 " ' prfx=^$ac_symprfx"
6984 else
6985 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6988 # Check to see that the pipe works correctly.
6989 pipe_works=no
6991 rm -f conftest*
6992 cat > conftest.$ac_ext <<_LT_EOF
6993 #ifdef __cplusplus
6994 extern "C" {
6995 #endif
6996 char nm_test_var;
6997 void nm_test_func(void);
6998 void nm_test_func(void){}
6999 #ifdef __cplusplus
7001 #endif
7002 int main(){nm_test_var='a';nm_test_func();return(0);}
7003 _LT_EOF
7005 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7006 (eval $ac_compile) 2>&5
7007 ac_status=$?
7008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7009 test $ac_status = 0; }; then
7010 # Now try to grab the symbols.
7011 nlist=conftest.nm
7012 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7013 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7014 ac_status=$?
7015 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7016 test $ac_status = 0; } && test -s "$nlist"; then
7017 # Try sorting and uniquifying the output.
7018 if sort "$nlist" | uniq > "$nlist"T; then
7019 mv -f "$nlist"T "$nlist"
7020 else
7021 rm -f "$nlist"T
7024 # Make sure that we snagged all the symbols we need.
7025 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7026 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7027 cat <<_LT_EOF > conftest.$ac_ext
7028 #ifdef __cplusplus
7029 extern "C" {
7030 #endif
7032 _LT_EOF
7033 # Now generate the symbol file.
7034 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7036 cat <<_LT_EOF >> conftest.$ac_ext
7038 /* The mapping between symbol names and symbols. */
7039 const struct {
7040 const char *name;
7041 void *address;
7043 lt__PROGRAM__LTX_preloaded_symbols[] =
7045 { "@PROGRAM@", (void *) 0 },
7046 _LT_EOF
7047 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7048 cat <<\_LT_EOF >> conftest.$ac_ext
7049 {0, (void *) 0}
7052 /* This works around a problem in FreeBSD linker */
7053 #ifdef FREEBSD_WORKAROUND
7054 static const void *lt_preloaded_setup() {
7055 return lt__PROGRAM__LTX_preloaded_symbols;
7057 #endif
7059 #ifdef __cplusplus
7061 #endif
7062 _LT_EOF
7063 # Now try linking the two files.
7064 mv conftest.$ac_objext conftstm.$ac_objext
7065 lt_save_LIBS="$LIBS"
7066 lt_save_CFLAGS="$CFLAGS"
7067 LIBS="conftstm.$ac_objext"
7068 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7069 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7070 (eval $ac_link) 2>&5
7071 ac_status=$?
7072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7073 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7074 pipe_works=yes
7076 LIBS="$lt_save_LIBS"
7077 CFLAGS="$lt_save_CFLAGS"
7078 else
7079 echo "cannot find nm_test_func in $nlist" >&5
7081 else
7082 echo "cannot find nm_test_var in $nlist" >&5
7084 else
7085 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7087 else
7088 echo "$progname: failed program was:" >&5
7089 cat conftest.$ac_ext >&5
7091 rm -rf conftest* conftst*
7093 # Do not use the global_symbol_pipe unless it works.
7094 if test "$pipe_works" = yes; then
7095 break
7096 else
7097 lt_cv_sys_global_symbol_pipe=
7099 done
7103 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7104 lt_cv_sys_global_symbol_to_cdecl=
7106 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7108 $as_echo "failed" >&6; }
7109 else
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7111 $as_echo "ok" >&6; }
7135 # Check whether --enable-libtool-lock was given.
7136 if test "${enable_libtool_lock+set}" = set; then :
7137 enableval=$enable_libtool_lock;
7140 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7142 # Some flags need to be propagated to the compiler or linker for good
7143 # libtool support.
7144 case $host in
7145 ia64-*-hpux*)
7146 # Find out which ABI we are using.
7147 echo 'int i;' > conftest.$ac_ext
7148 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7149 (eval $ac_compile) 2>&5
7150 ac_status=$?
7151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7152 test $ac_status = 0; }; then
7153 case `/usr/bin/file conftest.$ac_objext` in
7154 *ELF-32*)
7155 HPUX_IA64_MODE="32"
7157 *ELF-64*)
7158 HPUX_IA64_MODE="64"
7160 esac
7162 rm -rf conftest*
7164 *-*-irix6*)
7165 # Find out which ABI we are using.
7166 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7167 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7168 (eval $ac_compile) 2>&5
7169 ac_status=$?
7170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7171 test $ac_status = 0; }; then
7172 if test "$lt_cv_prog_gnu_ld" = yes; then
7173 case `/usr/bin/file conftest.$ac_objext` in
7174 *32-bit*)
7175 LD="${LD-ld} -melf32bsmip"
7177 *N32*)
7178 LD="${LD-ld} -melf32bmipn32"
7180 *64-bit*)
7181 LD="${LD-ld} -melf64bmip"
7183 esac
7184 else
7185 case `/usr/bin/file conftest.$ac_objext` in
7186 *32-bit*)
7187 LD="${LD-ld} -32"
7189 *N32*)
7190 LD="${LD-ld} -n32"
7192 *64-bit*)
7193 LD="${LD-ld} -64"
7195 esac
7198 rm -rf conftest*
7201 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7202 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7203 # Find out which ABI we are using.
7204 echo 'int i;' > conftest.$ac_ext
7205 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7206 (eval $ac_compile) 2>&5
7207 ac_status=$?
7208 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7209 test $ac_status = 0; }; then
7210 case `/usr/bin/file conftest.o` in
7211 *32-bit*)
7212 case $host in
7213 x86_64-*kfreebsd*-gnu)
7214 LD="${LD-ld} -m elf_i386_fbsd"
7216 x86_64-*linux*)
7217 case `/usr/bin/file conftest.o` in
7218 *x86-64*)
7219 LD="${LD-ld} -m elf32_x86_64"
7222 LD="${LD-ld} -m elf_i386"
7224 esac
7226 powerpc64le-*linux*)
7227 LD="${LD-ld} -m elf32lppclinux"
7229 powerpc64-*linux*)
7230 LD="${LD-ld} -m elf32ppclinux"
7232 s390x-*linux*)
7233 LD="${LD-ld} -m elf_s390"
7235 sparc64-*linux*)
7236 LD="${LD-ld} -m elf32_sparc"
7238 esac
7240 *64-bit*)
7241 case $host in
7242 x86_64-*kfreebsd*-gnu)
7243 LD="${LD-ld} -m elf_x86_64_fbsd"
7245 x86_64-*linux*)
7246 LD="${LD-ld} -m elf_x86_64"
7248 powerpcle-*linux*)
7249 LD="${LD-ld} -m elf64lppc"
7251 powerpc-*linux*)
7252 LD="${LD-ld} -m elf64ppc"
7254 s390*-*linux*|s390*-*tpf*)
7255 LD="${LD-ld} -m elf64_s390"
7257 sparc*-*linux*)
7258 LD="${LD-ld} -m elf64_sparc"
7260 esac
7262 esac
7264 rm -rf conftest*
7267 *-*-sco3.2v5*)
7268 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7269 SAVE_CFLAGS="$CFLAGS"
7270 CFLAGS="$CFLAGS -belf"
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7272 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7273 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7274 $as_echo_n "(cached) " >&6
7275 else
7276 ac_ext=c
7277 ac_cpp='$CPP $CPPFLAGS'
7278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7282 if test x$gcc_no_link = xyes; then
7283 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7286 /* end confdefs.h. */
7289 main ()
7293 return 0;
7295 _ACEOF
7296 if ac_fn_c_try_link "$LINENO"; then :
7297 lt_cv_cc_needs_belf=yes
7298 else
7299 lt_cv_cc_needs_belf=no
7301 rm -f core conftest.err conftest.$ac_objext \
7302 conftest$ac_exeext conftest.$ac_ext
7303 ac_ext=c
7304 ac_cpp='$CPP $CPPFLAGS'
7305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7311 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7312 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7313 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7314 CFLAGS="$SAVE_CFLAGS"
7317 sparc*-*solaris*)
7318 # Find out which ABI we are using.
7319 echo 'int i;' > conftest.$ac_ext
7320 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7321 (eval $ac_compile) 2>&5
7322 ac_status=$?
7323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7324 test $ac_status = 0; }; then
7325 case `/usr/bin/file conftest.o` in
7326 *64-bit*)
7327 case $lt_cv_prog_gnu_ld in
7328 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7330 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7331 LD="${LD-ld} -64"
7334 esac
7336 esac
7338 rm -rf conftest*
7340 esac
7342 need_locks="$enable_libtool_lock"
7345 case $host_os in
7346 rhapsody* | darwin*)
7347 if test -n "$ac_tool_prefix"; then
7348 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7349 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7351 $as_echo_n "checking for $ac_word... " >&6; }
7352 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7353 $as_echo_n "(cached) " >&6
7354 else
7355 if test -n "$DSYMUTIL"; then
7356 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7357 else
7358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7359 for as_dir in $PATH
7361 IFS=$as_save_IFS
7362 test -z "$as_dir" && as_dir=.
7363 for ac_exec_ext in '' $ac_executable_extensions; do
7364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7365 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7367 break 2
7369 done
7370 done
7371 IFS=$as_save_IFS
7375 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7376 if test -n "$DSYMUTIL"; then
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7378 $as_echo "$DSYMUTIL" >&6; }
7379 else
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7381 $as_echo "no" >&6; }
7386 if test -z "$ac_cv_prog_DSYMUTIL"; then
7387 ac_ct_DSYMUTIL=$DSYMUTIL
7388 # Extract the first word of "dsymutil", so it can be a program name with args.
7389 set dummy dsymutil; ac_word=$2
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7391 $as_echo_n "checking for $ac_word... " >&6; }
7392 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7393 $as_echo_n "(cached) " >&6
7394 else
7395 if test -n "$ac_ct_DSYMUTIL"; then
7396 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7397 else
7398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7399 for as_dir in $PATH
7401 IFS=$as_save_IFS
7402 test -z "$as_dir" && as_dir=.
7403 for ac_exec_ext in '' $ac_executable_extensions; do
7404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7405 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7407 break 2
7409 done
7410 done
7411 IFS=$as_save_IFS
7415 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7416 if test -n "$ac_ct_DSYMUTIL"; then
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7418 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7419 else
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7421 $as_echo "no" >&6; }
7424 if test "x$ac_ct_DSYMUTIL" = x; then
7425 DSYMUTIL=":"
7426 else
7427 case $cross_compiling:$ac_tool_warned in
7428 yes:)
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7430 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7431 ac_tool_warned=yes ;;
7432 esac
7433 DSYMUTIL=$ac_ct_DSYMUTIL
7435 else
7436 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7439 if test -n "$ac_tool_prefix"; then
7440 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7441 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7443 $as_echo_n "checking for $ac_word... " >&6; }
7444 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7445 $as_echo_n "(cached) " >&6
7446 else
7447 if test -n "$NMEDIT"; then
7448 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7449 else
7450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7451 for as_dir in $PATH
7453 IFS=$as_save_IFS
7454 test -z "$as_dir" && as_dir=.
7455 for ac_exec_ext in '' $ac_executable_extensions; do
7456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7457 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7459 break 2
7461 done
7462 done
7463 IFS=$as_save_IFS
7467 NMEDIT=$ac_cv_prog_NMEDIT
7468 if test -n "$NMEDIT"; then
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7470 $as_echo "$NMEDIT" >&6; }
7471 else
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7473 $as_echo "no" >&6; }
7478 if test -z "$ac_cv_prog_NMEDIT"; then
7479 ac_ct_NMEDIT=$NMEDIT
7480 # Extract the first word of "nmedit", so it can be a program name with args.
7481 set dummy nmedit; ac_word=$2
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7483 $as_echo_n "checking for $ac_word... " >&6; }
7484 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7485 $as_echo_n "(cached) " >&6
7486 else
7487 if test -n "$ac_ct_NMEDIT"; then
7488 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7489 else
7490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7491 for as_dir in $PATH
7493 IFS=$as_save_IFS
7494 test -z "$as_dir" && as_dir=.
7495 for ac_exec_ext in '' $ac_executable_extensions; do
7496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7497 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7499 break 2
7501 done
7502 done
7503 IFS=$as_save_IFS
7507 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7508 if test -n "$ac_ct_NMEDIT"; then
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7510 $as_echo "$ac_ct_NMEDIT" >&6; }
7511 else
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7513 $as_echo "no" >&6; }
7516 if test "x$ac_ct_NMEDIT" = x; then
7517 NMEDIT=":"
7518 else
7519 case $cross_compiling:$ac_tool_warned in
7520 yes:)
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7522 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7523 ac_tool_warned=yes ;;
7524 esac
7525 NMEDIT=$ac_ct_NMEDIT
7527 else
7528 NMEDIT="$ac_cv_prog_NMEDIT"
7531 if test -n "$ac_tool_prefix"; then
7532 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7533 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7535 $as_echo_n "checking for $ac_word... " >&6; }
7536 if test "${ac_cv_prog_LIPO+set}" = set; then :
7537 $as_echo_n "(cached) " >&6
7538 else
7539 if test -n "$LIPO"; then
7540 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7541 else
7542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7543 for as_dir in $PATH
7545 IFS=$as_save_IFS
7546 test -z "$as_dir" && as_dir=.
7547 for ac_exec_ext in '' $ac_executable_extensions; do
7548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7549 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7551 break 2
7553 done
7554 done
7555 IFS=$as_save_IFS
7559 LIPO=$ac_cv_prog_LIPO
7560 if test -n "$LIPO"; then
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7562 $as_echo "$LIPO" >&6; }
7563 else
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7565 $as_echo "no" >&6; }
7570 if test -z "$ac_cv_prog_LIPO"; then
7571 ac_ct_LIPO=$LIPO
7572 # Extract the first word of "lipo", so it can be a program name with args.
7573 set dummy lipo; ac_word=$2
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7575 $as_echo_n "checking for $ac_word... " >&6; }
7576 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7577 $as_echo_n "(cached) " >&6
7578 else
7579 if test -n "$ac_ct_LIPO"; then
7580 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7581 else
7582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7583 for as_dir in $PATH
7585 IFS=$as_save_IFS
7586 test -z "$as_dir" && as_dir=.
7587 for ac_exec_ext in '' $ac_executable_extensions; do
7588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7589 ac_cv_prog_ac_ct_LIPO="lipo"
7590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7591 break 2
7593 done
7594 done
7595 IFS=$as_save_IFS
7599 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7600 if test -n "$ac_ct_LIPO"; then
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7602 $as_echo "$ac_ct_LIPO" >&6; }
7603 else
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7605 $as_echo "no" >&6; }
7608 if test "x$ac_ct_LIPO" = x; then
7609 LIPO=":"
7610 else
7611 case $cross_compiling:$ac_tool_warned in
7612 yes:)
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7614 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7615 ac_tool_warned=yes ;;
7616 esac
7617 LIPO=$ac_ct_LIPO
7619 else
7620 LIPO="$ac_cv_prog_LIPO"
7623 if test -n "$ac_tool_prefix"; then
7624 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7625 set dummy ${ac_tool_prefix}otool; ac_word=$2
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7627 $as_echo_n "checking for $ac_word... " >&6; }
7628 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7629 $as_echo_n "(cached) " >&6
7630 else
7631 if test -n "$OTOOL"; then
7632 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7633 else
7634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7635 for as_dir in $PATH
7637 IFS=$as_save_IFS
7638 test -z "$as_dir" && as_dir=.
7639 for ac_exec_ext in '' $ac_executable_extensions; do
7640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7641 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7643 break 2
7645 done
7646 done
7647 IFS=$as_save_IFS
7651 OTOOL=$ac_cv_prog_OTOOL
7652 if test -n "$OTOOL"; then
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7654 $as_echo "$OTOOL" >&6; }
7655 else
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7657 $as_echo "no" >&6; }
7662 if test -z "$ac_cv_prog_OTOOL"; then
7663 ac_ct_OTOOL=$OTOOL
7664 # Extract the first word of "otool", so it can be a program name with args.
7665 set dummy otool; ac_word=$2
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7667 $as_echo_n "checking for $ac_word... " >&6; }
7668 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7669 $as_echo_n "(cached) " >&6
7670 else
7671 if test -n "$ac_ct_OTOOL"; then
7672 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7673 else
7674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7675 for as_dir in $PATH
7677 IFS=$as_save_IFS
7678 test -z "$as_dir" && as_dir=.
7679 for ac_exec_ext in '' $ac_executable_extensions; do
7680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7681 ac_cv_prog_ac_ct_OTOOL="otool"
7682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7683 break 2
7685 done
7686 done
7687 IFS=$as_save_IFS
7691 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7692 if test -n "$ac_ct_OTOOL"; then
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7694 $as_echo "$ac_ct_OTOOL" >&6; }
7695 else
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7697 $as_echo "no" >&6; }
7700 if test "x$ac_ct_OTOOL" = x; then
7701 OTOOL=":"
7702 else
7703 case $cross_compiling:$ac_tool_warned in
7704 yes:)
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7706 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7707 ac_tool_warned=yes ;;
7708 esac
7709 OTOOL=$ac_ct_OTOOL
7711 else
7712 OTOOL="$ac_cv_prog_OTOOL"
7715 if test -n "$ac_tool_prefix"; then
7716 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7717 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7719 $as_echo_n "checking for $ac_word... " >&6; }
7720 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7721 $as_echo_n "(cached) " >&6
7722 else
7723 if test -n "$OTOOL64"; then
7724 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7725 else
7726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7727 for as_dir in $PATH
7729 IFS=$as_save_IFS
7730 test -z "$as_dir" && as_dir=.
7731 for ac_exec_ext in '' $ac_executable_extensions; do
7732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7733 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7735 break 2
7737 done
7738 done
7739 IFS=$as_save_IFS
7743 OTOOL64=$ac_cv_prog_OTOOL64
7744 if test -n "$OTOOL64"; then
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7746 $as_echo "$OTOOL64" >&6; }
7747 else
7748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7749 $as_echo "no" >&6; }
7754 if test -z "$ac_cv_prog_OTOOL64"; then
7755 ac_ct_OTOOL64=$OTOOL64
7756 # Extract the first word of "otool64", so it can be a program name with args.
7757 set dummy otool64; ac_word=$2
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7759 $as_echo_n "checking for $ac_word... " >&6; }
7760 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7761 $as_echo_n "(cached) " >&6
7762 else
7763 if test -n "$ac_ct_OTOOL64"; then
7764 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7765 else
7766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7767 for as_dir in $PATH
7769 IFS=$as_save_IFS
7770 test -z "$as_dir" && as_dir=.
7771 for ac_exec_ext in '' $ac_executable_extensions; do
7772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7773 ac_cv_prog_ac_ct_OTOOL64="otool64"
7774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7775 break 2
7777 done
7778 done
7779 IFS=$as_save_IFS
7783 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7784 if test -n "$ac_ct_OTOOL64"; then
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7786 $as_echo "$ac_ct_OTOOL64" >&6; }
7787 else
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7789 $as_echo "no" >&6; }
7792 if test "x$ac_ct_OTOOL64" = x; then
7793 OTOOL64=":"
7794 else
7795 case $cross_compiling:$ac_tool_warned in
7796 yes:)
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7798 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7799 ac_tool_warned=yes ;;
7800 esac
7801 OTOOL64=$ac_ct_OTOOL64
7803 else
7804 OTOOL64="$ac_cv_prog_OTOOL64"
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7834 $as_echo_n "checking for -single_module linker flag... " >&6; }
7835 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7836 $as_echo_n "(cached) " >&6
7837 else
7838 lt_cv_apple_cc_single_mod=no
7839 if test -z "${LT_MULTI_MODULE}"; then
7840 # By default we will add the -single_module flag. You can override
7841 # by either setting the environment variable LT_MULTI_MODULE
7842 # non-empty at configure time, or by adding -multi_module to the
7843 # link flags.
7844 rm -rf libconftest.dylib*
7845 echo "int foo(void){return 1;}" > conftest.c
7846 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7847 -dynamiclib -Wl,-single_module conftest.c" >&5
7848 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7849 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7850 _lt_result=$?
7851 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7852 lt_cv_apple_cc_single_mod=yes
7853 else
7854 cat conftest.err >&5
7856 rm -rf libconftest.dylib*
7857 rm -f conftest.*
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7861 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7863 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7864 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7865 $as_echo_n "(cached) " >&6
7866 else
7867 lt_cv_ld_exported_symbols_list=no
7868 save_LDFLAGS=$LDFLAGS
7869 echo "_main" > conftest.sym
7870 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7871 if test x$gcc_no_link = xyes; then
7872 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7875 /* end confdefs.h. */
7878 main ()
7882 return 0;
7884 _ACEOF
7885 if ac_fn_c_try_link "$LINENO"; then :
7886 lt_cv_ld_exported_symbols_list=yes
7887 else
7888 lt_cv_ld_exported_symbols_list=no
7890 rm -f core conftest.err conftest.$ac_objext \
7891 conftest$ac_exeext conftest.$ac_ext
7892 LDFLAGS="$save_LDFLAGS"
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7896 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7898 $as_echo_n "checking for -force_load linker flag... " >&6; }
7899 if test "${lt_cv_ld_force_load+set}" = set; then :
7900 $as_echo_n "(cached) " >&6
7901 else
7902 lt_cv_ld_force_load=no
7903 cat > conftest.c << _LT_EOF
7904 int forced_loaded() { return 2;}
7905 _LT_EOF
7906 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7907 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7908 echo "$AR cru libconftest.a conftest.o" >&5
7909 $AR cru libconftest.a conftest.o 2>&5
7910 cat > conftest.c << _LT_EOF
7911 int main() { return 0;}
7912 _LT_EOF
7913 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7914 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7915 _lt_result=$?
7916 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7917 lt_cv_ld_force_load=yes
7918 else
7919 cat conftest.err >&5
7921 rm -f conftest.err libconftest.a conftest conftest.c
7922 rm -rf conftest.dSYM
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7926 $as_echo "$lt_cv_ld_force_load" >&6; }
7927 case $host_os in
7928 rhapsody* | darwin1.[012])
7929 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7930 darwin1.*)
7931 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7932 darwin*) # darwin 5.x on
7933 # if running on 10.5 or later, the deployment target defaults
7934 # to the OS version, if on x86, and 10.4, the deployment
7935 # target defaults to 10.4. Don't you love it?
7936 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7937 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7938 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7939 10.[012][,.]*)
7940 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7941 10.*)
7942 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7943 esac
7945 esac
7946 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7947 _lt_dar_single_mod='$single_module'
7949 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7950 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7951 else
7952 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7954 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7955 _lt_dsymutil='~$DSYMUTIL $lib || :'
7956 else
7957 _lt_dsymutil=
7960 esac
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7963 $as_echo_n "checking for ANSI C header files... " >&6; }
7964 if test "${ac_cv_header_stdc+set}" = set; then :
7965 $as_echo_n "(cached) " >&6
7966 else
7967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7968 /* end confdefs.h. */
7969 #include <stdlib.h>
7970 #include <stdarg.h>
7971 #include <string.h>
7972 #include <float.h>
7975 main ()
7979 return 0;
7981 _ACEOF
7982 if ac_fn_c_try_compile "$LINENO"; then :
7983 ac_cv_header_stdc=yes
7984 else
7985 ac_cv_header_stdc=no
7987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7989 if test $ac_cv_header_stdc = yes; then
7990 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7992 /* end confdefs.h. */
7993 #include <string.h>
7995 _ACEOF
7996 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7997 $EGREP "memchr" >/dev/null 2>&1; then :
7999 else
8000 ac_cv_header_stdc=no
8002 rm -f conftest*
8006 if test $ac_cv_header_stdc = yes; then
8007 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8009 /* end confdefs.h. */
8010 #include <stdlib.h>
8012 _ACEOF
8013 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8014 $EGREP "free" >/dev/null 2>&1; then :
8016 else
8017 ac_cv_header_stdc=no
8019 rm -f conftest*
8023 if test $ac_cv_header_stdc = yes; then
8024 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8025 if test "$cross_compiling" = yes; then :
8027 else
8028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8029 /* end confdefs.h. */
8030 #include <ctype.h>
8031 #include <stdlib.h>
8032 #if ((' ' & 0x0FF) == 0x020)
8033 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8034 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8035 #else
8036 # define ISLOWER(c) \
8037 (('a' <= (c) && (c) <= 'i') \
8038 || ('j' <= (c) && (c) <= 'r') \
8039 || ('s' <= (c) && (c) <= 'z'))
8040 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8041 #endif
8043 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8045 main ()
8047 int i;
8048 for (i = 0; i < 256; i++)
8049 if (XOR (islower (i), ISLOWER (i))
8050 || toupper (i) != TOUPPER (i))
8051 return 2;
8052 return 0;
8054 _ACEOF
8055 if ac_fn_c_try_run "$LINENO"; then :
8057 else
8058 ac_cv_header_stdc=no
8060 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8061 conftest.$ac_objext conftest.beam conftest.$ac_ext
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8067 $as_echo "$ac_cv_header_stdc" >&6; }
8068 if test $ac_cv_header_stdc = yes; then
8070 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8074 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8075 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8076 inttypes.h stdint.h unistd.h
8077 do :
8078 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8079 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8081 eval as_val=\$$as_ac_Header
8082 if test "x$as_val" = x""yes; then :
8083 cat >>confdefs.h <<_ACEOF
8084 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8085 _ACEOF
8089 done
8092 for ac_header in dlfcn.h
8093 do :
8094 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8096 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8097 cat >>confdefs.h <<_ACEOF
8098 #define HAVE_DLFCN_H 1
8099 _ACEOF
8103 done
8110 # Set options
8115 enable_win32_dll=no
8118 # Check whether --enable-shared was given.
8119 if test "${enable_shared+set}" = set; then :
8120 enableval=$enable_shared; p=${PACKAGE-default}
8121 case $enableval in
8122 yes) enable_shared=yes ;;
8123 no) enable_shared=no ;;
8125 enable_shared=no
8126 # Look at the argument we got. We use all the common list separators.
8127 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8128 for pkg in $enableval; do
8129 IFS="$lt_save_ifs"
8130 if test "X$pkg" = "X$p"; then
8131 enable_shared=yes
8133 done
8134 IFS="$lt_save_ifs"
8136 esac
8137 else
8138 enable_shared=yes
8149 # Check whether --enable-static was given.
8150 if test "${enable_static+set}" = set; then :
8151 enableval=$enable_static; p=${PACKAGE-default}
8152 case $enableval in
8153 yes) enable_static=yes ;;
8154 no) enable_static=no ;;
8156 enable_static=no
8157 # Look at the argument we got. We use all the common list separators.
8158 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8159 for pkg in $enableval; do
8160 IFS="$lt_save_ifs"
8161 if test "X$pkg" = "X$p"; then
8162 enable_static=yes
8164 done
8165 IFS="$lt_save_ifs"
8167 esac
8168 else
8169 enable_static=yes
8181 # Check whether --with-pic was given.
8182 if test "${with_pic+set}" = set; then :
8183 withval=$with_pic; pic_mode="$withval"
8184 else
8185 pic_mode=default
8189 test -z "$pic_mode" && pic_mode=default
8197 # Check whether --enable-fast-install was given.
8198 if test "${enable_fast_install+set}" = set; then :
8199 enableval=$enable_fast_install; p=${PACKAGE-default}
8200 case $enableval in
8201 yes) enable_fast_install=yes ;;
8202 no) enable_fast_install=no ;;
8204 enable_fast_install=no
8205 # Look at the argument we got. We use all the common list separators.
8206 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8207 for pkg in $enableval; do
8208 IFS="$lt_save_ifs"
8209 if test "X$pkg" = "X$p"; then
8210 enable_fast_install=yes
8212 done
8213 IFS="$lt_save_ifs"
8215 esac
8216 else
8217 enable_fast_install=yes
8230 # This can be used to rebuild libtool when needed
8231 LIBTOOL_DEPS="$ltmain"
8233 # Always use our own libtool.
8234 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8261 test -z "$LN_S" && LN_S="ln -s"
8276 if test -n "${ZSH_VERSION+set}" ; then
8277 setopt NO_GLOB_SUBST
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8281 $as_echo_n "checking for objdir... " >&6; }
8282 if test "${lt_cv_objdir+set}" = set; then :
8283 $as_echo_n "(cached) " >&6
8284 else
8285 rm -f .libs 2>/dev/null
8286 mkdir .libs 2>/dev/null
8287 if test -d .libs; then
8288 lt_cv_objdir=.libs
8289 else
8290 # MS-DOS does not allow filenames that begin with a dot.
8291 lt_cv_objdir=_libs
8293 rmdir .libs 2>/dev/null
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8296 $as_echo "$lt_cv_objdir" >&6; }
8297 objdir=$lt_cv_objdir
8303 cat >>confdefs.h <<_ACEOF
8304 #define LT_OBJDIR "$lt_cv_objdir/"
8305 _ACEOF
8310 case $host_os in
8311 aix3*)
8312 # AIX sometimes has problems with the GCC collect2 program. For some
8313 # reason, if we set the COLLECT_NAMES environment variable, the problems
8314 # vanish in a puff of smoke.
8315 if test "X${COLLECT_NAMES+set}" != Xset; then
8316 COLLECT_NAMES=
8317 export COLLECT_NAMES
8320 esac
8322 # Global variables:
8323 ofile=libtool
8324 can_build_shared=yes
8326 # All known linkers require a `.a' archive for static linking (except MSVC,
8327 # which needs '.lib').
8328 libext=a
8330 with_gnu_ld="$lt_cv_prog_gnu_ld"
8332 old_CC="$CC"
8333 old_CFLAGS="$CFLAGS"
8335 # Set sane defaults for various variables
8336 test -z "$CC" && CC=cc
8337 test -z "$LTCC" && LTCC=$CC
8338 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8339 test -z "$LD" && LD=ld
8340 test -z "$ac_objext" && ac_objext=o
8342 for cc_temp in $compiler""; do
8343 case $cc_temp in
8344 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8345 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8346 \-*) ;;
8347 *) break;;
8348 esac
8349 done
8350 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8353 # Only perform the check for file, if the check method requires it
8354 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8355 case $deplibs_check_method in
8356 file_magic*)
8357 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8359 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8360 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8361 $as_echo_n "(cached) " >&6
8362 else
8363 case $MAGIC_CMD in
8364 [\\/*] | ?:[\\/]*)
8365 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8368 lt_save_MAGIC_CMD="$MAGIC_CMD"
8369 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8370 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8371 for ac_dir in $ac_dummy; do
8372 IFS="$lt_save_ifs"
8373 test -z "$ac_dir" && ac_dir=.
8374 if test -f $ac_dir/${ac_tool_prefix}file; then
8375 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8376 if test -n "$file_magic_test_file"; then
8377 case $deplibs_check_method in
8378 "file_magic "*)
8379 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8380 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8381 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8382 $EGREP "$file_magic_regex" > /dev/null; then
8384 else
8385 cat <<_LT_EOF 1>&2
8387 *** Warning: the command libtool uses to detect shared libraries,
8388 *** $file_magic_cmd, produces output that libtool cannot recognize.
8389 *** The result is that libtool may fail to recognize shared libraries
8390 *** as such. This will affect the creation of libtool libraries that
8391 *** depend on shared libraries, but programs linked with such libtool
8392 *** libraries will work regardless of this problem. Nevertheless, you
8393 *** may want to report the problem to your system manager and/or to
8394 *** bug-libtool@gnu.org
8396 _LT_EOF
8397 fi ;;
8398 esac
8400 break
8402 done
8403 IFS="$lt_save_ifs"
8404 MAGIC_CMD="$lt_save_MAGIC_CMD"
8406 esac
8409 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8410 if test -n "$MAGIC_CMD"; then
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8412 $as_echo "$MAGIC_CMD" >&6; }
8413 else
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8415 $as_echo "no" >&6; }
8422 if test -z "$lt_cv_path_MAGIC_CMD"; then
8423 if test -n "$ac_tool_prefix"; then
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8425 $as_echo_n "checking for file... " >&6; }
8426 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8427 $as_echo_n "(cached) " >&6
8428 else
8429 case $MAGIC_CMD in
8430 [\\/*] | ?:[\\/]*)
8431 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8434 lt_save_MAGIC_CMD="$MAGIC_CMD"
8435 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8436 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8437 for ac_dir in $ac_dummy; do
8438 IFS="$lt_save_ifs"
8439 test -z "$ac_dir" && ac_dir=.
8440 if test -f $ac_dir/file; then
8441 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8442 if test -n "$file_magic_test_file"; then
8443 case $deplibs_check_method in
8444 "file_magic "*)
8445 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8446 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8447 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8448 $EGREP "$file_magic_regex" > /dev/null; then
8450 else
8451 cat <<_LT_EOF 1>&2
8453 *** Warning: the command libtool uses to detect shared libraries,
8454 *** $file_magic_cmd, produces output that libtool cannot recognize.
8455 *** The result is that libtool may fail to recognize shared libraries
8456 *** as such. This will affect the creation of libtool libraries that
8457 *** depend on shared libraries, but programs linked with such libtool
8458 *** libraries will work regardless of this problem. Nevertheless, you
8459 *** may want to report the problem to your system manager and/or to
8460 *** bug-libtool@gnu.org
8462 _LT_EOF
8463 fi ;;
8464 esac
8466 break
8468 done
8469 IFS="$lt_save_ifs"
8470 MAGIC_CMD="$lt_save_MAGIC_CMD"
8472 esac
8475 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8476 if test -n "$MAGIC_CMD"; then
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8478 $as_echo "$MAGIC_CMD" >&6; }
8479 else
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8481 $as_echo "no" >&6; }
8485 else
8486 MAGIC_CMD=:
8492 esac
8494 # Use C for the default configuration in the libtool script
8496 lt_save_CC="$CC"
8497 ac_ext=c
8498 ac_cpp='$CPP $CPPFLAGS'
8499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8504 # Source file extension for C test sources.
8505 ac_ext=c
8507 # Object file extension for compiled C test sources.
8508 objext=o
8509 objext=$objext
8511 # Code to be used in simple compile tests
8512 lt_simple_compile_test_code="int some_variable = 0;"
8514 # Code to be used in simple link tests
8515 lt_simple_link_test_code='int main(){return(0);}'
8523 # If no C compiler was specified, use CC.
8524 LTCC=${LTCC-"$CC"}
8526 # If no C compiler flags were specified, use CFLAGS.
8527 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8529 # Allow CC to be a program name with arguments.
8530 compiler=$CC
8532 # Save the default compiler, since it gets overwritten when the other
8533 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8534 compiler_DEFAULT=$CC
8536 # save warnings/boilerplate of simple test code
8537 ac_outfile=conftest.$ac_objext
8538 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8539 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8540 _lt_compiler_boilerplate=`cat conftest.err`
8541 $RM conftest*
8543 ac_outfile=conftest.$ac_objext
8544 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8545 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8546 _lt_linker_boilerplate=`cat conftest.err`
8547 $RM -r conftest*
8550 ## CAVEAT EMPTOR:
8551 ## There is no encapsulation within the following macros, do not change
8552 ## the running order or otherwise move them around unless you know exactly
8553 ## what you are doing...
8554 if test -n "$compiler"; then
8556 lt_prog_compiler_no_builtin_flag=
8558 if test "$GCC" = yes; then
8559 case $cc_basename in
8560 nvcc*)
8561 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8563 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8564 esac
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8567 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8568 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8569 $as_echo_n "(cached) " >&6
8570 else
8571 lt_cv_prog_compiler_rtti_exceptions=no
8572 ac_outfile=conftest.$ac_objext
8573 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8574 lt_compiler_flag="-fno-rtti -fno-exceptions"
8575 # Insert the option either (1) after the last *FLAGS variable, or
8576 # (2) before a word containing "conftest.", or (3) at the end.
8577 # Note that $ac_compile itself does not contain backslashes and begins
8578 # with a dollar sign (not a hyphen), so the echo should work correctly.
8579 # The option is referenced via a variable to avoid confusing sed.
8580 lt_compile=`echo "$ac_compile" | $SED \
8581 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8582 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8583 -e 's:$: $lt_compiler_flag:'`
8584 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8585 (eval "$lt_compile" 2>conftest.err)
8586 ac_status=$?
8587 cat conftest.err >&5
8588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8589 if (exit $ac_status) && test -s "$ac_outfile"; then
8590 # The compiler can only warn and ignore the option if not recognized
8591 # So say no if there are warnings other than the usual output.
8592 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8593 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8594 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8595 lt_cv_prog_compiler_rtti_exceptions=yes
8598 $RM conftest*
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8602 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8604 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8605 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8606 else
8617 lt_prog_compiler_wl=
8618 lt_prog_compiler_pic=
8619 lt_prog_compiler_static=
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8622 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8624 if test "$GCC" = yes; then
8625 lt_prog_compiler_wl='-Wl,'
8626 lt_prog_compiler_static='-static'
8628 case $host_os in
8629 aix*)
8630 # All AIX code is PIC.
8631 if test "$host_cpu" = ia64; then
8632 # AIX 5 now supports IA64 processor
8633 lt_prog_compiler_static='-Bstatic'
8635 lt_prog_compiler_pic='-fPIC'
8638 amigaos*)
8639 case $host_cpu in
8640 powerpc)
8641 # see comment about AmigaOS4 .so support
8642 lt_prog_compiler_pic='-fPIC'
8644 m68k)
8645 # FIXME: we need at least 68020 code to build shared libraries, but
8646 # adding the `-m68020' flag to GCC prevents building anything better,
8647 # like `-m68040'.
8648 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8650 esac
8653 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8654 # PIC is the default for these OSes.
8657 mingw* | cygwin* | pw32* | os2* | cegcc*)
8658 # This hack is so that the source file can tell whether it is being
8659 # built for inclusion in a dll (and should export symbols for example).
8660 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8661 # (--disable-auto-import) libraries
8662 lt_prog_compiler_pic='-DDLL_EXPORT'
8665 darwin* | rhapsody*)
8666 # PIC is the default on this platform
8667 # Common symbols not allowed in MH_DYLIB files
8668 lt_prog_compiler_pic='-fno-common'
8671 haiku*)
8672 # PIC is the default for Haiku.
8673 # The "-static" flag exists, but is broken.
8674 lt_prog_compiler_static=
8677 hpux*)
8678 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8679 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8680 # sets the default TLS model and affects inlining.
8681 case $host_cpu in
8682 hppa*64*)
8683 # +Z the default
8686 lt_prog_compiler_pic='-fPIC'
8688 esac
8691 interix[3-9]*)
8692 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8693 # Instead, we relocate shared libraries at runtime.
8696 msdosdjgpp*)
8697 # Just because we use GCC doesn't mean we suddenly get shared libraries
8698 # on systems that don't support them.
8699 lt_prog_compiler_can_build_shared=no
8700 enable_shared=no
8703 *nto* | *qnx*)
8704 # QNX uses GNU C++, but need to define -shared option too, otherwise
8705 # it will coredump.
8706 lt_prog_compiler_pic='-fPIC -shared'
8709 sysv4*MP*)
8710 if test -d /usr/nec; then
8711 lt_prog_compiler_pic=-Kconform_pic
8716 lt_prog_compiler_pic='-fPIC'
8718 esac
8720 case $cc_basename in
8721 nvcc*) # Cuda Compiler Driver 2.2
8722 lt_prog_compiler_wl='-Xlinker '
8723 lt_prog_compiler_pic='-Xcompiler -fPIC'
8725 esac
8726 else
8727 # PORTME Check for flag to pass linker flags through the system compiler.
8728 case $host_os in
8729 aix*)
8730 lt_prog_compiler_wl='-Wl,'
8731 if test "$host_cpu" = ia64; then
8732 # AIX 5 now supports IA64 processor
8733 lt_prog_compiler_static='-Bstatic'
8734 else
8735 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8739 mingw* | cygwin* | pw32* | os2* | cegcc*)
8740 # This hack is so that the source file can tell whether it is being
8741 # built for inclusion in a dll (and should export symbols for example).
8742 lt_prog_compiler_pic='-DDLL_EXPORT'
8745 hpux9* | hpux10* | hpux11*)
8746 lt_prog_compiler_wl='-Wl,'
8747 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8748 # not for PA HP-UX.
8749 case $host_cpu in
8750 hppa*64*|ia64*)
8751 # +Z the default
8754 lt_prog_compiler_pic='+Z'
8756 esac
8757 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8758 lt_prog_compiler_static='${wl}-a ${wl}archive'
8761 irix5* | irix6* | nonstopux*)
8762 lt_prog_compiler_wl='-Wl,'
8763 # PIC (with -KPIC) is the default.
8764 lt_prog_compiler_static='-non_shared'
8767 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8768 case $cc_basename in
8769 # old Intel for x86_64 which still supported -KPIC.
8770 ecc*)
8771 lt_prog_compiler_wl='-Wl,'
8772 lt_prog_compiler_pic='-KPIC'
8773 lt_prog_compiler_static='-static'
8775 # icc used to be incompatible with GCC.
8776 # ICC 10 doesn't accept -KPIC any more.
8777 icc* | ifort*)
8778 lt_prog_compiler_wl='-Wl,'
8779 lt_prog_compiler_pic='-fPIC'
8780 lt_prog_compiler_static='-static'
8782 # Lahey Fortran 8.1.
8783 lf95*)
8784 lt_prog_compiler_wl='-Wl,'
8785 lt_prog_compiler_pic='--shared'
8786 lt_prog_compiler_static='--static'
8788 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8789 # Portland Group compilers (*not* the Pentium gcc compiler,
8790 # which looks to be a dead project)
8791 lt_prog_compiler_wl='-Wl,'
8792 lt_prog_compiler_pic='-fpic'
8793 lt_prog_compiler_static='-Bstatic'
8795 ccc*)
8796 lt_prog_compiler_wl='-Wl,'
8797 # All Alpha code is PIC.
8798 lt_prog_compiler_static='-non_shared'
8800 xl* | bgxl* | bgf* | mpixl*)
8801 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8802 lt_prog_compiler_wl='-Wl,'
8803 lt_prog_compiler_pic='-qpic'
8804 lt_prog_compiler_static='-qstaticlink'
8807 case `$CC -V 2>&1 | sed 5q` in
8808 *Sun\ F* | *Sun*Fortran*)
8809 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8810 lt_prog_compiler_pic='-KPIC'
8811 lt_prog_compiler_static='-Bstatic'
8812 lt_prog_compiler_wl=''
8814 *Sun\ C*)
8815 # Sun C 5.9
8816 lt_prog_compiler_pic='-KPIC'
8817 lt_prog_compiler_static='-Bstatic'
8818 lt_prog_compiler_wl='-Wl,'
8820 esac
8822 esac
8825 newsos6)
8826 lt_prog_compiler_pic='-KPIC'
8827 lt_prog_compiler_static='-Bstatic'
8830 *nto* | *qnx*)
8831 # QNX uses GNU C++, but need to define -shared option too, otherwise
8832 # it will coredump.
8833 lt_prog_compiler_pic='-fPIC -shared'
8836 osf3* | osf4* | osf5*)
8837 lt_prog_compiler_wl='-Wl,'
8838 # All OSF/1 code is PIC.
8839 lt_prog_compiler_static='-non_shared'
8842 rdos*)
8843 lt_prog_compiler_static='-non_shared'
8846 solaris*)
8847 lt_prog_compiler_pic='-KPIC'
8848 lt_prog_compiler_static='-Bstatic'
8849 case $cc_basename in
8850 f77* | f90* | f95*)
8851 lt_prog_compiler_wl='-Qoption ld ';;
8853 lt_prog_compiler_wl='-Wl,';;
8854 esac
8857 sunos4*)
8858 lt_prog_compiler_wl='-Qoption ld '
8859 lt_prog_compiler_pic='-PIC'
8860 lt_prog_compiler_static='-Bstatic'
8863 sysv4 | sysv4.2uw2* | sysv4.3*)
8864 lt_prog_compiler_wl='-Wl,'
8865 lt_prog_compiler_pic='-KPIC'
8866 lt_prog_compiler_static='-Bstatic'
8869 sysv4*MP*)
8870 if test -d /usr/nec ;then
8871 lt_prog_compiler_pic='-Kconform_pic'
8872 lt_prog_compiler_static='-Bstatic'
8876 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8877 lt_prog_compiler_wl='-Wl,'
8878 lt_prog_compiler_pic='-KPIC'
8879 lt_prog_compiler_static='-Bstatic'
8882 unicos*)
8883 lt_prog_compiler_wl='-Wl,'
8884 lt_prog_compiler_can_build_shared=no
8887 uts4*)
8888 lt_prog_compiler_pic='-pic'
8889 lt_prog_compiler_static='-Bstatic'
8893 lt_prog_compiler_can_build_shared=no
8895 esac
8898 case $host_os in
8899 # For platforms which do not support PIC, -DPIC is meaningless:
8900 *djgpp*)
8901 lt_prog_compiler_pic=
8904 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8906 esac
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8908 $as_echo "$lt_prog_compiler_pic" >&6; }
8916 # Check to make sure the PIC flag actually works.
8918 if test -n "$lt_prog_compiler_pic"; then
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8920 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8921 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8922 $as_echo_n "(cached) " >&6
8923 else
8924 lt_cv_prog_compiler_pic_works=no
8925 ac_outfile=conftest.$ac_objext
8926 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8927 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8928 # Insert the option either (1) after the last *FLAGS variable, or
8929 # (2) before a word containing "conftest.", or (3) at the end.
8930 # Note that $ac_compile itself does not contain backslashes and begins
8931 # with a dollar sign (not a hyphen), so the echo should work correctly.
8932 # The option is referenced via a variable to avoid confusing sed.
8933 lt_compile=`echo "$ac_compile" | $SED \
8934 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8935 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8936 -e 's:$: $lt_compiler_flag:'`
8937 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8938 (eval "$lt_compile" 2>conftest.err)
8939 ac_status=$?
8940 cat conftest.err >&5
8941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8942 if (exit $ac_status) && test -s "$ac_outfile"; then
8943 # The compiler can only warn and ignore the option if not recognized
8944 # So say no if there are warnings other than the usual output.
8945 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8946 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8947 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8948 lt_cv_prog_compiler_pic_works=yes
8951 $RM conftest*
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8955 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8957 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8958 case $lt_prog_compiler_pic in
8959 "" | " "*) ;;
8960 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8961 esac
8962 else
8963 lt_prog_compiler_pic=
8964 lt_prog_compiler_can_build_shared=no
8975 # Check to make sure the static flag actually works.
8977 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8979 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8980 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8981 $as_echo_n "(cached) " >&6
8982 else
8983 lt_cv_prog_compiler_static_works=no
8984 save_LDFLAGS="$LDFLAGS"
8985 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8986 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8987 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8988 # The linker can only warn and ignore the option if not recognized
8989 # So say no if there are warnings
8990 if test -s conftest.err; then
8991 # Append any errors to the config.log.
8992 cat conftest.err 1>&5
8993 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8994 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8995 if diff conftest.exp conftest.er2 >/dev/null; then
8996 lt_cv_prog_compiler_static_works=yes
8998 else
8999 lt_cv_prog_compiler_static_works=yes
9002 $RM -r conftest*
9003 LDFLAGS="$save_LDFLAGS"
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9007 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9009 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9011 else
9012 lt_prog_compiler_static=
9021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9022 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9023 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9024 $as_echo_n "(cached) " >&6
9025 else
9026 lt_cv_prog_compiler_c_o=no
9027 $RM -r conftest 2>/dev/null
9028 mkdir conftest
9029 cd conftest
9030 mkdir out
9031 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9033 lt_compiler_flag="-o out/conftest2.$ac_objext"
9034 # Insert the option either (1) after the last *FLAGS variable, or
9035 # (2) before a word containing "conftest.", or (3) at the end.
9036 # Note that $ac_compile itself does not contain backslashes and begins
9037 # with a dollar sign (not a hyphen), so the echo should work correctly.
9038 lt_compile=`echo "$ac_compile" | $SED \
9039 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9040 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9041 -e 's:$: $lt_compiler_flag:'`
9042 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9043 (eval "$lt_compile" 2>out/conftest.err)
9044 ac_status=$?
9045 cat out/conftest.err >&5
9046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9047 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9048 then
9049 # The compiler can only warn and ignore the option if not recognized
9050 # So say no if there are warnings
9051 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9052 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9053 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9054 lt_cv_prog_compiler_c_o=yes
9057 chmod u+w . 2>&5
9058 $RM conftest*
9059 # SGI C++ compiler will create directory out/ii_files/ for
9060 # template instantiation
9061 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9062 $RM out/* && rmdir out
9063 cd ..
9064 $RM -r conftest
9065 $RM conftest*
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9069 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9077 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9078 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9079 $as_echo_n "(cached) " >&6
9080 else
9081 lt_cv_prog_compiler_c_o=no
9082 $RM -r conftest 2>/dev/null
9083 mkdir conftest
9084 cd conftest
9085 mkdir out
9086 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9088 lt_compiler_flag="-o out/conftest2.$ac_objext"
9089 # Insert the option either (1) after the last *FLAGS variable, or
9090 # (2) before a word containing "conftest.", or (3) at the end.
9091 # Note that $ac_compile itself does not contain backslashes and begins
9092 # with a dollar sign (not a hyphen), so the echo should work correctly.
9093 lt_compile=`echo "$ac_compile" | $SED \
9094 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9095 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9096 -e 's:$: $lt_compiler_flag:'`
9097 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9098 (eval "$lt_compile" 2>out/conftest.err)
9099 ac_status=$?
9100 cat out/conftest.err >&5
9101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9102 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9103 then
9104 # The compiler can only warn and ignore the option if not recognized
9105 # So say no if there are warnings
9106 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9107 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9108 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9109 lt_cv_prog_compiler_c_o=yes
9112 chmod u+w . 2>&5
9113 $RM conftest*
9114 # SGI C++ compiler will create directory out/ii_files/ for
9115 # template instantiation
9116 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9117 $RM out/* && rmdir out
9118 cd ..
9119 $RM -r conftest
9120 $RM conftest*
9123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9124 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9129 hard_links="nottested"
9130 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9131 # do not overwrite the value of need_locks provided by the user
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9133 $as_echo_n "checking if we can lock with hard links... " >&6; }
9134 hard_links=yes
9135 $RM conftest*
9136 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9137 touch conftest.a
9138 ln conftest.a conftest.b 2>&5 || hard_links=no
9139 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9141 $as_echo "$hard_links" >&6; }
9142 if test "$hard_links" = no; then
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9144 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9145 need_locks=warn
9147 else
9148 need_locks=no
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9157 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9159 runpath_var=
9160 allow_undefined_flag=
9161 always_export_symbols=no
9162 archive_cmds=
9163 archive_expsym_cmds=
9164 compiler_needs_object=no
9165 enable_shared_with_static_runtimes=no
9166 export_dynamic_flag_spec=
9167 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9168 hardcode_automatic=no
9169 hardcode_direct=no
9170 hardcode_direct_absolute=no
9171 hardcode_libdir_flag_spec=
9172 hardcode_libdir_flag_spec_ld=
9173 hardcode_libdir_separator=
9174 hardcode_minus_L=no
9175 hardcode_shlibpath_var=unsupported
9176 inherit_rpath=no
9177 link_all_deplibs=unknown
9178 module_cmds=
9179 module_expsym_cmds=
9180 old_archive_from_new_cmds=
9181 old_archive_from_expsyms_cmds=
9182 thread_safe_flag_spec=
9183 whole_archive_flag_spec=
9184 # include_expsyms should be a list of space-separated symbols to be *always*
9185 # included in the symbol list
9186 include_expsyms=
9187 # exclude_expsyms can be an extended regexp of symbols to exclude
9188 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9189 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9190 # as well as any symbol that contains `d'.
9191 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9192 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9193 # platforms (ab)use it in PIC code, but their linkers get confused if
9194 # the symbol is explicitly referenced. Since portable code cannot
9195 # rely on this symbol name, it's probably fine to never include it in
9196 # preloaded symbol tables.
9197 # Exclude shared library initialization/finalization symbols.
9198 extract_expsyms_cmds=
9200 case $host_os in
9201 cygwin* | mingw* | pw32* | cegcc*)
9202 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9203 # When not using gcc, we currently assume that we are using
9204 # Microsoft Visual C++.
9205 if test "$GCC" != yes; then
9206 with_gnu_ld=no
9209 interix*)
9210 # we just hope/assume this is gcc and not c89 (= MSVC++)
9211 with_gnu_ld=yes
9213 openbsd*)
9214 with_gnu_ld=no
9216 esac
9218 ld_shlibs=yes
9220 # On some targets, GNU ld is compatible enough with the native linker
9221 # that we're better off using the native interface for both.
9222 lt_use_gnu_ld_interface=no
9223 if test "$with_gnu_ld" = yes; then
9224 case $host_os in
9225 aix*)
9226 # The AIX port of GNU ld has always aspired to compatibility
9227 # with the native linker. However, as the warning in the GNU ld
9228 # block says, versions before 2.19.5* couldn't really create working
9229 # shared libraries, regardless of the interface used.
9230 case `$LD -v 2>&1` in
9231 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9232 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9233 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9235 lt_use_gnu_ld_interface=yes
9237 esac
9240 lt_use_gnu_ld_interface=yes
9242 esac
9245 if test "$lt_use_gnu_ld_interface" = yes; then
9246 # If archive_cmds runs LD, not CC, wlarc should be empty
9247 wlarc='${wl}'
9249 # Set some defaults for GNU ld with shared library support. These
9250 # are reset later if shared libraries are not supported. Putting them
9251 # here allows them to be overridden if necessary.
9252 runpath_var=LD_RUN_PATH
9253 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9254 export_dynamic_flag_spec='${wl}--export-dynamic'
9255 # ancient GNU ld didn't support --whole-archive et. al.
9256 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9257 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9258 else
9259 whole_archive_flag_spec=
9261 supports_anon_versioning=no
9262 case `$LD -v 2>&1` in
9263 *GNU\ gold*) supports_anon_versioning=yes ;;
9264 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9265 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9266 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9267 *\ 2.11.*) ;; # other 2.11 versions
9268 *) supports_anon_versioning=yes ;;
9269 esac
9271 # See if GNU ld supports shared libraries.
9272 case $host_os in
9273 aix[3-9]*)
9274 # On AIX/PPC, the GNU linker is very broken
9275 if test "$host_cpu" != ia64; then
9276 ld_shlibs=no
9277 cat <<_LT_EOF 1>&2
9279 *** Warning: the GNU linker, at least up to release 2.19, is reported
9280 *** to be unable to reliably create shared libraries on AIX.
9281 *** Therefore, libtool is disabling shared libraries support. If you
9282 *** really care for shared libraries, you may want to install binutils
9283 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9284 *** You will then need to restart the configuration process.
9286 _LT_EOF
9290 amigaos*)
9291 case $host_cpu in
9292 powerpc)
9293 # see comment about AmigaOS4 .so support
9294 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9295 archive_expsym_cmds=''
9297 m68k)
9298 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)'
9299 hardcode_libdir_flag_spec='-L$libdir'
9300 hardcode_minus_L=yes
9302 esac
9305 beos*)
9306 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9307 allow_undefined_flag=unsupported
9308 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9309 # support --undefined. This deserves some investigation. FIXME
9310 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9311 else
9312 ld_shlibs=no
9316 cygwin* | mingw* | pw32* | cegcc*)
9317 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9318 # as there is no search path for DLLs.
9319 hardcode_libdir_flag_spec='-L$libdir'
9320 export_dynamic_flag_spec='${wl}--export-all-symbols'
9321 allow_undefined_flag=unsupported
9322 always_export_symbols=no
9323 enable_shared_with_static_runtimes=yes
9324 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9326 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9327 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9328 # If the export-symbols file already is a .def file (1st line
9329 # is EXPORTS), use it as is; otherwise, prepend...
9330 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9331 cp $export_symbols $output_objdir/$soname.def;
9332 else
9333 echo EXPORTS > $output_objdir/$soname.def;
9334 cat $export_symbols >> $output_objdir/$soname.def;
9336 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9337 else
9338 ld_shlibs=no
9342 haiku*)
9343 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9344 link_all_deplibs=yes
9347 interix[3-9]*)
9348 hardcode_direct=no
9349 hardcode_shlibpath_var=no
9350 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9351 export_dynamic_flag_spec='${wl}-E'
9352 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9353 # Instead, shared libraries are loaded at an image base (0x10000000 by
9354 # default) and relocated if they conflict, which is a slow very memory
9355 # consuming and fragmenting process. To avoid this, we pick a random,
9356 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9357 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9358 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9359 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'
9362 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9363 tmp_diet=no
9364 if test "$host_os" = linux-dietlibc; then
9365 case $cc_basename in
9366 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9367 esac
9369 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9370 && test "$tmp_diet" = no
9371 then
9372 tmp_addflag=' $pic_flag'
9373 tmp_sharedflag='-shared'
9374 case $cc_basename,$host_cpu in
9375 pgcc*) # Portland Group C compiler
9376 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'
9377 tmp_addflag=' $pic_flag'
9379 pgf77* | pgf90* | pgf95* | pgfortran*)
9380 # Portland Group f77 and f90 compilers
9381 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'
9382 tmp_addflag=' $pic_flag -Mnomain' ;;
9383 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9384 tmp_addflag=' -i_dynamic' ;;
9385 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9386 tmp_addflag=' -i_dynamic -nofor_main' ;;
9387 ifc* | ifort*) # Intel Fortran compiler
9388 tmp_addflag=' -nofor_main' ;;
9389 lf95*) # Lahey Fortran 8.1
9390 whole_archive_flag_spec=
9391 tmp_sharedflag='--shared' ;;
9392 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9393 tmp_sharedflag='-qmkshrobj'
9394 tmp_addflag= ;;
9395 nvcc*) # Cuda Compiler Driver 2.2
9396 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'
9397 compiler_needs_object=yes
9399 esac
9400 case `$CC -V 2>&1 | sed 5q` in
9401 *Sun\ C*) # Sun C 5.9
9402 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'
9403 compiler_needs_object=yes
9404 tmp_sharedflag='-G' ;;
9405 *Sun\ F*) # Sun Fortran 8.3
9406 tmp_sharedflag='-G' ;;
9407 esac
9408 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9410 if test "x$supports_anon_versioning" = xyes; then
9411 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9412 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9413 echo "local: *; };" >> $output_objdir/$libname.ver~
9414 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9417 case $cc_basename in
9418 xlf* | bgf* | bgxlf* | mpixlf*)
9419 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9420 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9421 hardcode_libdir_flag_spec=
9422 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9423 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9424 if test "x$supports_anon_versioning" = xyes; then
9425 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9426 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9427 echo "local: *; };" >> $output_objdir/$libname.ver~
9428 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9431 esac
9432 else
9433 ld_shlibs=no
9437 netbsd*)
9438 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9439 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9440 wlarc=
9441 else
9442 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9443 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9447 solaris*)
9448 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9449 ld_shlibs=no
9450 cat <<_LT_EOF 1>&2
9452 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9453 *** create shared libraries on Solaris systems. Therefore, libtool
9454 *** is disabling shared libraries support. We urge you to upgrade GNU
9455 *** binutils to release 2.9.1 or newer. Another option is to modify
9456 *** your PATH or compiler configuration so that the native linker is
9457 *** used, and then restart.
9459 _LT_EOF
9460 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9461 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9462 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9463 else
9464 ld_shlibs=no
9468 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9469 case `$LD -v 2>&1` in
9470 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9471 ld_shlibs=no
9472 cat <<_LT_EOF 1>&2
9474 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9475 *** reliably create shared libraries on SCO systems. Therefore, libtool
9476 *** is disabling shared libraries support. We urge you to upgrade GNU
9477 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9478 *** your PATH or compiler configuration so that the native linker is
9479 *** used, and then restart.
9481 _LT_EOF
9484 # For security reasons, it is highly recommended that you always
9485 # use absolute paths for naming shared libraries, and exclude the
9486 # DT_RUNPATH tag from executables and libraries. But doing so
9487 # requires that you compile everything twice, which is a pain.
9488 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9489 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9490 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9491 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9492 else
9493 ld_shlibs=no
9496 esac
9499 sunos4*)
9500 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9501 wlarc=
9502 hardcode_direct=yes
9503 hardcode_shlibpath_var=no
9507 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9508 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9509 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9510 else
9511 ld_shlibs=no
9514 esac
9516 if test "$ld_shlibs" = no; then
9517 runpath_var=
9518 hardcode_libdir_flag_spec=
9519 export_dynamic_flag_spec=
9520 whole_archive_flag_spec=
9522 else
9523 # PORTME fill in a description of your system's linker (not GNU ld)
9524 case $host_os in
9525 aix3*)
9526 allow_undefined_flag=unsupported
9527 always_export_symbols=yes
9528 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'
9529 # Note: this linker hardcodes the directories in LIBPATH if there
9530 # are no directories specified by -L.
9531 hardcode_minus_L=yes
9532 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9533 # Neither direct hardcoding nor static linking is supported with a
9534 # broken collect2.
9535 hardcode_direct=unsupported
9539 aix[4-9]*)
9540 if test "$host_cpu" = ia64; then
9541 # On IA64, the linker does run time linking by default, so we don't
9542 # have to do anything special.
9543 aix_use_runtimelinking=no
9544 exp_sym_flag='-Bexport'
9545 no_entry_flag=""
9546 else
9547 # If we're using GNU nm, then we don't want the "-C" option.
9548 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9549 # Also, AIX nm treats weak defined symbols like other global
9550 # defined symbols, whereas GNU nm marks them as "W".
9551 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9552 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'
9553 else
9554 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9556 aix_use_runtimelinking=no
9558 # Test if we are trying to use run time linking or normal
9559 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9560 # need to do runtime linking.
9561 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9562 for ld_flag in $LDFLAGS; do
9563 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9564 aix_use_runtimelinking=yes
9565 break
9567 done
9569 esac
9571 exp_sym_flag='-bexport'
9572 no_entry_flag='-bnoentry'
9575 # When large executables or shared objects are built, AIX ld can
9576 # have problems creating the table of contents. If linking a library
9577 # or program results in "error TOC overflow" add -mminimal-toc to
9578 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9579 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9581 archive_cmds=''
9582 hardcode_direct=yes
9583 hardcode_direct_absolute=yes
9584 hardcode_libdir_separator=':'
9585 link_all_deplibs=yes
9586 file_list_spec='${wl}-f,'
9588 if test "$GCC" = yes; then
9589 case $host_os in aix4.[012]|aix4.[012].*)
9590 # We only want to do this on AIX 4.2 and lower, the check
9591 # below for broken collect2 doesn't work under 4.3+
9592 collect2name=`${CC} -print-prog-name=collect2`
9593 if test -f "$collect2name" &&
9594 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9595 then
9596 # We have reworked collect2
9598 else
9599 # We have old collect2
9600 hardcode_direct=unsupported
9601 # It fails to find uninstalled libraries when the uninstalled
9602 # path is not listed in the libpath. Setting hardcode_minus_L
9603 # to unsupported forces relinking
9604 hardcode_minus_L=yes
9605 hardcode_libdir_flag_spec='-L$libdir'
9606 hardcode_libdir_separator=
9609 esac
9610 shared_flag='-shared'
9611 if test "$aix_use_runtimelinking" = yes; then
9612 shared_flag="$shared_flag "'${wl}-G'
9614 else
9615 # not using gcc
9616 if test "$host_cpu" = ia64; then
9617 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9618 # chokes on -Wl,-G. The following line is correct:
9619 shared_flag='-G'
9620 else
9621 if test "$aix_use_runtimelinking" = yes; then
9622 shared_flag='${wl}-G'
9623 else
9624 shared_flag='${wl}-bM:SRE'
9629 export_dynamic_flag_spec='${wl}-bexpall'
9630 # It seems that -bexpall does not export symbols beginning with
9631 # underscore (_), so it is better to generate a list of symbols to export.
9632 always_export_symbols=yes
9633 if test "$aix_use_runtimelinking" = yes; then
9634 # Warning - without using the other runtime loading flags (-brtl),
9635 # -berok will link without error, but may produce a broken library.
9636 allow_undefined_flag='-berok'
9637 # Determine the default libpath from the value encoded in an
9638 # empty executable.
9639 if test x$gcc_no_link = xyes; then
9640 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9643 /* end confdefs.h. */
9646 main ()
9650 return 0;
9652 _ACEOF
9653 if ac_fn_c_try_link "$LINENO"; then :
9655 lt_aix_libpath_sed='
9656 /Import File Strings/,/^$/ {
9657 /^0/ {
9658 s/^0 *\(.*\)$/\1/
9662 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9663 # Check for a 64-bit object if we didn't find anything.
9664 if test -z "$aix_libpath"; then
9665 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9668 rm -f core conftest.err conftest.$ac_objext \
9669 conftest$ac_exeext conftest.$ac_ext
9670 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9672 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9673 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"
9674 else
9675 if test "$host_cpu" = ia64; then
9676 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9677 allow_undefined_flag="-z nodefs"
9678 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"
9679 else
9680 # Determine the default libpath from the value encoded in an
9681 # empty executable.
9682 if test x$gcc_no_link = xyes; then
9683 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9686 /* end confdefs.h. */
9689 main ()
9693 return 0;
9695 _ACEOF
9696 if ac_fn_c_try_link "$LINENO"; then :
9698 lt_aix_libpath_sed='
9699 /Import File Strings/,/^$/ {
9700 /^0/ {
9701 s/^0 *\(.*\)$/\1/
9705 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9706 # Check for a 64-bit object if we didn't find anything.
9707 if test -z "$aix_libpath"; then
9708 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9711 rm -f core conftest.err conftest.$ac_objext \
9712 conftest$ac_exeext conftest.$ac_ext
9713 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9715 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9716 # Warning - without using the other run time loading flags,
9717 # -berok will link without error, but may produce a broken library.
9718 no_undefined_flag=' ${wl}-bernotok'
9719 allow_undefined_flag=' ${wl}-berok'
9720 if test "$with_gnu_ld" = yes; then
9721 # We only use this code for GNU lds that support --whole-archive.
9722 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9723 else
9724 # Exported symbols can be pulled into shared objects from archives
9725 whole_archive_flag_spec='$convenience'
9727 archive_cmds_need_lc=yes
9728 # This is similar to how AIX traditionally builds its shared libraries.
9729 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'
9734 amigaos*)
9735 case $host_cpu in
9736 powerpc)
9737 # see comment about AmigaOS4 .so support
9738 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9739 archive_expsym_cmds=''
9741 m68k)
9742 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)'
9743 hardcode_libdir_flag_spec='-L$libdir'
9744 hardcode_minus_L=yes
9746 esac
9749 bsdi[45]*)
9750 export_dynamic_flag_spec=-rdynamic
9753 cygwin* | mingw* | pw32* | cegcc*)
9754 # When not using gcc, we currently assume that we are using
9755 # Microsoft Visual C++.
9756 # hardcode_libdir_flag_spec is actually meaningless, as there is
9757 # no search path for DLLs.
9758 hardcode_libdir_flag_spec=' '
9759 allow_undefined_flag=unsupported
9760 # Tell ltmain to make .lib files, not .a files.
9761 libext=lib
9762 # Tell ltmain to make .dll files, not .so files.
9763 shrext_cmds=".dll"
9764 # FIXME: Setting linknames here is a bad hack.
9765 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9766 # The linker will automatically build a .lib file if we build a DLL.
9767 old_archive_from_new_cmds='true'
9768 # FIXME: Should let the user specify the lib program.
9769 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9770 fix_srcfile_path='`cygpath -w "$srcfile"`'
9771 enable_shared_with_static_runtimes=yes
9774 darwin* | rhapsody*)
9777 archive_cmds_need_lc=no
9778 hardcode_direct=no
9779 hardcode_automatic=yes
9780 hardcode_shlibpath_var=unsupported
9781 if test "$lt_cv_ld_force_load" = "yes"; then
9782 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\"`'
9783 else
9784 whole_archive_flag_spec=''
9786 link_all_deplibs=yes
9787 allow_undefined_flag="$_lt_dar_allow_undefined"
9788 case $cc_basename in
9789 ifort*) _lt_dar_can_shared=yes ;;
9790 *) _lt_dar_can_shared=$GCC ;;
9791 esac
9792 if test "$_lt_dar_can_shared" = "yes"; then
9793 output_verbose_link_cmd=func_echo_all
9794 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9795 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9796 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}"
9797 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9799 else
9800 ld_shlibs=no
9805 dgux*)
9806 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9807 hardcode_libdir_flag_spec='-L$libdir'
9808 hardcode_shlibpath_var=no
9811 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9812 # support. Future versions do this automatically, but an explicit c++rt0.o
9813 # does not break anything, and helps significantly (at the cost of a little
9814 # extra space).
9815 freebsd2.2*)
9816 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9817 hardcode_libdir_flag_spec='-R$libdir'
9818 hardcode_direct=yes
9819 hardcode_shlibpath_var=no
9822 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9823 freebsd2.*)
9824 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9825 hardcode_direct=yes
9826 hardcode_minus_L=yes
9827 hardcode_shlibpath_var=no
9830 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9831 freebsd* | dragonfly*)
9832 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9833 hardcode_libdir_flag_spec='-R$libdir'
9834 hardcode_direct=yes
9835 hardcode_shlibpath_var=no
9838 hpux9*)
9839 if test "$GCC" = yes; then
9840 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'
9841 else
9842 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9844 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9845 hardcode_libdir_separator=:
9846 hardcode_direct=yes
9848 # hardcode_minus_L: Not really in the search PATH,
9849 # but as the default location of the library.
9850 hardcode_minus_L=yes
9851 export_dynamic_flag_spec='${wl}-E'
9854 hpux10*)
9855 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9856 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9857 else
9858 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9860 if test "$with_gnu_ld" = no; then
9861 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9862 hardcode_libdir_flag_spec_ld='+b $libdir'
9863 hardcode_libdir_separator=:
9864 hardcode_direct=yes
9865 hardcode_direct_absolute=yes
9866 export_dynamic_flag_spec='${wl}-E'
9867 # hardcode_minus_L: Not really in the search PATH,
9868 # but as the default location of the library.
9869 hardcode_minus_L=yes
9873 hpux11*)
9874 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9875 case $host_cpu in
9876 hppa*64*)
9877 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9879 ia64*)
9880 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9883 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9885 esac
9886 else
9887 case $host_cpu in
9888 hppa*64*)
9889 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9891 ia64*)
9892 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9896 # Older versions of the 11.00 compiler do not understand -b yet
9897 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9899 $as_echo_n "checking if $CC understands -b... " >&6; }
9900 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9901 $as_echo_n "(cached) " >&6
9902 else
9903 lt_cv_prog_compiler__b=no
9904 save_LDFLAGS="$LDFLAGS"
9905 LDFLAGS="$LDFLAGS -b"
9906 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9907 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9908 # The linker can only warn and ignore the option if not recognized
9909 # So say no if there are warnings
9910 if test -s conftest.err; then
9911 # Append any errors to the config.log.
9912 cat conftest.err 1>&5
9913 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9914 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9915 if diff conftest.exp conftest.er2 >/dev/null; then
9916 lt_cv_prog_compiler__b=yes
9918 else
9919 lt_cv_prog_compiler__b=yes
9922 $RM -r conftest*
9923 LDFLAGS="$save_LDFLAGS"
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9927 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9929 if test x"$lt_cv_prog_compiler__b" = xyes; then
9930 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9931 else
9932 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9936 esac
9938 if test "$with_gnu_ld" = no; then
9939 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9940 hardcode_libdir_separator=:
9942 case $host_cpu in
9943 hppa*64*|ia64*)
9944 hardcode_direct=no
9945 hardcode_shlibpath_var=no
9948 hardcode_direct=yes
9949 hardcode_direct_absolute=yes
9950 export_dynamic_flag_spec='${wl}-E'
9952 # hardcode_minus_L: Not really in the search PATH,
9953 # but as the default location of the library.
9954 hardcode_minus_L=yes
9956 esac
9960 irix5* | irix6* | nonstopux*)
9961 if test "$GCC" = yes; then
9962 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'
9963 # Try to use the -exported_symbol ld option, if it does not
9964 # work, assume that -exports_file does not work either and
9965 # implicitly export all symbols.
9966 save_LDFLAGS="$LDFLAGS"
9967 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9968 if test x$gcc_no_link = xyes; then
9969 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9972 /* end confdefs.h. */
9973 int foo(void) {}
9974 _ACEOF
9975 if ac_fn_c_try_link "$LINENO"; then :
9976 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'
9979 rm -f core conftest.err conftest.$ac_objext \
9980 conftest$ac_exeext conftest.$ac_ext
9981 LDFLAGS="$save_LDFLAGS"
9982 else
9983 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'
9984 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9986 archive_cmds_need_lc='no'
9987 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9988 hardcode_libdir_separator=:
9989 inherit_rpath=yes
9990 link_all_deplibs=yes
9993 netbsd*)
9994 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9995 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9996 else
9997 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9999 hardcode_libdir_flag_spec='-R$libdir'
10000 hardcode_direct=yes
10001 hardcode_shlibpath_var=no
10004 newsos6)
10005 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10006 hardcode_direct=yes
10007 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10008 hardcode_libdir_separator=:
10009 hardcode_shlibpath_var=no
10012 *nto* | *qnx*)
10015 openbsd*)
10016 if test -f /usr/libexec/ld.so; then
10017 hardcode_direct=yes
10018 hardcode_shlibpath_var=no
10019 hardcode_direct_absolute=yes
10020 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10021 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10022 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10023 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10024 export_dynamic_flag_spec='${wl}-E'
10025 else
10026 case $host_os in
10027 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10028 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10029 hardcode_libdir_flag_spec='-R$libdir'
10032 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10033 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10035 esac
10037 else
10038 ld_shlibs=no
10042 os2*)
10043 hardcode_libdir_flag_spec='-L$libdir'
10044 hardcode_minus_L=yes
10045 allow_undefined_flag=unsupported
10046 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'
10047 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10050 osf3*)
10051 if test "$GCC" = yes; then
10052 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10053 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'
10054 else
10055 allow_undefined_flag=' -expect_unresolved \*'
10056 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10058 archive_cmds_need_lc='no'
10059 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10060 hardcode_libdir_separator=:
10063 osf4* | osf5*) # as osf3* with the addition of -msym flag
10064 if test "$GCC" = yes; then
10065 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10066 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'
10067 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10068 else
10069 allow_undefined_flag=' -expect_unresolved \*'
10070 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'
10071 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~
10072 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10074 # Both c and cxx compiler support -rpath directly
10075 hardcode_libdir_flag_spec='-rpath $libdir'
10077 archive_cmds_need_lc='no'
10078 hardcode_libdir_separator=:
10081 solaris*)
10082 no_undefined_flag=' -z defs'
10083 if test "$GCC" = yes; then
10084 wlarc='${wl}'
10085 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10086 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10087 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10088 else
10089 case `$CC -V 2>&1` in
10090 *"Compilers 5.0"*)
10091 wlarc=''
10092 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10093 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10094 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10097 wlarc='${wl}'
10098 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10099 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10100 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10102 esac
10104 hardcode_libdir_flag_spec='-R$libdir'
10105 hardcode_shlibpath_var=no
10106 case $host_os in
10107 solaris2.[0-5] | solaris2.[0-5].*) ;;
10109 # The compiler driver will combine and reorder linker options,
10110 # but understands `-z linker_flag'. GCC discards it without `$wl',
10111 # but is careful enough not to reorder.
10112 # Supported since Solaris 2.6 (maybe 2.5.1?)
10113 if test "$GCC" = yes; then
10114 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10115 else
10116 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10119 esac
10120 link_all_deplibs=yes
10123 sunos4*)
10124 if test "x$host_vendor" = xsequent; then
10125 # Use $CC to link under sequent, because it throws in some extra .o
10126 # files that make .init and .fini sections work.
10127 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10128 else
10129 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10131 hardcode_libdir_flag_spec='-L$libdir'
10132 hardcode_direct=yes
10133 hardcode_minus_L=yes
10134 hardcode_shlibpath_var=no
10137 sysv4)
10138 case $host_vendor in
10139 sni)
10140 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10141 hardcode_direct=yes # is this really true???
10143 siemens)
10144 ## LD is ld it makes a PLAMLIB
10145 ## CC just makes a GrossModule.
10146 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10147 reload_cmds='$CC -r -o $output$reload_objs'
10148 hardcode_direct=no
10150 motorola)
10151 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10152 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10154 esac
10155 runpath_var='LD_RUN_PATH'
10156 hardcode_shlibpath_var=no
10159 sysv4.3*)
10160 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10161 hardcode_shlibpath_var=no
10162 export_dynamic_flag_spec='-Bexport'
10165 sysv4*MP*)
10166 if test -d /usr/nec; then
10167 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10168 hardcode_shlibpath_var=no
10169 runpath_var=LD_RUN_PATH
10170 hardcode_runpath_var=yes
10171 ld_shlibs=yes
10175 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10176 no_undefined_flag='${wl}-z,text'
10177 archive_cmds_need_lc=no
10178 hardcode_shlibpath_var=no
10179 runpath_var='LD_RUN_PATH'
10181 if test "$GCC" = yes; then
10182 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10183 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10184 else
10185 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10186 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10190 sysv5* | sco3.2v5* | sco5v6*)
10191 # Note: We can NOT use -z defs as we might desire, because we do not
10192 # link with -lc, and that would cause any symbols used from libc to
10193 # always be unresolved, which means just about no library would
10194 # ever link correctly. If we're not using GNU ld we use -z text
10195 # though, which does catch some bad symbols but isn't as heavy-handed
10196 # as -z defs.
10197 no_undefined_flag='${wl}-z,text'
10198 allow_undefined_flag='${wl}-z,nodefs'
10199 archive_cmds_need_lc=no
10200 hardcode_shlibpath_var=no
10201 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10202 hardcode_libdir_separator=':'
10203 link_all_deplibs=yes
10204 export_dynamic_flag_spec='${wl}-Bexport'
10205 runpath_var='LD_RUN_PATH'
10207 if test "$GCC" = yes; then
10208 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10209 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10210 else
10211 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10212 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10216 uts4*)
10217 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10218 hardcode_libdir_flag_spec='-L$libdir'
10219 hardcode_shlibpath_var=no
10223 ld_shlibs=no
10225 esac
10227 if test x$host_vendor = xsni; then
10228 case $host in
10229 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10230 export_dynamic_flag_spec='${wl}-Blargedynsym'
10232 esac
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10237 $as_echo "$ld_shlibs" >&6; }
10238 test "$ld_shlibs" = no && can_build_shared=no
10240 with_gnu_ld=$with_gnu_ld
10257 # Do we need to explicitly link libc?
10259 case "x$archive_cmds_need_lc" in
10260 x|xyes)
10261 # Assume -lc should be added
10262 archive_cmds_need_lc=yes
10264 if test "$enable_shared" = yes && test "$GCC" = yes; then
10265 case $archive_cmds in
10266 *'~'*)
10267 # FIXME: we may have to deal with multi-command sequences.
10269 '$CC '*)
10270 # Test whether the compiler implicitly links with -lc since on some
10271 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10272 # to ld, don't add -lc before -lgcc.
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10274 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10275 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10276 $as_echo_n "(cached) " >&6
10277 else
10278 $RM conftest*
10279 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10281 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10282 (eval $ac_compile) 2>&5
10283 ac_status=$?
10284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10285 test $ac_status = 0; } 2>conftest.err; then
10286 soname=conftest
10287 lib=conftest
10288 libobjs=conftest.$ac_objext
10289 deplibs=
10290 wl=$lt_prog_compiler_wl
10291 pic_flag=$lt_prog_compiler_pic
10292 compiler_flags=-v
10293 linker_flags=-v
10294 verstring=
10295 output_objdir=.
10296 libname=conftest
10297 lt_save_allow_undefined_flag=$allow_undefined_flag
10298 allow_undefined_flag=
10299 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10300 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10301 ac_status=$?
10302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10303 test $ac_status = 0; }
10304 then
10305 lt_cv_archive_cmds_need_lc=no
10306 else
10307 lt_cv_archive_cmds_need_lc=yes
10309 allow_undefined_flag=$lt_save_allow_undefined_flag
10310 else
10311 cat conftest.err 1>&5
10313 $RM conftest*
10316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10317 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10318 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10320 esac
10323 esac
10481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10482 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10484 if test "$GCC" = yes; then
10485 case $host_os in
10486 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10487 *) lt_awk_arg="/^libraries:/" ;;
10488 esac
10489 case $host_os in
10490 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10491 *) lt_sed_strip_eq="s,=/,/,g" ;;
10492 esac
10493 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10494 case $lt_search_path_spec in
10495 *\;*)
10496 # if the path contains ";" then we assume it to be the separator
10497 # otherwise default to the standard path separator (i.e. ":") - it is
10498 # assumed that no part of a normal pathname contains ";" but that should
10499 # okay in the real world where ";" in dirpaths is itself problematic.
10500 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10503 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10505 esac
10506 # Ok, now we have the path, separated by spaces, we can step through it
10507 # and add multilib dir if necessary.
10508 lt_tmp_lt_search_path_spec=
10509 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10510 for lt_sys_path in $lt_search_path_spec; do
10511 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10512 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10513 else
10514 test -d "$lt_sys_path" && \
10515 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10517 done
10518 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10519 BEGIN {RS=" "; FS="/|\n";} {
10520 lt_foo="";
10521 lt_count=0;
10522 for (lt_i = NF; lt_i > 0; lt_i--) {
10523 if ($lt_i != "" && $lt_i != ".") {
10524 if ($lt_i == "..") {
10525 lt_count++;
10526 } else {
10527 if (lt_count == 0) {
10528 lt_foo="/" $lt_i lt_foo;
10529 } else {
10530 lt_count--;
10535 if (lt_foo != "") { lt_freq[lt_foo]++; }
10536 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10538 # AWK program above erroneously prepends '/' to C:/dos/paths
10539 # for these hosts.
10540 case $host_os in
10541 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10542 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10543 esac
10544 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10545 else
10546 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10548 library_names_spec=
10549 libname_spec='lib$name'
10550 soname_spec=
10551 shrext_cmds=".so"
10552 postinstall_cmds=
10553 postuninstall_cmds=
10554 finish_cmds=
10555 finish_eval=
10556 shlibpath_var=
10557 shlibpath_overrides_runpath=unknown
10558 version_type=none
10559 dynamic_linker="$host_os ld.so"
10560 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10561 need_lib_prefix=unknown
10562 hardcode_into_libs=no
10564 # when you set need_version to no, make sure it does not cause -set_version
10565 # flags to be left without arguments
10566 need_version=unknown
10568 case $host_os in
10569 aix3*)
10570 version_type=linux
10571 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10572 shlibpath_var=LIBPATH
10574 # AIX 3 has no versioning support, so we append a major version to the name.
10575 soname_spec='${libname}${release}${shared_ext}$major'
10578 aix[4-9]*)
10579 version_type=linux
10580 need_lib_prefix=no
10581 need_version=no
10582 hardcode_into_libs=yes
10583 if test "$host_cpu" = ia64; then
10584 # AIX 5 supports IA64
10585 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10586 shlibpath_var=LD_LIBRARY_PATH
10587 else
10588 # With GCC up to 2.95.x, collect2 would create an import file
10589 # for dependence libraries. The import file would start with
10590 # the line `#! .'. This would cause the generated library to
10591 # depend on `.', always an invalid library. This was fixed in
10592 # development snapshots of GCC prior to 3.0.
10593 case $host_os in
10594 aix4 | aix4.[01] | aix4.[01].*)
10595 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10596 echo ' yes '
10597 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10599 else
10600 can_build_shared=no
10603 esac
10604 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10605 # soname into executable. Probably we can add versioning support to
10606 # collect2, so additional links can be useful in future.
10607 if test "$aix_use_runtimelinking" = yes; then
10608 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10609 # instead of lib<name>.a to let people know that these are not
10610 # typical AIX shared libraries.
10611 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10612 else
10613 # We preserve .a as extension for shared libraries through AIX4.2
10614 # and later when we are not doing run time linking.
10615 library_names_spec='${libname}${release}.a $libname.a'
10616 soname_spec='${libname}${release}${shared_ext}$major'
10618 shlibpath_var=LIBPATH
10622 amigaos*)
10623 case $host_cpu in
10624 powerpc)
10625 # Since July 2007 AmigaOS4 officially supports .so libraries.
10626 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10627 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10629 m68k)
10630 library_names_spec='$libname.ixlibrary $libname.a'
10631 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10632 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10634 esac
10637 beos*)
10638 library_names_spec='${libname}${shared_ext}'
10639 dynamic_linker="$host_os ld.so"
10640 shlibpath_var=LIBRARY_PATH
10643 bsdi[45]*)
10644 version_type=linux
10645 need_version=no
10646 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10647 soname_spec='${libname}${release}${shared_ext}$major'
10648 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10649 shlibpath_var=LD_LIBRARY_PATH
10650 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10651 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10652 # the default ld.so.conf also contains /usr/contrib/lib and
10653 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10654 # libtool to hard-code these into programs
10657 cygwin* | mingw* | pw32* | cegcc*)
10658 version_type=windows
10659 shrext_cmds=".dll"
10660 need_version=no
10661 need_lib_prefix=no
10663 case $GCC,$host_os in
10664 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10665 library_names_spec='$libname.dll.a'
10666 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10667 postinstall_cmds='base_file=`basename \${file}`~
10668 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10669 dldir=$destdir/`dirname \$dlpath`~
10670 test -d \$dldir || mkdir -p \$dldir~
10671 $install_prog $dir/$dlname \$dldir/$dlname~
10672 chmod a+x \$dldir/$dlname~
10673 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10674 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10676 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10677 dlpath=$dir/\$dldll~
10678 $RM \$dlpath'
10679 shlibpath_overrides_runpath=yes
10681 case $host_os in
10682 cygwin*)
10683 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10684 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10686 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10688 mingw* | cegcc*)
10689 # MinGW DLLs use traditional 'lib' prefix
10690 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10692 pw32*)
10693 # pw32 DLLs use 'pw' prefix rather than 'lib'
10694 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10696 esac
10700 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10702 esac
10703 dynamic_linker='Win32 ld.exe'
10704 # FIXME: first we should search . and the directory the executable is in
10705 shlibpath_var=PATH
10708 darwin* | rhapsody*)
10709 dynamic_linker="$host_os dyld"
10710 version_type=darwin
10711 need_lib_prefix=no
10712 need_version=no
10713 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10714 soname_spec='${libname}${release}${major}$shared_ext'
10715 shlibpath_overrides_runpath=yes
10716 shlibpath_var=DYLD_LIBRARY_PATH
10717 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10719 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10720 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10723 dgux*)
10724 version_type=linux
10725 need_lib_prefix=no
10726 need_version=no
10727 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10728 soname_spec='${libname}${release}${shared_ext}$major'
10729 shlibpath_var=LD_LIBRARY_PATH
10732 freebsd* | dragonfly*)
10733 # DragonFly does not have aout. When/if they implement a new
10734 # versioning mechanism, adjust this.
10735 if test -x /usr/bin/objformat; then
10736 objformat=`/usr/bin/objformat`
10737 else
10738 case $host_os in
10739 freebsd[23].*) objformat=aout ;;
10740 *) objformat=elf ;;
10741 esac
10743 version_type=freebsd-$objformat
10744 case $version_type in
10745 freebsd-elf*)
10746 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10747 need_version=no
10748 need_lib_prefix=no
10750 freebsd-*)
10751 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10752 need_version=yes
10754 esac
10755 shlibpath_var=LD_LIBRARY_PATH
10756 case $host_os in
10757 freebsd2.*)
10758 shlibpath_overrides_runpath=yes
10760 freebsd3.[01]* | freebsdelf3.[01]*)
10761 shlibpath_overrides_runpath=yes
10762 hardcode_into_libs=yes
10764 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10765 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10766 shlibpath_overrides_runpath=no
10767 hardcode_into_libs=yes
10769 *) # from 4.6 on, and DragonFly
10770 shlibpath_overrides_runpath=yes
10771 hardcode_into_libs=yes
10773 esac
10776 gnu*)
10777 version_type=linux
10778 need_lib_prefix=no
10779 need_version=no
10780 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10781 soname_spec='${libname}${release}${shared_ext}$major'
10782 shlibpath_var=LD_LIBRARY_PATH
10783 hardcode_into_libs=yes
10786 haiku*)
10787 version_type=linux
10788 need_lib_prefix=no
10789 need_version=no
10790 dynamic_linker="$host_os runtime_loader"
10791 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10792 soname_spec='${libname}${release}${shared_ext}$major'
10793 shlibpath_var=LIBRARY_PATH
10794 shlibpath_overrides_runpath=yes
10795 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10796 hardcode_into_libs=yes
10799 hpux9* | hpux10* | hpux11*)
10800 # Give a soname corresponding to the major version so that dld.sl refuses to
10801 # link against other versions.
10802 version_type=sunos
10803 need_lib_prefix=no
10804 need_version=no
10805 case $host_cpu in
10806 ia64*)
10807 shrext_cmds='.so'
10808 hardcode_into_libs=yes
10809 dynamic_linker="$host_os dld.so"
10810 shlibpath_var=LD_LIBRARY_PATH
10811 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10812 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10813 soname_spec='${libname}${release}${shared_ext}$major'
10814 if test "X$HPUX_IA64_MODE" = X32; then
10815 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10816 else
10817 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10819 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10821 hppa*64*)
10822 shrext_cmds='.sl'
10823 hardcode_into_libs=yes
10824 dynamic_linker="$host_os dld.sl"
10825 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10826 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
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'
10829 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10830 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10833 shrext_cmds='.sl'
10834 dynamic_linker="$host_os dld.sl"
10835 shlibpath_var=SHLIB_PATH
10836 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10837 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10838 soname_spec='${libname}${release}${shared_ext}$major'
10840 esac
10841 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10842 postinstall_cmds='chmod 555 $lib'
10843 # or fails outright, so override atomically:
10844 install_override_mode=555
10847 interix[3-9]*)
10848 version_type=linux
10849 need_lib_prefix=no
10850 need_version=no
10851 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10852 soname_spec='${libname}${release}${shared_ext}$major'
10853 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10854 shlibpath_var=LD_LIBRARY_PATH
10855 shlibpath_overrides_runpath=no
10856 hardcode_into_libs=yes
10859 irix5* | irix6* | nonstopux*)
10860 case $host_os in
10861 nonstopux*) version_type=nonstopux ;;
10863 if test "$lt_cv_prog_gnu_ld" = yes; then
10864 version_type=linux
10865 else
10866 version_type=irix
10867 fi ;;
10868 esac
10869 need_lib_prefix=no
10870 need_version=no
10871 soname_spec='${libname}${release}${shared_ext}$major'
10872 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10873 case $host_os in
10874 irix5* | nonstopux*)
10875 libsuff= shlibsuff=
10878 case $LD in # libtool.m4 will add one of these switches to LD
10879 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10880 libsuff= shlibsuff= libmagic=32-bit;;
10881 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10882 libsuff=32 shlibsuff=N32 libmagic=N32;;
10883 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10884 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10885 *) libsuff= shlibsuff= libmagic=never-match;;
10886 esac
10888 esac
10889 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10890 shlibpath_overrides_runpath=no
10891 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10892 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10893 hardcode_into_libs=yes
10896 # No shared lib support for Linux oldld, aout, or coff.
10897 linux*oldld* | linux*aout* | linux*coff*)
10898 dynamic_linker=no
10901 # This must be Linux ELF.
10902 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10903 version_type=linux
10904 need_lib_prefix=no
10905 need_version=no
10906 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10907 soname_spec='${libname}${release}${shared_ext}$major'
10908 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10909 shlibpath_var=LD_LIBRARY_PATH
10910 shlibpath_overrides_runpath=no
10912 # Some binutils ld are patched to set DT_RUNPATH
10913 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10914 $as_echo_n "(cached) " >&6
10915 else
10916 lt_cv_shlibpath_overrides_runpath=no
10917 save_LDFLAGS=$LDFLAGS
10918 save_libdir=$libdir
10919 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10920 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10921 if test x$gcc_no_link = xyes; then
10922 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10925 /* end confdefs.h. */
10928 main ()
10932 return 0;
10934 _ACEOF
10935 if ac_fn_c_try_link "$LINENO"; then :
10936 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10937 lt_cv_shlibpath_overrides_runpath=yes
10940 rm -f core conftest.err conftest.$ac_objext \
10941 conftest$ac_exeext conftest.$ac_ext
10942 LDFLAGS=$save_LDFLAGS
10943 libdir=$save_libdir
10947 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10949 # This implies no fast_install, which is unacceptable.
10950 # Some rework will be needed to allow for fast_install
10951 # before this can be enabled.
10952 hardcode_into_libs=yes
10954 # Append ld.so.conf contents to the search path
10955 if test -f /etc/ld.so.conf; then
10956 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' ' '`
10957 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10960 # We used to test for /lib/ld.so.1 and disable shared libraries on
10961 # powerpc, because MkLinux only supported shared libraries with the
10962 # GNU dynamic linker. Since this was broken with cross compilers,
10963 # most powerpc-linux boxes support dynamic linking these days and
10964 # people can always --disable-shared, the test was removed, and we
10965 # assume the GNU/Linux dynamic linker is in use.
10966 dynamic_linker='GNU/Linux ld.so'
10969 netbsd*)
10970 version_type=sunos
10971 need_lib_prefix=no
10972 need_version=no
10973 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10974 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10975 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10976 dynamic_linker='NetBSD (a.out) ld.so'
10977 else
10978 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10979 soname_spec='${libname}${release}${shared_ext}$major'
10980 dynamic_linker='NetBSD ld.elf_so'
10982 shlibpath_var=LD_LIBRARY_PATH
10983 shlibpath_overrides_runpath=yes
10984 hardcode_into_libs=yes
10987 newsos6)
10988 version_type=linux
10989 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10990 shlibpath_var=LD_LIBRARY_PATH
10991 shlibpath_overrides_runpath=yes
10994 *nto* | *qnx*)
10995 version_type=qnx
10996 need_lib_prefix=no
10997 need_version=no
10998 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10999 soname_spec='${libname}${release}${shared_ext}$major'
11000 shlibpath_var=LD_LIBRARY_PATH
11001 shlibpath_overrides_runpath=no
11002 hardcode_into_libs=yes
11003 dynamic_linker='ldqnx.so'
11006 openbsd*)
11007 version_type=sunos
11008 sys_lib_dlsearch_path_spec="/usr/lib"
11009 need_lib_prefix=no
11010 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11011 case $host_os in
11012 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11013 *) need_version=no ;;
11014 esac
11015 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11016 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11017 shlibpath_var=LD_LIBRARY_PATH
11018 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11019 case $host_os in
11020 openbsd2.[89] | openbsd2.[89].*)
11021 shlibpath_overrides_runpath=no
11024 shlibpath_overrides_runpath=yes
11026 esac
11027 else
11028 shlibpath_overrides_runpath=yes
11032 os2*)
11033 libname_spec='$name'
11034 shrext_cmds=".dll"
11035 need_lib_prefix=no
11036 library_names_spec='$libname${shared_ext} $libname.a'
11037 dynamic_linker='OS/2 ld.exe'
11038 shlibpath_var=LIBPATH
11041 osf3* | osf4* | osf5*)
11042 version_type=osf
11043 need_lib_prefix=no
11044 need_version=no
11045 soname_spec='${libname}${release}${shared_ext}$major'
11046 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11047 shlibpath_var=LD_LIBRARY_PATH
11048 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11049 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11052 rdos*)
11053 dynamic_linker=no
11056 solaris*)
11057 version_type=linux
11058 need_lib_prefix=no
11059 need_version=no
11060 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11061 soname_spec='${libname}${release}${shared_ext}$major'
11062 shlibpath_var=LD_LIBRARY_PATH
11063 shlibpath_overrides_runpath=yes
11064 hardcode_into_libs=yes
11065 # ldd complains unless libraries are executable
11066 postinstall_cmds='chmod +x $lib'
11069 sunos4*)
11070 version_type=sunos
11071 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11072 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11073 shlibpath_var=LD_LIBRARY_PATH
11074 shlibpath_overrides_runpath=yes
11075 if test "$with_gnu_ld" = yes; then
11076 need_lib_prefix=no
11078 need_version=yes
11081 sysv4 | sysv4.3*)
11082 version_type=linux
11083 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11084 soname_spec='${libname}${release}${shared_ext}$major'
11085 shlibpath_var=LD_LIBRARY_PATH
11086 case $host_vendor in
11087 sni)
11088 shlibpath_overrides_runpath=no
11089 need_lib_prefix=no
11090 runpath_var=LD_RUN_PATH
11092 siemens)
11093 need_lib_prefix=no
11095 motorola)
11096 need_lib_prefix=no
11097 need_version=no
11098 shlibpath_overrides_runpath=no
11099 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11101 esac
11104 sysv4*MP*)
11105 if test -d /usr/nec ;then
11106 version_type=linux
11107 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11108 soname_spec='$libname${shared_ext}.$major'
11109 shlibpath_var=LD_LIBRARY_PATH
11113 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11114 version_type=freebsd-elf
11115 need_lib_prefix=no
11116 need_version=no
11117 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11118 soname_spec='${libname}${release}${shared_ext}$major'
11119 shlibpath_var=LD_LIBRARY_PATH
11120 shlibpath_overrides_runpath=yes
11121 hardcode_into_libs=yes
11122 if test "$with_gnu_ld" = yes; then
11123 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11124 else
11125 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11126 case $host_os in
11127 sco3.2v5*)
11128 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11130 esac
11132 sys_lib_dlsearch_path_spec='/usr/lib'
11135 tpf*)
11136 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11137 version_type=linux
11138 need_lib_prefix=no
11139 need_version=no
11140 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11141 shlibpath_var=LD_LIBRARY_PATH
11142 shlibpath_overrides_runpath=no
11143 hardcode_into_libs=yes
11146 uts4*)
11147 version_type=linux
11148 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11149 soname_spec='${libname}${release}${shared_ext}$major'
11150 shlibpath_var=LD_LIBRARY_PATH
11154 dynamic_linker=no
11156 esac
11157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11158 $as_echo "$dynamic_linker" >&6; }
11159 test "$dynamic_linker" = no && can_build_shared=no
11161 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11162 if test "$GCC" = yes; then
11163 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11166 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11167 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11169 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11170 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11265 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11266 hardcode_action=
11267 if test -n "$hardcode_libdir_flag_spec" ||
11268 test -n "$runpath_var" ||
11269 test "X$hardcode_automatic" = "Xyes" ; then
11271 # We can hardcode non-existent directories.
11272 if test "$hardcode_direct" != no &&
11273 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11274 # have to relink, otherwise we might link with an installed library
11275 # when we should be linking with a yet-to-be-installed one
11276 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11277 test "$hardcode_minus_L" != no; then
11278 # Linking always hardcodes the temporary library directory.
11279 hardcode_action=relink
11280 else
11281 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11282 hardcode_action=immediate
11284 else
11285 # We cannot hardcode anything, or else we can only hardcode existing
11286 # directories.
11287 hardcode_action=unsupported
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11290 $as_echo "$hardcode_action" >&6; }
11292 if test "$hardcode_action" = relink ||
11293 test "$inherit_rpath" = yes; then
11294 # Fast installation is not supported
11295 enable_fast_install=no
11296 elif test "$shlibpath_overrides_runpath" = yes ||
11297 test "$enable_shared" = no; then
11298 # Fast installation is not necessary
11299 enable_fast_install=needless
11307 if test "x$enable_dlopen" != xyes; then
11308 enable_dlopen=unknown
11309 enable_dlopen_self=unknown
11310 enable_dlopen_self_static=unknown
11311 else
11312 lt_cv_dlopen=no
11313 lt_cv_dlopen_libs=
11315 case $host_os in
11316 beos*)
11317 lt_cv_dlopen="load_add_on"
11318 lt_cv_dlopen_libs=
11319 lt_cv_dlopen_self=yes
11322 mingw* | pw32* | cegcc*)
11323 lt_cv_dlopen="LoadLibrary"
11324 lt_cv_dlopen_libs=
11327 cygwin*)
11328 lt_cv_dlopen="dlopen"
11329 lt_cv_dlopen_libs=
11332 darwin*)
11333 # if libdl is installed we need to link against it
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11335 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11336 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11337 $as_echo_n "(cached) " >&6
11338 else
11339 ac_check_lib_save_LIBS=$LIBS
11340 LIBS="-ldl $LIBS"
11341 if test x$gcc_no_link = xyes; then
11342 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11345 /* end confdefs.h. */
11347 /* Override any GCC internal prototype to avoid an error.
11348 Use char because int might match the return type of a GCC
11349 builtin and then its argument prototype would still apply. */
11350 #ifdef __cplusplus
11351 extern "C"
11352 #endif
11353 char dlopen ();
11355 main ()
11357 return dlopen ();
11359 return 0;
11361 _ACEOF
11362 if ac_fn_c_try_link "$LINENO"; then :
11363 ac_cv_lib_dl_dlopen=yes
11364 else
11365 ac_cv_lib_dl_dlopen=no
11367 rm -f core conftest.err conftest.$ac_objext \
11368 conftest$ac_exeext conftest.$ac_ext
11369 LIBS=$ac_check_lib_save_LIBS
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11372 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11373 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11374 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11375 else
11377 lt_cv_dlopen="dyld"
11378 lt_cv_dlopen_libs=
11379 lt_cv_dlopen_self=yes
11386 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11387 if test "x$ac_cv_func_shl_load" = x""yes; then :
11388 lt_cv_dlopen="shl_load"
11389 else
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11391 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11392 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11393 $as_echo_n "(cached) " >&6
11394 else
11395 ac_check_lib_save_LIBS=$LIBS
11396 LIBS="-ldld $LIBS"
11397 if test x$gcc_no_link = xyes; then
11398 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11401 /* end confdefs.h. */
11403 /* Override any GCC internal prototype to avoid an error.
11404 Use char because int might match the return type of a GCC
11405 builtin and then its argument prototype would still apply. */
11406 #ifdef __cplusplus
11407 extern "C"
11408 #endif
11409 char shl_load ();
11411 main ()
11413 return shl_load ();
11415 return 0;
11417 _ACEOF
11418 if ac_fn_c_try_link "$LINENO"; then :
11419 ac_cv_lib_dld_shl_load=yes
11420 else
11421 ac_cv_lib_dld_shl_load=no
11423 rm -f core conftest.err conftest.$ac_objext \
11424 conftest$ac_exeext conftest.$ac_ext
11425 LIBS=$ac_check_lib_save_LIBS
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11428 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11429 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11430 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11431 else
11432 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11433 if test "x$ac_cv_func_dlopen" = x""yes; then :
11434 lt_cv_dlopen="dlopen"
11435 else
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11437 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11438 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11439 $as_echo_n "(cached) " >&6
11440 else
11441 ac_check_lib_save_LIBS=$LIBS
11442 LIBS="-ldl $LIBS"
11443 if test x$gcc_no_link = xyes; then
11444 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11447 /* end confdefs.h. */
11449 /* Override any GCC internal prototype to avoid an error.
11450 Use char because int might match the return type of a GCC
11451 builtin and then its argument prototype would still apply. */
11452 #ifdef __cplusplus
11453 extern "C"
11454 #endif
11455 char dlopen ();
11457 main ()
11459 return dlopen ();
11461 return 0;
11463 _ACEOF
11464 if ac_fn_c_try_link "$LINENO"; then :
11465 ac_cv_lib_dl_dlopen=yes
11466 else
11467 ac_cv_lib_dl_dlopen=no
11469 rm -f core conftest.err conftest.$ac_objext \
11470 conftest$ac_exeext conftest.$ac_ext
11471 LIBS=$ac_check_lib_save_LIBS
11473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11474 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11475 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11476 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11477 else
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11479 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11480 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11481 $as_echo_n "(cached) " >&6
11482 else
11483 ac_check_lib_save_LIBS=$LIBS
11484 LIBS="-lsvld $LIBS"
11485 if test x$gcc_no_link = xyes; then
11486 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11489 /* end confdefs.h. */
11491 /* Override any GCC internal prototype to avoid an error.
11492 Use char because int might match the return type of a GCC
11493 builtin and then its argument prototype would still apply. */
11494 #ifdef __cplusplus
11495 extern "C"
11496 #endif
11497 char dlopen ();
11499 main ()
11501 return dlopen ();
11503 return 0;
11505 _ACEOF
11506 if ac_fn_c_try_link "$LINENO"; then :
11507 ac_cv_lib_svld_dlopen=yes
11508 else
11509 ac_cv_lib_svld_dlopen=no
11511 rm -f core conftest.err conftest.$ac_objext \
11512 conftest$ac_exeext conftest.$ac_ext
11513 LIBS=$ac_check_lib_save_LIBS
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11516 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11517 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11518 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11519 else
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11521 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11522 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11523 $as_echo_n "(cached) " >&6
11524 else
11525 ac_check_lib_save_LIBS=$LIBS
11526 LIBS="-ldld $LIBS"
11527 if test x$gcc_no_link = xyes; then
11528 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11531 /* end confdefs.h. */
11533 /* Override any GCC internal prototype to avoid an error.
11534 Use char because int might match the return type of a GCC
11535 builtin and then its argument prototype would still apply. */
11536 #ifdef __cplusplus
11537 extern "C"
11538 #endif
11539 char dld_link ();
11541 main ()
11543 return dld_link ();
11545 return 0;
11547 _ACEOF
11548 if ac_fn_c_try_link "$LINENO"; then :
11549 ac_cv_lib_dld_dld_link=yes
11550 else
11551 ac_cv_lib_dld_dld_link=no
11553 rm -f core conftest.err conftest.$ac_objext \
11554 conftest$ac_exeext conftest.$ac_ext
11555 LIBS=$ac_check_lib_save_LIBS
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11558 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11559 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11560 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11579 esac
11581 if test "x$lt_cv_dlopen" != xno; then
11582 enable_dlopen=yes
11583 else
11584 enable_dlopen=no
11587 case $lt_cv_dlopen in
11588 dlopen)
11589 save_CPPFLAGS="$CPPFLAGS"
11590 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11592 save_LDFLAGS="$LDFLAGS"
11593 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11595 save_LIBS="$LIBS"
11596 LIBS="$lt_cv_dlopen_libs $LIBS"
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11599 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11600 if test "${lt_cv_dlopen_self+set}" = set; then :
11601 $as_echo_n "(cached) " >&6
11602 else
11603 if test "$cross_compiling" = yes; then :
11604 lt_cv_dlopen_self=cross
11605 else
11606 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11607 lt_status=$lt_dlunknown
11608 cat > conftest.$ac_ext <<_LT_EOF
11609 #line 11609 "configure"
11610 #include "confdefs.h"
11612 #if HAVE_DLFCN_H
11613 #include <dlfcn.h>
11614 #endif
11616 #include <stdio.h>
11618 #ifdef RTLD_GLOBAL
11619 # define LT_DLGLOBAL RTLD_GLOBAL
11620 #else
11621 # ifdef DL_GLOBAL
11622 # define LT_DLGLOBAL DL_GLOBAL
11623 # else
11624 # define LT_DLGLOBAL 0
11625 # endif
11626 #endif
11628 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11629 find out it does not work in some platform. */
11630 #ifndef LT_DLLAZY_OR_NOW
11631 # ifdef RTLD_LAZY
11632 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11633 # else
11634 # ifdef DL_LAZY
11635 # define LT_DLLAZY_OR_NOW DL_LAZY
11636 # else
11637 # ifdef RTLD_NOW
11638 # define LT_DLLAZY_OR_NOW RTLD_NOW
11639 # else
11640 # ifdef DL_NOW
11641 # define LT_DLLAZY_OR_NOW DL_NOW
11642 # else
11643 # define LT_DLLAZY_OR_NOW 0
11644 # endif
11645 # endif
11646 # endif
11647 # endif
11648 #endif
11650 /* When -fvisbility=hidden is used, assume the code has been annotated
11651 correspondingly for the symbols needed. */
11652 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11653 void fnord () __attribute__((visibility("default")));
11654 #endif
11656 void fnord () { int i=42; }
11657 int main ()
11659 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11660 int status = $lt_dlunknown;
11662 if (self)
11664 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11665 else
11667 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11668 else puts (dlerror ());
11670 /* dlclose (self); */
11672 else
11673 puts (dlerror ());
11675 return status;
11677 _LT_EOF
11678 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11679 (eval $ac_link) 2>&5
11680 ac_status=$?
11681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11682 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11683 (./conftest; exit; ) >&5 2>/dev/null
11684 lt_status=$?
11685 case x$lt_status in
11686 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11687 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11688 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11689 esac
11690 else :
11691 # compilation failed
11692 lt_cv_dlopen_self=no
11695 rm -fr conftest*
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11700 $as_echo "$lt_cv_dlopen_self" >&6; }
11702 if test "x$lt_cv_dlopen_self" = xyes; then
11703 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11705 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11706 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11707 $as_echo_n "(cached) " >&6
11708 else
11709 if test "$cross_compiling" = yes; then :
11710 lt_cv_dlopen_self_static=cross
11711 else
11712 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11713 lt_status=$lt_dlunknown
11714 cat > conftest.$ac_ext <<_LT_EOF
11715 #line 11715 "configure"
11716 #include "confdefs.h"
11718 #if HAVE_DLFCN_H
11719 #include <dlfcn.h>
11720 #endif
11722 #include <stdio.h>
11724 #ifdef RTLD_GLOBAL
11725 # define LT_DLGLOBAL RTLD_GLOBAL
11726 #else
11727 # ifdef DL_GLOBAL
11728 # define LT_DLGLOBAL DL_GLOBAL
11729 # else
11730 # define LT_DLGLOBAL 0
11731 # endif
11732 #endif
11734 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11735 find out it does not work in some platform. */
11736 #ifndef LT_DLLAZY_OR_NOW
11737 # ifdef RTLD_LAZY
11738 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11739 # else
11740 # ifdef DL_LAZY
11741 # define LT_DLLAZY_OR_NOW DL_LAZY
11742 # else
11743 # ifdef RTLD_NOW
11744 # define LT_DLLAZY_OR_NOW RTLD_NOW
11745 # else
11746 # ifdef DL_NOW
11747 # define LT_DLLAZY_OR_NOW DL_NOW
11748 # else
11749 # define LT_DLLAZY_OR_NOW 0
11750 # endif
11751 # endif
11752 # endif
11753 # endif
11754 #endif
11756 /* When -fvisbility=hidden is used, assume the code has been annotated
11757 correspondingly for the symbols needed. */
11758 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11759 void fnord () __attribute__((visibility("default")));
11760 #endif
11762 void fnord () { int i=42; }
11763 int main ()
11765 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11766 int status = $lt_dlunknown;
11768 if (self)
11770 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11771 else
11773 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11774 else puts (dlerror ());
11776 /* dlclose (self); */
11778 else
11779 puts (dlerror ());
11781 return status;
11783 _LT_EOF
11784 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11785 (eval $ac_link) 2>&5
11786 ac_status=$?
11787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11788 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11789 (./conftest; exit; ) >&5 2>/dev/null
11790 lt_status=$?
11791 case x$lt_status in
11792 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11793 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11794 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11795 esac
11796 else :
11797 # compilation failed
11798 lt_cv_dlopen_self_static=no
11801 rm -fr conftest*
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11806 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11809 CPPFLAGS="$save_CPPFLAGS"
11810 LDFLAGS="$save_LDFLAGS"
11811 LIBS="$save_LIBS"
11813 esac
11815 case $lt_cv_dlopen_self in
11816 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11817 *) enable_dlopen_self=unknown ;;
11818 esac
11820 case $lt_cv_dlopen_self_static in
11821 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11822 *) enable_dlopen_self_static=unknown ;;
11823 esac
11842 striplib=
11843 old_striplib=
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11845 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11846 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11847 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11848 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11850 $as_echo "yes" >&6; }
11851 else
11852 # FIXME - insert some real tests, host_os isn't really good enough
11853 case $host_os in
11854 darwin*)
11855 if test -n "$STRIP" ; then
11856 striplib="$STRIP -x"
11857 old_striplib="$STRIP -S"
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11859 $as_echo "yes" >&6; }
11860 else
11861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11862 $as_echo "no" >&6; }
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11867 $as_echo "no" >&6; }
11869 esac
11883 # Report which library types will actually be built
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11885 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11887 $as_echo "$can_build_shared" >&6; }
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11890 $as_echo_n "checking whether to build shared libraries... " >&6; }
11891 test "$can_build_shared" = "no" && enable_shared=no
11893 # On AIX, shared libraries and static libraries use the same namespace, and
11894 # are all built from PIC.
11895 case $host_os in
11896 aix3*)
11897 test "$enable_shared" = yes && enable_static=no
11898 if test -n "$RANLIB"; then
11899 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11900 postinstall_cmds='$RANLIB $lib'
11904 aix[4-9]*)
11905 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11906 test "$enable_shared" = yes && enable_static=no
11909 esac
11910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11911 $as_echo "$enable_shared" >&6; }
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11914 $as_echo_n "checking whether to build static libraries... " >&6; }
11915 # Make sure either enable_shared or enable_static is yes.
11916 test "$enable_shared" = yes || enable_static=yes
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11918 $as_echo "$enable_static" >&6; }
11924 ac_ext=c
11925 ac_cpp='$CPP $CPPFLAGS'
11926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11930 CC="$lt_save_CC"
11932 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11933 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11934 (test "X$CXX" != "Xg++"))) ; then
11935 ac_ext=cpp
11936 ac_cpp='$CXXCPP $CPPFLAGS'
11937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11941 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11942 if test -z "$CXXCPP"; then
11943 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11944 $as_echo_n "(cached) " >&6
11945 else
11946 # Double quotes because CXXCPP needs to be expanded
11947 for CXXCPP in "$CXX -E" "/lib/cpp"
11949 ac_preproc_ok=false
11950 for ac_cxx_preproc_warn_flag in '' yes
11952 # Use a header file that comes with gcc, so configuring glibc
11953 # with a fresh cross-compiler works.
11954 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11955 # <limits.h> exists even on freestanding compilers.
11956 # On the NeXT, cc -E runs the code through the compiler's parser,
11957 # not just through cpp. "Syntax error" is here to catch this case.
11958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11959 /* end confdefs.h. */
11960 #ifdef __STDC__
11961 # include <limits.h>
11962 #else
11963 # include <assert.h>
11964 #endif
11965 Syntax error
11966 _ACEOF
11967 if ac_fn_cxx_try_cpp "$LINENO"; then :
11969 else
11970 # Broken: fails on valid input.
11971 continue
11973 rm -f conftest.err conftest.$ac_ext
11975 # OK, works on sane cases. Now check whether nonexistent headers
11976 # can be detected and how.
11977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11978 /* end confdefs.h. */
11979 #include <ac_nonexistent.h>
11980 _ACEOF
11981 if ac_fn_cxx_try_cpp "$LINENO"; then :
11982 # Broken: success on invalid input.
11983 continue
11984 else
11985 # Passes both tests.
11986 ac_preproc_ok=:
11987 break
11989 rm -f conftest.err conftest.$ac_ext
11991 done
11992 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11993 rm -f conftest.err conftest.$ac_ext
11994 if $ac_preproc_ok; then :
11995 break
11998 done
11999 ac_cv_prog_CXXCPP=$CXXCPP
12002 CXXCPP=$ac_cv_prog_CXXCPP
12003 else
12004 ac_cv_prog_CXXCPP=$CXXCPP
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12007 $as_echo "$CXXCPP" >&6; }
12008 ac_preproc_ok=false
12009 for ac_cxx_preproc_warn_flag in '' yes
12011 # Use a header file that comes with gcc, so configuring glibc
12012 # with a fresh cross-compiler works.
12013 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12014 # <limits.h> exists even on freestanding compilers.
12015 # On the NeXT, cc -E runs the code through the compiler's parser,
12016 # not just through cpp. "Syntax error" is here to catch this case.
12017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12018 /* end confdefs.h. */
12019 #ifdef __STDC__
12020 # include <limits.h>
12021 #else
12022 # include <assert.h>
12023 #endif
12024 Syntax error
12025 _ACEOF
12026 if ac_fn_cxx_try_cpp "$LINENO"; then :
12028 else
12029 # Broken: fails on valid input.
12030 continue
12032 rm -f conftest.err conftest.$ac_ext
12034 # OK, works on sane cases. Now check whether nonexistent headers
12035 # can be detected and how.
12036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12037 /* end confdefs.h. */
12038 #include <ac_nonexistent.h>
12039 _ACEOF
12040 if ac_fn_cxx_try_cpp "$LINENO"; then :
12041 # Broken: success on invalid input.
12042 continue
12043 else
12044 # Passes both tests.
12045 ac_preproc_ok=:
12046 break
12048 rm -f conftest.err conftest.$ac_ext
12050 done
12051 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12052 rm -f conftest.err conftest.$ac_ext
12053 if $ac_preproc_ok; then :
12055 else
12056 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12057 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12058 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
12059 See \`config.log' for more details." "$LINENO" 5; }
12062 ac_ext=c
12063 ac_cpp='$CPP $CPPFLAGS'
12064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12068 else
12069 _lt_caught_CXX_error=yes
12072 ac_ext=cpp
12073 ac_cpp='$CXXCPP $CPPFLAGS'
12074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12078 archive_cmds_need_lc_CXX=no
12079 allow_undefined_flag_CXX=
12080 always_export_symbols_CXX=no
12081 archive_expsym_cmds_CXX=
12082 compiler_needs_object_CXX=no
12083 export_dynamic_flag_spec_CXX=
12084 hardcode_direct_CXX=no
12085 hardcode_direct_absolute_CXX=no
12086 hardcode_libdir_flag_spec_CXX=
12087 hardcode_libdir_flag_spec_ld_CXX=
12088 hardcode_libdir_separator_CXX=
12089 hardcode_minus_L_CXX=no
12090 hardcode_shlibpath_var_CXX=unsupported
12091 hardcode_automatic_CXX=no
12092 inherit_rpath_CXX=no
12093 module_cmds_CXX=
12094 module_expsym_cmds_CXX=
12095 link_all_deplibs_CXX=unknown
12096 old_archive_cmds_CXX=$old_archive_cmds
12097 reload_flag_CXX=$reload_flag
12098 reload_cmds_CXX=$reload_cmds
12099 no_undefined_flag_CXX=
12100 whole_archive_flag_spec_CXX=
12101 enable_shared_with_static_runtimes_CXX=no
12103 # Source file extension for C++ test sources.
12104 ac_ext=cpp
12106 # Object file extension for compiled C++ test sources.
12107 objext=o
12108 objext_CXX=$objext
12110 # No sense in running all these tests if we already determined that
12111 # the CXX compiler isn't working. Some variables (like enable_shared)
12112 # are currently assumed to apply to all compilers on this platform,
12113 # and will be corrupted by setting them based on a non-working compiler.
12114 if test "$_lt_caught_CXX_error" != yes; then
12115 # Code to be used in simple compile tests
12116 lt_simple_compile_test_code="int some_variable = 0;"
12118 # Code to be used in simple link tests
12119 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12121 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12128 # If no C compiler was specified, use CC.
12129 LTCC=${LTCC-"$CC"}
12131 # If no C compiler flags were specified, use CFLAGS.
12132 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12134 # Allow CC to be a program name with arguments.
12135 compiler=$CC
12138 # save warnings/boilerplate of simple test code
12139 ac_outfile=conftest.$ac_objext
12140 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12141 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12142 _lt_compiler_boilerplate=`cat conftest.err`
12143 $RM conftest*
12145 ac_outfile=conftest.$ac_objext
12146 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12147 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12148 _lt_linker_boilerplate=`cat conftest.err`
12149 $RM -r conftest*
12152 # Allow CC to be a program name with arguments.
12153 lt_save_CC=$CC
12154 lt_save_LD=$LD
12155 lt_save_GCC=$GCC
12156 GCC=$GXX
12157 lt_save_with_gnu_ld=$with_gnu_ld
12158 lt_save_path_LD=$lt_cv_path_LD
12159 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12160 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12161 else
12162 $as_unset lt_cv_prog_gnu_ld
12164 if test -n "${lt_cv_path_LDCXX+set}"; then
12165 lt_cv_path_LD=$lt_cv_path_LDCXX
12166 else
12167 $as_unset lt_cv_path_LD
12169 test -z "${LDCXX+set}" || LD=$LDCXX
12170 CC=${CXX-"c++"}
12171 compiler=$CC
12172 compiler_CXX=$CC
12173 for cc_temp in $compiler""; do
12174 case $cc_temp in
12175 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12176 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12177 \-*) ;;
12178 *) break;;
12179 esac
12180 done
12181 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12184 if test -n "$compiler"; then
12185 # We don't want -fno-exception when compiling C++ code, so set the
12186 # no_builtin_flag separately
12187 if test "$GXX" = yes; then
12188 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12189 else
12190 lt_prog_compiler_no_builtin_flag_CXX=
12193 if test "$GXX" = yes; then
12194 # Set up default GNU C++ configuration
12198 # Check whether --with-gnu-ld was given.
12199 if test "${with_gnu_ld+set}" = set; then :
12200 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12201 else
12202 with_gnu_ld=no
12205 ac_prog=ld
12206 if test "$GCC" = yes; then
12207 # Check if gcc -print-prog-name=ld gives a path.
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12209 $as_echo_n "checking for ld used by $CC... " >&6; }
12210 case $host in
12211 *-*-mingw*)
12212 # gcc leaves a trailing carriage return which upsets mingw
12213 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12215 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12216 esac
12217 case $ac_prog in
12218 # Accept absolute paths.
12219 [\\/]* | ?:[\\/]*)
12220 re_direlt='/[^/][^/]*/\.\./'
12221 # Canonicalize the pathname of ld
12222 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12223 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12224 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12225 done
12226 test -z "$LD" && LD="$ac_prog"
12229 # If it fails, then pretend we aren't using GCC.
12230 ac_prog=ld
12233 # If it is relative, then search for the first ld in PATH.
12234 with_gnu_ld=unknown
12236 esac
12237 elif test "$with_gnu_ld" = yes; then
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12239 $as_echo_n "checking for GNU ld... " >&6; }
12240 else
12241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12242 $as_echo_n "checking for non-GNU ld... " >&6; }
12244 if test "${lt_cv_path_LD+set}" = set; then :
12245 $as_echo_n "(cached) " >&6
12246 else
12247 if test -z "$LD"; then
12248 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12249 for ac_dir in $PATH; do
12250 IFS="$lt_save_ifs"
12251 test -z "$ac_dir" && ac_dir=.
12252 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12253 lt_cv_path_LD="$ac_dir/$ac_prog"
12254 # Check to see if the program is GNU ld. I'd rather use --version,
12255 # but apparently some variants of GNU ld only accept -v.
12256 # Break only if it was the GNU/non-GNU ld that we prefer.
12257 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12258 *GNU* | *'with BFD'*)
12259 test "$with_gnu_ld" != no && break
12262 test "$with_gnu_ld" != yes && break
12264 esac
12266 done
12267 IFS="$lt_save_ifs"
12268 else
12269 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12273 LD="$lt_cv_path_LD"
12274 if test -n "$LD"; then
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12276 $as_echo "$LD" >&6; }
12277 else
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12279 $as_echo "no" >&6; }
12281 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12283 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12284 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12285 $as_echo_n "(cached) " >&6
12286 else
12287 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12288 case `$LD -v 2>&1 </dev/null` in
12289 *GNU* | *'with BFD'*)
12290 lt_cv_prog_gnu_ld=yes
12293 lt_cv_prog_gnu_ld=no
12295 esac
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12298 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12299 with_gnu_ld=$lt_cv_prog_gnu_ld
12307 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12308 # archiving commands below assume that GNU ld is being used.
12309 if test "$with_gnu_ld" = yes; then
12310 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12311 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12313 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12314 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12316 # If archive_cmds runs LD, not CC, wlarc should be empty
12317 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12318 # investigate it a little bit more. (MM)
12319 wlarc='${wl}'
12321 # ancient GNU ld didn't support --whole-archive et. al.
12322 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12323 $GREP 'no-whole-archive' > /dev/null; then
12324 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12325 else
12326 whole_archive_flag_spec_CXX=
12328 else
12329 with_gnu_ld=no
12330 wlarc=
12332 # A generic and very simple default shared library creation
12333 # command for GNU C++ for the case where it uses the native
12334 # linker, instead of GNU ld. If possible, this setting should
12335 # overridden to take advantage of the native linker features on
12336 # the platform it is being used on.
12337 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12340 # Commands to make compiler produce verbose output that lists
12341 # what "hidden" libraries, object files and flags are used when
12342 # linking a shared library.
12343 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12345 else
12346 GXX=no
12347 with_gnu_ld=no
12348 wlarc=
12351 # PORTME: fill in a description of your system's C++ link characteristics
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12353 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12354 ld_shlibs_CXX=yes
12355 case $host_os in
12356 aix3*)
12357 # FIXME: insert proper C++ library support
12358 ld_shlibs_CXX=no
12360 aix[4-9]*)
12361 if test "$host_cpu" = ia64; then
12362 # On IA64, the linker does run time linking by default, so we don't
12363 # have to do anything special.
12364 aix_use_runtimelinking=no
12365 exp_sym_flag='-Bexport'
12366 no_entry_flag=""
12367 else
12368 aix_use_runtimelinking=no
12370 # Test if we are trying to use run time linking or normal
12371 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12372 # need to do runtime linking.
12373 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12374 for ld_flag in $LDFLAGS; do
12375 case $ld_flag in
12376 *-brtl*)
12377 aix_use_runtimelinking=yes
12378 break
12380 esac
12381 done
12383 esac
12385 exp_sym_flag='-bexport'
12386 no_entry_flag='-bnoentry'
12389 # When large executables or shared objects are built, AIX ld can
12390 # have problems creating the table of contents. If linking a library
12391 # or program results in "error TOC overflow" add -mminimal-toc to
12392 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12393 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12395 archive_cmds_CXX=''
12396 hardcode_direct_CXX=yes
12397 hardcode_direct_absolute_CXX=yes
12398 hardcode_libdir_separator_CXX=':'
12399 link_all_deplibs_CXX=yes
12400 file_list_spec_CXX='${wl}-f,'
12402 if test "$GXX" = yes; then
12403 case $host_os in aix4.[012]|aix4.[012].*)
12404 # We only want to do this on AIX 4.2 and lower, the check
12405 # below for broken collect2 doesn't work under 4.3+
12406 collect2name=`${CC} -print-prog-name=collect2`
12407 if test -f "$collect2name" &&
12408 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12409 then
12410 # We have reworked collect2
12412 else
12413 # We have old collect2
12414 hardcode_direct_CXX=unsupported
12415 # It fails to find uninstalled libraries when the uninstalled
12416 # path is not listed in the libpath. Setting hardcode_minus_L
12417 # to unsupported forces relinking
12418 hardcode_minus_L_CXX=yes
12419 hardcode_libdir_flag_spec_CXX='-L$libdir'
12420 hardcode_libdir_separator_CXX=
12422 esac
12423 shared_flag='-shared'
12424 if test "$aix_use_runtimelinking" = yes; then
12425 shared_flag="$shared_flag "'${wl}-G'
12427 else
12428 # not using gcc
12429 if test "$host_cpu" = ia64; then
12430 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12431 # chokes on -Wl,-G. The following line is correct:
12432 shared_flag='-G'
12433 else
12434 if test "$aix_use_runtimelinking" = yes; then
12435 shared_flag='${wl}-G'
12436 else
12437 shared_flag='${wl}-bM:SRE'
12442 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12443 # It seems that -bexpall does not export symbols beginning with
12444 # underscore (_), so it is better to generate a list of symbols to
12445 # export.
12446 always_export_symbols_CXX=yes
12447 if test "$aix_use_runtimelinking" = yes; then
12448 # Warning - without using the other runtime loading flags (-brtl),
12449 # -berok will link without error, but may produce a broken library.
12450 allow_undefined_flag_CXX='-berok'
12451 # Determine the default libpath from the value encoded in an empty
12452 # executable.
12453 if test x$gcc_no_link = xyes; then
12454 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12457 /* end confdefs.h. */
12460 main ()
12464 return 0;
12466 _ACEOF
12467 if ac_fn_cxx_try_link "$LINENO"; then :
12469 lt_aix_libpath_sed='
12470 /Import File Strings/,/^$/ {
12471 /^0/ {
12472 s/^0 *\(.*\)$/\1/
12476 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12477 # Check for a 64-bit object if we didn't find anything.
12478 if test -z "$aix_libpath"; then
12479 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12482 rm -f core conftest.err conftest.$ac_objext \
12483 conftest$ac_exeext conftest.$ac_ext
12484 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12486 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12488 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"
12489 else
12490 if test "$host_cpu" = ia64; then
12491 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12492 allow_undefined_flag_CXX="-z nodefs"
12493 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"
12494 else
12495 # Determine the default libpath from the value encoded in an
12496 # empty executable.
12497 if test x$gcc_no_link = xyes; then
12498 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12501 /* end confdefs.h. */
12504 main ()
12508 return 0;
12510 _ACEOF
12511 if ac_fn_cxx_try_link "$LINENO"; then :
12513 lt_aix_libpath_sed='
12514 /Import File Strings/,/^$/ {
12515 /^0/ {
12516 s/^0 *\(.*\)$/\1/
12520 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12521 # Check for a 64-bit object if we didn't find anything.
12522 if test -z "$aix_libpath"; then
12523 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12526 rm -f core conftest.err conftest.$ac_objext \
12527 conftest$ac_exeext conftest.$ac_ext
12528 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12530 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12531 # Warning - without using the other run time loading flags,
12532 # -berok will link without error, but may produce a broken library.
12533 no_undefined_flag_CXX=' ${wl}-bernotok'
12534 allow_undefined_flag_CXX=' ${wl}-berok'
12535 if test "$with_gnu_ld" = yes; then
12536 # We only use this code for GNU lds that support --whole-archive.
12537 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12538 else
12539 # Exported symbols can be pulled into shared objects from archives
12540 whole_archive_flag_spec_CXX='$convenience'
12542 archive_cmds_need_lc_CXX=yes
12543 # This is similar to how AIX traditionally builds its shared
12544 # libraries.
12545 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'
12550 beos*)
12551 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12552 allow_undefined_flag_CXX=unsupported
12553 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12554 # support --undefined. This deserves some investigation. FIXME
12555 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12556 else
12557 ld_shlibs_CXX=no
12561 chorus*)
12562 case $cc_basename in
12564 # FIXME: insert proper C++ library support
12565 ld_shlibs_CXX=no
12567 esac
12570 cygwin* | mingw* | pw32* | cegcc*)
12571 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12572 # as there is no search path for DLLs.
12573 hardcode_libdir_flag_spec_CXX='-L$libdir'
12574 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12575 allow_undefined_flag_CXX=unsupported
12576 always_export_symbols_CXX=no
12577 enable_shared_with_static_runtimes_CXX=yes
12579 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12580 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'
12581 # If the export-symbols file already is a .def file (1st line
12582 # is EXPORTS), use it as is; otherwise, prepend...
12583 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12584 cp $export_symbols $output_objdir/$soname.def;
12585 else
12586 echo EXPORTS > $output_objdir/$soname.def;
12587 cat $export_symbols >> $output_objdir/$soname.def;
12589 $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'
12590 else
12591 ld_shlibs_CXX=no
12594 darwin* | rhapsody*)
12597 archive_cmds_need_lc_CXX=no
12598 hardcode_direct_CXX=no
12599 hardcode_automatic_CXX=yes
12600 hardcode_shlibpath_var_CXX=unsupported
12601 if test "$lt_cv_ld_force_load" = "yes"; then
12602 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\"`'
12603 else
12604 whole_archive_flag_spec_CXX=''
12606 link_all_deplibs_CXX=yes
12607 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12608 case $cc_basename in
12609 ifort*) _lt_dar_can_shared=yes ;;
12610 *) _lt_dar_can_shared=$GCC ;;
12611 esac
12612 if test "$_lt_dar_can_shared" = "yes"; then
12613 output_verbose_link_cmd=func_echo_all
12614 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}"
12615 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12616 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}"
12617 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}"
12618 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12619 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}"
12620 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}"
12623 else
12624 ld_shlibs_CXX=no
12629 dgux*)
12630 case $cc_basename in
12631 ec++*)
12632 # FIXME: insert proper C++ library support
12633 ld_shlibs_CXX=no
12635 ghcx*)
12636 # Green Hills C++ Compiler
12637 # FIXME: insert proper C++ library support
12638 ld_shlibs_CXX=no
12641 # FIXME: insert proper C++ library support
12642 ld_shlibs_CXX=no
12644 esac
12647 freebsd2.*)
12648 # C++ shared libraries reported to be fairly broken before
12649 # switch to ELF
12650 ld_shlibs_CXX=no
12653 freebsd-elf*)
12654 archive_cmds_need_lc_CXX=no
12657 freebsd* | dragonfly*)
12658 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12659 # conventions
12660 ld_shlibs_CXX=yes
12663 gnu*)
12666 haiku*)
12667 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12668 link_all_deplibs_CXX=yes
12671 hpux9*)
12672 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12673 hardcode_libdir_separator_CXX=:
12674 export_dynamic_flag_spec_CXX='${wl}-E'
12675 hardcode_direct_CXX=yes
12676 hardcode_minus_L_CXX=yes # Not in the search PATH,
12677 # but as the default
12678 # location of the library.
12680 case $cc_basename in
12681 CC*)
12682 # FIXME: insert proper C++ library support
12683 ld_shlibs_CXX=no
12685 aCC*)
12686 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'
12687 # Commands to make compiler produce verbose output that lists
12688 # what "hidden" libraries, object files and flags are used when
12689 # linking a shared library.
12691 # There doesn't appear to be a way to prevent this compiler from
12692 # explicitly linking system object files so we need to strip them
12693 # from the output so that they don't get included in the library
12694 # dependencies.
12695 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"'
12698 if test "$GXX" = yes; then
12699 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'
12700 else
12701 # FIXME: insert proper C++ library support
12702 ld_shlibs_CXX=no
12705 esac
12708 hpux10*|hpux11*)
12709 if test $with_gnu_ld = no; then
12710 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12711 hardcode_libdir_separator_CXX=:
12713 case $host_cpu in
12714 hppa*64*|ia64*)
12717 export_dynamic_flag_spec_CXX='${wl}-E'
12719 esac
12721 case $host_cpu in
12722 hppa*64*|ia64*)
12723 hardcode_direct_CXX=no
12724 hardcode_shlibpath_var_CXX=no
12727 hardcode_direct_CXX=yes
12728 hardcode_direct_absolute_CXX=yes
12729 hardcode_minus_L_CXX=yes # Not in the search PATH,
12730 # but as the default
12731 # location of the library.
12733 esac
12735 case $cc_basename in
12736 CC*)
12737 # FIXME: insert proper C++ library support
12738 ld_shlibs_CXX=no
12740 aCC*)
12741 case $host_cpu in
12742 hppa*64*)
12743 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12745 ia64*)
12746 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12749 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12751 esac
12752 # Commands to make compiler produce verbose output that lists
12753 # what "hidden" libraries, object files and flags are used when
12754 # linking a shared library.
12756 # There doesn't appear to be a way to prevent this compiler from
12757 # explicitly linking system object files so we need to strip them
12758 # from the output so that they don't get included in the library
12759 # dependencies.
12760 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"'
12763 if test "$GXX" = yes; then
12764 if test $with_gnu_ld = no; then
12765 case $host_cpu in
12766 hppa*64*)
12767 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12769 ia64*)
12770 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12773 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12775 esac
12777 else
12778 # FIXME: insert proper C++ library support
12779 ld_shlibs_CXX=no
12782 esac
12785 interix[3-9]*)
12786 hardcode_direct_CXX=no
12787 hardcode_shlibpath_var_CXX=no
12788 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12789 export_dynamic_flag_spec_CXX='${wl}-E'
12790 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12791 # Instead, shared libraries are loaded at an image base (0x10000000 by
12792 # default) and relocated if they conflict, which is a slow very memory
12793 # consuming and fragmenting process. To avoid this, we pick a random,
12794 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12795 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12796 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'
12797 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12799 irix5* | irix6*)
12800 case $cc_basename in
12801 CC*)
12802 # SGI C++
12803 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12805 # Archives containing C++ object files must be created using
12806 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12807 # necessary to make sure instantiated templates are included
12808 # in the archive.
12809 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12812 if test "$GXX" = yes; then
12813 if test "$with_gnu_ld" = no; then
12814 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'
12815 else
12816 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'
12819 link_all_deplibs_CXX=yes
12821 esac
12822 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12823 hardcode_libdir_separator_CXX=:
12824 inherit_rpath_CXX=yes
12827 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12828 case $cc_basename in
12829 KCC*)
12830 # Kuck and Associates, Inc. (KAI) C++ Compiler
12832 # KCC will only create a shared library if the output file
12833 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12834 # to its proper name (with version) after linking.
12835 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'
12836 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'
12837 # Commands to make compiler produce verbose output that lists
12838 # what "hidden" libraries, object files and flags are used when
12839 # linking a shared library.
12841 # There doesn't appear to be a way to prevent this compiler from
12842 # explicitly linking system object files so we need to strip them
12843 # from the output so that they don't get included in the library
12844 # dependencies.
12845 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12847 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12848 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12850 # Archives containing C++ object files must be created using
12851 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12852 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12854 icpc* | ecpc* )
12855 # Intel C++
12856 with_gnu_ld=yes
12857 # version 8.0 and above of icpc choke on multiply defined symbols
12858 # if we add $predep_objects and $postdep_objects, however 7.1 and
12859 # earlier do not add the objects themselves.
12860 case `$CC -V 2>&1` in
12861 *"Version 7."*)
12862 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12863 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12865 *) # Version 8.0 or newer
12866 tmp_idyn=
12867 case $host_cpu in
12868 ia64*) tmp_idyn=' -i_dynamic';;
12869 esac
12870 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12871 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12873 esac
12874 archive_cmds_need_lc_CXX=no
12875 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12876 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12877 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12879 pgCC* | pgcpp*)
12880 # Portland Group C++ compiler
12881 case `$CC -V` in
12882 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12883 prelink_cmds_CXX='tpldir=Template.dir~
12884 rm -rf $tpldir~
12885 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12886 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12887 old_archive_cmds_CXX='tpldir=Template.dir~
12888 rm -rf $tpldir~
12889 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12890 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12891 $RANLIB $oldlib'
12892 archive_cmds_CXX='tpldir=Template.dir~
12893 rm -rf $tpldir~
12894 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12895 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12896 archive_expsym_cmds_CXX='tpldir=Template.dir~
12897 rm -rf $tpldir~
12898 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12899 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12901 *) # Version 6 and above use weak symbols
12902 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12903 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12905 esac
12907 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12908 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12909 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12911 cxx*)
12912 # Compaq C++
12913 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12914 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12916 runpath_var=LD_RUN_PATH
12917 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12918 hardcode_libdir_separator_CXX=:
12920 # Commands to make compiler produce verbose output that lists
12921 # what "hidden" libraries, object files and flags are used when
12922 # linking a shared library.
12924 # There doesn't appear to be a way to prevent this compiler from
12925 # explicitly linking system object files so we need to strip them
12926 # from the output so that they don't get included in the library
12927 # dependencies.
12928 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
12930 xl* | mpixl* | bgxl*)
12931 # IBM XL 8.0 on PPC, with GNU ld
12932 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12933 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12934 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12935 if test "x$supports_anon_versioning" = xyes; then
12936 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12937 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12938 echo "local: *; };" >> $output_objdir/$libname.ver~
12939 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12943 case `$CC -V 2>&1 | sed 5q` in
12944 *Sun\ C*)
12945 # Sun C++ 5.9
12946 no_undefined_flag_CXX=' -zdefs'
12947 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12948 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'
12949 hardcode_libdir_flag_spec_CXX='-R$libdir'
12950 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'
12951 compiler_needs_object_CXX=yes
12953 # Not sure whether something based on
12954 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12955 # would be better.
12956 output_verbose_link_cmd='func_echo_all'
12958 # Archives containing C++ object files must be created using
12959 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12960 # necessary to make sure instantiated templates are included
12961 # in the archive.
12962 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12964 esac
12966 esac
12969 lynxos*)
12970 # FIXME: insert proper C++ library support
12971 ld_shlibs_CXX=no
12974 m88k*)
12975 # FIXME: insert proper C++ library support
12976 ld_shlibs_CXX=no
12979 mvs*)
12980 case $cc_basename in
12981 cxx*)
12982 # FIXME: insert proper C++ library support
12983 ld_shlibs_CXX=no
12986 # FIXME: insert proper C++ library support
12987 ld_shlibs_CXX=no
12989 esac
12992 netbsd*)
12993 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12994 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12995 wlarc=
12996 hardcode_libdir_flag_spec_CXX='-R$libdir'
12997 hardcode_direct_CXX=yes
12998 hardcode_shlibpath_var_CXX=no
13000 # Workaround some broken pre-1.5 toolchains
13001 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13004 *nto* | *qnx*)
13005 ld_shlibs_CXX=yes
13008 openbsd2*)
13009 # C++ shared libraries are fairly broken
13010 ld_shlibs_CXX=no
13013 openbsd*)
13014 if test -f /usr/libexec/ld.so; then
13015 hardcode_direct_CXX=yes
13016 hardcode_shlibpath_var_CXX=no
13017 hardcode_direct_absolute_CXX=yes
13018 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13019 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13020 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13021 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13022 export_dynamic_flag_spec_CXX='${wl}-E'
13023 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13025 output_verbose_link_cmd=func_echo_all
13026 else
13027 ld_shlibs_CXX=no
13031 osf3* | osf4* | osf5*)
13032 case $cc_basename in
13033 KCC*)
13034 # Kuck and Associates, Inc. (KAI) C++ Compiler
13036 # KCC will only create a shared library if the output file
13037 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13038 # to its proper name (with version) after linking.
13039 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13041 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13042 hardcode_libdir_separator_CXX=:
13044 # Archives containing C++ object files must be created using
13045 # the KAI C++ compiler.
13046 case $host in
13047 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13048 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13049 esac
13051 RCC*)
13052 # Rational C++ 2.4.1
13053 # FIXME: insert proper C++ library support
13054 ld_shlibs_CXX=no
13056 cxx*)
13057 case $host in
13058 osf3*)
13059 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13060 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'
13061 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13064 allow_undefined_flag_CXX=' -expect_unresolved \*'
13065 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'
13066 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13067 echo "-hidden">> $lib.exp~
13068 $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~
13069 $RM $lib.exp'
13070 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13072 esac
13074 hardcode_libdir_separator_CXX=:
13076 # Commands to make compiler produce verbose output that lists
13077 # what "hidden" libraries, object files and flags are used when
13078 # linking a shared library.
13080 # There doesn't appear to be a way to prevent this compiler from
13081 # explicitly linking system object files so we need to strip them
13082 # from the output so that they don't get included in the library
13083 # dependencies.
13084 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"'
13087 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13088 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13089 case $host in
13090 osf3*)
13091 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'
13094 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13096 esac
13098 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13099 hardcode_libdir_separator_CXX=:
13101 # Commands to make compiler produce verbose output that lists
13102 # what "hidden" libraries, object files and flags are used when
13103 # linking a shared library.
13104 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13106 else
13107 # FIXME: insert proper C++ library support
13108 ld_shlibs_CXX=no
13111 esac
13114 psos*)
13115 # FIXME: insert proper C++ library support
13116 ld_shlibs_CXX=no
13119 sunos4*)
13120 case $cc_basename in
13121 CC*)
13122 # Sun C++ 4.x
13123 # FIXME: insert proper C++ library support
13124 ld_shlibs_CXX=no
13126 lcc*)
13127 # Lucid
13128 # FIXME: insert proper C++ library support
13129 ld_shlibs_CXX=no
13132 # FIXME: insert proper C++ library support
13133 ld_shlibs_CXX=no
13135 esac
13138 solaris*)
13139 case $cc_basename in
13140 CC*)
13141 # Sun C++ 4.2, 5.x and Centerline C++
13142 archive_cmds_need_lc_CXX=yes
13143 no_undefined_flag_CXX=' -zdefs'
13144 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13145 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13146 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13148 hardcode_libdir_flag_spec_CXX='-R$libdir'
13149 hardcode_shlibpath_var_CXX=no
13150 case $host_os in
13151 solaris2.[0-5] | solaris2.[0-5].*) ;;
13153 # The compiler driver will combine and reorder linker options,
13154 # but understands `-z linker_flag'.
13155 # Supported since Solaris 2.6 (maybe 2.5.1?)
13156 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13158 esac
13159 link_all_deplibs_CXX=yes
13161 output_verbose_link_cmd='func_echo_all'
13163 # Archives containing C++ object files must be created using
13164 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13165 # necessary to make sure instantiated templates are included
13166 # in the archive.
13167 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13169 gcx*)
13170 # Green Hills C++ Compiler
13171 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13173 # The C++ compiler must be used to create the archive.
13174 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13177 # GNU C++ compiler with Solaris linker
13178 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13179 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13180 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13181 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13182 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13183 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13185 # Commands to make compiler produce verbose output that lists
13186 # what "hidden" libraries, object files and flags are used when
13187 # linking a shared library.
13188 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13189 else
13190 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13191 # platform.
13192 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13193 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13194 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13196 # Commands to make compiler produce verbose output that lists
13197 # what "hidden" libraries, object files and flags are used when
13198 # linking a shared library.
13199 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13202 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13203 case $host_os in
13204 solaris2.[0-5] | solaris2.[0-5].*) ;;
13206 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13208 esac
13211 esac
13214 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13215 no_undefined_flag_CXX='${wl}-z,text'
13216 archive_cmds_need_lc_CXX=no
13217 hardcode_shlibpath_var_CXX=no
13218 runpath_var='LD_RUN_PATH'
13220 case $cc_basename in
13221 CC*)
13222 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13223 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13226 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13227 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13229 esac
13232 sysv5* | sco3.2v5* | sco5v6*)
13233 # Note: We can NOT use -z defs as we might desire, because we do not
13234 # link with -lc, and that would cause any symbols used from libc to
13235 # always be unresolved, which means just about no library would
13236 # ever link correctly. If we're not using GNU ld we use -z text
13237 # though, which does catch some bad symbols but isn't as heavy-handed
13238 # as -z defs.
13239 no_undefined_flag_CXX='${wl}-z,text'
13240 allow_undefined_flag_CXX='${wl}-z,nodefs'
13241 archive_cmds_need_lc_CXX=no
13242 hardcode_shlibpath_var_CXX=no
13243 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13244 hardcode_libdir_separator_CXX=':'
13245 link_all_deplibs_CXX=yes
13246 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13247 runpath_var='LD_RUN_PATH'
13249 case $cc_basename in
13250 CC*)
13251 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13252 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13253 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13254 '"$old_archive_cmds_CXX"
13255 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13256 '"$reload_cmds_CXX"
13259 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13260 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13262 esac
13265 tandem*)
13266 case $cc_basename in
13267 NCC*)
13268 # NonStop-UX NCC 3.20
13269 # FIXME: insert proper C++ library support
13270 ld_shlibs_CXX=no
13273 # FIXME: insert proper C++ library support
13274 ld_shlibs_CXX=no
13276 esac
13279 vxworks*)
13280 # FIXME: insert proper C++ library support
13281 ld_shlibs_CXX=no
13285 # FIXME: insert proper C++ library support
13286 ld_shlibs_CXX=no
13288 esac
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13291 $as_echo "$ld_shlibs_CXX" >&6; }
13292 test "$ld_shlibs_CXX" = no && can_build_shared=no
13294 GCC_CXX="$GXX"
13295 LD_CXX="$LD"
13297 ## CAVEAT EMPTOR:
13298 ## There is no encapsulation within the following macros, do not change
13299 ## the running order or otherwise move them around unless you know exactly
13300 ## what you are doing...
13301 # Dependencies to place before and after the object being linked:
13302 predep_objects_CXX=
13303 postdep_objects_CXX=
13304 predeps_CXX=
13305 postdeps_CXX=
13306 compiler_lib_search_path_CXX=
13308 cat > conftest.$ac_ext <<_LT_EOF
13309 class Foo
13311 public:
13312 Foo (void) { a = 0; }
13313 private:
13314 int a;
13316 _LT_EOF
13318 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13319 (eval $ac_compile) 2>&5
13320 ac_status=$?
13321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13322 test $ac_status = 0; }; then
13323 # Parse the compiler output and extract the necessary
13324 # objects, libraries and library flags.
13326 # Sentinel used to keep track of whether or not we are before
13327 # the conftest object file.
13328 pre_test_object_deps_done=no
13330 for p in `eval "$output_verbose_link_cmd"`; do
13331 case $p in
13333 -L* | -R* | -l*)
13334 # Some compilers place space between "-{L,R}" and the path.
13335 # Remove the space.
13336 if test $p = "-L" ||
13337 test $p = "-R"; then
13338 prev=$p
13339 continue
13340 else
13341 prev=
13344 if test "$pre_test_object_deps_done" = no; then
13345 case $p in
13346 -L* | -R*)
13347 # Internal compiler library paths should come after those
13348 # provided the user. The postdeps already come after the
13349 # user supplied libs so there is no need to process them.
13350 if test -z "$compiler_lib_search_path_CXX"; then
13351 compiler_lib_search_path_CXX="${prev}${p}"
13352 else
13353 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13356 # The "-l" case would never come before the object being
13357 # linked, so don't bother handling this case.
13358 esac
13359 else
13360 if test -z "$postdeps_CXX"; then
13361 postdeps_CXX="${prev}${p}"
13362 else
13363 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13368 *.$objext)
13369 # This assumes that the test object file only shows up
13370 # once in the compiler output.
13371 if test "$p" = "conftest.$objext"; then
13372 pre_test_object_deps_done=yes
13373 continue
13376 if test "$pre_test_object_deps_done" = no; then
13377 if test -z "$predep_objects_CXX"; then
13378 predep_objects_CXX="$p"
13379 else
13380 predep_objects_CXX="$predep_objects_CXX $p"
13382 else
13383 if test -z "$postdep_objects_CXX"; then
13384 postdep_objects_CXX="$p"
13385 else
13386 postdep_objects_CXX="$postdep_objects_CXX $p"
13391 *) ;; # Ignore the rest.
13393 esac
13394 done
13396 # Clean up.
13397 rm -f a.out a.exe
13398 else
13399 echo "libtool.m4: error: problem compiling CXX test program"
13402 $RM -f confest.$objext
13404 # PORTME: override above test on systems where it is broken
13405 case $host_os in
13406 interix[3-9]*)
13407 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13408 # hack all around it, let's just trust "g++" to DTRT.
13409 predep_objects_CXX=
13410 postdep_objects_CXX=
13411 postdeps_CXX=
13414 linux*)
13415 case `$CC -V 2>&1 | sed 5q` in
13416 *Sun\ C*)
13417 # Sun C++ 5.9
13419 # The more standards-conforming stlport4 library is
13420 # incompatible with the Cstd library. Avoid specifying
13421 # it if it's in CXXFLAGS. Ignore libCrun as
13422 # -library=stlport4 depends on it.
13423 case " $CXX $CXXFLAGS " in
13424 *" -library=stlport4 "*)
13425 solaris_use_stlport4=yes
13427 esac
13429 if test "$solaris_use_stlport4" != yes; then
13430 postdeps_CXX='-library=Cstd -library=Crun'
13433 esac
13436 solaris*)
13437 case $cc_basename in
13438 CC*)
13439 # The more standards-conforming stlport4 library is
13440 # incompatible with the Cstd library. Avoid specifying
13441 # it if it's in CXXFLAGS. Ignore libCrun as
13442 # -library=stlport4 depends on it.
13443 case " $CXX $CXXFLAGS " in
13444 *" -library=stlport4 "*)
13445 solaris_use_stlport4=yes
13447 esac
13449 # Adding this requires a known-good setup of shared libraries for
13450 # Sun compiler versions before 5.6, else PIC objects from an old
13451 # archive will be linked into the output, leading to subtle bugs.
13452 if test "$solaris_use_stlport4" != yes; then
13453 postdeps_CXX='-library=Cstd -library=Crun'
13456 esac
13458 esac
13461 case " $postdeps_CXX " in
13462 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13463 esac
13464 compiler_lib_search_dirs_CXX=
13465 if test -n "${compiler_lib_search_path_CXX}"; then
13466 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13499 lt_prog_compiler_wl_CXX=
13500 lt_prog_compiler_pic_CXX=
13501 lt_prog_compiler_static_CXX=
13503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13504 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13506 # C++ specific cases for pic, static, wl, etc.
13507 if test "$GXX" = yes; then
13508 lt_prog_compiler_wl_CXX='-Wl,'
13509 lt_prog_compiler_static_CXX='-static'
13511 case $host_os in
13512 aix*)
13513 # All AIX code is PIC.
13514 if test "$host_cpu" = ia64; then
13515 # AIX 5 now supports IA64 processor
13516 lt_prog_compiler_static_CXX='-Bstatic'
13518 lt_prog_compiler_pic_CXX='-fPIC'
13521 amigaos*)
13522 case $host_cpu in
13523 powerpc)
13524 # see comment about AmigaOS4 .so support
13525 lt_prog_compiler_pic_CXX='-fPIC'
13527 m68k)
13528 # FIXME: we need at least 68020 code to build shared libraries, but
13529 # adding the `-m68020' flag to GCC prevents building anything better,
13530 # like `-m68040'.
13531 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13533 esac
13536 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13537 # PIC is the default for these OSes.
13539 mingw* | cygwin* | os2* | pw32* | cegcc*)
13540 # This hack is so that the source file can tell whether it is being
13541 # built for inclusion in a dll (and should export symbols for example).
13542 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13543 # (--disable-auto-import) libraries
13544 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13546 darwin* | rhapsody*)
13547 # PIC is the default on this platform
13548 # Common symbols not allowed in MH_DYLIB files
13549 lt_prog_compiler_pic_CXX='-fno-common'
13551 *djgpp*)
13552 # DJGPP does not support shared libraries at all
13553 lt_prog_compiler_pic_CXX=
13555 haiku*)
13556 # PIC is the default for Haiku.
13557 # The "-static" flag exists, but is broken.
13558 lt_prog_compiler_static_CXX=
13560 interix[3-9]*)
13561 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13562 # Instead, we relocate shared libraries at runtime.
13564 sysv4*MP*)
13565 if test -d /usr/nec; then
13566 lt_prog_compiler_pic_CXX=-Kconform_pic
13569 hpux*)
13570 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13571 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13572 # sets the default TLS model and affects inlining.
13573 case $host_cpu in
13574 hppa*64*)
13577 lt_prog_compiler_pic_CXX='-fPIC'
13579 esac
13581 *qnx* | *nto*)
13582 # QNX uses GNU C++, but need to define -shared option too, otherwise
13583 # it will coredump.
13584 lt_prog_compiler_pic_CXX='-fPIC -shared'
13587 lt_prog_compiler_pic_CXX='-fPIC'
13589 esac
13590 else
13591 case $host_os in
13592 aix[4-9]*)
13593 # All AIX code is PIC.
13594 if test "$host_cpu" = ia64; then
13595 # AIX 5 now supports IA64 processor
13596 lt_prog_compiler_static_CXX='-Bstatic'
13597 else
13598 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13601 chorus*)
13602 case $cc_basename in
13603 cxch68*)
13604 # Green Hills C++ Compiler
13605 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13607 esac
13609 dgux*)
13610 case $cc_basename in
13611 ec++*)
13612 lt_prog_compiler_pic_CXX='-KPIC'
13614 ghcx*)
13615 # Green Hills C++ Compiler
13616 lt_prog_compiler_pic_CXX='-pic'
13620 esac
13622 freebsd* | dragonfly*)
13623 # FreeBSD uses GNU C++
13625 hpux9* | hpux10* | hpux11*)
13626 case $cc_basename in
13627 CC*)
13628 lt_prog_compiler_wl_CXX='-Wl,'
13629 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13630 if test "$host_cpu" != ia64; then
13631 lt_prog_compiler_pic_CXX='+Z'
13634 aCC*)
13635 lt_prog_compiler_wl_CXX='-Wl,'
13636 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13637 case $host_cpu in
13638 hppa*64*|ia64*)
13639 # +Z the default
13642 lt_prog_compiler_pic_CXX='+Z'
13644 esac
13648 esac
13650 interix*)
13651 # This is c89, which is MS Visual C++ (no shared libs)
13652 # Anyone wants to do a port?
13654 irix5* | irix6* | nonstopux*)
13655 case $cc_basename in
13656 CC*)
13657 lt_prog_compiler_wl_CXX='-Wl,'
13658 lt_prog_compiler_static_CXX='-non_shared'
13659 # CC pic flag -KPIC is the default.
13663 esac
13665 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13666 case $cc_basename in
13667 KCC*)
13668 # KAI C++ Compiler
13669 lt_prog_compiler_wl_CXX='--backend -Wl,'
13670 lt_prog_compiler_pic_CXX='-fPIC'
13672 ecpc* )
13673 # old Intel C++ for x86_64 which still supported -KPIC.
13674 lt_prog_compiler_wl_CXX='-Wl,'
13675 lt_prog_compiler_pic_CXX='-KPIC'
13676 lt_prog_compiler_static_CXX='-static'
13678 icpc* )
13679 # Intel C++, used to be incompatible with GCC.
13680 # ICC 10 doesn't accept -KPIC any more.
13681 lt_prog_compiler_wl_CXX='-Wl,'
13682 lt_prog_compiler_pic_CXX='-fPIC'
13683 lt_prog_compiler_static_CXX='-static'
13685 pgCC* | pgcpp*)
13686 # Portland Group C++ compiler
13687 lt_prog_compiler_wl_CXX='-Wl,'
13688 lt_prog_compiler_pic_CXX='-fpic'
13689 lt_prog_compiler_static_CXX='-Bstatic'
13691 cxx*)
13692 # Compaq C++
13693 # Make sure the PIC flag is empty. It appears that all Alpha
13694 # Linux and Compaq Tru64 Unix objects are PIC.
13695 lt_prog_compiler_pic_CXX=
13696 lt_prog_compiler_static_CXX='-non_shared'
13698 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13699 # IBM XL 8.0, 9.0 on PPC and BlueGene
13700 lt_prog_compiler_wl_CXX='-Wl,'
13701 lt_prog_compiler_pic_CXX='-qpic'
13702 lt_prog_compiler_static_CXX='-qstaticlink'
13705 case `$CC -V 2>&1 | sed 5q` in
13706 *Sun\ C*)
13707 # Sun C++ 5.9
13708 lt_prog_compiler_pic_CXX='-KPIC'
13709 lt_prog_compiler_static_CXX='-Bstatic'
13710 lt_prog_compiler_wl_CXX='-Qoption ld '
13712 esac
13714 esac
13716 lynxos*)
13718 m88k*)
13720 mvs*)
13721 case $cc_basename in
13722 cxx*)
13723 lt_prog_compiler_pic_CXX='-W c,exportall'
13727 esac
13729 netbsd*)
13731 *qnx* | *nto*)
13732 # QNX uses GNU C++, but need to define -shared option too, otherwise
13733 # it will coredump.
13734 lt_prog_compiler_pic_CXX='-fPIC -shared'
13736 osf3* | osf4* | osf5*)
13737 case $cc_basename in
13738 KCC*)
13739 lt_prog_compiler_wl_CXX='--backend -Wl,'
13741 RCC*)
13742 # Rational C++ 2.4.1
13743 lt_prog_compiler_pic_CXX='-pic'
13745 cxx*)
13746 # Digital/Compaq C++
13747 lt_prog_compiler_wl_CXX='-Wl,'
13748 # Make sure the PIC flag is empty. It appears that all Alpha
13749 # Linux and Compaq Tru64 Unix objects are PIC.
13750 lt_prog_compiler_pic_CXX=
13751 lt_prog_compiler_static_CXX='-non_shared'
13755 esac
13757 psos*)
13759 solaris*)
13760 case $cc_basename in
13761 CC*)
13762 # Sun C++ 4.2, 5.x and Centerline C++
13763 lt_prog_compiler_pic_CXX='-KPIC'
13764 lt_prog_compiler_static_CXX='-Bstatic'
13765 lt_prog_compiler_wl_CXX='-Qoption ld '
13767 gcx*)
13768 # Green Hills C++ Compiler
13769 lt_prog_compiler_pic_CXX='-PIC'
13773 esac
13775 sunos4*)
13776 case $cc_basename in
13777 CC*)
13778 # Sun C++ 4.x
13779 lt_prog_compiler_pic_CXX='-pic'
13780 lt_prog_compiler_static_CXX='-Bstatic'
13782 lcc*)
13783 # Lucid
13784 lt_prog_compiler_pic_CXX='-pic'
13788 esac
13790 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13791 case $cc_basename in
13792 CC*)
13793 lt_prog_compiler_wl_CXX='-Wl,'
13794 lt_prog_compiler_pic_CXX='-KPIC'
13795 lt_prog_compiler_static_CXX='-Bstatic'
13797 esac
13799 tandem*)
13800 case $cc_basename in
13801 NCC*)
13802 # NonStop-UX NCC 3.20
13803 lt_prog_compiler_pic_CXX='-KPIC'
13807 esac
13809 vxworks*)
13812 lt_prog_compiler_can_build_shared_CXX=no
13814 esac
13817 case $host_os in
13818 # For platforms which do not support PIC, -DPIC is meaningless:
13819 *djgpp*)
13820 lt_prog_compiler_pic_CXX=
13823 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13825 esac
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13827 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13832 # Check to make sure the PIC flag actually works.
13834 if test -n "$lt_prog_compiler_pic_CXX"; then
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13836 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13837 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13838 $as_echo_n "(cached) " >&6
13839 else
13840 lt_cv_prog_compiler_pic_works_CXX=no
13841 ac_outfile=conftest.$ac_objext
13842 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13843 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13844 # Insert the option either (1) after the last *FLAGS variable, or
13845 # (2) before a word containing "conftest.", or (3) at the end.
13846 # Note that $ac_compile itself does not contain backslashes and begins
13847 # with a dollar sign (not a hyphen), so the echo should work correctly.
13848 # The option is referenced via a variable to avoid confusing sed.
13849 lt_compile=`echo "$ac_compile" | $SED \
13850 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13851 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13852 -e 's:$: $lt_compiler_flag:'`
13853 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13854 (eval "$lt_compile" 2>conftest.err)
13855 ac_status=$?
13856 cat conftest.err >&5
13857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13858 if (exit $ac_status) && test -s "$ac_outfile"; then
13859 # The compiler can only warn and ignore the option if not recognized
13860 # So say no if there are warnings other than the usual output.
13861 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13862 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13863 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13864 lt_cv_prog_compiler_pic_works_CXX=yes
13867 $RM conftest*
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13871 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13873 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13874 case $lt_prog_compiler_pic_CXX in
13875 "" | " "*) ;;
13876 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13877 esac
13878 else
13879 lt_prog_compiler_pic_CXX=
13880 lt_prog_compiler_can_build_shared_CXX=no
13888 # Check to make sure the static flag actually works.
13890 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13892 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13893 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13894 $as_echo_n "(cached) " >&6
13895 else
13896 lt_cv_prog_compiler_static_works_CXX=no
13897 save_LDFLAGS="$LDFLAGS"
13898 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13899 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13900 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13901 # The linker can only warn and ignore the option if not recognized
13902 # So say no if there are warnings
13903 if test -s conftest.err; then
13904 # Append any errors to the config.log.
13905 cat conftest.err 1>&5
13906 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13907 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13908 if diff conftest.exp conftest.er2 >/dev/null; then
13909 lt_cv_prog_compiler_static_works_CXX=yes
13911 else
13912 lt_cv_prog_compiler_static_works_CXX=yes
13915 $RM -r conftest*
13916 LDFLAGS="$save_LDFLAGS"
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13920 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13922 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13924 else
13925 lt_prog_compiler_static_CXX=
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13932 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13933 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13934 $as_echo_n "(cached) " >&6
13935 else
13936 lt_cv_prog_compiler_c_o_CXX=no
13937 $RM -r conftest 2>/dev/null
13938 mkdir conftest
13939 cd conftest
13940 mkdir out
13941 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13943 lt_compiler_flag="-o out/conftest2.$ac_objext"
13944 # Insert the option either (1) after the last *FLAGS variable, or
13945 # (2) before a word containing "conftest.", or (3) at the end.
13946 # Note that $ac_compile itself does not contain backslashes and begins
13947 # with a dollar sign (not a hyphen), so the echo should work correctly.
13948 lt_compile=`echo "$ac_compile" | $SED \
13949 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13950 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13951 -e 's:$: $lt_compiler_flag:'`
13952 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13953 (eval "$lt_compile" 2>out/conftest.err)
13954 ac_status=$?
13955 cat out/conftest.err >&5
13956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13957 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13958 then
13959 # The compiler can only warn and ignore the option if not recognized
13960 # So say no if there are warnings
13961 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13962 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13963 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13964 lt_cv_prog_compiler_c_o_CXX=yes
13967 chmod u+w . 2>&5
13968 $RM conftest*
13969 # SGI C++ compiler will create directory out/ii_files/ for
13970 # template instantiation
13971 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13972 $RM out/* && rmdir out
13973 cd ..
13974 $RM -r conftest
13975 $RM conftest*
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13979 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13984 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13985 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13986 $as_echo_n "(cached) " >&6
13987 else
13988 lt_cv_prog_compiler_c_o_CXX=no
13989 $RM -r conftest 2>/dev/null
13990 mkdir conftest
13991 cd conftest
13992 mkdir out
13993 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13995 lt_compiler_flag="-o out/conftest2.$ac_objext"
13996 # Insert the option either (1) after the last *FLAGS variable, or
13997 # (2) before a word containing "conftest.", or (3) at the end.
13998 # Note that $ac_compile itself does not contain backslashes and begins
13999 # with a dollar sign (not a hyphen), so the echo should work correctly.
14000 lt_compile=`echo "$ac_compile" | $SED \
14001 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14002 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14003 -e 's:$: $lt_compiler_flag:'`
14004 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14005 (eval "$lt_compile" 2>out/conftest.err)
14006 ac_status=$?
14007 cat out/conftest.err >&5
14008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14009 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14010 then
14011 # The compiler can only warn and ignore the option if not recognized
14012 # So say no if there are warnings
14013 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14014 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14015 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14016 lt_cv_prog_compiler_c_o_CXX=yes
14019 chmod u+w . 2>&5
14020 $RM conftest*
14021 # SGI C++ compiler will create directory out/ii_files/ for
14022 # template instantiation
14023 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14024 $RM out/* && rmdir out
14025 cd ..
14026 $RM -r conftest
14027 $RM conftest*
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14031 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14036 hard_links="nottested"
14037 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14038 # do not overwrite the value of need_locks provided by the user
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14040 $as_echo_n "checking if we can lock with hard links... " >&6; }
14041 hard_links=yes
14042 $RM conftest*
14043 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14044 touch conftest.a
14045 ln conftest.a conftest.b 2>&5 || hard_links=no
14046 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14048 $as_echo "$hard_links" >&6; }
14049 if test "$hard_links" = no; then
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14051 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14052 need_locks=warn
14054 else
14055 need_locks=no
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14061 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14063 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14064 case $host_os in
14065 aix[4-9]*)
14066 # If we're using GNU nm, then we don't want the "-C" option.
14067 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14068 # Also, AIX nm treats weak defined symbols like other global defined
14069 # symbols, whereas GNU nm marks them as "W".
14070 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14071 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'
14072 else
14073 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'
14076 pw32*)
14077 export_symbols_cmds_CXX="$ltdll_cmds"
14079 cygwin* | mingw* | cegcc*)
14080 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'
14083 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14085 esac
14086 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14089 $as_echo "$ld_shlibs_CXX" >&6; }
14090 test "$ld_shlibs_CXX" = no && can_build_shared=no
14092 with_gnu_ld_CXX=$with_gnu_ld
14100 # Do we need to explicitly link libc?
14102 case "x$archive_cmds_need_lc_CXX" in
14103 x|xyes)
14104 # Assume -lc should be added
14105 archive_cmds_need_lc_CXX=yes
14107 if test "$enable_shared" = yes && test "$GCC" = yes; then
14108 case $archive_cmds_CXX in
14109 *'~'*)
14110 # FIXME: we may have to deal with multi-command sequences.
14112 '$CC '*)
14113 # Test whether the compiler implicitly links with -lc since on some
14114 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14115 # to ld, don't add -lc before -lgcc.
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14117 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14118 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14119 $as_echo_n "(cached) " >&6
14120 else
14121 $RM conftest*
14122 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14124 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14125 (eval $ac_compile) 2>&5
14126 ac_status=$?
14127 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14128 test $ac_status = 0; } 2>conftest.err; then
14129 soname=conftest
14130 lib=conftest
14131 libobjs=conftest.$ac_objext
14132 deplibs=
14133 wl=$lt_prog_compiler_wl_CXX
14134 pic_flag=$lt_prog_compiler_pic_CXX
14135 compiler_flags=-v
14136 linker_flags=-v
14137 verstring=
14138 output_objdir=.
14139 libname=conftest
14140 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14141 allow_undefined_flag_CXX=
14142 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14143 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14144 ac_status=$?
14145 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14146 test $ac_status = 0; }
14147 then
14148 lt_cv_archive_cmds_need_lc_CXX=no
14149 else
14150 lt_cv_archive_cmds_need_lc_CXX=yes
14152 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14153 else
14154 cat conftest.err 1>&5
14156 $RM conftest*
14159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14160 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14161 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14163 esac
14166 esac
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14232 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14234 library_names_spec=
14235 libname_spec='lib$name'
14236 soname_spec=
14237 shrext_cmds=".so"
14238 postinstall_cmds=
14239 postuninstall_cmds=
14240 finish_cmds=
14241 finish_eval=
14242 shlibpath_var=
14243 shlibpath_overrides_runpath=unknown
14244 version_type=none
14245 dynamic_linker="$host_os ld.so"
14246 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14247 need_lib_prefix=unknown
14248 hardcode_into_libs=no
14250 # when you set need_version to no, make sure it does not cause -set_version
14251 # flags to be left without arguments
14252 need_version=unknown
14254 case $host_os in
14255 aix3*)
14256 version_type=linux
14257 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14258 shlibpath_var=LIBPATH
14260 # AIX 3 has no versioning support, so we append a major version to the name.
14261 soname_spec='${libname}${release}${shared_ext}$major'
14264 aix[4-9]*)
14265 version_type=linux
14266 need_lib_prefix=no
14267 need_version=no
14268 hardcode_into_libs=yes
14269 if test "$host_cpu" = ia64; then
14270 # AIX 5 supports IA64
14271 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14272 shlibpath_var=LD_LIBRARY_PATH
14273 else
14274 # With GCC up to 2.95.x, collect2 would create an import file
14275 # for dependence libraries. The import file would start with
14276 # the line `#! .'. This would cause the generated library to
14277 # depend on `.', always an invalid library. This was fixed in
14278 # development snapshots of GCC prior to 3.0.
14279 case $host_os in
14280 aix4 | aix4.[01] | aix4.[01].*)
14281 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14282 echo ' yes '
14283 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14285 else
14286 can_build_shared=no
14289 esac
14290 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14291 # soname into executable. Probably we can add versioning support to
14292 # collect2, so additional links can be useful in future.
14293 if test "$aix_use_runtimelinking" = yes; then
14294 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14295 # instead of lib<name>.a to let people know that these are not
14296 # typical AIX shared libraries.
14297 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14298 else
14299 # We preserve .a as extension for shared libraries through AIX4.2
14300 # and later when we are not doing run time linking.
14301 library_names_spec='${libname}${release}.a $libname.a'
14302 soname_spec='${libname}${release}${shared_ext}$major'
14304 shlibpath_var=LIBPATH
14308 amigaos*)
14309 case $host_cpu in
14310 powerpc)
14311 # Since July 2007 AmigaOS4 officially supports .so libraries.
14312 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14313 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14315 m68k)
14316 library_names_spec='$libname.ixlibrary $libname.a'
14317 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14318 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14320 esac
14323 beos*)
14324 library_names_spec='${libname}${shared_ext}'
14325 dynamic_linker="$host_os ld.so"
14326 shlibpath_var=LIBRARY_PATH
14329 bsdi[45]*)
14330 version_type=linux
14331 need_version=no
14332 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14333 soname_spec='${libname}${release}${shared_ext}$major'
14334 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14335 shlibpath_var=LD_LIBRARY_PATH
14336 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14337 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14338 # the default ld.so.conf also contains /usr/contrib/lib and
14339 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14340 # libtool to hard-code these into programs
14343 cygwin* | mingw* | pw32* | cegcc*)
14344 version_type=windows
14345 shrext_cmds=".dll"
14346 need_version=no
14347 need_lib_prefix=no
14349 case $GCC,$host_os in
14350 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14351 library_names_spec='$libname.dll.a'
14352 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14353 postinstall_cmds='base_file=`basename \${file}`~
14354 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14355 dldir=$destdir/`dirname \$dlpath`~
14356 test -d \$dldir || mkdir -p \$dldir~
14357 $install_prog $dir/$dlname \$dldir/$dlname~
14358 chmod a+x \$dldir/$dlname~
14359 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14360 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14362 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14363 dlpath=$dir/\$dldll~
14364 $RM \$dlpath'
14365 shlibpath_overrides_runpath=yes
14367 case $host_os in
14368 cygwin*)
14369 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14370 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14373 mingw* | cegcc*)
14374 # MinGW DLLs use traditional 'lib' prefix
14375 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14377 pw32*)
14378 # pw32 DLLs use 'pw' prefix rather than 'lib'
14379 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14381 esac
14385 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14387 esac
14388 dynamic_linker='Win32 ld.exe'
14389 # FIXME: first we should search . and the directory the executable is in
14390 shlibpath_var=PATH
14393 darwin* | rhapsody*)
14394 dynamic_linker="$host_os dyld"
14395 version_type=darwin
14396 need_lib_prefix=no
14397 need_version=no
14398 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14399 soname_spec='${libname}${release}${major}$shared_ext'
14400 shlibpath_overrides_runpath=yes
14401 shlibpath_var=DYLD_LIBRARY_PATH
14402 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14404 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14407 dgux*)
14408 version_type=linux
14409 need_lib_prefix=no
14410 need_version=no
14411 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14412 soname_spec='${libname}${release}${shared_ext}$major'
14413 shlibpath_var=LD_LIBRARY_PATH
14416 freebsd* | dragonfly*)
14417 # DragonFly does not have aout. When/if they implement a new
14418 # versioning mechanism, adjust this.
14419 if test -x /usr/bin/objformat; then
14420 objformat=`/usr/bin/objformat`
14421 else
14422 case $host_os in
14423 freebsd[23].*) objformat=aout ;;
14424 *) objformat=elf ;;
14425 esac
14427 version_type=freebsd-$objformat
14428 case $version_type in
14429 freebsd-elf*)
14430 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14431 need_version=no
14432 need_lib_prefix=no
14434 freebsd-*)
14435 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14436 need_version=yes
14438 esac
14439 shlibpath_var=LD_LIBRARY_PATH
14440 case $host_os in
14441 freebsd2.*)
14442 shlibpath_overrides_runpath=yes
14444 freebsd3.[01]* | freebsdelf3.[01]*)
14445 shlibpath_overrides_runpath=yes
14446 hardcode_into_libs=yes
14448 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14449 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14450 shlibpath_overrides_runpath=no
14451 hardcode_into_libs=yes
14453 *) # from 4.6 on, and DragonFly
14454 shlibpath_overrides_runpath=yes
14455 hardcode_into_libs=yes
14457 esac
14460 gnu*)
14461 version_type=linux
14462 need_lib_prefix=no
14463 need_version=no
14464 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14465 soname_spec='${libname}${release}${shared_ext}$major'
14466 shlibpath_var=LD_LIBRARY_PATH
14467 hardcode_into_libs=yes
14470 haiku*)
14471 version_type=linux
14472 need_lib_prefix=no
14473 need_version=no
14474 dynamic_linker="$host_os runtime_loader"
14475 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14476 soname_spec='${libname}${release}${shared_ext}$major'
14477 shlibpath_var=LIBRARY_PATH
14478 shlibpath_overrides_runpath=yes
14479 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14480 hardcode_into_libs=yes
14483 hpux9* | hpux10* | hpux11*)
14484 # Give a soname corresponding to the major version so that dld.sl refuses to
14485 # link against other versions.
14486 version_type=sunos
14487 need_lib_prefix=no
14488 need_version=no
14489 case $host_cpu in
14490 ia64*)
14491 shrext_cmds='.so'
14492 hardcode_into_libs=yes
14493 dynamic_linker="$host_os dld.so"
14494 shlibpath_var=LD_LIBRARY_PATH
14495 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14496 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14497 soname_spec='${libname}${release}${shared_ext}$major'
14498 if test "X$HPUX_IA64_MODE" = X32; then
14499 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14500 else
14501 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14503 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14505 hppa*64*)
14506 shrext_cmds='.sl'
14507 hardcode_into_libs=yes
14508 dynamic_linker="$host_os dld.sl"
14509 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14510 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
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'
14513 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14514 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14517 shrext_cmds='.sl'
14518 dynamic_linker="$host_os dld.sl"
14519 shlibpath_var=SHLIB_PATH
14520 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14521 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14522 soname_spec='${libname}${release}${shared_ext}$major'
14524 esac
14525 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14526 postinstall_cmds='chmod 555 $lib'
14527 # or fails outright, so override atomically:
14528 install_override_mode=555
14531 interix[3-9]*)
14532 version_type=linux
14533 need_lib_prefix=no
14534 need_version=no
14535 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14536 soname_spec='${libname}${release}${shared_ext}$major'
14537 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14538 shlibpath_var=LD_LIBRARY_PATH
14539 shlibpath_overrides_runpath=no
14540 hardcode_into_libs=yes
14543 irix5* | irix6* | nonstopux*)
14544 case $host_os in
14545 nonstopux*) version_type=nonstopux ;;
14547 if test "$lt_cv_prog_gnu_ld" = yes; then
14548 version_type=linux
14549 else
14550 version_type=irix
14551 fi ;;
14552 esac
14553 need_lib_prefix=no
14554 need_version=no
14555 soname_spec='${libname}${release}${shared_ext}$major'
14556 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14557 case $host_os in
14558 irix5* | nonstopux*)
14559 libsuff= shlibsuff=
14562 case $LD in # libtool.m4 will add one of these switches to LD
14563 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14564 libsuff= shlibsuff= libmagic=32-bit;;
14565 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14566 libsuff=32 shlibsuff=N32 libmagic=N32;;
14567 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14568 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14569 *) libsuff= shlibsuff= libmagic=never-match;;
14570 esac
14572 esac
14573 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14574 shlibpath_overrides_runpath=no
14575 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14576 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14577 hardcode_into_libs=yes
14580 # No shared lib support for Linux oldld, aout, or coff.
14581 linux*oldld* | linux*aout* | linux*coff*)
14582 dynamic_linker=no
14585 # This must be Linux ELF.
14586 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14587 version_type=linux
14588 need_lib_prefix=no
14589 need_version=no
14590 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14591 soname_spec='${libname}${release}${shared_ext}$major'
14592 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14593 shlibpath_var=LD_LIBRARY_PATH
14594 shlibpath_overrides_runpath=no
14596 # Some binutils ld are patched to set DT_RUNPATH
14597 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14598 $as_echo_n "(cached) " >&6
14599 else
14600 lt_cv_shlibpath_overrides_runpath=no
14601 save_LDFLAGS=$LDFLAGS
14602 save_libdir=$libdir
14603 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14604 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14605 if test x$gcc_no_link = xyes; then
14606 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14609 /* end confdefs.h. */
14612 main ()
14616 return 0;
14618 _ACEOF
14619 if ac_fn_cxx_try_link "$LINENO"; then :
14620 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14621 lt_cv_shlibpath_overrides_runpath=yes
14624 rm -f core conftest.err conftest.$ac_objext \
14625 conftest$ac_exeext conftest.$ac_ext
14626 LDFLAGS=$save_LDFLAGS
14627 libdir=$save_libdir
14631 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14633 # This implies no fast_install, which is unacceptable.
14634 # Some rework will be needed to allow for fast_install
14635 # before this can be enabled.
14636 hardcode_into_libs=yes
14638 # Append ld.so.conf contents to the search path
14639 if test -f /etc/ld.so.conf; then
14640 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' ' '`
14641 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14644 # We used to test for /lib/ld.so.1 and disable shared libraries on
14645 # powerpc, because MkLinux only supported shared libraries with the
14646 # GNU dynamic linker. Since this was broken with cross compilers,
14647 # most powerpc-linux boxes support dynamic linking these days and
14648 # people can always --disable-shared, the test was removed, and we
14649 # assume the GNU/Linux dynamic linker is in use.
14650 dynamic_linker='GNU/Linux ld.so'
14653 netbsd*)
14654 version_type=sunos
14655 need_lib_prefix=no
14656 need_version=no
14657 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14658 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14659 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14660 dynamic_linker='NetBSD (a.out) ld.so'
14661 else
14662 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14663 soname_spec='${libname}${release}${shared_ext}$major'
14664 dynamic_linker='NetBSD ld.elf_so'
14666 shlibpath_var=LD_LIBRARY_PATH
14667 shlibpath_overrides_runpath=yes
14668 hardcode_into_libs=yes
14671 newsos6)
14672 version_type=linux
14673 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14674 shlibpath_var=LD_LIBRARY_PATH
14675 shlibpath_overrides_runpath=yes
14678 *nto* | *qnx*)
14679 version_type=qnx
14680 need_lib_prefix=no
14681 need_version=no
14682 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14683 soname_spec='${libname}${release}${shared_ext}$major'
14684 shlibpath_var=LD_LIBRARY_PATH
14685 shlibpath_overrides_runpath=no
14686 hardcode_into_libs=yes
14687 dynamic_linker='ldqnx.so'
14690 openbsd*)
14691 version_type=sunos
14692 sys_lib_dlsearch_path_spec="/usr/lib"
14693 need_lib_prefix=no
14694 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14695 case $host_os in
14696 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14697 *) need_version=no ;;
14698 esac
14699 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14700 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14701 shlibpath_var=LD_LIBRARY_PATH
14702 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14703 case $host_os in
14704 openbsd2.[89] | openbsd2.[89].*)
14705 shlibpath_overrides_runpath=no
14708 shlibpath_overrides_runpath=yes
14710 esac
14711 else
14712 shlibpath_overrides_runpath=yes
14716 os2*)
14717 libname_spec='$name'
14718 shrext_cmds=".dll"
14719 need_lib_prefix=no
14720 library_names_spec='$libname${shared_ext} $libname.a'
14721 dynamic_linker='OS/2 ld.exe'
14722 shlibpath_var=LIBPATH
14725 osf3* | osf4* | osf5*)
14726 version_type=osf
14727 need_lib_prefix=no
14728 need_version=no
14729 soname_spec='${libname}${release}${shared_ext}$major'
14730 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14731 shlibpath_var=LD_LIBRARY_PATH
14732 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14733 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14736 rdos*)
14737 dynamic_linker=no
14740 solaris*)
14741 version_type=linux
14742 need_lib_prefix=no
14743 need_version=no
14744 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14745 soname_spec='${libname}${release}${shared_ext}$major'
14746 shlibpath_var=LD_LIBRARY_PATH
14747 shlibpath_overrides_runpath=yes
14748 hardcode_into_libs=yes
14749 # ldd complains unless libraries are executable
14750 postinstall_cmds='chmod +x $lib'
14753 sunos4*)
14754 version_type=sunos
14755 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14756 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14757 shlibpath_var=LD_LIBRARY_PATH
14758 shlibpath_overrides_runpath=yes
14759 if test "$with_gnu_ld" = yes; then
14760 need_lib_prefix=no
14762 need_version=yes
14765 sysv4 | sysv4.3*)
14766 version_type=linux
14767 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14768 soname_spec='${libname}${release}${shared_ext}$major'
14769 shlibpath_var=LD_LIBRARY_PATH
14770 case $host_vendor in
14771 sni)
14772 shlibpath_overrides_runpath=no
14773 need_lib_prefix=no
14774 runpath_var=LD_RUN_PATH
14776 siemens)
14777 need_lib_prefix=no
14779 motorola)
14780 need_lib_prefix=no
14781 need_version=no
14782 shlibpath_overrides_runpath=no
14783 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14785 esac
14788 sysv4*MP*)
14789 if test -d /usr/nec ;then
14790 version_type=linux
14791 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14792 soname_spec='$libname${shared_ext}.$major'
14793 shlibpath_var=LD_LIBRARY_PATH
14797 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14798 version_type=freebsd-elf
14799 need_lib_prefix=no
14800 need_version=no
14801 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14802 soname_spec='${libname}${release}${shared_ext}$major'
14803 shlibpath_var=LD_LIBRARY_PATH
14804 shlibpath_overrides_runpath=yes
14805 hardcode_into_libs=yes
14806 if test "$with_gnu_ld" = yes; then
14807 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14808 else
14809 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14810 case $host_os in
14811 sco3.2v5*)
14812 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14814 esac
14816 sys_lib_dlsearch_path_spec='/usr/lib'
14819 tpf*)
14820 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14821 version_type=linux
14822 need_lib_prefix=no
14823 need_version=no
14824 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14825 shlibpath_var=LD_LIBRARY_PATH
14826 shlibpath_overrides_runpath=no
14827 hardcode_into_libs=yes
14830 uts4*)
14831 version_type=linux
14832 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14833 soname_spec='${libname}${release}${shared_ext}$major'
14834 shlibpath_var=LD_LIBRARY_PATH
14838 dynamic_linker=no
14840 esac
14841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14842 $as_echo "$dynamic_linker" >&6; }
14843 test "$dynamic_linker" = no && can_build_shared=no
14845 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14846 if test "$GCC" = yes; then
14847 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14850 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14851 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14853 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14854 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14895 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14896 hardcode_action_CXX=
14897 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14898 test -n "$runpath_var_CXX" ||
14899 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14901 # We can hardcode non-existent directories.
14902 if test "$hardcode_direct_CXX" != no &&
14903 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14904 # have to relink, otherwise we might link with an installed library
14905 # when we should be linking with a yet-to-be-installed one
14906 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14907 test "$hardcode_minus_L_CXX" != no; then
14908 # Linking always hardcodes the temporary library directory.
14909 hardcode_action_CXX=relink
14910 else
14911 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14912 hardcode_action_CXX=immediate
14914 else
14915 # We cannot hardcode anything, or else we can only hardcode existing
14916 # directories.
14917 hardcode_action_CXX=unsupported
14919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14920 $as_echo "$hardcode_action_CXX" >&6; }
14922 if test "$hardcode_action_CXX" = relink ||
14923 test "$inherit_rpath_CXX" = yes; then
14924 # Fast installation is not supported
14925 enable_fast_install=no
14926 elif test "$shlibpath_overrides_runpath" = yes ||
14927 test "$enable_shared" = no; then
14928 # Fast installation is not necessary
14929 enable_fast_install=needless
14938 fi # test -n "$compiler"
14940 CC=$lt_save_CC
14941 LDCXX=$LD
14942 LD=$lt_save_LD
14943 GCC=$lt_save_GCC
14944 with_gnu_ld=$lt_save_with_gnu_ld
14945 lt_cv_path_LDCXX=$lt_cv_path_LD
14946 lt_cv_path_LD=$lt_save_path_LD
14947 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14948 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14949 fi # test "$_lt_caught_CXX_error" != yes
14951 ac_ext=c
14952 ac_cpp='$CPP $CPPFLAGS'
14953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14969 ac_config_commands="$ac_config_commands libtool"
14974 # Only expand once:
14980 case $host in
14981 *-cygwin* | *-mingw*)
14982 # 'host' will be top-level target in the case of a target lib,
14983 # we must compare to with_cross_host to decide if this is a native
14984 # or cross-compiler and select where to install dlls appropriately.
14985 if test -n "$with_cross_host" &&
14986 test x"$with_cross_host" != x"no"; then
14987 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14988 else
14989 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14993 lt_host_flags=
14995 esac
15002 if test "$enable_vtable_verify" = yes; then
15003 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15004 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15008 # libtool variables for C++ shared and position-independent compiles.
15010 # Use glibcxx_lt_pic_flag to designate the automake variable
15011 # used to encapsulate the default libtool approach to creating objects
15012 # with position-independent code. Default: -prefer-pic.
15014 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15015 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15017 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15018 # creating position-independent objects. This varies with the target
15019 # hardware and operating system, but is often: -DPIC -fPIC.
15020 if test "$enable_shared" = yes; then
15021 glibcxx_lt_pic_flag="-prefer-pic"
15022 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15023 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15025 else
15026 glibcxx_lt_pic_flag=
15027 glibcxx_compiler_pic_flag=
15028 glibcxx_compiler_shared_flag=
15034 # Override the libtool's pic_flag and pic_mode.
15035 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15036 # NB: this impacts --with-pic and --without-pic.
15037 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15038 pic_mode='default'
15040 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15041 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15043 # Possibly disable most of the library.
15044 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15045 ## than just ignoring the results. Faster /and/ more correct, win win.
15047 # Check whether --enable-hosted-libstdcxx was given.
15048 if test "${enable_hosted_libstdcxx+set}" = set; then :
15049 enableval=$enable_hosted_libstdcxx;
15050 else
15051 case "$host" in
15052 arm*-*-symbianelf*)
15053 enable_hosted_libstdcxx=no
15056 enable_hosted_libstdcxx=yes
15058 esac
15061 if test "$enable_hosted_libstdcxx" = no; then
15062 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15063 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15064 is_hosted=no
15065 hosted_define=0
15066 enable_abi_check=no
15067 enable_libstdcxx_pch=no
15068 else
15069 is_hosted=yes
15070 hosted_define=1
15074 cat >>confdefs.h <<_ACEOF
15075 #define _GLIBCXX_HOSTED $hosted_define
15076 _ACEOF
15080 # Enable descriptive messages to standard output on termination.
15082 # Check whether --enable-libstdcxx-verbose was given.
15083 if test "${enable_libstdcxx_verbose+set}" = set; then :
15084 enableval=$enable_libstdcxx_verbose;
15085 else
15086 enable_libstdcxx_verbose=yes
15089 if test x"$enable_libstdcxx_verbose" = xyes; then
15090 verbose_define=1
15091 else
15092 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15093 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15094 verbose_define=0
15097 cat >>confdefs.h <<_ACEOF
15098 #define _GLIBCXX_VERBOSE $verbose_define
15099 _ACEOF
15103 # Enable compiler support that doesn't require linking.
15105 # Check whether --enable-libstdcxx-pch was given.
15106 if test "${enable_libstdcxx_pch+set}" = set; then :
15107 enableval=$enable_libstdcxx_pch;
15108 case "$enableval" in
15109 yes|no) ;;
15110 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15111 esac
15113 else
15114 enable_libstdcxx_pch=$is_hosted
15118 if test $enable_libstdcxx_pch = yes; then
15119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15120 $as_echo_n "checking for compiler with PCH support... " >&6; }
15121 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15122 $as_echo_n "(cached) " >&6
15123 else
15124 ac_save_CXXFLAGS="$CXXFLAGS"
15125 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15127 ac_ext=cpp
15128 ac_cpp='$CXXCPP $CPPFLAGS'
15129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15133 echo '#include <math.h>' > conftest.h
15134 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15135 -o conftest.h.gch 1>&5 2>&1 &&
15136 echo '#error "pch failed"' > conftest.h &&
15137 echo '#include "conftest.h"' > conftest.cc &&
15138 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15139 then
15140 glibcxx_cv_prog_CXX_pch=yes
15141 else
15142 glibcxx_cv_prog_CXX_pch=no
15144 rm -f conftest*
15145 CXXFLAGS=$ac_save_CXXFLAGS
15146 ac_ext=c
15147 ac_cpp='$CPP $CPPFLAGS'
15148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15155 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15156 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15160 $as_echo_n "checking for enabled PCH... " >&6; }
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15162 $as_echo "$enable_libstdcxx_pch" >&6; }
15165 if test $enable_libstdcxx_pch = yes; then
15166 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15167 else
15168 glibcxx_PCHFLAGS=""
15173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15174 $as_echo_n "checking for thread model used by GCC... " >&6; }
15175 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15177 $as_echo "$target_thread_file" >&6; }
15179 case $target_thread_file in
15180 aix) thread_header=config/rs6000/gthr-aix.h ;;
15181 dce) thread_header=config/pa/gthr-dce.h ;;
15182 lynx) thread_header=config/gthr-lynx.h ;;
15183 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15184 posix) thread_header=gthr-posix.h ;;
15185 rtems) thread_header=config/gthr-rtems.h ;;
15186 single) thread_header=gthr-single.h ;;
15187 tpf) thread_header=config/s390/gthr-tpf.h ;;
15188 vxworks) thread_header=config/gthr-vxworks.h ;;
15189 win32) thread_header=config/i386/gthr-win32.h ;;
15190 esac
15196 ac_ext=cpp
15197 ac_cpp='$CXXCPP $CPPFLAGS'
15198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15202 old_CXXFLAGS="$CXXFLAGS"
15204 # Do link tests if possible, instead asm tests, limited to some platforms
15205 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15206 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15207 atomic_builtins_link_tests=no
15208 if test x$gcc_no_link != xyes; then
15209 # Can do link tests. Limit to some tested platforms
15210 case "$host" in
15211 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15212 atomic_builtins_link_tests=yes
15214 esac
15217 if test x$atomic_builtins_link_tests = xyes; then
15219 # Do link tests.
15221 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15224 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15225 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15226 $as_echo_n "(cached) " >&6
15227 else
15229 if test x$gcc_no_link = xyes; then
15230 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15233 /* end confdefs.h. */
15236 main ()
15238 typedef bool atomic_type;
15239 atomic_type c1;
15240 atomic_type c2;
15241 atomic_type c3(0);
15242 // N.B. __atomic_fetch_add is not supported for bool.
15243 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15244 __ATOMIC_RELAXED);
15245 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15246 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15249 return 0;
15251 _ACEOF
15252 if ac_fn_cxx_try_link "$LINENO"; then :
15253 glibcxx_cv_atomic_bool=yes
15254 else
15255 glibcxx_cv_atomic_bool=no
15257 rm -f core conftest.err conftest.$ac_objext \
15258 conftest$ac_exeext conftest.$ac_ext
15262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15263 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15266 $as_echo_n "checking for atomic builtins for short... " >&6; }
15267 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15268 $as_echo_n "(cached) " >&6
15269 else
15271 if test x$gcc_no_link = xyes; then
15272 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15275 /* end confdefs.h. */
15278 main ()
15280 typedef short atomic_type;
15281 atomic_type c1;
15282 atomic_type c2;
15283 atomic_type c3(0);
15284 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15285 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15286 __ATOMIC_RELAXED);
15287 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15288 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15291 return 0;
15293 _ACEOF
15294 if ac_fn_cxx_try_link "$LINENO"; then :
15295 glibcxx_cv_atomic_short=yes
15296 else
15297 glibcxx_cv_atomic_short=no
15299 rm -f core conftest.err conftest.$ac_objext \
15300 conftest$ac_exeext conftest.$ac_ext
15304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15305 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15308 $as_echo_n "checking for atomic builtins for int... " >&6; }
15309 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15310 $as_echo_n "(cached) " >&6
15311 else
15313 if test x$gcc_no_link = xyes; then
15314 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15317 /* end confdefs.h. */
15320 main ()
15322 typedef int atomic_type;
15323 atomic_type c1;
15324 atomic_type c2;
15325 atomic_type c3(0);
15326 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15327 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15328 __ATOMIC_RELAXED);
15329 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15330 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15333 return 0;
15335 _ACEOF
15336 if ac_fn_cxx_try_link "$LINENO"; then :
15337 glibcxx_cv_atomic_int=yes
15338 else
15339 glibcxx_cv_atomic_int=no
15341 rm -f core conftest.err conftest.$ac_objext \
15342 conftest$ac_exeext conftest.$ac_ext
15346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15347 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15350 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15351 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15352 $as_echo_n "(cached) " >&6
15353 else
15355 if test x$gcc_no_link = xyes; then
15356 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15359 /* end confdefs.h. */
15362 main ()
15364 typedef long long atomic_type;
15365 atomic_type c1;
15366 atomic_type c2;
15367 atomic_type c3(0);
15368 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15369 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15370 __ATOMIC_RELAXED);
15371 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15372 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15375 return 0;
15377 _ACEOF
15378 if ac_fn_cxx_try_link "$LINENO"; then :
15379 glibcxx_cv_atomic_long_long=yes
15380 else
15381 glibcxx_cv_atomic_long_long=no
15383 rm -f core conftest.err conftest.$ac_objext \
15384 conftest$ac_exeext conftest.$ac_ext
15388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15389 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15391 else
15393 # Do asm tests.
15395 # Compile unoptimized.
15396 CXXFLAGS='-O0 -S'
15398 # Fake what AC_TRY_COMPILE does.
15400 cat > conftest.$ac_ext << EOF
15401 #line 15401 "configure"
15402 int main()
15404 typedef bool atomic_type;
15405 atomic_type c1;
15406 atomic_type c2;
15407 atomic_type c3(0);
15408 // N.B. __atomic_fetch_add is not supported for bool.
15409 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15410 __ATOMIC_RELAXED);
15411 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15412 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15414 return 0;
15418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15419 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15420 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15421 (eval $ac_compile) 2>&5
15422 ac_status=$?
15423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15424 test $ac_status = 0; }; then
15425 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15426 glibcxx_cv_atomic_bool=no
15427 else
15428 glibcxx_cv_atomic_bool=yes
15431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15432 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15433 rm -f conftest*
15435 cat > conftest.$ac_ext << EOF
15436 #line 15436 "configure"
15437 int main()
15439 typedef short atomic_type;
15440 atomic_type c1;
15441 atomic_type c2;
15442 atomic_type c3(0);
15443 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15444 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15445 __ATOMIC_RELAXED);
15446 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15447 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15449 return 0;
15453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15454 $as_echo_n "checking for atomic builtins for short... " >&6; }
15455 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15456 (eval $ac_compile) 2>&5
15457 ac_status=$?
15458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15459 test $ac_status = 0; }; then
15460 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15461 glibcxx_cv_atomic_short=no
15462 else
15463 glibcxx_cv_atomic_short=yes
15466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15467 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15468 rm -f conftest*
15470 cat > conftest.$ac_ext << EOF
15471 #line 15471 "configure"
15472 int main()
15474 // NB: _Atomic_word not necessarily int.
15475 typedef int atomic_type;
15476 atomic_type c1;
15477 atomic_type c2;
15478 atomic_type c3(0);
15479 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15480 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15481 __ATOMIC_RELAXED);
15482 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15483 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15485 return 0;
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15490 $as_echo_n "checking for atomic builtins for int... " >&6; }
15491 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15492 (eval $ac_compile) 2>&5
15493 ac_status=$?
15494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15495 test $ac_status = 0; }; then
15496 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15497 glibcxx_cv_atomic_int=no
15498 else
15499 glibcxx_cv_atomic_int=yes
15502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15503 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15504 rm -f conftest*
15506 cat > conftest.$ac_ext << EOF
15507 #line 15507 "configure"
15508 int main()
15510 typedef long long atomic_type;
15511 atomic_type c1;
15512 atomic_type c2;
15513 atomic_type c3(0);
15514 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15515 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15516 __ATOMIC_RELAXED);
15517 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15518 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15520 return 0;
15524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15525 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15526 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15527 (eval $ac_compile) 2>&5
15528 ac_status=$?
15529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15530 test $ac_status = 0; }; then
15531 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15532 glibcxx_cv_atomic_long_long=no
15533 else
15534 glibcxx_cv_atomic_long_long=yes
15537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15538 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15539 rm -f conftest*
15543 CXXFLAGS="$old_CXXFLAGS"
15544 ac_ext=c
15545 ac_cpp='$CPP $CPPFLAGS'
15546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15551 # Set atomicity_dir to builtins if all but the long long test above passes,
15552 # or if the builtins were already chosen (e.g. by configure.host).
15553 if { test "$glibcxx_cv_atomic_bool" = yes \
15554 && test "$glibcxx_cv_atomic_short" = yes \
15555 && test "$glibcxx_cv_atomic_int" = yes; } \
15556 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
15558 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15560 atomicity_dir=cpu/generic/atomicity_builtins
15563 # If still generic, set to mutex.
15564 if test $atomicity_dir = "cpu/generic" ; then
15565 atomicity_dir=cpu/generic/atomicity_mutex
15566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15567 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15568 if test "x$target_thread_file" = xsingle; then
15569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15570 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15572 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15573 else
15574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15575 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15577 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15584 # Fake what AC_TRY_COMPILE does, without linking as this is
15585 # unnecessary for this test.
15587 cat > conftest.$ac_ext << EOF
15588 #line 15588 "configure"
15589 int main()
15591 _Decimal32 d1;
15592 _Decimal64 d2;
15593 _Decimal128 d3;
15594 return 0;
15598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15599 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15600 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15601 (eval $ac_compile) 2>&5
15602 ac_status=$?
15603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15604 test $ac_status = 0; }; then
15606 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15608 enable_dfp=yes
15609 else
15610 enable_dfp=no
15612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15613 $as_echo "$enable_dfp" >&6; }
15614 rm -f conftest*
15619 ac_ext=cpp
15620 ac_cpp='$CXXCPP $CPPFLAGS'
15621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15626 # Fake what AC_TRY_COMPILE does, without linking as this is
15627 # unnecessary for this test.
15629 cat > conftest.$ac_ext << EOF
15630 #line 15630 "configure"
15631 template<typename T1, typename T2>
15632 struct same
15633 { typedef T2 type; };
15635 template<typename T>
15636 struct same<T, T>;
15638 int main()
15640 typename same<long, __int128>::type i1;
15641 typename same<long long, __int128>::type i2;
15645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15646 $as_echo_n "checking for __int128... " >&6; }
15647 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15648 (eval $ac_compile) 2>&5
15649 ac_status=$?
15650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15651 test $ac_status = 0; }; then
15653 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15655 enable_int128=yes
15656 else
15657 enable_int128=no
15659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15660 $as_echo "$enable_int128" >&6; }
15661 rm -f conftest*
15663 cat > conftest.$ac_ext << EOF
15664 #line 15664 "configure"
15665 template<typename T1, typename T2>
15666 struct same
15667 { typedef T2 type; };
15669 template<typename T>
15670 struct same<T, T>;
15672 int main()
15674 typename same<double, __float128>::type f1;
15675 typename same<long double, __float128>::type f2;
15679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15680 $as_echo_n "checking for __float128... " >&6; }
15681 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15682 (eval $ac_compile) 2>&5
15683 ac_status=$?
15684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15685 test $ac_status = 0; }; then
15687 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15689 enable_float128=yes
15690 else
15691 enable_float128=no
15693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15694 $as_echo "$enable_float128" >&6; }
15695 rm -f conftest*
15697 ac_ext=c
15698 ac_cpp='$CPP $CPPFLAGS'
15699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15704 if test "$enable_float128" = yes; then
15705 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15708 # Checks for compiler support that doesn't require linking.
15710 # All these tests are for C++; save the language and the compiler flags.
15711 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15712 # found in GLIBCXX_CONFIGURE.
15714 ac_ext=cpp
15715 ac_cpp='$CXXCPP $CPPFLAGS'
15716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15720 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15721 ac_save_CXXFLAGS="$CXXFLAGS"
15723 # Check for maintainer-mode bits.
15724 if test x"$USE_MAINTAINER_MODE" = xno; then
15725 WERROR=''
15726 else
15727 WERROR='-Werror'
15730 # Check for -ffunction-sections -fdata-sections
15731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15732 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15733 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15735 /* end confdefs.h. */
15736 int foo; void bar() { };
15738 main ()
15742 return 0;
15744 _ACEOF
15745 if ac_fn_cxx_try_compile "$LINENO"; then :
15746 ac_fdsections=yes
15747 else
15748 ac_fdsections=no
15750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15751 if test "$ac_test_CXXFLAGS" = set; then
15752 CXXFLAGS="$ac_save_CXXFLAGS"
15753 else
15754 # this is the suspicious part
15755 CXXFLAGS=''
15757 if test x"$ac_fdsections" = x"yes"; then
15758 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15761 $as_echo "$ac_fdsections" >&6; }
15763 ac_ext=c
15764 ac_cpp='$CPP $CPPFLAGS'
15765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15773 # Enable all the variable C++ runtime options that don't require linking.
15775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15776 $as_echo_n "checking for underlying I/O to use... " >&6; }
15777 # Check whether --enable-cstdio was given.
15778 if test "${enable_cstdio+set}" = set; then :
15779 enableval=$enable_cstdio;
15780 case "$enableval" in
15781 stdio) ;;
15782 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15783 esac
15785 else
15786 enable_cstdio=stdio
15791 # Now that libio has been removed, you can have any color you want as long
15792 # as it's black. This is one big no-op until other packages are added, but
15793 # showing the framework never hurts.
15794 case ${enable_cstdio} in
15795 stdio)
15796 CSTDIO_H=config/io/c_io_stdio.h
15797 BASIC_FILE_H=config/io/basic_file_stdio.h
15798 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15800 $as_echo "stdio" >&6; }
15802 esac
15809 # Check whether --enable-clocale was given.
15810 if test "${enable_clocale+set}" = set; then :
15811 enableval=$enable_clocale;
15812 case "$enableval" in
15813 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15814 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15815 esac
15817 else
15818 enable_clocale=auto
15823 # Deal with gettext issues. Default to not using it (=no) until we detect
15824 # support for it later. Let the user turn it off via --e/d, but let that
15825 # default to on for easier handling.
15826 USE_NLS=no
15827 # Check whether --enable-nls was given.
15828 if test "${enable_nls+set}" = set; then :
15829 enableval=$enable_nls;
15830 else
15831 enable_nls=yes
15835 # Either a known package, or "auto"
15836 if test $enable_clocale = no || test $enable_clocale = yes; then
15837 enable_clocale=auto
15839 enable_clocale_flag=$enable_clocale
15841 # Probe for locale model to use if none specified.
15842 # Default to "generic".
15843 if test $enable_clocale_flag = auto; then
15844 case ${target_os} in
15845 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15846 enable_clocale_flag=gnu
15848 darwin*)
15849 enable_clocale_flag=darwin
15851 dragonfly* | freebsd*)
15852 enable_clocale_flag=dragonfly
15854 openbsd*)
15855 enable_clocale_flag=newlib
15858 if test x"$with_newlib" = x"yes"; then
15859 enable_clocale_flag=newlib
15860 else
15861 enable_clocale_flag=generic
15864 esac
15867 # Sanity check model, and test for special functionality.
15868 if test $enable_clocale_flag = gnu; then
15869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15870 /* end confdefs.h. */
15872 #include <features.h>
15873 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15874 _GLIBCXX_ok
15875 #endif
15877 _ACEOF
15878 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15879 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15880 enable_clocale_flag=gnu
15881 else
15882 enable_clocale_flag=generic
15884 rm -f conftest*
15887 # Set it to scream when it hurts.
15888 ac_save_CFLAGS="$CFLAGS"
15889 CFLAGS="-Wimplicit-function-declaration -Werror"
15891 # Use strxfrm_l if available.
15892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15893 /* end confdefs.h. */
15894 #define _GNU_SOURCE 1
15895 #include <string.h>
15896 #include <locale.h>
15898 main ()
15900 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15902 return 0;
15904 _ACEOF
15905 if ac_fn_c_try_compile "$LINENO"; then :
15907 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15912 # Use strerror_l if available.
15913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15914 /* end confdefs.h. */
15915 #define _GNU_SOURCE 1
15916 #include <string.h>
15917 #include <locale.h>
15919 main ()
15921 __locale_t loc; strerror_l(5, loc);
15923 return 0;
15925 _ACEOF
15926 if ac_fn_c_try_compile "$LINENO"; then :
15928 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15933 CFLAGS="$ac_save_CFLAGS"
15936 # Perhaps use strerror_r if available, and strerror_l isn't.
15937 ac_save_CFLAGS="$CFLAGS"
15938 CFLAGS="-Wimplicit-function-declaration -Werror"
15939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15940 /* end confdefs.h. */
15941 #define _GNU_SOURCE 1
15942 #include <string.h>
15943 #include <locale.h>
15945 main ()
15947 char s[128]; strerror_r(5, s, 128);
15949 return 0;
15951 _ACEOF
15952 if ac_fn_c_try_compile "$LINENO"; then :
15954 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15958 CFLAGS="$ac_save_CFLAGS"
15960 # Set configure bits for specified locale package
15961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15962 $as_echo_n "checking for C locale to use... " >&6; }
15963 case ${enable_clocale_flag} in
15964 generic)
15965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15966 $as_echo "generic" >&6; }
15968 CLOCALE_H=config/locale/generic/c_locale.h
15969 CLOCALE_CC=config/locale/generic/c_locale.cc
15970 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15971 CCOLLATE_CC=config/locale/generic/collate_members.cc
15972 CCTYPE_CC=config/locale/generic/ctype_members.cc
15973 CMESSAGES_H=config/locale/generic/messages_members.h
15974 CMESSAGES_CC=config/locale/generic/messages_members.cc
15975 CMONEY_CC=config/locale/generic/monetary_members.cc
15976 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15977 CTIME_H=config/locale/generic/time_members.h
15978 CTIME_CC=config/locale/generic/time_members.cc
15979 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15981 darwin)
15982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
15983 $as_echo "darwin" >&6; }
15985 CLOCALE_H=config/locale/generic/c_locale.h
15986 CLOCALE_CC=config/locale/generic/c_locale.cc
15987 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15988 CCOLLATE_CC=config/locale/generic/collate_members.cc
15989 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15990 CMESSAGES_H=config/locale/generic/messages_members.h
15991 CMESSAGES_CC=config/locale/generic/messages_members.cc
15992 CMONEY_CC=config/locale/generic/monetary_members.cc
15993 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15994 CTIME_H=config/locale/generic/time_members.h
15995 CTIME_CC=config/locale/generic/time_members.cc
15996 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15999 dragonfly)
16000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16001 $as_echo "dragonfly or freebsd" >&6; }
16003 CLOCALE_H=config/locale/dragonfly/c_locale.h
16004 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16005 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16006 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16007 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16008 CMESSAGES_H=config/locale/generic/messages_members.h
16009 CMESSAGES_CC=config/locale/generic/messages_members.cc
16010 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16011 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16012 CTIME_H=config/locale/dragonfly/time_members.h
16013 CTIME_CC=config/locale/dragonfly/time_members.cc
16014 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16017 gnu)
16018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16019 $as_echo "gnu" >&6; }
16021 # Declare intention to use gettext, and add support for specific
16022 # languages.
16023 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16024 ALL_LINGUAS="de fr"
16026 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16027 # Extract the first word of "msgfmt", so it can be a program name with args.
16028 set dummy msgfmt; ac_word=$2
16029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16030 $as_echo_n "checking for $ac_word... " >&6; }
16031 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16032 $as_echo_n "(cached) " >&6
16033 else
16034 if test -n "$check_msgfmt"; then
16035 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16036 else
16037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16038 for as_dir in $PATH
16040 IFS=$as_save_IFS
16041 test -z "$as_dir" && as_dir=.
16042 for ac_exec_ext in '' $ac_executable_extensions; do
16043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16044 ac_cv_prog_check_msgfmt="yes"
16045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16046 break 2
16048 done
16049 done
16050 IFS=$as_save_IFS
16052 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16055 check_msgfmt=$ac_cv_prog_check_msgfmt
16056 if test -n "$check_msgfmt"; then
16057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16058 $as_echo "$check_msgfmt" >&6; }
16059 else
16060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16061 $as_echo "no" >&6; }
16065 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16066 USE_NLS=yes
16068 # Export the build objects.
16069 for ling in $ALL_LINGUAS; do \
16070 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16071 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16072 done
16076 CLOCALE_H=config/locale/gnu/c_locale.h
16077 CLOCALE_CC=config/locale/gnu/c_locale.cc
16078 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16079 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16080 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16081 CMESSAGES_H=config/locale/gnu/messages_members.h
16082 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16083 CMONEY_CC=config/locale/gnu/monetary_members.cc
16084 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16085 CTIME_H=config/locale/gnu/time_members.h
16086 CTIME_CC=config/locale/gnu/time_members.cc
16087 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16089 ieee_1003.1-2001)
16090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16091 $as_echo "IEEE 1003.1" >&6; }
16093 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16094 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16095 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16096 CCOLLATE_CC=config/locale/generic/collate_members.cc
16097 CCTYPE_CC=config/locale/generic/ctype_members.cc
16098 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16099 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16100 CMONEY_CC=config/locale/generic/monetary_members.cc
16101 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16102 CTIME_H=config/locale/generic/time_members.h
16103 CTIME_CC=config/locale/generic/time_members.cc
16104 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16106 newlib)
16107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16108 $as_echo "newlib" >&6; }
16110 CLOCALE_H=config/locale/generic/c_locale.h
16111 CLOCALE_CC=config/locale/generic/c_locale.cc
16112 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16113 CCOLLATE_CC=config/locale/generic/collate_members.cc
16114 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16115 CMESSAGES_H=config/locale/generic/messages_members.h
16116 CMESSAGES_CC=config/locale/generic/messages_members.cc
16117 CMONEY_CC=config/locale/generic/monetary_members.cc
16118 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16119 CTIME_H=config/locale/generic/time_members.h
16120 CTIME_CC=config/locale/generic/time_members.cc
16121 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16123 esac
16125 # This is where the testsuite looks for locale catalogs, using the
16126 # -DLOCALEDIR define during testsuite compilation.
16127 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16130 # A standalone libintl (e.g., GNU libintl) may be in use.
16131 if test $USE_NLS = yes; then
16132 for ac_header in libintl.h
16133 do :
16134 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16135 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16136 cat >>confdefs.h <<_ACEOF
16137 #define HAVE_LIBINTL_H 1
16138 _ACEOF
16140 else
16141 USE_NLS=no
16144 done
16146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16147 $as_echo_n "checking for library containing gettext... " >&6; }
16148 if test "${ac_cv_search_gettext+set}" = set; then :
16149 $as_echo_n "(cached) " >&6
16150 else
16151 ac_func_search_save_LIBS=$LIBS
16152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16153 /* end confdefs.h. */
16155 /* Override any GCC internal prototype to avoid an error.
16156 Use char because int might match the return type of a GCC
16157 builtin and then its argument prototype would still apply. */
16158 #ifdef __cplusplus
16159 extern "C"
16160 #endif
16161 char gettext ();
16163 main ()
16165 return gettext ();
16167 return 0;
16169 _ACEOF
16170 for ac_lib in '' intl; do
16171 if test -z "$ac_lib"; then
16172 ac_res="none required"
16173 else
16174 ac_res=-l$ac_lib
16175 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16177 if test x$gcc_no_link = xyes; then
16178 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16180 if ac_fn_c_try_link "$LINENO"; then :
16181 ac_cv_search_gettext=$ac_res
16183 rm -f core conftest.err conftest.$ac_objext \
16184 conftest$ac_exeext
16185 if test "${ac_cv_search_gettext+set}" = set; then :
16186 break
16188 done
16189 if test "${ac_cv_search_gettext+set}" = set; then :
16191 else
16192 ac_cv_search_gettext=no
16194 rm conftest.$ac_ext
16195 LIBS=$ac_func_search_save_LIBS
16197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16198 $as_echo "$ac_cv_search_gettext" >&6; }
16199 ac_res=$ac_cv_search_gettext
16200 if test "$ac_res" != no; then :
16201 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16203 else
16204 USE_NLS=no
16208 if test $USE_NLS = yes; then
16210 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16230 $as_echo_n "checking for std::allocator base class... " >&6; }
16231 # Check whether --enable-libstdcxx-allocator was given.
16232 if test "${enable_libstdcxx_allocator+set}" = set; then :
16233 enableval=$enable_libstdcxx_allocator;
16234 case "$enableval" in
16235 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16236 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16237 esac
16239 else
16240 enable_libstdcxx_allocator=auto
16245 # If they didn't use this option switch, or if they specified --enable
16246 # with no specific model, we'll have to look for one. If they
16247 # specified --disable (???), do likewise.
16248 if test $enable_libstdcxx_allocator = no ||
16249 test $enable_libstdcxx_allocator = yes;
16250 then
16251 enable_libstdcxx_allocator=auto
16254 # Either a known package, or "auto". Auto implies the default choice
16255 # for a particular platform.
16256 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16258 # Probe for host-specific support if no specific model is specified.
16259 # Default to "new".
16260 if test $enable_libstdcxx_allocator_flag = auto; then
16261 case ${target_os} in
16262 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16263 enable_libstdcxx_allocator_flag=new
16266 enable_libstdcxx_allocator_flag=new
16268 esac
16270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16271 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16274 # Set configure bits for specified locale package
16275 case ${enable_libstdcxx_allocator_flag} in
16276 bitmap)
16277 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16278 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16280 malloc)
16281 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16282 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16285 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16286 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16288 new)
16289 ALLOCATOR_H=config/allocator/new_allocator_base.h
16290 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16292 pool)
16293 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16294 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16296 esac
16303 # Check whether --enable-cheaders was given.
16304 if test "${enable_cheaders+set}" = set; then :
16305 enableval=$enable_cheaders;
16306 case "$enableval" in
16307 c|c_std|c_global) ;;
16308 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16309 esac
16311 else
16312 enable_cheaders=$c_model
16316 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16317 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16319 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16321 # Allow overrides to configure.host here.
16322 if test $enable_cheaders = c_global; then
16323 c_compatibility=yes
16332 # Check whether --enable-long-long was given.
16333 if test "${enable_long_long+set}" = set; then :
16334 enableval=$enable_long_long;
16335 case "$enableval" in
16336 yes|no) ;;
16337 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16338 esac
16340 else
16341 enable_long_long=yes
16345 if test $enable_long_long = yes; then
16347 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16351 $as_echo_n "checking for enabled long long specializations... " >&6; }
16352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16353 $as_echo "$enable_long_long" >&6; }
16356 # Check whether --enable-wchar_t was given.
16357 if test "${enable_wchar_t+set}" = set; then :
16358 enableval=$enable_wchar_t;
16359 case "$enableval" in
16360 yes|no) ;;
16361 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16362 esac
16364 else
16365 enable_wchar_t=yes
16370 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16371 for ac_header in wchar.h
16372 do :
16373 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16374 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16375 cat >>confdefs.h <<_ACEOF
16376 #define HAVE_WCHAR_H 1
16377 _ACEOF
16378 ac_has_wchar_h=yes
16379 else
16380 ac_has_wchar_h=no
16383 done
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16386 $as_echo_n "checking for mbstate_t... " >&6; }
16387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16388 /* end confdefs.h. */
16389 #include <wchar.h>
16391 main ()
16393 mbstate_t teststate;
16395 return 0;
16397 _ACEOF
16398 if ac_fn_c_try_compile "$LINENO"; then :
16399 have_mbstate_t=yes
16400 else
16401 have_mbstate_t=no
16403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16405 $as_echo "$have_mbstate_t" >&6; }
16406 if test x"$have_mbstate_t" = xyes; then
16408 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16412 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16413 # ac_has_wchar_h.
16414 for ac_header in wctype.h
16415 do :
16416 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16417 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16418 cat >>confdefs.h <<_ACEOF
16419 #define HAVE_WCTYPE_H 1
16420 _ACEOF
16421 ac_has_wctype_h=yes
16422 else
16423 ac_has_wctype_h=no
16426 done
16429 if test x"$enable_wchar_t" = x"yes"; then
16432 ac_ext=cpp
16433 ac_cpp='$CXXCPP $CPPFLAGS'
16434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16439 if test x"$ac_has_wchar_h" = xyes &&
16440 test x"$ac_has_wctype_h" = xyes; then
16441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16442 /* end confdefs.h. */
16443 #include <wchar.h>
16444 #include <stddef.h>
16445 wint_t i;
16446 long l = WEOF;
16447 long j = WCHAR_MIN;
16448 long k = WCHAR_MAX;
16449 namespace test
16451 using ::btowc;
16452 using ::fgetwc;
16453 using ::fgetws;
16454 using ::fputwc;
16455 using ::fputws;
16456 using ::fwide;
16457 using ::fwprintf;
16458 using ::fwscanf;
16459 using ::getwc;
16460 using ::getwchar;
16461 using ::mbrlen;
16462 using ::mbrtowc;
16463 using ::mbsinit;
16464 using ::mbsrtowcs;
16465 using ::putwc;
16466 using ::putwchar;
16467 using ::swprintf;
16468 using ::swscanf;
16469 using ::ungetwc;
16470 using ::vfwprintf;
16471 using ::vswprintf;
16472 using ::vwprintf;
16473 using ::wcrtomb;
16474 using ::wcscat;
16475 using ::wcschr;
16476 using ::wcscmp;
16477 using ::wcscoll;
16478 using ::wcscpy;
16479 using ::wcscspn;
16480 using ::wcsftime;
16481 using ::wcslen;
16482 using ::wcsncat;
16483 using ::wcsncmp;
16484 using ::wcsncpy;
16485 using ::wcspbrk;
16486 using ::wcsrchr;
16487 using ::wcsrtombs;
16488 using ::wcsspn;
16489 using ::wcsstr;
16490 using ::wcstod;
16491 using ::wcstok;
16492 using ::wcstol;
16493 using ::wcstoul;
16494 using ::wcsxfrm;
16495 using ::wctob;
16496 using ::wmemchr;
16497 using ::wmemcmp;
16498 using ::wmemcpy;
16499 using ::wmemmove;
16500 using ::wmemset;
16501 using ::wprintf;
16502 using ::wscanf;
16506 main ()
16510 return 0;
16512 _ACEOF
16513 if ac_fn_cxx_try_compile "$LINENO"; then :
16515 else
16516 enable_wchar_t=no
16518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16519 else
16520 enable_wchar_t=no
16523 ac_ext=c
16524 ac_cpp='$CPP $CPPFLAGS'
16525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16531 if test x"$enable_wchar_t" = x"yes"; then
16533 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16538 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16540 $as_echo "$enable_wchar_t" >&6; }
16544 # Check whether --enable-c99 was given.
16545 if test "${enable_c99+set}" = set; then :
16546 enableval=$enable_c99;
16547 case "$enableval" in
16548 yes|no) ;;
16549 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16550 esac
16552 else
16553 enable_c99=yes
16558 if test x"$enable_c99" = x"yes"; then
16560 ac_ext=cpp
16561 ac_cpp='$CXXCPP $CPPFLAGS'
16562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16567 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
16568 # undefined may cause fake C99 facilities, like pre-standard snprintf,
16569 # to be spuriously enabled.
16570 ac_save_CXXFLAGS="$CXXFLAGS"
16571 CXXFLAGS="$CXXFLAGS -std=c++98"
16572 ac_save_LIBS="$LIBS"
16573 ac_save_gcc_no_link="$gcc_no_link"
16575 if test x$gcc_no_link != xyes; then
16576 # Use -fno-exceptions to that the C driver can link these tests without
16577 # hitting undefined references to personality routines.
16578 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16580 $as_echo_n "checking for sin in -lm... " >&6; }
16581 if test "${ac_cv_lib_m_sin+set}" = set; then :
16582 $as_echo_n "(cached) " >&6
16583 else
16584 ac_check_lib_save_LIBS=$LIBS
16585 LIBS="-lm $LIBS"
16586 if test x$gcc_no_link = xyes; then
16587 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16590 /* end confdefs.h. */
16592 /* Override any GCC internal prototype to avoid an error.
16593 Use char because int might match the return type of a GCC
16594 builtin and then its argument prototype would still apply. */
16595 #ifdef __cplusplus
16596 extern "C"
16597 #endif
16598 char sin ();
16600 main ()
16602 return sin ();
16604 return 0;
16606 _ACEOF
16607 if ac_fn_cxx_try_link "$LINENO"; then :
16608 ac_cv_lib_m_sin=yes
16609 else
16610 ac_cv_lib_m_sin=no
16612 rm -f core conftest.err conftest.$ac_objext \
16613 conftest$ac_exeext conftest.$ac_ext
16614 LIBS=$ac_check_lib_save_LIBS
16616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16617 $as_echo "$ac_cv_lib_m_sin" >&6; }
16618 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16619 LIBS="$LIBS -lm"
16620 else
16622 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16623 gcc_no_link=yes
16629 # Check for the existence of <math.h> functions used if C99 is enabled.
16630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
16631 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
16632 if test "${glibcxx_cv_c99_math_cxx98+set}" = set; then :
16633 $as_echo_n "(cached) " >&6
16634 else
16636 if test x$gcc_no_link = xyes; then
16637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16638 /* end confdefs.h. */
16639 #include <math.h>
16640 volatile double d1, d2;
16641 volatile int i;
16643 main ()
16645 i = fpclassify(d1);
16646 i = isfinite(d1);
16647 i = isinf(d1);
16648 i = isnan(d1);
16649 i = isnormal(d1);
16650 i = signbit(d1);
16651 i = isgreater(d1, d2);
16652 i = isgreaterequal(d1, d2);
16653 i = isless(d1, d2);
16654 i = islessequal(d1, d2);
16655 i = islessgreater(d1, d2);
16656 i = islessgreater(d1, d2);
16657 i = isunordered(d1, d2);
16660 return 0;
16662 _ACEOF
16663 if ac_fn_cxx_try_compile "$LINENO"; then :
16664 glibcxx_cv_c99_math_cxx98=yes
16665 else
16666 glibcxx_cv_c99_math_cxx98=no
16668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16669 else
16670 if test x$gcc_no_link = xyes; then
16671 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16674 /* end confdefs.h. */
16675 #include <math.h>
16676 volatile double d1, d2;
16677 volatile int i;
16679 main ()
16681 i = fpclassify(d1);
16682 i = isfinite(d1);
16683 i = isinf(d1);
16684 i = isnan(d1);
16685 i = isnormal(d1);
16686 i = signbit(d1);
16687 i = isgreater(d1, d2);
16688 i = isgreaterequal(d1, d2);
16689 i = isless(d1, d2);
16690 i = islessequal(d1, d2);
16691 i = islessgreater(d1, d2);
16692 i = islessgreater(d1, d2);
16693 i = isunordered(d1, d2);
16696 return 0;
16698 _ACEOF
16699 if ac_fn_cxx_try_link "$LINENO"; then :
16700 glibcxx_cv_c99_math_cxx98=yes
16701 else
16702 glibcxx_cv_c99_math_cxx98=no
16704 rm -f core conftest.err conftest.$ac_objext \
16705 conftest$ac_exeext conftest.$ac_ext
16710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
16711 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
16712 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
16714 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
16718 # Check for the existence of <complex.h> complex math functions.
16719 # This is necessary even though libstdc++ uses the builtin versions
16720 # of these functions, because if the builtin cannot be used, a reference
16721 # to the library function is emitted.
16722 for ac_header in tgmath.h
16723 do :
16724 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16725 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16726 cat >>confdefs.h <<_ACEOF
16727 #define HAVE_TGMATH_H 1
16728 _ACEOF
16729 ac_has_tgmath_h=yes
16730 else
16731 ac_has_tgmath_h=no
16734 done
16736 for ac_header in complex.h
16737 do :
16738 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16739 if test "x$ac_cv_header_complex_h" = x""yes; then :
16740 cat >>confdefs.h <<_ACEOF
16741 #define HAVE_COMPLEX_H 1
16742 _ACEOF
16743 ac_has_complex_h=yes
16744 else
16745 ac_has_complex_h=no
16748 done
16750 if test x"$ac_has_complex_h" = x"yes"; then
16751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
16752 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
16753 if test "${glibcxx_cv_c99_complex_cxx98+set}" = set; then :
16754 $as_echo_n "(cached) " >&6
16755 else
16757 if test x$gcc_no_link = xyes; then
16758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16759 /* end confdefs.h. */
16760 #include <complex.h>
16761 typedef __complex__ float float_type;
16762 typedef __complex__ double double_type;
16763 typedef __complex__ long double ld_type;
16764 volatile float_type tmpf;
16765 volatile double_type tmpd;
16766 volatile ld_type tmpld;
16767 volatile float f;
16768 volatile double d;
16769 volatile long double ld;
16771 main ()
16773 f = cabsf(tmpf);
16774 f = cargf(tmpf);
16775 tmpf = ccosf(tmpf);
16776 tmpf = ccoshf(tmpf);
16777 tmpf = cexpf(tmpf);
16778 tmpf = clogf(tmpf);
16779 tmpf = csinf(tmpf);
16780 tmpf = csinhf(tmpf);
16781 tmpf = csqrtf(tmpf);
16782 tmpf = ctanf(tmpf);
16783 tmpf = ctanhf(tmpf);
16784 tmpf = cpowf(tmpf, tmpf);
16785 tmpf = cprojf(tmpf);
16786 d = cabs(tmpd);
16787 d = carg(tmpd);
16788 tmpd = ccos(tmpd);
16789 tmpd = ccosh(tmpd);
16790 tmpd = cexp(tmpd);
16791 tmpd = clog(tmpd);
16792 tmpd = csin(tmpd);
16793 tmpd = csinh(tmpd);
16794 tmpd = csqrt(tmpd);
16795 tmpd = ctan(tmpd);
16796 tmpd = ctanh(tmpd);
16797 tmpd = cpow(tmpd, tmpd);
16798 tmpd = cproj(tmpd);
16799 ld = cabsl(tmpld);
16800 ld = cargl(tmpld);
16801 tmpld = ccosl(tmpld);
16802 tmpld = ccoshl(tmpld);
16803 tmpld = cexpl(tmpld);
16804 tmpld = clogl(tmpld);
16805 tmpld = csinl(tmpld);
16806 tmpld = csinhl(tmpld);
16807 tmpld = csqrtl(tmpld);
16808 tmpld = ctanl(tmpld);
16809 tmpld = ctanhl(tmpld);
16810 tmpld = cpowl(tmpld, tmpld);
16811 tmpld = cprojl(tmpld);
16814 return 0;
16816 _ACEOF
16817 if ac_fn_cxx_try_compile "$LINENO"; then :
16818 glibcxx_cv_c99_complex_cxx98=yes
16819 else
16820 glibcxx_cv_c99_complex_cxx98=no
16822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16823 else
16824 if test x$gcc_no_link = xyes; then
16825 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16828 /* end confdefs.h. */
16829 #include <complex.h>
16830 typedef __complex__ float float_type;
16831 typedef __complex__ double double_type;
16832 typedef __complex__ long double ld_type;
16833 volatile float_type tmpf;
16834 volatile double_type tmpd;
16835 volatile ld_type tmpld;
16836 volatile float f;
16837 volatile double d;
16838 volatile long double ld;
16840 main ()
16842 f = cabsf(tmpf);
16843 f = cargf(tmpf);
16844 tmpf = ccosf(tmpf);
16845 tmpf = ccoshf(tmpf);
16846 tmpf = cexpf(tmpf);
16847 tmpf = clogf(tmpf);
16848 tmpf = csinf(tmpf);
16849 tmpf = csinhf(tmpf);
16850 tmpf = csqrtf(tmpf);
16851 tmpf = ctanf(tmpf);
16852 tmpf = ctanhf(tmpf);
16853 tmpf = cpowf(tmpf, tmpf);
16854 tmpf = cprojf(tmpf);
16855 d = cabs(tmpd);
16856 d = carg(tmpd);
16857 tmpd = ccos(tmpd);
16858 tmpd = ccosh(tmpd);
16859 tmpd = cexp(tmpd);
16860 tmpd = clog(tmpd);
16861 tmpd = csin(tmpd);
16862 tmpd = csinh(tmpd);
16863 tmpd = csqrt(tmpd);
16864 tmpd = ctan(tmpd);
16865 tmpd = ctanh(tmpd);
16866 tmpd = cpow(tmpd, tmpd);
16867 tmpd = cproj(tmpd);
16868 ld = cabsl(tmpld);
16869 ld = cargl(tmpld);
16870 tmpld = ccosl(tmpld);
16871 tmpld = ccoshl(tmpld);
16872 tmpld = cexpl(tmpld);
16873 tmpld = clogl(tmpld);
16874 tmpld = csinl(tmpld);
16875 tmpld = csinhl(tmpld);
16876 tmpld = csqrtl(tmpld);
16877 tmpld = ctanl(tmpld);
16878 tmpld = ctanhl(tmpld);
16879 tmpld = cpowl(tmpld, tmpld);
16880 tmpld = cprojl(tmpld);
16883 return 0;
16885 _ACEOF
16886 if ac_fn_cxx_try_link "$LINENO"; then :
16887 glibcxx_cv_c99_complex_cxx98=yes
16888 else
16889 glibcxx_cv_c99_complex_cxx98=no
16891 rm -f core conftest.err conftest.$ac_objext \
16892 conftest$ac_exeext conftest.$ac_ext
16898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
16899 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
16900 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
16902 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
16906 # Check for the existence in <stdio.h> of vscanf, et. al.
16907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
16908 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
16909 if test "${glibcxx_cv_c99_stdio_cxx98+set}" = set; then :
16910 $as_echo_n "(cached) " >&6
16911 else
16913 if test x$gcc_no_link = xyes; then
16914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16915 /* end confdefs.h. */
16916 #include <stdio.h>
16917 #include <stdarg.h>
16918 void foo(char* fmt, ...)
16920 va_list args; va_start(args, fmt);
16921 vfscanf(stderr, "%i", args);
16922 vscanf("%i", args);
16923 vsnprintf(fmt, 0, "%i", args);
16924 vsscanf(fmt, "%i", args);
16925 snprintf(fmt, 0, "%i");
16928 main ()
16932 return 0;
16934 _ACEOF
16935 if ac_fn_cxx_try_compile "$LINENO"; then :
16936 glibcxx_cv_c99_stdio_cxx98=yes
16937 else
16938 glibcxx_cv_c99_stdio_cxx98=no
16940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16941 else
16942 if test x$gcc_no_link = xyes; then
16943 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16946 /* end confdefs.h. */
16947 #include <stdio.h>
16948 #include <stdarg.h>
16949 void foo(char* fmt, ...)
16951 va_list args; va_start(args, fmt);
16952 vfscanf(stderr, "%i", args);
16953 vscanf("%i", args);
16954 vsnprintf(fmt, 0, "%i", args);
16955 vsscanf(fmt, "%i", args);
16956 snprintf(fmt, 0, "%i");
16959 main ()
16963 return 0;
16965 _ACEOF
16966 if ac_fn_cxx_try_link "$LINENO"; then :
16967 glibcxx_cv_c99_stdio_cxx98=yes
16968 else
16969 glibcxx_cv_c99_stdio_cxx98=no
16971 rm -f core conftest.err conftest.$ac_objext \
16972 conftest$ac_exeext conftest.$ac_ext
16977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
16978 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
16979 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
16981 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
16985 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
16987 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
16988 if test "${glibcxx_cv_c99_stdlib_cxx98+set}" = set; then :
16989 $as_echo_n "(cached) " >&6
16990 else
16992 if test x$gcc_no_link = xyes; then
16993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16994 /* end confdefs.h. */
16995 #include <stdlib.h>
16996 volatile float f;
16997 volatile long double ld;
16998 volatile unsigned long long ll;
16999 lldiv_t mydivt;
17001 main ()
17003 char* tmp;
17004 f = strtof("gnu", &tmp);
17005 ld = strtold("gnu", &tmp);
17006 ll = strtoll("gnu", &tmp, 10);
17007 ll = strtoull("gnu", &tmp, 10);
17008 ll = llabs(10);
17009 mydivt = lldiv(10,1);
17010 ll = mydivt.quot;
17011 ll = mydivt.rem;
17012 ll = atoll("10");
17013 _Exit(0);
17016 return 0;
17018 _ACEOF
17019 if ac_fn_cxx_try_compile "$LINENO"; then :
17020 glibcxx_cv_c99_stdlib_cxx98=yes
17021 else
17022 glibcxx_cv_c99_stdlib_cxx98=no
17024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17025 else
17026 if test x$gcc_no_link = xyes; then
17027 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17030 /* end confdefs.h. */
17031 #include <stdlib.h>
17032 volatile float f;
17033 volatile long double ld;
17034 volatile unsigned long long ll;
17035 lldiv_t mydivt;
17037 main ()
17039 char* tmp;
17040 f = strtof("gnu", &tmp);
17041 ld = strtold("gnu", &tmp);
17042 ll = strtoll("gnu", &tmp, 10);
17043 ll = strtoull("gnu", &tmp, 10);
17044 ll = llabs(10);
17045 mydivt = lldiv(10,1);
17046 ll = mydivt.quot;
17047 ll = mydivt.rem;
17048 ll = atoll("10");
17049 _Exit(0);
17052 return 0;
17054 _ACEOF
17055 if ac_fn_cxx_try_link "$LINENO"; then :
17056 glibcxx_cv_c99_stdlib_cxx98=yes
17057 else
17058 glibcxx_cv_c99_stdlib_cxx98=no
17060 rm -f core conftest.err conftest.$ac_objext \
17061 conftest$ac_exeext conftest.$ac_ext
17066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17067 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17068 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17070 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17074 # Check for the existence in <wchar.h> of wcstold, etc.
17075 if test x"$ac_has_wchar_h" = xyes &&
17076 test x"$ac_has_wctype_h" = xyes; then
17077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17078 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17079 if test "${glibcxx_cv_c99_wchar_cxx98+set}" = set; then :
17080 $as_echo_n "(cached) " >&6
17081 else
17083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17084 /* end confdefs.h. */
17085 #include <wchar.h>
17086 namespace test
17088 using ::wcstold;
17089 using ::wcstoll;
17090 using ::wcstoull;
17094 main ()
17098 return 0;
17100 _ACEOF
17101 if ac_fn_cxx_try_compile "$LINENO"; then :
17102 glibcxx_cv_c99_wchar_cxx98=yes
17103 else
17104 glibcxx_cv_c99_wchar_cxx98=no
17106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17111 # Checks for wide character functions that may not be present.
17112 # Injection of these is wrapped with guard macros.
17113 # NB: only put functions here, instead of immediately above, if
17114 # absolutely necessary.
17115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17116 /* end confdefs.h. */
17117 #include <wchar.h>
17118 namespace test { using ::vfwscanf; }
17120 main ()
17124 return 0;
17126 _ACEOF
17127 if ac_fn_cxx_try_compile "$LINENO"; then :
17129 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17135 /* end confdefs.h. */
17136 #include <wchar.h>
17137 namespace test { using ::vswscanf; }
17139 main ()
17143 return 0;
17145 _ACEOF
17146 if ac_fn_cxx_try_compile "$LINENO"; then :
17148 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17154 /* end confdefs.h. */
17155 #include <wchar.h>
17156 namespace test { using ::vwscanf; }
17158 main ()
17162 return 0;
17164 _ACEOF
17165 if ac_fn_cxx_try_compile "$LINENO"; then :
17167 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17173 /* end confdefs.h. */
17174 #include <wchar.h>
17175 namespace test { using ::wcstof; }
17177 main ()
17181 return 0;
17183 _ACEOF
17184 if ac_fn_cxx_try_compile "$LINENO"; then :
17186 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17192 /* end confdefs.h. */
17193 #include <wctype.h>
17195 main ()
17197 wint_t t; int i = iswblank(t);
17199 return 0;
17201 _ACEOF
17202 if ac_fn_cxx_try_compile "$LINENO"; then :
17204 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17210 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17211 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17213 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17218 # Option parsed, now set things appropriately.
17219 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17220 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17221 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17222 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17223 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17224 enable_c99=no;
17225 else
17227 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17231 gcc_no_link="$ac_save_gcc_no_link"
17232 LIBS="$ac_save_LIBS"
17233 CXXFLAGS="$ac_save_CXXFLAGS"
17234 ac_ext=c
17235 ac_cpp='$CPP $CPPFLAGS'
17236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17242 ac_ext=cpp
17243 ac_cpp='$CXXCPP $CPPFLAGS'
17244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17249 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17250 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17251 ac_save_CXXFLAGS="$CXXFLAGS"
17252 CXXFLAGS="$CXXFLAGS -std=c++11"
17253 ac_save_LIBS="$LIBS"
17254 ac_save_gcc_no_link="$gcc_no_link"
17256 if test x$gcc_no_link != xyes; then
17257 # Use -fno-exceptions to that the C driver can link these tests without
17258 # hitting undefined references to personality routines.
17259 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17261 $as_echo_n "checking for sin in -lm... " >&6; }
17262 if test "${ac_cv_lib_m_sin+set}" = set; then :
17263 $as_echo_n "(cached) " >&6
17264 else
17265 ac_check_lib_save_LIBS=$LIBS
17266 LIBS="-lm $LIBS"
17267 if test x$gcc_no_link = xyes; then
17268 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17271 /* end confdefs.h. */
17273 /* Override any GCC internal prototype to avoid an error.
17274 Use char because int might match the return type of a GCC
17275 builtin and then its argument prototype would still apply. */
17276 #ifdef __cplusplus
17277 extern "C"
17278 #endif
17279 char sin ();
17281 main ()
17283 return sin ();
17285 return 0;
17287 _ACEOF
17288 if ac_fn_cxx_try_link "$LINENO"; then :
17289 ac_cv_lib_m_sin=yes
17290 else
17291 ac_cv_lib_m_sin=no
17293 rm -f core conftest.err conftest.$ac_objext \
17294 conftest$ac_exeext conftest.$ac_ext
17295 LIBS=$ac_check_lib_save_LIBS
17297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17298 $as_echo "$ac_cv_lib_m_sin" >&6; }
17299 if test "x$ac_cv_lib_m_sin" = x""yes; then :
17300 LIBS="$LIBS -lm"
17301 else
17303 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17304 gcc_no_link=yes
17310 # Check for the existence of <math.h> functions used if C99 is enabled.
17311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17312 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17313 if test "${glibcxx_cv_c99_math_cxx11+set}" = set; then :
17314 $as_echo_n "(cached) " >&6
17315 else
17317 if test x$gcc_no_link = xyes; then
17318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17319 /* end confdefs.h. */
17320 #include <math.h>
17321 volatile double d1, d2;
17322 volatile int i;
17324 main ()
17326 i = fpclassify(d1);
17327 i = isfinite(d1);
17328 i = isinf(d1);
17329 i = isnan(d1);
17330 i = isnormal(d1);
17331 i = signbit(d1);
17332 i = isgreater(d1, d2);
17333 i = isgreaterequal(d1, d2);
17334 i = isless(d1, d2);
17335 i = islessequal(d1, d2);
17336 i = islessgreater(d1, d2);
17337 i = islessgreater(d1, d2);
17338 i = isunordered(d1, d2);
17341 return 0;
17343 _ACEOF
17344 if ac_fn_cxx_try_compile "$LINENO"; then :
17345 glibcxx_cv_c99_math_cxx11=yes
17346 else
17347 glibcxx_cv_c99_math_cxx11=no
17349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17350 else
17351 if test x$gcc_no_link = xyes; then
17352 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17355 /* end confdefs.h. */
17356 #include <math.h>
17357 volatile double d1, d2;
17358 volatile int i;
17360 main ()
17362 i = fpclassify(d1);
17363 i = isfinite(d1);
17364 i = isinf(d1);
17365 i = isnan(d1);
17366 i = isnormal(d1);
17367 i = signbit(d1);
17368 i = isgreater(d1, d2);
17369 i = isgreaterequal(d1, d2);
17370 i = isless(d1, d2);
17371 i = islessequal(d1, d2);
17372 i = islessgreater(d1, d2);
17373 i = islessgreater(d1, d2);
17374 i = isunordered(d1, d2);
17377 return 0;
17379 _ACEOF
17380 if ac_fn_cxx_try_link "$LINENO"; then :
17381 glibcxx_cv_c99_math_cxx11=yes
17382 else
17383 glibcxx_cv_c99_math_cxx11=no
17385 rm -f core conftest.err conftest.$ac_objext \
17386 conftest$ac_exeext conftest.$ac_ext
17391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
17392 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
17393 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
17395 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
17399 # Check for the existence of <complex.h> complex math functions.
17400 # This is necessary even though libstdc++ uses the builtin versions
17401 # of these functions, because if the builtin cannot be used, a reference
17402 # to the library function is emitted.
17403 for ac_header in tgmath.h
17404 do :
17405 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17406 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
17407 cat >>confdefs.h <<_ACEOF
17408 #define HAVE_TGMATH_H 1
17409 _ACEOF
17410 ac_has_tgmath_h=yes
17411 else
17412 ac_has_tgmath_h=no
17415 done
17417 for ac_header in complex.h
17418 do :
17419 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17420 if test "x$ac_cv_header_complex_h" = x""yes; then :
17421 cat >>confdefs.h <<_ACEOF
17422 #define HAVE_COMPLEX_H 1
17423 _ACEOF
17424 ac_has_complex_h=yes
17425 else
17426 ac_has_complex_h=no
17429 done
17431 if test x"$ac_has_complex_h" = x"yes"; then
17432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
17433 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
17434 if test "${glibcxx_cv_c99_complex_cxx11+set}" = set; then :
17435 $as_echo_n "(cached) " >&6
17436 else
17438 if test x$gcc_no_link = xyes; then
17439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17440 /* end confdefs.h. */
17441 #include <complex.h>
17442 typedef __complex__ float float_type;
17443 typedef __complex__ double double_type;
17444 typedef __complex__ long double ld_type;
17445 volatile float_type tmpf;
17446 volatile double_type tmpd;
17447 volatile ld_type tmpld;
17448 volatile float f;
17449 volatile double d;
17450 volatile long double ld;
17452 main ()
17454 f = cabsf(tmpf);
17455 f = cargf(tmpf);
17456 tmpf = ccosf(tmpf);
17457 tmpf = ccoshf(tmpf);
17458 tmpf = cexpf(tmpf);
17459 tmpf = clogf(tmpf);
17460 tmpf = csinf(tmpf);
17461 tmpf = csinhf(tmpf);
17462 tmpf = csqrtf(tmpf);
17463 tmpf = ctanf(tmpf);
17464 tmpf = ctanhf(tmpf);
17465 tmpf = cpowf(tmpf, tmpf);
17466 tmpf = cprojf(tmpf);
17467 d = cabs(tmpd);
17468 d = carg(tmpd);
17469 tmpd = ccos(tmpd);
17470 tmpd = ccosh(tmpd);
17471 tmpd = cexp(tmpd);
17472 tmpd = clog(tmpd);
17473 tmpd = csin(tmpd);
17474 tmpd = csinh(tmpd);
17475 tmpd = csqrt(tmpd);
17476 tmpd = ctan(tmpd);
17477 tmpd = ctanh(tmpd);
17478 tmpd = cpow(tmpd, tmpd);
17479 tmpd = cproj(tmpd);
17480 ld = cabsl(tmpld);
17481 ld = cargl(tmpld);
17482 tmpld = ccosl(tmpld);
17483 tmpld = ccoshl(tmpld);
17484 tmpld = cexpl(tmpld);
17485 tmpld = clogl(tmpld);
17486 tmpld = csinl(tmpld);
17487 tmpld = csinhl(tmpld);
17488 tmpld = csqrtl(tmpld);
17489 tmpld = ctanl(tmpld);
17490 tmpld = ctanhl(tmpld);
17491 tmpld = cpowl(tmpld, tmpld);
17492 tmpld = cprojl(tmpld);
17495 return 0;
17497 _ACEOF
17498 if ac_fn_cxx_try_compile "$LINENO"; then :
17499 glibcxx_cv_c99_complex_cxx11=yes
17500 else
17501 glibcxx_cv_c99_complex_cxx11=no
17503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17504 else
17505 if test x$gcc_no_link = xyes; then
17506 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17509 /* end confdefs.h. */
17510 #include <complex.h>
17511 typedef __complex__ float float_type;
17512 typedef __complex__ double double_type;
17513 typedef __complex__ long double ld_type;
17514 volatile float_type tmpf;
17515 volatile double_type tmpd;
17516 volatile ld_type tmpld;
17517 volatile float f;
17518 volatile double d;
17519 volatile long double ld;
17521 main ()
17523 f = cabsf(tmpf);
17524 f = cargf(tmpf);
17525 tmpf = ccosf(tmpf);
17526 tmpf = ccoshf(tmpf);
17527 tmpf = cexpf(tmpf);
17528 tmpf = clogf(tmpf);
17529 tmpf = csinf(tmpf);
17530 tmpf = csinhf(tmpf);
17531 tmpf = csqrtf(tmpf);
17532 tmpf = ctanf(tmpf);
17533 tmpf = ctanhf(tmpf);
17534 tmpf = cpowf(tmpf, tmpf);
17535 tmpf = cprojf(tmpf);
17536 d = cabs(tmpd);
17537 d = carg(tmpd);
17538 tmpd = ccos(tmpd);
17539 tmpd = ccosh(tmpd);
17540 tmpd = cexp(tmpd);
17541 tmpd = clog(tmpd);
17542 tmpd = csin(tmpd);
17543 tmpd = csinh(tmpd);
17544 tmpd = csqrt(tmpd);
17545 tmpd = ctan(tmpd);
17546 tmpd = ctanh(tmpd);
17547 tmpd = cpow(tmpd, tmpd);
17548 tmpd = cproj(tmpd);
17549 ld = cabsl(tmpld);
17550 ld = cargl(tmpld);
17551 tmpld = ccosl(tmpld);
17552 tmpld = ccoshl(tmpld);
17553 tmpld = cexpl(tmpld);
17554 tmpld = clogl(tmpld);
17555 tmpld = csinl(tmpld);
17556 tmpld = csinhl(tmpld);
17557 tmpld = csqrtl(tmpld);
17558 tmpld = ctanl(tmpld);
17559 tmpld = ctanhl(tmpld);
17560 tmpld = cpowl(tmpld, tmpld);
17561 tmpld = cprojl(tmpld);
17564 return 0;
17566 _ACEOF
17567 if ac_fn_cxx_try_link "$LINENO"; then :
17568 glibcxx_cv_c99_complex_cxx11=yes
17569 else
17570 glibcxx_cv_c99_complex_cxx11=no
17572 rm -f core conftest.err conftest.$ac_objext \
17573 conftest$ac_exeext conftest.$ac_ext
17579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
17580 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
17581 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
17583 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
17587 # Check for the existence in <stdio.h> of vscanf, et. al.
17588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
17589 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
17590 if test "${glibcxx_cv_c99_stdio_cxx11+set}" = set; then :
17591 $as_echo_n "(cached) " >&6
17592 else
17594 if test x$gcc_no_link = xyes; then
17595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17596 /* end confdefs.h. */
17597 #include <stdio.h>
17598 #include <stdarg.h>
17599 void foo(char* fmt, ...)
17601 va_list args; va_start(args, fmt);
17602 vfscanf(stderr, "%i", args);
17603 vscanf("%i", args);
17604 vsnprintf(fmt, 0, "%i", args);
17605 vsscanf(fmt, "%i", args);
17606 snprintf(fmt, 0, "%i");
17609 main ()
17613 return 0;
17615 _ACEOF
17616 if ac_fn_cxx_try_compile "$LINENO"; then :
17617 glibcxx_cv_c99_stdio_cxx11=yes
17618 else
17619 glibcxx_cv_c99_stdio_cxx11=no
17621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17622 else
17623 if test x$gcc_no_link = xyes; then
17624 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17627 /* end confdefs.h. */
17628 #include <stdio.h>
17629 #include <stdarg.h>
17630 void foo(char* fmt, ...)
17632 va_list args; va_start(args, fmt);
17633 vfscanf(stderr, "%i", args);
17634 vscanf("%i", args);
17635 vsnprintf(fmt, 0, "%i", args);
17636 vsscanf(fmt, "%i", args);
17637 snprintf(fmt, 0, "%i");
17640 main ()
17644 return 0;
17646 _ACEOF
17647 if ac_fn_cxx_try_link "$LINENO"; then :
17648 glibcxx_cv_c99_stdio_cxx11=yes
17649 else
17650 glibcxx_cv_c99_stdio_cxx11=no
17652 rm -f core conftest.err conftest.$ac_objext \
17653 conftest$ac_exeext conftest.$ac_ext
17658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
17659 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
17660 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
17662 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
17666 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
17668 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
17669 if test "${glibcxx_cv_c99_stdlib_cxx11+set}" = set; then :
17670 $as_echo_n "(cached) " >&6
17671 else
17673 if test x$gcc_no_link = xyes; then
17674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17675 /* end confdefs.h. */
17676 #include <stdlib.h>
17677 volatile float f;
17678 volatile long double ld;
17679 volatile unsigned long long ll;
17680 lldiv_t mydivt;
17682 main ()
17684 char* tmp;
17685 f = strtof("gnu", &tmp);
17686 ld = strtold("gnu", &tmp);
17687 ll = strtoll("gnu", &tmp, 10);
17688 ll = strtoull("gnu", &tmp, 10);
17689 ll = llabs(10);
17690 mydivt = lldiv(10,1);
17691 ll = mydivt.quot;
17692 ll = mydivt.rem;
17693 ll = atoll("10");
17694 _Exit(0);
17697 return 0;
17699 _ACEOF
17700 if ac_fn_cxx_try_compile "$LINENO"; then :
17701 glibcxx_cv_c99_stdlib_cxx11=yes
17702 else
17703 glibcxx_cv_c99_stdlib_cxx11=no
17705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17706 else
17707 if test x$gcc_no_link = xyes; then
17708 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17711 /* end confdefs.h. */
17712 #include <stdlib.h>
17713 volatile float f;
17714 volatile long double ld;
17715 volatile unsigned long long ll;
17716 lldiv_t mydivt;
17718 main ()
17720 char* tmp;
17721 f = strtof("gnu", &tmp);
17722 ld = strtold("gnu", &tmp);
17723 ll = strtoll("gnu", &tmp, 10);
17724 ll = strtoull("gnu", &tmp, 10);
17725 ll = llabs(10);
17726 mydivt = lldiv(10,1);
17727 ll = mydivt.quot;
17728 ll = mydivt.rem;
17729 ll = atoll("10");
17730 _Exit(0);
17733 return 0;
17735 _ACEOF
17736 if ac_fn_cxx_try_link "$LINENO"; then :
17737 glibcxx_cv_c99_stdlib_cxx11=yes
17738 else
17739 glibcxx_cv_c99_stdlib_cxx11=no
17741 rm -f core conftest.err conftest.$ac_objext \
17742 conftest$ac_exeext conftest.$ac_ext
17747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
17748 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
17749 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
17751 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
17755 # Check for the existence in <wchar.h> of wcstold, etc.
17756 if test x"$ac_has_wchar_h" = xyes &&
17757 test x"$ac_has_wctype_h" = xyes; then
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
17759 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
17760 if test "${glibcxx_cv_c99_wchar_cxx11+set}" = set; then :
17761 $as_echo_n "(cached) " >&6
17762 else
17764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17765 /* end confdefs.h. */
17766 #include <wchar.h>
17767 namespace test
17769 using ::wcstold;
17770 using ::wcstoll;
17771 using ::wcstoull;
17775 main ()
17779 return 0;
17781 _ACEOF
17782 if ac_fn_cxx_try_compile "$LINENO"; then :
17783 glibcxx_cv_c99_wchar_cxx11=yes
17784 else
17785 glibcxx_cv_c99_wchar_cxx11=no
17787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17792 # Checks for wide character functions that may not be present.
17793 # Injection of these is wrapped with guard macros.
17794 # NB: only put functions here, instead of immediately above, if
17795 # absolutely necessary.
17796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17797 /* end confdefs.h. */
17798 #include <wchar.h>
17799 namespace test { using ::vfwscanf; }
17801 main ()
17805 return 0;
17807 _ACEOF
17808 if ac_fn_cxx_try_compile "$LINENO"; then :
17810 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17816 /* end confdefs.h. */
17817 #include <wchar.h>
17818 namespace test { using ::vswscanf; }
17820 main ()
17824 return 0;
17826 _ACEOF
17827 if ac_fn_cxx_try_compile "$LINENO"; then :
17829 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17835 /* end confdefs.h. */
17836 #include <wchar.h>
17837 namespace test { using ::vwscanf; }
17839 main ()
17843 return 0;
17845 _ACEOF
17846 if ac_fn_cxx_try_compile "$LINENO"; then :
17848 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17854 /* end confdefs.h. */
17855 #include <wchar.h>
17856 namespace test { using ::wcstof; }
17858 main ()
17862 return 0;
17864 _ACEOF
17865 if ac_fn_cxx_try_compile "$LINENO"; then :
17867 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17873 /* end confdefs.h. */
17874 #include <wctype.h>
17876 main ()
17878 wint_t t; int i = iswblank(t);
17880 return 0;
17882 _ACEOF
17883 if ac_fn_cxx_try_compile "$LINENO"; then :
17885 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
17891 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
17892 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
17894 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
17899 gcc_no_link="$ac_save_gcc_no_link"
17900 LIBS="$ac_save_LIBS"
17901 CXXFLAGS="$ac_save_CXXFLAGS"
17902 ac_ext=c
17903 ac_cpp='$CPP $CPPFLAGS'
17904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17911 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17913 $as_echo "$enable_c99" >&6; }
17916 # Check whether --enable-concept-checks was given.
17917 if test "${enable_concept_checks+set}" = set; then :
17918 enableval=$enable_concept_checks;
17919 case "$enableval" in
17920 yes|no) ;;
17921 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17922 esac
17924 else
17925 enable_concept_checks=no
17929 if test $enable_concept_checks = yes; then
17931 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17936 # Check whether --enable-libstdcxx-debug-flags was given.
17937 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17938 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17939 xno | x) enable_libstdcxx_debug_flags= ;;
17940 x-*) ;;
17941 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17942 esac
17943 else
17944 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17949 # Option parsed, now set things appropriately
17950 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17953 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17954 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17958 $as_echo_n "checking for additional debug build... " >&6; }
17959 # Check whether --enable-libstdcxx-debug was given.
17960 if test "${enable_libstdcxx_debug+set}" = set; then :
17961 enableval=$enable_libstdcxx_debug;
17962 case "$enableval" in
17963 yes|no) ;;
17964 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17965 esac
17967 else
17968 enable_libstdcxx_debug=no
17972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17973 $as_echo "$enable_libstdcxx_debug" >&6; }
17978 enable_parallel=no;
17980 # See if configured libgomp/omp.h exists. (libgomp may be in
17981 # noconfigdirs but not explicitly disabled.)
17982 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17983 enable_parallel=yes;
17984 else
17985 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17986 $as_echo "$as_me: target-libgomp not built" >&6;}
17989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17990 $as_echo_n "checking for parallel mode support... " >&6; }
17991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17992 $as_echo "$enable_parallel" >&6; }
17994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17995 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17996 # Check whether --enable-cxx-flags was given.
17997 if test "${enable_cxx_flags+set}" = set; then :
17998 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17999 xno | x) enable_cxx_flags= ;;
18000 x-*) ;;
18001 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18002 esac
18003 else
18004 enable_cxx_flags=
18009 # Run through flags (either default or command-line) and set anything
18010 # extra (e.g., #defines) that must accompany particular g++ options.
18011 if test -n "$enable_cxx_flags"; then
18012 for f in $enable_cxx_flags; do
18013 case "$f" in
18014 -fhonor-std) ;;
18015 -*) ;;
18016 *) # and we're trying to pass /what/ exactly?
18017 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
18018 esac
18019 done
18022 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18024 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18028 # Check whether --enable-fully-dynamic-string was given.
18029 if test "${enable_fully_dynamic_string+set}" = set; then :
18030 enableval=$enable_fully_dynamic_string;
18031 case "$enableval" in
18032 yes|no) ;;
18033 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18034 esac
18036 else
18037 enable_fully_dynamic_string=no
18041 if test $enable_fully_dynamic_string = yes; then
18042 enable_fully_dynamic_string_def=1
18043 else
18044 enable_fully_dynamic_string_def=0
18047 cat >>confdefs.h <<_ACEOF
18048 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18049 _ACEOF
18054 # Check whether --enable-extern-template was given.
18055 if test "${enable_extern_template+set}" = set; then :
18056 enableval=$enable_extern_template;
18057 case "$enableval" in
18058 yes|no) ;;
18059 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18060 esac
18062 else
18063 enable_extern_template=yes
18068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18069 $as_echo_n "checking for extern template support... " >&6; }
18070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18071 $as_echo "$enable_extern_template" >&6; }
18077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18078 $as_echo_n "checking for custom python install directory... " >&6; }
18080 # Check whether --with-python-dir was given.
18081 if test "${with_python_dir+set}" = set; then :
18082 withval=$with_python_dir; with_python_dir=$withval
18083 else
18084 with_python_dir="no"
18087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18088 $as_echo "${with_python_dir}" >&6; }
18090 # Needed for installing Python modules during make install.
18091 python_mod_dir="${with_python_dir}"
18096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18097 $as_echo_n "checking for -Werror... " >&6; }
18098 # Check whether --enable-werror was given.
18099 if test "${enable_werror+set}" = set; then :
18100 enableval=$enable_werror;
18101 case "$enableval" in
18102 yes|no) ;;
18103 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18104 esac
18106 else
18107 enable_werror=yes
18111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18112 $as_echo "$enable_werror" >&6; }
18117 # Check whether --enable-vtable-verify was given.
18118 if test "${enable_vtable_verify+set}" = set; then :
18119 enableval=$enable_vtable_verify;
18120 case "$enableval" in
18121 yes|no) ;;
18122 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18123 esac
18125 else
18126 enable_vtable_verify=no
18131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18132 $as_echo_n "checking for vtable verify support... " >&6; }
18133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18134 $as_echo "$enable_vtable_verify" >&6; }
18136 vtv_cygmin=no
18137 if test $enable_vtable_verify = yes; then
18138 case ${target_os} in
18139 cygwin*|mingw32*)
18140 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18141 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18142 vtv_cygmin=yes
18144 darwin*)
18145 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18146 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18148 solaris2*)
18149 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18150 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18153 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18154 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18156 esac
18157 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18158 else
18159 VTV_CXXFLAGS=
18160 VTV_PCH_CXXFLAGS=
18161 VTV_CXXLINKFLAGS=
18167 if test x$vtv_cygmin = xyes; then
18168 VTV_CYGMIN_TRUE=
18169 VTV_CYGMIN_FALSE='#'
18170 else
18171 VTV_CYGMIN_TRUE='#'
18172 VTV_CYGMIN_FALSE=
18178 # Checks for operating systems support that doesn't require linking.
18182 ac_ext=cpp
18183 ac_cpp='$CXXCPP $CPPFLAGS'
18184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18188 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18189 # and we don't need a declaration for C++14 anyway.
18190 ac_save_CXXFLAGS="$CXXFLAGS"
18191 CXXFLAGS="$CXXFLAGS -std=gnu++11"
18193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18194 $as_echo_n "checking for gets declaration... " >&6; }
18195 if test "${glibcxx_cv_gets+set}" = set; then :
18196 $as_echo_n "(cached) " >&6
18197 else
18199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18200 /* end confdefs.h. */
18201 #include <stdio.h>
18202 namespace test
18204 using ::gets;
18207 _ACEOF
18208 if ac_fn_cxx_try_compile "$LINENO"; then :
18209 glibcxx_cv_gets=yes
18210 else
18211 glibcxx_cv_gets=no
18214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18218 if test $glibcxx_cv_gets = yes; then
18220 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18224 $as_echo "$glibcxx_cv_gets" >&6; }
18226 CXXFLAGS="$ac_save_CXXFLAGS"
18227 ac_ext=c
18228 ac_cpp='$CPP $CPPFLAGS'
18229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18237 ac_ext=cpp
18238 ac_cpp='$CXXCPP $CPPFLAGS'
18239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18243 ac_save_CXXFLAGS="$CXXFLAGS"
18244 CXXFLAGS="$CXXFLAGS -std=c++11"
18246 case "$host" in
18247 *-*-solaris2.*)
18248 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18249 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18251 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18252 if test "${glibcxx_cv_math11_fp_overload+set}" = set; then :
18253 $as_echo_n "(cached) " >&6
18254 else
18256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18257 /* end confdefs.h. */
18258 #include <math.h>
18259 #undef isfinite
18260 namespace std {
18261 inline bool isfinite(float __x)
18262 { return __builtin_isfinite(__x); }
18265 _ACEOF
18266 if ac_fn_cxx_try_compile "$LINENO"; then :
18267 glibcxx_cv_math11_fp_overload=no
18268 else
18269 glibcxx_cv_math11_fp_overload=yes
18272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18276 # autoheader cannot handle indented templates.
18279 if test $glibcxx_cv_math11_fp_overload = yes; then
18280 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18284 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18286 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18287 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18289 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18290 if test "${glibcxx_cv_math11_int_overload+set}" = set; then :
18291 $as_echo_n "(cached) " >&6
18292 else
18294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18295 /* end confdefs.h. */
18296 #include <math.h>
18297 namespace std {
18298 template<typename _Tp>
18299 struct __is_integer;
18300 template<>
18301 struct __is_integer<int>
18303 enum { __value = 1 };
18306 namespace __gnu_cxx {
18307 template<bool, typename>
18308 struct __enable_if;
18309 template<typename _Tp>
18310 struct __enable_if<true, _Tp>
18311 { typedef _Tp __type; };
18313 namespace std {
18314 template<typename _Tp>
18315 constexpr typename __gnu_cxx::__enable_if
18316 <__is_integer<_Tp>::__value, double>::__type
18317 log2(_Tp __x)
18318 { return __builtin_log2(__x); }
18321 main (void)
18323 int i = 1000;
18324 return std::log2(i);
18327 _ACEOF
18328 if ac_fn_cxx_try_compile "$LINENO"; then :
18329 glibcxx_cv_math11_int_overload=no
18330 else
18331 glibcxx_cv_math11_int_overload=yes
18334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18338 # autoheader cannot handle indented templates.
18341 if test $glibcxx_cv_math11_int_overload = yes; then
18342 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
18345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
18346 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
18349 # If <math.h> defines the obsolete isinf(double) and isnan(double)
18350 # functions (instead of or as well as the C99 generic macros) then we
18351 # can't define std::isinf(double) and std::isnan(double) in <cmath>
18352 # and must use the ones from <math.h> instead.
18353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18354 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18355 if test "${glibcxx_cv_obsolete_isinf+set}" = set; then :
18356 $as_echo_n "(cached) " >&6
18357 else
18359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18360 /* end confdefs.h. */
18361 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18362 #include <math.h>
18363 #undef isinf
18364 namespace std {
18365 using ::isinf;
18366 bool isinf(float);
18367 bool isinf(long double);
18369 using std::isinf;
18370 bool b = isinf(0.0);
18372 _ACEOF
18373 if ac_fn_cxx_try_compile "$LINENO"; then :
18374 glibcxx_cv_obsolete_isinf=yes
18375 else
18376 glibcxx_cv_obsolete_isinf=no
18379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
18383 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
18384 if test $glibcxx_cv_obsolete_isinf = yes; then
18386 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
18390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
18391 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
18392 if test "${glibcxx_cv_obsolete_isnan+set}" = set; then :
18393 $as_echo_n "(cached) " >&6
18394 else
18396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18397 /* end confdefs.h. */
18398 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18399 #include <math.h>
18400 #undef isnan
18401 namespace std {
18402 using ::isnan;
18403 bool isnan(float);
18404 bool isnan(long double);
18406 using std::isnan;
18407 bool b = isnan(0.0);
18409 _ACEOF
18410 if ac_fn_cxx_try_compile "$LINENO"; then :
18411 glibcxx_cv_obsolete_isnan=yes
18412 else
18413 glibcxx_cv_obsolete_isnan=no
18416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
18420 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
18421 if test $glibcxx_cv_obsolete_isnan = yes; then
18423 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
18427 esac
18429 CXXFLAGS="$ac_save_CXXFLAGS"
18430 ac_ext=c
18431 ac_cpp='$CPP $CPPFLAGS'
18432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
18440 $as_echo_n "checking for EOWNERDEAD... " >&6; }
18441 if test "${glibcxx_cv_system_error1+set}" = set; then :
18442 $as_echo_n "(cached) " >&6
18443 else
18445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18446 /* end confdefs.h. */
18447 #include <errno.h>
18449 main ()
18451 int i = EOWNERDEAD;
18453 return 0;
18455 _ACEOF
18456 if ac_fn_c_try_compile "$LINENO"; then :
18457 glibcxx_cv_system_error1=yes
18458 else
18459 glibcxx_cv_system_error1=no
18461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
18466 $as_echo "$glibcxx_cv_system_error1" >&6; }
18467 if test x"$glibcxx_cv_system_error1" = x"yes"; then
18469 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
18472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
18473 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
18474 if test "${glibcxx_cv_system_error2+set}" = set; then :
18475 $as_echo_n "(cached) " >&6
18476 else
18478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18479 /* end confdefs.h. */
18480 #include <errno.h>
18482 main ()
18484 int i = ENOTRECOVERABLE;
18486 return 0;
18488 _ACEOF
18489 if ac_fn_c_try_compile "$LINENO"; then :
18490 glibcxx_cv_system_error2=yes
18491 else
18492 glibcxx_cv_system_error2=no
18494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
18499 $as_echo "$glibcxx_cv_system_error2" >&6; }
18500 if test x"$glibcxx_cv_system_error2" = x"yes"; then
18502 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
18505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
18506 $as_echo_n "checking for ENOLINK... " >&6; }
18507 if test "${glibcxx_cv_system_error3+set}" = set; then :
18508 $as_echo_n "(cached) " >&6
18509 else
18511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18512 /* end confdefs.h. */
18513 #include <errno.h>
18515 main ()
18517 int i = ENOLINK;
18519 return 0;
18521 _ACEOF
18522 if ac_fn_c_try_compile "$LINENO"; then :
18523 glibcxx_cv_system_error3=yes
18524 else
18525 glibcxx_cv_system_error3=no
18527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
18532 $as_echo "$glibcxx_cv_system_error3" >&6; }
18533 if test x"$glibcxx_cv_system_error3" = x"yes"; then
18535 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
18538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
18539 $as_echo_n "checking for EPROTO... " >&6; }
18540 if test "${glibcxx_cv_system_error4+set}" = set; then :
18541 $as_echo_n "(cached) " >&6
18542 else
18544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18545 /* end confdefs.h. */
18546 #include <errno.h>
18548 main ()
18550 int i = EPROTO;
18552 return 0;
18554 _ACEOF
18555 if ac_fn_c_try_compile "$LINENO"; then :
18556 glibcxx_cv_system_error4=yes
18557 else
18558 glibcxx_cv_system_error4=no
18560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
18565 $as_echo "$glibcxx_cv_system_error4" >&6; }
18566 if test x"$glibcxx_cv_system_error4" = x"yes"; then
18568 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
18571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
18572 $as_echo_n "checking for ENODATA... " >&6; }
18573 if test "${glibcxx_cv_system_error5+set}" = set; then :
18574 $as_echo_n "(cached) " >&6
18575 else
18577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18578 /* end confdefs.h. */
18579 #include <errno.h>
18581 main ()
18583 int i = ENODATA;
18585 return 0;
18587 _ACEOF
18588 if ac_fn_c_try_compile "$LINENO"; then :
18589 glibcxx_cv_system_error5=yes
18590 else
18591 glibcxx_cv_system_error5=no
18593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
18598 $as_echo "$glibcxx_cv_system_error5" >&6; }
18599 if test x"$glibcxx_cv_system_error5" = x"yes"; then
18601 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
18604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
18605 $as_echo_n "checking for ENOSR... " >&6; }
18606 if test "${glibcxx_cv_system_error6+set}" = set; then :
18607 $as_echo_n "(cached) " >&6
18608 else
18610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18611 /* end confdefs.h. */
18612 #include <errno.h>
18614 main ()
18616 int i = ENOSR;
18618 return 0;
18620 _ACEOF
18621 if ac_fn_c_try_compile "$LINENO"; then :
18622 glibcxx_cv_system_error6=yes
18623 else
18624 glibcxx_cv_system_error6=no
18626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
18631 $as_echo "$glibcxx_cv_system_error6" >&6; }
18632 if test x"$glibcxx_cv_system_error6" = x"yes"; then
18634 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
18637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
18638 $as_echo_n "checking for ENOSTR... " >&6; }
18639 if test "${glibcxx_cv_system_error7+set}" = set; then :
18640 $as_echo_n "(cached) " >&6
18641 else
18643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18644 /* end confdefs.h. */
18645 #include <errno.h>
18647 main ()
18649 int i = ENOSTR;
18651 return 0;
18653 _ACEOF
18654 if ac_fn_c_try_compile "$LINENO"; then :
18655 glibcxx_cv_system_error7=yes
18656 else
18657 glibcxx_cv_system_error7=no
18659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
18664 $as_echo "$glibcxx_cv_system_error7" >&6; }
18665 if test x"$glibcxx_cv_system_error7" = x"yes"; then
18667 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
18670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
18671 $as_echo_n "checking for ETIME... " >&6; }
18672 if test "${glibcxx_cv_system_error8+set}" = set; then :
18673 $as_echo_n "(cached) " >&6
18674 else
18676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18677 /* end confdefs.h. */
18678 #include <errno.h>
18680 main ()
18682 int i = ETIME;
18684 return 0;
18686 _ACEOF
18687 if ac_fn_c_try_compile "$LINENO"; then :
18688 glibcxx_cv_system_error8=yes
18689 else
18690 glibcxx_cv_system_error8=no
18692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
18697 $as_echo "$glibcxx_cv_system_error8" >&6; }
18698 if test x"$glibcxx_cv_system_error8" = x"yes"; then
18700 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
18703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
18704 $as_echo_n "checking for EBADMSG... " >&6; }
18705 if test "${glibcxx_cv_system_error9+set}" = set; then :
18706 $as_echo_n "(cached) " >&6
18707 else
18709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18710 /* end confdefs.h. */
18711 #include <errno.h>
18713 main ()
18715 int i = EBADMSG;
18717 return 0;
18719 _ACEOF
18720 if ac_fn_c_try_compile "$LINENO"; then :
18721 glibcxx_cv_system_error9=yes
18722 else
18723 glibcxx_cv_system_error9=no
18725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
18730 $as_echo "$glibcxx_cv_system_error9" >&6; }
18731 if test x"$glibcxx_cv_system_error9" = x"yes"; then
18733 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
18736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
18737 $as_echo_n "checking for ECANCELED... " >&6; }
18738 if test "${glibcxx_cv_system_error10+set}" = set; then :
18739 $as_echo_n "(cached) " >&6
18740 else
18742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18743 /* end confdefs.h. */
18744 #include <errno.h>
18746 main ()
18748 int i = ECANCELED;
18750 return 0;
18752 _ACEOF
18753 if ac_fn_c_try_compile "$LINENO"; then :
18754 glibcxx_cv_system_error10=yes
18755 else
18756 glibcxx_cv_system_error10=no
18758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
18763 $as_echo "$glibcxx_cv_system_error10" >&6; }
18764 if test x"$glibcxx_cv_system_error10" = x"yes"; then
18766 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
18769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
18770 $as_echo_n "checking for EOVERFLOW... " >&6; }
18771 if test "${glibcxx_cv_system_error11+set}" = set; then :
18772 $as_echo_n "(cached) " >&6
18773 else
18775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18776 /* end confdefs.h. */
18777 #include <errno.h>
18779 main ()
18781 int i = EOVERFLOW;
18783 return 0;
18785 _ACEOF
18786 if ac_fn_c_try_compile "$LINENO"; then :
18787 glibcxx_cv_system_error11=yes
18788 else
18789 glibcxx_cv_system_error11=no
18791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
18796 $as_echo "$glibcxx_cv_system_error11" >&6; }
18797 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18799 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
18802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
18803 $as_echo_n "checking for ENOTSUP... " >&6; }
18804 if test "${glibcxx_cv_system_error12+set}" = set; then :
18805 $as_echo_n "(cached) " >&6
18806 else
18808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18809 /* end confdefs.h. */
18810 #include <errno.h>
18812 main ()
18814 int i = ENOTSUP;
18816 return 0;
18818 _ACEOF
18819 if ac_fn_c_try_compile "$LINENO"; then :
18820 glibcxx_cv_system_error12=yes
18821 else
18822 glibcxx_cv_system_error12=no
18824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
18829 $as_echo "$glibcxx_cv_system_error12" >&6; }
18830 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18832 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
18835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
18836 $as_echo_n "checking for EIDRM... " >&6; }
18837 if test "${glibcxx_cv_system_error13+set}" = set; then :
18838 $as_echo_n "(cached) " >&6
18839 else
18841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18842 /* end confdefs.h. */
18843 #include <errno.h>
18845 main ()
18847 int i = EIDRM;
18849 return 0;
18851 _ACEOF
18852 if ac_fn_c_try_compile "$LINENO"; then :
18853 glibcxx_cv_system_error13=yes
18854 else
18855 glibcxx_cv_system_error13=no
18857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
18862 $as_echo "$glibcxx_cv_system_error13" >&6; }
18863 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18865 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
18868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
18869 $as_echo_n "checking for ETXTBSY... " >&6; }
18870 if test "${glibcxx_cv_system_error14+set}" = set; then :
18871 $as_echo_n "(cached) " >&6
18872 else
18874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18875 /* end confdefs.h. */
18876 #include <errno.h>
18878 main ()
18880 int i = ETXTBSY;
18882 return 0;
18884 _ACEOF
18885 if ac_fn_c_try_compile "$LINENO"; then :
18886 glibcxx_cv_system_error14=yes
18887 else
18888 glibcxx_cv_system_error14=no
18890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
18895 $as_echo "$glibcxx_cv_system_error14" >&6; }
18896 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18898 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
18901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
18902 $as_echo_n "checking for ECHILD... " >&6; }
18903 if test "${glibcxx_cv_system_error15+set}" = set; then :
18904 $as_echo_n "(cached) " >&6
18905 else
18907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18908 /* end confdefs.h. */
18909 #include <errno.h>
18911 main ()
18913 int i = ECHILD;
18915 return 0;
18917 _ACEOF
18918 if ac_fn_c_try_compile "$LINENO"; then :
18919 glibcxx_cv_system_error15=yes
18920 else
18921 glibcxx_cv_system_error15=no
18923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18928 $as_echo "$glibcxx_cv_system_error15" >&6; }
18929 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18931 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18935 $as_echo_n "checking for ENOSPC... " >&6; }
18936 if test "${glibcxx_cv_system_error16+set}" = set; then :
18937 $as_echo_n "(cached) " >&6
18938 else
18940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18941 /* end confdefs.h. */
18942 #include <errno.h>
18944 main ()
18946 int i = ENOSPC;
18948 return 0;
18950 _ACEOF
18951 if ac_fn_c_try_compile "$LINENO"; then :
18952 glibcxx_cv_system_error16=yes
18953 else
18954 glibcxx_cv_system_error16=no
18956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18961 $as_echo "$glibcxx_cv_system_error16" >&6; }
18962 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18964 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18968 $as_echo_n "checking for EPERM... " >&6; }
18969 if test "${glibcxx_cv_system_error17+set}" = set; then :
18970 $as_echo_n "(cached) " >&6
18971 else
18973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18974 /* end confdefs.h. */
18975 #include <errno.h>
18977 main ()
18979 int i = EPERM;
18981 return 0;
18983 _ACEOF
18984 if ac_fn_c_try_compile "$LINENO"; then :
18985 glibcxx_cv_system_error17=yes
18986 else
18987 glibcxx_cv_system_error17=no
18989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18994 $as_echo "$glibcxx_cv_system_error17" >&6; }
18995 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18997 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
19000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
19001 $as_echo_n "checking for ETIMEDOUT... " >&6; }
19002 if test "${glibcxx_cv_system_error18+set}" = set; then :
19003 $as_echo_n "(cached) " >&6
19004 else
19006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19007 /* end confdefs.h. */
19008 #include <errno.h>
19010 main ()
19012 int i = ETIMEDOUT;
19014 return 0;
19016 _ACEOF
19017 if ac_fn_c_try_compile "$LINENO"; then :
19018 glibcxx_cv_system_error18=yes
19019 else
19020 glibcxx_cv_system_error18=no
19022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
19027 $as_echo "$glibcxx_cv_system_error18" >&6; }
19028 if test x"$glibcxx_cv_system_error18" = x"yes"; then
19030 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
19033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
19034 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
19035 if test "${glibcxx_cv_system_error19+set}" = set; then :
19036 $as_echo_n "(cached) " >&6
19037 else
19039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19040 /* end confdefs.h. */
19041 #include <errno.h>
19043 main ()
19045 int i = EWOULDBLOCK;
19047 return 0;
19049 _ACEOF
19050 if ac_fn_c_try_compile "$LINENO"; then :
19051 glibcxx_cv_system_error19=yes
19052 else
19053 glibcxx_cv_system_error19=no
19055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
19060 $as_echo "$glibcxx_cv_system_error19" >&6; }
19061 if test x"$glibcxx_cv_system_error19" = x"yes"; then
19063 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
19070 # Test uchar.h.
19071 for ac_header in uchar.h
19072 do :
19073 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19074 if test "x$ac_cv_header_uchar_h" = x""yes; then :
19075 cat >>confdefs.h <<_ACEOF
19076 #define HAVE_UCHAR_H 1
19077 _ACEOF
19078 ac_has_uchar_h=yes
19079 else
19080 ac_has_uchar_h=no
19083 done
19087 ac_ext=cpp
19088 ac_cpp='$CXXCPP $CPPFLAGS'
19089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19093 ac_save_CXXFLAGS="$CXXFLAGS"
19094 CXXFLAGS="$CXXFLAGS -std=c++11"
19096 if test x"$ac_has_uchar_h" = x"yes"; then
19097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19098 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19100 /* end confdefs.h. */
19101 #include <uchar.h>
19102 #ifdef __STDC_UTF_16__
19103 long i = __STDC_UTF_16__;
19104 #endif
19105 #ifdef __STDC_UTF_32__
19106 long j = __STDC_UTF_32__;
19107 #endif
19108 namespace test
19110 using ::c16rtomb;
19111 using ::c32rtomb;
19112 using ::mbrtoc16;
19113 using ::mbrtoc32;
19117 main ()
19121 return 0;
19123 _ACEOF
19124 if ac_fn_cxx_try_compile "$LINENO"; then :
19125 ac_c11_uchar_cxx11=yes
19126 else
19127 ac_c11_uchar_cxx11=no
19129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19130 else
19131 ac_c11_uchar_cxx11=no
19133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19134 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19135 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19137 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19141 CXXFLAGS="$ac_save_CXXFLAGS"
19142 ac_ext=c
19143 ac_cpp='$CPP $CPPFLAGS'
19144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19150 # For the streamoff typedef.
19154 ac_ext=cpp
19155 ac_cpp='$CXXCPP $CPPFLAGS'
19156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
19162 $as_echo_n "checking for int64_t... " >&6; }
19163 if test "${glibcxx_cv_INT64_T+set}" = set; then :
19164 $as_echo_n "(cached) " >&6
19165 else
19167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19168 /* end confdefs.h. */
19169 #include <stdint.h>
19171 main ()
19173 int64_t var;
19175 return 0;
19177 _ACEOF
19178 if ac_fn_cxx_try_compile "$LINENO"; then :
19179 glibcxx_cv_INT64_T=yes
19180 else
19181 glibcxx_cv_INT64_T=no
19183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19188 if test $glibcxx_cv_INT64_T = yes; then
19190 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
19192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
19193 $as_echo "$glibcxx_cv_INT64_T" >&6; }
19195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
19196 $as_echo_n "checking for int64_t as long... " >&6; }
19197 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
19198 $as_echo_n "(cached) " >&6
19199 else
19201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19202 /* end confdefs.h. */
19203 #include <stdint.h>
19204 template<typename, typename> struct same { enum { value = -1 }; };
19205 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19206 int array[same<int64_t, long>::value];
19208 main ()
19212 return 0;
19214 _ACEOF
19215 if ac_fn_cxx_try_compile "$LINENO"; then :
19216 glibcxx_cv_int64_t_long=yes
19217 else
19218 glibcxx_cv_int64_t_long=no
19220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19225 if test $glibcxx_cv_int64_t_long = yes; then
19227 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19230 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
19233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19234 $as_echo_n "checking for int64_t as long long... " >&6; }
19235 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
19236 $as_echo_n "(cached) " >&6
19237 else
19239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19240 /* end confdefs.h. */
19241 #include <stdint.h>
19242 template<typename, typename> struct same { enum { value = -1 }; };
19243 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19244 int array[same<int64_t, long long>::value];
19246 main ()
19250 return 0;
19252 _ACEOF
19253 if ac_fn_cxx_try_compile "$LINENO"; then :
19254 glibcxx_cv_int64_t_long_long=yes
19255 else
19256 glibcxx_cv_int64_t_long_long=no
19258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19263 if test $glibcxx_cv_int64_t_long_long = yes; then
19265 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19268 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19272 ac_ext=c
19273 ac_cpp='$CPP $CPPFLAGS'
19274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19280 # For LFS support.
19283 ac_ext=cpp
19284 ac_cpp='$CXXCPP $CPPFLAGS'
19285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19289 ac_save_CXXFLAGS="$CXXFLAGS"
19290 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19292 $as_echo_n "checking for LFS support... " >&6; }
19293 if test "${glibcxx_cv_LFS+set}" = set; then :
19294 $as_echo_n "(cached) " >&6
19295 else
19297 if test x$gcc_no_link = xyes; then
19298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19299 /* end confdefs.h. */
19300 #include <unistd.h>
19301 #include <stdio.h>
19302 #include <sys/stat.h>
19305 main ()
19307 FILE* fp;
19308 fopen64("t", "w");
19309 fseeko64(fp, 0, SEEK_CUR);
19310 ftello64(fp);
19311 lseek64(1, 0, SEEK_CUR);
19312 struct stat64 buf;
19313 fstat64(1, &buf);
19315 return 0;
19317 _ACEOF
19318 if ac_fn_cxx_try_compile "$LINENO"; then :
19319 glibcxx_cv_LFS=yes
19320 else
19321 glibcxx_cv_LFS=no
19323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19324 else
19325 if test x$gcc_no_link = xyes; then
19326 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19329 /* end confdefs.h. */
19330 #include <unistd.h>
19331 #include <stdio.h>
19332 #include <sys/stat.h>
19335 main ()
19337 FILE* fp;
19338 fopen64("t", "w");
19339 fseeko64(fp, 0, SEEK_CUR);
19340 ftello64(fp);
19341 lseek64(1, 0, SEEK_CUR);
19342 struct stat64 buf;
19343 fstat64(1, &buf);
19345 return 0;
19347 _ACEOF
19348 if ac_fn_cxx_try_link "$LINENO"; then :
19349 glibcxx_cv_LFS=yes
19350 else
19351 glibcxx_cv_LFS=no
19353 rm -f core conftest.err conftest.$ac_objext \
19354 conftest$ac_exeext conftest.$ac_ext
19359 if test $glibcxx_cv_LFS = yes; then
19361 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19365 $as_echo "$glibcxx_cv_LFS" >&6; }
19366 CXXFLAGS="$ac_save_CXXFLAGS"
19367 ac_ext=c
19368 ac_cpp='$CPP $CPPFLAGS'
19369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19375 # For showmanyc_helper().
19376 for ac_header in sys/ioctl.h sys/filio.h
19377 do :
19378 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19379 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19380 eval as_val=\$$as_ac_Header
19381 if test "x$as_val" = x""yes; then :
19382 cat >>confdefs.h <<_ACEOF
19383 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19384 _ACEOF
19388 done
19393 ac_ext=cpp
19394 ac_cpp='$CXXCPP $CPPFLAGS'
19395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19399 ac_save_CXXFLAGS="$CXXFLAGS"
19400 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19403 $as_echo_n "checking for poll... " >&6; }
19404 if test "${glibcxx_cv_POLL+set}" = set; then :
19405 $as_echo_n "(cached) " >&6
19406 else
19408 if test x$gcc_no_link = xyes; then
19409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19410 /* end confdefs.h. */
19411 #include <poll.h>
19413 main ()
19415 struct pollfd pfd[1];
19416 pfd[0].events = POLLIN;
19417 poll(pfd, 1, 0);
19419 return 0;
19421 _ACEOF
19422 if ac_fn_cxx_try_compile "$LINENO"; then :
19423 glibcxx_cv_POLL=yes
19424 else
19425 glibcxx_cv_POLL=no
19427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19428 else
19429 if test x$gcc_no_link = xyes; then
19430 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19433 /* end confdefs.h. */
19434 #include <poll.h>
19436 main ()
19438 struct pollfd pfd[1];
19439 pfd[0].events = POLLIN;
19440 poll(pfd, 1, 0);
19442 return 0;
19444 _ACEOF
19445 if ac_fn_cxx_try_link "$LINENO"; then :
19446 glibcxx_cv_POLL=yes
19447 else
19448 glibcxx_cv_POLL=no
19450 rm -f core conftest.err conftest.$ac_objext \
19451 conftest$ac_exeext conftest.$ac_ext
19456 if test $glibcxx_cv_POLL = yes; then
19458 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19462 $as_echo "$glibcxx_cv_POLL" >&6; }
19464 CXXFLAGS="$ac_save_CXXFLAGS"
19465 ac_ext=c
19466 ac_cpp='$CPP $CPPFLAGS'
19467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19475 ac_ext=cpp
19476 ac_cpp='$CXXCPP $CPPFLAGS'
19477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19481 ac_save_CXXFLAGS="$CXXFLAGS"
19482 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19485 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19486 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
19487 $as_echo_n "(cached) " >&6
19488 else
19490 if test x$gcc_no_link = xyes; then
19491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19492 /* end confdefs.h. */
19493 #include <sys/stat.h>
19495 main ()
19497 struct stat buffer;
19498 fstat(0, &buffer);
19499 S_ISREG(buffer.st_mode);
19501 return 0;
19503 _ACEOF
19504 if ac_fn_cxx_try_compile "$LINENO"; then :
19505 glibcxx_cv_S_ISREG=yes
19506 else
19507 glibcxx_cv_S_ISREG=no
19509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19510 else
19511 if test x$gcc_no_link = xyes; then
19512 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19515 /* end confdefs.h. */
19516 #include <sys/stat.h>
19518 main ()
19520 struct stat buffer;
19521 fstat(0, &buffer);
19522 S_ISREG(buffer.st_mode);
19524 return 0;
19526 _ACEOF
19527 if ac_fn_cxx_try_link "$LINENO"; then :
19528 glibcxx_cv_S_ISREG=yes
19529 else
19530 glibcxx_cv_S_ISREG=no
19532 rm -f core conftest.err conftest.$ac_objext \
19533 conftest$ac_exeext conftest.$ac_ext
19538 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
19539 $as_echo_n "(cached) " >&6
19540 else
19542 if test x$gcc_no_link = xyes; then
19543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19544 /* end confdefs.h. */
19545 #include <sys/stat.h>
19547 main ()
19549 struct stat buffer;
19550 fstat(0, &buffer);
19551 S_IFREG & buffer.st_mode;
19553 return 0;
19555 _ACEOF
19556 if ac_fn_cxx_try_compile "$LINENO"; then :
19557 glibcxx_cv_S_IFREG=yes
19558 else
19559 glibcxx_cv_S_IFREG=no
19561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19562 else
19563 if test x$gcc_no_link = xyes; then
19564 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19567 /* end confdefs.h. */
19568 #include <sys/stat.h>
19570 main ()
19572 struct stat buffer;
19573 fstat(0, &buffer);
19574 S_IFREG & buffer.st_mode;
19576 return 0;
19578 _ACEOF
19579 if ac_fn_cxx_try_link "$LINENO"; then :
19580 glibcxx_cv_S_IFREG=yes
19581 else
19582 glibcxx_cv_S_IFREG=no
19584 rm -f core conftest.err conftest.$ac_objext \
19585 conftest$ac_exeext conftest.$ac_ext
19590 res=no
19591 if test $glibcxx_cv_S_ISREG = yes; then
19593 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19595 res=S_ISREG
19596 elif test $glibcxx_cv_S_IFREG = yes; then
19598 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19600 res=S_IFREG
19602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19603 $as_echo "$res" >&6; }
19605 CXXFLAGS="$ac_save_CXXFLAGS"
19606 ac_ext=c
19607 ac_cpp='$CPP $CPPFLAGS'
19608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19614 # For xsputn_2().
19615 for ac_header in sys/uio.h
19616 do :
19617 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19618 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
19619 cat >>confdefs.h <<_ACEOF
19620 #define HAVE_SYS_UIO_H 1
19621 _ACEOF
19625 done
19630 ac_ext=cpp
19631 ac_cpp='$CXXCPP $CPPFLAGS'
19632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19636 ac_save_CXXFLAGS="$CXXFLAGS"
19637 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19640 $as_echo_n "checking for writev... " >&6; }
19641 if test "${glibcxx_cv_WRITEV+set}" = set; then :
19642 $as_echo_n "(cached) " >&6
19643 else
19645 if test x$gcc_no_link = xyes; then
19646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19647 /* end confdefs.h. */
19648 #include <sys/uio.h>
19650 main ()
19652 struct iovec iov[2];
19653 writev(0, iov, 0);
19655 return 0;
19657 _ACEOF
19658 if ac_fn_cxx_try_compile "$LINENO"; then :
19659 glibcxx_cv_WRITEV=yes
19660 else
19661 glibcxx_cv_WRITEV=no
19663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19664 else
19665 if test x$gcc_no_link = xyes; then
19666 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19669 /* end confdefs.h. */
19670 #include <sys/uio.h>
19672 main ()
19674 struct iovec iov[2];
19675 writev(0, iov, 0);
19677 return 0;
19679 _ACEOF
19680 if ac_fn_cxx_try_link "$LINENO"; then :
19681 glibcxx_cv_WRITEV=yes
19682 else
19683 glibcxx_cv_WRITEV=no
19685 rm -f core conftest.err conftest.$ac_objext \
19686 conftest$ac_exeext conftest.$ac_ext
19691 if test $glibcxx_cv_WRITEV = yes; then
19693 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19697 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19699 CXXFLAGS="$ac_save_CXXFLAGS"
19700 ac_ext=c
19701 ac_cpp='$CPP $CPPFLAGS'
19702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19708 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19709 # so that the check is done with the C compiler (not C++).
19710 # Checking with C++ can break a canadian cross build if either
19711 # file does not exist in C but does in C++.
19712 for ac_header in fenv.h complex.h
19713 do :
19714 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19715 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19716 eval as_val=\$$as_ac_Header
19717 if test "x$as_val" = x""yes; then :
19718 cat >>confdefs.h <<_ACEOF
19719 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19720 _ACEOF
19724 done
19727 # For C99 support to TR1.
19731 ac_ext=cpp
19732 ac_cpp='$CXXCPP $CPPFLAGS'
19733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19738 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19739 # undefined and fake C99 facilities may be spuriously enabled.
19740 ac_save_CXXFLAGS="$CXXFLAGS"
19741 CXXFLAGS="$CXXFLAGS -std=c++98"
19743 # Check for the existence of <complex.h> complex math functions used
19744 # by tr1/complex.
19745 for ac_header in complex.h
19746 do :
19747 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19748 if test "x$ac_cv_header_complex_h" = x""yes; then :
19749 cat >>confdefs.h <<_ACEOF
19750 #define HAVE_COMPLEX_H 1
19751 _ACEOF
19752 ac_has_complex_h=yes
19753 else
19754 ac_has_complex_h=no
19757 done
19759 ac_c99_complex_tr1=no;
19760 if test x"$ac_has_complex_h" = x"yes"; then
19761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19762 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19764 /* end confdefs.h. */
19765 #include <complex.h>
19767 main ()
19769 typedef __complex__ float float_type; float_type tmpf;
19770 cacosf(tmpf);
19771 casinf(tmpf);
19772 catanf(tmpf);
19773 cacoshf(tmpf);
19774 casinhf(tmpf);
19775 catanhf(tmpf);
19776 typedef __complex__ double double_type; double_type tmpd;
19777 cacos(tmpd);
19778 casin(tmpd);
19779 catan(tmpd);
19780 cacosh(tmpd);
19781 casinh(tmpd);
19782 catanh(tmpd);
19783 typedef __complex__ long double ld_type; ld_type tmpld;
19784 cacosl(tmpld);
19785 casinl(tmpld);
19786 catanl(tmpld);
19787 cacoshl(tmpld);
19788 casinhl(tmpld);
19789 catanhl(tmpld);
19792 return 0;
19794 _ACEOF
19795 if ac_fn_cxx_try_compile "$LINENO"; then :
19796 ac_c99_complex_tr1=yes
19797 else
19798 ac_c99_complex_tr1=no
19800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
19803 $as_echo "$ac_c99_complex_tr1" >&6; }
19804 if test x"$ac_c99_complex_tr1" = x"yes"; then
19806 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
19810 # Check for the existence of <ctype.h> functions.
19811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19812 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
19813 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
19814 $as_echo_n "(cached) " >&6
19815 else
19817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19818 /* end confdefs.h. */
19819 #include <ctype.h>
19821 main ()
19823 int ch;
19824 int ret;
19825 ret = isblank(ch);
19828 return 0;
19830 _ACEOF
19831 if ac_fn_cxx_try_compile "$LINENO"; then :
19832 glibcxx_cv_c99_ctype_tr1=yes
19833 else
19834 glibcxx_cv_c99_ctype_tr1=no
19836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
19841 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
19842 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19844 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
19848 # Check for the existence of <fenv.h> functions.
19849 for ac_header in fenv.h
19850 do :
19851 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19852 if test "x$ac_cv_header_fenv_h" = x""yes; then :
19853 cat >>confdefs.h <<_ACEOF
19854 #define HAVE_FENV_H 1
19855 _ACEOF
19856 ac_has_fenv_h=yes
19857 else
19858 ac_has_fenv_h=no
19861 done
19863 ac_c99_fenv_tr1=no;
19864 if test x"$ac_has_fenv_h" = x"yes"; then
19865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19866 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19868 /* end confdefs.h. */
19869 #include <fenv.h>
19871 main ()
19873 int except, mode;
19874 fexcept_t* pflag;
19875 fenv_t* penv;
19876 int ret;
19877 ret = feclearexcept(except);
19878 ret = fegetexceptflag(pflag, except);
19879 ret = feraiseexcept(except);
19880 ret = fesetexceptflag(pflag, except);
19881 ret = fetestexcept(except);
19882 ret = fegetround();
19883 ret = fesetround(mode);
19884 ret = fegetenv(penv);
19885 ret = feholdexcept(penv);
19886 ret = fesetenv(penv);
19887 ret = feupdateenv(penv);
19890 return 0;
19892 _ACEOF
19893 if ac_fn_cxx_try_compile "$LINENO"; then :
19894 ac_c99_fenv_tr1=yes
19895 else
19896 ac_c99_fenv_tr1=no
19898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19901 $as_echo "$ac_c99_fenv_tr1" >&6; }
19902 if test x"$ac_c99_fenv_tr1" = x"yes"; then
19904 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19908 # Check for the existence of <stdint.h> types.
19909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19910 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19911 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
19912 $as_echo_n "(cached) " >&6
19913 else
19915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19916 /* end confdefs.h. */
19917 #define __STDC_LIMIT_MACROS
19918 #define __STDC_CONSTANT_MACROS
19919 #include <stdint.h>
19921 main ()
19923 typedef int8_t my_int8_t;
19924 my_int8_t i8 = INT8_MIN;
19925 i8 = INT8_MAX;
19926 typedef int16_t my_int16_t;
19927 my_int16_t i16 = INT16_MIN;
19928 i16 = INT16_MAX;
19929 typedef int32_t my_int32_t;
19930 my_int32_t i32 = INT32_MIN;
19931 i32 = INT32_MAX;
19932 typedef int64_t my_int64_t;
19933 my_int64_t i64 = INT64_MIN;
19934 i64 = INT64_MAX;
19935 typedef int_fast8_t my_int_fast8_t;
19936 my_int_fast8_t if8 = INT_FAST8_MIN;
19937 if8 = INT_FAST8_MAX;
19938 typedef int_fast16_t my_int_fast16_t;
19939 my_int_fast16_t if16 = INT_FAST16_MIN;
19940 if16 = INT_FAST16_MAX;
19941 typedef int_fast32_t my_int_fast32_t;
19942 my_int_fast32_t if32 = INT_FAST32_MIN;
19943 if32 = INT_FAST32_MAX;
19944 typedef int_fast64_t my_int_fast64_t;
19945 my_int_fast64_t if64 = INT_FAST64_MIN;
19946 if64 = INT_FAST64_MAX;
19947 typedef int_least8_t my_int_least8_t;
19948 my_int_least8_t il8 = INT_LEAST8_MIN;
19949 il8 = INT_LEAST8_MAX;
19950 typedef int_least16_t my_int_least16_t;
19951 my_int_least16_t il16 = INT_LEAST16_MIN;
19952 il16 = INT_LEAST16_MAX;
19953 typedef int_least32_t my_int_least32_t;
19954 my_int_least32_t il32 = INT_LEAST32_MIN;
19955 il32 = INT_LEAST32_MAX;
19956 typedef int_least64_t my_int_least64_t;
19957 my_int_least64_t il64 = INT_LEAST64_MIN;
19958 il64 = INT_LEAST64_MAX;
19959 typedef intmax_t my_intmax_t;
19960 my_intmax_t im = INTMAX_MAX;
19961 im = INTMAX_MIN;
19962 typedef intptr_t my_intptr_t;
19963 my_intptr_t ip = INTPTR_MAX;
19964 ip = INTPTR_MIN;
19965 typedef uint8_t my_uint8_t;
19966 my_uint8_t ui8 = UINT8_MAX;
19967 ui8 = UINT8_MAX;
19968 typedef uint16_t my_uint16_t;
19969 my_uint16_t ui16 = UINT16_MAX;
19970 ui16 = UINT16_MAX;
19971 typedef uint32_t my_uint32_t;
19972 my_uint32_t ui32 = UINT32_MAX;
19973 ui32 = UINT32_MAX;
19974 typedef uint64_t my_uint64_t;
19975 my_uint64_t ui64 = UINT64_MAX;
19976 ui64 = UINT64_MAX;
19977 typedef uint_fast8_t my_uint_fast8_t;
19978 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19979 uif8 = UINT_FAST8_MAX;
19980 typedef uint_fast16_t my_uint_fast16_t;
19981 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19982 uif16 = UINT_FAST16_MAX;
19983 typedef uint_fast32_t my_uint_fast32_t;
19984 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19985 uif32 = UINT_FAST32_MAX;
19986 typedef uint_fast64_t my_uint_fast64_t;
19987 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19988 uif64 = UINT_FAST64_MAX;
19989 typedef uint_least8_t my_uint_least8_t;
19990 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19991 uil8 = UINT_LEAST8_MAX;
19992 typedef uint_least16_t my_uint_least16_t;
19993 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19994 uil16 = UINT_LEAST16_MAX;
19995 typedef uint_least32_t my_uint_least32_t;
19996 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19997 uil32 = UINT_LEAST32_MAX;
19998 typedef uint_least64_t my_uint_least64_t;
19999 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
20000 uil64 = UINT_LEAST64_MAX;
20001 typedef uintmax_t my_uintmax_t;
20002 my_uintmax_t uim = UINTMAX_MAX;
20003 uim = UINTMAX_MAX;
20004 typedef uintptr_t my_uintptr_t;
20005 my_uintptr_t uip = UINTPTR_MAX;
20006 uip = UINTPTR_MAX;
20009 return 0;
20011 _ACEOF
20012 if ac_fn_cxx_try_compile "$LINENO"; then :
20013 glibcxx_cv_c99_stdint_tr1=yes
20014 else
20015 glibcxx_cv_c99_stdint_tr1=no
20017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20022 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20023 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20025 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20029 # Check for the existence of <math.h> functions.
20030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20031 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20032 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
20033 $as_echo_n "(cached) " >&6
20034 else
20036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20037 /* end confdefs.h. */
20038 #include <math.h>
20040 main ()
20042 typedef double_t my_double_t;
20043 typedef float_t my_float_t;
20044 acosh(0.0);
20045 acoshf(0.0f);
20046 acoshl(0.0l);
20047 asinh(0.0);
20048 asinhf(0.0f);
20049 asinhl(0.0l);
20050 atanh(0.0);
20051 atanhf(0.0f);
20052 atanhl(0.0l);
20053 cbrt(0.0);
20054 cbrtf(0.0f);
20055 cbrtl(0.0l);
20056 copysign(0.0, 0.0);
20057 copysignf(0.0f, 0.0f);
20058 copysignl(0.0l, 0.0l);
20059 erf(0.0);
20060 erff(0.0f);
20061 erfl(0.0l);
20062 erfc(0.0);
20063 erfcf(0.0f);
20064 erfcl(0.0l);
20065 exp2(0.0);
20066 exp2f(0.0f);
20067 exp2l(0.0l);
20068 expm1(0.0);
20069 expm1f(0.0f);
20070 expm1l(0.0l);
20071 fdim(0.0, 0.0);
20072 fdimf(0.0f, 0.0f);
20073 fdiml(0.0l, 0.0l);
20074 fma(0.0, 0.0, 0.0);
20075 fmaf(0.0f, 0.0f, 0.0f);
20076 fmal(0.0l, 0.0l, 0.0l);
20077 fmax(0.0, 0.0);
20078 fmaxf(0.0f, 0.0f);
20079 fmaxl(0.0l, 0.0l);
20080 fmin(0.0, 0.0);
20081 fminf(0.0f, 0.0f);
20082 fminl(0.0l, 0.0l);
20083 hypot(0.0, 0.0);
20084 hypotf(0.0f, 0.0f);
20085 hypotl(0.0l, 0.0l);
20086 ilogb(0.0);
20087 ilogbf(0.0f);
20088 ilogbl(0.0l);
20089 lgamma(0.0);
20090 lgammaf(0.0f);
20091 lgammal(0.0l);
20092 #ifndef __APPLE__ /* see below */
20093 llrint(0.0);
20094 llrintf(0.0f);
20095 llrintl(0.0l);
20096 llround(0.0);
20097 llroundf(0.0f);
20098 llroundl(0.0l);
20099 #endif
20100 log1p(0.0);
20101 log1pf(0.0f);
20102 log1pl(0.0l);
20103 log2(0.0);
20104 log2f(0.0f);
20105 log2l(0.0l);
20106 logb(0.0);
20107 logbf(0.0f);
20108 logbl(0.0l);
20109 lrint(0.0);
20110 lrintf(0.0f);
20111 lrintl(0.0l);
20112 lround(0.0);
20113 lroundf(0.0f);
20114 lroundl(0.0l);
20115 nan(0);
20116 nanf(0);
20117 nanl(0);
20118 nearbyint(0.0);
20119 nearbyintf(0.0f);
20120 nearbyintl(0.0l);
20121 nextafter(0.0, 0.0);
20122 nextafterf(0.0f, 0.0f);
20123 nextafterl(0.0l, 0.0l);
20124 nexttoward(0.0, 0.0);
20125 nexttowardf(0.0f, 0.0f);
20126 nexttowardl(0.0l, 0.0l);
20127 remainder(0.0, 0.0);
20128 remainderf(0.0f, 0.0f);
20129 remainderl(0.0l, 0.0l);
20130 remquo(0.0, 0.0, 0);
20131 remquof(0.0f, 0.0f, 0);
20132 remquol(0.0l, 0.0l, 0);
20133 rint(0.0);
20134 rintf(0.0f);
20135 rintl(0.0l);
20136 round(0.0);
20137 roundf(0.0f);
20138 roundl(0.0l);
20139 scalbln(0.0, 0l);
20140 scalblnf(0.0f, 0l);
20141 scalblnl(0.0l, 0l);
20142 scalbn(0.0, 0);
20143 scalbnf(0.0f, 0);
20144 scalbnl(0.0l, 0);
20145 tgamma(0.0);
20146 tgammaf(0.0f);
20147 tgammal(0.0l);
20148 trunc(0.0);
20149 truncf(0.0f);
20150 truncl(0.0l);
20153 return 0;
20155 _ACEOF
20156 if ac_fn_cxx_try_compile "$LINENO"; then :
20157 glibcxx_cv_c99_math_tr1=yes
20158 else
20159 glibcxx_cv_c99_math_tr1=no
20161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20166 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20167 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20169 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20172 case "${target_os}" in
20173 darwin*)
20174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20175 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20176 if test "${glibcxx_cv_c99_math_llround+set}" = set; then :
20177 $as_echo_n "(cached) " >&6
20178 else
20180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20181 /* end confdefs.h. */
20182 #include <math.h>
20184 main ()
20186 llrint(0.0);
20187 llrintf(0.0f);
20188 llrintl(0.0l);
20189 llround(0.0);
20190 llroundf(0.0f);
20191 llroundl(0.0l);
20194 return 0;
20196 _ACEOF
20197 if ac_fn_cxx_try_compile "$LINENO"; then :
20198 glibcxx_cv_c99_math_llround=yes
20199 else
20200 glibcxx_cv_c99_math_llround=no
20202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20207 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20209 esac
20210 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20212 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20217 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20218 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20219 ac_c99_inttypes_tr1=no;
20220 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20222 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20224 /* end confdefs.h. */
20225 #include <inttypes.h>
20227 main ()
20229 intmax_t i, numer, denom, base;
20230 const char* s;
20231 char** endptr;
20232 intmax_t ret = imaxabs(i);
20233 imaxdiv_t dret = imaxdiv(numer, denom);
20234 ret = strtoimax(s, endptr, base);
20235 uintmax_t uret = strtoumax(s, endptr, base);
20238 return 0;
20240 _ACEOF
20241 if ac_fn_cxx_try_compile "$LINENO"; then :
20242 ac_c99_inttypes_tr1=yes
20243 else
20244 ac_c99_inttypes_tr1=no
20246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20249 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20250 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20252 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20256 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20257 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20258 ac_c99_inttypes_wchar_t_tr1=no;
20259 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20261 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20263 /* end confdefs.h. */
20264 #include <inttypes.h>
20266 main ()
20268 intmax_t base;
20269 const wchar_t* s;
20270 wchar_t** endptr;
20271 intmax_t ret = wcstoimax(s, endptr, base);
20272 uintmax_t uret = wcstoumax(s, endptr, base);
20275 return 0;
20277 _ACEOF
20278 if ac_fn_cxx_try_compile "$LINENO"; then :
20279 ac_c99_inttypes_wchar_t_tr1=yes
20280 else
20281 ac_c99_inttypes_wchar_t_tr1=no
20283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20286 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20287 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20289 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20293 # Check for the existence of the <stdbool.h> header.
20294 for ac_header in stdbool.h
20295 do :
20296 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20297 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
20298 cat >>confdefs.h <<_ACEOF
20299 #define HAVE_STDBOOL_H 1
20300 _ACEOF
20304 done
20307 # Check for the existence of the <stdalign.h> header.
20308 for ac_header in stdalign.h
20309 do :
20310 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20311 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
20312 cat >>confdefs.h <<_ACEOF
20313 #define HAVE_STDALIGN_H 1
20314 _ACEOF
20318 done
20321 CXXFLAGS="$ac_save_CXXFLAGS"
20322 ac_ext=c
20323 ac_cpp='$CPP $CPPFLAGS'
20324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20330 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20334 $as_echo_n "checking for the value of EOF... " >&6; }
20335 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
20336 $as_echo_n "(cached) " >&6
20337 else
20339 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20341 else
20342 as_fn_error "computing EOF failed" "$LINENO" 5
20347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20348 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20350 cat >>confdefs.h <<_ACEOF
20351 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20352 _ACEOF
20355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20356 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20357 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
20358 $as_echo_n "(cached) " >&6
20359 else
20361 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20363 else
20364 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
20369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20370 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20372 cat >>confdefs.h <<_ACEOF
20373 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20374 _ACEOF
20377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20378 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20379 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
20380 $as_echo_n "(cached) " >&6
20381 else
20383 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20385 else
20386 as_fn_error "computing SEEK_END failed" "$LINENO" 5
20391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20392 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20394 cat >>confdefs.h <<_ACEOF
20395 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20396 _ACEOF
20400 # For gettimeofday support.
20403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20404 $as_echo_n "checking for gettimeofday... " >&6; }
20407 ac_ext=cpp
20408 ac_cpp='$CXXCPP $CPPFLAGS'
20409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20413 ac_save_CXXFLAGS="$CXXFLAGS"
20414 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20416 ac_has_gettimeofday=no;
20417 for ac_header in sys/time.h
20418 do :
20419 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20420 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
20421 cat >>confdefs.h <<_ACEOF
20422 #define HAVE_SYS_TIME_H 1
20423 _ACEOF
20424 ac_has_sys_time_h=yes
20425 else
20426 ac_has_sys_time_h=no
20429 done
20431 if test x"$ac_has_sys_time_h" = x"yes"; then
20432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20433 $as_echo_n "checking for gettimeofday... " >&6; }
20434 if test x$gcc_no_link = xyes; then
20435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20436 /* end confdefs.h. */
20437 #include <sys/time.h>
20439 main ()
20441 timeval tv; gettimeofday(&tv, 0);
20443 return 0;
20445 _ACEOF
20446 if ac_fn_cxx_try_compile "$LINENO"; then :
20447 ac_has_gettimeofday=yes
20448 else
20449 ac_has_gettimeofday=no
20451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20452 else
20453 if test x$gcc_no_link = xyes; then
20454 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20457 /* end confdefs.h. */
20458 #include <sys/time.h>
20460 main ()
20462 timeval tv; gettimeofday(&tv, 0);
20464 return 0;
20466 _ACEOF
20467 if ac_fn_cxx_try_link "$LINENO"; then :
20468 ac_has_gettimeofday=yes
20469 else
20470 ac_has_gettimeofday=no
20472 rm -f core conftest.err conftest.$ac_objext \
20473 conftest$ac_exeext conftest.$ac_ext
20476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20477 $as_echo "$ac_has_gettimeofday" >&6; }
20480 if test x"$ac_has_gettimeofday" = x"yes"; then
20482 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20486 CXXFLAGS="$ac_save_CXXFLAGS"
20487 ac_ext=c
20488 ac_cpp='$CPP $CPPFLAGS'
20489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20495 # For clock_gettime, nanosleep and sched_yield support.
20498 # Check whether --enable-libstdcxx-time was given.
20499 if test "${enable_libstdcxx_time+set}" = set; then :
20500 enableval=$enable_libstdcxx_time;
20501 case "$enableval" in
20502 yes|no|rt) ;;
20503 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20504 esac
20506 else
20507 enable_libstdcxx_time=auto
20513 ac_ext=cpp
20514 ac_cpp='$CXXCPP $CPPFLAGS'
20515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20519 ac_save_CXXFLAGS="$CXXFLAGS"
20520 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20521 ac_save_LIBS="$LIBS"
20523 ac_has_clock_monotonic=no
20524 ac_has_clock_realtime=no
20525 ac_has_nanosleep=no
20526 ac_has_sched_yield=no
20528 if test x"$enable_libstdcxx_time" = x"auto"; then
20530 case "${target_os}" in
20531 cygwin*)
20532 ac_has_nanosleep=yes
20534 darwin*)
20535 ac_has_nanosleep=yes
20536 ac_has_sched_yield=yes
20538 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
20540 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
20541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20542 /* end confdefs.h. */
20543 #include <features.h>
20545 main ()
20548 #if ! __GLIBC_PREREQ(2, 17)
20549 #error
20550 #endif
20553 return 0;
20555 _ACEOF
20556 if ac_fn_cxx_try_compile "$LINENO"; then :
20557 glibcxx_glibc217=yes
20558 else
20559 glibcxx_glibc217=no
20561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
20563 $as_echo "$glibcxx_glibc217" >&6; }
20565 if test x"$glibcxx_glibc217" = x"yes"; then
20566 ac_has_clock_monotonic=yes
20567 ac_has_clock_realtime=yes
20569 ac_has_nanosleep=yes
20570 ac_has_sched_yield=yes
20572 freebsd*|netbsd*|dragonfly*|rtems*)
20573 ac_has_clock_monotonic=yes
20574 ac_has_clock_realtime=yes
20575 ac_has_nanosleep=yes
20576 ac_has_sched_yield=yes
20578 openbsd*)
20579 ac_has_clock_monotonic=yes
20580 ac_has_clock_realtime=yes
20581 ac_has_nanosleep=yes
20583 solaris*)
20584 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
20585 ac_has_clock_monotonic=yes
20586 ac_has_clock_realtime=yes
20587 ac_has_nanosleep=yes
20588 ac_has_sched_yield=yes
20590 esac
20592 elif test x"$enable_libstdcxx_time" != x"no"; then
20594 if test x"$enable_libstdcxx_time" = x"rt"; then
20595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20596 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20597 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20598 $as_echo_n "(cached) " >&6
20599 else
20600 ac_func_search_save_LIBS=$LIBS
20601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20602 /* end confdefs.h. */
20604 /* Override any GCC internal prototype to avoid an error.
20605 Use char because int might match the return type of a GCC
20606 builtin and then its argument prototype would still apply. */
20607 #ifdef __cplusplus
20608 extern "C"
20609 #endif
20610 char clock_gettime ();
20612 main ()
20614 return clock_gettime ();
20616 return 0;
20618 _ACEOF
20619 for ac_lib in '' rt posix4; do
20620 if test -z "$ac_lib"; then
20621 ac_res="none required"
20622 else
20623 ac_res=-l$ac_lib
20624 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20626 if test x$gcc_no_link = xyes; then
20627 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20629 if ac_fn_cxx_try_link "$LINENO"; then :
20630 ac_cv_search_clock_gettime=$ac_res
20632 rm -f core conftest.err conftest.$ac_objext \
20633 conftest$ac_exeext
20634 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20635 break
20637 done
20638 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20640 else
20641 ac_cv_search_clock_gettime=no
20643 rm conftest.$ac_ext
20644 LIBS=$ac_func_search_save_LIBS
20646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20647 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20648 ac_res=$ac_cv_search_clock_gettime
20649 if test "$ac_res" != no; then :
20650 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20655 $as_echo_n "checking for library containing nanosleep... " >&6; }
20656 if test "${ac_cv_search_nanosleep+set}" = set; then :
20657 $as_echo_n "(cached) " >&6
20658 else
20659 ac_func_search_save_LIBS=$LIBS
20660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20661 /* end confdefs.h. */
20663 /* Override any GCC internal prototype to avoid an error.
20664 Use char because int might match the return type of a GCC
20665 builtin and then its argument prototype would still apply. */
20666 #ifdef __cplusplus
20667 extern "C"
20668 #endif
20669 char nanosleep ();
20671 main ()
20673 return nanosleep ();
20675 return 0;
20677 _ACEOF
20678 for ac_lib in '' rt posix4; do
20679 if test -z "$ac_lib"; then
20680 ac_res="none required"
20681 else
20682 ac_res=-l$ac_lib
20683 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20685 if test x$gcc_no_link = xyes; then
20686 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20688 if ac_fn_cxx_try_link "$LINENO"; then :
20689 ac_cv_search_nanosleep=$ac_res
20691 rm -f core conftest.err conftest.$ac_objext \
20692 conftest$ac_exeext
20693 if test "${ac_cv_search_nanosleep+set}" = set; then :
20694 break
20696 done
20697 if test "${ac_cv_search_nanosleep+set}" = set; then :
20699 else
20700 ac_cv_search_nanosleep=no
20702 rm conftest.$ac_ext
20703 LIBS=$ac_func_search_save_LIBS
20705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20706 $as_echo "$ac_cv_search_nanosleep" >&6; }
20707 ac_res=$ac_cv_search_nanosleep
20708 if test "$ac_res" != no; then :
20709 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20713 else
20714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20715 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20716 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20717 $as_echo_n "(cached) " >&6
20718 else
20719 ac_func_search_save_LIBS=$LIBS
20720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20721 /* end confdefs.h. */
20723 /* Override any GCC internal prototype to avoid an error.
20724 Use char because int might match the return type of a GCC
20725 builtin and then its argument prototype would still apply. */
20726 #ifdef __cplusplus
20727 extern "C"
20728 #endif
20729 char clock_gettime ();
20731 main ()
20733 return clock_gettime ();
20735 return 0;
20737 _ACEOF
20738 for ac_lib in '' posix4; do
20739 if test -z "$ac_lib"; then
20740 ac_res="none required"
20741 else
20742 ac_res=-l$ac_lib
20743 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20745 if test x$gcc_no_link = xyes; then
20746 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20748 if ac_fn_cxx_try_link "$LINENO"; then :
20749 ac_cv_search_clock_gettime=$ac_res
20751 rm -f core conftest.err conftest.$ac_objext \
20752 conftest$ac_exeext
20753 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20754 break
20756 done
20757 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20759 else
20760 ac_cv_search_clock_gettime=no
20762 rm conftest.$ac_ext
20763 LIBS=$ac_func_search_save_LIBS
20765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20766 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20767 ac_res=$ac_cv_search_clock_gettime
20768 if test "$ac_res" != no; then :
20769 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20774 $as_echo_n "checking for library containing nanosleep... " >&6; }
20775 if test "${ac_cv_search_nanosleep+set}" = set; then :
20776 $as_echo_n "(cached) " >&6
20777 else
20778 ac_func_search_save_LIBS=$LIBS
20779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20780 /* end confdefs.h. */
20782 /* Override any GCC internal prototype to avoid an error.
20783 Use char because int might match the return type of a GCC
20784 builtin and then its argument prototype would still apply. */
20785 #ifdef __cplusplus
20786 extern "C"
20787 #endif
20788 char nanosleep ();
20790 main ()
20792 return nanosleep ();
20794 return 0;
20796 _ACEOF
20797 for ac_lib in '' posix4; do
20798 if test -z "$ac_lib"; then
20799 ac_res="none required"
20800 else
20801 ac_res=-l$ac_lib
20802 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20804 if test x$gcc_no_link = xyes; then
20805 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20807 if ac_fn_cxx_try_link "$LINENO"; then :
20808 ac_cv_search_nanosleep=$ac_res
20810 rm -f core conftest.err conftest.$ac_objext \
20811 conftest$ac_exeext
20812 if test "${ac_cv_search_nanosleep+set}" = set; then :
20813 break
20815 done
20816 if test "${ac_cv_search_nanosleep+set}" = set; then :
20818 else
20819 ac_cv_search_nanosleep=no
20821 rm conftest.$ac_ext
20822 LIBS=$ac_func_search_save_LIBS
20824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20825 $as_echo "$ac_cv_search_nanosleep" >&6; }
20826 ac_res=$ac_cv_search_nanosleep
20827 if test "$ac_res" != no; then :
20828 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20834 case "$ac_cv_search_clock_gettime" in
20835 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
20837 esac
20838 case "$ac_cv_search_nanosleep" in
20839 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
20841 esac
20843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
20844 $as_echo_n "checking for library containing sched_yield... " >&6; }
20845 if test "${ac_cv_search_sched_yield+set}" = set; then :
20846 $as_echo_n "(cached) " >&6
20847 else
20848 ac_func_search_save_LIBS=$LIBS
20849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20850 /* end confdefs.h. */
20852 /* Override any GCC internal prototype to avoid an error.
20853 Use char because int might match the return type of a GCC
20854 builtin and then its argument prototype would still apply. */
20855 #ifdef __cplusplus
20856 extern "C"
20857 #endif
20858 char sched_yield ();
20860 main ()
20862 return sched_yield ();
20864 return 0;
20866 _ACEOF
20867 for ac_lib in '' rt posix4; do
20868 if test -z "$ac_lib"; then
20869 ac_res="none required"
20870 else
20871 ac_res=-l$ac_lib
20872 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20874 if test x$gcc_no_link = xyes; then
20875 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20877 if ac_fn_cxx_try_link "$LINENO"; then :
20878 ac_cv_search_sched_yield=$ac_res
20880 rm -f core conftest.err conftest.$ac_objext \
20881 conftest$ac_exeext
20882 if test "${ac_cv_search_sched_yield+set}" = set; then :
20883 break
20885 done
20886 if test "${ac_cv_search_sched_yield+set}" = set; then :
20888 else
20889 ac_cv_search_sched_yield=no
20891 rm conftest.$ac_ext
20892 LIBS=$ac_func_search_save_LIBS
20894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
20895 $as_echo "$ac_cv_search_sched_yield" >&6; }
20896 ac_res=$ac_cv_search_sched_yield
20897 if test "$ac_res" != no; then :
20898 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20903 case "$ac_cv_search_sched_yield" in
20904 -lposix4*)
20905 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20906 ac_has_sched_yield=yes
20908 -lrt*)
20909 if test x"$enable_libstdcxx_time" = x"rt"; then
20910 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20911 ac_has_sched_yield=yes
20915 ac_has_sched_yield=yes
20917 esac
20919 for ac_header in unistd.h
20920 do :
20921 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20922 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20923 cat >>confdefs.h <<_ACEOF
20924 #define HAVE_UNISTD_H 1
20925 _ACEOF
20926 ac_has_unistd_h=yes
20927 else
20928 ac_has_unistd_h=no
20931 done
20934 if test x"$ac_has_unistd_h" = x"yes"; then
20935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20936 $as_echo_n "checking for monotonic clock... " >&6; }
20937 if test x$gcc_no_link = xyes; then
20938 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20941 /* end confdefs.h. */
20942 #include <unistd.h>
20943 #include <time.h>
20946 main ()
20948 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20949 timespec tp;
20950 #endif
20951 clock_gettime(CLOCK_MONOTONIC, &tp);
20954 return 0;
20956 _ACEOF
20957 if ac_fn_cxx_try_link "$LINENO"; then :
20958 ac_has_clock_monotonic=yes
20959 else
20960 ac_has_clock_monotonic=no
20962 rm -f core conftest.err conftest.$ac_objext \
20963 conftest$ac_exeext conftest.$ac_ext
20965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20966 $as_echo "$ac_has_clock_monotonic" >&6; }
20968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20969 $as_echo_n "checking for realtime clock... " >&6; }
20970 if test x$gcc_no_link = xyes; then
20971 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20974 /* end confdefs.h. */
20975 #include <unistd.h>
20976 #include <time.h>
20979 main ()
20981 #if _POSIX_TIMERS > 0
20982 timespec tp;
20983 #endif
20984 clock_gettime(CLOCK_REALTIME, &tp);
20987 return 0;
20989 _ACEOF
20990 if ac_fn_cxx_try_link "$LINENO"; then :
20991 ac_has_clock_realtime=yes
20992 else
20993 ac_has_clock_realtime=no
20995 rm -f core conftest.err conftest.$ac_objext \
20996 conftest$ac_exeext conftest.$ac_ext
20998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20999 $as_echo "$ac_has_clock_realtime" >&6; }
21001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
21002 $as_echo_n "checking for nanosleep... " >&6; }
21003 if test x$gcc_no_link = xyes; then
21004 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21007 /* end confdefs.h. */
21008 #include <unistd.h>
21009 #include <time.h>
21012 main ()
21014 #if _POSIX_TIMERS > 0
21015 timespec tp;
21016 #endif
21017 nanosleep(&tp, 0);
21020 return 0;
21022 _ACEOF
21023 if ac_fn_cxx_try_link "$LINENO"; then :
21024 ac_has_nanosleep=yes
21025 else
21026 ac_has_nanosleep=no
21028 rm -f core conftest.err conftest.$ac_objext \
21029 conftest$ac_exeext conftest.$ac_ext
21031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
21032 $as_echo "$ac_has_nanosleep" >&6; }
21036 if test x"$ac_has_clock_monotonic" != x"yes"; then
21037 case ${target_os} in
21038 linux*)
21039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
21040 $as_echo_n "checking for clock_gettime syscall... " >&6; }
21041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21042 /* end confdefs.h. */
21043 #include <unistd.h>
21044 #include <time.h>
21045 #include <sys/syscall.h>
21048 main ()
21050 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21051 timespec tp;
21052 #endif
21053 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
21054 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
21057 return 0;
21059 _ACEOF
21060 if ac_fn_cxx_try_compile "$LINENO"; then :
21061 ac_has_clock_monotonic_syscall=yes
21062 else
21063 ac_has_clock_monotonic_syscall=no
21065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
21067 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
21068 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
21070 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21072 ac_has_clock_monotonic=yes
21073 ac_has_clock_realtime=yes
21074 fi;;
21075 esac
21078 if test x"$ac_has_clock_monotonic" = x"yes"; then
21080 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21084 if test x"$ac_has_clock_realtime" = x"yes"; then
21086 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21090 if test x"$ac_has_sched_yield" = x"yes"; then
21092 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21096 if test x"$ac_has_nanosleep" = x"yes"; then
21098 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21100 else
21101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21102 $as_echo_n "checking for sleep... " >&6; }
21103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21104 /* end confdefs.h. */
21105 #include <unistd.h>
21107 main ()
21109 sleep(1)
21111 return 0;
21113 _ACEOF
21114 if ac_fn_cxx_try_compile "$LINENO"; then :
21115 ac_has_sleep=yes
21116 else
21117 ac_has_sleep=no
21119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21120 if test x"$ac_has_sleep" = x"yes"; then
21122 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21126 $as_echo "$ac_has_sleep" >&6; }
21127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21128 $as_echo_n "checking for usleep... " >&6; }
21129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21130 /* end confdefs.h. */
21131 #include <unistd.h>
21133 main ()
21135 sleep(1);
21136 usleep(100);
21138 return 0;
21140 _ACEOF
21141 if ac_fn_cxx_try_compile "$LINENO"; then :
21142 ac_has_usleep=yes
21143 else
21144 ac_has_usleep=no
21146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21147 if test x"$ac_has_usleep" = x"yes"; then
21149 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21153 $as_echo "$ac_has_usleep" >&6; }
21156 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21158 $as_echo_n "checking for Sleep... " >&6; }
21159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21160 /* end confdefs.h. */
21161 #include <windows.h>
21163 main ()
21165 Sleep(1)
21167 return 0;
21169 _ACEOF
21170 if ac_fn_cxx_try_compile "$LINENO"; then :
21171 ac_has_win32_sleep=yes
21172 else
21173 ac_has_win32_sleep=no
21175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21176 if test x"$ac_has_win32_sleep" = x"yes"; then
21178 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21182 $as_echo "$ac_has_win32_sleep" >&6; }
21187 CXXFLAGS="$ac_save_CXXFLAGS"
21188 LIBS="$ac_save_LIBS"
21189 ac_ext=c
21190 ac_cpp='$CPP $CPPFLAGS'
21191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21197 # Check for tmpnam which is obsolescent in POSIX.1-2008
21199 ac_ext=cpp
21200 ac_cpp='$CXXCPP $CPPFLAGS'
21201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21205 ac_save_CXXFLAGS="$CXXFLAGS"
21206 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21208 $as_echo_n "checking for tmpnam... " >&6; }
21209 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
21210 $as_echo_n "(cached) " >&6
21211 else
21212 if test x$gcc_no_link = xyes; then
21213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21214 /* end confdefs.h. */
21215 #include <stdio.h>
21217 main ()
21219 char *tmp = tmpnam(NULL);
21221 return 0;
21223 _ACEOF
21224 if ac_fn_cxx_try_compile "$LINENO"; then :
21225 glibcxx_cv_TMPNAM=yes
21226 else
21227 glibcxx_cv_TMPNAM=no
21229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21230 else
21231 if test x$gcc_no_link = xyes; then
21232 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21235 /* end confdefs.h. */
21236 #include <stdio.h>
21238 main ()
21240 char *tmp = tmpnam(NULL);
21242 return 0;
21244 _ACEOF
21245 if ac_fn_cxx_try_link "$LINENO"; then :
21246 glibcxx_cv_TMPNAM=yes
21247 else
21248 glibcxx_cv_TMPNAM=no
21250 rm -f core conftest.err conftest.$ac_objext \
21251 conftest$ac_exeext conftest.$ac_ext
21256 if test $glibcxx_cv_TMPNAM = yes; then
21258 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21262 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21263 CXXFLAGS="$ac_save_CXXFLAGS"
21264 ac_ext=c
21265 ac_cpp='$CPP $CPPFLAGS'
21266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21273 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21274 if test "x$ac_cv_header_locale_h" = x""yes; then :
21276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21277 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21278 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
21279 $as_echo_n "(cached) " >&6
21280 else
21281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21282 /* end confdefs.h. */
21283 #include <locale.h>
21285 main ()
21287 return LC_MESSAGES
21289 return 0;
21291 _ACEOF
21292 if ac_fn_c_try_compile "$LINENO"; then :
21293 ac_cv_val_LC_MESSAGES=yes
21294 else
21295 ac_cv_val_LC_MESSAGES=no
21297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21300 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21301 if test $ac_cv_val_LC_MESSAGES = yes; then
21303 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21312 # For hardware_concurrency
21313 for ac_header in sys/sysinfo.h
21314 do :
21315 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21316 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
21317 cat >>confdefs.h <<_ACEOF
21318 #define HAVE_SYS_SYSINFO_H 1
21319 _ACEOF
21323 done
21328 ac_ext=cpp
21329 ac_cpp='$CXXCPP $CPPFLAGS'
21330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21334 ac_save_CXXFLAGS="$CXXFLAGS"
21335 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21338 $as_echo_n "checking for get_nprocs... " >&6; }
21339 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
21340 $as_echo_n "(cached) " >&6
21341 else
21343 if test x$gcc_no_link = xyes; then
21344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21345 /* end confdefs.h. */
21346 #include <sys/sysinfo.h>
21348 main ()
21350 int n = get_nprocs();
21352 return 0;
21354 _ACEOF
21355 if ac_fn_cxx_try_compile "$LINENO"; then :
21356 glibcxx_cv_GET_NPROCS=yes
21357 else
21358 glibcxx_cv_GET_NPROCS=no
21360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21361 else
21362 if test x$gcc_no_link = xyes; then
21363 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21366 /* end confdefs.h. */
21367 #include <sys/sysinfo.h>
21369 main ()
21371 int n = get_nprocs();
21373 return 0;
21375 _ACEOF
21376 if ac_fn_cxx_try_link "$LINENO"; then :
21377 glibcxx_cv_GET_NPROCS=yes
21378 else
21379 glibcxx_cv_GET_NPROCS=no
21381 rm -f core conftest.err conftest.$ac_objext \
21382 conftest$ac_exeext conftest.$ac_ext
21387 if test $glibcxx_cv_GET_NPROCS = yes; then
21389 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21393 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21395 CXXFLAGS="$ac_save_CXXFLAGS"
21396 ac_ext=c
21397 ac_cpp='$CPP $CPPFLAGS'
21398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21403 for ac_header in unistd.h
21404 do :
21405 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21406 if test "x$ac_cv_header_unistd_h" = x""yes; then :
21407 cat >>confdefs.h <<_ACEOF
21408 #define HAVE_UNISTD_H 1
21409 _ACEOF
21413 done
21418 ac_ext=cpp
21419 ac_cpp='$CXXCPP $CPPFLAGS'
21420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21424 ac_save_CXXFLAGS="$CXXFLAGS"
21425 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21428 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21429 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
21430 $as_echo_n "(cached) " >&6
21431 else
21433 if test x$gcc_no_link = xyes; then
21434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21435 /* end confdefs.h. */
21436 #include <unistd.h>
21438 main ()
21440 int n = sysconf(_SC_NPROCESSORS_ONLN);
21442 return 0;
21444 _ACEOF
21445 if ac_fn_cxx_try_compile "$LINENO"; then :
21446 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21447 else
21448 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21451 else
21452 if test x$gcc_no_link = xyes; then
21453 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21456 /* end confdefs.h. */
21457 #include <unistd.h>
21459 main ()
21461 int n = sysconf(_SC_NPROCESSORS_ONLN);
21463 return 0;
21465 _ACEOF
21466 if ac_fn_cxx_try_link "$LINENO"; then :
21467 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21468 else
21469 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21471 rm -f core conftest.err conftest.$ac_objext \
21472 conftest$ac_exeext conftest.$ac_ext
21477 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21479 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21483 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21485 CXXFLAGS="$ac_save_CXXFLAGS"
21486 ac_ext=c
21487 ac_cpp='$CPP $CPPFLAGS'
21488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21496 ac_ext=cpp
21497 ac_cpp='$CXXCPP $CPPFLAGS'
21498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21502 ac_save_CXXFLAGS="$CXXFLAGS"
21503 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21506 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21507 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
21508 $as_echo_n "(cached) " >&6
21509 else
21511 if test x$gcc_no_link = xyes; then
21512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21513 /* end confdefs.h. */
21514 #include <unistd.h>
21516 main ()
21518 int n = sysconf(_SC_NPROC_ONLN);
21520 return 0;
21522 _ACEOF
21523 if ac_fn_cxx_try_compile "$LINENO"; then :
21524 glibcxx_cv_SC_NPROC_ONLN=yes
21525 else
21526 glibcxx_cv_SC_NPROC_ONLN=no
21528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21529 else
21530 if test x$gcc_no_link = xyes; then
21531 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21534 /* end confdefs.h. */
21535 #include <unistd.h>
21537 main ()
21539 int n = sysconf(_SC_NPROC_ONLN);
21541 return 0;
21543 _ACEOF
21544 if ac_fn_cxx_try_link "$LINENO"; then :
21545 glibcxx_cv_SC_NPROC_ONLN=yes
21546 else
21547 glibcxx_cv_SC_NPROC_ONLN=no
21549 rm -f core conftest.err conftest.$ac_objext \
21550 conftest$ac_exeext conftest.$ac_ext
21555 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21557 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21561 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21563 CXXFLAGS="$ac_save_CXXFLAGS"
21564 ac_ext=c
21565 ac_cpp='$CPP $CPPFLAGS'
21566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21574 ac_ext=cpp
21575 ac_cpp='$CXXCPP $CPPFLAGS'
21576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21580 ac_save_CXXFLAGS="$CXXFLAGS"
21581 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21584 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21585 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
21586 $as_echo_n "(cached) " >&6
21587 else
21589 if test x$gcc_no_link = xyes; then
21590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21591 /* end confdefs.h. */
21592 #include <pthread.h>
21594 main ()
21596 int n = pthread_num_processors_np();
21598 return 0;
21600 _ACEOF
21601 if ac_fn_cxx_try_compile "$LINENO"; then :
21602 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21603 else
21604 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21607 else
21608 if test x$gcc_no_link = xyes; then
21609 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21612 /* end confdefs.h. */
21613 #include <pthread.h>
21615 main ()
21617 int n = pthread_num_processors_np();
21619 return 0;
21621 _ACEOF
21622 if ac_fn_cxx_try_link "$LINENO"; then :
21623 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21624 else
21625 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21627 rm -f core conftest.err conftest.$ac_objext \
21628 conftest$ac_exeext conftest.$ac_ext
21633 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21635 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21639 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21641 CXXFLAGS="$ac_save_CXXFLAGS"
21642 ac_ext=c
21643 ac_cpp='$CPP $CPPFLAGS'
21644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21652 ac_ext=cpp
21653 ac_cpp='$CXXCPP $CPPFLAGS'
21654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21658 ac_save_CXXFLAGS="$CXXFLAGS"
21659 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21662 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21663 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
21664 $as_echo_n "(cached) " >&6
21665 else
21667 if test x$gcc_no_link = xyes; then
21668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21669 /* end confdefs.h. */
21671 #include <stddef.h>
21672 #include <sys/sysctl.h>
21675 main ()
21678 int count;
21679 size_t size = sizeof(count);
21680 int mib[] = { CTL_HW, HW_NCPU };
21681 sysctl(mib, 2, &count, &size, NULL, 0);
21684 return 0;
21686 _ACEOF
21687 if ac_fn_cxx_try_compile "$LINENO"; then :
21688 glibcxx_cv_SYSCTL_HW_NCPU=yes
21689 else
21690 glibcxx_cv_SYSCTL_HW_NCPU=no
21692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21693 else
21694 if test x$gcc_no_link = xyes; then
21695 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21698 /* end confdefs.h. */
21700 #include <stddef.h>
21701 #include <sys/sysctl.h>
21704 main ()
21707 int count;
21708 size_t size = sizeof(count);
21709 int mib[] = { CTL_HW, HW_NCPU };
21710 sysctl(mib, 2, &count, &size, NULL, 0);
21713 return 0;
21715 _ACEOF
21716 if ac_fn_cxx_try_link "$LINENO"; then :
21717 glibcxx_cv_SYSCTL_HW_NCPU=yes
21718 else
21719 glibcxx_cv_SYSCTL_HW_NCPU=no
21721 rm -f core conftest.err conftest.$ac_objext \
21722 conftest$ac_exeext conftest.$ac_ext
21727 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21729 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21733 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21735 CXXFLAGS="$ac_save_CXXFLAGS"
21736 ac_ext=c
21737 ac_cpp='$CPP $CPPFLAGS'
21738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21745 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21746 # Note that this test has to be run with the C language.
21747 # Otherwise, sdt.h will try to include some headers from
21748 # libstdc++ itself.
21750 ac_ext=c
21751 ac_cpp='$CPP $CPPFLAGS'
21752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21756 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
21757 $as_echo_n "(cached) " >&6
21758 else
21760 # Because we have to run the test in C, we use grep rather
21761 # than the compiler to check for the bug. The bug is that
21762 # were strings without trailing whitespace, causing g++
21763 # to look for operator"". The pattern searches for the fixed
21764 # output.
21765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21766 /* end confdefs.h. */
21768 #include <sys/sdt.h>
21769 int f() { STAP_PROBE(hi, bob); }
21771 _ACEOF
21772 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21773 $EGREP " \",\" " >/dev/null 2>&1; then :
21774 glibcxx_cv_sys_sdt_h=yes
21775 else
21776 glibcxx_cv_sys_sdt_h=no
21778 rm -f conftest*
21783 ac_ext=c
21784 ac_cpp='$CPP $CPPFLAGS'
21785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21789 if test $glibcxx_cv_sys_sdt_h = yes; then
21791 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
21794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
21795 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
21798 # Check for available headers.
21799 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
21800 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
21801 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
21802 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
21803 wchar.h wctype.h linux/types.h
21804 do :
21805 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21806 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21807 eval as_val=\$$as_ac_Header
21808 if test "x$as_val" = x""yes; then :
21809 cat >>confdefs.h <<_ACEOF
21810 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21811 _ACEOF
21815 done
21818 for ac_header in linux/random.h
21819 do :
21820 ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
21821 # include <linux/types.h>
21822 #endif
21825 if test "x$ac_cv_header_linux_random_h" = x""yes; then :
21826 cat >>confdefs.h <<_ACEOF
21827 #define HAVE_LINUX_RANDOM_H 1
21828 _ACEOF
21832 done
21835 # Only do link tests if native. Else, hardcode.
21836 if $GLIBCXX_IS_NATIVE; then
21838 # We can do more elaborate tests that assume a working linker.
21839 CANADIAN=no
21843 # Check whether --with-gnu-ld was given.
21844 if test "${with_gnu_ld+set}" = set; then :
21845 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
21846 else
21847 with_gnu_ld=no
21850 ac_prog=ld
21851 if test "$GCC" = yes; then
21852 # Check if gcc -print-prog-name=ld gives a path.
21853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
21854 $as_echo_n "checking for ld used by $CC... " >&6; }
21855 case $host in
21856 *-*-mingw*)
21857 # gcc leaves a trailing carriage return which upsets mingw
21858 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21860 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
21861 esac
21862 case $ac_prog in
21863 # Accept absolute paths.
21864 [\\/]* | ?:[\\/]*)
21865 re_direlt='/[^/][^/]*/\.\./'
21866 # Canonicalize the pathname of ld
21867 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
21868 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
21869 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
21870 done
21871 test -z "$LD" && LD="$ac_prog"
21874 # If it fails, then pretend we aren't using GCC.
21875 ac_prog=ld
21878 # If it is relative, then search for the first ld in PATH.
21879 with_gnu_ld=unknown
21881 esac
21882 elif test "$with_gnu_ld" = yes; then
21883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
21884 $as_echo_n "checking for GNU ld... " >&6; }
21885 else
21886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
21887 $as_echo_n "checking for non-GNU ld... " >&6; }
21889 if test "${lt_cv_path_LD+set}" = set; then :
21890 $as_echo_n "(cached) " >&6
21891 else
21892 if test -z "$LD"; then
21893 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
21894 for ac_dir in $PATH; do
21895 IFS="$lt_save_ifs"
21896 test -z "$ac_dir" && ac_dir=.
21897 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
21898 lt_cv_path_LD="$ac_dir/$ac_prog"
21899 # Check to see if the program is GNU ld. I'd rather use --version,
21900 # but apparently some variants of GNU ld only accept -v.
21901 # Break only if it was the GNU/non-GNU ld that we prefer.
21902 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
21903 *GNU* | *'with BFD'*)
21904 test "$with_gnu_ld" != no && break
21907 test "$with_gnu_ld" != yes && break
21909 esac
21911 done
21912 IFS="$lt_save_ifs"
21913 else
21914 lt_cv_path_LD="$LD" # Let the user override the test with a path.
21918 LD="$lt_cv_path_LD"
21919 if test -n "$LD"; then
21920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
21921 $as_echo "$LD" >&6; }
21922 else
21923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21924 $as_echo "no" >&6; }
21926 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
21927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
21928 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
21929 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
21930 $as_echo_n "(cached) " >&6
21931 else
21932 # I'd rather use --version here, but apparently some GNU lds only accept -v.
21933 case `$LD -v 2>&1 </dev/null` in
21934 *GNU* | *'with BFD'*)
21935 lt_cv_prog_gnu_ld=yes
21938 lt_cv_prog_gnu_ld=no
21940 esac
21942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
21943 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
21944 with_gnu_ld=$lt_cv_prog_gnu_ld
21952 # If we're not using GNU ld, then there's no point in even trying these
21953 # tests. Check for that first. We should have already tested for gld
21954 # by now (in libtool), but require it now just to be safe...
21955 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
21956 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
21960 # The name set by libtool depends on the version of libtool. Shame on us
21961 # for depending on an impl detail, but c'est la vie. Older versions used
21962 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
21963 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
21964 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
21965 # set (hence we're using an older libtool), then set it.
21966 if test x${with_gnu_ld+set} != xset; then
21967 if test x${ac_cv_prog_gnu_ld+set} != xset; then
21968 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
21969 with_gnu_ld=no
21970 else
21971 with_gnu_ld=$ac_cv_prog_gnu_ld
21975 # Start by getting the version number. I think the libtool test already
21976 # does some of this, but throws away the result.
21977 glibcxx_ld_is_gold=no
21978 if test x"$with_gnu_ld" = x"yes"; then
21979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
21980 $as_echo_n "checking for ld version... " >&6; }
21982 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
21983 glibcxx_ld_is_gold=yes
21985 ldver=`$LD --version 2>/dev/null |
21986 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
21988 glibcxx_gnu_ld_version=`echo $ldver | \
21989 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
21990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
21991 $as_echo "$glibcxx_gnu_ld_version" >&6; }
21994 # Set --gc-sections.
21995 glibcxx_have_gc_sections=no
21996 if test "$glibcxx_ld_is_gold" = "yes"; then
21997 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
21998 glibcxx_have_gc_sections=yes
22000 else
22001 glibcxx_gcsections_min_ld=21602
22002 if test x"$with_gnu_ld" = x"yes" &&
22003 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22004 glibcxx_have_gc_sections=yes
22007 if test "$glibcxx_have_gc_sections" = "yes"; then
22008 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
22009 # NB: This flag only works reliably after 2.16.1. Configure tests
22010 # for this are difficult, so hard wire a value that should work.
22012 ac_test_CFLAGS="${CFLAGS+set}"
22013 ac_save_CFLAGS="$CFLAGS"
22014 CFLAGS='-Wl,--gc-sections'
22016 # Check for -Wl,--gc-sections
22017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22018 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22019 if test x$gcc_no_link = xyes; then
22020 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22023 /* end confdefs.h. */
22024 int one(void) { return 1; }
22025 int two(void) { return 2; }
22028 main ()
22030 two();
22032 return 0;
22034 _ACEOF
22035 if ac_fn_c_try_link "$LINENO"; then :
22036 ac_gcsections=yes
22037 else
22038 ac_gcsections=no
22040 rm -f core conftest.err conftest.$ac_objext \
22041 conftest$ac_exeext conftest.$ac_ext
22042 if test "$ac_gcsections" = "yes"; then
22043 rm -f conftest.c
22044 touch conftest.c
22045 if $CC -c conftest.c; then
22046 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22047 grep "Warning: gc-sections option ignored" > /dev/null; then
22048 ac_gcsections=no
22051 rm -f conftest.c conftest.o conftest
22053 if test "$ac_gcsections" = "yes"; then
22054 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22057 $as_echo "$ac_gcsections" >&6; }
22059 if test "$ac_test_CFLAGS" = set; then
22060 CFLAGS="$ac_save_CFLAGS"
22061 else
22062 # this is the suspicious part
22063 CFLAGS=''
22067 # Set -z,relro.
22068 # Note this is only for shared objects.
22069 ac_ld_relro=no
22070 if test x"$with_gnu_ld" = x"yes"; then
22071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22072 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22073 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22074 if test -n "$cxx_z_relo"; then
22075 OPT_LDFLAGS="-Wl,-z,relro"
22076 ac_ld_relro=yes
22078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22079 $as_echo "$ac_ld_relro" >&6; }
22082 # Set linker optimization flags.
22083 if test x"$with_gnu_ld" = x"yes"; then
22084 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22091 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22092 ac_save_CXXFLAGS="$CXXFLAGS"
22093 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22096 $as_echo_n "checking for sin in -lm... " >&6; }
22097 if test "${ac_cv_lib_m_sin+set}" = set; then :
22098 $as_echo_n "(cached) " >&6
22099 else
22100 ac_check_lib_save_LIBS=$LIBS
22101 LIBS="-lm $LIBS"
22102 if test x$gcc_no_link = xyes; then
22103 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22106 /* end confdefs.h. */
22108 /* Override any GCC internal prototype to avoid an error.
22109 Use char because int might match the return type of a GCC
22110 builtin and then its argument prototype would still apply. */
22111 #ifdef __cplusplus
22112 extern "C"
22113 #endif
22114 char sin ();
22116 main ()
22118 return sin ();
22120 return 0;
22122 _ACEOF
22123 if ac_fn_c_try_link "$LINENO"; then :
22124 ac_cv_lib_m_sin=yes
22125 else
22126 ac_cv_lib_m_sin=no
22128 rm -f core conftest.err conftest.$ac_objext \
22129 conftest$ac_exeext conftest.$ac_ext
22130 LIBS=$ac_check_lib_save_LIBS
22132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22133 $as_echo "$ac_cv_lib_m_sin" >&6; }
22134 if test "x$ac_cv_lib_m_sin" = x""yes; then :
22135 libm="-lm"
22138 ac_save_LIBS="$LIBS"
22139 LIBS="$LIBS $libm"
22143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22144 $as_echo_n "checking for isinf declaration... " >&6; }
22145 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22146 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
22147 $as_echo_n "(cached) " >&6
22148 else
22151 ac_ext=cpp
22152 ac_cpp='$CXXCPP $CPPFLAGS'
22153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22158 /* end confdefs.h. */
22159 #include <math.h>
22160 #ifdef HAVE_IEEEFP_H
22161 #include <ieeefp.h>
22162 #endif
22165 main ()
22167 isinf(0);
22169 return 0;
22171 _ACEOF
22172 if ac_fn_cxx_try_compile "$LINENO"; then :
22173 glibcxx_cv_func_isinf_use=yes
22174 else
22175 glibcxx_cv_func_isinf_use=no
22177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22178 ac_ext=c
22179 ac_cpp='$CPP $CPPFLAGS'
22180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22189 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22191 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22192 for ac_func in isinf
22193 do :
22194 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22195 if test "x$ac_cv_func_isinf" = x""yes; then :
22196 cat >>confdefs.h <<_ACEOF
22197 #define HAVE_ISINF 1
22198 _ACEOF
22201 done
22203 else
22205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22206 $as_echo_n "checking for _isinf declaration... " >&6; }
22207 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22208 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
22209 $as_echo_n "(cached) " >&6
22210 else
22213 ac_ext=cpp
22214 ac_cpp='$CXXCPP $CPPFLAGS'
22215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22220 /* end confdefs.h. */
22221 #include <math.h>
22222 #ifdef HAVE_IEEEFP_H
22223 #include <ieeefp.h>
22224 #endif
22227 main ()
22229 _isinf(0);
22231 return 0;
22233 _ACEOF
22234 if ac_fn_cxx_try_compile "$LINENO"; then :
22235 glibcxx_cv_func__isinf_use=yes
22236 else
22237 glibcxx_cv_func__isinf_use=no
22239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22240 ac_ext=c
22241 ac_cpp='$CPP $CPPFLAGS'
22242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22251 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22253 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22254 for ac_func in _isinf
22255 do :
22256 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22257 if test "x$ac_cv_func__isinf" = x""yes; then :
22258 cat >>confdefs.h <<_ACEOF
22259 #define HAVE__ISINF 1
22260 _ACEOF
22263 done
22272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22273 $as_echo_n "checking for isnan declaration... " >&6; }
22274 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22275 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
22276 $as_echo_n "(cached) " >&6
22277 else
22280 ac_ext=cpp
22281 ac_cpp='$CXXCPP $CPPFLAGS'
22282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22287 /* end confdefs.h. */
22288 #include <math.h>
22289 #ifdef HAVE_IEEEFP_H
22290 #include <ieeefp.h>
22291 #endif
22294 main ()
22296 isnan(0);
22298 return 0;
22300 _ACEOF
22301 if ac_fn_cxx_try_compile "$LINENO"; then :
22302 glibcxx_cv_func_isnan_use=yes
22303 else
22304 glibcxx_cv_func_isnan_use=no
22306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22307 ac_ext=c
22308 ac_cpp='$CPP $CPPFLAGS'
22309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22318 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22320 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22321 for ac_func in isnan
22322 do :
22323 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22324 if test "x$ac_cv_func_isnan" = x""yes; then :
22325 cat >>confdefs.h <<_ACEOF
22326 #define HAVE_ISNAN 1
22327 _ACEOF
22330 done
22332 else
22334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22335 $as_echo_n "checking for _isnan declaration... " >&6; }
22336 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22337 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
22338 $as_echo_n "(cached) " >&6
22339 else
22342 ac_ext=cpp
22343 ac_cpp='$CXXCPP $CPPFLAGS'
22344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22349 /* end confdefs.h. */
22350 #include <math.h>
22351 #ifdef HAVE_IEEEFP_H
22352 #include <ieeefp.h>
22353 #endif
22356 main ()
22358 _isnan(0);
22360 return 0;
22362 _ACEOF
22363 if ac_fn_cxx_try_compile "$LINENO"; then :
22364 glibcxx_cv_func__isnan_use=yes
22365 else
22366 glibcxx_cv_func__isnan_use=no
22368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22369 ac_ext=c
22370 ac_cpp='$CPP $CPPFLAGS'
22371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22380 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22382 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22383 for ac_func in _isnan
22384 do :
22385 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22386 if test "x$ac_cv_func__isnan" = x""yes; then :
22387 cat >>confdefs.h <<_ACEOF
22388 #define HAVE__ISNAN 1
22389 _ACEOF
22392 done
22401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22402 $as_echo_n "checking for finite declaration... " >&6; }
22403 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22404 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
22405 $as_echo_n "(cached) " >&6
22406 else
22409 ac_ext=cpp
22410 ac_cpp='$CXXCPP $CPPFLAGS'
22411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22416 /* end confdefs.h. */
22417 #include <math.h>
22418 #ifdef HAVE_IEEEFP_H
22419 #include <ieeefp.h>
22420 #endif
22423 main ()
22425 finite(0);
22427 return 0;
22429 _ACEOF
22430 if ac_fn_cxx_try_compile "$LINENO"; then :
22431 glibcxx_cv_func_finite_use=yes
22432 else
22433 glibcxx_cv_func_finite_use=no
22435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22436 ac_ext=c
22437 ac_cpp='$CPP $CPPFLAGS'
22438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22447 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22449 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22450 for ac_func in finite
22451 do :
22452 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22453 if test "x$ac_cv_func_finite" = x""yes; then :
22454 cat >>confdefs.h <<_ACEOF
22455 #define HAVE_FINITE 1
22456 _ACEOF
22459 done
22461 else
22463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22464 $as_echo_n "checking for _finite declaration... " >&6; }
22465 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22466 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
22467 $as_echo_n "(cached) " >&6
22468 else
22471 ac_ext=cpp
22472 ac_cpp='$CXXCPP $CPPFLAGS'
22473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22478 /* end confdefs.h. */
22479 #include <math.h>
22480 #ifdef HAVE_IEEEFP_H
22481 #include <ieeefp.h>
22482 #endif
22485 main ()
22487 _finite(0);
22489 return 0;
22491 _ACEOF
22492 if ac_fn_cxx_try_compile "$LINENO"; then :
22493 glibcxx_cv_func__finite_use=yes
22494 else
22495 glibcxx_cv_func__finite_use=no
22497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22498 ac_ext=c
22499 ac_cpp='$CPP $CPPFLAGS'
22500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22509 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22511 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22512 for ac_func in _finite
22513 do :
22514 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22515 if test "x$ac_cv_func__finite" = x""yes; then :
22516 cat >>confdefs.h <<_ACEOF
22517 #define HAVE__FINITE 1
22518 _ACEOF
22521 done
22530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22531 $as_echo_n "checking for sincos declaration... " >&6; }
22532 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22533 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
22534 $as_echo_n "(cached) " >&6
22535 else
22538 ac_ext=cpp
22539 ac_cpp='$CXXCPP $CPPFLAGS'
22540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22545 /* end confdefs.h. */
22546 #include <math.h>
22548 main ()
22550 sincos(0, 0, 0);
22552 return 0;
22554 _ACEOF
22555 if ac_fn_cxx_try_compile "$LINENO"; then :
22556 glibcxx_cv_func_sincos_use=yes
22557 else
22558 glibcxx_cv_func_sincos_use=no
22560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22561 ac_ext=c
22562 ac_cpp='$CPP $CPPFLAGS'
22563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22572 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22574 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22575 for ac_func in sincos
22576 do :
22577 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22578 if test "x$ac_cv_func_sincos" = x""yes; then :
22579 cat >>confdefs.h <<_ACEOF
22580 #define HAVE_SINCOS 1
22581 _ACEOF
22584 done
22586 else
22588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22589 $as_echo_n "checking for _sincos declaration... " >&6; }
22590 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22591 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
22592 $as_echo_n "(cached) " >&6
22593 else
22596 ac_ext=cpp
22597 ac_cpp='$CXXCPP $CPPFLAGS'
22598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22603 /* end confdefs.h. */
22604 #include <math.h>
22606 main ()
22608 _sincos(0, 0, 0);
22610 return 0;
22612 _ACEOF
22613 if ac_fn_cxx_try_compile "$LINENO"; then :
22614 glibcxx_cv_func__sincos_use=yes
22615 else
22616 glibcxx_cv_func__sincos_use=no
22618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22619 ac_ext=c
22620 ac_cpp='$CPP $CPPFLAGS'
22621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22630 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22632 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22633 for ac_func in _sincos
22634 do :
22635 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22636 if test "x$ac_cv_func__sincos" = x""yes; then :
22637 cat >>confdefs.h <<_ACEOF
22638 #define HAVE__SINCOS 1
22639 _ACEOF
22642 done
22651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22652 $as_echo_n "checking for fpclass declaration... " >&6; }
22653 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22654 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
22655 $as_echo_n "(cached) " >&6
22656 else
22659 ac_ext=cpp
22660 ac_cpp='$CXXCPP $CPPFLAGS'
22661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22666 /* end confdefs.h. */
22667 #include <math.h>
22668 #ifdef HAVE_IEEEFP_H
22669 #include <ieeefp.h>
22670 #endif
22673 main ()
22675 fpclass(0);
22677 return 0;
22679 _ACEOF
22680 if ac_fn_cxx_try_compile "$LINENO"; then :
22681 glibcxx_cv_func_fpclass_use=yes
22682 else
22683 glibcxx_cv_func_fpclass_use=no
22685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22686 ac_ext=c
22687 ac_cpp='$CPP $CPPFLAGS'
22688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22697 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22699 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22700 for ac_func in fpclass
22701 do :
22702 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22703 if test "x$ac_cv_func_fpclass" = x""yes; then :
22704 cat >>confdefs.h <<_ACEOF
22705 #define HAVE_FPCLASS 1
22706 _ACEOF
22709 done
22711 else
22713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22714 $as_echo_n "checking for _fpclass declaration... " >&6; }
22715 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22716 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
22717 $as_echo_n "(cached) " >&6
22718 else
22721 ac_ext=cpp
22722 ac_cpp='$CXXCPP $CPPFLAGS'
22723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22728 /* end confdefs.h. */
22729 #include <math.h>
22730 #ifdef HAVE_IEEEFP_H
22731 #include <ieeefp.h>
22732 #endif
22735 main ()
22737 _fpclass(0);
22739 return 0;
22741 _ACEOF
22742 if ac_fn_cxx_try_compile "$LINENO"; then :
22743 glibcxx_cv_func__fpclass_use=yes
22744 else
22745 glibcxx_cv_func__fpclass_use=no
22747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22748 ac_ext=c
22749 ac_cpp='$CPP $CPPFLAGS'
22750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
22759 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
22761 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
22762 for ac_func in _fpclass
22763 do :
22764 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
22765 if test "x$ac_cv_func__fpclass" = x""yes; then :
22766 cat >>confdefs.h <<_ACEOF
22767 #define HAVE__FPCLASS 1
22768 _ACEOF
22771 done
22780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
22781 $as_echo_n "checking for qfpclass declaration... " >&6; }
22782 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
22783 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
22784 $as_echo_n "(cached) " >&6
22785 else
22788 ac_ext=cpp
22789 ac_cpp='$CXXCPP $CPPFLAGS'
22790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22795 /* end confdefs.h. */
22796 #include <math.h>
22797 #ifdef HAVE_IEEEFP_H
22798 #include <ieeefp.h>
22799 #endif
22802 main ()
22804 qfpclass(0);
22806 return 0;
22808 _ACEOF
22809 if ac_fn_cxx_try_compile "$LINENO"; then :
22810 glibcxx_cv_func_qfpclass_use=yes
22811 else
22812 glibcxx_cv_func_qfpclass_use=no
22814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22815 ac_ext=c
22816 ac_cpp='$CPP $CPPFLAGS'
22817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
22826 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
22828 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
22829 for ac_func in qfpclass
22830 do :
22831 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
22832 if test "x$ac_cv_func_qfpclass" = x""yes; then :
22833 cat >>confdefs.h <<_ACEOF
22834 #define HAVE_QFPCLASS 1
22835 _ACEOF
22838 done
22840 else
22842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
22843 $as_echo_n "checking for _qfpclass declaration... " >&6; }
22844 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
22845 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
22846 $as_echo_n "(cached) " >&6
22847 else
22850 ac_ext=cpp
22851 ac_cpp='$CXXCPP $CPPFLAGS'
22852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22857 /* end confdefs.h. */
22858 #include <math.h>
22859 #ifdef HAVE_IEEEFP_H
22860 #include <ieeefp.h>
22861 #endif
22864 main ()
22866 _qfpclass(0);
22868 return 0;
22870 _ACEOF
22871 if ac_fn_cxx_try_compile "$LINENO"; then :
22872 glibcxx_cv_func__qfpclass_use=yes
22873 else
22874 glibcxx_cv_func__qfpclass_use=no
22876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22877 ac_ext=c
22878 ac_cpp='$CPP $CPPFLAGS'
22879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
22888 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
22890 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
22891 for ac_func in _qfpclass
22892 do :
22893 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
22894 if test "x$ac_cv_func__qfpclass" = x""yes; then :
22895 cat >>confdefs.h <<_ACEOF
22896 #define HAVE__QFPCLASS 1
22897 _ACEOF
22900 done
22909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
22910 $as_echo_n "checking for hypot declaration... " >&6; }
22911 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
22912 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
22913 $as_echo_n "(cached) " >&6
22914 else
22917 ac_ext=cpp
22918 ac_cpp='$CXXCPP $CPPFLAGS'
22919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22924 /* end confdefs.h. */
22925 #include <math.h>
22927 main ()
22929 hypot(0, 0);
22931 return 0;
22933 _ACEOF
22934 if ac_fn_cxx_try_compile "$LINENO"; then :
22935 glibcxx_cv_func_hypot_use=yes
22936 else
22937 glibcxx_cv_func_hypot_use=no
22939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22940 ac_ext=c
22941 ac_cpp='$CPP $CPPFLAGS'
22942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
22951 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
22953 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
22954 for ac_func in hypot
22955 do :
22956 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
22957 if test "x$ac_cv_func_hypot" = x""yes; then :
22958 cat >>confdefs.h <<_ACEOF
22959 #define HAVE_HYPOT 1
22960 _ACEOF
22963 done
22965 else
22967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
22968 $as_echo_n "checking for _hypot declaration... " >&6; }
22969 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
22970 if test "${glibcxx_cv_func__hypot_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 _hypot(0, 0);
22989 return 0;
22991 _ACEOF
22992 if ac_fn_cxx_try_compile "$LINENO"; then :
22993 glibcxx_cv_func__hypot_use=yes
22994 else
22995 glibcxx_cv_func__hypot_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
23008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23009 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23011 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23012 for ac_func in _hypot
23013 do :
23014 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23015 if test "x$ac_cv_func__hypot" = x""yes; then :
23016 cat >>confdefs.h <<_ACEOF
23017 #define HAVE__HYPOT 1
23018 _ACEOF
23021 done
23030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23031 $as_echo_n "checking for float trig functions... " >&6; }
23032 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
23033 $as_echo_n "(cached) " >&6
23034 else
23037 ac_ext=cpp
23038 ac_cpp='$CXXCPP $CPPFLAGS'
23039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23044 /* end confdefs.h. */
23045 #include <math.h>
23047 main ()
23049 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23051 return 0;
23053 _ACEOF
23054 if ac_fn_cxx_try_compile "$LINENO"; then :
23055 glibcxx_cv_func_float_trig_use=yes
23056 else
23057 glibcxx_cv_func_float_trig_use=no
23059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23060 ac_ext=c
23061 ac_cpp='$CPP $CPPFLAGS'
23062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23069 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23070 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23071 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23072 do :
23073 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23074 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23075 eval as_val=\$$as_ac_var
23076 if test "x$as_val" = x""yes; then :
23077 cat >>confdefs.h <<_ACEOF
23078 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23079 _ACEOF
23082 done
23084 else
23085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23086 $as_echo_n "checking for _float trig functions... " >&6; }
23087 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
23088 $as_echo_n "(cached) " >&6
23089 else
23092 ac_ext=cpp
23093 ac_cpp='$CXXCPP $CPPFLAGS'
23094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23099 /* end confdefs.h. */
23100 #include <math.h>
23102 main ()
23104 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23106 return 0;
23108 _ACEOF
23109 if ac_fn_cxx_try_compile "$LINENO"; then :
23110 glibcxx_cv_func__float_trig_use=yes
23111 else
23112 glibcxx_cv_func__float_trig_use=no
23114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23115 ac_ext=c
23116 ac_cpp='$CPP $CPPFLAGS'
23117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23124 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23125 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23126 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23127 do :
23128 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23129 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23130 eval as_val=\$$as_ac_var
23131 if test "x$as_val" = x""yes; then :
23132 cat >>confdefs.h <<_ACEOF
23133 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23134 _ACEOF
23137 done
23146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23147 $as_echo_n "checking for float round functions... " >&6; }
23148 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
23149 $as_echo_n "(cached) " >&6
23150 else
23153 ac_ext=cpp
23154 ac_cpp='$CXXCPP $CPPFLAGS'
23155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23160 /* end confdefs.h. */
23161 #include <math.h>
23163 main ()
23165 ceilf (0); floorf (0);
23167 return 0;
23169 _ACEOF
23170 if ac_fn_cxx_try_compile "$LINENO"; then :
23171 glibcxx_cv_func_float_round_use=yes
23172 else
23173 glibcxx_cv_func_float_round_use=no
23175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23176 ac_ext=c
23177 ac_cpp='$CPP $CPPFLAGS'
23178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23185 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23186 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23187 for ac_func in ceilf floorf
23188 do :
23189 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23190 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23191 eval as_val=\$$as_ac_var
23192 if test "x$as_val" = x""yes; then :
23193 cat >>confdefs.h <<_ACEOF
23194 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23195 _ACEOF
23198 done
23200 else
23201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23202 $as_echo_n "checking for _float round functions... " >&6; }
23203 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
23204 $as_echo_n "(cached) " >&6
23205 else
23208 ac_ext=cpp
23209 ac_cpp='$CXXCPP $CPPFLAGS'
23210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23215 /* end confdefs.h. */
23216 #include <math.h>
23218 main ()
23220 _ceilf (0); _floorf (0);
23222 return 0;
23224 _ACEOF
23225 if ac_fn_cxx_try_compile "$LINENO"; then :
23226 glibcxx_cv_func__float_round_use=yes
23227 else
23228 glibcxx_cv_func__float_round_use=no
23230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23231 ac_ext=c
23232 ac_cpp='$CPP $CPPFLAGS'
23233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23240 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23241 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23242 for ac_func in _ceilf _floorf
23243 do :
23244 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23245 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23246 eval as_val=\$$as_ac_var
23247 if test "x$as_val" = x""yes; then :
23248 cat >>confdefs.h <<_ACEOF
23249 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23250 _ACEOF
23253 done
23263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23264 $as_echo_n "checking for expf declaration... " >&6; }
23265 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23266 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
23267 $as_echo_n "(cached) " >&6
23268 else
23271 ac_ext=cpp
23272 ac_cpp='$CXXCPP $CPPFLAGS'
23273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23278 /* end confdefs.h. */
23279 #include <math.h>
23280 #ifdef HAVE_IEEEFP_H
23281 #include <ieeefp.h>
23282 #endif
23285 main ()
23287 expf(0);
23289 return 0;
23291 _ACEOF
23292 if ac_fn_cxx_try_compile "$LINENO"; then :
23293 glibcxx_cv_func_expf_use=yes
23294 else
23295 glibcxx_cv_func_expf_use=no
23297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23298 ac_ext=c
23299 ac_cpp='$CPP $CPPFLAGS'
23300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23309 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23311 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23312 for ac_func in expf
23313 do :
23314 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23315 if test "x$ac_cv_func_expf" = x""yes; then :
23316 cat >>confdefs.h <<_ACEOF
23317 #define HAVE_EXPF 1
23318 _ACEOF
23321 done
23323 else
23325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23326 $as_echo_n "checking for _expf declaration... " >&6; }
23327 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23328 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
23329 $as_echo_n "(cached) " >&6
23330 else
23333 ac_ext=cpp
23334 ac_cpp='$CXXCPP $CPPFLAGS'
23335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23340 /* end confdefs.h. */
23341 #include <math.h>
23342 #ifdef HAVE_IEEEFP_H
23343 #include <ieeefp.h>
23344 #endif
23347 main ()
23349 _expf(0);
23351 return 0;
23353 _ACEOF
23354 if ac_fn_cxx_try_compile "$LINENO"; then :
23355 glibcxx_cv_func__expf_use=yes
23356 else
23357 glibcxx_cv_func__expf_use=no
23359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23360 ac_ext=c
23361 ac_cpp='$CPP $CPPFLAGS'
23362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23371 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23373 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23374 for ac_func in _expf
23375 do :
23376 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23377 if test "x$ac_cv_func__expf" = x""yes; then :
23378 cat >>confdefs.h <<_ACEOF
23379 #define HAVE__EXPF 1
23380 _ACEOF
23383 done
23392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23393 $as_echo_n "checking for isnanf declaration... " >&6; }
23394 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23395 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
23396 $as_echo_n "(cached) " >&6
23397 else
23400 ac_ext=cpp
23401 ac_cpp='$CXXCPP $CPPFLAGS'
23402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23407 /* end confdefs.h. */
23408 #include <math.h>
23409 #ifdef HAVE_IEEEFP_H
23410 #include <ieeefp.h>
23411 #endif
23414 main ()
23416 isnanf(0);
23418 return 0;
23420 _ACEOF
23421 if ac_fn_cxx_try_compile "$LINENO"; then :
23422 glibcxx_cv_func_isnanf_use=yes
23423 else
23424 glibcxx_cv_func_isnanf_use=no
23426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23427 ac_ext=c
23428 ac_cpp='$CPP $CPPFLAGS'
23429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23438 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23440 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23441 for ac_func in isnanf
23442 do :
23443 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23444 if test "x$ac_cv_func_isnanf" = x""yes; then :
23445 cat >>confdefs.h <<_ACEOF
23446 #define HAVE_ISNANF 1
23447 _ACEOF
23450 done
23452 else
23454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23455 $as_echo_n "checking for _isnanf declaration... " >&6; }
23456 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23457 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
23458 $as_echo_n "(cached) " >&6
23459 else
23462 ac_ext=cpp
23463 ac_cpp='$CXXCPP $CPPFLAGS'
23464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23469 /* end confdefs.h. */
23470 #include <math.h>
23471 #ifdef HAVE_IEEEFP_H
23472 #include <ieeefp.h>
23473 #endif
23476 main ()
23478 _isnanf(0);
23480 return 0;
23482 _ACEOF
23483 if ac_fn_cxx_try_compile "$LINENO"; then :
23484 glibcxx_cv_func__isnanf_use=yes
23485 else
23486 glibcxx_cv_func__isnanf_use=no
23488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23489 ac_ext=c
23490 ac_cpp='$CPP $CPPFLAGS'
23491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23500 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23502 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23503 for ac_func in _isnanf
23504 do :
23505 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23506 if test "x$ac_cv_func__isnanf" = x""yes; then :
23507 cat >>confdefs.h <<_ACEOF
23508 #define HAVE__ISNANF 1
23509 _ACEOF
23512 done
23521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23522 $as_echo_n "checking for isinff declaration... " >&6; }
23523 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23524 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
23525 $as_echo_n "(cached) " >&6
23526 else
23529 ac_ext=cpp
23530 ac_cpp='$CXXCPP $CPPFLAGS'
23531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23536 /* end confdefs.h. */
23537 #include <math.h>
23538 #ifdef HAVE_IEEEFP_H
23539 #include <ieeefp.h>
23540 #endif
23543 main ()
23545 isinff(0);
23547 return 0;
23549 _ACEOF
23550 if ac_fn_cxx_try_compile "$LINENO"; then :
23551 glibcxx_cv_func_isinff_use=yes
23552 else
23553 glibcxx_cv_func_isinff_use=no
23555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23556 ac_ext=c
23557 ac_cpp='$CPP $CPPFLAGS'
23558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23567 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23569 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23570 for ac_func in isinff
23571 do :
23572 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23573 if test "x$ac_cv_func_isinff" = x""yes; then :
23574 cat >>confdefs.h <<_ACEOF
23575 #define HAVE_ISINFF 1
23576 _ACEOF
23579 done
23581 else
23583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23584 $as_echo_n "checking for _isinff declaration... " >&6; }
23585 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23586 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
23587 $as_echo_n "(cached) " >&6
23588 else
23591 ac_ext=cpp
23592 ac_cpp='$CXXCPP $CPPFLAGS'
23593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23598 /* end confdefs.h. */
23599 #include <math.h>
23600 #ifdef HAVE_IEEEFP_H
23601 #include <ieeefp.h>
23602 #endif
23605 main ()
23607 _isinff(0);
23609 return 0;
23611 _ACEOF
23612 if ac_fn_cxx_try_compile "$LINENO"; then :
23613 glibcxx_cv_func__isinff_use=yes
23614 else
23615 glibcxx_cv_func__isinff_use=no
23617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23618 ac_ext=c
23619 ac_cpp='$CPP $CPPFLAGS'
23620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23629 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23631 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23632 for ac_func in _isinff
23633 do :
23634 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23635 if test "x$ac_cv_func__isinff" = x""yes; then :
23636 cat >>confdefs.h <<_ACEOF
23637 #define HAVE__ISINFF 1
23638 _ACEOF
23641 done
23650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23651 $as_echo_n "checking for atan2f declaration... " >&6; }
23652 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23653 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
23654 $as_echo_n "(cached) " >&6
23655 else
23658 ac_ext=cpp
23659 ac_cpp='$CXXCPP $CPPFLAGS'
23660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23665 /* end confdefs.h. */
23666 #include <math.h>
23668 main ()
23670 atan2f(0, 0);
23672 return 0;
23674 _ACEOF
23675 if ac_fn_cxx_try_compile "$LINENO"; then :
23676 glibcxx_cv_func_atan2f_use=yes
23677 else
23678 glibcxx_cv_func_atan2f_use=no
23680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23681 ac_ext=c
23682 ac_cpp='$CPP $CPPFLAGS'
23683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23692 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23694 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23695 for ac_func in atan2f
23696 do :
23697 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23698 if test "x$ac_cv_func_atan2f" = x""yes; then :
23699 cat >>confdefs.h <<_ACEOF
23700 #define HAVE_ATAN2F 1
23701 _ACEOF
23704 done
23706 else
23708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23709 $as_echo_n "checking for _atan2f declaration... " >&6; }
23710 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23711 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
23712 $as_echo_n "(cached) " >&6
23713 else
23716 ac_ext=cpp
23717 ac_cpp='$CXXCPP $CPPFLAGS'
23718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23723 /* end confdefs.h. */
23724 #include <math.h>
23726 main ()
23728 _atan2f(0, 0);
23730 return 0;
23732 _ACEOF
23733 if ac_fn_cxx_try_compile "$LINENO"; then :
23734 glibcxx_cv_func__atan2f_use=yes
23735 else
23736 glibcxx_cv_func__atan2f_use=no
23738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23739 ac_ext=c
23740 ac_cpp='$CPP $CPPFLAGS'
23741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23750 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23752 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23753 for ac_func in _atan2f
23754 do :
23755 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
23756 if test "x$ac_cv_func__atan2f" = x""yes; then :
23757 cat >>confdefs.h <<_ACEOF
23758 #define HAVE__ATAN2F 1
23759 _ACEOF
23762 done
23771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
23772 $as_echo_n "checking for fabsf declaration... " >&6; }
23773 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23774 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
23775 $as_echo_n "(cached) " >&6
23776 else
23779 ac_ext=cpp
23780 ac_cpp='$CXXCPP $CPPFLAGS'
23781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23786 /* end confdefs.h. */
23787 #include <math.h>
23788 #ifdef HAVE_IEEEFP_H
23789 #include <ieeefp.h>
23790 #endif
23793 main ()
23795 fabsf(0);
23797 return 0;
23799 _ACEOF
23800 if ac_fn_cxx_try_compile "$LINENO"; then :
23801 glibcxx_cv_func_fabsf_use=yes
23802 else
23803 glibcxx_cv_func_fabsf_use=no
23805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23806 ac_ext=c
23807 ac_cpp='$CPP $CPPFLAGS'
23808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
23817 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
23819 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
23820 for ac_func in fabsf
23821 do :
23822 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
23823 if test "x$ac_cv_func_fabsf" = x""yes; then :
23824 cat >>confdefs.h <<_ACEOF
23825 #define HAVE_FABSF 1
23826 _ACEOF
23829 done
23831 else
23833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
23834 $as_echo_n "checking for _fabsf declaration... " >&6; }
23835 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
23836 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
23837 $as_echo_n "(cached) " >&6
23838 else
23841 ac_ext=cpp
23842 ac_cpp='$CXXCPP $CPPFLAGS'
23843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23848 /* end confdefs.h. */
23849 #include <math.h>
23850 #ifdef HAVE_IEEEFP_H
23851 #include <ieeefp.h>
23852 #endif
23855 main ()
23857 _fabsf(0);
23859 return 0;
23861 _ACEOF
23862 if ac_fn_cxx_try_compile "$LINENO"; then :
23863 glibcxx_cv_func__fabsf_use=yes
23864 else
23865 glibcxx_cv_func__fabsf_use=no
23867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23868 ac_ext=c
23869 ac_cpp='$CPP $CPPFLAGS'
23870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
23879 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
23881 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
23882 for ac_func in _fabsf
23883 do :
23884 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
23885 if test "x$ac_cv_func__fabsf" = x""yes; then :
23886 cat >>confdefs.h <<_ACEOF
23887 #define HAVE__FABSF 1
23888 _ACEOF
23891 done
23900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
23901 $as_echo_n "checking for fmodf declaration... " >&6; }
23902 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
23903 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
23904 $as_echo_n "(cached) " >&6
23905 else
23908 ac_ext=cpp
23909 ac_cpp='$CXXCPP $CPPFLAGS'
23910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23915 /* end confdefs.h. */
23916 #include <math.h>
23918 main ()
23920 fmodf(0, 0);
23922 return 0;
23924 _ACEOF
23925 if ac_fn_cxx_try_compile "$LINENO"; then :
23926 glibcxx_cv_func_fmodf_use=yes
23927 else
23928 glibcxx_cv_func_fmodf_use=no
23930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23931 ac_ext=c
23932 ac_cpp='$CPP $CPPFLAGS'
23933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
23942 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
23944 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
23945 for ac_func in fmodf
23946 do :
23947 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
23948 if test "x$ac_cv_func_fmodf" = x""yes; then :
23949 cat >>confdefs.h <<_ACEOF
23950 #define HAVE_FMODF 1
23951 _ACEOF
23954 done
23956 else
23958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
23959 $as_echo_n "checking for _fmodf declaration... " >&6; }
23960 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
23961 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
23962 $as_echo_n "(cached) " >&6
23963 else
23966 ac_ext=cpp
23967 ac_cpp='$CXXCPP $CPPFLAGS'
23968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23973 /* end confdefs.h. */
23974 #include <math.h>
23976 main ()
23978 _fmodf(0, 0);
23980 return 0;
23982 _ACEOF
23983 if ac_fn_cxx_try_compile "$LINENO"; then :
23984 glibcxx_cv_func__fmodf_use=yes
23985 else
23986 glibcxx_cv_func__fmodf_use=no
23988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23989 ac_ext=c
23990 ac_cpp='$CPP $CPPFLAGS'
23991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
24000 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24002 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24003 for ac_func in _fmodf
24004 do :
24005 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24006 if test "x$ac_cv_func__fmodf" = x""yes; then :
24007 cat >>confdefs.h <<_ACEOF
24008 #define HAVE__FMODF 1
24009 _ACEOF
24012 done
24021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24022 $as_echo_n "checking for frexpf declaration... " >&6; }
24023 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24024 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
24025 $as_echo_n "(cached) " >&6
24026 else
24029 ac_ext=cpp
24030 ac_cpp='$CXXCPP $CPPFLAGS'
24031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24036 /* end confdefs.h. */
24037 #include <math.h>
24039 main ()
24041 frexpf(0, 0);
24043 return 0;
24045 _ACEOF
24046 if ac_fn_cxx_try_compile "$LINENO"; then :
24047 glibcxx_cv_func_frexpf_use=yes
24048 else
24049 glibcxx_cv_func_frexpf_use=no
24051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24052 ac_ext=c
24053 ac_cpp='$CPP $CPPFLAGS'
24054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24063 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24065 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24066 for ac_func in frexpf
24067 do :
24068 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24069 if test "x$ac_cv_func_frexpf" = x""yes; then :
24070 cat >>confdefs.h <<_ACEOF
24071 #define HAVE_FREXPF 1
24072 _ACEOF
24075 done
24077 else
24079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24080 $as_echo_n "checking for _frexpf declaration... " >&6; }
24081 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24082 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
24083 $as_echo_n "(cached) " >&6
24084 else
24087 ac_ext=cpp
24088 ac_cpp='$CXXCPP $CPPFLAGS'
24089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24094 /* end confdefs.h. */
24095 #include <math.h>
24097 main ()
24099 _frexpf(0, 0);
24101 return 0;
24103 _ACEOF
24104 if ac_fn_cxx_try_compile "$LINENO"; then :
24105 glibcxx_cv_func__frexpf_use=yes
24106 else
24107 glibcxx_cv_func__frexpf_use=no
24109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24110 ac_ext=c
24111 ac_cpp='$CPP $CPPFLAGS'
24112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24121 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24123 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24124 for ac_func in _frexpf
24125 do :
24126 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24127 if test "x$ac_cv_func__frexpf" = x""yes; then :
24128 cat >>confdefs.h <<_ACEOF
24129 #define HAVE__FREXPF 1
24130 _ACEOF
24133 done
24142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24143 $as_echo_n "checking for hypotf declaration... " >&6; }
24144 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24145 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
24146 $as_echo_n "(cached) " >&6
24147 else
24150 ac_ext=cpp
24151 ac_cpp='$CXXCPP $CPPFLAGS'
24152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24157 /* end confdefs.h. */
24158 #include <math.h>
24160 main ()
24162 hypotf(0, 0);
24164 return 0;
24166 _ACEOF
24167 if ac_fn_cxx_try_compile "$LINENO"; then :
24168 glibcxx_cv_func_hypotf_use=yes
24169 else
24170 glibcxx_cv_func_hypotf_use=no
24172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24173 ac_ext=c
24174 ac_cpp='$CPP $CPPFLAGS'
24175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24184 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24186 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24187 for ac_func in hypotf
24188 do :
24189 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24190 if test "x$ac_cv_func_hypotf" = x""yes; then :
24191 cat >>confdefs.h <<_ACEOF
24192 #define HAVE_HYPOTF 1
24193 _ACEOF
24196 done
24198 else
24200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24201 $as_echo_n "checking for _hypotf declaration... " >&6; }
24202 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24203 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
24204 $as_echo_n "(cached) " >&6
24205 else
24208 ac_ext=cpp
24209 ac_cpp='$CXXCPP $CPPFLAGS'
24210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24215 /* end confdefs.h. */
24216 #include <math.h>
24218 main ()
24220 _hypotf(0, 0);
24222 return 0;
24224 _ACEOF
24225 if ac_fn_cxx_try_compile "$LINENO"; then :
24226 glibcxx_cv_func__hypotf_use=yes
24227 else
24228 glibcxx_cv_func__hypotf_use=no
24230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24231 ac_ext=c
24232 ac_cpp='$CPP $CPPFLAGS'
24233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24242 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24244 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24245 for ac_func in _hypotf
24246 do :
24247 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24248 if test "x$ac_cv_func__hypotf" = x""yes; then :
24249 cat >>confdefs.h <<_ACEOF
24250 #define HAVE__HYPOTF 1
24251 _ACEOF
24254 done
24263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24264 $as_echo_n "checking for ldexpf declaration... " >&6; }
24265 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24266 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
24267 $as_echo_n "(cached) " >&6
24268 else
24271 ac_ext=cpp
24272 ac_cpp='$CXXCPP $CPPFLAGS'
24273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24278 /* end confdefs.h. */
24279 #include <math.h>
24281 main ()
24283 ldexpf(0, 0);
24285 return 0;
24287 _ACEOF
24288 if ac_fn_cxx_try_compile "$LINENO"; then :
24289 glibcxx_cv_func_ldexpf_use=yes
24290 else
24291 glibcxx_cv_func_ldexpf_use=no
24293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24294 ac_ext=c
24295 ac_cpp='$CPP $CPPFLAGS'
24296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24305 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24307 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24308 for ac_func in ldexpf
24309 do :
24310 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24311 if test "x$ac_cv_func_ldexpf" = x""yes; then :
24312 cat >>confdefs.h <<_ACEOF
24313 #define HAVE_LDEXPF 1
24314 _ACEOF
24317 done
24319 else
24321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24322 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24323 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24324 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
24325 $as_echo_n "(cached) " >&6
24326 else
24329 ac_ext=cpp
24330 ac_cpp='$CXXCPP $CPPFLAGS'
24331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24336 /* end confdefs.h. */
24337 #include <math.h>
24339 main ()
24341 _ldexpf(0, 0);
24343 return 0;
24345 _ACEOF
24346 if ac_fn_cxx_try_compile "$LINENO"; then :
24347 glibcxx_cv_func__ldexpf_use=yes
24348 else
24349 glibcxx_cv_func__ldexpf_use=no
24351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24352 ac_ext=c
24353 ac_cpp='$CPP $CPPFLAGS'
24354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24363 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24365 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24366 for ac_func in _ldexpf
24367 do :
24368 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24369 if test "x$ac_cv_func__ldexpf" = x""yes; then :
24370 cat >>confdefs.h <<_ACEOF
24371 #define HAVE__LDEXPF 1
24372 _ACEOF
24375 done
24384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24385 $as_echo_n "checking for logf declaration... " >&6; }
24386 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24387 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
24388 $as_echo_n "(cached) " >&6
24389 else
24392 ac_ext=cpp
24393 ac_cpp='$CXXCPP $CPPFLAGS'
24394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24399 /* end confdefs.h. */
24400 #include <math.h>
24401 #ifdef HAVE_IEEEFP_H
24402 #include <ieeefp.h>
24403 #endif
24406 main ()
24408 logf(0);
24410 return 0;
24412 _ACEOF
24413 if ac_fn_cxx_try_compile "$LINENO"; then :
24414 glibcxx_cv_func_logf_use=yes
24415 else
24416 glibcxx_cv_func_logf_use=no
24418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24419 ac_ext=c
24420 ac_cpp='$CPP $CPPFLAGS'
24421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24430 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24432 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24433 for ac_func in logf
24434 do :
24435 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24436 if test "x$ac_cv_func_logf" = x""yes; then :
24437 cat >>confdefs.h <<_ACEOF
24438 #define HAVE_LOGF 1
24439 _ACEOF
24442 done
24444 else
24446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24447 $as_echo_n "checking for _logf declaration... " >&6; }
24448 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24449 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
24450 $as_echo_n "(cached) " >&6
24451 else
24454 ac_ext=cpp
24455 ac_cpp='$CXXCPP $CPPFLAGS'
24456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24461 /* end confdefs.h. */
24462 #include <math.h>
24463 #ifdef HAVE_IEEEFP_H
24464 #include <ieeefp.h>
24465 #endif
24468 main ()
24470 _logf(0);
24472 return 0;
24474 _ACEOF
24475 if ac_fn_cxx_try_compile "$LINENO"; then :
24476 glibcxx_cv_func__logf_use=yes
24477 else
24478 glibcxx_cv_func__logf_use=no
24480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24481 ac_ext=c
24482 ac_cpp='$CPP $CPPFLAGS'
24483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24492 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24494 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24495 for ac_func in _logf
24496 do :
24497 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24498 if test "x$ac_cv_func__logf" = x""yes; then :
24499 cat >>confdefs.h <<_ACEOF
24500 #define HAVE__LOGF 1
24501 _ACEOF
24504 done
24513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24514 $as_echo_n "checking for log10f declaration... " >&6; }
24515 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24516 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
24517 $as_echo_n "(cached) " >&6
24518 else
24521 ac_ext=cpp
24522 ac_cpp='$CXXCPP $CPPFLAGS'
24523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24528 /* end confdefs.h. */
24529 #include <math.h>
24530 #ifdef HAVE_IEEEFP_H
24531 #include <ieeefp.h>
24532 #endif
24535 main ()
24537 log10f(0);
24539 return 0;
24541 _ACEOF
24542 if ac_fn_cxx_try_compile "$LINENO"; then :
24543 glibcxx_cv_func_log10f_use=yes
24544 else
24545 glibcxx_cv_func_log10f_use=no
24547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24548 ac_ext=c
24549 ac_cpp='$CPP $CPPFLAGS'
24550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24559 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24561 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24562 for ac_func in log10f
24563 do :
24564 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24565 if test "x$ac_cv_func_log10f" = x""yes; then :
24566 cat >>confdefs.h <<_ACEOF
24567 #define HAVE_LOG10F 1
24568 _ACEOF
24571 done
24573 else
24575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24576 $as_echo_n "checking for _log10f declaration... " >&6; }
24577 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24578 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
24579 $as_echo_n "(cached) " >&6
24580 else
24583 ac_ext=cpp
24584 ac_cpp='$CXXCPP $CPPFLAGS'
24585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24590 /* end confdefs.h. */
24591 #include <math.h>
24592 #ifdef HAVE_IEEEFP_H
24593 #include <ieeefp.h>
24594 #endif
24597 main ()
24599 _log10f(0);
24601 return 0;
24603 _ACEOF
24604 if ac_fn_cxx_try_compile "$LINENO"; then :
24605 glibcxx_cv_func__log10f_use=yes
24606 else
24607 glibcxx_cv_func__log10f_use=no
24609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24610 ac_ext=c
24611 ac_cpp='$CPP $CPPFLAGS'
24612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24621 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24623 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24624 for ac_func in _log10f
24625 do :
24626 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24627 if test "x$ac_cv_func__log10f" = x""yes; then :
24628 cat >>confdefs.h <<_ACEOF
24629 #define HAVE__LOG10F 1
24630 _ACEOF
24633 done
24642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24643 $as_echo_n "checking for modff declaration... " >&6; }
24644 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24645 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
24646 $as_echo_n "(cached) " >&6
24647 else
24650 ac_ext=cpp
24651 ac_cpp='$CXXCPP $CPPFLAGS'
24652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24657 /* end confdefs.h. */
24658 #include <math.h>
24660 main ()
24662 modff(0, 0);
24664 return 0;
24666 _ACEOF
24667 if ac_fn_cxx_try_compile "$LINENO"; then :
24668 glibcxx_cv_func_modff_use=yes
24669 else
24670 glibcxx_cv_func_modff_use=no
24672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24673 ac_ext=c
24674 ac_cpp='$CPP $CPPFLAGS'
24675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24684 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24686 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24687 for ac_func in modff
24688 do :
24689 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24690 if test "x$ac_cv_func_modff" = x""yes; then :
24691 cat >>confdefs.h <<_ACEOF
24692 #define HAVE_MODFF 1
24693 _ACEOF
24696 done
24698 else
24700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24701 $as_echo_n "checking for _modff declaration... " >&6; }
24702 if test x${glibcxx_cv_func__modff_use+set} != xset; then
24703 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
24704 $as_echo_n "(cached) " >&6
24705 else
24708 ac_ext=cpp
24709 ac_cpp='$CXXCPP $CPPFLAGS'
24710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24715 /* end confdefs.h. */
24716 #include <math.h>
24718 main ()
24720 _modff(0, 0);
24722 return 0;
24724 _ACEOF
24725 if ac_fn_cxx_try_compile "$LINENO"; then :
24726 glibcxx_cv_func__modff_use=yes
24727 else
24728 glibcxx_cv_func__modff_use=no
24730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24731 ac_ext=c
24732 ac_cpp='$CPP $CPPFLAGS'
24733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
24742 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
24744 if test x$glibcxx_cv_func__modff_use = x"yes"; then
24745 for ac_func in _modff
24746 do :
24747 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24748 if test "x$ac_cv_func__modff" = x""yes; then :
24749 cat >>confdefs.h <<_ACEOF
24750 #define HAVE__MODFF 1
24751 _ACEOF
24754 done
24763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
24764 $as_echo_n "checking for modf declaration... " >&6; }
24765 if test x${glibcxx_cv_func_modf_use+set} != xset; then
24766 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
24767 $as_echo_n "(cached) " >&6
24768 else
24771 ac_ext=cpp
24772 ac_cpp='$CXXCPP $CPPFLAGS'
24773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24778 /* end confdefs.h. */
24779 #include <math.h>
24781 main ()
24783 modf(0, 0);
24785 return 0;
24787 _ACEOF
24788 if ac_fn_cxx_try_compile "$LINENO"; then :
24789 glibcxx_cv_func_modf_use=yes
24790 else
24791 glibcxx_cv_func_modf_use=no
24793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24794 ac_ext=c
24795 ac_cpp='$CPP $CPPFLAGS'
24796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
24805 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
24807 if test x$glibcxx_cv_func_modf_use = x"yes"; then
24808 for ac_func in modf
24809 do :
24810 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
24811 if test "x$ac_cv_func_modf" = x""yes; then :
24812 cat >>confdefs.h <<_ACEOF
24813 #define HAVE_MODF 1
24814 _ACEOF
24817 done
24819 else
24821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
24822 $as_echo_n "checking for _modf declaration... " >&6; }
24823 if test x${glibcxx_cv_func__modf_use+set} != xset; then
24824 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
24825 $as_echo_n "(cached) " >&6
24826 else
24829 ac_ext=cpp
24830 ac_cpp='$CXXCPP $CPPFLAGS'
24831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24836 /* end confdefs.h. */
24837 #include <math.h>
24839 main ()
24841 _modf(0, 0);
24843 return 0;
24845 _ACEOF
24846 if ac_fn_cxx_try_compile "$LINENO"; then :
24847 glibcxx_cv_func__modf_use=yes
24848 else
24849 glibcxx_cv_func__modf_use=no
24851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24852 ac_ext=c
24853 ac_cpp='$CPP $CPPFLAGS'
24854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
24863 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
24865 if test x$glibcxx_cv_func__modf_use = x"yes"; then
24866 for ac_func in _modf
24867 do :
24868 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
24869 if test "x$ac_cv_func__modf" = x""yes; then :
24870 cat >>confdefs.h <<_ACEOF
24871 #define HAVE__MODF 1
24872 _ACEOF
24875 done
24884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
24885 $as_echo_n "checking for powf declaration... " >&6; }
24886 if test x${glibcxx_cv_func_powf_use+set} != xset; then
24887 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
24888 $as_echo_n "(cached) " >&6
24889 else
24892 ac_ext=cpp
24893 ac_cpp='$CXXCPP $CPPFLAGS'
24894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24899 /* end confdefs.h. */
24900 #include <math.h>
24902 main ()
24904 powf(0, 0);
24906 return 0;
24908 _ACEOF
24909 if ac_fn_cxx_try_compile "$LINENO"; then :
24910 glibcxx_cv_func_powf_use=yes
24911 else
24912 glibcxx_cv_func_powf_use=no
24914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24915 ac_ext=c
24916 ac_cpp='$CPP $CPPFLAGS'
24917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
24926 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
24928 if test x$glibcxx_cv_func_powf_use = x"yes"; then
24929 for ac_func in powf
24930 do :
24931 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
24932 if test "x$ac_cv_func_powf" = x""yes; then :
24933 cat >>confdefs.h <<_ACEOF
24934 #define HAVE_POWF 1
24935 _ACEOF
24938 done
24940 else
24942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
24943 $as_echo_n "checking for _powf declaration... " >&6; }
24944 if test x${glibcxx_cv_func__powf_use+set} != xset; then
24945 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
24946 $as_echo_n "(cached) " >&6
24947 else
24950 ac_ext=cpp
24951 ac_cpp='$CXXCPP $CPPFLAGS'
24952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24957 /* end confdefs.h. */
24958 #include <math.h>
24960 main ()
24962 _powf(0, 0);
24964 return 0;
24966 _ACEOF
24967 if ac_fn_cxx_try_compile "$LINENO"; then :
24968 glibcxx_cv_func__powf_use=yes
24969 else
24970 glibcxx_cv_func__powf_use=no
24972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24973 ac_ext=c
24974 ac_cpp='$CPP $CPPFLAGS'
24975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
24984 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
24986 if test x$glibcxx_cv_func__powf_use = x"yes"; then
24987 for ac_func in _powf
24988 do :
24989 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
24990 if test "x$ac_cv_func__powf" = x""yes; then :
24991 cat >>confdefs.h <<_ACEOF
24992 #define HAVE__POWF 1
24993 _ACEOF
24996 done
25005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25006 $as_echo_n "checking for sqrtf declaration... " >&6; }
25007 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25008 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
25009 $as_echo_n "(cached) " >&6
25010 else
25013 ac_ext=cpp
25014 ac_cpp='$CXXCPP $CPPFLAGS'
25015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25020 /* end confdefs.h. */
25021 #include <math.h>
25022 #ifdef HAVE_IEEEFP_H
25023 #include <ieeefp.h>
25024 #endif
25027 main ()
25029 sqrtf(0);
25031 return 0;
25033 _ACEOF
25034 if ac_fn_cxx_try_compile "$LINENO"; then :
25035 glibcxx_cv_func_sqrtf_use=yes
25036 else
25037 glibcxx_cv_func_sqrtf_use=no
25039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25040 ac_ext=c
25041 ac_cpp='$CPP $CPPFLAGS'
25042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25051 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25053 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25054 for ac_func in sqrtf
25055 do :
25056 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25057 if test "x$ac_cv_func_sqrtf" = x""yes; then :
25058 cat >>confdefs.h <<_ACEOF
25059 #define HAVE_SQRTF 1
25060 _ACEOF
25063 done
25065 else
25067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25068 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25069 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25070 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
25071 $as_echo_n "(cached) " >&6
25072 else
25075 ac_ext=cpp
25076 ac_cpp='$CXXCPP $CPPFLAGS'
25077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25082 /* end confdefs.h. */
25083 #include <math.h>
25084 #ifdef HAVE_IEEEFP_H
25085 #include <ieeefp.h>
25086 #endif
25089 main ()
25091 _sqrtf(0);
25093 return 0;
25095 _ACEOF
25096 if ac_fn_cxx_try_compile "$LINENO"; then :
25097 glibcxx_cv_func__sqrtf_use=yes
25098 else
25099 glibcxx_cv_func__sqrtf_use=no
25101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25102 ac_ext=c
25103 ac_cpp='$CPP $CPPFLAGS'
25104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25113 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25115 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25116 for ac_func in _sqrtf
25117 do :
25118 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25119 if test "x$ac_cv_func__sqrtf" = x""yes; then :
25120 cat >>confdefs.h <<_ACEOF
25121 #define HAVE__SQRTF 1
25122 _ACEOF
25125 done
25134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25135 $as_echo_n "checking for sincosf declaration... " >&6; }
25136 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25137 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
25138 $as_echo_n "(cached) " >&6
25139 else
25142 ac_ext=cpp
25143 ac_cpp='$CXXCPP $CPPFLAGS'
25144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25149 /* end confdefs.h. */
25150 #include <math.h>
25152 main ()
25154 sincosf(0, 0, 0);
25156 return 0;
25158 _ACEOF
25159 if ac_fn_cxx_try_compile "$LINENO"; then :
25160 glibcxx_cv_func_sincosf_use=yes
25161 else
25162 glibcxx_cv_func_sincosf_use=no
25164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25165 ac_ext=c
25166 ac_cpp='$CPP $CPPFLAGS'
25167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25176 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25178 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25179 for ac_func in sincosf
25180 do :
25181 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25182 if test "x$ac_cv_func_sincosf" = x""yes; then :
25183 cat >>confdefs.h <<_ACEOF
25184 #define HAVE_SINCOSF 1
25185 _ACEOF
25188 done
25190 else
25192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25193 $as_echo_n "checking for _sincosf declaration... " >&6; }
25194 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25195 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
25196 $as_echo_n "(cached) " >&6
25197 else
25200 ac_ext=cpp
25201 ac_cpp='$CXXCPP $CPPFLAGS'
25202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25207 /* end confdefs.h. */
25208 #include <math.h>
25210 main ()
25212 _sincosf(0, 0, 0);
25214 return 0;
25216 _ACEOF
25217 if ac_fn_cxx_try_compile "$LINENO"; then :
25218 glibcxx_cv_func__sincosf_use=yes
25219 else
25220 glibcxx_cv_func__sincosf_use=no
25222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25223 ac_ext=c
25224 ac_cpp='$CPP $CPPFLAGS'
25225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25234 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25236 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25237 for ac_func in _sincosf
25238 do :
25239 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25240 if test "x$ac_cv_func__sincosf" = x""yes; then :
25241 cat >>confdefs.h <<_ACEOF
25242 #define HAVE__SINCOSF 1
25243 _ACEOF
25246 done
25255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25256 $as_echo_n "checking for finitef declaration... " >&6; }
25257 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25258 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
25259 $as_echo_n "(cached) " >&6
25260 else
25263 ac_ext=cpp
25264 ac_cpp='$CXXCPP $CPPFLAGS'
25265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25270 /* end confdefs.h. */
25271 #include <math.h>
25272 #ifdef HAVE_IEEEFP_H
25273 #include <ieeefp.h>
25274 #endif
25277 main ()
25279 finitef(0);
25281 return 0;
25283 _ACEOF
25284 if ac_fn_cxx_try_compile "$LINENO"; then :
25285 glibcxx_cv_func_finitef_use=yes
25286 else
25287 glibcxx_cv_func_finitef_use=no
25289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25290 ac_ext=c
25291 ac_cpp='$CPP $CPPFLAGS'
25292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25301 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25303 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25304 for ac_func in finitef
25305 do :
25306 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25307 if test "x$ac_cv_func_finitef" = x""yes; then :
25308 cat >>confdefs.h <<_ACEOF
25309 #define HAVE_FINITEF 1
25310 _ACEOF
25313 done
25315 else
25317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25318 $as_echo_n "checking for _finitef declaration... " >&6; }
25319 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25320 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
25321 $as_echo_n "(cached) " >&6
25322 else
25325 ac_ext=cpp
25326 ac_cpp='$CXXCPP $CPPFLAGS'
25327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25332 /* end confdefs.h. */
25333 #include <math.h>
25334 #ifdef HAVE_IEEEFP_H
25335 #include <ieeefp.h>
25336 #endif
25339 main ()
25341 _finitef(0);
25343 return 0;
25345 _ACEOF
25346 if ac_fn_cxx_try_compile "$LINENO"; then :
25347 glibcxx_cv_func__finitef_use=yes
25348 else
25349 glibcxx_cv_func__finitef_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
25362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25363 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25365 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25366 for ac_func in _finitef
25367 do :
25368 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25369 if test "x$ac_cv_func__finitef" = x""yes; then :
25370 cat >>confdefs.h <<_ACEOF
25371 #define HAVE__FINITEF 1
25372 _ACEOF
25375 done
25384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25385 $as_echo_n "checking for long double trig functions... " >&6; }
25386 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
25387 $as_echo_n "(cached) " >&6
25388 else
25391 ac_ext=cpp
25392 ac_cpp='$CXXCPP $CPPFLAGS'
25393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25398 /* end confdefs.h. */
25399 #include <math.h>
25401 main ()
25403 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25405 return 0;
25407 _ACEOF
25408 if ac_fn_cxx_try_compile "$LINENO"; then :
25409 glibcxx_cv_func_long_double_trig_use=yes
25410 else
25411 glibcxx_cv_func_long_double_trig_use=no
25413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25414 ac_ext=c
25415 ac_cpp='$CPP $CPPFLAGS'
25416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25423 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25424 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25425 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25426 do :
25427 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25428 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25429 eval as_val=\$$as_ac_var
25430 if test "x$as_val" = x""yes; then :
25431 cat >>confdefs.h <<_ACEOF
25432 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25433 _ACEOF
25436 done
25438 else
25439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25440 $as_echo_n "checking for _long double trig functions... " >&6; }
25441 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
25442 $as_echo_n "(cached) " >&6
25443 else
25446 ac_ext=cpp
25447 ac_cpp='$CXXCPP $CPPFLAGS'
25448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25453 /* end confdefs.h. */
25454 #include <math.h>
25456 main ()
25458 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25460 return 0;
25462 _ACEOF
25463 if ac_fn_cxx_try_compile "$LINENO"; then :
25464 glibcxx_cv_func__long_double_trig_use=yes
25465 else
25466 glibcxx_cv_func__long_double_trig_use=no
25468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25469 ac_ext=c
25470 ac_cpp='$CPP $CPPFLAGS'
25471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25478 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25479 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25480 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25481 do :
25482 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25483 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25484 eval as_val=\$$as_ac_var
25485 if test "x$as_val" = x""yes; then :
25486 cat >>confdefs.h <<_ACEOF
25487 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25488 _ACEOF
25491 done
25500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25501 $as_echo_n "checking for long double round functions... " >&6; }
25502 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
25503 $as_echo_n "(cached) " >&6
25504 else
25507 ac_ext=cpp
25508 ac_cpp='$CXXCPP $CPPFLAGS'
25509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25514 /* end confdefs.h. */
25515 #include <math.h>
25517 main ()
25519 ceill (0); floorl (0);
25521 return 0;
25523 _ACEOF
25524 if ac_fn_cxx_try_compile "$LINENO"; then :
25525 glibcxx_cv_func_long_double_round_use=yes
25526 else
25527 glibcxx_cv_func_long_double_round_use=no
25529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25530 ac_ext=c
25531 ac_cpp='$CPP $CPPFLAGS'
25532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25539 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25540 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25541 for ac_func in ceill floorl
25542 do :
25543 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25544 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25545 eval as_val=\$$as_ac_var
25546 if test "x$as_val" = x""yes; then :
25547 cat >>confdefs.h <<_ACEOF
25548 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25549 _ACEOF
25552 done
25554 else
25555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25556 $as_echo_n "checking for _long double round functions... " >&6; }
25557 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
25558 $as_echo_n "(cached) " >&6
25559 else
25562 ac_ext=cpp
25563 ac_cpp='$CXXCPP $CPPFLAGS'
25564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25569 /* end confdefs.h. */
25570 #include <math.h>
25572 main ()
25574 _ceill (0); _floorl (0);
25576 return 0;
25578 _ACEOF
25579 if ac_fn_cxx_try_compile "$LINENO"; then :
25580 glibcxx_cv_func__long_double_round_use=yes
25581 else
25582 glibcxx_cv_func__long_double_round_use=no
25584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25585 ac_ext=c
25586 ac_cpp='$CPP $CPPFLAGS'
25587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25594 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25595 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25596 for ac_func in _ceill _floorl
25597 do :
25598 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25599 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25600 eval as_val=\$$as_ac_var
25601 if test "x$as_val" = x""yes; then :
25602 cat >>confdefs.h <<_ACEOF
25603 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25604 _ACEOF
25607 done
25617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25618 $as_echo_n "checking for isnanl declaration... " >&6; }
25619 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25620 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
25621 $as_echo_n "(cached) " >&6
25622 else
25625 ac_ext=cpp
25626 ac_cpp='$CXXCPP $CPPFLAGS'
25627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25632 /* end confdefs.h. */
25633 #include <math.h>
25634 #ifdef HAVE_IEEEFP_H
25635 #include <ieeefp.h>
25636 #endif
25639 main ()
25641 isnanl(0);
25643 return 0;
25645 _ACEOF
25646 if ac_fn_cxx_try_compile "$LINENO"; then :
25647 glibcxx_cv_func_isnanl_use=yes
25648 else
25649 glibcxx_cv_func_isnanl_use=no
25651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25652 ac_ext=c
25653 ac_cpp='$CPP $CPPFLAGS'
25654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25663 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25665 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25666 for ac_func in isnanl
25667 do :
25668 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25669 if test "x$ac_cv_func_isnanl" = x""yes; then :
25670 cat >>confdefs.h <<_ACEOF
25671 #define HAVE_ISNANL 1
25672 _ACEOF
25675 done
25677 else
25679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25680 $as_echo_n "checking for _isnanl declaration... " >&6; }
25681 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25682 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
25683 $as_echo_n "(cached) " >&6
25684 else
25687 ac_ext=cpp
25688 ac_cpp='$CXXCPP $CPPFLAGS'
25689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25694 /* end confdefs.h. */
25695 #include <math.h>
25696 #ifdef HAVE_IEEEFP_H
25697 #include <ieeefp.h>
25698 #endif
25701 main ()
25703 _isnanl(0);
25705 return 0;
25707 _ACEOF
25708 if ac_fn_cxx_try_compile "$LINENO"; then :
25709 glibcxx_cv_func__isnanl_use=yes
25710 else
25711 glibcxx_cv_func__isnanl_use=no
25713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25714 ac_ext=c
25715 ac_cpp='$CPP $CPPFLAGS'
25716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25725 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25727 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25728 for ac_func in _isnanl
25729 do :
25730 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25731 if test "x$ac_cv_func__isnanl" = x""yes; then :
25732 cat >>confdefs.h <<_ACEOF
25733 #define HAVE__ISNANL 1
25734 _ACEOF
25737 done
25746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25747 $as_echo_n "checking for isinfl declaration... " >&6; }
25748 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25749 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
25750 $as_echo_n "(cached) " >&6
25751 else
25754 ac_ext=cpp
25755 ac_cpp='$CXXCPP $CPPFLAGS'
25756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25761 /* end confdefs.h. */
25762 #include <math.h>
25763 #ifdef HAVE_IEEEFP_H
25764 #include <ieeefp.h>
25765 #endif
25768 main ()
25770 isinfl(0);
25772 return 0;
25774 _ACEOF
25775 if ac_fn_cxx_try_compile "$LINENO"; then :
25776 glibcxx_cv_func_isinfl_use=yes
25777 else
25778 glibcxx_cv_func_isinfl_use=no
25780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25781 ac_ext=c
25782 ac_cpp='$CPP $CPPFLAGS'
25783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
25792 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
25794 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
25795 for ac_func in isinfl
25796 do :
25797 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
25798 if test "x$ac_cv_func_isinfl" = x""yes; then :
25799 cat >>confdefs.h <<_ACEOF
25800 #define HAVE_ISINFL 1
25801 _ACEOF
25804 done
25806 else
25808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
25809 $as_echo_n "checking for _isinfl declaration... " >&6; }
25810 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
25811 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
25812 $as_echo_n "(cached) " >&6
25813 else
25816 ac_ext=cpp
25817 ac_cpp='$CXXCPP $CPPFLAGS'
25818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25823 /* end confdefs.h. */
25824 #include <math.h>
25825 #ifdef HAVE_IEEEFP_H
25826 #include <ieeefp.h>
25827 #endif
25830 main ()
25832 _isinfl(0);
25834 return 0;
25836 _ACEOF
25837 if ac_fn_cxx_try_compile "$LINENO"; then :
25838 glibcxx_cv_func__isinfl_use=yes
25839 else
25840 glibcxx_cv_func__isinfl_use=no
25842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25843 ac_ext=c
25844 ac_cpp='$CPP $CPPFLAGS'
25845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
25854 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
25856 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
25857 for ac_func in _isinfl
25858 do :
25859 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
25860 if test "x$ac_cv_func__isinfl" = x""yes; then :
25861 cat >>confdefs.h <<_ACEOF
25862 #define HAVE__ISINFL 1
25863 _ACEOF
25866 done
25875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
25876 $as_echo_n "checking for atan2l declaration... " >&6; }
25877 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
25878 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
25879 $as_echo_n "(cached) " >&6
25880 else
25883 ac_ext=cpp
25884 ac_cpp='$CXXCPP $CPPFLAGS'
25885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25890 /* end confdefs.h. */
25891 #include <math.h>
25893 main ()
25895 atan2l(0, 0);
25897 return 0;
25899 _ACEOF
25900 if ac_fn_cxx_try_compile "$LINENO"; then :
25901 glibcxx_cv_func_atan2l_use=yes
25902 else
25903 glibcxx_cv_func_atan2l_use=no
25905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25906 ac_ext=c
25907 ac_cpp='$CPP $CPPFLAGS'
25908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
25917 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
25919 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
25920 for ac_func in atan2l
25921 do :
25922 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
25923 if test "x$ac_cv_func_atan2l" = x""yes; then :
25924 cat >>confdefs.h <<_ACEOF
25925 #define HAVE_ATAN2L 1
25926 _ACEOF
25929 done
25931 else
25933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
25934 $as_echo_n "checking for _atan2l declaration... " >&6; }
25935 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
25936 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
25937 $as_echo_n "(cached) " >&6
25938 else
25941 ac_ext=cpp
25942 ac_cpp='$CXXCPP $CPPFLAGS'
25943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25948 /* end confdefs.h. */
25949 #include <math.h>
25951 main ()
25953 _atan2l(0, 0);
25955 return 0;
25957 _ACEOF
25958 if ac_fn_cxx_try_compile "$LINENO"; then :
25959 glibcxx_cv_func__atan2l_use=yes
25960 else
25961 glibcxx_cv_func__atan2l_use=no
25963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25964 ac_ext=c
25965 ac_cpp='$CPP $CPPFLAGS'
25966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
25975 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
25977 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
25978 for ac_func in _atan2l
25979 do :
25980 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
25981 if test "x$ac_cv_func__atan2l" = x""yes; then :
25982 cat >>confdefs.h <<_ACEOF
25983 #define HAVE__ATAN2L 1
25984 _ACEOF
25987 done
25996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
25997 $as_echo_n "checking for expl declaration... " >&6; }
25998 if test x${glibcxx_cv_func_expl_use+set} != xset; then
25999 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
26000 $as_echo_n "(cached) " >&6
26001 else
26004 ac_ext=cpp
26005 ac_cpp='$CXXCPP $CPPFLAGS'
26006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26011 /* end confdefs.h. */
26012 #include <math.h>
26013 #ifdef HAVE_IEEEFP_H
26014 #include <ieeefp.h>
26015 #endif
26018 main ()
26020 expl(0);
26022 return 0;
26024 _ACEOF
26025 if ac_fn_cxx_try_compile "$LINENO"; then :
26026 glibcxx_cv_func_expl_use=yes
26027 else
26028 glibcxx_cv_func_expl_use=no
26030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26031 ac_ext=c
26032 ac_cpp='$CPP $CPPFLAGS'
26033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26042 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26044 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26045 for ac_func in expl
26046 do :
26047 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26048 if test "x$ac_cv_func_expl" = x""yes; then :
26049 cat >>confdefs.h <<_ACEOF
26050 #define HAVE_EXPL 1
26051 _ACEOF
26054 done
26056 else
26058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26059 $as_echo_n "checking for _expl declaration... " >&6; }
26060 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26061 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
26062 $as_echo_n "(cached) " >&6
26063 else
26066 ac_ext=cpp
26067 ac_cpp='$CXXCPP $CPPFLAGS'
26068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26073 /* end confdefs.h. */
26074 #include <math.h>
26075 #ifdef HAVE_IEEEFP_H
26076 #include <ieeefp.h>
26077 #endif
26080 main ()
26082 _expl(0);
26084 return 0;
26086 _ACEOF
26087 if ac_fn_cxx_try_compile "$LINENO"; then :
26088 glibcxx_cv_func__expl_use=yes
26089 else
26090 glibcxx_cv_func__expl_use=no
26092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26093 ac_ext=c
26094 ac_cpp='$CPP $CPPFLAGS'
26095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26104 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26106 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26107 for ac_func in _expl
26108 do :
26109 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26110 if test "x$ac_cv_func__expl" = x""yes; then :
26111 cat >>confdefs.h <<_ACEOF
26112 #define HAVE__EXPL 1
26113 _ACEOF
26116 done
26125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26126 $as_echo_n "checking for fabsl declaration... " >&6; }
26127 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26128 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
26129 $as_echo_n "(cached) " >&6
26130 else
26133 ac_ext=cpp
26134 ac_cpp='$CXXCPP $CPPFLAGS'
26135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26140 /* end confdefs.h. */
26141 #include <math.h>
26142 #ifdef HAVE_IEEEFP_H
26143 #include <ieeefp.h>
26144 #endif
26147 main ()
26149 fabsl(0);
26151 return 0;
26153 _ACEOF
26154 if ac_fn_cxx_try_compile "$LINENO"; then :
26155 glibcxx_cv_func_fabsl_use=yes
26156 else
26157 glibcxx_cv_func_fabsl_use=no
26159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26160 ac_ext=c
26161 ac_cpp='$CPP $CPPFLAGS'
26162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26171 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26173 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26174 for ac_func in fabsl
26175 do :
26176 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26177 if test "x$ac_cv_func_fabsl" = x""yes; then :
26178 cat >>confdefs.h <<_ACEOF
26179 #define HAVE_FABSL 1
26180 _ACEOF
26183 done
26185 else
26187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26188 $as_echo_n "checking for _fabsl declaration... " >&6; }
26189 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26190 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
26191 $as_echo_n "(cached) " >&6
26192 else
26195 ac_ext=cpp
26196 ac_cpp='$CXXCPP $CPPFLAGS'
26197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26202 /* end confdefs.h. */
26203 #include <math.h>
26204 #ifdef HAVE_IEEEFP_H
26205 #include <ieeefp.h>
26206 #endif
26209 main ()
26211 _fabsl(0);
26213 return 0;
26215 _ACEOF
26216 if ac_fn_cxx_try_compile "$LINENO"; then :
26217 glibcxx_cv_func__fabsl_use=yes
26218 else
26219 glibcxx_cv_func__fabsl_use=no
26221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26222 ac_ext=c
26223 ac_cpp='$CPP $CPPFLAGS'
26224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26233 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26235 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26236 for ac_func in _fabsl
26237 do :
26238 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26239 if test "x$ac_cv_func__fabsl" = x""yes; then :
26240 cat >>confdefs.h <<_ACEOF
26241 #define HAVE__FABSL 1
26242 _ACEOF
26245 done
26254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26255 $as_echo_n "checking for fmodl declaration... " >&6; }
26256 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26257 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
26258 $as_echo_n "(cached) " >&6
26259 else
26262 ac_ext=cpp
26263 ac_cpp='$CXXCPP $CPPFLAGS'
26264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26269 /* end confdefs.h. */
26270 #include <math.h>
26272 main ()
26274 fmodl(0, 0);
26276 return 0;
26278 _ACEOF
26279 if ac_fn_cxx_try_compile "$LINENO"; then :
26280 glibcxx_cv_func_fmodl_use=yes
26281 else
26282 glibcxx_cv_func_fmodl_use=no
26284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26285 ac_ext=c
26286 ac_cpp='$CPP $CPPFLAGS'
26287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26296 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26298 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26299 for ac_func in fmodl
26300 do :
26301 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26302 if test "x$ac_cv_func_fmodl" = x""yes; then :
26303 cat >>confdefs.h <<_ACEOF
26304 #define HAVE_FMODL 1
26305 _ACEOF
26308 done
26310 else
26312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26313 $as_echo_n "checking for _fmodl declaration... " >&6; }
26314 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26315 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
26316 $as_echo_n "(cached) " >&6
26317 else
26320 ac_ext=cpp
26321 ac_cpp='$CXXCPP $CPPFLAGS'
26322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26327 /* end confdefs.h. */
26328 #include <math.h>
26330 main ()
26332 _fmodl(0, 0);
26334 return 0;
26336 _ACEOF
26337 if ac_fn_cxx_try_compile "$LINENO"; then :
26338 glibcxx_cv_func__fmodl_use=yes
26339 else
26340 glibcxx_cv_func__fmodl_use=no
26342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26343 ac_ext=c
26344 ac_cpp='$CPP $CPPFLAGS'
26345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26354 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26356 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26357 for ac_func in _fmodl
26358 do :
26359 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26360 if test "x$ac_cv_func__fmodl" = x""yes; then :
26361 cat >>confdefs.h <<_ACEOF
26362 #define HAVE__FMODL 1
26363 _ACEOF
26366 done
26375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26376 $as_echo_n "checking for frexpl declaration... " >&6; }
26377 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26378 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
26379 $as_echo_n "(cached) " >&6
26380 else
26383 ac_ext=cpp
26384 ac_cpp='$CXXCPP $CPPFLAGS'
26385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26390 /* end confdefs.h. */
26391 #include <math.h>
26393 main ()
26395 frexpl(0, 0);
26397 return 0;
26399 _ACEOF
26400 if ac_fn_cxx_try_compile "$LINENO"; then :
26401 glibcxx_cv_func_frexpl_use=yes
26402 else
26403 glibcxx_cv_func_frexpl_use=no
26405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26406 ac_ext=c
26407 ac_cpp='$CPP $CPPFLAGS'
26408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26417 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26419 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26420 for ac_func in frexpl
26421 do :
26422 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26423 if test "x$ac_cv_func_frexpl" = x""yes; then :
26424 cat >>confdefs.h <<_ACEOF
26425 #define HAVE_FREXPL 1
26426 _ACEOF
26429 done
26431 else
26433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26434 $as_echo_n "checking for _frexpl declaration... " >&6; }
26435 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26436 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
26437 $as_echo_n "(cached) " >&6
26438 else
26441 ac_ext=cpp
26442 ac_cpp='$CXXCPP $CPPFLAGS'
26443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26448 /* end confdefs.h. */
26449 #include <math.h>
26451 main ()
26453 _frexpl(0, 0);
26455 return 0;
26457 _ACEOF
26458 if ac_fn_cxx_try_compile "$LINENO"; then :
26459 glibcxx_cv_func__frexpl_use=yes
26460 else
26461 glibcxx_cv_func__frexpl_use=no
26463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26464 ac_ext=c
26465 ac_cpp='$CPP $CPPFLAGS'
26466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26475 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26477 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26478 for ac_func in _frexpl
26479 do :
26480 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26481 if test "x$ac_cv_func__frexpl" = x""yes; then :
26482 cat >>confdefs.h <<_ACEOF
26483 #define HAVE__FREXPL 1
26484 _ACEOF
26487 done
26496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26497 $as_echo_n "checking for hypotl declaration... " >&6; }
26498 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26499 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
26500 $as_echo_n "(cached) " >&6
26501 else
26504 ac_ext=cpp
26505 ac_cpp='$CXXCPP $CPPFLAGS'
26506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26511 /* end confdefs.h. */
26512 #include <math.h>
26514 main ()
26516 hypotl(0, 0);
26518 return 0;
26520 _ACEOF
26521 if ac_fn_cxx_try_compile "$LINENO"; then :
26522 glibcxx_cv_func_hypotl_use=yes
26523 else
26524 glibcxx_cv_func_hypotl_use=no
26526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26527 ac_ext=c
26528 ac_cpp='$CPP $CPPFLAGS'
26529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26538 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26540 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26541 for ac_func in hypotl
26542 do :
26543 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26544 if test "x$ac_cv_func_hypotl" = x""yes; then :
26545 cat >>confdefs.h <<_ACEOF
26546 #define HAVE_HYPOTL 1
26547 _ACEOF
26550 done
26552 else
26554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26555 $as_echo_n "checking for _hypotl declaration... " >&6; }
26556 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26557 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
26558 $as_echo_n "(cached) " >&6
26559 else
26562 ac_ext=cpp
26563 ac_cpp='$CXXCPP $CPPFLAGS'
26564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26569 /* end confdefs.h. */
26570 #include <math.h>
26572 main ()
26574 _hypotl(0, 0);
26576 return 0;
26578 _ACEOF
26579 if ac_fn_cxx_try_compile "$LINENO"; then :
26580 glibcxx_cv_func__hypotl_use=yes
26581 else
26582 glibcxx_cv_func__hypotl_use=no
26584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26585 ac_ext=c
26586 ac_cpp='$CPP $CPPFLAGS'
26587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26596 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26598 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26599 for ac_func in _hypotl
26600 do :
26601 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26602 if test "x$ac_cv_func__hypotl" = x""yes; then :
26603 cat >>confdefs.h <<_ACEOF
26604 #define HAVE__HYPOTL 1
26605 _ACEOF
26608 done
26617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26618 $as_echo_n "checking for ldexpl declaration... " >&6; }
26619 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26620 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
26621 $as_echo_n "(cached) " >&6
26622 else
26625 ac_ext=cpp
26626 ac_cpp='$CXXCPP $CPPFLAGS'
26627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26632 /* end confdefs.h. */
26633 #include <math.h>
26635 main ()
26637 ldexpl(0, 0);
26639 return 0;
26641 _ACEOF
26642 if ac_fn_cxx_try_compile "$LINENO"; then :
26643 glibcxx_cv_func_ldexpl_use=yes
26644 else
26645 glibcxx_cv_func_ldexpl_use=no
26647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26648 ac_ext=c
26649 ac_cpp='$CPP $CPPFLAGS'
26650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26659 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26661 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26662 for ac_func in ldexpl
26663 do :
26664 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26665 if test "x$ac_cv_func_ldexpl" = x""yes; then :
26666 cat >>confdefs.h <<_ACEOF
26667 #define HAVE_LDEXPL 1
26668 _ACEOF
26671 done
26673 else
26675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26676 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26677 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26678 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
26679 $as_echo_n "(cached) " >&6
26680 else
26683 ac_ext=cpp
26684 ac_cpp='$CXXCPP $CPPFLAGS'
26685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26690 /* end confdefs.h. */
26691 #include <math.h>
26693 main ()
26695 _ldexpl(0, 0);
26697 return 0;
26699 _ACEOF
26700 if ac_fn_cxx_try_compile "$LINENO"; then :
26701 glibcxx_cv_func__ldexpl_use=yes
26702 else
26703 glibcxx_cv_func__ldexpl_use=no
26705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26706 ac_ext=c
26707 ac_cpp='$CPP $CPPFLAGS'
26708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26717 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26719 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26720 for ac_func in _ldexpl
26721 do :
26722 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26723 if test "x$ac_cv_func__ldexpl" = x""yes; then :
26724 cat >>confdefs.h <<_ACEOF
26725 #define HAVE__LDEXPL 1
26726 _ACEOF
26729 done
26738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26739 $as_echo_n "checking for logl declaration... " >&6; }
26740 if test x${glibcxx_cv_func_logl_use+set} != xset; then
26741 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
26742 $as_echo_n "(cached) " >&6
26743 else
26746 ac_ext=cpp
26747 ac_cpp='$CXXCPP $CPPFLAGS'
26748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26753 /* end confdefs.h. */
26754 #include <math.h>
26755 #ifdef HAVE_IEEEFP_H
26756 #include <ieeefp.h>
26757 #endif
26760 main ()
26762 logl(0);
26764 return 0;
26766 _ACEOF
26767 if ac_fn_cxx_try_compile "$LINENO"; then :
26768 glibcxx_cv_func_logl_use=yes
26769 else
26770 glibcxx_cv_func_logl_use=no
26772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26773 ac_ext=c
26774 ac_cpp='$CPP $CPPFLAGS'
26775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
26784 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
26786 if test x$glibcxx_cv_func_logl_use = x"yes"; then
26787 for ac_func in logl
26788 do :
26789 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
26790 if test "x$ac_cv_func_logl" = x""yes; then :
26791 cat >>confdefs.h <<_ACEOF
26792 #define HAVE_LOGL 1
26793 _ACEOF
26796 done
26798 else
26800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
26801 $as_echo_n "checking for _logl declaration... " >&6; }
26802 if test x${glibcxx_cv_func__logl_use+set} != xset; then
26803 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
26804 $as_echo_n "(cached) " >&6
26805 else
26808 ac_ext=cpp
26809 ac_cpp='$CXXCPP $CPPFLAGS'
26810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26815 /* end confdefs.h. */
26816 #include <math.h>
26817 #ifdef HAVE_IEEEFP_H
26818 #include <ieeefp.h>
26819 #endif
26822 main ()
26824 _logl(0);
26826 return 0;
26828 _ACEOF
26829 if ac_fn_cxx_try_compile "$LINENO"; then :
26830 glibcxx_cv_func__logl_use=yes
26831 else
26832 glibcxx_cv_func__logl_use=no
26834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26835 ac_ext=c
26836 ac_cpp='$CPP $CPPFLAGS'
26837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
26846 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
26848 if test x$glibcxx_cv_func__logl_use = x"yes"; then
26849 for ac_func in _logl
26850 do :
26851 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
26852 if test "x$ac_cv_func__logl" = x""yes; then :
26853 cat >>confdefs.h <<_ACEOF
26854 #define HAVE__LOGL 1
26855 _ACEOF
26858 done
26867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
26868 $as_echo_n "checking for log10l declaration... " >&6; }
26869 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
26870 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
26871 $as_echo_n "(cached) " >&6
26872 else
26875 ac_ext=cpp
26876 ac_cpp='$CXXCPP $CPPFLAGS'
26877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26882 /* end confdefs.h. */
26883 #include <math.h>
26884 #ifdef HAVE_IEEEFP_H
26885 #include <ieeefp.h>
26886 #endif
26889 main ()
26891 log10l(0);
26893 return 0;
26895 _ACEOF
26896 if ac_fn_cxx_try_compile "$LINENO"; then :
26897 glibcxx_cv_func_log10l_use=yes
26898 else
26899 glibcxx_cv_func_log10l_use=no
26901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26902 ac_ext=c
26903 ac_cpp='$CPP $CPPFLAGS'
26904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
26913 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
26915 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
26916 for ac_func in log10l
26917 do :
26918 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
26919 if test "x$ac_cv_func_log10l" = x""yes; then :
26920 cat >>confdefs.h <<_ACEOF
26921 #define HAVE_LOG10L 1
26922 _ACEOF
26925 done
26927 else
26929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
26930 $as_echo_n "checking for _log10l declaration... " >&6; }
26931 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
26932 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
26933 $as_echo_n "(cached) " >&6
26934 else
26937 ac_ext=cpp
26938 ac_cpp='$CXXCPP $CPPFLAGS'
26939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26944 /* end confdefs.h. */
26945 #include <math.h>
26946 #ifdef HAVE_IEEEFP_H
26947 #include <ieeefp.h>
26948 #endif
26951 main ()
26953 _log10l(0);
26955 return 0;
26957 _ACEOF
26958 if ac_fn_cxx_try_compile "$LINENO"; then :
26959 glibcxx_cv_func__log10l_use=yes
26960 else
26961 glibcxx_cv_func__log10l_use=no
26963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26964 ac_ext=c
26965 ac_cpp='$CPP $CPPFLAGS'
26966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
26975 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
26977 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
26978 for ac_func in _log10l
26979 do :
26980 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
26981 if test "x$ac_cv_func__log10l" = x""yes; then :
26982 cat >>confdefs.h <<_ACEOF
26983 #define HAVE__LOG10L 1
26984 _ACEOF
26987 done
26996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
26997 $as_echo_n "checking for modfl declaration... " >&6; }
26998 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
26999 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
27000 $as_echo_n "(cached) " >&6
27001 else
27004 ac_ext=cpp
27005 ac_cpp='$CXXCPP $CPPFLAGS'
27006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27011 /* end confdefs.h. */
27012 #include <math.h>
27014 main ()
27016 modfl(0, 0);
27018 return 0;
27020 _ACEOF
27021 if ac_fn_cxx_try_compile "$LINENO"; then :
27022 glibcxx_cv_func_modfl_use=yes
27023 else
27024 glibcxx_cv_func_modfl_use=no
27026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27027 ac_ext=c
27028 ac_cpp='$CPP $CPPFLAGS'
27029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27038 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27040 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27041 for ac_func in modfl
27042 do :
27043 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27044 if test "x$ac_cv_func_modfl" = x""yes; then :
27045 cat >>confdefs.h <<_ACEOF
27046 #define HAVE_MODFL 1
27047 _ACEOF
27050 done
27052 else
27054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27055 $as_echo_n "checking for _modfl declaration... " >&6; }
27056 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27057 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
27058 $as_echo_n "(cached) " >&6
27059 else
27062 ac_ext=cpp
27063 ac_cpp='$CXXCPP $CPPFLAGS'
27064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27069 /* end confdefs.h. */
27070 #include <math.h>
27072 main ()
27074 _modfl(0, 0);
27076 return 0;
27078 _ACEOF
27079 if ac_fn_cxx_try_compile "$LINENO"; then :
27080 glibcxx_cv_func__modfl_use=yes
27081 else
27082 glibcxx_cv_func__modfl_use=no
27084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27085 ac_ext=c
27086 ac_cpp='$CPP $CPPFLAGS'
27087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27096 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27098 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27099 for ac_func in _modfl
27100 do :
27101 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27102 if test "x$ac_cv_func__modfl" = x""yes; then :
27103 cat >>confdefs.h <<_ACEOF
27104 #define HAVE__MODFL 1
27105 _ACEOF
27108 done
27117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27118 $as_echo_n "checking for powl declaration... " >&6; }
27119 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27120 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
27121 $as_echo_n "(cached) " >&6
27122 else
27125 ac_ext=cpp
27126 ac_cpp='$CXXCPP $CPPFLAGS'
27127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27132 /* end confdefs.h. */
27133 #include <math.h>
27135 main ()
27137 powl(0, 0);
27139 return 0;
27141 _ACEOF
27142 if ac_fn_cxx_try_compile "$LINENO"; then :
27143 glibcxx_cv_func_powl_use=yes
27144 else
27145 glibcxx_cv_func_powl_use=no
27147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27148 ac_ext=c
27149 ac_cpp='$CPP $CPPFLAGS'
27150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27159 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27161 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27162 for ac_func in powl
27163 do :
27164 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27165 if test "x$ac_cv_func_powl" = x""yes; then :
27166 cat >>confdefs.h <<_ACEOF
27167 #define HAVE_POWL 1
27168 _ACEOF
27171 done
27173 else
27175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27176 $as_echo_n "checking for _powl declaration... " >&6; }
27177 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27178 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
27179 $as_echo_n "(cached) " >&6
27180 else
27183 ac_ext=cpp
27184 ac_cpp='$CXXCPP $CPPFLAGS'
27185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27190 /* end confdefs.h. */
27191 #include <math.h>
27193 main ()
27195 _powl(0, 0);
27197 return 0;
27199 _ACEOF
27200 if ac_fn_cxx_try_compile "$LINENO"; then :
27201 glibcxx_cv_func__powl_use=yes
27202 else
27203 glibcxx_cv_func__powl_use=no
27205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27206 ac_ext=c
27207 ac_cpp='$CPP $CPPFLAGS'
27208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27217 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27219 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27220 for ac_func in _powl
27221 do :
27222 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27223 if test "x$ac_cv_func__powl" = x""yes; then :
27224 cat >>confdefs.h <<_ACEOF
27225 #define HAVE__POWL 1
27226 _ACEOF
27229 done
27238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27239 $as_echo_n "checking for sqrtl declaration... " >&6; }
27240 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27241 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
27242 $as_echo_n "(cached) " >&6
27243 else
27246 ac_ext=cpp
27247 ac_cpp='$CXXCPP $CPPFLAGS'
27248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27253 /* end confdefs.h. */
27254 #include <math.h>
27255 #ifdef HAVE_IEEEFP_H
27256 #include <ieeefp.h>
27257 #endif
27260 main ()
27262 sqrtl(0);
27264 return 0;
27266 _ACEOF
27267 if ac_fn_cxx_try_compile "$LINENO"; then :
27268 glibcxx_cv_func_sqrtl_use=yes
27269 else
27270 glibcxx_cv_func_sqrtl_use=no
27272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27273 ac_ext=c
27274 ac_cpp='$CPP $CPPFLAGS'
27275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27284 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27286 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27287 for ac_func in sqrtl
27288 do :
27289 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27290 if test "x$ac_cv_func_sqrtl" = x""yes; then :
27291 cat >>confdefs.h <<_ACEOF
27292 #define HAVE_SQRTL 1
27293 _ACEOF
27296 done
27298 else
27300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27301 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27302 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27303 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
27304 $as_echo_n "(cached) " >&6
27305 else
27308 ac_ext=cpp
27309 ac_cpp='$CXXCPP $CPPFLAGS'
27310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27315 /* end confdefs.h. */
27316 #include <math.h>
27317 #ifdef HAVE_IEEEFP_H
27318 #include <ieeefp.h>
27319 #endif
27322 main ()
27324 _sqrtl(0);
27326 return 0;
27328 _ACEOF
27329 if ac_fn_cxx_try_compile "$LINENO"; then :
27330 glibcxx_cv_func__sqrtl_use=yes
27331 else
27332 glibcxx_cv_func__sqrtl_use=no
27334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27335 ac_ext=c
27336 ac_cpp='$CPP $CPPFLAGS'
27337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27346 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27348 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27349 for ac_func in _sqrtl
27350 do :
27351 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27352 if test "x$ac_cv_func__sqrtl" = x""yes; then :
27353 cat >>confdefs.h <<_ACEOF
27354 #define HAVE__SQRTL 1
27355 _ACEOF
27358 done
27367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27368 $as_echo_n "checking for sincosl declaration... " >&6; }
27369 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27370 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
27371 $as_echo_n "(cached) " >&6
27372 else
27375 ac_ext=cpp
27376 ac_cpp='$CXXCPP $CPPFLAGS'
27377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27382 /* end confdefs.h. */
27383 #include <math.h>
27385 main ()
27387 sincosl(0, 0, 0);
27389 return 0;
27391 _ACEOF
27392 if ac_fn_cxx_try_compile "$LINENO"; then :
27393 glibcxx_cv_func_sincosl_use=yes
27394 else
27395 glibcxx_cv_func_sincosl_use=no
27397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27398 ac_ext=c
27399 ac_cpp='$CPP $CPPFLAGS'
27400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27409 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27411 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27412 for ac_func in sincosl
27413 do :
27414 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27415 if test "x$ac_cv_func_sincosl" = x""yes; then :
27416 cat >>confdefs.h <<_ACEOF
27417 #define HAVE_SINCOSL 1
27418 _ACEOF
27421 done
27423 else
27425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27426 $as_echo_n "checking for _sincosl declaration... " >&6; }
27427 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27428 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
27429 $as_echo_n "(cached) " >&6
27430 else
27433 ac_ext=cpp
27434 ac_cpp='$CXXCPP $CPPFLAGS'
27435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27440 /* end confdefs.h. */
27441 #include <math.h>
27443 main ()
27445 _sincosl(0, 0, 0);
27447 return 0;
27449 _ACEOF
27450 if ac_fn_cxx_try_compile "$LINENO"; then :
27451 glibcxx_cv_func__sincosl_use=yes
27452 else
27453 glibcxx_cv_func__sincosl_use=no
27455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27456 ac_ext=c
27457 ac_cpp='$CPP $CPPFLAGS'
27458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27467 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27469 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27470 for ac_func in _sincosl
27471 do :
27472 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27473 if test "x$ac_cv_func__sincosl" = x""yes; then :
27474 cat >>confdefs.h <<_ACEOF
27475 #define HAVE__SINCOSL 1
27476 _ACEOF
27479 done
27488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27489 $as_echo_n "checking for finitel declaration... " >&6; }
27490 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27491 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
27492 $as_echo_n "(cached) " >&6
27493 else
27496 ac_ext=cpp
27497 ac_cpp='$CXXCPP $CPPFLAGS'
27498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27503 /* end confdefs.h. */
27504 #include <math.h>
27505 #ifdef HAVE_IEEEFP_H
27506 #include <ieeefp.h>
27507 #endif
27510 main ()
27512 finitel(0);
27514 return 0;
27516 _ACEOF
27517 if ac_fn_cxx_try_compile "$LINENO"; then :
27518 glibcxx_cv_func_finitel_use=yes
27519 else
27520 glibcxx_cv_func_finitel_use=no
27522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27523 ac_ext=c
27524 ac_cpp='$CPP $CPPFLAGS'
27525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27534 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27536 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27537 for ac_func in finitel
27538 do :
27539 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27540 if test "x$ac_cv_func_finitel" = x""yes; then :
27541 cat >>confdefs.h <<_ACEOF
27542 #define HAVE_FINITEL 1
27543 _ACEOF
27546 done
27548 else
27550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27551 $as_echo_n "checking for _finitel declaration... " >&6; }
27552 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27553 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
27554 $as_echo_n "(cached) " >&6
27555 else
27558 ac_ext=cpp
27559 ac_cpp='$CXXCPP $CPPFLAGS'
27560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27565 /* end confdefs.h. */
27566 #include <math.h>
27567 #ifdef HAVE_IEEEFP_H
27568 #include <ieeefp.h>
27569 #endif
27572 main ()
27574 _finitel(0);
27576 return 0;
27578 _ACEOF
27579 if ac_fn_cxx_try_compile "$LINENO"; then :
27580 glibcxx_cv_func__finitel_use=yes
27581 else
27582 glibcxx_cv_func__finitel_use=no
27584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27585 ac_ext=c
27586 ac_cpp='$CPP $CPPFLAGS'
27587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27596 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27598 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27599 for ac_func in _finitel
27600 do :
27601 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27602 if test "x$ac_cv_func__finitel" = x""yes; then :
27603 cat >>confdefs.h <<_ACEOF
27604 #define HAVE__FINITEL 1
27605 _ACEOF
27608 done
27616 LIBS="$ac_save_LIBS"
27617 CXXFLAGS="$ac_save_CXXFLAGS"
27620 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27621 ac_save_CXXFLAGS="$CXXFLAGS"
27622 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27626 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27627 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27628 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
27629 $as_echo_n "(cached) " >&6
27630 else
27633 ac_ext=cpp
27634 ac_cpp='$CXXCPP $CPPFLAGS'
27635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27640 /* end confdefs.h. */
27641 #include <stdlib.h>
27643 main ()
27645 at_quick_exit(0);
27647 return 0;
27649 _ACEOF
27650 if ac_fn_cxx_try_compile "$LINENO"; then :
27651 glibcxx_cv_func_at_quick_exit_use=yes
27652 else
27653 glibcxx_cv_func_at_quick_exit_use=no
27655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27656 ac_ext=c
27657 ac_cpp='$CPP $CPPFLAGS'
27658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27667 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27668 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27669 for ac_func in at_quick_exit
27670 do :
27671 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27672 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
27673 cat >>confdefs.h <<_ACEOF
27674 #define HAVE_AT_QUICK_EXIT 1
27675 _ACEOF
27678 done
27683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27684 $as_echo_n "checking for quick_exit declaration... " >&6; }
27685 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27686 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
27687 $as_echo_n "(cached) " >&6
27688 else
27691 ac_ext=cpp
27692 ac_cpp='$CXXCPP $CPPFLAGS'
27693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27698 /* end confdefs.h. */
27699 #include <stdlib.h>
27701 main ()
27703 quick_exit(0);
27705 return 0;
27707 _ACEOF
27708 if ac_fn_cxx_try_compile "$LINENO"; then :
27709 glibcxx_cv_func_quick_exit_use=yes
27710 else
27711 glibcxx_cv_func_quick_exit_use=no
27713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27714 ac_ext=c
27715 ac_cpp='$CPP $CPPFLAGS'
27716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27725 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27726 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27727 for ac_func in quick_exit
27728 do :
27729 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27730 if test "x$ac_cv_func_quick_exit" = x""yes; then :
27731 cat >>confdefs.h <<_ACEOF
27732 #define HAVE_QUICK_EXIT 1
27733 _ACEOF
27736 done
27741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27742 $as_echo_n "checking for strtold declaration... " >&6; }
27743 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27744 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
27745 $as_echo_n "(cached) " >&6
27746 else
27749 ac_ext=cpp
27750 ac_cpp='$CXXCPP $CPPFLAGS'
27751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27756 /* end confdefs.h. */
27757 #include <stdlib.h>
27759 main ()
27761 strtold(0, 0);
27763 return 0;
27765 _ACEOF
27766 if ac_fn_cxx_try_compile "$LINENO"; then :
27767 glibcxx_cv_func_strtold_use=yes
27768 else
27769 glibcxx_cv_func_strtold_use=no
27771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27772 ac_ext=c
27773 ac_cpp='$CPP $CPPFLAGS'
27774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
27783 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
27784 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
27785 for ac_func in strtold
27786 do :
27787 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
27788 if test "x$ac_cv_func_strtold" = x""yes; then :
27789 cat >>confdefs.h <<_ACEOF
27790 #define HAVE_STRTOLD 1
27791 _ACEOF
27794 done
27801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
27802 $as_echo_n "checking for strtof declaration... " >&6; }
27803 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
27804 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
27805 $as_echo_n "(cached) " >&6
27806 else
27809 ac_ext=cpp
27810 ac_cpp='$CXXCPP $CPPFLAGS'
27811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27816 /* end confdefs.h. */
27817 #include <stdlib.h>
27819 main ()
27821 strtof(0, 0);
27823 return 0;
27825 _ACEOF
27826 if ac_fn_cxx_try_compile "$LINENO"; then :
27827 glibcxx_cv_func_strtof_use=yes
27828 else
27829 glibcxx_cv_func_strtof_use=no
27831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27832 ac_ext=c
27833 ac_cpp='$CPP $CPPFLAGS'
27834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
27843 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
27844 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
27845 for ac_func in strtof
27846 do :
27847 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
27848 if test "x$ac_cv_func_strtof" = x""yes; then :
27849 cat >>confdefs.h <<_ACEOF
27850 #define HAVE_STRTOF 1
27851 _ACEOF
27854 done
27861 CXXFLAGS="$ac_save_CXXFLAGS"
27864 # For /dev/random and /dev/urandom for TR1.
27867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
27868 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
27869 if test "${glibcxx_cv_random_tr1+set}" = set; then :
27870 $as_echo_n "(cached) " >&6
27871 else
27873 if test -r /dev/random && test -r /dev/urandom; then
27874 ## For MSys environment the test above is detect as false-positive
27875 ## on mingw-targets. So disable it explicit for them.
27876 case ${target_os} in
27877 *mingw*) glibcxx_cv_random_tr1=no ;;
27878 *) glibcxx_cv_random_tr1=yes ;;
27879 esac
27880 else
27881 glibcxx_cv_random_tr1=no;
27886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
27887 $as_echo "$glibcxx_cv_random_tr1" >&6; }
27889 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
27891 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
27897 # For TLS support.
27900 # Check whether --enable-tls was given.
27901 if test "${enable_tls+set}" = set; then :
27902 enableval=$enable_tls;
27903 case "$enableval" in
27904 yes|no) ;;
27905 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
27906 esac
27908 else
27909 enable_tls=yes
27913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
27914 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
27915 if test "${gcc_cv_have_tls+set}" = set; then :
27916 $as_echo_n "(cached) " >&6
27917 else
27919 if test "$cross_compiling" = yes; then :
27920 if test x$gcc_no_link = xyes; then
27921 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27924 /* end confdefs.h. */
27925 __thread int a; int b; int main() { return a = b; }
27926 _ACEOF
27927 if ac_fn_c_try_link "$LINENO"; then :
27928 chktls_save_LDFLAGS="$LDFLAGS"
27929 case $host in
27930 *-*-linux*)
27931 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
27933 esac
27934 chktls_save_CFLAGS="$CFLAGS"
27935 CFLAGS="-fPIC $CFLAGS"
27936 if test x$gcc_no_link = xyes; then
27937 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27940 /* end confdefs.h. */
27941 int f() { return 0; }
27942 _ACEOF
27943 if ac_fn_c_try_link "$LINENO"; then :
27944 if test x$gcc_no_link = xyes; then
27945 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27948 /* end confdefs.h. */
27949 __thread int a; int b; int f() { return a = b; }
27950 _ACEOF
27951 if ac_fn_c_try_link "$LINENO"; then :
27952 gcc_cv_have_tls=yes
27953 else
27954 gcc_cv_have_tls=no
27956 rm -f core conftest.err conftest.$ac_objext \
27957 conftest$ac_exeext conftest.$ac_ext
27958 else
27959 gcc_cv_have_tls=yes
27961 rm -f core conftest.err conftest.$ac_objext \
27962 conftest$ac_exeext conftest.$ac_ext
27963 CFLAGS="$chktls_save_CFLAGS"
27964 LDFLAGS="$chktls_save_LDFLAGS"
27965 else
27966 gcc_cv_have_tls=no
27968 rm -f core conftest.err conftest.$ac_objext \
27969 conftest$ac_exeext conftest.$ac_ext
27972 else
27973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27974 /* end confdefs.h. */
27975 __thread int a; int b; int main() { return a = b; }
27976 _ACEOF
27977 if ac_fn_c_try_run "$LINENO"; then :
27978 chktls_save_LDFLAGS="$LDFLAGS"
27979 LDFLAGS="-static $LDFLAGS"
27980 if test x$gcc_no_link = xyes; then
27981 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27984 /* end confdefs.h. */
27985 int main() { return 0; }
27986 _ACEOF
27987 if ac_fn_c_try_link "$LINENO"; then :
27988 if test "$cross_compiling" = yes; then :
27989 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27990 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27991 as_fn_error "cannot run test program while cross compiling
27992 See \`config.log' for more details." "$LINENO" 5; }
27993 else
27994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27995 /* end confdefs.h. */
27996 __thread int a; int b; int main() { return a = b; }
27997 _ACEOF
27998 if ac_fn_c_try_run "$LINENO"; then :
27999 gcc_cv_have_tls=yes
28000 else
28001 gcc_cv_have_tls=no
28003 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28004 conftest.$ac_objext conftest.beam conftest.$ac_ext
28007 else
28008 gcc_cv_have_tls=yes
28010 rm -f core conftest.err conftest.$ac_objext \
28011 conftest$ac_exeext conftest.$ac_ext
28012 LDFLAGS="$chktls_save_LDFLAGS"
28013 if test $gcc_cv_have_tls = yes; then
28014 chktls_save_CFLAGS="$CFLAGS"
28015 thread_CFLAGS=failed
28016 for flag in '' '-pthread' '-lpthread'; do
28017 CFLAGS="$flag $chktls_save_CFLAGS"
28018 if test x$gcc_no_link = xyes; then
28019 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28022 /* end confdefs.h. */
28023 #include <pthread.h>
28024 void *g(void *d) { return NULL; }
28026 main ()
28028 pthread_t t; pthread_create(&t,NULL,g,NULL);
28030 return 0;
28032 _ACEOF
28033 if ac_fn_c_try_link "$LINENO"; then :
28034 thread_CFLAGS="$flag"
28036 rm -f core conftest.err conftest.$ac_objext \
28037 conftest$ac_exeext conftest.$ac_ext
28038 if test "X$thread_CFLAGS" != Xfailed; then
28039 break
28041 done
28042 CFLAGS="$chktls_save_CFLAGS"
28043 if test "X$thread_CFLAGS" != Xfailed; then
28044 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28045 if test "$cross_compiling" = yes; then :
28046 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28047 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28048 as_fn_error "cannot run test program while cross compiling
28049 See \`config.log' for more details." "$LINENO" 5; }
28050 else
28051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28052 /* end confdefs.h. */
28053 #include <pthread.h>
28054 __thread int a;
28055 static int *volatile a_in_other_thread;
28056 static void *
28057 thread_func (void *arg)
28059 a_in_other_thread = &a;
28060 return (void *)0;
28063 main ()
28065 pthread_t thread;
28066 void *thread_retval;
28067 int *volatile a_in_main_thread;
28068 a_in_main_thread = &a;
28069 if (pthread_create (&thread, (pthread_attr_t *)0,
28070 thread_func, (void *)0))
28071 return 0;
28072 if (pthread_join (thread, &thread_retval))
28073 return 0;
28074 return (a_in_other_thread == a_in_main_thread);
28076 return 0;
28078 _ACEOF
28079 if ac_fn_c_try_run "$LINENO"; then :
28080 gcc_cv_have_tls=yes
28081 else
28082 gcc_cv_have_tls=no
28084 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28085 conftest.$ac_objext conftest.beam conftest.$ac_ext
28088 CFLAGS="$chktls_save_CFLAGS"
28091 else
28092 gcc_cv_have_tls=no
28094 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28095 conftest.$ac_objext conftest.beam conftest.$ac_ext
28099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28100 $as_echo "$gcc_cv_have_tls" >&6; }
28101 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28103 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28107 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28108 do :
28109 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28110 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28111 eval as_val=\$$as_ac_var
28112 if test "x$as_val" = x""yes; then :
28113 cat >>confdefs.h <<_ACEOF
28114 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28115 _ACEOF
28118 done
28120 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28121 do :
28122 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28123 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28124 eval as_val=\$$as_ac_var
28125 if test "x$as_val" = x""yes; then :
28126 cat >>confdefs.h <<_ACEOF
28127 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28128 _ACEOF
28131 done
28134 # For iconv support.
28136 if test "X$prefix" = "XNONE"; then
28137 acl_final_prefix="$ac_default_prefix"
28138 else
28139 acl_final_prefix="$prefix"
28141 if test "X$exec_prefix" = "XNONE"; then
28142 acl_final_exec_prefix='${prefix}'
28143 else
28144 acl_final_exec_prefix="$exec_prefix"
28146 acl_save_prefix="$prefix"
28147 prefix="$acl_final_prefix"
28148 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28149 prefix="$acl_save_prefix"
28152 # Check whether --with-gnu-ld was given.
28153 if test "${with_gnu_ld+set}" = set; then :
28154 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28155 else
28156 with_gnu_ld=no
28159 # Prepare PATH_SEPARATOR.
28160 # The user is always right.
28161 if test "${PATH_SEPARATOR+set}" != set; then
28162 echo "#! /bin/sh" >conf$$.sh
28163 echo "exit 0" >>conf$$.sh
28164 chmod +x conf$$.sh
28165 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28166 PATH_SEPARATOR=';'
28167 else
28168 PATH_SEPARATOR=:
28170 rm -f conf$$.sh
28172 ac_prog=ld
28173 if test "$GCC" = yes; then
28174 # Check if gcc -print-prog-name=ld gives a path.
28175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28176 $as_echo_n "checking for ld used by GCC... " >&6; }
28177 case $host in
28178 *-*-mingw*)
28179 # gcc leaves a trailing carriage return which upsets mingw
28180 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28182 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28183 esac
28184 case $ac_prog in
28185 # Accept absolute paths.
28186 [\\/]* | [A-Za-z]:[\\/]*)
28187 re_direlt='/[^/][^/]*/\.\./'
28188 # Canonicalize the path of ld
28189 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28190 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28191 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28192 done
28193 test -z "$LD" && LD="$ac_prog"
28196 # If it fails, then pretend we aren't using GCC.
28197 ac_prog=ld
28200 # If it is relative, then search for the first ld in PATH.
28201 with_gnu_ld=unknown
28203 esac
28204 elif test "$with_gnu_ld" = yes; then
28205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28206 $as_echo_n "checking for GNU ld... " >&6; }
28207 else
28208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28209 $as_echo_n "checking for non-GNU ld... " >&6; }
28211 if test "${acl_cv_path_LD+set}" = set; then :
28212 $as_echo_n "(cached) " >&6
28213 else
28214 if test -z "$LD"; then
28215 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28216 for ac_dir in $PATH; do
28217 test -z "$ac_dir" && ac_dir=.
28218 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28219 acl_cv_path_LD="$ac_dir/$ac_prog"
28220 # Check to see if the program is GNU ld. I'd rather use --version,
28221 # but apparently some GNU ld's only accept -v.
28222 # Break only if it was the GNU/non-GNU ld that we prefer.
28223 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28224 test "$with_gnu_ld" != no && break
28225 else
28226 test "$with_gnu_ld" != yes && break
28229 done
28230 IFS="$ac_save_ifs"
28231 else
28232 acl_cv_path_LD="$LD" # Let the user override the test with a path.
28236 LD="$acl_cv_path_LD"
28237 if test -n "$LD"; then
28238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28239 $as_echo "$LD" >&6; }
28240 else
28241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28242 $as_echo "no" >&6; }
28244 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
28245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28246 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28247 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
28248 $as_echo_n "(cached) " >&6
28249 else
28250 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28251 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28252 acl_cv_prog_gnu_ld=yes
28253 else
28254 acl_cv_prog_gnu_ld=no
28257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28258 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28259 with_gnu_ld=$acl_cv_prog_gnu_ld
28263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28264 $as_echo_n "checking for shared library run path origin... " >&6; }
28265 if test "${acl_cv_rpath+set}" = set; then :
28266 $as_echo_n "(cached) " >&6
28267 else
28269 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28270 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28271 . ./conftest.sh
28272 rm -f ./conftest.sh
28273 acl_cv_rpath=done
28276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28277 $as_echo "$acl_cv_rpath" >&6; }
28278 wl="$acl_cv_wl"
28279 libext="$acl_cv_libext"
28280 shlibext="$acl_cv_shlibext"
28281 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28282 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28283 hardcode_direct="$acl_cv_hardcode_direct"
28284 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28285 # Check whether --enable-rpath was given.
28286 if test "${enable_rpath+set}" = set; then :
28287 enableval=$enable_rpath; :
28288 else
28289 enable_rpath=yes
28299 use_additional=yes
28301 acl_save_prefix="$prefix"
28302 prefix="$acl_final_prefix"
28303 acl_save_exec_prefix="$exec_prefix"
28304 exec_prefix="$acl_final_exec_prefix"
28306 eval additional_includedir=\"$includedir\"
28307 eval additional_libdir=\"$libdir\"
28309 exec_prefix="$acl_save_exec_prefix"
28310 prefix="$acl_save_prefix"
28313 # Check whether --with-libiconv-prefix was given.
28314 if test "${with_libiconv_prefix+set}" = set; then :
28315 withval=$with_libiconv_prefix;
28316 if test "X$withval" = "Xno"; then
28317 use_additional=no
28318 else
28319 if test "X$withval" = "X"; then
28321 acl_save_prefix="$prefix"
28322 prefix="$acl_final_prefix"
28323 acl_save_exec_prefix="$exec_prefix"
28324 exec_prefix="$acl_final_exec_prefix"
28326 eval additional_includedir=\"$includedir\"
28327 eval additional_libdir=\"$libdir\"
28329 exec_prefix="$acl_save_exec_prefix"
28330 prefix="$acl_save_prefix"
28332 else
28333 additional_includedir="$withval/include"
28334 additional_libdir="$withval/lib"
28340 LIBICONV=
28341 LTLIBICONV=
28342 INCICONV=
28343 rpathdirs=
28344 ltrpathdirs=
28345 names_already_handled=
28346 names_next_round='iconv '
28347 while test -n "$names_next_round"; do
28348 names_this_round="$names_next_round"
28349 names_next_round=
28350 for name in $names_this_round; do
28351 already_handled=
28352 for n in $names_already_handled; do
28353 if test "$n" = "$name"; then
28354 already_handled=yes
28355 break
28357 done
28358 if test -z "$already_handled"; then
28359 names_already_handled="$names_already_handled $name"
28360 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28361 eval value=\"\$HAVE_LIB$uppername\"
28362 if test -n "$value"; then
28363 if test "$value" = yes; then
28364 eval value=\"\$LIB$uppername\"
28365 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28366 eval value=\"\$LTLIB$uppername\"
28367 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28368 else
28371 else
28372 found_dir=
28373 found_la=
28374 found_so=
28375 found_a=
28376 if test $use_additional = yes; then
28377 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
28378 found_dir="$additional_libdir"
28379 found_so="$additional_libdir/lib$name.$shlibext"
28380 if test -f "$additional_libdir/lib$name.la"; then
28381 found_la="$additional_libdir/lib$name.la"
28383 else
28384 if test -f "$additional_libdir/lib$name.$libext"; then
28385 found_dir="$additional_libdir"
28386 found_a="$additional_libdir/lib$name.$libext"
28387 if test -f "$additional_libdir/lib$name.la"; then
28388 found_la="$additional_libdir/lib$name.la"
28393 if test "X$found_dir" = "X"; then
28394 for x in $LDFLAGS $LTLIBICONV; do
28396 acl_save_prefix="$prefix"
28397 prefix="$acl_final_prefix"
28398 acl_save_exec_prefix="$exec_prefix"
28399 exec_prefix="$acl_final_exec_prefix"
28400 eval x=\"$x\"
28401 exec_prefix="$acl_save_exec_prefix"
28402 prefix="$acl_save_prefix"
28404 case "$x" in
28405 -L*)
28406 dir=`echo "X$x" | sed -e 's/^X-L//'`
28407 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
28408 found_dir="$dir"
28409 found_so="$dir/lib$name.$shlibext"
28410 if test -f "$dir/lib$name.la"; then
28411 found_la="$dir/lib$name.la"
28413 else
28414 if test -f "$dir/lib$name.$libext"; then
28415 found_dir="$dir"
28416 found_a="$dir/lib$name.$libext"
28417 if test -f "$dir/lib$name.la"; then
28418 found_la="$dir/lib$name.la"
28423 esac
28424 if test "X$found_dir" != "X"; then
28425 break
28427 done
28429 if test "X$found_dir" != "X"; then
28430 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28431 if test "X$found_so" != "X"; then
28432 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28433 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28434 else
28435 haveit=
28436 for x in $ltrpathdirs; do
28437 if test "X$x" = "X$found_dir"; then
28438 haveit=yes
28439 break
28441 done
28442 if test -z "$haveit"; then
28443 ltrpathdirs="$ltrpathdirs $found_dir"
28445 if test "$hardcode_direct" = yes; then
28446 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28447 else
28448 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28449 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28450 haveit=
28451 for x in $rpathdirs; do
28452 if test "X$x" = "X$found_dir"; then
28453 haveit=yes
28454 break
28456 done
28457 if test -z "$haveit"; then
28458 rpathdirs="$rpathdirs $found_dir"
28460 else
28461 haveit=
28462 for x in $LDFLAGS $LIBICONV; do
28464 acl_save_prefix="$prefix"
28465 prefix="$acl_final_prefix"
28466 acl_save_exec_prefix="$exec_prefix"
28467 exec_prefix="$acl_final_exec_prefix"
28468 eval x=\"$x\"
28469 exec_prefix="$acl_save_exec_prefix"
28470 prefix="$acl_save_prefix"
28472 if test "X$x" = "X-L$found_dir"; then
28473 haveit=yes
28474 break
28476 done
28477 if test -z "$haveit"; then
28478 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28480 if test "$hardcode_minus_L" != no; then
28481 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28482 else
28483 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28488 else
28489 if test "X$found_a" != "X"; then
28490 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28491 else
28492 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28495 additional_includedir=
28496 case "$found_dir" in
28497 */lib | */lib/)
28498 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28499 additional_includedir="$basedir/include"
28501 esac
28502 if test "X$additional_includedir" != "X"; then
28503 if test "X$additional_includedir" != "X/usr/include"; then
28504 haveit=
28505 if test "X$additional_includedir" = "X/usr/local/include"; then
28506 if test -n "$GCC"; then
28507 case $host_os in
28508 linux*) haveit=yes;;
28509 esac
28512 if test -z "$haveit"; then
28513 for x in $CPPFLAGS $INCICONV; do
28515 acl_save_prefix="$prefix"
28516 prefix="$acl_final_prefix"
28517 acl_save_exec_prefix="$exec_prefix"
28518 exec_prefix="$acl_final_exec_prefix"
28519 eval x=\"$x\"
28520 exec_prefix="$acl_save_exec_prefix"
28521 prefix="$acl_save_prefix"
28523 if test "X$x" = "X-I$additional_includedir"; then
28524 haveit=yes
28525 break
28527 done
28528 if test -z "$haveit"; then
28529 if test -d "$additional_includedir"; then
28530 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28536 if test -n "$found_la"; then
28537 save_libdir="$libdir"
28538 case "$found_la" in
28539 */* | *\\*) . "$found_la" ;;
28540 *) . "./$found_la" ;;
28541 esac
28542 libdir="$save_libdir"
28543 for dep in $dependency_libs; do
28544 case "$dep" in
28545 -L*)
28546 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28547 if test "X$additional_libdir" != "X/usr/lib"; then
28548 haveit=
28549 if test "X$additional_libdir" = "X/usr/local/lib"; then
28550 if test -n "$GCC"; then
28551 case $host_os in
28552 linux*) haveit=yes;;
28553 esac
28556 if test -z "$haveit"; then
28557 haveit=
28558 for x in $LDFLAGS $LIBICONV; do
28560 acl_save_prefix="$prefix"
28561 prefix="$acl_final_prefix"
28562 acl_save_exec_prefix="$exec_prefix"
28563 exec_prefix="$acl_final_exec_prefix"
28564 eval x=\"$x\"
28565 exec_prefix="$acl_save_exec_prefix"
28566 prefix="$acl_save_prefix"
28568 if test "X$x" = "X-L$additional_libdir"; then
28569 haveit=yes
28570 break
28572 done
28573 if test -z "$haveit"; then
28574 if test -d "$additional_libdir"; then
28575 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28578 haveit=
28579 for x in $LDFLAGS $LTLIBICONV; do
28581 acl_save_prefix="$prefix"
28582 prefix="$acl_final_prefix"
28583 acl_save_exec_prefix="$exec_prefix"
28584 exec_prefix="$acl_final_exec_prefix"
28585 eval x=\"$x\"
28586 exec_prefix="$acl_save_exec_prefix"
28587 prefix="$acl_save_prefix"
28589 if test "X$x" = "X-L$additional_libdir"; then
28590 haveit=yes
28591 break
28593 done
28594 if test -z "$haveit"; then
28595 if test -d "$additional_libdir"; then
28596 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28602 -R*)
28603 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28604 if test "$enable_rpath" != no; then
28605 haveit=
28606 for x in $rpathdirs; do
28607 if test "X$x" = "X$dir"; then
28608 haveit=yes
28609 break
28611 done
28612 if test -z "$haveit"; then
28613 rpathdirs="$rpathdirs $dir"
28615 haveit=
28616 for x in $ltrpathdirs; do
28617 if test "X$x" = "X$dir"; then
28618 haveit=yes
28619 break
28621 done
28622 if test -z "$haveit"; then
28623 ltrpathdirs="$ltrpathdirs $dir"
28627 -l*)
28628 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28630 *.la)
28631 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28634 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28635 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28637 esac
28638 done
28640 else
28641 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28642 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28646 done
28647 done
28648 if test "X$rpathdirs" != "X"; then
28649 if test -n "$hardcode_libdir_separator"; then
28650 alldirs=
28651 for found_dir in $rpathdirs; do
28652 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28653 done
28654 acl_save_libdir="$libdir"
28655 libdir="$alldirs"
28656 eval flag=\"$hardcode_libdir_flag_spec\"
28657 libdir="$acl_save_libdir"
28658 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28659 else
28660 for found_dir in $rpathdirs; do
28661 acl_save_libdir="$libdir"
28662 libdir="$found_dir"
28663 eval flag=\"$hardcode_libdir_flag_spec\"
28664 libdir="$acl_save_libdir"
28665 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28666 done
28669 if test "X$ltrpathdirs" != "X"; then
28670 for found_dir in $ltrpathdirs; do
28671 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28672 done
28681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28682 $as_echo_n "checking for iconv... " >&6; }
28683 if test "${am_cv_func_iconv+set}" = set; then :
28684 $as_echo_n "(cached) " >&6
28685 else
28687 am_cv_func_iconv="no, consider installing GNU libiconv"
28688 am_cv_lib_iconv=no
28689 am_save_CPPFLAGS="$CPPFLAGS"
28690 CPPFLAGS="$CPPFLAGS $INCICONV"
28691 if test x$gcc_no_link = xyes; then
28692 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28695 /* end confdefs.h. */
28696 #include <stdlib.h>
28697 #include <iconv.h>
28699 main ()
28701 iconv_t cd = iconv_open("","");
28702 iconv(cd,NULL,NULL,NULL,NULL);
28703 iconv_close(cd);
28705 return 0;
28707 _ACEOF
28708 if ac_fn_c_try_link "$LINENO"; then :
28709 am_cv_func_iconv=yes
28711 rm -f core conftest.err conftest.$ac_objext \
28712 conftest$ac_exeext conftest.$ac_ext
28713 CPPFLAGS="$am_save_CPPFLAGS"
28715 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
28716 for _libs in .libs _libs; do
28717 am_save_CPPFLAGS="$CPPFLAGS"
28718 am_save_LIBS="$LIBS"
28719 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
28720 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
28721 if test x$gcc_no_link = xyes; then
28722 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28725 /* end confdefs.h. */
28726 #include <stdlib.h>
28727 #include <iconv.h>
28729 main ()
28731 iconv_t cd = iconv_open("","");
28732 iconv(cd,NULL,NULL,NULL,NULL);
28733 iconv_close(cd);
28735 return 0;
28737 _ACEOF
28738 if ac_fn_c_try_link "$LINENO"; then :
28739 INCICONV="-I../libiconv/include"
28740 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
28741 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
28742 am_cv_lib_iconv=yes
28743 am_cv_func_iconv=yes
28745 rm -f core conftest.err conftest.$ac_objext \
28746 conftest$ac_exeext conftest.$ac_ext
28747 CPPFLAGS="$am_save_CPPFLAGS"
28748 LIBS="$am_save_LIBS"
28749 if test "$am_cv_func_iconv" = "yes"; then
28750 break
28752 done
28755 if test "$am_cv_func_iconv" != yes; then
28756 am_save_CPPFLAGS="$CPPFLAGS"
28757 am_save_LIBS="$LIBS"
28758 CPPFLAGS="$LIBS $INCICONV"
28759 LIBS="$LIBS $LIBICONV"
28760 if test x$gcc_no_link = xyes; then
28761 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28764 /* end confdefs.h. */
28765 #include <stdlib.h>
28766 #include <iconv.h>
28768 main ()
28770 iconv_t cd = iconv_open("","");
28771 iconv(cd,NULL,NULL,NULL,NULL);
28772 iconv_close(cd);
28774 return 0;
28776 _ACEOF
28777 if ac_fn_c_try_link "$LINENO"; then :
28778 am_cv_lib_iconv=yes
28779 am_cv_func_iconv=yes
28781 rm -f core conftest.err conftest.$ac_objext \
28782 conftest$ac_exeext conftest.$ac_ext
28783 CPPFLAGS="$am_save_CPPFLAGS"
28784 LIBS="$am_save_LIBS"
28788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
28789 $as_echo "$am_cv_func_iconv" >&6; }
28790 if test "$am_cv_func_iconv" = yes; then
28792 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28795 if test "$am_cv_lib_iconv" = yes; then
28797 for element in $INCICONV; do
28798 haveit=
28799 for x in $CPPFLAGS; do
28801 acl_save_prefix="$prefix"
28802 prefix="$acl_final_prefix"
28803 acl_save_exec_prefix="$exec_prefix"
28804 exec_prefix="$acl_final_exec_prefix"
28805 eval x=\"$x\"
28806 exec_prefix="$acl_save_exec_prefix"
28807 prefix="$acl_save_prefix"
28809 if test "X$x" = "X$element"; then
28810 haveit=yes
28811 break
28813 done
28814 if test -z "$haveit"; then
28815 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
28817 done
28819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
28820 $as_echo_n "checking how to link with libiconv... " >&6; }
28821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
28822 $as_echo "$LIBICONV" >&6; }
28823 else
28824 LIBICONV=
28825 LTLIBICONV=
28830 if test "$am_cv_func_iconv" = yes; then
28831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
28832 $as_echo_n "checking for iconv declaration... " >&6; }
28833 if test "${am_cv_proto_iconv+set}" = set; then :
28834 $as_echo_n "(cached) " >&6
28835 else
28837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28838 /* end confdefs.h. */
28840 #include <stdlib.h>
28841 #include <iconv.h>
28842 extern
28843 #ifdef __cplusplus
28845 #endif
28846 #if defined(__STDC__) || defined(__cplusplus)
28847 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
28848 #else
28849 size_t iconv();
28850 #endif
28853 main ()
28857 return 0;
28859 _ACEOF
28860 if ac_fn_c_try_compile "$LINENO"; then :
28861 am_cv_proto_iconv_arg1=""
28862 else
28863 am_cv_proto_iconv_arg1="const"
28865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28866 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);"
28869 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
28870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
28871 }$am_cv_proto_iconv" >&5
28872 $as_echo "${ac_t:-
28873 }$am_cv_proto_iconv" >&6; }
28875 cat >>confdefs.h <<_ACEOF
28876 #define ICONV_CONST $am_cv_proto_iconv_arg1
28877 _ACEOF
28882 else
28884 # This lets us hard-code the functionality we know we'll have in the cross
28885 # target environment. "Let" is a sugar-coated word placed on an especially
28886 # dull and tedious hack, actually.
28888 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
28889 # that involve linking, can't be used:
28890 # "cannot open sim-crt0.o"
28891 # "cannot open crt0.o"
28892 # etc. All this is because there currently exists no unified, consistent
28893 # way for top level CC information to be passed down to target directories:
28894 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
28895 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
28896 # crosses can be removed.
28898 # If Canadian cross, then don't pick up tools from the build directory.
28899 # Used only in GLIBCXX_EXPORT_INCLUDES.
28900 if test -n "$with_cross_host" &&
28901 test x"$build_alias" != x"$with_cross_host" &&
28902 test x"$build" != x"$target";
28903 then
28904 CANADIAN=yes
28905 else
28906 CANADIAN=no
28909 # Construct crosses by hand, eliminating bits that need ld...
28910 # GLIBCXX_CHECK_MATH_SUPPORT
28912 # First, test for "known" system libraries. We may be using newlib even
28913 # on a hosted environment.
28914 if test "x${with_newlib}" = "xyes"; then
28915 os_include_dir="os/newlib"
28916 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
28919 # GLIBCXX_CHECK_STDLIB_SUPPORT
28920 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
28923 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28925 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28927 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28929 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28931 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28933 $as_echo "#define HAVE_COSF 1" >>confdefs.h
28935 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28937 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
28939 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
28941 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
28943 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
28945 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
28947 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
28949 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
28951 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
28953 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
28955 $as_echo "#define HAVE_POWF 1" >>confdefs.h
28957 $as_echo "#define HAVE_SINF 1" >>confdefs.h
28959 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
28961 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
28963 $as_echo "#define HAVE_TANF 1" >>confdefs.h
28965 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
28968 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28970 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
28972 else
28974 # Base decisions on target environment.
28975 case "${host}" in
28976 arm*-*-symbianelf*)
28977 # This is a freestanding configuration; there is nothing to do here.
28980 avr*-*-*)
28981 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28983 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28985 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28987 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28989 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28991 $as_echo "#define HAVE_COSF 1" >>confdefs.h
28993 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28995 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
28997 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
28999 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29001 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29003 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29005 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29007 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29009 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29011 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29013 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29015 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29017 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29019 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29021 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29023 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29025 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29029 mips*-sde-elf*)
29030 # These definitions are for the SDE C library rather than newlib.
29031 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29034 # All these tests are for C++; save the language and the compiler flags.
29035 # The CXXFLAGS thing is suspicious, but based on similar bits previously
29036 # found in GLIBCXX_CONFIGURE.
29038 ac_ext=cpp
29039 ac_cpp='$CXXCPP $CPPFLAGS'
29040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29044 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29045 ac_save_CXXFLAGS="$CXXFLAGS"
29047 # Check for maintainer-mode bits.
29048 if test x"$USE_MAINTAINER_MODE" = xno; then
29049 WERROR=''
29050 else
29051 WERROR='-Werror'
29054 # Check for -ffunction-sections -fdata-sections
29055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29056 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29057 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29059 /* end confdefs.h. */
29060 int foo; void bar() { };
29062 main ()
29066 return 0;
29068 _ACEOF
29069 if ac_fn_cxx_try_compile "$LINENO"; then :
29070 ac_fdsections=yes
29071 else
29072 ac_fdsections=no
29074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29075 if test "$ac_test_CXXFLAGS" = set; then
29076 CXXFLAGS="$ac_save_CXXFLAGS"
29077 else
29078 # this is the suspicious part
29079 CXXFLAGS=''
29081 if test x"$ac_fdsections" = x"yes"; then
29082 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29085 $as_echo "$ac_fdsections" >&6; }
29087 ac_ext=c
29088 ac_cpp='$CPP $CPPFLAGS'
29089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29097 # If we're not using GNU ld, then there's no point in even trying these
29098 # tests. Check for that first. We should have already tested for gld
29099 # by now (in libtool), but require it now just to be safe...
29100 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29101 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29105 # The name set by libtool depends on the version of libtool. Shame on us
29106 # for depending on an impl detail, but c'est la vie. Older versions used
29107 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29108 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29109 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
29110 # set (hence we're using an older libtool), then set it.
29111 if test x${with_gnu_ld+set} != xset; then
29112 if test x${ac_cv_prog_gnu_ld+set} != xset; then
29113 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
29114 with_gnu_ld=no
29115 else
29116 with_gnu_ld=$ac_cv_prog_gnu_ld
29120 # Start by getting the version number. I think the libtool test already
29121 # does some of this, but throws away the result.
29122 glibcxx_ld_is_gold=no
29123 if test x"$with_gnu_ld" = x"yes"; then
29124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29125 $as_echo_n "checking for ld version... " >&6; }
29127 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29128 glibcxx_ld_is_gold=yes
29130 ldver=`$LD --version 2>/dev/null |
29131 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
29133 glibcxx_gnu_ld_version=`echo $ldver | \
29134 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29136 $as_echo "$glibcxx_gnu_ld_version" >&6; }
29139 # Set --gc-sections.
29140 glibcxx_have_gc_sections=no
29141 if test "$glibcxx_ld_is_gold" = "yes"; then
29142 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29143 glibcxx_have_gc_sections=yes
29145 else
29146 glibcxx_gcsections_min_ld=21602
29147 if test x"$with_gnu_ld" = x"yes" &&
29148 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29149 glibcxx_have_gc_sections=yes
29152 if test "$glibcxx_have_gc_sections" = "yes"; then
29153 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
29154 # NB: This flag only works reliably after 2.16.1. Configure tests
29155 # for this are difficult, so hard wire a value that should work.
29157 ac_test_CFLAGS="${CFLAGS+set}"
29158 ac_save_CFLAGS="$CFLAGS"
29159 CFLAGS='-Wl,--gc-sections'
29161 # Check for -Wl,--gc-sections
29162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29163 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29164 if test x$gcc_no_link = xyes; then
29165 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29168 /* end confdefs.h. */
29169 int one(void) { return 1; }
29170 int two(void) { return 2; }
29173 main ()
29175 two();
29177 return 0;
29179 _ACEOF
29180 if ac_fn_c_try_link "$LINENO"; then :
29181 ac_gcsections=yes
29182 else
29183 ac_gcsections=no
29185 rm -f core conftest.err conftest.$ac_objext \
29186 conftest$ac_exeext conftest.$ac_ext
29187 if test "$ac_gcsections" = "yes"; then
29188 rm -f conftest.c
29189 touch conftest.c
29190 if $CC -c conftest.c; then
29191 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29192 grep "Warning: gc-sections option ignored" > /dev/null; then
29193 ac_gcsections=no
29196 rm -f conftest.c conftest.o conftest
29198 if test "$ac_gcsections" = "yes"; then
29199 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29202 $as_echo "$ac_gcsections" >&6; }
29204 if test "$ac_test_CFLAGS" = set; then
29205 CFLAGS="$ac_save_CFLAGS"
29206 else
29207 # this is the suspicious part
29208 CFLAGS=''
29212 # Set -z,relro.
29213 # Note this is only for shared objects.
29214 ac_ld_relro=no
29215 if test x"$with_gnu_ld" = x"yes"; then
29216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29217 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29218 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29219 if test -n "$cxx_z_relo"; then
29220 OPT_LDFLAGS="-Wl,-z,relro"
29221 ac_ld_relro=yes
29223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29224 $as_echo "$ac_ld_relro" >&6; }
29227 # Set linker optimization flags.
29228 if test x"$with_gnu_ld" = x"yes"; then
29229 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29236 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29237 ac_save_CXXFLAGS="$CXXFLAGS"
29238 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29241 $as_echo_n "checking for sin in -lm... " >&6; }
29242 if test "${ac_cv_lib_m_sin+set}" = set; then :
29243 $as_echo_n "(cached) " >&6
29244 else
29245 ac_check_lib_save_LIBS=$LIBS
29246 LIBS="-lm $LIBS"
29247 if test x$gcc_no_link = xyes; then
29248 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29251 /* end confdefs.h. */
29253 /* Override any GCC internal prototype to avoid an error.
29254 Use char because int might match the return type of a GCC
29255 builtin and then its argument prototype would still apply. */
29256 #ifdef __cplusplus
29257 extern "C"
29258 #endif
29259 char sin ();
29261 main ()
29263 return sin ();
29265 return 0;
29267 _ACEOF
29268 if ac_fn_c_try_link "$LINENO"; then :
29269 ac_cv_lib_m_sin=yes
29270 else
29271 ac_cv_lib_m_sin=no
29273 rm -f core conftest.err conftest.$ac_objext \
29274 conftest$ac_exeext conftest.$ac_ext
29275 LIBS=$ac_check_lib_save_LIBS
29277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29278 $as_echo "$ac_cv_lib_m_sin" >&6; }
29279 if test "x$ac_cv_lib_m_sin" = x""yes; then :
29280 libm="-lm"
29283 ac_save_LIBS="$LIBS"
29284 LIBS="$LIBS $libm"
29288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29289 $as_echo_n "checking for isinf declaration... " >&6; }
29290 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29291 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
29292 $as_echo_n "(cached) " >&6
29293 else
29296 ac_ext=cpp
29297 ac_cpp='$CXXCPP $CPPFLAGS'
29298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29303 /* end confdefs.h. */
29304 #include <math.h>
29305 #ifdef HAVE_IEEEFP_H
29306 #include <ieeefp.h>
29307 #endif
29310 main ()
29312 isinf(0);
29314 return 0;
29316 _ACEOF
29317 if ac_fn_cxx_try_compile "$LINENO"; then :
29318 glibcxx_cv_func_isinf_use=yes
29319 else
29320 glibcxx_cv_func_isinf_use=no
29322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29323 ac_ext=c
29324 ac_cpp='$CPP $CPPFLAGS'
29325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29334 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29336 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29337 for ac_func in isinf
29338 do :
29339 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29340 if test "x$ac_cv_func_isinf" = x""yes; then :
29341 cat >>confdefs.h <<_ACEOF
29342 #define HAVE_ISINF 1
29343 _ACEOF
29346 done
29348 else
29350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29351 $as_echo_n "checking for _isinf declaration... " >&6; }
29352 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29353 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
29354 $as_echo_n "(cached) " >&6
29355 else
29358 ac_ext=cpp
29359 ac_cpp='$CXXCPP $CPPFLAGS'
29360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29365 /* end confdefs.h. */
29366 #include <math.h>
29367 #ifdef HAVE_IEEEFP_H
29368 #include <ieeefp.h>
29369 #endif
29372 main ()
29374 _isinf(0);
29376 return 0;
29378 _ACEOF
29379 if ac_fn_cxx_try_compile "$LINENO"; then :
29380 glibcxx_cv_func__isinf_use=yes
29381 else
29382 glibcxx_cv_func__isinf_use=no
29384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29385 ac_ext=c
29386 ac_cpp='$CPP $CPPFLAGS'
29387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29396 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29398 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29399 for ac_func in _isinf
29400 do :
29401 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29402 if test "x$ac_cv_func__isinf" = x""yes; then :
29403 cat >>confdefs.h <<_ACEOF
29404 #define HAVE__ISINF 1
29405 _ACEOF
29408 done
29417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29418 $as_echo_n "checking for isnan declaration... " >&6; }
29419 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29420 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
29421 $as_echo_n "(cached) " >&6
29422 else
29425 ac_ext=cpp
29426 ac_cpp='$CXXCPP $CPPFLAGS'
29427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29432 /* end confdefs.h. */
29433 #include <math.h>
29434 #ifdef HAVE_IEEEFP_H
29435 #include <ieeefp.h>
29436 #endif
29439 main ()
29441 isnan(0);
29443 return 0;
29445 _ACEOF
29446 if ac_fn_cxx_try_compile "$LINENO"; then :
29447 glibcxx_cv_func_isnan_use=yes
29448 else
29449 glibcxx_cv_func_isnan_use=no
29451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29452 ac_ext=c
29453 ac_cpp='$CPP $CPPFLAGS'
29454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29463 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29465 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29466 for ac_func in isnan
29467 do :
29468 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29469 if test "x$ac_cv_func_isnan" = x""yes; then :
29470 cat >>confdefs.h <<_ACEOF
29471 #define HAVE_ISNAN 1
29472 _ACEOF
29475 done
29477 else
29479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29480 $as_echo_n "checking for _isnan declaration... " >&6; }
29481 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29482 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
29483 $as_echo_n "(cached) " >&6
29484 else
29487 ac_ext=cpp
29488 ac_cpp='$CXXCPP $CPPFLAGS'
29489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29494 /* end confdefs.h. */
29495 #include <math.h>
29496 #ifdef HAVE_IEEEFP_H
29497 #include <ieeefp.h>
29498 #endif
29501 main ()
29503 _isnan(0);
29505 return 0;
29507 _ACEOF
29508 if ac_fn_cxx_try_compile "$LINENO"; then :
29509 glibcxx_cv_func__isnan_use=yes
29510 else
29511 glibcxx_cv_func__isnan_use=no
29513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29514 ac_ext=c
29515 ac_cpp='$CPP $CPPFLAGS'
29516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29525 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29527 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29528 for ac_func in _isnan
29529 do :
29530 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29531 if test "x$ac_cv_func__isnan" = x""yes; then :
29532 cat >>confdefs.h <<_ACEOF
29533 #define HAVE__ISNAN 1
29534 _ACEOF
29537 done
29546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29547 $as_echo_n "checking for finite declaration... " >&6; }
29548 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29549 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
29550 $as_echo_n "(cached) " >&6
29551 else
29554 ac_ext=cpp
29555 ac_cpp='$CXXCPP $CPPFLAGS'
29556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29561 /* end confdefs.h. */
29562 #include <math.h>
29563 #ifdef HAVE_IEEEFP_H
29564 #include <ieeefp.h>
29565 #endif
29568 main ()
29570 finite(0);
29572 return 0;
29574 _ACEOF
29575 if ac_fn_cxx_try_compile "$LINENO"; then :
29576 glibcxx_cv_func_finite_use=yes
29577 else
29578 glibcxx_cv_func_finite_use=no
29580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29581 ac_ext=c
29582 ac_cpp='$CPP $CPPFLAGS'
29583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29592 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29594 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29595 for ac_func in finite
29596 do :
29597 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29598 if test "x$ac_cv_func_finite" = x""yes; then :
29599 cat >>confdefs.h <<_ACEOF
29600 #define HAVE_FINITE 1
29601 _ACEOF
29604 done
29606 else
29608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29609 $as_echo_n "checking for _finite declaration... " >&6; }
29610 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29611 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
29612 $as_echo_n "(cached) " >&6
29613 else
29616 ac_ext=cpp
29617 ac_cpp='$CXXCPP $CPPFLAGS'
29618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29623 /* end confdefs.h. */
29624 #include <math.h>
29625 #ifdef HAVE_IEEEFP_H
29626 #include <ieeefp.h>
29627 #endif
29630 main ()
29632 _finite(0);
29634 return 0;
29636 _ACEOF
29637 if ac_fn_cxx_try_compile "$LINENO"; then :
29638 glibcxx_cv_func__finite_use=yes
29639 else
29640 glibcxx_cv_func__finite_use=no
29642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29643 ac_ext=c
29644 ac_cpp='$CPP $CPPFLAGS'
29645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29654 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29656 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29657 for ac_func in _finite
29658 do :
29659 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29660 if test "x$ac_cv_func__finite" = x""yes; then :
29661 cat >>confdefs.h <<_ACEOF
29662 #define HAVE__FINITE 1
29663 _ACEOF
29666 done
29675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29676 $as_echo_n "checking for sincos declaration... " >&6; }
29677 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29678 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
29679 $as_echo_n "(cached) " >&6
29680 else
29683 ac_ext=cpp
29684 ac_cpp='$CXXCPP $CPPFLAGS'
29685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29690 /* end confdefs.h. */
29691 #include <math.h>
29693 main ()
29695 sincos(0, 0, 0);
29697 return 0;
29699 _ACEOF
29700 if ac_fn_cxx_try_compile "$LINENO"; then :
29701 glibcxx_cv_func_sincos_use=yes
29702 else
29703 glibcxx_cv_func_sincos_use=no
29705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29706 ac_ext=c
29707 ac_cpp='$CPP $CPPFLAGS'
29708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
29717 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
29719 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29720 for ac_func in sincos
29721 do :
29722 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
29723 if test "x$ac_cv_func_sincos" = x""yes; then :
29724 cat >>confdefs.h <<_ACEOF
29725 #define HAVE_SINCOS 1
29726 _ACEOF
29729 done
29731 else
29733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
29734 $as_echo_n "checking for _sincos declaration... " >&6; }
29735 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29736 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
29737 $as_echo_n "(cached) " >&6
29738 else
29741 ac_ext=cpp
29742 ac_cpp='$CXXCPP $CPPFLAGS'
29743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29748 /* end confdefs.h. */
29749 #include <math.h>
29751 main ()
29753 _sincos(0, 0, 0);
29755 return 0;
29757 _ACEOF
29758 if ac_fn_cxx_try_compile "$LINENO"; then :
29759 glibcxx_cv_func__sincos_use=yes
29760 else
29761 glibcxx_cv_func__sincos_use=no
29763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29764 ac_ext=c
29765 ac_cpp='$CPP $CPPFLAGS'
29766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
29775 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
29777 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29778 for ac_func in _sincos
29779 do :
29780 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
29781 if test "x$ac_cv_func__sincos" = x""yes; then :
29782 cat >>confdefs.h <<_ACEOF
29783 #define HAVE__SINCOS 1
29784 _ACEOF
29787 done
29796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
29797 $as_echo_n "checking for fpclass declaration... " >&6; }
29798 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
29799 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
29800 $as_echo_n "(cached) " >&6
29801 else
29804 ac_ext=cpp
29805 ac_cpp='$CXXCPP $CPPFLAGS'
29806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29811 /* end confdefs.h. */
29812 #include <math.h>
29813 #ifdef HAVE_IEEEFP_H
29814 #include <ieeefp.h>
29815 #endif
29818 main ()
29820 fpclass(0);
29822 return 0;
29824 _ACEOF
29825 if ac_fn_cxx_try_compile "$LINENO"; then :
29826 glibcxx_cv_func_fpclass_use=yes
29827 else
29828 glibcxx_cv_func_fpclass_use=no
29830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29831 ac_ext=c
29832 ac_cpp='$CPP $CPPFLAGS'
29833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
29842 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
29844 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
29845 for ac_func in fpclass
29846 do :
29847 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
29848 if test "x$ac_cv_func_fpclass" = x""yes; then :
29849 cat >>confdefs.h <<_ACEOF
29850 #define HAVE_FPCLASS 1
29851 _ACEOF
29854 done
29856 else
29858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
29859 $as_echo_n "checking for _fpclass declaration... " >&6; }
29860 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
29861 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
29862 $as_echo_n "(cached) " >&6
29863 else
29866 ac_ext=cpp
29867 ac_cpp='$CXXCPP $CPPFLAGS'
29868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29873 /* end confdefs.h. */
29874 #include <math.h>
29875 #ifdef HAVE_IEEEFP_H
29876 #include <ieeefp.h>
29877 #endif
29880 main ()
29882 _fpclass(0);
29884 return 0;
29886 _ACEOF
29887 if ac_fn_cxx_try_compile "$LINENO"; then :
29888 glibcxx_cv_func__fpclass_use=yes
29889 else
29890 glibcxx_cv_func__fpclass_use=no
29892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29893 ac_ext=c
29894 ac_cpp='$CPP $CPPFLAGS'
29895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
29904 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
29906 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
29907 for ac_func in _fpclass
29908 do :
29909 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
29910 if test "x$ac_cv_func__fpclass" = x""yes; then :
29911 cat >>confdefs.h <<_ACEOF
29912 #define HAVE__FPCLASS 1
29913 _ACEOF
29916 done
29925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
29926 $as_echo_n "checking for qfpclass declaration... " >&6; }
29927 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
29928 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
29929 $as_echo_n "(cached) " >&6
29930 else
29933 ac_ext=cpp
29934 ac_cpp='$CXXCPP $CPPFLAGS'
29935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29940 /* end confdefs.h. */
29941 #include <math.h>
29942 #ifdef HAVE_IEEEFP_H
29943 #include <ieeefp.h>
29944 #endif
29947 main ()
29949 qfpclass(0);
29951 return 0;
29953 _ACEOF
29954 if ac_fn_cxx_try_compile "$LINENO"; then :
29955 glibcxx_cv_func_qfpclass_use=yes
29956 else
29957 glibcxx_cv_func_qfpclass_use=no
29959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29960 ac_ext=c
29961 ac_cpp='$CPP $CPPFLAGS'
29962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
29971 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
29973 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
29974 for ac_func in qfpclass
29975 do :
29976 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
29977 if test "x$ac_cv_func_qfpclass" = x""yes; then :
29978 cat >>confdefs.h <<_ACEOF
29979 #define HAVE_QFPCLASS 1
29980 _ACEOF
29983 done
29985 else
29987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
29988 $as_echo_n "checking for _qfpclass declaration... " >&6; }
29989 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
29990 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
29991 $as_echo_n "(cached) " >&6
29992 else
29995 ac_ext=cpp
29996 ac_cpp='$CXXCPP $CPPFLAGS'
29997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30002 /* end confdefs.h. */
30003 #include <math.h>
30004 #ifdef HAVE_IEEEFP_H
30005 #include <ieeefp.h>
30006 #endif
30009 main ()
30011 _qfpclass(0);
30013 return 0;
30015 _ACEOF
30016 if ac_fn_cxx_try_compile "$LINENO"; then :
30017 glibcxx_cv_func__qfpclass_use=yes
30018 else
30019 glibcxx_cv_func__qfpclass_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
30032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30033 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30035 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30036 for ac_func in _qfpclass
30037 do :
30038 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30039 if test "x$ac_cv_func__qfpclass" = x""yes; then :
30040 cat >>confdefs.h <<_ACEOF
30041 #define HAVE__QFPCLASS 1
30042 _ACEOF
30045 done
30054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30055 $as_echo_n "checking for hypot declaration... " >&6; }
30056 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30057 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
30058 $as_echo_n "(cached) " >&6
30059 else
30062 ac_ext=cpp
30063 ac_cpp='$CXXCPP $CPPFLAGS'
30064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30069 /* end confdefs.h. */
30070 #include <math.h>
30072 main ()
30074 hypot(0, 0);
30076 return 0;
30078 _ACEOF
30079 if ac_fn_cxx_try_compile "$LINENO"; then :
30080 glibcxx_cv_func_hypot_use=yes
30081 else
30082 glibcxx_cv_func_hypot_use=no
30084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30085 ac_ext=c
30086 ac_cpp='$CPP $CPPFLAGS'
30087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30096 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30098 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30099 for ac_func in hypot
30100 do :
30101 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30102 if test "x$ac_cv_func_hypot" = x""yes; then :
30103 cat >>confdefs.h <<_ACEOF
30104 #define HAVE_HYPOT 1
30105 _ACEOF
30108 done
30110 else
30112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30113 $as_echo_n "checking for _hypot declaration... " >&6; }
30114 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30115 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
30116 $as_echo_n "(cached) " >&6
30117 else
30120 ac_ext=cpp
30121 ac_cpp='$CXXCPP $CPPFLAGS'
30122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30127 /* end confdefs.h. */
30128 #include <math.h>
30130 main ()
30132 _hypot(0, 0);
30134 return 0;
30136 _ACEOF
30137 if ac_fn_cxx_try_compile "$LINENO"; then :
30138 glibcxx_cv_func__hypot_use=yes
30139 else
30140 glibcxx_cv_func__hypot_use=no
30142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30143 ac_ext=c
30144 ac_cpp='$CPP $CPPFLAGS'
30145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30154 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30156 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30157 for ac_func in _hypot
30158 do :
30159 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30160 if test "x$ac_cv_func__hypot" = x""yes; then :
30161 cat >>confdefs.h <<_ACEOF
30162 #define HAVE__HYPOT 1
30163 _ACEOF
30166 done
30175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30176 $as_echo_n "checking for float trig functions... " >&6; }
30177 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
30178 $as_echo_n "(cached) " >&6
30179 else
30182 ac_ext=cpp
30183 ac_cpp='$CXXCPP $CPPFLAGS'
30184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30189 /* end confdefs.h. */
30190 #include <math.h>
30192 main ()
30194 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30196 return 0;
30198 _ACEOF
30199 if ac_fn_cxx_try_compile "$LINENO"; then :
30200 glibcxx_cv_func_float_trig_use=yes
30201 else
30202 glibcxx_cv_func_float_trig_use=no
30204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30205 ac_ext=c
30206 ac_cpp='$CPP $CPPFLAGS'
30207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30214 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30215 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30216 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30217 do :
30218 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30219 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30220 eval as_val=\$$as_ac_var
30221 if test "x$as_val" = x""yes; then :
30222 cat >>confdefs.h <<_ACEOF
30223 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30224 _ACEOF
30227 done
30229 else
30230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30231 $as_echo_n "checking for _float trig functions... " >&6; }
30232 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
30233 $as_echo_n "(cached) " >&6
30234 else
30237 ac_ext=cpp
30238 ac_cpp='$CXXCPP $CPPFLAGS'
30239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30244 /* end confdefs.h. */
30245 #include <math.h>
30247 main ()
30249 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30251 return 0;
30253 _ACEOF
30254 if ac_fn_cxx_try_compile "$LINENO"; then :
30255 glibcxx_cv_func__float_trig_use=yes
30256 else
30257 glibcxx_cv_func__float_trig_use=no
30259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30260 ac_ext=c
30261 ac_cpp='$CPP $CPPFLAGS'
30262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30269 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30270 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30271 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30272 do :
30273 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30274 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30275 eval as_val=\$$as_ac_var
30276 if test "x$as_val" = x""yes; then :
30277 cat >>confdefs.h <<_ACEOF
30278 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30279 _ACEOF
30282 done
30291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30292 $as_echo_n "checking for float round functions... " >&6; }
30293 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
30294 $as_echo_n "(cached) " >&6
30295 else
30298 ac_ext=cpp
30299 ac_cpp='$CXXCPP $CPPFLAGS'
30300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30305 /* end confdefs.h. */
30306 #include <math.h>
30308 main ()
30310 ceilf (0); floorf (0);
30312 return 0;
30314 _ACEOF
30315 if ac_fn_cxx_try_compile "$LINENO"; then :
30316 glibcxx_cv_func_float_round_use=yes
30317 else
30318 glibcxx_cv_func_float_round_use=no
30320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30321 ac_ext=c
30322 ac_cpp='$CPP $CPPFLAGS'
30323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30330 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30331 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30332 for ac_func in ceilf floorf
30333 do :
30334 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30335 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30336 eval as_val=\$$as_ac_var
30337 if test "x$as_val" = x""yes; then :
30338 cat >>confdefs.h <<_ACEOF
30339 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30340 _ACEOF
30343 done
30345 else
30346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30347 $as_echo_n "checking for _float round functions... " >&6; }
30348 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
30349 $as_echo_n "(cached) " >&6
30350 else
30353 ac_ext=cpp
30354 ac_cpp='$CXXCPP $CPPFLAGS'
30355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30360 /* end confdefs.h. */
30361 #include <math.h>
30363 main ()
30365 _ceilf (0); _floorf (0);
30367 return 0;
30369 _ACEOF
30370 if ac_fn_cxx_try_compile "$LINENO"; then :
30371 glibcxx_cv_func__float_round_use=yes
30372 else
30373 glibcxx_cv_func__float_round_use=no
30375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30376 ac_ext=c
30377 ac_cpp='$CPP $CPPFLAGS'
30378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30385 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30386 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30387 for ac_func in _ceilf _floorf
30388 do :
30389 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30390 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30391 eval as_val=\$$as_ac_var
30392 if test "x$as_val" = x""yes; then :
30393 cat >>confdefs.h <<_ACEOF
30394 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30395 _ACEOF
30398 done
30408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30409 $as_echo_n "checking for expf declaration... " >&6; }
30410 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30411 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
30412 $as_echo_n "(cached) " >&6
30413 else
30416 ac_ext=cpp
30417 ac_cpp='$CXXCPP $CPPFLAGS'
30418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30423 /* end confdefs.h. */
30424 #include <math.h>
30425 #ifdef HAVE_IEEEFP_H
30426 #include <ieeefp.h>
30427 #endif
30430 main ()
30432 expf(0);
30434 return 0;
30436 _ACEOF
30437 if ac_fn_cxx_try_compile "$LINENO"; then :
30438 glibcxx_cv_func_expf_use=yes
30439 else
30440 glibcxx_cv_func_expf_use=no
30442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30443 ac_ext=c
30444 ac_cpp='$CPP $CPPFLAGS'
30445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30454 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30456 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30457 for ac_func in expf
30458 do :
30459 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30460 if test "x$ac_cv_func_expf" = x""yes; then :
30461 cat >>confdefs.h <<_ACEOF
30462 #define HAVE_EXPF 1
30463 _ACEOF
30466 done
30468 else
30470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30471 $as_echo_n "checking for _expf declaration... " >&6; }
30472 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30473 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
30474 $as_echo_n "(cached) " >&6
30475 else
30478 ac_ext=cpp
30479 ac_cpp='$CXXCPP $CPPFLAGS'
30480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30485 /* end confdefs.h. */
30486 #include <math.h>
30487 #ifdef HAVE_IEEEFP_H
30488 #include <ieeefp.h>
30489 #endif
30492 main ()
30494 _expf(0);
30496 return 0;
30498 _ACEOF
30499 if ac_fn_cxx_try_compile "$LINENO"; then :
30500 glibcxx_cv_func__expf_use=yes
30501 else
30502 glibcxx_cv_func__expf_use=no
30504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30505 ac_ext=c
30506 ac_cpp='$CPP $CPPFLAGS'
30507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30516 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30518 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30519 for ac_func in _expf
30520 do :
30521 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30522 if test "x$ac_cv_func__expf" = x""yes; then :
30523 cat >>confdefs.h <<_ACEOF
30524 #define HAVE__EXPF 1
30525 _ACEOF
30528 done
30537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30538 $as_echo_n "checking for isnanf declaration... " >&6; }
30539 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30540 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
30541 $as_echo_n "(cached) " >&6
30542 else
30545 ac_ext=cpp
30546 ac_cpp='$CXXCPP $CPPFLAGS'
30547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30552 /* end confdefs.h. */
30553 #include <math.h>
30554 #ifdef HAVE_IEEEFP_H
30555 #include <ieeefp.h>
30556 #endif
30559 main ()
30561 isnanf(0);
30563 return 0;
30565 _ACEOF
30566 if ac_fn_cxx_try_compile "$LINENO"; then :
30567 glibcxx_cv_func_isnanf_use=yes
30568 else
30569 glibcxx_cv_func_isnanf_use=no
30571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30572 ac_ext=c
30573 ac_cpp='$CPP $CPPFLAGS'
30574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30583 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30585 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30586 for ac_func in isnanf
30587 do :
30588 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30589 if test "x$ac_cv_func_isnanf" = x""yes; then :
30590 cat >>confdefs.h <<_ACEOF
30591 #define HAVE_ISNANF 1
30592 _ACEOF
30595 done
30597 else
30599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30600 $as_echo_n "checking for _isnanf declaration... " >&6; }
30601 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30602 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
30603 $as_echo_n "(cached) " >&6
30604 else
30607 ac_ext=cpp
30608 ac_cpp='$CXXCPP $CPPFLAGS'
30609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30614 /* end confdefs.h. */
30615 #include <math.h>
30616 #ifdef HAVE_IEEEFP_H
30617 #include <ieeefp.h>
30618 #endif
30621 main ()
30623 _isnanf(0);
30625 return 0;
30627 _ACEOF
30628 if ac_fn_cxx_try_compile "$LINENO"; then :
30629 glibcxx_cv_func__isnanf_use=yes
30630 else
30631 glibcxx_cv_func__isnanf_use=no
30633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30634 ac_ext=c
30635 ac_cpp='$CPP $CPPFLAGS'
30636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30645 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30647 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30648 for ac_func in _isnanf
30649 do :
30650 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30651 if test "x$ac_cv_func__isnanf" = x""yes; then :
30652 cat >>confdefs.h <<_ACEOF
30653 #define HAVE__ISNANF 1
30654 _ACEOF
30657 done
30666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30667 $as_echo_n "checking for isinff declaration... " >&6; }
30668 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30669 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
30670 $as_echo_n "(cached) " >&6
30671 else
30674 ac_ext=cpp
30675 ac_cpp='$CXXCPP $CPPFLAGS'
30676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30681 /* end confdefs.h. */
30682 #include <math.h>
30683 #ifdef HAVE_IEEEFP_H
30684 #include <ieeefp.h>
30685 #endif
30688 main ()
30690 isinff(0);
30692 return 0;
30694 _ACEOF
30695 if ac_fn_cxx_try_compile "$LINENO"; then :
30696 glibcxx_cv_func_isinff_use=yes
30697 else
30698 glibcxx_cv_func_isinff_use=no
30700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30701 ac_ext=c
30702 ac_cpp='$CPP $CPPFLAGS'
30703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
30712 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
30714 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
30715 for ac_func in isinff
30716 do :
30717 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
30718 if test "x$ac_cv_func_isinff" = x""yes; then :
30719 cat >>confdefs.h <<_ACEOF
30720 #define HAVE_ISINFF 1
30721 _ACEOF
30724 done
30726 else
30728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
30729 $as_echo_n "checking for _isinff declaration... " >&6; }
30730 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
30731 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
30732 $as_echo_n "(cached) " >&6
30733 else
30736 ac_ext=cpp
30737 ac_cpp='$CXXCPP $CPPFLAGS'
30738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30743 /* end confdefs.h. */
30744 #include <math.h>
30745 #ifdef HAVE_IEEEFP_H
30746 #include <ieeefp.h>
30747 #endif
30750 main ()
30752 _isinff(0);
30754 return 0;
30756 _ACEOF
30757 if ac_fn_cxx_try_compile "$LINENO"; then :
30758 glibcxx_cv_func__isinff_use=yes
30759 else
30760 glibcxx_cv_func__isinff_use=no
30762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30763 ac_ext=c
30764 ac_cpp='$CPP $CPPFLAGS'
30765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
30774 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
30776 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
30777 for ac_func in _isinff
30778 do :
30779 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
30780 if test "x$ac_cv_func__isinff" = x""yes; then :
30781 cat >>confdefs.h <<_ACEOF
30782 #define HAVE__ISINFF 1
30783 _ACEOF
30786 done
30795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
30796 $as_echo_n "checking for atan2f declaration... " >&6; }
30797 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
30798 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
30799 $as_echo_n "(cached) " >&6
30800 else
30803 ac_ext=cpp
30804 ac_cpp='$CXXCPP $CPPFLAGS'
30805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30810 /* end confdefs.h. */
30811 #include <math.h>
30813 main ()
30815 atan2f(0, 0);
30817 return 0;
30819 _ACEOF
30820 if ac_fn_cxx_try_compile "$LINENO"; then :
30821 glibcxx_cv_func_atan2f_use=yes
30822 else
30823 glibcxx_cv_func_atan2f_use=no
30825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30826 ac_ext=c
30827 ac_cpp='$CPP $CPPFLAGS'
30828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
30837 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
30839 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
30840 for ac_func in atan2f
30841 do :
30842 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
30843 if test "x$ac_cv_func_atan2f" = x""yes; then :
30844 cat >>confdefs.h <<_ACEOF
30845 #define HAVE_ATAN2F 1
30846 _ACEOF
30849 done
30851 else
30853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
30854 $as_echo_n "checking for _atan2f declaration... " >&6; }
30855 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
30856 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
30857 $as_echo_n "(cached) " >&6
30858 else
30861 ac_ext=cpp
30862 ac_cpp='$CXXCPP $CPPFLAGS'
30863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30868 /* end confdefs.h. */
30869 #include <math.h>
30871 main ()
30873 _atan2f(0, 0);
30875 return 0;
30877 _ACEOF
30878 if ac_fn_cxx_try_compile "$LINENO"; then :
30879 glibcxx_cv_func__atan2f_use=yes
30880 else
30881 glibcxx_cv_func__atan2f_use=no
30883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30884 ac_ext=c
30885 ac_cpp='$CPP $CPPFLAGS'
30886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
30895 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
30897 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
30898 for ac_func in _atan2f
30899 do :
30900 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
30901 if test "x$ac_cv_func__atan2f" = x""yes; then :
30902 cat >>confdefs.h <<_ACEOF
30903 #define HAVE__ATAN2F 1
30904 _ACEOF
30907 done
30916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
30917 $as_echo_n "checking for fabsf declaration... " >&6; }
30918 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
30919 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
30920 $as_echo_n "(cached) " >&6
30921 else
30924 ac_ext=cpp
30925 ac_cpp='$CXXCPP $CPPFLAGS'
30926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30931 /* end confdefs.h. */
30932 #include <math.h>
30933 #ifdef HAVE_IEEEFP_H
30934 #include <ieeefp.h>
30935 #endif
30938 main ()
30940 fabsf(0);
30942 return 0;
30944 _ACEOF
30945 if ac_fn_cxx_try_compile "$LINENO"; then :
30946 glibcxx_cv_func_fabsf_use=yes
30947 else
30948 glibcxx_cv_func_fabsf_use=no
30950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30951 ac_ext=c
30952 ac_cpp='$CPP $CPPFLAGS'
30953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
30962 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
30964 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
30965 for ac_func in fabsf
30966 do :
30967 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
30968 if test "x$ac_cv_func_fabsf" = x""yes; then :
30969 cat >>confdefs.h <<_ACEOF
30970 #define HAVE_FABSF 1
30971 _ACEOF
30974 done
30976 else
30978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
30979 $as_echo_n "checking for _fabsf declaration... " >&6; }
30980 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
30981 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
30982 $as_echo_n "(cached) " >&6
30983 else
30986 ac_ext=cpp
30987 ac_cpp='$CXXCPP $CPPFLAGS'
30988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30993 /* end confdefs.h. */
30994 #include <math.h>
30995 #ifdef HAVE_IEEEFP_H
30996 #include <ieeefp.h>
30997 #endif
31000 main ()
31002 _fabsf(0);
31004 return 0;
31006 _ACEOF
31007 if ac_fn_cxx_try_compile "$LINENO"; then :
31008 glibcxx_cv_func__fabsf_use=yes
31009 else
31010 glibcxx_cv_func__fabsf_use=no
31012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31013 ac_ext=c
31014 ac_cpp='$CPP $CPPFLAGS'
31015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31024 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31026 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31027 for ac_func in _fabsf
31028 do :
31029 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31030 if test "x$ac_cv_func__fabsf" = x""yes; then :
31031 cat >>confdefs.h <<_ACEOF
31032 #define HAVE__FABSF 1
31033 _ACEOF
31036 done
31045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31046 $as_echo_n "checking for fmodf declaration... " >&6; }
31047 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31048 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
31049 $as_echo_n "(cached) " >&6
31050 else
31053 ac_ext=cpp
31054 ac_cpp='$CXXCPP $CPPFLAGS'
31055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31060 /* end confdefs.h. */
31061 #include <math.h>
31063 main ()
31065 fmodf(0, 0);
31067 return 0;
31069 _ACEOF
31070 if ac_fn_cxx_try_compile "$LINENO"; then :
31071 glibcxx_cv_func_fmodf_use=yes
31072 else
31073 glibcxx_cv_func_fmodf_use=no
31075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31076 ac_ext=c
31077 ac_cpp='$CPP $CPPFLAGS'
31078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31087 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31089 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31090 for ac_func in fmodf
31091 do :
31092 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31093 if test "x$ac_cv_func_fmodf" = x""yes; then :
31094 cat >>confdefs.h <<_ACEOF
31095 #define HAVE_FMODF 1
31096 _ACEOF
31099 done
31101 else
31103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31104 $as_echo_n "checking for _fmodf declaration... " >&6; }
31105 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31106 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
31107 $as_echo_n "(cached) " >&6
31108 else
31111 ac_ext=cpp
31112 ac_cpp='$CXXCPP $CPPFLAGS'
31113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31118 /* end confdefs.h. */
31119 #include <math.h>
31121 main ()
31123 _fmodf(0, 0);
31125 return 0;
31127 _ACEOF
31128 if ac_fn_cxx_try_compile "$LINENO"; then :
31129 glibcxx_cv_func__fmodf_use=yes
31130 else
31131 glibcxx_cv_func__fmodf_use=no
31133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31134 ac_ext=c
31135 ac_cpp='$CPP $CPPFLAGS'
31136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31145 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31147 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31148 for ac_func in _fmodf
31149 do :
31150 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31151 if test "x$ac_cv_func__fmodf" = x""yes; then :
31152 cat >>confdefs.h <<_ACEOF
31153 #define HAVE__FMODF 1
31154 _ACEOF
31157 done
31166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31167 $as_echo_n "checking for frexpf declaration... " >&6; }
31168 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31169 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
31170 $as_echo_n "(cached) " >&6
31171 else
31174 ac_ext=cpp
31175 ac_cpp='$CXXCPP $CPPFLAGS'
31176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31181 /* end confdefs.h. */
31182 #include <math.h>
31184 main ()
31186 frexpf(0, 0);
31188 return 0;
31190 _ACEOF
31191 if ac_fn_cxx_try_compile "$LINENO"; then :
31192 glibcxx_cv_func_frexpf_use=yes
31193 else
31194 glibcxx_cv_func_frexpf_use=no
31196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31197 ac_ext=c
31198 ac_cpp='$CPP $CPPFLAGS'
31199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31208 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31210 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31211 for ac_func in frexpf
31212 do :
31213 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31214 if test "x$ac_cv_func_frexpf" = x""yes; then :
31215 cat >>confdefs.h <<_ACEOF
31216 #define HAVE_FREXPF 1
31217 _ACEOF
31220 done
31222 else
31224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31225 $as_echo_n "checking for _frexpf declaration... " >&6; }
31226 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31227 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
31228 $as_echo_n "(cached) " >&6
31229 else
31232 ac_ext=cpp
31233 ac_cpp='$CXXCPP $CPPFLAGS'
31234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31239 /* end confdefs.h. */
31240 #include <math.h>
31242 main ()
31244 _frexpf(0, 0);
31246 return 0;
31248 _ACEOF
31249 if ac_fn_cxx_try_compile "$LINENO"; then :
31250 glibcxx_cv_func__frexpf_use=yes
31251 else
31252 glibcxx_cv_func__frexpf_use=no
31254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31255 ac_ext=c
31256 ac_cpp='$CPP $CPPFLAGS'
31257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31266 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31268 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31269 for ac_func in _frexpf
31270 do :
31271 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31272 if test "x$ac_cv_func__frexpf" = x""yes; then :
31273 cat >>confdefs.h <<_ACEOF
31274 #define HAVE__FREXPF 1
31275 _ACEOF
31278 done
31287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31288 $as_echo_n "checking for hypotf declaration... " >&6; }
31289 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31290 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
31291 $as_echo_n "(cached) " >&6
31292 else
31295 ac_ext=cpp
31296 ac_cpp='$CXXCPP $CPPFLAGS'
31297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31302 /* end confdefs.h. */
31303 #include <math.h>
31305 main ()
31307 hypotf(0, 0);
31309 return 0;
31311 _ACEOF
31312 if ac_fn_cxx_try_compile "$LINENO"; then :
31313 glibcxx_cv_func_hypotf_use=yes
31314 else
31315 glibcxx_cv_func_hypotf_use=no
31317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31318 ac_ext=c
31319 ac_cpp='$CPP $CPPFLAGS'
31320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31329 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31331 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31332 for ac_func in hypotf
31333 do :
31334 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31335 if test "x$ac_cv_func_hypotf" = x""yes; then :
31336 cat >>confdefs.h <<_ACEOF
31337 #define HAVE_HYPOTF 1
31338 _ACEOF
31341 done
31343 else
31345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31346 $as_echo_n "checking for _hypotf declaration... " >&6; }
31347 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31348 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
31349 $as_echo_n "(cached) " >&6
31350 else
31353 ac_ext=cpp
31354 ac_cpp='$CXXCPP $CPPFLAGS'
31355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31360 /* end confdefs.h. */
31361 #include <math.h>
31363 main ()
31365 _hypotf(0, 0);
31367 return 0;
31369 _ACEOF
31370 if ac_fn_cxx_try_compile "$LINENO"; then :
31371 glibcxx_cv_func__hypotf_use=yes
31372 else
31373 glibcxx_cv_func__hypotf_use=no
31375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31376 ac_ext=c
31377 ac_cpp='$CPP $CPPFLAGS'
31378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31387 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31389 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31390 for ac_func in _hypotf
31391 do :
31392 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31393 if test "x$ac_cv_func__hypotf" = x""yes; then :
31394 cat >>confdefs.h <<_ACEOF
31395 #define HAVE__HYPOTF 1
31396 _ACEOF
31399 done
31408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31409 $as_echo_n "checking for ldexpf declaration... " >&6; }
31410 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31411 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
31412 $as_echo_n "(cached) " >&6
31413 else
31416 ac_ext=cpp
31417 ac_cpp='$CXXCPP $CPPFLAGS'
31418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31423 /* end confdefs.h. */
31424 #include <math.h>
31426 main ()
31428 ldexpf(0, 0);
31430 return 0;
31432 _ACEOF
31433 if ac_fn_cxx_try_compile "$LINENO"; then :
31434 glibcxx_cv_func_ldexpf_use=yes
31435 else
31436 glibcxx_cv_func_ldexpf_use=no
31438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31439 ac_ext=c
31440 ac_cpp='$CPP $CPPFLAGS'
31441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31450 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31452 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31453 for ac_func in ldexpf
31454 do :
31455 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31456 if test "x$ac_cv_func_ldexpf" = x""yes; then :
31457 cat >>confdefs.h <<_ACEOF
31458 #define HAVE_LDEXPF 1
31459 _ACEOF
31462 done
31464 else
31466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31467 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31468 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31469 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
31470 $as_echo_n "(cached) " >&6
31471 else
31474 ac_ext=cpp
31475 ac_cpp='$CXXCPP $CPPFLAGS'
31476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31481 /* end confdefs.h. */
31482 #include <math.h>
31484 main ()
31486 _ldexpf(0, 0);
31488 return 0;
31490 _ACEOF
31491 if ac_fn_cxx_try_compile "$LINENO"; then :
31492 glibcxx_cv_func__ldexpf_use=yes
31493 else
31494 glibcxx_cv_func__ldexpf_use=no
31496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31497 ac_ext=c
31498 ac_cpp='$CPP $CPPFLAGS'
31499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31508 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31510 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31511 for ac_func in _ldexpf
31512 do :
31513 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31514 if test "x$ac_cv_func__ldexpf" = x""yes; then :
31515 cat >>confdefs.h <<_ACEOF
31516 #define HAVE__LDEXPF 1
31517 _ACEOF
31520 done
31529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31530 $as_echo_n "checking for logf declaration... " >&6; }
31531 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31532 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
31533 $as_echo_n "(cached) " >&6
31534 else
31537 ac_ext=cpp
31538 ac_cpp='$CXXCPP $CPPFLAGS'
31539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31544 /* end confdefs.h. */
31545 #include <math.h>
31546 #ifdef HAVE_IEEEFP_H
31547 #include <ieeefp.h>
31548 #endif
31551 main ()
31553 logf(0);
31555 return 0;
31557 _ACEOF
31558 if ac_fn_cxx_try_compile "$LINENO"; then :
31559 glibcxx_cv_func_logf_use=yes
31560 else
31561 glibcxx_cv_func_logf_use=no
31563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31564 ac_ext=c
31565 ac_cpp='$CPP $CPPFLAGS'
31566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31575 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31577 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31578 for ac_func in logf
31579 do :
31580 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31581 if test "x$ac_cv_func_logf" = x""yes; then :
31582 cat >>confdefs.h <<_ACEOF
31583 #define HAVE_LOGF 1
31584 _ACEOF
31587 done
31589 else
31591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31592 $as_echo_n "checking for _logf declaration... " >&6; }
31593 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31594 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
31595 $as_echo_n "(cached) " >&6
31596 else
31599 ac_ext=cpp
31600 ac_cpp='$CXXCPP $CPPFLAGS'
31601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31606 /* end confdefs.h. */
31607 #include <math.h>
31608 #ifdef HAVE_IEEEFP_H
31609 #include <ieeefp.h>
31610 #endif
31613 main ()
31615 _logf(0);
31617 return 0;
31619 _ACEOF
31620 if ac_fn_cxx_try_compile "$LINENO"; then :
31621 glibcxx_cv_func__logf_use=yes
31622 else
31623 glibcxx_cv_func__logf_use=no
31625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31626 ac_ext=c
31627 ac_cpp='$CPP $CPPFLAGS'
31628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31637 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31639 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31640 for ac_func in _logf
31641 do :
31642 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31643 if test "x$ac_cv_func__logf" = x""yes; then :
31644 cat >>confdefs.h <<_ACEOF
31645 #define HAVE__LOGF 1
31646 _ACEOF
31649 done
31658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31659 $as_echo_n "checking for log10f declaration... " >&6; }
31660 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31661 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
31662 $as_echo_n "(cached) " >&6
31663 else
31666 ac_ext=cpp
31667 ac_cpp='$CXXCPP $CPPFLAGS'
31668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31673 /* end confdefs.h. */
31674 #include <math.h>
31675 #ifdef HAVE_IEEEFP_H
31676 #include <ieeefp.h>
31677 #endif
31680 main ()
31682 log10f(0);
31684 return 0;
31686 _ACEOF
31687 if ac_fn_cxx_try_compile "$LINENO"; then :
31688 glibcxx_cv_func_log10f_use=yes
31689 else
31690 glibcxx_cv_func_log10f_use=no
31692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31693 ac_ext=c
31694 ac_cpp='$CPP $CPPFLAGS'
31695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
31704 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
31706 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31707 for ac_func in log10f
31708 do :
31709 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
31710 if test "x$ac_cv_func_log10f" = x""yes; then :
31711 cat >>confdefs.h <<_ACEOF
31712 #define HAVE_LOG10F 1
31713 _ACEOF
31716 done
31718 else
31720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
31721 $as_echo_n "checking for _log10f declaration... " >&6; }
31722 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31723 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
31724 $as_echo_n "(cached) " >&6
31725 else
31728 ac_ext=cpp
31729 ac_cpp='$CXXCPP $CPPFLAGS'
31730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31735 /* end confdefs.h. */
31736 #include <math.h>
31737 #ifdef HAVE_IEEEFP_H
31738 #include <ieeefp.h>
31739 #endif
31742 main ()
31744 _log10f(0);
31746 return 0;
31748 _ACEOF
31749 if ac_fn_cxx_try_compile "$LINENO"; then :
31750 glibcxx_cv_func__log10f_use=yes
31751 else
31752 glibcxx_cv_func__log10f_use=no
31754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31755 ac_ext=c
31756 ac_cpp='$CPP $CPPFLAGS'
31757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
31766 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
31768 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
31769 for ac_func in _log10f
31770 do :
31771 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
31772 if test "x$ac_cv_func__log10f" = x""yes; then :
31773 cat >>confdefs.h <<_ACEOF
31774 #define HAVE__LOG10F 1
31775 _ACEOF
31778 done
31787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
31788 $as_echo_n "checking for modff declaration... " >&6; }
31789 if test x${glibcxx_cv_func_modff_use+set} != xset; then
31790 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
31791 $as_echo_n "(cached) " >&6
31792 else
31795 ac_ext=cpp
31796 ac_cpp='$CXXCPP $CPPFLAGS'
31797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31802 /* end confdefs.h. */
31803 #include <math.h>
31805 main ()
31807 modff(0, 0);
31809 return 0;
31811 _ACEOF
31812 if ac_fn_cxx_try_compile "$LINENO"; then :
31813 glibcxx_cv_func_modff_use=yes
31814 else
31815 glibcxx_cv_func_modff_use=no
31817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31818 ac_ext=c
31819 ac_cpp='$CPP $CPPFLAGS'
31820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
31829 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
31831 if test x$glibcxx_cv_func_modff_use = x"yes"; then
31832 for ac_func in modff
31833 do :
31834 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
31835 if test "x$ac_cv_func_modff" = x""yes; then :
31836 cat >>confdefs.h <<_ACEOF
31837 #define HAVE_MODFF 1
31838 _ACEOF
31841 done
31843 else
31845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
31846 $as_echo_n "checking for _modff declaration... " >&6; }
31847 if test x${glibcxx_cv_func__modff_use+set} != xset; then
31848 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
31849 $as_echo_n "(cached) " >&6
31850 else
31853 ac_ext=cpp
31854 ac_cpp='$CXXCPP $CPPFLAGS'
31855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31860 /* end confdefs.h. */
31861 #include <math.h>
31863 main ()
31865 _modff(0, 0);
31867 return 0;
31869 _ACEOF
31870 if ac_fn_cxx_try_compile "$LINENO"; then :
31871 glibcxx_cv_func__modff_use=yes
31872 else
31873 glibcxx_cv_func__modff_use=no
31875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31876 ac_ext=c
31877 ac_cpp='$CPP $CPPFLAGS'
31878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
31887 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
31889 if test x$glibcxx_cv_func__modff_use = x"yes"; then
31890 for ac_func in _modff
31891 do :
31892 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
31893 if test "x$ac_cv_func__modff" = x""yes; then :
31894 cat >>confdefs.h <<_ACEOF
31895 #define HAVE__MODFF 1
31896 _ACEOF
31899 done
31908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
31909 $as_echo_n "checking for modf declaration... " >&6; }
31910 if test x${glibcxx_cv_func_modf_use+set} != xset; then
31911 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
31912 $as_echo_n "(cached) " >&6
31913 else
31916 ac_ext=cpp
31917 ac_cpp='$CXXCPP $CPPFLAGS'
31918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31923 /* end confdefs.h. */
31924 #include <math.h>
31926 main ()
31928 modf(0, 0);
31930 return 0;
31932 _ACEOF
31933 if ac_fn_cxx_try_compile "$LINENO"; then :
31934 glibcxx_cv_func_modf_use=yes
31935 else
31936 glibcxx_cv_func_modf_use=no
31938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31939 ac_ext=c
31940 ac_cpp='$CPP $CPPFLAGS'
31941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
31950 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
31952 if test x$glibcxx_cv_func_modf_use = x"yes"; then
31953 for ac_func in modf
31954 do :
31955 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
31956 if test "x$ac_cv_func_modf" = x""yes; then :
31957 cat >>confdefs.h <<_ACEOF
31958 #define HAVE_MODF 1
31959 _ACEOF
31962 done
31964 else
31966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
31967 $as_echo_n "checking for _modf declaration... " >&6; }
31968 if test x${glibcxx_cv_func__modf_use+set} != xset; then
31969 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
31970 $as_echo_n "(cached) " >&6
31971 else
31974 ac_ext=cpp
31975 ac_cpp='$CXXCPP $CPPFLAGS'
31976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31981 /* end confdefs.h. */
31982 #include <math.h>
31984 main ()
31986 _modf(0, 0);
31988 return 0;
31990 _ACEOF
31991 if ac_fn_cxx_try_compile "$LINENO"; then :
31992 glibcxx_cv_func__modf_use=yes
31993 else
31994 glibcxx_cv_func__modf_use=no
31996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31997 ac_ext=c
31998 ac_cpp='$CPP $CPPFLAGS'
31999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32008 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
32010 if test x$glibcxx_cv_func__modf_use = x"yes"; then
32011 for ac_func in _modf
32012 do :
32013 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32014 if test "x$ac_cv_func__modf" = x""yes; then :
32015 cat >>confdefs.h <<_ACEOF
32016 #define HAVE__MODF 1
32017 _ACEOF
32020 done
32029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32030 $as_echo_n "checking for powf declaration... " >&6; }
32031 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32032 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
32033 $as_echo_n "(cached) " >&6
32034 else
32037 ac_ext=cpp
32038 ac_cpp='$CXXCPP $CPPFLAGS'
32039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32044 /* end confdefs.h. */
32045 #include <math.h>
32047 main ()
32049 powf(0, 0);
32051 return 0;
32053 _ACEOF
32054 if ac_fn_cxx_try_compile "$LINENO"; then :
32055 glibcxx_cv_func_powf_use=yes
32056 else
32057 glibcxx_cv_func_powf_use=no
32059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32060 ac_ext=c
32061 ac_cpp='$CPP $CPPFLAGS'
32062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32071 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32073 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32074 for ac_func in powf
32075 do :
32076 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32077 if test "x$ac_cv_func_powf" = x""yes; then :
32078 cat >>confdefs.h <<_ACEOF
32079 #define HAVE_POWF 1
32080 _ACEOF
32083 done
32085 else
32087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32088 $as_echo_n "checking for _powf declaration... " >&6; }
32089 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32090 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
32091 $as_echo_n "(cached) " >&6
32092 else
32095 ac_ext=cpp
32096 ac_cpp='$CXXCPP $CPPFLAGS'
32097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32102 /* end confdefs.h. */
32103 #include <math.h>
32105 main ()
32107 _powf(0, 0);
32109 return 0;
32111 _ACEOF
32112 if ac_fn_cxx_try_compile "$LINENO"; then :
32113 glibcxx_cv_func__powf_use=yes
32114 else
32115 glibcxx_cv_func__powf_use=no
32117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32118 ac_ext=c
32119 ac_cpp='$CPP $CPPFLAGS'
32120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32129 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
32131 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32132 for ac_func in _powf
32133 do :
32134 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32135 if test "x$ac_cv_func__powf" = x""yes; then :
32136 cat >>confdefs.h <<_ACEOF
32137 #define HAVE__POWF 1
32138 _ACEOF
32141 done
32150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32151 $as_echo_n "checking for sqrtf declaration... " >&6; }
32152 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32153 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
32154 $as_echo_n "(cached) " >&6
32155 else
32158 ac_ext=cpp
32159 ac_cpp='$CXXCPP $CPPFLAGS'
32160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32165 /* end confdefs.h. */
32166 #include <math.h>
32167 #ifdef HAVE_IEEEFP_H
32168 #include <ieeefp.h>
32169 #endif
32172 main ()
32174 sqrtf(0);
32176 return 0;
32178 _ACEOF
32179 if ac_fn_cxx_try_compile "$LINENO"; then :
32180 glibcxx_cv_func_sqrtf_use=yes
32181 else
32182 glibcxx_cv_func_sqrtf_use=no
32184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32185 ac_ext=c
32186 ac_cpp='$CPP $CPPFLAGS'
32187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32196 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32198 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32199 for ac_func in sqrtf
32200 do :
32201 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32202 if test "x$ac_cv_func_sqrtf" = x""yes; then :
32203 cat >>confdefs.h <<_ACEOF
32204 #define HAVE_SQRTF 1
32205 _ACEOF
32208 done
32210 else
32212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32213 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32214 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32215 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
32216 $as_echo_n "(cached) " >&6
32217 else
32220 ac_ext=cpp
32221 ac_cpp='$CXXCPP $CPPFLAGS'
32222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32227 /* end confdefs.h. */
32228 #include <math.h>
32229 #ifdef HAVE_IEEEFP_H
32230 #include <ieeefp.h>
32231 #endif
32234 main ()
32236 _sqrtf(0);
32238 return 0;
32240 _ACEOF
32241 if ac_fn_cxx_try_compile "$LINENO"; then :
32242 glibcxx_cv_func__sqrtf_use=yes
32243 else
32244 glibcxx_cv_func__sqrtf_use=no
32246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32247 ac_ext=c
32248 ac_cpp='$CPP $CPPFLAGS'
32249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32258 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32260 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32261 for ac_func in _sqrtf
32262 do :
32263 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32264 if test "x$ac_cv_func__sqrtf" = x""yes; then :
32265 cat >>confdefs.h <<_ACEOF
32266 #define HAVE__SQRTF 1
32267 _ACEOF
32270 done
32279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32280 $as_echo_n "checking for sincosf declaration... " >&6; }
32281 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32282 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
32283 $as_echo_n "(cached) " >&6
32284 else
32287 ac_ext=cpp
32288 ac_cpp='$CXXCPP $CPPFLAGS'
32289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32294 /* end confdefs.h. */
32295 #include <math.h>
32297 main ()
32299 sincosf(0, 0, 0);
32301 return 0;
32303 _ACEOF
32304 if ac_fn_cxx_try_compile "$LINENO"; then :
32305 glibcxx_cv_func_sincosf_use=yes
32306 else
32307 glibcxx_cv_func_sincosf_use=no
32309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32310 ac_ext=c
32311 ac_cpp='$CPP $CPPFLAGS'
32312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32321 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32323 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32324 for ac_func in sincosf
32325 do :
32326 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32327 if test "x$ac_cv_func_sincosf" = x""yes; then :
32328 cat >>confdefs.h <<_ACEOF
32329 #define HAVE_SINCOSF 1
32330 _ACEOF
32333 done
32335 else
32337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32338 $as_echo_n "checking for _sincosf declaration... " >&6; }
32339 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32340 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
32341 $as_echo_n "(cached) " >&6
32342 else
32345 ac_ext=cpp
32346 ac_cpp='$CXXCPP $CPPFLAGS'
32347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32352 /* end confdefs.h. */
32353 #include <math.h>
32355 main ()
32357 _sincosf(0, 0, 0);
32359 return 0;
32361 _ACEOF
32362 if ac_fn_cxx_try_compile "$LINENO"; then :
32363 glibcxx_cv_func__sincosf_use=yes
32364 else
32365 glibcxx_cv_func__sincosf_use=no
32367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32368 ac_ext=c
32369 ac_cpp='$CPP $CPPFLAGS'
32370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32379 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32381 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32382 for ac_func in _sincosf
32383 do :
32384 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32385 if test "x$ac_cv_func__sincosf" = x""yes; then :
32386 cat >>confdefs.h <<_ACEOF
32387 #define HAVE__SINCOSF 1
32388 _ACEOF
32391 done
32400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32401 $as_echo_n "checking for finitef declaration... " >&6; }
32402 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32403 if test "${glibcxx_cv_func_finitef_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>
32417 #ifdef HAVE_IEEEFP_H
32418 #include <ieeefp.h>
32419 #endif
32422 main ()
32424 finitef(0);
32426 return 0;
32428 _ACEOF
32429 if ac_fn_cxx_try_compile "$LINENO"; then :
32430 glibcxx_cv_func_finitef_use=yes
32431 else
32432 glibcxx_cv_func_finitef_use=no
32434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32435 ac_ext=c
32436 ac_cpp='$CPP $CPPFLAGS'
32437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32446 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32448 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32449 for ac_func in finitef
32450 do :
32451 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32452 if test "x$ac_cv_func_finitef" = x""yes; then :
32453 cat >>confdefs.h <<_ACEOF
32454 #define HAVE_FINITEF 1
32455 _ACEOF
32458 done
32460 else
32462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32463 $as_echo_n "checking for _finitef declaration... " >&6; }
32464 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32465 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
32466 $as_echo_n "(cached) " >&6
32467 else
32470 ac_ext=cpp
32471 ac_cpp='$CXXCPP $CPPFLAGS'
32472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32477 /* end confdefs.h. */
32478 #include <math.h>
32479 #ifdef HAVE_IEEEFP_H
32480 #include <ieeefp.h>
32481 #endif
32484 main ()
32486 _finitef(0);
32488 return 0;
32490 _ACEOF
32491 if ac_fn_cxx_try_compile "$LINENO"; then :
32492 glibcxx_cv_func__finitef_use=yes
32493 else
32494 glibcxx_cv_func__finitef_use=no
32496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32497 ac_ext=c
32498 ac_cpp='$CPP $CPPFLAGS'
32499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32508 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32510 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32511 for ac_func in _finitef
32512 do :
32513 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32514 if test "x$ac_cv_func__finitef" = x""yes; then :
32515 cat >>confdefs.h <<_ACEOF
32516 #define HAVE__FINITEF 1
32517 _ACEOF
32520 done
32529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32530 $as_echo_n "checking for long double trig functions... " >&6; }
32531 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
32532 $as_echo_n "(cached) " >&6
32533 else
32536 ac_ext=cpp
32537 ac_cpp='$CXXCPP $CPPFLAGS'
32538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32543 /* end confdefs.h. */
32544 #include <math.h>
32546 main ()
32548 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32550 return 0;
32552 _ACEOF
32553 if ac_fn_cxx_try_compile "$LINENO"; then :
32554 glibcxx_cv_func_long_double_trig_use=yes
32555 else
32556 glibcxx_cv_func_long_double_trig_use=no
32558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32559 ac_ext=c
32560 ac_cpp='$CPP $CPPFLAGS'
32561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32568 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32569 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32570 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32571 do :
32572 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32573 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32574 eval as_val=\$$as_ac_var
32575 if test "x$as_val" = x""yes; then :
32576 cat >>confdefs.h <<_ACEOF
32577 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32578 _ACEOF
32581 done
32583 else
32584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32585 $as_echo_n "checking for _long double trig functions... " >&6; }
32586 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
32587 $as_echo_n "(cached) " >&6
32588 else
32591 ac_ext=cpp
32592 ac_cpp='$CXXCPP $CPPFLAGS'
32593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32598 /* end confdefs.h. */
32599 #include <math.h>
32601 main ()
32603 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32605 return 0;
32607 _ACEOF
32608 if ac_fn_cxx_try_compile "$LINENO"; then :
32609 glibcxx_cv_func__long_double_trig_use=yes
32610 else
32611 glibcxx_cv_func__long_double_trig_use=no
32613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32614 ac_ext=c
32615 ac_cpp='$CPP $CPPFLAGS'
32616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32623 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32624 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32625 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32626 do :
32627 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32628 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32629 eval as_val=\$$as_ac_var
32630 if test "x$as_val" = x""yes; then :
32631 cat >>confdefs.h <<_ACEOF
32632 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32633 _ACEOF
32636 done
32645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32646 $as_echo_n "checking for long double round functions... " >&6; }
32647 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
32648 $as_echo_n "(cached) " >&6
32649 else
32652 ac_ext=cpp
32653 ac_cpp='$CXXCPP $CPPFLAGS'
32654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32659 /* end confdefs.h. */
32660 #include <math.h>
32662 main ()
32664 ceill (0); floorl (0);
32666 return 0;
32668 _ACEOF
32669 if ac_fn_cxx_try_compile "$LINENO"; then :
32670 glibcxx_cv_func_long_double_round_use=yes
32671 else
32672 glibcxx_cv_func_long_double_round_use=no
32674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32675 ac_ext=c
32676 ac_cpp='$CPP $CPPFLAGS'
32677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32684 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32685 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32686 for ac_func in ceill floorl
32687 do :
32688 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32689 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32690 eval as_val=\$$as_ac_var
32691 if test "x$as_val" = x""yes; then :
32692 cat >>confdefs.h <<_ACEOF
32693 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32694 _ACEOF
32697 done
32699 else
32700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
32701 $as_echo_n "checking for _long double round functions... " >&6; }
32702 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
32703 $as_echo_n "(cached) " >&6
32704 else
32707 ac_ext=cpp
32708 ac_cpp='$CXXCPP $CPPFLAGS'
32709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32714 /* end confdefs.h. */
32715 #include <math.h>
32717 main ()
32719 _ceill (0); _floorl (0);
32721 return 0;
32723 _ACEOF
32724 if ac_fn_cxx_try_compile "$LINENO"; then :
32725 glibcxx_cv_func__long_double_round_use=yes
32726 else
32727 glibcxx_cv_func__long_double_round_use=no
32729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32730 ac_ext=c
32731 ac_cpp='$CPP $CPPFLAGS'
32732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
32739 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
32740 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
32741 for ac_func in _ceill _floorl
32742 do :
32743 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32744 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32745 eval as_val=\$$as_ac_var
32746 if test "x$as_val" = x""yes; then :
32747 cat >>confdefs.h <<_ACEOF
32748 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32749 _ACEOF
32752 done
32762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
32763 $as_echo_n "checking for isnanl declaration... " >&6; }
32764 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
32765 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
32766 $as_echo_n "(cached) " >&6
32767 else
32770 ac_ext=cpp
32771 ac_cpp='$CXXCPP $CPPFLAGS'
32772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32777 /* end confdefs.h. */
32778 #include <math.h>
32779 #ifdef HAVE_IEEEFP_H
32780 #include <ieeefp.h>
32781 #endif
32784 main ()
32786 isnanl(0);
32788 return 0;
32790 _ACEOF
32791 if ac_fn_cxx_try_compile "$LINENO"; then :
32792 glibcxx_cv_func_isnanl_use=yes
32793 else
32794 glibcxx_cv_func_isnanl_use=no
32796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32797 ac_ext=c
32798 ac_cpp='$CPP $CPPFLAGS'
32799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
32808 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
32810 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
32811 for ac_func in isnanl
32812 do :
32813 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
32814 if test "x$ac_cv_func_isnanl" = x""yes; then :
32815 cat >>confdefs.h <<_ACEOF
32816 #define HAVE_ISNANL 1
32817 _ACEOF
32820 done
32822 else
32824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
32825 $as_echo_n "checking for _isnanl declaration... " >&6; }
32826 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
32827 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
32828 $as_echo_n "(cached) " >&6
32829 else
32832 ac_ext=cpp
32833 ac_cpp='$CXXCPP $CPPFLAGS'
32834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32839 /* end confdefs.h. */
32840 #include <math.h>
32841 #ifdef HAVE_IEEEFP_H
32842 #include <ieeefp.h>
32843 #endif
32846 main ()
32848 _isnanl(0);
32850 return 0;
32852 _ACEOF
32853 if ac_fn_cxx_try_compile "$LINENO"; then :
32854 glibcxx_cv_func__isnanl_use=yes
32855 else
32856 glibcxx_cv_func__isnanl_use=no
32858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32859 ac_ext=c
32860 ac_cpp='$CPP $CPPFLAGS'
32861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
32870 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
32872 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
32873 for ac_func in _isnanl
32874 do :
32875 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
32876 if test "x$ac_cv_func__isnanl" = x""yes; then :
32877 cat >>confdefs.h <<_ACEOF
32878 #define HAVE__ISNANL 1
32879 _ACEOF
32882 done
32891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
32892 $as_echo_n "checking for isinfl declaration... " >&6; }
32893 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
32894 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
32895 $as_echo_n "(cached) " >&6
32896 else
32899 ac_ext=cpp
32900 ac_cpp='$CXXCPP $CPPFLAGS'
32901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32906 /* end confdefs.h. */
32907 #include <math.h>
32908 #ifdef HAVE_IEEEFP_H
32909 #include <ieeefp.h>
32910 #endif
32913 main ()
32915 isinfl(0);
32917 return 0;
32919 _ACEOF
32920 if ac_fn_cxx_try_compile "$LINENO"; then :
32921 glibcxx_cv_func_isinfl_use=yes
32922 else
32923 glibcxx_cv_func_isinfl_use=no
32925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32926 ac_ext=c
32927 ac_cpp='$CPP $CPPFLAGS'
32928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
32937 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
32939 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
32940 for ac_func in isinfl
32941 do :
32942 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
32943 if test "x$ac_cv_func_isinfl" = x""yes; then :
32944 cat >>confdefs.h <<_ACEOF
32945 #define HAVE_ISINFL 1
32946 _ACEOF
32949 done
32951 else
32953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
32954 $as_echo_n "checking for _isinfl declaration... " >&6; }
32955 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
32956 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
32957 $as_echo_n "(cached) " >&6
32958 else
32961 ac_ext=cpp
32962 ac_cpp='$CXXCPP $CPPFLAGS'
32963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32968 /* end confdefs.h. */
32969 #include <math.h>
32970 #ifdef HAVE_IEEEFP_H
32971 #include <ieeefp.h>
32972 #endif
32975 main ()
32977 _isinfl(0);
32979 return 0;
32981 _ACEOF
32982 if ac_fn_cxx_try_compile "$LINENO"; then :
32983 glibcxx_cv_func__isinfl_use=yes
32984 else
32985 glibcxx_cv_func__isinfl_use=no
32987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32988 ac_ext=c
32989 ac_cpp='$CPP $CPPFLAGS'
32990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
32999 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
33001 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
33002 for ac_func in _isinfl
33003 do :
33004 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
33005 if test "x$ac_cv_func__isinfl" = x""yes; then :
33006 cat >>confdefs.h <<_ACEOF
33007 #define HAVE__ISINFL 1
33008 _ACEOF
33011 done
33020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33021 $as_echo_n "checking for atan2l declaration... " >&6; }
33022 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33023 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
33024 $as_echo_n "(cached) " >&6
33025 else
33028 ac_ext=cpp
33029 ac_cpp='$CXXCPP $CPPFLAGS'
33030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33035 /* end confdefs.h. */
33036 #include <math.h>
33038 main ()
33040 atan2l(0, 0);
33042 return 0;
33044 _ACEOF
33045 if ac_fn_cxx_try_compile "$LINENO"; then :
33046 glibcxx_cv_func_atan2l_use=yes
33047 else
33048 glibcxx_cv_func_atan2l_use=no
33050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33051 ac_ext=c
33052 ac_cpp='$CPP $CPPFLAGS'
33053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33062 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33064 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33065 for ac_func in atan2l
33066 do :
33067 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33068 if test "x$ac_cv_func_atan2l" = x""yes; then :
33069 cat >>confdefs.h <<_ACEOF
33070 #define HAVE_ATAN2L 1
33071 _ACEOF
33074 done
33076 else
33078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33079 $as_echo_n "checking for _atan2l declaration... " >&6; }
33080 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33081 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
33082 $as_echo_n "(cached) " >&6
33083 else
33086 ac_ext=cpp
33087 ac_cpp='$CXXCPP $CPPFLAGS'
33088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33093 /* end confdefs.h. */
33094 #include <math.h>
33096 main ()
33098 _atan2l(0, 0);
33100 return 0;
33102 _ACEOF
33103 if ac_fn_cxx_try_compile "$LINENO"; then :
33104 glibcxx_cv_func__atan2l_use=yes
33105 else
33106 glibcxx_cv_func__atan2l_use=no
33108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33109 ac_ext=c
33110 ac_cpp='$CPP $CPPFLAGS'
33111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33120 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33122 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33123 for ac_func in _atan2l
33124 do :
33125 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33126 if test "x$ac_cv_func__atan2l" = x""yes; then :
33127 cat >>confdefs.h <<_ACEOF
33128 #define HAVE__ATAN2L 1
33129 _ACEOF
33132 done
33141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33142 $as_echo_n "checking for expl declaration... " >&6; }
33143 if test x${glibcxx_cv_func_expl_use+set} != xset; then
33144 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
33145 $as_echo_n "(cached) " >&6
33146 else
33149 ac_ext=cpp
33150 ac_cpp='$CXXCPP $CPPFLAGS'
33151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33156 /* end confdefs.h. */
33157 #include <math.h>
33158 #ifdef HAVE_IEEEFP_H
33159 #include <ieeefp.h>
33160 #endif
33163 main ()
33165 expl(0);
33167 return 0;
33169 _ACEOF
33170 if ac_fn_cxx_try_compile "$LINENO"; then :
33171 glibcxx_cv_func_expl_use=yes
33172 else
33173 glibcxx_cv_func_expl_use=no
33175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33176 ac_ext=c
33177 ac_cpp='$CPP $CPPFLAGS'
33178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33187 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
33189 if test x$glibcxx_cv_func_expl_use = x"yes"; then
33190 for ac_func in expl
33191 do :
33192 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33193 if test "x$ac_cv_func_expl" = x""yes; then :
33194 cat >>confdefs.h <<_ACEOF
33195 #define HAVE_EXPL 1
33196 _ACEOF
33199 done
33201 else
33203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33204 $as_echo_n "checking for _expl declaration... " >&6; }
33205 if test x${glibcxx_cv_func__expl_use+set} != xset; then
33206 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
33207 $as_echo_n "(cached) " >&6
33208 else
33211 ac_ext=cpp
33212 ac_cpp='$CXXCPP $CPPFLAGS'
33213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33218 /* end confdefs.h. */
33219 #include <math.h>
33220 #ifdef HAVE_IEEEFP_H
33221 #include <ieeefp.h>
33222 #endif
33225 main ()
33227 _expl(0);
33229 return 0;
33231 _ACEOF
33232 if ac_fn_cxx_try_compile "$LINENO"; then :
33233 glibcxx_cv_func__expl_use=yes
33234 else
33235 glibcxx_cv_func__expl_use=no
33237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33238 ac_ext=c
33239 ac_cpp='$CPP $CPPFLAGS'
33240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33249 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33251 if test x$glibcxx_cv_func__expl_use = x"yes"; then
33252 for ac_func in _expl
33253 do :
33254 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33255 if test "x$ac_cv_func__expl" = x""yes; then :
33256 cat >>confdefs.h <<_ACEOF
33257 #define HAVE__EXPL 1
33258 _ACEOF
33261 done
33270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33271 $as_echo_n "checking for fabsl declaration... " >&6; }
33272 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33273 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
33274 $as_echo_n "(cached) " >&6
33275 else
33278 ac_ext=cpp
33279 ac_cpp='$CXXCPP $CPPFLAGS'
33280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33285 /* end confdefs.h. */
33286 #include <math.h>
33287 #ifdef HAVE_IEEEFP_H
33288 #include <ieeefp.h>
33289 #endif
33292 main ()
33294 fabsl(0);
33296 return 0;
33298 _ACEOF
33299 if ac_fn_cxx_try_compile "$LINENO"; then :
33300 glibcxx_cv_func_fabsl_use=yes
33301 else
33302 glibcxx_cv_func_fabsl_use=no
33304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33305 ac_ext=c
33306 ac_cpp='$CPP $CPPFLAGS'
33307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33316 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33318 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33319 for ac_func in fabsl
33320 do :
33321 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33322 if test "x$ac_cv_func_fabsl" = x""yes; then :
33323 cat >>confdefs.h <<_ACEOF
33324 #define HAVE_FABSL 1
33325 _ACEOF
33328 done
33330 else
33332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33333 $as_echo_n "checking for _fabsl declaration... " >&6; }
33334 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33335 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
33336 $as_echo_n "(cached) " >&6
33337 else
33340 ac_ext=cpp
33341 ac_cpp='$CXXCPP $CPPFLAGS'
33342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33347 /* end confdefs.h. */
33348 #include <math.h>
33349 #ifdef HAVE_IEEEFP_H
33350 #include <ieeefp.h>
33351 #endif
33354 main ()
33356 _fabsl(0);
33358 return 0;
33360 _ACEOF
33361 if ac_fn_cxx_try_compile "$LINENO"; then :
33362 glibcxx_cv_func__fabsl_use=yes
33363 else
33364 glibcxx_cv_func__fabsl_use=no
33366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33367 ac_ext=c
33368 ac_cpp='$CPP $CPPFLAGS'
33369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33378 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33380 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33381 for ac_func in _fabsl
33382 do :
33383 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33384 if test "x$ac_cv_func__fabsl" = x""yes; then :
33385 cat >>confdefs.h <<_ACEOF
33386 #define HAVE__FABSL 1
33387 _ACEOF
33390 done
33399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33400 $as_echo_n "checking for fmodl declaration... " >&6; }
33401 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33402 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
33403 $as_echo_n "(cached) " >&6
33404 else
33407 ac_ext=cpp
33408 ac_cpp='$CXXCPP $CPPFLAGS'
33409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33414 /* end confdefs.h. */
33415 #include <math.h>
33417 main ()
33419 fmodl(0, 0);
33421 return 0;
33423 _ACEOF
33424 if ac_fn_cxx_try_compile "$LINENO"; then :
33425 glibcxx_cv_func_fmodl_use=yes
33426 else
33427 glibcxx_cv_func_fmodl_use=no
33429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33430 ac_ext=c
33431 ac_cpp='$CPP $CPPFLAGS'
33432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33441 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33443 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33444 for ac_func in fmodl
33445 do :
33446 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33447 if test "x$ac_cv_func_fmodl" = x""yes; then :
33448 cat >>confdefs.h <<_ACEOF
33449 #define HAVE_FMODL 1
33450 _ACEOF
33453 done
33455 else
33457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33458 $as_echo_n "checking for _fmodl declaration... " >&6; }
33459 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33460 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
33461 $as_echo_n "(cached) " >&6
33462 else
33465 ac_ext=cpp
33466 ac_cpp='$CXXCPP $CPPFLAGS'
33467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33472 /* end confdefs.h. */
33473 #include <math.h>
33475 main ()
33477 _fmodl(0, 0);
33479 return 0;
33481 _ACEOF
33482 if ac_fn_cxx_try_compile "$LINENO"; then :
33483 glibcxx_cv_func__fmodl_use=yes
33484 else
33485 glibcxx_cv_func__fmodl_use=no
33487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33488 ac_ext=c
33489 ac_cpp='$CPP $CPPFLAGS'
33490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33499 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33501 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33502 for ac_func in _fmodl
33503 do :
33504 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33505 if test "x$ac_cv_func__fmodl" = x""yes; then :
33506 cat >>confdefs.h <<_ACEOF
33507 #define HAVE__FMODL 1
33508 _ACEOF
33511 done
33520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33521 $as_echo_n "checking for frexpl declaration... " >&6; }
33522 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33523 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
33524 $as_echo_n "(cached) " >&6
33525 else
33528 ac_ext=cpp
33529 ac_cpp='$CXXCPP $CPPFLAGS'
33530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33535 /* end confdefs.h. */
33536 #include <math.h>
33538 main ()
33540 frexpl(0, 0);
33542 return 0;
33544 _ACEOF
33545 if ac_fn_cxx_try_compile "$LINENO"; then :
33546 glibcxx_cv_func_frexpl_use=yes
33547 else
33548 glibcxx_cv_func_frexpl_use=no
33550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33551 ac_ext=c
33552 ac_cpp='$CPP $CPPFLAGS'
33553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33562 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33564 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33565 for ac_func in frexpl
33566 do :
33567 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33568 if test "x$ac_cv_func_frexpl" = x""yes; then :
33569 cat >>confdefs.h <<_ACEOF
33570 #define HAVE_FREXPL 1
33571 _ACEOF
33574 done
33576 else
33578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33579 $as_echo_n "checking for _frexpl declaration... " >&6; }
33580 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33581 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
33582 $as_echo_n "(cached) " >&6
33583 else
33586 ac_ext=cpp
33587 ac_cpp='$CXXCPP $CPPFLAGS'
33588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33593 /* end confdefs.h. */
33594 #include <math.h>
33596 main ()
33598 _frexpl(0, 0);
33600 return 0;
33602 _ACEOF
33603 if ac_fn_cxx_try_compile "$LINENO"; then :
33604 glibcxx_cv_func__frexpl_use=yes
33605 else
33606 glibcxx_cv_func__frexpl_use=no
33608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33609 ac_ext=c
33610 ac_cpp='$CPP $CPPFLAGS'
33611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33620 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33622 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33623 for ac_func in _frexpl
33624 do :
33625 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33626 if test "x$ac_cv_func__frexpl" = x""yes; then :
33627 cat >>confdefs.h <<_ACEOF
33628 #define HAVE__FREXPL 1
33629 _ACEOF
33632 done
33641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33642 $as_echo_n "checking for hypotl declaration... " >&6; }
33643 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33644 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
33645 $as_echo_n "(cached) " >&6
33646 else
33649 ac_ext=cpp
33650 ac_cpp='$CXXCPP $CPPFLAGS'
33651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33656 /* end confdefs.h. */
33657 #include <math.h>
33659 main ()
33661 hypotl(0, 0);
33663 return 0;
33665 _ACEOF
33666 if ac_fn_cxx_try_compile "$LINENO"; then :
33667 glibcxx_cv_func_hypotl_use=yes
33668 else
33669 glibcxx_cv_func_hypotl_use=no
33671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33672 ac_ext=c
33673 ac_cpp='$CPP $CPPFLAGS'
33674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33683 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33685 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33686 for ac_func in hypotl
33687 do :
33688 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33689 if test "x$ac_cv_func_hypotl" = x""yes; then :
33690 cat >>confdefs.h <<_ACEOF
33691 #define HAVE_HYPOTL 1
33692 _ACEOF
33695 done
33697 else
33699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
33700 $as_echo_n "checking for _hypotl declaration... " >&6; }
33701 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
33702 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
33703 $as_echo_n "(cached) " >&6
33704 else
33707 ac_ext=cpp
33708 ac_cpp='$CXXCPP $CPPFLAGS'
33709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33714 /* end confdefs.h. */
33715 #include <math.h>
33717 main ()
33719 _hypotl(0, 0);
33721 return 0;
33723 _ACEOF
33724 if ac_fn_cxx_try_compile "$LINENO"; then :
33725 glibcxx_cv_func__hypotl_use=yes
33726 else
33727 glibcxx_cv_func__hypotl_use=no
33729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33730 ac_ext=c
33731 ac_cpp='$CPP $CPPFLAGS'
33732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
33741 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
33743 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
33744 for ac_func in _hypotl
33745 do :
33746 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
33747 if test "x$ac_cv_func__hypotl" = x""yes; then :
33748 cat >>confdefs.h <<_ACEOF
33749 #define HAVE__HYPOTL 1
33750 _ACEOF
33753 done
33762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
33763 $as_echo_n "checking for ldexpl declaration... " >&6; }
33764 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33765 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
33766 $as_echo_n "(cached) " >&6
33767 else
33770 ac_ext=cpp
33771 ac_cpp='$CXXCPP $CPPFLAGS'
33772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33777 /* end confdefs.h. */
33778 #include <math.h>
33780 main ()
33782 ldexpl(0, 0);
33784 return 0;
33786 _ACEOF
33787 if ac_fn_cxx_try_compile "$LINENO"; then :
33788 glibcxx_cv_func_ldexpl_use=yes
33789 else
33790 glibcxx_cv_func_ldexpl_use=no
33792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33793 ac_ext=c
33794 ac_cpp='$CPP $CPPFLAGS'
33795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
33804 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
33806 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33807 for ac_func in ldexpl
33808 do :
33809 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
33810 if test "x$ac_cv_func_ldexpl" = x""yes; then :
33811 cat >>confdefs.h <<_ACEOF
33812 #define HAVE_LDEXPL 1
33813 _ACEOF
33816 done
33818 else
33820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
33821 $as_echo_n "checking for _ldexpl declaration... " >&6; }
33822 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33823 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
33824 $as_echo_n "(cached) " >&6
33825 else
33828 ac_ext=cpp
33829 ac_cpp='$CXXCPP $CPPFLAGS'
33830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33835 /* end confdefs.h. */
33836 #include <math.h>
33838 main ()
33840 _ldexpl(0, 0);
33842 return 0;
33844 _ACEOF
33845 if ac_fn_cxx_try_compile "$LINENO"; then :
33846 glibcxx_cv_func__ldexpl_use=yes
33847 else
33848 glibcxx_cv_func__ldexpl_use=no
33850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33851 ac_ext=c
33852 ac_cpp='$CPP $CPPFLAGS'
33853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
33862 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
33864 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33865 for ac_func in _ldexpl
33866 do :
33867 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
33868 if test "x$ac_cv_func__ldexpl" = x""yes; then :
33869 cat >>confdefs.h <<_ACEOF
33870 #define HAVE__LDEXPL 1
33871 _ACEOF
33874 done
33883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
33884 $as_echo_n "checking for logl declaration... " >&6; }
33885 if test x${glibcxx_cv_func_logl_use+set} != xset; then
33886 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
33887 $as_echo_n "(cached) " >&6
33888 else
33891 ac_ext=cpp
33892 ac_cpp='$CXXCPP $CPPFLAGS'
33893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33898 /* end confdefs.h. */
33899 #include <math.h>
33900 #ifdef HAVE_IEEEFP_H
33901 #include <ieeefp.h>
33902 #endif
33905 main ()
33907 logl(0);
33909 return 0;
33911 _ACEOF
33912 if ac_fn_cxx_try_compile "$LINENO"; then :
33913 glibcxx_cv_func_logl_use=yes
33914 else
33915 glibcxx_cv_func_logl_use=no
33917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33918 ac_ext=c
33919 ac_cpp='$CPP $CPPFLAGS'
33920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
33929 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
33931 if test x$glibcxx_cv_func_logl_use = x"yes"; then
33932 for ac_func in logl
33933 do :
33934 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
33935 if test "x$ac_cv_func_logl" = x""yes; then :
33936 cat >>confdefs.h <<_ACEOF
33937 #define HAVE_LOGL 1
33938 _ACEOF
33941 done
33943 else
33945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
33946 $as_echo_n "checking for _logl declaration... " >&6; }
33947 if test x${glibcxx_cv_func__logl_use+set} != xset; then
33948 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
33949 $as_echo_n "(cached) " >&6
33950 else
33953 ac_ext=cpp
33954 ac_cpp='$CXXCPP $CPPFLAGS'
33955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33960 /* end confdefs.h. */
33961 #include <math.h>
33962 #ifdef HAVE_IEEEFP_H
33963 #include <ieeefp.h>
33964 #endif
33967 main ()
33969 _logl(0);
33971 return 0;
33973 _ACEOF
33974 if ac_fn_cxx_try_compile "$LINENO"; then :
33975 glibcxx_cv_func__logl_use=yes
33976 else
33977 glibcxx_cv_func__logl_use=no
33979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33980 ac_ext=c
33981 ac_cpp='$CPP $CPPFLAGS'
33982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
33991 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
33993 if test x$glibcxx_cv_func__logl_use = x"yes"; then
33994 for ac_func in _logl
33995 do :
33996 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
33997 if test "x$ac_cv_func__logl" = x""yes; then :
33998 cat >>confdefs.h <<_ACEOF
33999 #define HAVE__LOGL 1
34000 _ACEOF
34003 done
34012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34013 $as_echo_n "checking for log10l declaration... " >&6; }
34014 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34015 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
34016 $as_echo_n "(cached) " >&6
34017 else
34020 ac_ext=cpp
34021 ac_cpp='$CXXCPP $CPPFLAGS'
34022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34027 /* end confdefs.h. */
34028 #include <math.h>
34029 #ifdef HAVE_IEEEFP_H
34030 #include <ieeefp.h>
34031 #endif
34034 main ()
34036 log10l(0);
34038 return 0;
34040 _ACEOF
34041 if ac_fn_cxx_try_compile "$LINENO"; then :
34042 glibcxx_cv_func_log10l_use=yes
34043 else
34044 glibcxx_cv_func_log10l_use=no
34046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34047 ac_ext=c
34048 ac_cpp='$CPP $CPPFLAGS'
34049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34058 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34060 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34061 for ac_func in log10l
34062 do :
34063 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34064 if test "x$ac_cv_func_log10l" = x""yes; then :
34065 cat >>confdefs.h <<_ACEOF
34066 #define HAVE_LOG10L 1
34067 _ACEOF
34070 done
34072 else
34074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34075 $as_echo_n "checking for _log10l declaration... " >&6; }
34076 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34077 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
34078 $as_echo_n "(cached) " >&6
34079 else
34082 ac_ext=cpp
34083 ac_cpp='$CXXCPP $CPPFLAGS'
34084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34089 /* end confdefs.h. */
34090 #include <math.h>
34091 #ifdef HAVE_IEEEFP_H
34092 #include <ieeefp.h>
34093 #endif
34096 main ()
34098 _log10l(0);
34100 return 0;
34102 _ACEOF
34103 if ac_fn_cxx_try_compile "$LINENO"; then :
34104 glibcxx_cv_func__log10l_use=yes
34105 else
34106 glibcxx_cv_func__log10l_use=no
34108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34109 ac_ext=c
34110 ac_cpp='$CPP $CPPFLAGS'
34111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34120 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34122 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34123 for ac_func in _log10l
34124 do :
34125 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34126 if test "x$ac_cv_func__log10l" = x""yes; then :
34127 cat >>confdefs.h <<_ACEOF
34128 #define HAVE__LOG10L 1
34129 _ACEOF
34132 done
34141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34142 $as_echo_n "checking for modfl declaration... " >&6; }
34143 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34144 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
34145 $as_echo_n "(cached) " >&6
34146 else
34149 ac_ext=cpp
34150 ac_cpp='$CXXCPP $CPPFLAGS'
34151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34156 /* end confdefs.h. */
34157 #include <math.h>
34159 main ()
34161 modfl(0, 0);
34163 return 0;
34165 _ACEOF
34166 if ac_fn_cxx_try_compile "$LINENO"; then :
34167 glibcxx_cv_func_modfl_use=yes
34168 else
34169 glibcxx_cv_func_modfl_use=no
34171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34172 ac_ext=c
34173 ac_cpp='$CPP $CPPFLAGS'
34174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34183 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34185 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34186 for ac_func in modfl
34187 do :
34188 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34189 if test "x$ac_cv_func_modfl" = x""yes; then :
34190 cat >>confdefs.h <<_ACEOF
34191 #define HAVE_MODFL 1
34192 _ACEOF
34195 done
34197 else
34199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34200 $as_echo_n "checking for _modfl declaration... " >&6; }
34201 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34202 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
34203 $as_echo_n "(cached) " >&6
34204 else
34207 ac_ext=cpp
34208 ac_cpp='$CXXCPP $CPPFLAGS'
34209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34214 /* end confdefs.h. */
34215 #include <math.h>
34217 main ()
34219 _modfl(0, 0);
34221 return 0;
34223 _ACEOF
34224 if ac_fn_cxx_try_compile "$LINENO"; then :
34225 glibcxx_cv_func__modfl_use=yes
34226 else
34227 glibcxx_cv_func__modfl_use=no
34229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34230 ac_ext=c
34231 ac_cpp='$CPP $CPPFLAGS'
34232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34241 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34243 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34244 for ac_func in _modfl
34245 do :
34246 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34247 if test "x$ac_cv_func__modfl" = x""yes; then :
34248 cat >>confdefs.h <<_ACEOF
34249 #define HAVE__MODFL 1
34250 _ACEOF
34253 done
34262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34263 $as_echo_n "checking for powl declaration... " >&6; }
34264 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34265 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
34266 $as_echo_n "(cached) " >&6
34267 else
34270 ac_ext=cpp
34271 ac_cpp='$CXXCPP $CPPFLAGS'
34272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34277 /* end confdefs.h. */
34278 #include <math.h>
34280 main ()
34282 powl(0, 0);
34284 return 0;
34286 _ACEOF
34287 if ac_fn_cxx_try_compile "$LINENO"; then :
34288 glibcxx_cv_func_powl_use=yes
34289 else
34290 glibcxx_cv_func_powl_use=no
34292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34293 ac_ext=c
34294 ac_cpp='$CPP $CPPFLAGS'
34295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34304 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34306 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34307 for ac_func in powl
34308 do :
34309 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34310 if test "x$ac_cv_func_powl" = x""yes; then :
34311 cat >>confdefs.h <<_ACEOF
34312 #define HAVE_POWL 1
34313 _ACEOF
34316 done
34318 else
34320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34321 $as_echo_n "checking for _powl declaration... " >&6; }
34322 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34323 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
34324 $as_echo_n "(cached) " >&6
34325 else
34328 ac_ext=cpp
34329 ac_cpp='$CXXCPP $CPPFLAGS'
34330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34335 /* end confdefs.h. */
34336 #include <math.h>
34338 main ()
34340 _powl(0, 0);
34342 return 0;
34344 _ACEOF
34345 if ac_fn_cxx_try_compile "$LINENO"; then :
34346 glibcxx_cv_func__powl_use=yes
34347 else
34348 glibcxx_cv_func__powl_use=no
34350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34351 ac_ext=c
34352 ac_cpp='$CPP $CPPFLAGS'
34353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34362 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34364 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34365 for ac_func in _powl
34366 do :
34367 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34368 if test "x$ac_cv_func__powl" = x""yes; then :
34369 cat >>confdefs.h <<_ACEOF
34370 #define HAVE__POWL 1
34371 _ACEOF
34374 done
34383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34384 $as_echo_n "checking for sqrtl declaration... " >&6; }
34385 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34386 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
34387 $as_echo_n "(cached) " >&6
34388 else
34391 ac_ext=cpp
34392 ac_cpp='$CXXCPP $CPPFLAGS'
34393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34398 /* end confdefs.h. */
34399 #include <math.h>
34400 #ifdef HAVE_IEEEFP_H
34401 #include <ieeefp.h>
34402 #endif
34405 main ()
34407 sqrtl(0);
34409 return 0;
34411 _ACEOF
34412 if ac_fn_cxx_try_compile "$LINENO"; then :
34413 glibcxx_cv_func_sqrtl_use=yes
34414 else
34415 glibcxx_cv_func_sqrtl_use=no
34417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34418 ac_ext=c
34419 ac_cpp='$CPP $CPPFLAGS'
34420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34429 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34431 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34432 for ac_func in sqrtl
34433 do :
34434 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34435 if test "x$ac_cv_func_sqrtl" = x""yes; then :
34436 cat >>confdefs.h <<_ACEOF
34437 #define HAVE_SQRTL 1
34438 _ACEOF
34441 done
34443 else
34445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34446 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34447 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34448 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
34449 $as_echo_n "(cached) " >&6
34450 else
34453 ac_ext=cpp
34454 ac_cpp='$CXXCPP $CPPFLAGS'
34455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34460 /* end confdefs.h. */
34461 #include <math.h>
34462 #ifdef HAVE_IEEEFP_H
34463 #include <ieeefp.h>
34464 #endif
34467 main ()
34469 _sqrtl(0);
34471 return 0;
34473 _ACEOF
34474 if ac_fn_cxx_try_compile "$LINENO"; then :
34475 glibcxx_cv_func__sqrtl_use=yes
34476 else
34477 glibcxx_cv_func__sqrtl_use=no
34479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34480 ac_ext=c
34481 ac_cpp='$CPP $CPPFLAGS'
34482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34491 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34493 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34494 for ac_func in _sqrtl
34495 do :
34496 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34497 if test "x$ac_cv_func__sqrtl" = x""yes; then :
34498 cat >>confdefs.h <<_ACEOF
34499 #define HAVE__SQRTL 1
34500 _ACEOF
34503 done
34512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34513 $as_echo_n "checking for sincosl declaration... " >&6; }
34514 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34515 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
34516 $as_echo_n "(cached) " >&6
34517 else
34520 ac_ext=cpp
34521 ac_cpp='$CXXCPP $CPPFLAGS'
34522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34527 /* end confdefs.h. */
34528 #include <math.h>
34530 main ()
34532 sincosl(0, 0, 0);
34534 return 0;
34536 _ACEOF
34537 if ac_fn_cxx_try_compile "$LINENO"; then :
34538 glibcxx_cv_func_sincosl_use=yes
34539 else
34540 glibcxx_cv_func_sincosl_use=no
34542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34543 ac_ext=c
34544 ac_cpp='$CPP $CPPFLAGS'
34545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34554 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34556 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34557 for ac_func in sincosl
34558 do :
34559 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34560 if test "x$ac_cv_func_sincosl" = x""yes; then :
34561 cat >>confdefs.h <<_ACEOF
34562 #define HAVE_SINCOSL 1
34563 _ACEOF
34566 done
34568 else
34570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34571 $as_echo_n "checking for _sincosl declaration... " >&6; }
34572 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34573 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
34574 $as_echo_n "(cached) " >&6
34575 else
34578 ac_ext=cpp
34579 ac_cpp='$CXXCPP $CPPFLAGS'
34580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34585 /* end confdefs.h. */
34586 #include <math.h>
34588 main ()
34590 _sincosl(0, 0, 0);
34592 return 0;
34594 _ACEOF
34595 if ac_fn_cxx_try_compile "$LINENO"; then :
34596 glibcxx_cv_func__sincosl_use=yes
34597 else
34598 glibcxx_cv_func__sincosl_use=no
34600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34601 ac_ext=c
34602 ac_cpp='$CPP $CPPFLAGS'
34603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34612 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34614 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34615 for ac_func in _sincosl
34616 do :
34617 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34618 if test "x$ac_cv_func__sincosl" = x""yes; then :
34619 cat >>confdefs.h <<_ACEOF
34620 #define HAVE__SINCOSL 1
34621 _ACEOF
34624 done
34633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34634 $as_echo_n "checking for finitel declaration... " >&6; }
34635 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34636 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
34637 $as_echo_n "(cached) " >&6
34638 else
34641 ac_ext=cpp
34642 ac_cpp='$CXXCPP $CPPFLAGS'
34643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34648 /* end confdefs.h. */
34649 #include <math.h>
34650 #ifdef HAVE_IEEEFP_H
34651 #include <ieeefp.h>
34652 #endif
34655 main ()
34657 finitel(0);
34659 return 0;
34661 _ACEOF
34662 if ac_fn_cxx_try_compile "$LINENO"; then :
34663 glibcxx_cv_func_finitel_use=yes
34664 else
34665 glibcxx_cv_func_finitel_use=no
34667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34668 ac_ext=c
34669 ac_cpp='$CPP $CPPFLAGS'
34670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34679 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34681 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34682 for ac_func in finitel
34683 do :
34684 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34685 if test "x$ac_cv_func_finitel" = x""yes; then :
34686 cat >>confdefs.h <<_ACEOF
34687 #define HAVE_FINITEL 1
34688 _ACEOF
34691 done
34693 else
34695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34696 $as_echo_n "checking for _finitel declaration... " >&6; }
34697 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34698 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
34699 $as_echo_n "(cached) " >&6
34700 else
34703 ac_ext=cpp
34704 ac_cpp='$CXXCPP $CPPFLAGS'
34705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34710 /* end confdefs.h. */
34711 #include <math.h>
34712 #ifdef HAVE_IEEEFP_H
34713 #include <ieeefp.h>
34714 #endif
34717 main ()
34719 _finitel(0);
34721 return 0;
34723 _ACEOF
34724 if ac_fn_cxx_try_compile "$LINENO"; then :
34725 glibcxx_cv_func__finitel_use=yes
34726 else
34727 glibcxx_cv_func__finitel_use=no
34729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34730 ac_ext=c
34731 ac_cpp='$CPP $CPPFLAGS'
34732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
34741 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
34743 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
34744 for ac_func in _finitel
34745 do :
34746 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
34747 if test "x$ac_cv_func__finitel" = x""yes; then :
34748 cat >>confdefs.h <<_ACEOF
34749 #define HAVE__FINITEL 1
34750 _ACEOF
34753 done
34761 LIBS="$ac_save_LIBS"
34762 CXXFLAGS="$ac_save_CXXFLAGS"
34765 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34766 ac_save_CXXFLAGS="$CXXFLAGS"
34767 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
34771 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
34772 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
34773 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
34774 $as_echo_n "(cached) " >&6
34775 else
34778 ac_ext=cpp
34779 ac_cpp='$CXXCPP $CPPFLAGS'
34780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34785 /* end confdefs.h. */
34786 #include <stdlib.h>
34788 main ()
34790 at_quick_exit(0);
34792 return 0;
34794 _ACEOF
34795 if ac_fn_cxx_try_compile "$LINENO"; then :
34796 glibcxx_cv_func_at_quick_exit_use=yes
34797 else
34798 glibcxx_cv_func_at_quick_exit_use=no
34800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34801 ac_ext=c
34802 ac_cpp='$CPP $CPPFLAGS'
34803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
34812 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
34813 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
34814 for ac_func in at_quick_exit
34815 do :
34816 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
34817 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
34818 cat >>confdefs.h <<_ACEOF
34819 #define HAVE_AT_QUICK_EXIT 1
34820 _ACEOF
34823 done
34828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
34829 $as_echo_n "checking for quick_exit declaration... " >&6; }
34830 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
34831 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
34832 $as_echo_n "(cached) " >&6
34833 else
34836 ac_ext=cpp
34837 ac_cpp='$CXXCPP $CPPFLAGS'
34838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34843 /* end confdefs.h. */
34844 #include <stdlib.h>
34846 main ()
34848 quick_exit(0);
34850 return 0;
34852 _ACEOF
34853 if ac_fn_cxx_try_compile "$LINENO"; then :
34854 glibcxx_cv_func_quick_exit_use=yes
34855 else
34856 glibcxx_cv_func_quick_exit_use=no
34858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34859 ac_ext=c
34860 ac_cpp='$CPP $CPPFLAGS'
34861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
34870 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
34871 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
34872 for ac_func in quick_exit
34873 do :
34874 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
34875 if test "x$ac_cv_func_quick_exit" = x""yes; then :
34876 cat >>confdefs.h <<_ACEOF
34877 #define HAVE_QUICK_EXIT 1
34878 _ACEOF
34881 done
34886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
34887 $as_echo_n "checking for strtold declaration... " >&6; }
34888 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
34889 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
34890 $as_echo_n "(cached) " >&6
34891 else
34894 ac_ext=cpp
34895 ac_cpp='$CXXCPP $CPPFLAGS'
34896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34901 /* end confdefs.h. */
34902 #include <stdlib.h>
34904 main ()
34906 strtold(0, 0);
34908 return 0;
34910 _ACEOF
34911 if ac_fn_cxx_try_compile "$LINENO"; then :
34912 glibcxx_cv_func_strtold_use=yes
34913 else
34914 glibcxx_cv_func_strtold_use=no
34916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34917 ac_ext=c
34918 ac_cpp='$CPP $CPPFLAGS'
34919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
34928 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
34929 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
34930 for ac_func in strtold
34931 do :
34932 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
34933 if test "x$ac_cv_func_strtold" = x""yes; then :
34934 cat >>confdefs.h <<_ACEOF
34935 #define HAVE_STRTOLD 1
34936 _ACEOF
34939 done
34946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
34947 $as_echo_n "checking for strtof declaration... " >&6; }
34948 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
34949 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
34950 $as_echo_n "(cached) " >&6
34951 else
34954 ac_ext=cpp
34955 ac_cpp='$CXXCPP $CPPFLAGS'
34956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34961 /* end confdefs.h. */
34962 #include <stdlib.h>
34964 main ()
34966 strtof(0, 0);
34968 return 0;
34970 _ACEOF
34971 if ac_fn_cxx_try_compile "$LINENO"; then :
34972 glibcxx_cv_func_strtof_use=yes
34973 else
34974 glibcxx_cv_func_strtof_use=no
34976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34977 ac_ext=c
34978 ac_cpp='$CPP $CPPFLAGS'
34979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
34988 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
34989 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
34990 for ac_func in strtof
34991 do :
34992 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
34993 if test "x$ac_cv_func_strtof" = x""yes; then :
34994 cat >>confdefs.h <<_ACEOF
34995 #define HAVE_STRTOF 1
34996 _ACEOF
34999 done
35006 CXXFLAGS="$ac_save_CXXFLAGS"
35009 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35011 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35013 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35015 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35018 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35020 $as_echo "#define HAVE_MODF 1" >>confdefs.h
35022 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35026 spu-*-elf*)
35028 # All these tests are for C++; save the language and the compiler flags.
35029 # The CXXFLAGS thing is suspicious, but based on similar bits previously
35030 # found in GLIBCXX_CONFIGURE.
35032 ac_ext=cpp
35033 ac_cpp='$CXXCPP $CPPFLAGS'
35034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35038 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35039 ac_save_CXXFLAGS="$CXXFLAGS"
35041 # Check for maintainer-mode bits.
35042 if test x"$USE_MAINTAINER_MODE" = xno; then
35043 WERROR=''
35044 else
35045 WERROR='-Werror'
35048 # Check for -ffunction-sections -fdata-sections
35049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
35050 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
35051 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
35052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35053 /* end confdefs.h. */
35054 int foo; void bar() { };
35056 main ()
35060 return 0;
35062 _ACEOF
35063 if ac_fn_cxx_try_compile "$LINENO"; then :
35064 ac_fdsections=yes
35065 else
35066 ac_fdsections=no
35068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35069 if test "$ac_test_CXXFLAGS" = set; then
35070 CXXFLAGS="$ac_save_CXXFLAGS"
35071 else
35072 # this is the suspicious part
35073 CXXFLAGS=''
35075 if test x"$ac_fdsections" = x"yes"; then
35076 SECTION_FLAGS='-ffunction-sections -fdata-sections'
35078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
35079 $as_echo "$ac_fdsections" >&6; }
35081 ac_ext=c
35082 ac_cpp='$CPP $CPPFLAGS'
35083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35091 # If we're not using GNU ld, then there's no point in even trying these
35092 # tests. Check for that first. We should have already tested for gld
35093 # by now (in libtool), but require it now just to be safe...
35094 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35095 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35099 # The name set by libtool depends on the version of libtool. Shame on us
35100 # for depending on an impl detail, but c'est la vie. Older versions used
35101 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35102 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35103 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
35104 # set (hence we're using an older libtool), then set it.
35105 if test x${with_gnu_ld+set} != xset; then
35106 if test x${ac_cv_prog_gnu_ld+set} != xset; then
35107 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
35108 with_gnu_ld=no
35109 else
35110 with_gnu_ld=$ac_cv_prog_gnu_ld
35114 # Start by getting the version number. I think the libtool test already
35115 # does some of this, but throws away the result.
35116 glibcxx_ld_is_gold=no
35117 if test x"$with_gnu_ld" = x"yes"; then
35118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35119 $as_echo_n "checking for ld version... " >&6; }
35121 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35122 glibcxx_ld_is_gold=yes
35124 ldver=`$LD --version 2>/dev/null |
35125 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
35127 glibcxx_gnu_ld_version=`echo $ldver | \
35128 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35130 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35133 # Set --gc-sections.
35134 glibcxx_have_gc_sections=no
35135 if test "$glibcxx_ld_is_gold" = "yes"; then
35136 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35137 glibcxx_have_gc_sections=yes
35139 else
35140 glibcxx_gcsections_min_ld=21602
35141 if test x"$with_gnu_ld" = x"yes" &&
35142 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35143 glibcxx_have_gc_sections=yes
35146 if test "$glibcxx_have_gc_sections" = "yes"; then
35147 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
35148 # NB: This flag only works reliably after 2.16.1. Configure tests
35149 # for this are difficult, so hard wire a value that should work.
35151 ac_test_CFLAGS="${CFLAGS+set}"
35152 ac_save_CFLAGS="$CFLAGS"
35153 CFLAGS='-Wl,--gc-sections'
35155 # Check for -Wl,--gc-sections
35156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35157 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35158 if test x$gcc_no_link = xyes; then
35159 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35162 /* end confdefs.h. */
35163 int one(void) { return 1; }
35164 int two(void) { return 2; }
35167 main ()
35169 two();
35171 return 0;
35173 _ACEOF
35174 if ac_fn_c_try_link "$LINENO"; then :
35175 ac_gcsections=yes
35176 else
35177 ac_gcsections=no
35179 rm -f core conftest.err conftest.$ac_objext \
35180 conftest$ac_exeext conftest.$ac_ext
35181 if test "$ac_gcsections" = "yes"; then
35182 rm -f conftest.c
35183 touch conftest.c
35184 if $CC -c conftest.c; then
35185 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35186 grep "Warning: gc-sections option ignored" > /dev/null; then
35187 ac_gcsections=no
35190 rm -f conftest.c conftest.o conftest
35192 if test "$ac_gcsections" = "yes"; then
35193 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35196 $as_echo "$ac_gcsections" >&6; }
35198 if test "$ac_test_CFLAGS" = set; then
35199 CFLAGS="$ac_save_CFLAGS"
35200 else
35201 # this is the suspicious part
35202 CFLAGS=''
35206 # Set -z,relro.
35207 # Note this is only for shared objects.
35208 ac_ld_relro=no
35209 if test x"$with_gnu_ld" = x"yes"; then
35210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35211 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35212 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35213 if test -n "$cxx_z_relo"; then
35214 OPT_LDFLAGS="-Wl,-z,relro"
35215 ac_ld_relro=yes
35217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35218 $as_echo "$ac_ld_relro" >&6; }
35221 # Set linker optimization flags.
35222 if test x"$with_gnu_ld" = x"yes"; then
35223 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35230 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35231 ac_save_CXXFLAGS="$CXXFLAGS"
35232 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35235 $as_echo_n "checking for sin in -lm... " >&6; }
35236 if test "${ac_cv_lib_m_sin+set}" = set; then :
35237 $as_echo_n "(cached) " >&6
35238 else
35239 ac_check_lib_save_LIBS=$LIBS
35240 LIBS="-lm $LIBS"
35241 if test x$gcc_no_link = xyes; then
35242 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35245 /* end confdefs.h. */
35247 /* Override any GCC internal prototype to avoid an error.
35248 Use char because int might match the return type of a GCC
35249 builtin and then its argument prototype would still apply. */
35250 #ifdef __cplusplus
35251 extern "C"
35252 #endif
35253 char sin ();
35255 main ()
35257 return sin ();
35259 return 0;
35261 _ACEOF
35262 if ac_fn_c_try_link "$LINENO"; then :
35263 ac_cv_lib_m_sin=yes
35264 else
35265 ac_cv_lib_m_sin=no
35267 rm -f core conftest.err conftest.$ac_objext \
35268 conftest$ac_exeext conftest.$ac_ext
35269 LIBS=$ac_check_lib_save_LIBS
35271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35272 $as_echo "$ac_cv_lib_m_sin" >&6; }
35273 if test "x$ac_cv_lib_m_sin" = x""yes; then :
35274 libm="-lm"
35277 ac_save_LIBS="$LIBS"
35278 LIBS="$LIBS $libm"
35282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35283 $as_echo_n "checking for isinf declaration... " >&6; }
35284 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35285 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
35286 $as_echo_n "(cached) " >&6
35287 else
35290 ac_ext=cpp
35291 ac_cpp='$CXXCPP $CPPFLAGS'
35292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35297 /* end confdefs.h. */
35298 #include <math.h>
35299 #ifdef HAVE_IEEEFP_H
35300 #include <ieeefp.h>
35301 #endif
35304 main ()
35306 isinf(0);
35308 return 0;
35310 _ACEOF
35311 if ac_fn_cxx_try_compile "$LINENO"; then :
35312 glibcxx_cv_func_isinf_use=yes
35313 else
35314 glibcxx_cv_func_isinf_use=no
35316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35317 ac_ext=c
35318 ac_cpp='$CPP $CPPFLAGS'
35319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35328 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35330 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35331 for ac_func in isinf
35332 do :
35333 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35334 if test "x$ac_cv_func_isinf" = x""yes; then :
35335 cat >>confdefs.h <<_ACEOF
35336 #define HAVE_ISINF 1
35337 _ACEOF
35340 done
35342 else
35344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35345 $as_echo_n "checking for _isinf declaration... " >&6; }
35346 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35347 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
35348 $as_echo_n "(cached) " >&6
35349 else
35352 ac_ext=cpp
35353 ac_cpp='$CXXCPP $CPPFLAGS'
35354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35359 /* end confdefs.h. */
35360 #include <math.h>
35361 #ifdef HAVE_IEEEFP_H
35362 #include <ieeefp.h>
35363 #endif
35366 main ()
35368 _isinf(0);
35370 return 0;
35372 _ACEOF
35373 if ac_fn_cxx_try_compile "$LINENO"; then :
35374 glibcxx_cv_func__isinf_use=yes
35375 else
35376 glibcxx_cv_func__isinf_use=no
35378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35379 ac_ext=c
35380 ac_cpp='$CPP $CPPFLAGS'
35381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35390 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35392 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35393 for ac_func in _isinf
35394 do :
35395 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35396 if test "x$ac_cv_func__isinf" = x""yes; then :
35397 cat >>confdefs.h <<_ACEOF
35398 #define HAVE__ISINF 1
35399 _ACEOF
35402 done
35411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35412 $as_echo_n "checking for isnan declaration... " >&6; }
35413 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35414 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
35415 $as_echo_n "(cached) " >&6
35416 else
35419 ac_ext=cpp
35420 ac_cpp='$CXXCPP $CPPFLAGS'
35421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35426 /* end confdefs.h. */
35427 #include <math.h>
35428 #ifdef HAVE_IEEEFP_H
35429 #include <ieeefp.h>
35430 #endif
35433 main ()
35435 isnan(0);
35437 return 0;
35439 _ACEOF
35440 if ac_fn_cxx_try_compile "$LINENO"; then :
35441 glibcxx_cv_func_isnan_use=yes
35442 else
35443 glibcxx_cv_func_isnan_use=no
35445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35446 ac_ext=c
35447 ac_cpp='$CPP $CPPFLAGS'
35448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35457 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35459 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35460 for ac_func in isnan
35461 do :
35462 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35463 if test "x$ac_cv_func_isnan" = x""yes; then :
35464 cat >>confdefs.h <<_ACEOF
35465 #define HAVE_ISNAN 1
35466 _ACEOF
35469 done
35471 else
35473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35474 $as_echo_n "checking for _isnan declaration... " >&6; }
35475 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35476 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
35477 $as_echo_n "(cached) " >&6
35478 else
35481 ac_ext=cpp
35482 ac_cpp='$CXXCPP $CPPFLAGS'
35483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35488 /* end confdefs.h. */
35489 #include <math.h>
35490 #ifdef HAVE_IEEEFP_H
35491 #include <ieeefp.h>
35492 #endif
35495 main ()
35497 _isnan(0);
35499 return 0;
35501 _ACEOF
35502 if ac_fn_cxx_try_compile "$LINENO"; then :
35503 glibcxx_cv_func__isnan_use=yes
35504 else
35505 glibcxx_cv_func__isnan_use=no
35507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35508 ac_ext=c
35509 ac_cpp='$CPP $CPPFLAGS'
35510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35519 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35521 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35522 for ac_func in _isnan
35523 do :
35524 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35525 if test "x$ac_cv_func__isnan" = x""yes; then :
35526 cat >>confdefs.h <<_ACEOF
35527 #define HAVE__ISNAN 1
35528 _ACEOF
35531 done
35540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35541 $as_echo_n "checking for finite declaration... " >&6; }
35542 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35543 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
35544 $as_echo_n "(cached) " >&6
35545 else
35548 ac_ext=cpp
35549 ac_cpp='$CXXCPP $CPPFLAGS'
35550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35555 /* end confdefs.h. */
35556 #include <math.h>
35557 #ifdef HAVE_IEEEFP_H
35558 #include <ieeefp.h>
35559 #endif
35562 main ()
35564 finite(0);
35566 return 0;
35568 _ACEOF
35569 if ac_fn_cxx_try_compile "$LINENO"; then :
35570 glibcxx_cv_func_finite_use=yes
35571 else
35572 glibcxx_cv_func_finite_use=no
35574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35575 ac_ext=c
35576 ac_cpp='$CPP $CPPFLAGS'
35577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35586 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35588 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35589 for ac_func in finite
35590 do :
35591 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35592 if test "x$ac_cv_func_finite" = x""yes; then :
35593 cat >>confdefs.h <<_ACEOF
35594 #define HAVE_FINITE 1
35595 _ACEOF
35598 done
35600 else
35602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35603 $as_echo_n "checking for _finite declaration... " >&6; }
35604 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35605 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
35606 $as_echo_n "(cached) " >&6
35607 else
35610 ac_ext=cpp
35611 ac_cpp='$CXXCPP $CPPFLAGS'
35612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35617 /* end confdefs.h. */
35618 #include <math.h>
35619 #ifdef HAVE_IEEEFP_H
35620 #include <ieeefp.h>
35621 #endif
35624 main ()
35626 _finite(0);
35628 return 0;
35630 _ACEOF
35631 if ac_fn_cxx_try_compile "$LINENO"; then :
35632 glibcxx_cv_func__finite_use=yes
35633 else
35634 glibcxx_cv_func__finite_use=no
35636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35637 ac_ext=c
35638 ac_cpp='$CPP $CPPFLAGS'
35639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35648 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35650 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35651 for ac_func in _finite
35652 do :
35653 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35654 if test "x$ac_cv_func__finite" = x""yes; then :
35655 cat >>confdefs.h <<_ACEOF
35656 #define HAVE__FINITE 1
35657 _ACEOF
35660 done
35669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35670 $as_echo_n "checking for sincos declaration... " >&6; }
35671 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35672 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
35673 $as_echo_n "(cached) " >&6
35674 else
35677 ac_ext=cpp
35678 ac_cpp='$CXXCPP $CPPFLAGS'
35679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35684 /* end confdefs.h. */
35685 #include <math.h>
35687 main ()
35689 sincos(0, 0, 0);
35691 return 0;
35693 _ACEOF
35694 if ac_fn_cxx_try_compile "$LINENO"; then :
35695 glibcxx_cv_func_sincos_use=yes
35696 else
35697 glibcxx_cv_func_sincos_use=no
35699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35700 ac_ext=c
35701 ac_cpp='$CPP $CPPFLAGS'
35702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35711 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35713 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35714 for ac_func in sincos
35715 do :
35716 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35717 if test "x$ac_cv_func_sincos" = x""yes; then :
35718 cat >>confdefs.h <<_ACEOF
35719 #define HAVE_SINCOS 1
35720 _ACEOF
35723 done
35725 else
35727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35728 $as_echo_n "checking for _sincos declaration... " >&6; }
35729 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35730 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
35731 $as_echo_n "(cached) " >&6
35732 else
35735 ac_ext=cpp
35736 ac_cpp='$CXXCPP $CPPFLAGS'
35737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35742 /* end confdefs.h. */
35743 #include <math.h>
35745 main ()
35747 _sincos(0, 0, 0);
35749 return 0;
35751 _ACEOF
35752 if ac_fn_cxx_try_compile "$LINENO"; then :
35753 glibcxx_cv_func__sincos_use=yes
35754 else
35755 glibcxx_cv_func__sincos_use=no
35757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35758 ac_ext=c
35759 ac_cpp='$CPP $CPPFLAGS'
35760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
35769 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
35771 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
35772 for ac_func in _sincos
35773 do :
35774 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
35775 if test "x$ac_cv_func__sincos" = x""yes; then :
35776 cat >>confdefs.h <<_ACEOF
35777 #define HAVE__SINCOS 1
35778 _ACEOF
35781 done
35790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
35791 $as_echo_n "checking for fpclass declaration... " >&6; }
35792 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
35793 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
35794 $as_echo_n "(cached) " >&6
35795 else
35798 ac_ext=cpp
35799 ac_cpp='$CXXCPP $CPPFLAGS'
35800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35805 /* end confdefs.h. */
35806 #include <math.h>
35807 #ifdef HAVE_IEEEFP_H
35808 #include <ieeefp.h>
35809 #endif
35812 main ()
35814 fpclass(0);
35816 return 0;
35818 _ACEOF
35819 if ac_fn_cxx_try_compile "$LINENO"; then :
35820 glibcxx_cv_func_fpclass_use=yes
35821 else
35822 glibcxx_cv_func_fpclass_use=no
35824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35825 ac_ext=c
35826 ac_cpp='$CPP $CPPFLAGS'
35827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
35836 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
35838 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
35839 for ac_func in fpclass
35840 do :
35841 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
35842 if test "x$ac_cv_func_fpclass" = x""yes; then :
35843 cat >>confdefs.h <<_ACEOF
35844 #define HAVE_FPCLASS 1
35845 _ACEOF
35848 done
35850 else
35852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
35853 $as_echo_n "checking for _fpclass declaration... " >&6; }
35854 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
35855 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
35856 $as_echo_n "(cached) " >&6
35857 else
35860 ac_ext=cpp
35861 ac_cpp='$CXXCPP $CPPFLAGS'
35862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35867 /* end confdefs.h. */
35868 #include <math.h>
35869 #ifdef HAVE_IEEEFP_H
35870 #include <ieeefp.h>
35871 #endif
35874 main ()
35876 _fpclass(0);
35878 return 0;
35880 _ACEOF
35881 if ac_fn_cxx_try_compile "$LINENO"; then :
35882 glibcxx_cv_func__fpclass_use=yes
35883 else
35884 glibcxx_cv_func__fpclass_use=no
35886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35887 ac_ext=c
35888 ac_cpp='$CPP $CPPFLAGS'
35889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
35898 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
35900 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
35901 for ac_func in _fpclass
35902 do :
35903 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
35904 if test "x$ac_cv_func__fpclass" = x""yes; then :
35905 cat >>confdefs.h <<_ACEOF
35906 #define HAVE__FPCLASS 1
35907 _ACEOF
35910 done
35919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
35920 $as_echo_n "checking for qfpclass declaration... " >&6; }
35921 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
35922 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
35923 $as_echo_n "(cached) " >&6
35924 else
35927 ac_ext=cpp
35928 ac_cpp='$CXXCPP $CPPFLAGS'
35929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35934 /* end confdefs.h. */
35935 #include <math.h>
35936 #ifdef HAVE_IEEEFP_H
35937 #include <ieeefp.h>
35938 #endif
35941 main ()
35943 qfpclass(0);
35945 return 0;
35947 _ACEOF
35948 if ac_fn_cxx_try_compile "$LINENO"; then :
35949 glibcxx_cv_func_qfpclass_use=yes
35950 else
35951 glibcxx_cv_func_qfpclass_use=no
35953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35954 ac_ext=c
35955 ac_cpp='$CPP $CPPFLAGS'
35956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
35965 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
35967 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
35968 for ac_func in qfpclass
35969 do :
35970 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
35971 if test "x$ac_cv_func_qfpclass" = x""yes; then :
35972 cat >>confdefs.h <<_ACEOF
35973 #define HAVE_QFPCLASS 1
35974 _ACEOF
35977 done
35979 else
35981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
35982 $as_echo_n "checking for _qfpclass declaration... " >&6; }
35983 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
35984 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
35985 $as_echo_n "(cached) " >&6
35986 else
35989 ac_ext=cpp
35990 ac_cpp='$CXXCPP $CPPFLAGS'
35991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35996 /* end confdefs.h. */
35997 #include <math.h>
35998 #ifdef HAVE_IEEEFP_H
35999 #include <ieeefp.h>
36000 #endif
36003 main ()
36005 _qfpclass(0);
36007 return 0;
36009 _ACEOF
36010 if ac_fn_cxx_try_compile "$LINENO"; then :
36011 glibcxx_cv_func__qfpclass_use=yes
36012 else
36013 glibcxx_cv_func__qfpclass_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
36026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36027 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36029 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36030 for ac_func in _qfpclass
36031 do :
36032 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36033 if test "x$ac_cv_func__qfpclass" = x""yes; then :
36034 cat >>confdefs.h <<_ACEOF
36035 #define HAVE__QFPCLASS 1
36036 _ACEOF
36039 done
36048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36049 $as_echo_n "checking for hypot declaration... " >&6; }
36050 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36051 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
36052 $as_echo_n "(cached) " >&6
36053 else
36056 ac_ext=cpp
36057 ac_cpp='$CXXCPP $CPPFLAGS'
36058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36063 /* end confdefs.h. */
36064 #include <math.h>
36066 main ()
36068 hypot(0, 0);
36070 return 0;
36072 _ACEOF
36073 if ac_fn_cxx_try_compile "$LINENO"; then :
36074 glibcxx_cv_func_hypot_use=yes
36075 else
36076 glibcxx_cv_func_hypot_use=no
36078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36079 ac_ext=c
36080 ac_cpp='$CPP $CPPFLAGS'
36081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36090 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36092 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36093 for ac_func in hypot
36094 do :
36095 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36096 if test "x$ac_cv_func_hypot" = x""yes; then :
36097 cat >>confdefs.h <<_ACEOF
36098 #define HAVE_HYPOT 1
36099 _ACEOF
36102 done
36104 else
36106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36107 $as_echo_n "checking for _hypot declaration... " >&6; }
36108 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36109 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
36110 $as_echo_n "(cached) " >&6
36111 else
36114 ac_ext=cpp
36115 ac_cpp='$CXXCPP $CPPFLAGS'
36116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36121 /* end confdefs.h. */
36122 #include <math.h>
36124 main ()
36126 _hypot(0, 0);
36128 return 0;
36130 _ACEOF
36131 if ac_fn_cxx_try_compile "$LINENO"; then :
36132 glibcxx_cv_func__hypot_use=yes
36133 else
36134 glibcxx_cv_func__hypot_use=no
36136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36137 ac_ext=c
36138 ac_cpp='$CPP $CPPFLAGS'
36139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36148 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36150 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36151 for ac_func in _hypot
36152 do :
36153 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36154 if test "x$ac_cv_func__hypot" = x""yes; then :
36155 cat >>confdefs.h <<_ACEOF
36156 #define HAVE__HYPOT 1
36157 _ACEOF
36160 done
36169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36170 $as_echo_n "checking for float trig functions... " >&6; }
36171 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
36172 $as_echo_n "(cached) " >&6
36173 else
36176 ac_ext=cpp
36177 ac_cpp='$CXXCPP $CPPFLAGS'
36178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36183 /* end confdefs.h. */
36184 #include <math.h>
36186 main ()
36188 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36190 return 0;
36192 _ACEOF
36193 if ac_fn_cxx_try_compile "$LINENO"; then :
36194 glibcxx_cv_func_float_trig_use=yes
36195 else
36196 glibcxx_cv_func_float_trig_use=no
36198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36199 ac_ext=c
36200 ac_cpp='$CPP $CPPFLAGS'
36201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36208 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36209 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36210 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36211 do :
36212 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36213 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36214 eval as_val=\$$as_ac_var
36215 if test "x$as_val" = x""yes; then :
36216 cat >>confdefs.h <<_ACEOF
36217 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36218 _ACEOF
36221 done
36223 else
36224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36225 $as_echo_n "checking for _float trig functions... " >&6; }
36226 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
36227 $as_echo_n "(cached) " >&6
36228 else
36231 ac_ext=cpp
36232 ac_cpp='$CXXCPP $CPPFLAGS'
36233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36238 /* end confdefs.h. */
36239 #include <math.h>
36241 main ()
36243 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36245 return 0;
36247 _ACEOF
36248 if ac_fn_cxx_try_compile "$LINENO"; then :
36249 glibcxx_cv_func__float_trig_use=yes
36250 else
36251 glibcxx_cv_func__float_trig_use=no
36253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36254 ac_ext=c
36255 ac_cpp='$CPP $CPPFLAGS'
36256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36263 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36264 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36265 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36266 do :
36267 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36268 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36269 eval as_val=\$$as_ac_var
36270 if test "x$as_val" = x""yes; then :
36271 cat >>confdefs.h <<_ACEOF
36272 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36273 _ACEOF
36276 done
36285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36286 $as_echo_n "checking for float round functions... " >&6; }
36287 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
36288 $as_echo_n "(cached) " >&6
36289 else
36292 ac_ext=cpp
36293 ac_cpp='$CXXCPP $CPPFLAGS'
36294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36299 /* end confdefs.h. */
36300 #include <math.h>
36302 main ()
36304 ceilf (0); floorf (0);
36306 return 0;
36308 _ACEOF
36309 if ac_fn_cxx_try_compile "$LINENO"; then :
36310 glibcxx_cv_func_float_round_use=yes
36311 else
36312 glibcxx_cv_func_float_round_use=no
36314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36315 ac_ext=c
36316 ac_cpp='$CPP $CPPFLAGS'
36317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36324 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36325 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36326 for ac_func in ceilf floorf
36327 do :
36328 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36329 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36330 eval as_val=\$$as_ac_var
36331 if test "x$as_val" = x""yes; then :
36332 cat >>confdefs.h <<_ACEOF
36333 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36334 _ACEOF
36337 done
36339 else
36340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36341 $as_echo_n "checking for _float round functions... " >&6; }
36342 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
36343 $as_echo_n "(cached) " >&6
36344 else
36347 ac_ext=cpp
36348 ac_cpp='$CXXCPP $CPPFLAGS'
36349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36354 /* end confdefs.h. */
36355 #include <math.h>
36357 main ()
36359 _ceilf (0); _floorf (0);
36361 return 0;
36363 _ACEOF
36364 if ac_fn_cxx_try_compile "$LINENO"; then :
36365 glibcxx_cv_func__float_round_use=yes
36366 else
36367 glibcxx_cv_func__float_round_use=no
36369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36370 ac_ext=c
36371 ac_cpp='$CPP $CPPFLAGS'
36372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36379 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36380 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36381 for ac_func in _ceilf _floorf
36382 do :
36383 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36384 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36385 eval as_val=\$$as_ac_var
36386 if test "x$as_val" = x""yes; then :
36387 cat >>confdefs.h <<_ACEOF
36388 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36389 _ACEOF
36392 done
36402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36403 $as_echo_n "checking for expf declaration... " >&6; }
36404 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36405 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
36406 $as_echo_n "(cached) " >&6
36407 else
36410 ac_ext=cpp
36411 ac_cpp='$CXXCPP $CPPFLAGS'
36412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36417 /* end confdefs.h. */
36418 #include <math.h>
36419 #ifdef HAVE_IEEEFP_H
36420 #include <ieeefp.h>
36421 #endif
36424 main ()
36426 expf(0);
36428 return 0;
36430 _ACEOF
36431 if ac_fn_cxx_try_compile "$LINENO"; then :
36432 glibcxx_cv_func_expf_use=yes
36433 else
36434 glibcxx_cv_func_expf_use=no
36436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36437 ac_ext=c
36438 ac_cpp='$CPP $CPPFLAGS'
36439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36448 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36450 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36451 for ac_func in expf
36452 do :
36453 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36454 if test "x$ac_cv_func_expf" = x""yes; then :
36455 cat >>confdefs.h <<_ACEOF
36456 #define HAVE_EXPF 1
36457 _ACEOF
36460 done
36462 else
36464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36465 $as_echo_n "checking for _expf declaration... " >&6; }
36466 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36467 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
36468 $as_echo_n "(cached) " >&6
36469 else
36472 ac_ext=cpp
36473 ac_cpp='$CXXCPP $CPPFLAGS'
36474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36479 /* end confdefs.h. */
36480 #include <math.h>
36481 #ifdef HAVE_IEEEFP_H
36482 #include <ieeefp.h>
36483 #endif
36486 main ()
36488 _expf(0);
36490 return 0;
36492 _ACEOF
36493 if ac_fn_cxx_try_compile "$LINENO"; then :
36494 glibcxx_cv_func__expf_use=yes
36495 else
36496 glibcxx_cv_func__expf_use=no
36498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36499 ac_ext=c
36500 ac_cpp='$CPP $CPPFLAGS'
36501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36510 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36512 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36513 for ac_func in _expf
36514 do :
36515 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36516 if test "x$ac_cv_func__expf" = x""yes; then :
36517 cat >>confdefs.h <<_ACEOF
36518 #define HAVE__EXPF 1
36519 _ACEOF
36522 done
36531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36532 $as_echo_n "checking for isnanf declaration... " >&6; }
36533 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36534 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
36535 $as_echo_n "(cached) " >&6
36536 else
36539 ac_ext=cpp
36540 ac_cpp='$CXXCPP $CPPFLAGS'
36541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36546 /* end confdefs.h. */
36547 #include <math.h>
36548 #ifdef HAVE_IEEEFP_H
36549 #include <ieeefp.h>
36550 #endif
36553 main ()
36555 isnanf(0);
36557 return 0;
36559 _ACEOF
36560 if ac_fn_cxx_try_compile "$LINENO"; then :
36561 glibcxx_cv_func_isnanf_use=yes
36562 else
36563 glibcxx_cv_func_isnanf_use=no
36565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36566 ac_ext=c
36567 ac_cpp='$CPP $CPPFLAGS'
36568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36577 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36579 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36580 for ac_func in isnanf
36581 do :
36582 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36583 if test "x$ac_cv_func_isnanf" = x""yes; then :
36584 cat >>confdefs.h <<_ACEOF
36585 #define HAVE_ISNANF 1
36586 _ACEOF
36589 done
36591 else
36593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36594 $as_echo_n "checking for _isnanf declaration... " >&6; }
36595 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36596 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
36597 $as_echo_n "(cached) " >&6
36598 else
36601 ac_ext=cpp
36602 ac_cpp='$CXXCPP $CPPFLAGS'
36603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36608 /* end confdefs.h. */
36609 #include <math.h>
36610 #ifdef HAVE_IEEEFP_H
36611 #include <ieeefp.h>
36612 #endif
36615 main ()
36617 _isnanf(0);
36619 return 0;
36621 _ACEOF
36622 if ac_fn_cxx_try_compile "$LINENO"; then :
36623 glibcxx_cv_func__isnanf_use=yes
36624 else
36625 glibcxx_cv_func__isnanf_use=no
36627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36628 ac_ext=c
36629 ac_cpp='$CPP $CPPFLAGS'
36630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36639 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36641 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36642 for ac_func in _isnanf
36643 do :
36644 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36645 if test "x$ac_cv_func__isnanf" = x""yes; then :
36646 cat >>confdefs.h <<_ACEOF
36647 #define HAVE__ISNANF 1
36648 _ACEOF
36651 done
36660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36661 $as_echo_n "checking for isinff declaration... " >&6; }
36662 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36663 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
36664 $as_echo_n "(cached) " >&6
36665 else
36668 ac_ext=cpp
36669 ac_cpp='$CXXCPP $CPPFLAGS'
36670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36675 /* end confdefs.h. */
36676 #include <math.h>
36677 #ifdef HAVE_IEEEFP_H
36678 #include <ieeefp.h>
36679 #endif
36682 main ()
36684 isinff(0);
36686 return 0;
36688 _ACEOF
36689 if ac_fn_cxx_try_compile "$LINENO"; then :
36690 glibcxx_cv_func_isinff_use=yes
36691 else
36692 glibcxx_cv_func_isinff_use=no
36694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36695 ac_ext=c
36696 ac_cpp='$CPP $CPPFLAGS'
36697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36706 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36708 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36709 for ac_func in isinff
36710 do :
36711 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36712 if test "x$ac_cv_func_isinff" = x""yes; then :
36713 cat >>confdefs.h <<_ACEOF
36714 #define HAVE_ISINFF 1
36715 _ACEOF
36718 done
36720 else
36722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36723 $as_echo_n "checking for _isinff declaration... " >&6; }
36724 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36725 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
36726 $as_echo_n "(cached) " >&6
36727 else
36730 ac_ext=cpp
36731 ac_cpp='$CXXCPP $CPPFLAGS'
36732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36737 /* end confdefs.h. */
36738 #include <math.h>
36739 #ifdef HAVE_IEEEFP_H
36740 #include <ieeefp.h>
36741 #endif
36744 main ()
36746 _isinff(0);
36748 return 0;
36750 _ACEOF
36751 if ac_fn_cxx_try_compile "$LINENO"; then :
36752 glibcxx_cv_func__isinff_use=yes
36753 else
36754 glibcxx_cv_func__isinff_use=no
36756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36757 ac_ext=c
36758 ac_cpp='$CPP $CPPFLAGS'
36759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
36768 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
36770 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36771 for ac_func in _isinff
36772 do :
36773 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
36774 if test "x$ac_cv_func__isinff" = x""yes; then :
36775 cat >>confdefs.h <<_ACEOF
36776 #define HAVE__ISINFF 1
36777 _ACEOF
36780 done
36789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
36790 $as_echo_n "checking for atan2f declaration... " >&6; }
36791 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36792 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
36793 $as_echo_n "(cached) " >&6
36794 else
36797 ac_ext=cpp
36798 ac_cpp='$CXXCPP $CPPFLAGS'
36799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36804 /* end confdefs.h. */
36805 #include <math.h>
36807 main ()
36809 atan2f(0, 0);
36811 return 0;
36813 _ACEOF
36814 if ac_fn_cxx_try_compile "$LINENO"; then :
36815 glibcxx_cv_func_atan2f_use=yes
36816 else
36817 glibcxx_cv_func_atan2f_use=no
36819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36820 ac_ext=c
36821 ac_cpp='$CPP $CPPFLAGS'
36822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
36831 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
36833 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36834 for ac_func in atan2f
36835 do :
36836 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
36837 if test "x$ac_cv_func_atan2f" = x""yes; then :
36838 cat >>confdefs.h <<_ACEOF
36839 #define HAVE_ATAN2F 1
36840 _ACEOF
36843 done
36845 else
36847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
36848 $as_echo_n "checking for _atan2f declaration... " >&6; }
36849 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36850 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
36851 $as_echo_n "(cached) " >&6
36852 else
36855 ac_ext=cpp
36856 ac_cpp='$CXXCPP $CPPFLAGS'
36857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36862 /* end confdefs.h. */
36863 #include <math.h>
36865 main ()
36867 _atan2f(0, 0);
36869 return 0;
36871 _ACEOF
36872 if ac_fn_cxx_try_compile "$LINENO"; then :
36873 glibcxx_cv_func__atan2f_use=yes
36874 else
36875 glibcxx_cv_func__atan2f_use=no
36877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36878 ac_ext=c
36879 ac_cpp='$CPP $CPPFLAGS'
36880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
36889 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
36891 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36892 for ac_func in _atan2f
36893 do :
36894 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
36895 if test "x$ac_cv_func__atan2f" = x""yes; then :
36896 cat >>confdefs.h <<_ACEOF
36897 #define HAVE__ATAN2F 1
36898 _ACEOF
36901 done
36910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
36911 $as_echo_n "checking for fabsf declaration... " >&6; }
36912 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36913 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
36914 $as_echo_n "(cached) " >&6
36915 else
36918 ac_ext=cpp
36919 ac_cpp='$CXXCPP $CPPFLAGS'
36920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36925 /* end confdefs.h. */
36926 #include <math.h>
36927 #ifdef HAVE_IEEEFP_H
36928 #include <ieeefp.h>
36929 #endif
36932 main ()
36934 fabsf(0);
36936 return 0;
36938 _ACEOF
36939 if ac_fn_cxx_try_compile "$LINENO"; then :
36940 glibcxx_cv_func_fabsf_use=yes
36941 else
36942 glibcxx_cv_func_fabsf_use=no
36944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36945 ac_ext=c
36946 ac_cpp='$CPP $CPPFLAGS'
36947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
36956 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
36958 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36959 for ac_func in fabsf
36960 do :
36961 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
36962 if test "x$ac_cv_func_fabsf" = x""yes; then :
36963 cat >>confdefs.h <<_ACEOF
36964 #define HAVE_FABSF 1
36965 _ACEOF
36968 done
36970 else
36972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
36973 $as_echo_n "checking for _fabsf declaration... " >&6; }
36974 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36975 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
36976 $as_echo_n "(cached) " >&6
36977 else
36980 ac_ext=cpp
36981 ac_cpp='$CXXCPP $CPPFLAGS'
36982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36987 /* end confdefs.h. */
36988 #include <math.h>
36989 #ifdef HAVE_IEEEFP_H
36990 #include <ieeefp.h>
36991 #endif
36994 main ()
36996 _fabsf(0);
36998 return 0;
37000 _ACEOF
37001 if ac_fn_cxx_try_compile "$LINENO"; then :
37002 glibcxx_cv_func__fabsf_use=yes
37003 else
37004 glibcxx_cv_func__fabsf_use=no
37006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37007 ac_ext=c
37008 ac_cpp='$CPP $CPPFLAGS'
37009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37018 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37020 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37021 for ac_func in _fabsf
37022 do :
37023 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37024 if test "x$ac_cv_func__fabsf" = x""yes; then :
37025 cat >>confdefs.h <<_ACEOF
37026 #define HAVE__FABSF 1
37027 _ACEOF
37030 done
37039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37040 $as_echo_n "checking for fmodf declaration... " >&6; }
37041 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37042 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
37043 $as_echo_n "(cached) " >&6
37044 else
37047 ac_ext=cpp
37048 ac_cpp='$CXXCPP $CPPFLAGS'
37049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37054 /* end confdefs.h. */
37055 #include <math.h>
37057 main ()
37059 fmodf(0, 0);
37061 return 0;
37063 _ACEOF
37064 if ac_fn_cxx_try_compile "$LINENO"; then :
37065 glibcxx_cv_func_fmodf_use=yes
37066 else
37067 glibcxx_cv_func_fmodf_use=no
37069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37070 ac_ext=c
37071 ac_cpp='$CPP $CPPFLAGS'
37072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37081 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37083 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37084 for ac_func in fmodf
37085 do :
37086 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37087 if test "x$ac_cv_func_fmodf" = x""yes; then :
37088 cat >>confdefs.h <<_ACEOF
37089 #define HAVE_FMODF 1
37090 _ACEOF
37093 done
37095 else
37097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37098 $as_echo_n "checking for _fmodf declaration... " >&6; }
37099 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37100 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
37101 $as_echo_n "(cached) " >&6
37102 else
37105 ac_ext=cpp
37106 ac_cpp='$CXXCPP $CPPFLAGS'
37107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37112 /* end confdefs.h. */
37113 #include <math.h>
37115 main ()
37117 _fmodf(0, 0);
37119 return 0;
37121 _ACEOF
37122 if ac_fn_cxx_try_compile "$LINENO"; then :
37123 glibcxx_cv_func__fmodf_use=yes
37124 else
37125 glibcxx_cv_func__fmodf_use=no
37127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37128 ac_ext=c
37129 ac_cpp='$CPP $CPPFLAGS'
37130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37139 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37141 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37142 for ac_func in _fmodf
37143 do :
37144 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37145 if test "x$ac_cv_func__fmodf" = x""yes; then :
37146 cat >>confdefs.h <<_ACEOF
37147 #define HAVE__FMODF 1
37148 _ACEOF
37151 done
37160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37161 $as_echo_n "checking for frexpf declaration... " >&6; }
37162 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37163 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
37164 $as_echo_n "(cached) " >&6
37165 else
37168 ac_ext=cpp
37169 ac_cpp='$CXXCPP $CPPFLAGS'
37170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37175 /* end confdefs.h. */
37176 #include <math.h>
37178 main ()
37180 frexpf(0, 0);
37182 return 0;
37184 _ACEOF
37185 if ac_fn_cxx_try_compile "$LINENO"; then :
37186 glibcxx_cv_func_frexpf_use=yes
37187 else
37188 glibcxx_cv_func_frexpf_use=no
37190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37191 ac_ext=c
37192 ac_cpp='$CPP $CPPFLAGS'
37193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37202 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37204 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37205 for ac_func in frexpf
37206 do :
37207 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37208 if test "x$ac_cv_func_frexpf" = x""yes; then :
37209 cat >>confdefs.h <<_ACEOF
37210 #define HAVE_FREXPF 1
37211 _ACEOF
37214 done
37216 else
37218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37219 $as_echo_n "checking for _frexpf declaration... " >&6; }
37220 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37221 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
37222 $as_echo_n "(cached) " >&6
37223 else
37226 ac_ext=cpp
37227 ac_cpp='$CXXCPP $CPPFLAGS'
37228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37233 /* end confdefs.h. */
37234 #include <math.h>
37236 main ()
37238 _frexpf(0, 0);
37240 return 0;
37242 _ACEOF
37243 if ac_fn_cxx_try_compile "$LINENO"; then :
37244 glibcxx_cv_func__frexpf_use=yes
37245 else
37246 glibcxx_cv_func__frexpf_use=no
37248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37249 ac_ext=c
37250 ac_cpp='$CPP $CPPFLAGS'
37251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37260 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37262 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37263 for ac_func in _frexpf
37264 do :
37265 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37266 if test "x$ac_cv_func__frexpf" = x""yes; then :
37267 cat >>confdefs.h <<_ACEOF
37268 #define HAVE__FREXPF 1
37269 _ACEOF
37272 done
37281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37282 $as_echo_n "checking for hypotf declaration... " >&6; }
37283 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37284 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
37285 $as_echo_n "(cached) " >&6
37286 else
37289 ac_ext=cpp
37290 ac_cpp='$CXXCPP $CPPFLAGS'
37291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37296 /* end confdefs.h. */
37297 #include <math.h>
37299 main ()
37301 hypotf(0, 0);
37303 return 0;
37305 _ACEOF
37306 if ac_fn_cxx_try_compile "$LINENO"; then :
37307 glibcxx_cv_func_hypotf_use=yes
37308 else
37309 glibcxx_cv_func_hypotf_use=no
37311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37312 ac_ext=c
37313 ac_cpp='$CPP $CPPFLAGS'
37314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37323 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37325 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37326 for ac_func in hypotf
37327 do :
37328 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37329 if test "x$ac_cv_func_hypotf" = x""yes; then :
37330 cat >>confdefs.h <<_ACEOF
37331 #define HAVE_HYPOTF 1
37332 _ACEOF
37335 done
37337 else
37339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37340 $as_echo_n "checking for _hypotf declaration... " >&6; }
37341 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37342 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
37343 $as_echo_n "(cached) " >&6
37344 else
37347 ac_ext=cpp
37348 ac_cpp='$CXXCPP $CPPFLAGS'
37349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37354 /* end confdefs.h. */
37355 #include <math.h>
37357 main ()
37359 _hypotf(0, 0);
37361 return 0;
37363 _ACEOF
37364 if ac_fn_cxx_try_compile "$LINENO"; then :
37365 glibcxx_cv_func__hypotf_use=yes
37366 else
37367 glibcxx_cv_func__hypotf_use=no
37369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37370 ac_ext=c
37371 ac_cpp='$CPP $CPPFLAGS'
37372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37381 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37383 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37384 for ac_func in _hypotf
37385 do :
37386 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37387 if test "x$ac_cv_func__hypotf" = x""yes; then :
37388 cat >>confdefs.h <<_ACEOF
37389 #define HAVE__HYPOTF 1
37390 _ACEOF
37393 done
37402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37403 $as_echo_n "checking for ldexpf declaration... " >&6; }
37404 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37405 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
37406 $as_echo_n "(cached) " >&6
37407 else
37410 ac_ext=cpp
37411 ac_cpp='$CXXCPP $CPPFLAGS'
37412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37417 /* end confdefs.h. */
37418 #include <math.h>
37420 main ()
37422 ldexpf(0, 0);
37424 return 0;
37426 _ACEOF
37427 if ac_fn_cxx_try_compile "$LINENO"; then :
37428 glibcxx_cv_func_ldexpf_use=yes
37429 else
37430 glibcxx_cv_func_ldexpf_use=no
37432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37433 ac_ext=c
37434 ac_cpp='$CPP $CPPFLAGS'
37435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37444 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37446 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37447 for ac_func in ldexpf
37448 do :
37449 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37450 if test "x$ac_cv_func_ldexpf" = x""yes; then :
37451 cat >>confdefs.h <<_ACEOF
37452 #define HAVE_LDEXPF 1
37453 _ACEOF
37456 done
37458 else
37460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37461 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37462 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37463 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
37464 $as_echo_n "(cached) " >&6
37465 else
37468 ac_ext=cpp
37469 ac_cpp='$CXXCPP $CPPFLAGS'
37470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37475 /* end confdefs.h. */
37476 #include <math.h>
37478 main ()
37480 _ldexpf(0, 0);
37482 return 0;
37484 _ACEOF
37485 if ac_fn_cxx_try_compile "$LINENO"; then :
37486 glibcxx_cv_func__ldexpf_use=yes
37487 else
37488 glibcxx_cv_func__ldexpf_use=no
37490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37491 ac_ext=c
37492 ac_cpp='$CPP $CPPFLAGS'
37493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37502 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37504 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37505 for ac_func in _ldexpf
37506 do :
37507 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37508 if test "x$ac_cv_func__ldexpf" = x""yes; then :
37509 cat >>confdefs.h <<_ACEOF
37510 #define HAVE__LDEXPF 1
37511 _ACEOF
37514 done
37523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37524 $as_echo_n "checking for logf declaration... " >&6; }
37525 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37526 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
37527 $as_echo_n "(cached) " >&6
37528 else
37531 ac_ext=cpp
37532 ac_cpp='$CXXCPP $CPPFLAGS'
37533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37538 /* end confdefs.h. */
37539 #include <math.h>
37540 #ifdef HAVE_IEEEFP_H
37541 #include <ieeefp.h>
37542 #endif
37545 main ()
37547 logf(0);
37549 return 0;
37551 _ACEOF
37552 if ac_fn_cxx_try_compile "$LINENO"; then :
37553 glibcxx_cv_func_logf_use=yes
37554 else
37555 glibcxx_cv_func_logf_use=no
37557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37558 ac_ext=c
37559 ac_cpp='$CPP $CPPFLAGS'
37560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37569 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37571 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37572 for ac_func in logf
37573 do :
37574 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37575 if test "x$ac_cv_func_logf" = x""yes; then :
37576 cat >>confdefs.h <<_ACEOF
37577 #define HAVE_LOGF 1
37578 _ACEOF
37581 done
37583 else
37585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37586 $as_echo_n "checking for _logf declaration... " >&6; }
37587 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37588 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
37589 $as_echo_n "(cached) " >&6
37590 else
37593 ac_ext=cpp
37594 ac_cpp='$CXXCPP $CPPFLAGS'
37595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37600 /* end confdefs.h. */
37601 #include <math.h>
37602 #ifdef HAVE_IEEEFP_H
37603 #include <ieeefp.h>
37604 #endif
37607 main ()
37609 _logf(0);
37611 return 0;
37613 _ACEOF
37614 if ac_fn_cxx_try_compile "$LINENO"; then :
37615 glibcxx_cv_func__logf_use=yes
37616 else
37617 glibcxx_cv_func__logf_use=no
37619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37620 ac_ext=c
37621 ac_cpp='$CPP $CPPFLAGS'
37622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37631 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37633 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37634 for ac_func in _logf
37635 do :
37636 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37637 if test "x$ac_cv_func__logf" = x""yes; then :
37638 cat >>confdefs.h <<_ACEOF
37639 #define HAVE__LOGF 1
37640 _ACEOF
37643 done
37652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37653 $as_echo_n "checking for log10f declaration... " >&6; }
37654 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37655 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
37656 $as_echo_n "(cached) " >&6
37657 else
37660 ac_ext=cpp
37661 ac_cpp='$CXXCPP $CPPFLAGS'
37662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37667 /* end confdefs.h. */
37668 #include <math.h>
37669 #ifdef HAVE_IEEEFP_H
37670 #include <ieeefp.h>
37671 #endif
37674 main ()
37676 log10f(0);
37678 return 0;
37680 _ACEOF
37681 if ac_fn_cxx_try_compile "$LINENO"; then :
37682 glibcxx_cv_func_log10f_use=yes
37683 else
37684 glibcxx_cv_func_log10f_use=no
37686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37687 ac_ext=c
37688 ac_cpp='$CPP $CPPFLAGS'
37689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37698 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37700 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37701 for ac_func in log10f
37702 do :
37703 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37704 if test "x$ac_cv_func_log10f" = x""yes; then :
37705 cat >>confdefs.h <<_ACEOF
37706 #define HAVE_LOG10F 1
37707 _ACEOF
37710 done
37712 else
37714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37715 $as_echo_n "checking for _log10f declaration... " >&6; }
37716 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37717 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
37718 $as_echo_n "(cached) " >&6
37719 else
37722 ac_ext=cpp
37723 ac_cpp='$CXXCPP $CPPFLAGS'
37724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37729 /* end confdefs.h. */
37730 #include <math.h>
37731 #ifdef HAVE_IEEEFP_H
37732 #include <ieeefp.h>
37733 #endif
37736 main ()
37738 _log10f(0);
37740 return 0;
37742 _ACEOF
37743 if ac_fn_cxx_try_compile "$LINENO"; then :
37744 glibcxx_cv_func__log10f_use=yes
37745 else
37746 glibcxx_cv_func__log10f_use=no
37748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37749 ac_ext=c
37750 ac_cpp='$CPP $CPPFLAGS'
37751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
37760 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
37762 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
37763 for ac_func in _log10f
37764 do :
37765 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
37766 if test "x$ac_cv_func__log10f" = x""yes; then :
37767 cat >>confdefs.h <<_ACEOF
37768 #define HAVE__LOG10F 1
37769 _ACEOF
37772 done
37781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
37782 $as_echo_n "checking for modff declaration... " >&6; }
37783 if test x${glibcxx_cv_func_modff_use+set} != xset; then
37784 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
37785 $as_echo_n "(cached) " >&6
37786 else
37789 ac_ext=cpp
37790 ac_cpp='$CXXCPP $CPPFLAGS'
37791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37796 /* end confdefs.h. */
37797 #include <math.h>
37799 main ()
37801 modff(0, 0);
37803 return 0;
37805 _ACEOF
37806 if ac_fn_cxx_try_compile "$LINENO"; then :
37807 glibcxx_cv_func_modff_use=yes
37808 else
37809 glibcxx_cv_func_modff_use=no
37811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37812 ac_ext=c
37813 ac_cpp='$CPP $CPPFLAGS'
37814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
37823 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
37825 if test x$glibcxx_cv_func_modff_use = x"yes"; then
37826 for ac_func in modff
37827 do :
37828 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
37829 if test "x$ac_cv_func_modff" = x""yes; then :
37830 cat >>confdefs.h <<_ACEOF
37831 #define HAVE_MODFF 1
37832 _ACEOF
37835 done
37837 else
37839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
37840 $as_echo_n "checking for _modff declaration... " >&6; }
37841 if test x${glibcxx_cv_func__modff_use+set} != xset; then
37842 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
37843 $as_echo_n "(cached) " >&6
37844 else
37847 ac_ext=cpp
37848 ac_cpp='$CXXCPP $CPPFLAGS'
37849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37854 /* end confdefs.h. */
37855 #include <math.h>
37857 main ()
37859 _modff(0, 0);
37861 return 0;
37863 _ACEOF
37864 if ac_fn_cxx_try_compile "$LINENO"; then :
37865 glibcxx_cv_func__modff_use=yes
37866 else
37867 glibcxx_cv_func__modff_use=no
37869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37870 ac_ext=c
37871 ac_cpp='$CPP $CPPFLAGS'
37872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
37881 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
37883 if test x$glibcxx_cv_func__modff_use = x"yes"; then
37884 for ac_func in _modff
37885 do :
37886 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
37887 if test "x$ac_cv_func__modff" = x""yes; then :
37888 cat >>confdefs.h <<_ACEOF
37889 #define HAVE__MODFF 1
37890 _ACEOF
37893 done
37902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
37903 $as_echo_n "checking for modf declaration... " >&6; }
37904 if test x${glibcxx_cv_func_modf_use+set} != xset; then
37905 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
37906 $as_echo_n "(cached) " >&6
37907 else
37910 ac_ext=cpp
37911 ac_cpp='$CXXCPP $CPPFLAGS'
37912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37917 /* end confdefs.h. */
37918 #include <math.h>
37920 main ()
37922 modf(0, 0);
37924 return 0;
37926 _ACEOF
37927 if ac_fn_cxx_try_compile "$LINENO"; then :
37928 glibcxx_cv_func_modf_use=yes
37929 else
37930 glibcxx_cv_func_modf_use=no
37932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37933 ac_ext=c
37934 ac_cpp='$CPP $CPPFLAGS'
37935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
37944 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
37946 if test x$glibcxx_cv_func_modf_use = x"yes"; then
37947 for ac_func in modf
37948 do :
37949 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
37950 if test "x$ac_cv_func_modf" = x""yes; then :
37951 cat >>confdefs.h <<_ACEOF
37952 #define HAVE_MODF 1
37953 _ACEOF
37956 done
37958 else
37960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
37961 $as_echo_n "checking for _modf declaration... " >&6; }
37962 if test x${glibcxx_cv_func__modf_use+set} != xset; then
37963 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
37964 $as_echo_n "(cached) " >&6
37965 else
37968 ac_ext=cpp
37969 ac_cpp='$CXXCPP $CPPFLAGS'
37970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37975 /* end confdefs.h. */
37976 #include <math.h>
37978 main ()
37980 _modf(0, 0);
37982 return 0;
37984 _ACEOF
37985 if ac_fn_cxx_try_compile "$LINENO"; then :
37986 glibcxx_cv_func__modf_use=yes
37987 else
37988 glibcxx_cv_func__modf_use=no
37990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37991 ac_ext=c
37992 ac_cpp='$CPP $CPPFLAGS'
37993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
38002 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
38004 if test x$glibcxx_cv_func__modf_use = x"yes"; then
38005 for ac_func in _modf
38006 do :
38007 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
38008 if test "x$ac_cv_func__modf" = x""yes; then :
38009 cat >>confdefs.h <<_ACEOF
38010 #define HAVE__MODF 1
38011 _ACEOF
38014 done
38023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38024 $as_echo_n "checking for powf declaration... " >&6; }
38025 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38026 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
38027 $as_echo_n "(cached) " >&6
38028 else
38031 ac_ext=cpp
38032 ac_cpp='$CXXCPP $CPPFLAGS'
38033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38038 /* end confdefs.h. */
38039 #include <math.h>
38041 main ()
38043 powf(0, 0);
38045 return 0;
38047 _ACEOF
38048 if ac_fn_cxx_try_compile "$LINENO"; then :
38049 glibcxx_cv_func_powf_use=yes
38050 else
38051 glibcxx_cv_func_powf_use=no
38053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38054 ac_ext=c
38055 ac_cpp='$CPP $CPPFLAGS'
38056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38065 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38067 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38068 for ac_func in powf
38069 do :
38070 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38071 if test "x$ac_cv_func_powf" = x""yes; then :
38072 cat >>confdefs.h <<_ACEOF
38073 #define HAVE_POWF 1
38074 _ACEOF
38077 done
38079 else
38081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38082 $as_echo_n "checking for _powf declaration... " >&6; }
38083 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38084 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
38085 $as_echo_n "(cached) " >&6
38086 else
38089 ac_ext=cpp
38090 ac_cpp='$CXXCPP $CPPFLAGS'
38091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38096 /* end confdefs.h. */
38097 #include <math.h>
38099 main ()
38101 _powf(0, 0);
38103 return 0;
38105 _ACEOF
38106 if ac_fn_cxx_try_compile "$LINENO"; then :
38107 glibcxx_cv_func__powf_use=yes
38108 else
38109 glibcxx_cv_func__powf_use=no
38111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38112 ac_ext=c
38113 ac_cpp='$CPP $CPPFLAGS'
38114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38123 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38125 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38126 for ac_func in _powf
38127 do :
38128 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38129 if test "x$ac_cv_func__powf" = x""yes; then :
38130 cat >>confdefs.h <<_ACEOF
38131 #define HAVE__POWF 1
38132 _ACEOF
38135 done
38144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38145 $as_echo_n "checking for sqrtf declaration... " >&6; }
38146 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38147 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
38148 $as_echo_n "(cached) " >&6
38149 else
38152 ac_ext=cpp
38153 ac_cpp='$CXXCPP $CPPFLAGS'
38154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38159 /* end confdefs.h. */
38160 #include <math.h>
38161 #ifdef HAVE_IEEEFP_H
38162 #include <ieeefp.h>
38163 #endif
38166 main ()
38168 sqrtf(0);
38170 return 0;
38172 _ACEOF
38173 if ac_fn_cxx_try_compile "$LINENO"; then :
38174 glibcxx_cv_func_sqrtf_use=yes
38175 else
38176 glibcxx_cv_func_sqrtf_use=no
38178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38179 ac_ext=c
38180 ac_cpp='$CPP $CPPFLAGS'
38181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38190 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38192 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38193 for ac_func in sqrtf
38194 do :
38195 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38196 if test "x$ac_cv_func_sqrtf" = x""yes; then :
38197 cat >>confdefs.h <<_ACEOF
38198 #define HAVE_SQRTF 1
38199 _ACEOF
38202 done
38204 else
38206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38207 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38208 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38209 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
38210 $as_echo_n "(cached) " >&6
38211 else
38214 ac_ext=cpp
38215 ac_cpp='$CXXCPP $CPPFLAGS'
38216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38221 /* end confdefs.h. */
38222 #include <math.h>
38223 #ifdef HAVE_IEEEFP_H
38224 #include <ieeefp.h>
38225 #endif
38228 main ()
38230 _sqrtf(0);
38232 return 0;
38234 _ACEOF
38235 if ac_fn_cxx_try_compile "$LINENO"; then :
38236 glibcxx_cv_func__sqrtf_use=yes
38237 else
38238 glibcxx_cv_func__sqrtf_use=no
38240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38241 ac_ext=c
38242 ac_cpp='$CPP $CPPFLAGS'
38243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38252 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38254 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38255 for ac_func in _sqrtf
38256 do :
38257 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38258 if test "x$ac_cv_func__sqrtf" = x""yes; then :
38259 cat >>confdefs.h <<_ACEOF
38260 #define HAVE__SQRTF 1
38261 _ACEOF
38264 done
38273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38274 $as_echo_n "checking for sincosf declaration... " >&6; }
38275 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38276 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
38277 $as_echo_n "(cached) " >&6
38278 else
38281 ac_ext=cpp
38282 ac_cpp='$CXXCPP $CPPFLAGS'
38283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38288 /* end confdefs.h. */
38289 #include <math.h>
38291 main ()
38293 sincosf(0, 0, 0);
38295 return 0;
38297 _ACEOF
38298 if ac_fn_cxx_try_compile "$LINENO"; then :
38299 glibcxx_cv_func_sincosf_use=yes
38300 else
38301 glibcxx_cv_func_sincosf_use=no
38303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38304 ac_ext=c
38305 ac_cpp='$CPP $CPPFLAGS'
38306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38315 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38317 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38318 for ac_func in sincosf
38319 do :
38320 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38321 if test "x$ac_cv_func_sincosf" = x""yes; then :
38322 cat >>confdefs.h <<_ACEOF
38323 #define HAVE_SINCOSF 1
38324 _ACEOF
38327 done
38329 else
38331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38332 $as_echo_n "checking for _sincosf declaration... " >&6; }
38333 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38334 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
38335 $as_echo_n "(cached) " >&6
38336 else
38339 ac_ext=cpp
38340 ac_cpp='$CXXCPP $CPPFLAGS'
38341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38346 /* end confdefs.h. */
38347 #include <math.h>
38349 main ()
38351 _sincosf(0, 0, 0);
38353 return 0;
38355 _ACEOF
38356 if ac_fn_cxx_try_compile "$LINENO"; then :
38357 glibcxx_cv_func__sincosf_use=yes
38358 else
38359 glibcxx_cv_func__sincosf_use=no
38361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38362 ac_ext=c
38363 ac_cpp='$CPP $CPPFLAGS'
38364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38373 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38375 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38376 for ac_func in _sincosf
38377 do :
38378 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38379 if test "x$ac_cv_func__sincosf" = x""yes; then :
38380 cat >>confdefs.h <<_ACEOF
38381 #define HAVE__SINCOSF 1
38382 _ACEOF
38385 done
38394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38395 $as_echo_n "checking for finitef declaration... " >&6; }
38396 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38397 if test "${glibcxx_cv_func_finitef_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>
38411 #ifdef HAVE_IEEEFP_H
38412 #include <ieeefp.h>
38413 #endif
38416 main ()
38418 finitef(0);
38420 return 0;
38422 _ACEOF
38423 if ac_fn_cxx_try_compile "$LINENO"; then :
38424 glibcxx_cv_func_finitef_use=yes
38425 else
38426 glibcxx_cv_func_finitef_use=no
38428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38429 ac_ext=c
38430 ac_cpp='$CPP $CPPFLAGS'
38431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38440 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38442 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38443 for ac_func in finitef
38444 do :
38445 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38446 if test "x$ac_cv_func_finitef" = x""yes; then :
38447 cat >>confdefs.h <<_ACEOF
38448 #define HAVE_FINITEF 1
38449 _ACEOF
38452 done
38454 else
38456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38457 $as_echo_n "checking for _finitef declaration... " >&6; }
38458 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38459 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
38460 $as_echo_n "(cached) " >&6
38461 else
38464 ac_ext=cpp
38465 ac_cpp='$CXXCPP $CPPFLAGS'
38466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38471 /* end confdefs.h. */
38472 #include <math.h>
38473 #ifdef HAVE_IEEEFP_H
38474 #include <ieeefp.h>
38475 #endif
38478 main ()
38480 _finitef(0);
38482 return 0;
38484 _ACEOF
38485 if ac_fn_cxx_try_compile "$LINENO"; then :
38486 glibcxx_cv_func__finitef_use=yes
38487 else
38488 glibcxx_cv_func__finitef_use=no
38490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38491 ac_ext=c
38492 ac_cpp='$CPP $CPPFLAGS'
38493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38502 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38504 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38505 for ac_func in _finitef
38506 do :
38507 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38508 if test "x$ac_cv_func__finitef" = x""yes; then :
38509 cat >>confdefs.h <<_ACEOF
38510 #define HAVE__FINITEF 1
38511 _ACEOF
38514 done
38523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38524 $as_echo_n "checking for long double trig functions... " >&6; }
38525 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
38526 $as_echo_n "(cached) " >&6
38527 else
38530 ac_ext=cpp
38531 ac_cpp='$CXXCPP $CPPFLAGS'
38532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38537 /* end confdefs.h. */
38538 #include <math.h>
38540 main ()
38542 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38544 return 0;
38546 _ACEOF
38547 if ac_fn_cxx_try_compile "$LINENO"; then :
38548 glibcxx_cv_func_long_double_trig_use=yes
38549 else
38550 glibcxx_cv_func_long_double_trig_use=no
38552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38553 ac_ext=c
38554 ac_cpp='$CPP $CPPFLAGS'
38555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38562 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38563 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38564 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38565 do :
38566 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38567 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38568 eval as_val=\$$as_ac_var
38569 if test "x$as_val" = x""yes; then :
38570 cat >>confdefs.h <<_ACEOF
38571 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38572 _ACEOF
38575 done
38577 else
38578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38579 $as_echo_n "checking for _long double trig functions... " >&6; }
38580 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
38581 $as_echo_n "(cached) " >&6
38582 else
38585 ac_ext=cpp
38586 ac_cpp='$CXXCPP $CPPFLAGS'
38587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38592 /* end confdefs.h. */
38593 #include <math.h>
38595 main ()
38597 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38599 return 0;
38601 _ACEOF
38602 if ac_fn_cxx_try_compile "$LINENO"; then :
38603 glibcxx_cv_func__long_double_trig_use=yes
38604 else
38605 glibcxx_cv_func__long_double_trig_use=no
38607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38608 ac_ext=c
38609 ac_cpp='$CPP $CPPFLAGS'
38610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38617 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38618 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38619 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38620 do :
38621 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38622 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38623 eval as_val=\$$as_ac_var
38624 if test "x$as_val" = x""yes; then :
38625 cat >>confdefs.h <<_ACEOF
38626 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38627 _ACEOF
38630 done
38639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38640 $as_echo_n "checking for long double round functions... " >&6; }
38641 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
38642 $as_echo_n "(cached) " >&6
38643 else
38646 ac_ext=cpp
38647 ac_cpp='$CXXCPP $CPPFLAGS'
38648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38653 /* end confdefs.h. */
38654 #include <math.h>
38656 main ()
38658 ceill (0); floorl (0);
38660 return 0;
38662 _ACEOF
38663 if ac_fn_cxx_try_compile "$LINENO"; then :
38664 glibcxx_cv_func_long_double_round_use=yes
38665 else
38666 glibcxx_cv_func_long_double_round_use=no
38668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38669 ac_ext=c
38670 ac_cpp='$CPP $CPPFLAGS'
38671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38678 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38679 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38680 for ac_func in ceill floorl
38681 do :
38682 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38683 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38684 eval as_val=\$$as_ac_var
38685 if test "x$as_val" = x""yes; then :
38686 cat >>confdefs.h <<_ACEOF
38687 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38688 _ACEOF
38691 done
38693 else
38694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38695 $as_echo_n "checking for _long double round functions... " >&6; }
38696 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
38697 $as_echo_n "(cached) " >&6
38698 else
38701 ac_ext=cpp
38702 ac_cpp='$CXXCPP $CPPFLAGS'
38703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38708 /* end confdefs.h. */
38709 #include <math.h>
38711 main ()
38713 _ceill (0); _floorl (0);
38715 return 0;
38717 _ACEOF
38718 if ac_fn_cxx_try_compile "$LINENO"; then :
38719 glibcxx_cv_func__long_double_round_use=yes
38720 else
38721 glibcxx_cv_func__long_double_round_use=no
38723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38724 ac_ext=c
38725 ac_cpp='$CPP $CPPFLAGS'
38726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38733 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38734 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38735 for ac_func in _ceill _floorl
38736 do :
38737 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38738 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38739 eval as_val=\$$as_ac_var
38740 if test "x$as_val" = x""yes; then :
38741 cat >>confdefs.h <<_ACEOF
38742 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38743 _ACEOF
38746 done
38756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
38757 $as_echo_n "checking for isnanl declaration... " >&6; }
38758 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
38759 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
38760 $as_echo_n "(cached) " >&6
38761 else
38764 ac_ext=cpp
38765 ac_cpp='$CXXCPP $CPPFLAGS'
38766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38771 /* end confdefs.h. */
38772 #include <math.h>
38773 #ifdef HAVE_IEEEFP_H
38774 #include <ieeefp.h>
38775 #endif
38778 main ()
38780 isnanl(0);
38782 return 0;
38784 _ACEOF
38785 if ac_fn_cxx_try_compile "$LINENO"; then :
38786 glibcxx_cv_func_isnanl_use=yes
38787 else
38788 glibcxx_cv_func_isnanl_use=no
38790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38791 ac_ext=c
38792 ac_cpp='$CPP $CPPFLAGS'
38793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
38802 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
38804 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
38805 for ac_func in isnanl
38806 do :
38807 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
38808 if test "x$ac_cv_func_isnanl" = x""yes; then :
38809 cat >>confdefs.h <<_ACEOF
38810 #define HAVE_ISNANL 1
38811 _ACEOF
38814 done
38816 else
38818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
38819 $as_echo_n "checking for _isnanl declaration... " >&6; }
38820 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
38821 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
38822 $as_echo_n "(cached) " >&6
38823 else
38826 ac_ext=cpp
38827 ac_cpp='$CXXCPP $CPPFLAGS'
38828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38833 /* end confdefs.h. */
38834 #include <math.h>
38835 #ifdef HAVE_IEEEFP_H
38836 #include <ieeefp.h>
38837 #endif
38840 main ()
38842 _isnanl(0);
38844 return 0;
38846 _ACEOF
38847 if ac_fn_cxx_try_compile "$LINENO"; then :
38848 glibcxx_cv_func__isnanl_use=yes
38849 else
38850 glibcxx_cv_func__isnanl_use=no
38852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38853 ac_ext=c
38854 ac_cpp='$CPP $CPPFLAGS'
38855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
38864 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
38866 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
38867 for ac_func in _isnanl
38868 do :
38869 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
38870 if test "x$ac_cv_func__isnanl" = x""yes; then :
38871 cat >>confdefs.h <<_ACEOF
38872 #define HAVE__ISNANL 1
38873 _ACEOF
38876 done
38885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
38886 $as_echo_n "checking for isinfl declaration... " >&6; }
38887 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
38888 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
38889 $as_echo_n "(cached) " >&6
38890 else
38893 ac_ext=cpp
38894 ac_cpp='$CXXCPP $CPPFLAGS'
38895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38900 /* end confdefs.h. */
38901 #include <math.h>
38902 #ifdef HAVE_IEEEFP_H
38903 #include <ieeefp.h>
38904 #endif
38907 main ()
38909 isinfl(0);
38911 return 0;
38913 _ACEOF
38914 if ac_fn_cxx_try_compile "$LINENO"; then :
38915 glibcxx_cv_func_isinfl_use=yes
38916 else
38917 glibcxx_cv_func_isinfl_use=no
38919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38920 ac_ext=c
38921 ac_cpp='$CPP $CPPFLAGS'
38922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
38931 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
38933 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
38934 for ac_func in isinfl
38935 do :
38936 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
38937 if test "x$ac_cv_func_isinfl" = x""yes; then :
38938 cat >>confdefs.h <<_ACEOF
38939 #define HAVE_ISINFL 1
38940 _ACEOF
38943 done
38945 else
38947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
38948 $as_echo_n "checking for _isinfl declaration... " >&6; }
38949 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
38950 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
38951 $as_echo_n "(cached) " >&6
38952 else
38955 ac_ext=cpp
38956 ac_cpp='$CXXCPP $CPPFLAGS'
38957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38962 /* end confdefs.h. */
38963 #include <math.h>
38964 #ifdef HAVE_IEEEFP_H
38965 #include <ieeefp.h>
38966 #endif
38969 main ()
38971 _isinfl(0);
38973 return 0;
38975 _ACEOF
38976 if ac_fn_cxx_try_compile "$LINENO"; then :
38977 glibcxx_cv_func__isinfl_use=yes
38978 else
38979 glibcxx_cv_func__isinfl_use=no
38981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38982 ac_ext=c
38983 ac_cpp='$CPP $CPPFLAGS'
38984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
38993 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
38995 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
38996 for ac_func in _isinfl
38997 do :
38998 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
38999 if test "x$ac_cv_func__isinfl" = x""yes; then :
39000 cat >>confdefs.h <<_ACEOF
39001 #define HAVE__ISINFL 1
39002 _ACEOF
39005 done
39014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39015 $as_echo_n "checking for atan2l declaration... " >&6; }
39016 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39017 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
39018 $as_echo_n "(cached) " >&6
39019 else
39022 ac_ext=cpp
39023 ac_cpp='$CXXCPP $CPPFLAGS'
39024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39029 /* end confdefs.h. */
39030 #include <math.h>
39032 main ()
39034 atan2l(0, 0);
39036 return 0;
39038 _ACEOF
39039 if ac_fn_cxx_try_compile "$LINENO"; then :
39040 glibcxx_cv_func_atan2l_use=yes
39041 else
39042 glibcxx_cv_func_atan2l_use=no
39044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39045 ac_ext=c
39046 ac_cpp='$CPP $CPPFLAGS'
39047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39056 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39058 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39059 for ac_func in atan2l
39060 do :
39061 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39062 if test "x$ac_cv_func_atan2l" = x""yes; then :
39063 cat >>confdefs.h <<_ACEOF
39064 #define HAVE_ATAN2L 1
39065 _ACEOF
39068 done
39070 else
39072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39073 $as_echo_n "checking for _atan2l declaration... " >&6; }
39074 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39075 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
39076 $as_echo_n "(cached) " >&6
39077 else
39080 ac_ext=cpp
39081 ac_cpp='$CXXCPP $CPPFLAGS'
39082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39087 /* end confdefs.h. */
39088 #include <math.h>
39090 main ()
39092 _atan2l(0, 0);
39094 return 0;
39096 _ACEOF
39097 if ac_fn_cxx_try_compile "$LINENO"; then :
39098 glibcxx_cv_func__atan2l_use=yes
39099 else
39100 glibcxx_cv_func__atan2l_use=no
39102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39103 ac_ext=c
39104 ac_cpp='$CPP $CPPFLAGS'
39105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39114 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39116 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39117 for ac_func in _atan2l
39118 do :
39119 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39120 if test "x$ac_cv_func__atan2l" = x""yes; then :
39121 cat >>confdefs.h <<_ACEOF
39122 #define HAVE__ATAN2L 1
39123 _ACEOF
39126 done
39135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39136 $as_echo_n "checking for expl declaration... " >&6; }
39137 if test x${glibcxx_cv_func_expl_use+set} != xset; then
39138 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
39139 $as_echo_n "(cached) " >&6
39140 else
39143 ac_ext=cpp
39144 ac_cpp='$CXXCPP $CPPFLAGS'
39145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39150 /* end confdefs.h. */
39151 #include <math.h>
39152 #ifdef HAVE_IEEEFP_H
39153 #include <ieeefp.h>
39154 #endif
39157 main ()
39159 expl(0);
39161 return 0;
39163 _ACEOF
39164 if ac_fn_cxx_try_compile "$LINENO"; then :
39165 glibcxx_cv_func_expl_use=yes
39166 else
39167 glibcxx_cv_func_expl_use=no
39169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39170 ac_ext=c
39171 ac_cpp='$CPP $CPPFLAGS'
39172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39181 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
39183 if test x$glibcxx_cv_func_expl_use = x"yes"; then
39184 for ac_func in expl
39185 do :
39186 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39187 if test "x$ac_cv_func_expl" = x""yes; then :
39188 cat >>confdefs.h <<_ACEOF
39189 #define HAVE_EXPL 1
39190 _ACEOF
39193 done
39195 else
39197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39198 $as_echo_n "checking for _expl declaration... " >&6; }
39199 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39200 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
39201 $as_echo_n "(cached) " >&6
39202 else
39205 ac_ext=cpp
39206 ac_cpp='$CXXCPP $CPPFLAGS'
39207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39212 /* end confdefs.h. */
39213 #include <math.h>
39214 #ifdef HAVE_IEEEFP_H
39215 #include <ieeefp.h>
39216 #endif
39219 main ()
39221 _expl(0);
39223 return 0;
39225 _ACEOF
39226 if ac_fn_cxx_try_compile "$LINENO"; then :
39227 glibcxx_cv_func__expl_use=yes
39228 else
39229 glibcxx_cv_func__expl_use=no
39231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39232 ac_ext=c
39233 ac_cpp='$CPP $CPPFLAGS'
39234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39243 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39245 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39246 for ac_func in _expl
39247 do :
39248 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39249 if test "x$ac_cv_func__expl" = x""yes; then :
39250 cat >>confdefs.h <<_ACEOF
39251 #define HAVE__EXPL 1
39252 _ACEOF
39255 done
39264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39265 $as_echo_n "checking for fabsl declaration... " >&6; }
39266 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39267 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
39268 $as_echo_n "(cached) " >&6
39269 else
39272 ac_ext=cpp
39273 ac_cpp='$CXXCPP $CPPFLAGS'
39274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39279 /* end confdefs.h. */
39280 #include <math.h>
39281 #ifdef HAVE_IEEEFP_H
39282 #include <ieeefp.h>
39283 #endif
39286 main ()
39288 fabsl(0);
39290 return 0;
39292 _ACEOF
39293 if ac_fn_cxx_try_compile "$LINENO"; then :
39294 glibcxx_cv_func_fabsl_use=yes
39295 else
39296 glibcxx_cv_func_fabsl_use=no
39298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39299 ac_ext=c
39300 ac_cpp='$CPP $CPPFLAGS'
39301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39310 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39312 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39313 for ac_func in fabsl
39314 do :
39315 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39316 if test "x$ac_cv_func_fabsl" = x""yes; then :
39317 cat >>confdefs.h <<_ACEOF
39318 #define HAVE_FABSL 1
39319 _ACEOF
39322 done
39324 else
39326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39327 $as_echo_n "checking for _fabsl declaration... " >&6; }
39328 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39329 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
39330 $as_echo_n "(cached) " >&6
39331 else
39334 ac_ext=cpp
39335 ac_cpp='$CXXCPP $CPPFLAGS'
39336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39341 /* end confdefs.h. */
39342 #include <math.h>
39343 #ifdef HAVE_IEEEFP_H
39344 #include <ieeefp.h>
39345 #endif
39348 main ()
39350 _fabsl(0);
39352 return 0;
39354 _ACEOF
39355 if ac_fn_cxx_try_compile "$LINENO"; then :
39356 glibcxx_cv_func__fabsl_use=yes
39357 else
39358 glibcxx_cv_func__fabsl_use=no
39360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39361 ac_ext=c
39362 ac_cpp='$CPP $CPPFLAGS'
39363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39372 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39374 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39375 for ac_func in _fabsl
39376 do :
39377 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39378 if test "x$ac_cv_func__fabsl" = x""yes; then :
39379 cat >>confdefs.h <<_ACEOF
39380 #define HAVE__FABSL 1
39381 _ACEOF
39384 done
39393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39394 $as_echo_n "checking for fmodl declaration... " >&6; }
39395 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39396 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
39397 $as_echo_n "(cached) " >&6
39398 else
39401 ac_ext=cpp
39402 ac_cpp='$CXXCPP $CPPFLAGS'
39403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39408 /* end confdefs.h. */
39409 #include <math.h>
39411 main ()
39413 fmodl(0, 0);
39415 return 0;
39417 _ACEOF
39418 if ac_fn_cxx_try_compile "$LINENO"; then :
39419 glibcxx_cv_func_fmodl_use=yes
39420 else
39421 glibcxx_cv_func_fmodl_use=no
39423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39424 ac_ext=c
39425 ac_cpp='$CPP $CPPFLAGS'
39426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39435 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39437 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39438 for ac_func in fmodl
39439 do :
39440 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39441 if test "x$ac_cv_func_fmodl" = x""yes; then :
39442 cat >>confdefs.h <<_ACEOF
39443 #define HAVE_FMODL 1
39444 _ACEOF
39447 done
39449 else
39451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39452 $as_echo_n "checking for _fmodl declaration... " >&6; }
39453 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39454 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
39455 $as_echo_n "(cached) " >&6
39456 else
39459 ac_ext=cpp
39460 ac_cpp='$CXXCPP $CPPFLAGS'
39461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39466 /* end confdefs.h. */
39467 #include <math.h>
39469 main ()
39471 _fmodl(0, 0);
39473 return 0;
39475 _ACEOF
39476 if ac_fn_cxx_try_compile "$LINENO"; then :
39477 glibcxx_cv_func__fmodl_use=yes
39478 else
39479 glibcxx_cv_func__fmodl_use=no
39481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39482 ac_ext=c
39483 ac_cpp='$CPP $CPPFLAGS'
39484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39493 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39495 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39496 for ac_func in _fmodl
39497 do :
39498 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39499 if test "x$ac_cv_func__fmodl" = x""yes; then :
39500 cat >>confdefs.h <<_ACEOF
39501 #define HAVE__FMODL 1
39502 _ACEOF
39505 done
39514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39515 $as_echo_n "checking for frexpl declaration... " >&6; }
39516 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39517 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
39518 $as_echo_n "(cached) " >&6
39519 else
39522 ac_ext=cpp
39523 ac_cpp='$CXXCPP $CPPFLAGS'
39524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39529 /* end confdefs.h. */
39530 #include <math.h>
39532 main ()
39534 frexpl(0, 0);
39536 return 0;
39538 _ACEOF
39539 if ac_fn_cxx_try_compile "$LINENO"; then :
39540 glibcxx_cv_func_frexpl_use=yes
39541 else
39542 glibcxx_cv_func_frexpl_use=no
39544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39545 ac_ext=c
39546 ac_cpp='$CPP $CPPFLAGS'
39547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39556 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39558 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39559 for ac_func in frexpl
39560 do :
39561 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39562 if test "x$ac_cv_func_frexpl" = x""yes; then :
39563 cat >>confdefs.h <<_ACEOF
39564 #define HAVE_FREXPL 1
39565 _ACEOF
39568 done
39570 else
39572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39573 $as_echo_n "checking for _frexpl declaration... " >&6; }
39574 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39575 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
39576 $as_echo_n "(cached) " >&6
39577 else
39580 ac_ext=cpp
39581 ac_cpp='$CXXCPP $CPPFLAGS'
39582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39587 /* end confdefs.h. */
39588 #include <math.h>
39590 main ()
39592 _frexpl(0, 0);
39594 return 0;
39596 _ACEOF
39597 if ac_fn_cxx_try_compile "$LINENO"; then :
39598 glibcxx_cv_func__frexpl_use=yes
39599 else
39600 glibcxx_cv_func__frexpl_use=no
39602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39603 ac_ext=c
39604 ac_cpp='$CPP $CPPFLAGS'
39605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39614 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39616 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39617 for ac_func in _frexpl
39618 do :
39619 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39620 if test "x$ac_cv_func__frexpl" = x""yes; then :
39621 cat >>confdefs.h <<_ACEOF
39622 #define HAVE__FREXPL 1
39623 _ACEOF
39626 done
39635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39636 $as_echo_n "checking for hypotl declaration... " >&6; }
39637 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39638 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
39639 $as_echo_n "(cached) " >&6
39640 else
39643 ac_ext=cpp
39644 ac_cpp='$CXXCPP $CPPFLAGS'
39645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39650 /* end confdefs.h. */
39651 #include <math.h>
39653 main ()
39655 hypotl(0, 0);
39657 return 0;
39659 _ACEOF
39660 if ac_fn_cxx_try_compile "$LINENO"; then :
39661 glibcxx_cv_func_hypotl_use=yes
39662 else
39663 glibcxx_cv_func_hypotl_use=no
39665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39666 ac_ext=c
39667 ac_cpp='$CPP $CPPFLAGS'
39668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39677 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39679 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39680 for ac_func in hypotl
39681 do :
39682 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39683 if test "x$ac_cv_func_hypotl" = x""yes; then :
39684 cat >>confdefs.h <<_ACEOF
39685 #define HAVE_HYPOTL 1
39686 _ACEOF
39689 done
39691 else
39693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39694 $as_echo_n "checking for _hypotl declaration... " >&6; }
39695 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39696 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
39697 $as_echo_n "(cached) " >&6
39698 else
39701 ac_ext=cpp
39702 ac_cpp='$CXXCPP $CPPFLAGS'
39703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39708 /* end confdefs.h. */
39709 #include <math.h>
39711 main ()
39713 _hypotl(0, 0);
39715 return 0;
39717 _ACEOF
39718 if ac_fn_cxx_try_compile "$LINENO"; then :
39719 glibcxx_cv_func__hypotl_use=yes
39720 else
39721 glibcxx_cv_func__hypotl_use=no
39723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39724 ac_ext=c
39725 ac_cpp='$CPP $CPPFLAGS'
39726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
39735 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39737 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39738 for ac_func in _hypotl
39739 do :
39740 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39741 if test "x$ac_cv_func__hypotl" = x""yes; then :
39742 cat >>confdefs.h <<_ACEOF
39743 #define HAVE__HYPOTL 1
39744 _ACEOF
39747 done
39756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
39757 $as_echo_n "checking for ldexpl declaration... " >&6; }
39758 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39759 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
39760 $as_echo_n "(cached) " >&6
39761 else
39764 ac_ext=cpp
39765 ac_cpp='$CXXCPP $CPPFLAGS'
39766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39771 /* end confdefs.h. */
39772 #include <math.h>
39774 main ()
39776 ldexpl(0, 0);
39778 return 0;
39780 _ACEOF
39781 if ac_fn_cxx_try_compile "$LINENO"; then :
39782 glibcxx_cv_func_ldexpl_use=yes
39783 else
39784 glibcxx_cv_func_ldexpl_use=no
39786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39787 ac_ext=c
39788 ac_cpp='$CPP $CPPFLAGS'
39789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
39798 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
39800 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39801 for ac_func in ldexpl
39802 do :
39803 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
39804 if test "x$ac_cv_func_ldexpl" = x""yes; then :
39805 cat >>confdefs.h <<_ACEOF
39806 #define HAVE_LDEXPL 1
39807 _ACEOF
39810 done
39812 else
39814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
39815 $as_echo_n "checking for _ldexpl declaration... " >&6; }
39816 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
39817 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
39818 $as_echo_n "(cached) " >&6
39819 else
39822 ac_ext=cpp
39823 ac_cpp='$CXXCPP $CPPFLAGS'
39824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39829 /* end confdefs.h. */
39830 #include <math.h>
39832 main ()
39834 _ldexpl(0, 0);
39836 return 0;
39838 _ACEOF
39839 if ac_fn_cxx_try_compile "$LINENO"; then :
39840 glibcxx_cv_func__ldexpl_use=yes
39841 else
39842 glibcxx_cv_func__ldexpl_use=no
39844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39845 ac_ext=c
39846 ac_cpp='$CPP $CPPFLAGS'
39847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
39856 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
39858 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
39859 for ac_func in _ldexpl
39860 do :
39861 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
39862 if test "x$ac_cv_func__ldexpl" = x""yes; then :
39863 cat >>confdefs.h <<_ACEOF
39864 #define HAVE__LDEXPL 1
39865 _ACEOF
39868 done
39877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
39878 $as_echo_n "checking for logl declaration... " >&6; }
39879 if test x${glibcxx_cv_func_logl_use+set} != xset; then
39880 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
39881 $as_echo_n "(cached) " >&6
39882 else
39885 ac_ext=cpp
39886 ac_cpp='$CXXCPP $CPPFLAGS'
39887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39892 /* end confdefs.h. */
39893 #include <math.h>
39894 #ifdef HAVE_IEEEFP_H
39895 #include <ieeefp.h>
39896 #endif
39899 main ()
39901 logl(0);
39903 return 0;
39905 _ACEOF
39906 if ac_fn_cxx_try_compile "$LINENO"; then :
39907 glibcxx_cv_func_logl_use=yes
39908 else
39909 glibcxx_cv_func_logl_use=no
39911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39912 ac_ext=c
39913 ac_cpp='$CPP $CPPFLAGS'
39914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
39923 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
39925 if test x$glibcxx_cv_func_logl_use = x"yes"; then
39926 for ac_func in logl
39927 do :
39928 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
39929 if test "x$ac_cv_func_logl" = x""yes; then :
39930 cat >>confdefs.h <<_ACEOF
39931 #define HAVE_LOGL 1
39932 _ACEOF
39935 done
39937 else
39939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
39940 $as_echo_n "checking for _logl declaration... " >&6; }
39941 if test x${glibcxx_cv_func__logl_use+set} != xset; then
39942 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
39943 $as_echo_n "(cached) " >&6
39944 else
39947 ac_ext=cpp
39948 ac_cpp='$CXXCPP $CPPFLAGS'
39949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39954 /* end confdefs.h. */
39955 #include <math.h>
39956 #ifdef HAVE_IEEEFP_H
39957 #include <ieeefp.h>
39958 #endif
39961 main ()
39963 _logl(0);
39965 return 0;
39967 _ACEOF
39968 if ac_fn_cxx_try_compile "$LINENO"; then :
39969 glibcxx_cv_func__logl_use=yes
39970 else
39971 glibcxx_cv_func__logl_use=no
39973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39974 ac_ext=c
39975 ac_cpp='$CPP $CPPFLAGS'
39976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
39985 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
39987 if test x$glibcxx_cv_func__logl_use = x"yes"; then
39988 for ac_func in _logl
39989 do :
39990 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
39991 if test "x$ac_cv_func__logl" = x""yes; then :
39992 cat >>confdefs.h <<_ACEOF
39993 #define HAVE__LOGL 1
39994 _ACEOF
39997 done
40006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
40007 $as_echo_n "checking for log10l declaration... " >&6; }
40008 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
40009 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
40010 $as_echo_n "(cached) " >&6
40011 else
40014 ac_ext=cpp
40015 ac_cpp='$CXXCPP $CPPFLAGS'
40016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40021 /* end confdefs.h. */
40022 #include <math.h>
40023 #ifdef HAVE_IEEEFP_H
40024 #include <ieeefp.h>
40025 #endif
40028 main ()
40030 log10l(0);
40032 return 0;
40034 _ACEOF
40035 if ac_fn_cxx_try_compile "$LINENO"; then :
40036 glibcxx_cv_func_log10l_use=yes
40037 else
40038 glibcxx_cv_func_log10l_use=no
40040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40041 ac_ext=c
40042 ac_cpp='$CPP $CPPFLAGS'
40043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40052 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40054 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40055 for ac_func in log10l
40056 do :
40057 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40058 if test "x$ac_cv_func_log10l" = x""yes; then :
40059 cat >>confdefs.h <<_ACEOF
40060 #define HAVE_LOG10L 1
40061 _ACEOF
40064 done
40066 else
40068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40069 $as_echo_n "checking for _log10l declaration... " >&6; }
40070 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40071 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
40072 $as_echo_n "(cached) " >&6
40073 else
40076 ac_ext=cpp
40077 ac_cpp='$CXXCPP $CPPFLAGS'
40078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40083 /* end confdefs.h. */
40084 #include <math.h>
40085 #ifdef HAVE_IEEEFP_H
40086 #include <ieeefp.h>
40087 #endif
40090 main ()
40092 _log10l(0);
40094 return 0;
40096 _ACEOF
40097 if ac_fn_cxx_try_compile "$LINENO"; then :
40098 glibcxx_cv_func__log10l_use=yes
40099 else
40100 glibcxx_cv_func__log10l_use=no
40102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40103 ac_ext=c
40104 ac_cpp='$CPP $CPPFLAGS'
40105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40114 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40116 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40117 for ac_func in _log10l
40118 do :
40119 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40120 if test "x$ac_cv_func__log10l" = x""yes; then :
40121 cat >>confdefs.h <<_ACEOF
40122 #define HAVE__LOG10L 1
40123 _ACEOF
40126 done
40135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40136 $as_echo_n "checking for modfl declaration... " >&6; }
40137 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40138 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
40139 $as_echo_n "(cached) " >&6
40140 else
40143 ac_ext=cpp
40144 ac_cpp='$CXXCPP $CPPFLAGS'
40145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40150 /* end confdefs.h. */
40151 #include <math.h>
40153 main ()
40155 modfl(0, 0);
40157 return 0;
40159 _ACEOF
40160 if ac_fn_cxx_try_compile "$LINENO"; then :
40161 glibcxx_cv_func_modfl_use=yes
40162 else
40163 glibcxx_cv_func_modfl_use=no
40165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40166 ac_ext=c
40167 ac_cpp='$CPP $CPPFLAGS'
40168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40177 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40179 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40180 for ac_func in modfl
40181 do :
40182 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40183 if test "x$ac_cv_func_modfl" = x""yes; then :
40184 cat >>confdefs.h <<_ACEOF
40185 #define HAVE_MODFL 1
40186 _ACEOF
40189 done
40191 else
40193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40194 $as_echo_n "checking for _modfl declaration... " >&6; }
40195 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40196 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
40197 $as_echo_n "(cached) " >&6
40198 else
40201 ac_ext=cpp
40202 ac_cpp='$CXXCPP $CPPFLAGS'
40203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40208 /* end confdefs.h. */
40209 #include <math.h>
40211 main ()
40213 _modfl(0, 0);
40215 return 0;
40217 _ACEOF
40218 if ac_fn_cxx_try_compile "$LINENO"; then :
40219 glibcxx_cv_func__modfl_use=yes
40220 else
40221 glibcxx_cv_func__modfl_use=no
40223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40224 ac_ext=c
40225 ac_cpp='$CPP $CPPFLAGS'
40226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40235 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40237 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40238 for ac_func in _modfl
40239 do :
40240 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40241 if test "x$ac_cv_func__modfl" = x""yes; then :
40242 cat >>confdefs.h <<_ACEOF
40243 #define HAVE__MODFL 1
40244 _ACEOF
40247 done
40256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40257 $as_echo_n "checking for powl declaration... " >&6; }
40258 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40259 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
40260 $as_echo_n "(cached) " >&6
40261 else
40264 ac_ext=cpp
40265 ac_cpp='$CXXCPP $CPPFLAGS'
40266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40271 /* end confdefs.h. */
40272 #include <math.h>
40274 main ()
40276 powl(0, 0);
40278 return 0;
40280 _ACEOF
40281 if ac_fn_cxx_try_compile "$LINENO"; then :
40282 glibcxx_cv_func_powl_use=yes
40283 else
40284 glibcxx_cv_func_powl_use=no
40286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40287 ac_ext=c
40288 ac_cpp='$CPP $CPPFLAGS'
40289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40298 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40300 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40301 for ac_func in powl
40302 do :
40303 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40304 if test "x$ac_cv_func_powl" = x""yes; then :
40305 cat >>confdefs.h <<_ACEOF
40306 #define HAVE_POWL 1
40307 _ACEOF
40310 done
40312 else
40314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40315 $as_echo_n "checking for _powl declaration... " >&6; }
40316 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40317 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
40318 $as_echo_n "(cached) " >&6
40319 else
40322 ac_ext=cpp
40323 ac_cpp='$CXXCPP $CPPFLAGS'
40324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40329 /* end confdefs.h. */
40330 #include <math.h>
40332 main ()
40334 _powl(0, 0);
40336 return 0;
40338 _ACEOF
40339 if ac_fn_cxx_try_compile "$LINENO"; then :
40340 glibcxx_cv_func__powl_use=yes
40341 else
40342 glibcxx_cv_func__powl_use=no
40344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40345 ac_ext=c
40346 ac_cpp='$CPP $CPPFLAGS'
40347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40356 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40358 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40359 for ac_func in _powl
40360 do :
40361 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40362 if test "x$ac_cv_func__powl" = x""yes; then :
40363 cat >>confdefs.h <<_ACEOF
40364 #define HAVE__POWL 1
40365 _ACEOF
40368 done
40377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40378 $as_echo_n "checking for sqrtl declaration... " >&6; }
40379 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40380 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
40381 $as_echo_n "(cached) " >&6
40382 else
40385 ac_ext=cpp
40386 ac_cpp='$CXXCPP $CPPFLAGS'
40387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40392 /* end confdefs.h. */
40393 #include <math.h>
40394 #ifdef HAVE_IEEEFP_H
40395 #include <ieeefp.h>
40396 #endif
40399 main ()
40401 sqrtl(0);
40403 return 0;
40405 _ACEOF
40406 if ac_fn_cxx_try_compile "$LINENO"; then :
40407 glibcxx_cv_func_sqrtl_use=yes
40408 else
40409 glibcxx_cv_func_sqrtl_use=no
40411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40412 ac_ext=c
40413 ac_cpp='$CPP $CPPFLAGS'
40414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40423 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40425 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40426 for ac_func in sqrtl
40427 do :
40428 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40429 if test "x$ac_cv_func_sqrtl" = x""yes; then :
40430 cat >>confdefs.h <<_ACEOF
40431 #define HAVE_SQRTL 1
40432 _ACEOF
40435 done
40437 else
40439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40440 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40441 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40442 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
40443 $as_echo_n "(cached) " >&6
40444 else
40447 ac_ext=cpp
40448 ac_cpp='$CXXCPP $CPPFLAGS'
40449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40454 /* end confdefs.h. */
40455 #include <math.h>
40456 #ifdef HAVE_IEEEFP_H
40457 #include <ieeefp.h>
40458 #endif
40461 main ()
40463 _sqrtl(0);
40465 return 0;
40467 _ACEOF
40468 if ac_fn_cxx_try_compile "$LINENO"; then :
40469 glibcxx_cv_func__sqrtl_use=yes
40470 else
40471 glibcxx_cv_func__sqrtl_use=no
40473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40474 ac_ext=c
40475 ac_cpp='$CPP $CPPFLAGS'
40476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40485 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40487 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40488 for ac_func in _sqrtl
40489 do :
40490 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40491 if test "x$ac_cv_func__sqrtl" = x""yes; then :
40492 cat >>confdefs.h <<_ACEOF
40493 #define HAVE__SQRTL 1
40494 _ACEOF
40497 done
40506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40507 $as_echo_n "checking for sincosl declaration... " >&6; }
40508 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40509 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
40510 $as_echo_n "(cached) " >&6
40511 else
40514 ac_ext=cpp
40515 ac_cpp='$CXXCPP $CPPFLAGS'
40516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40521 /* end confdefs.h. */
40522 #include <math.h>
40524 main ()
40526 sincosl(0, 0, 0);
40528 return 0;
40530 _ACEOF
40531 if ac_fn_cxx_try_compile "$LINENO"; then :
40532 glibcxx_cv_func_sincosl_use=yes
40533 else
40534 glibcxx_cv_func_sincosl_use=no
40536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40537 ac_ext=c
40538 ac_cpp='$CPP $CPPFLAGS'
40539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40548 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40550 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40551 for ac_func in sincosl
40552 do :
40553 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40554 if test "x$ac_cv_func_sincosl" = x""yes; then :
40555 cat >>confdefs.h <<_ACEOF
40556 #define HAVE_SINCOSL 1
40557 _ACEOF
40560 done
40562 else
40564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40565 $as_echo_n "checking for _sincosl declaration... " >&6; }
40566 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40567 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
40568 $as_echo_n "(cached) " >&6
40569 else
40572 ac_ext=cpp
40573 ac_cpp='$CXXCPP $CPPFLAGS'
40574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40579 /* end confdefs.h. */
40580 #include <math.h>
40582 main ()
40584 _sincosl(0, 0, 0);
40586 return 0;
40588 _ACEOF
40589 if ac_fn_cxx_try_compile "$LINENO"; then :
40590 glibcxx_cv_func__sincosl_use=yes
40591 else
40592 glibcxx_cv_func__sincosl_use=no
40594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40595 ac_ext=c
40596 ac_cpp='$CPP $CPPFLAGS'
40597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40606 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40608 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40609 for ac_func in _sincosl
40610 do :
40611 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40612 if test "x$ac_cv_func__sincosl" = x""yes; then :
40613 cat >>confdefs.h <<_ACEOF
40614 #define HAVE__SINCOSL 1
40615 _ACEOF
40618 done
40627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40628 $as_echo_n "checking for finitel declaration... " >&6; }
40629 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40630 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
40631 $as_echo_n "(cached) " >&6
40632 else
40635 ac_ext=cpp
40636 ac_cpp='$CXXCPP $CPPFLAGS'
40637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40642 /* end confdefs.h. */
40643 #include <math.h>
40644 #ifdef HAVE_IEEEFP_H
40645 #include <ieeefp.h>
40646 #endif
40649 main ()
40651 finitel(0);
40653 return 0;
40655 _ACEOF
40656 if ac_fn_cxx_try_compile "$LINENO"; then :
40657 glibcxx_cv_func_finitel_use=yes
40658 else
40659 glibcxx_cv_func_finitel_use=no
40661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40662 ac_ext=c
40663 ac_cpp='$CPP $CPPFLAGS'
40664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40673 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40675 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40676 for ac_func in finitel
40677 do :
40678 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40679 if test "x$ac_cv_func_finitel" = x""yes; then :
40680 cat >>confdefs.h <<_ACEOF
40681 #define HAVE_FINITEL 1
40682 _ACEOF
40685 done
40687 else
40689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40690 $as_echo_n "checking for _finitel declaration... " >&6; }
40691 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40692 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
40693 $as_echo_n "(cached) " >&6
40694 else
40697 ac_ext=cpp
40698 ac_cpp='$CXXCPP $CPPFLAGS'
40699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40704 /* end confdefs.h. */
40705 #include <math.h>
40706 #ifdef HAVE_IEEEFP_H
40707 #include <ieeefp.h>
40708 #endif
40711 main ()
40713 _finitel(0);
40715 return 0;
40717 _ACEOF
40718 if ac_fn_cxx_try_compile "$LINENO"; then :
40719 glibcxx_cv_func__finitel_use=yes
40720 else
40721 glibcxx_cv_func__finitel_use=no
40723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40724 ac_ext=c
40725 ac_cpp='$CPP $CPPFLAGS'
40726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
40735 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40737 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40738 for ac_func in _finitel
40739 do :
40740 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40741 if test "x$ac_cv_func__finitel" = x""yes; then :
40742 cat >>confdefs.h <<_ACEOF
40743 #define HAVE__FINITEL 1
40744 _ACEOF
40747 done
40755 LIBS="$ac_save_LIBS"
40756 CXXFLAGS="$ac_save_CXXFLAGS"
40759 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40760 ac_save_CXXFLAGS="$CXXFLAGS"
40761 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
40765 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
40766 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
40767 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
40768 $as_echo_n "(cached) " >&6
40769 else
40772 ac_ext=cpp
40773 ac_cpp='$CXXCPP $CPPFLAGS'
40774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40779 /* end confdefs.h. */
40780 #include <stdlib.h>
40782 main ()
40784 at_quick_exit(0);
40786 return 0;
40788 _ACEOF
40789 if ac_fn_cxx_try_compile "$LINENO"; then :
40790 glibcxx_cv_func_at_quick_exit_use=yes
40791 else
40792 glibcxx_cv_func_at_quick_exit_use=no
40794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40795 ac_ext=c
40796 ac_cpp='$CPP $CPPFLAGS'
40797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
40806 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
40807 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
40808 for ac_func in at_quick_exit
40809 do :
40810 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
40811 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
40812 cat >>confdefs.h <<_ACEOF
40813 #define HAVE_AT_QUICK_EXIT 1
40814 _ACEOF
40817 done
40822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
40823 $as_echo_n "checking for quick_exit declaration... " >&6; }
40824 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
40825 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
40826 $as_echo_n "(cached) " >&6
40827 else
40830 ac_ext=cpp
40831 ac_cpp='$CXXCPP $CPPFLAGS'
40832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40837 /* end confdefs.h. */
40838 #include <stdlib.h>
40840 main ()
40842 quick_exit(0);
40844 return 0;
40846 _ACEOF
40847 if ac_fn_cxx_try_compile "$LINENO"; then :
40848 glibcxx_cv_func_quick_exit_use=yes
40849 else
40850 glibcxx_cv_func_quick_exit_use=no
40852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40853 ac_ext=c
40854 ac_cpp='$CPP $CPPFLAGS'
40855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
40864 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
40865 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
40866 for ac_func in quick_exit
40867 do :
40868 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
40869 if test "x$ac_cv_func_quick_exit" = x""yes; then :
40870 cat >>confdefs.h <<_ACEOF
40871 #define HAVE_QUICK_EXIT 1
40872 _ACEOF
40875 done
40880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
40881 $as_echo_n "checking for strtold declaration... " >&6; }
40882 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
40883 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
40884 $as_echo_n "(cached) " >&6
40885 else
40888 ac_ext=cpp
40889 ac_cpp='$CXXCPP $CPPFLAGS'
40890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40895 /* end confdefs.h. */
40896 #include <stdlib.h>
40898 main ()
40900 strtold(0, 0);
40902 return 0;
40904 _ACEOF
40905 if ac_fn_cxx_try_compile "$LINENO"; then :
40906 glibcxx_cv_func_strtold_use=yes
40907 else
40908 glibcxx_cv_func_strtold_use=no
40910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40911 ac_ext=c
40912 ac_cpp='$CPP $CPPFLAGS'
40913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
40922 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
40923 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
40924 for ac_func in strtold
40925 do :
40926 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
40927 if test "x$ac_cv_func_strtold" = x""yes; then :
40928 cat >>confdefs.h <<_ACEOF
40929 #define HAVE_STRTOLD 1
40930 _ACEOF
40933 done
40940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
40941 $as_echo_n "checking for strtof declaration... " >&6; }
40942 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
40943 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
40944 $as_echo_n "(cached) " >&6
40945 else
40948 ac_ext=cpp
40949 ac_cpp='$CXXCPP $CPPFLAGS'
40950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40955 /* end confdefs.h. */
40956 #include <stdlib.h>
40958 main ()
40960 strtof(0, 0);
40962 return 0;
40964 _ACEOF
40965 if ac_fn_cxx_try_compile "$LINENO"; then :
40966 glibcxx_cv_func_strtof_use=yes
40967 else
40968 glibcxx_cv_func_strtof_use=no
40970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40971 ac_ext=c
40972 ac_cpp='$CPP $CPPFLAGS'
40973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
40982 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
40983 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
40984 for ac_func in strtof
40985 do :
40986 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
40987 if test "x$ac_cv_func_strtof" = x""yes; then :
40988 cat >>confdefs.h <<_ACEOF
40989 #define HAVE_STRTOF 1
40990 _ACEOF
40993 done
41000 CXXFLAGS="$ac_save_CXXFLAGS"
41007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
41008 $as_echo_n "checking for iconv... " >&6; }
41009 if test "${am_cv_func_iconv+set}" = set; then :
41010 $as_echo_n "(cached) " >&6
41011 else
41013 am_cv_func_iconv="no, consider installing GNU libiconv"
41014 am_cv_lib_iconv=no
41015 am_save_CPPFLAGS="$CPPFLAGS"
41016 CPPFLAGS="$CPPFLAGS $INCICONV"
41017 if test x$gcc_no_link = xyes; then
41018 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41021 /* end confdefs.h. */
41022 #include <stdlib.h>
41023 #include <iconv.h>
41025 main ()
41027 iconv_t cd = iconv_open("","");
41028 iconv(cd,NULL,NULL,NULL,NULL);
41029 iconv_close(cd);
41031 return 0;
41033 _ACEOF
41034 if ac_fn_c_try_link "$LINENO"; then :
41035 am_cv_func_iconv=yes
41037 rm -f core conftest.err conftest.$ac_objext \
41038 conftest$ac_exeext conftest.$ac_ext
41039 CPPFLAGS="$am_save_CPPFLAGS"
41041 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41042 for _libs in .libs _libs; do
41043 am_save_CPPFLAGS="$CPPFLAGS"
41044 am_save_LIBS="$LIBS"
41045 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41046 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41047 if test x$gcc_no_link = xyes; then
41048 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41051 /* end confdefs.h. */
41052 #include <stdlib.h>
41053 #include <iconv.h>
41055 main ()
41057 iconv_t cd = iconv_open("","");
41058 iconv(cd,NULL,NULL,NULL,NULL);
41059 iconv_close(cd);
41061 return 0;
41063 _ACEOF
41064 if ac_fn_c_try_link "$LINENO"; then :
41065 INCICONV="-I../libiconv/include"
41066 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41067 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41068 am_cv_lib_iconv=yes
41069 am_cv_func_iconv=yes
41071 rm -f core conftest.err conftest.$ac_objext \
41072 conftest$ac_exeext conftest.$ac_ext
41073 CPPFLAGS="$am_save_CPPFLAGS"
41074 LIBS="$am_save_LIBS"
41075 if test "$am_cv_func_iconv" = "yes"; then
41076 break
41078 done
41081 if test "$am_cv_func_iconv" != yes; then
41082 am_save_CPPFLAGS="$CPPFLAGS"
41083 am_save_LIBS="$LIBS"
41084 CPPFLAGS="$LIBS $INCICONV"
41085 LIBS="$LIBS $LIBICONV"
41086 if test x$gcc_no_link = xyes; then
41087 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41090 /* end confdefs.h. */
41091 #include <stdlib.h>
41092 #include <iconv.h>
41094 main ()
41096 iconv_t cd = iconv_open("","");
41097 iconv(cd,NULL,NULL,NULL,NULL);
41098 iconv_close(cd);
41100 return 0;
41102 _ACEOF
41103 if ac_fn_c_try_link "$LINENO"; then :
41104 am_cv_lib_iconv=yes
41105 am_cv_func_iconv=yes
41107 rm -f core conftest.err conftest.$ac_objext \
41108 conftest$ac_exeext conftest.$ac_ext
41109 CPPFLAGS="$am_save_CPPFLAGS"
41110 LIBS="$am_save_LIBS"
41114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41115 $as_echo "$am_cv_func_iconv" >&6; }
41116 if test "$am_cv_func_iconv" = yes; then
41118 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41121 if test "$am_cv_lib_iconv" = yes; then
41123 for element in $INCICONV; do
41124 haveit=
41125 for x in $CPPFLAGS; do
41127 acl_save_prefix="$prefix"
41128 prefix="$acl_final_prefix"
41129 acl_save_exec_prefix="$exec_prefix"
41130 exec_prefix="$acl_final_exec_prefix"
41131 eval x=\"$x\"
41132 exec_prefix="$acl_save_exec_prefix"
41133 prefix="$acl_save_prefix"
41135 if test "X$x" = "X$element"; then
41136 haveit=yes
41137 break
41139 done
41140 if test -z "$haveit"; then
41141 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41143 done
41145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41146 $as_echo_n "checking how to link with libiconv... " >&6; }
41147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41148 $as_echo "$LIBICONV" >&6; }
41149 else
41150 LIBICONV=
41151 LTLIBICONV=
41156 if test "$am_cv_func_iconv" = yes; then
41157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41158 $as_echo_n "checking for iconv declaration... " >&6; }
41159 if test "${am_cv_proto_iconv+set}" = set; then :
41160 $as_echo_n "(cached) " >&6
41161 else
41163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41164 /* end confdefs.h. */
41166 #include <stdlib.h>
41167 #include <iconv.h>
41168 extern
41169 #ifdef __cplusplus
41171 #endif
41172 #if defined(__STDC__) || defined(__cplusplus)
41173 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41174 #else
41175 size_t iconv();
41176 #endif
41179 main ()
41183 return 0;
41185 _ACEOF
41186 if ac_fn_c_try_compile "$LINENO"; then :
41187 am_cv_proto_iconv_arg1=""
41188 else
41189 am_cv_proto_iconv_arg1="const"
41191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41192 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);"
41195 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41197 }$am_cv_proto_iconv" >&5
41198 $as_echo "${ac_t:-
41199 }$am_cv_proto_iconv" >&6; }
41201 cat >>confdefs.h <<_ACEOF
41202 #define ICONV_CONST $am_cv_proto_iconv_arg1
41203 _ACEOF
41209 *-aix*)
41211 # If we're not using GNU ld, then there's no point in even trying these
41212 # tests. Check for that first. We should have already tested for gld
41213 # by now (in libtool), but require it now just to be safe...
41214 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
41215 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
41219 # The name set by libtool depends on the version of libtool. Shame on us
41220 # for depending on an impl detail, but c'est la vie. Older versions used
41221 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
41222 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
41223 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
41224 # set (hence we're using an older libtool), then set it.
41225 if test x${with_gnu_ld+set} != xset; then
41226 if test x${ac_cv_prog_gnu_ld+set} != xset; then
41227 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
41228 with_gnu_ld=no
41229 else
41230 with_gnu_ld=$ac_cv_prog_gnu_ld
41234 # Start by getting the version number. I think the libtool test already
41235 # does some of this, but throws away the result.
41236 glibcxx_ld_is_gold=no
41237 if test x"$with_gnu_ld" = x"yes"; then
41238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
41239 $as_echo_n "checking for ld version... " >&6; }
41241 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
41242 glibcxx_ld_is_gold=yes
41244 ldver=`$LD --version 2>/dev/null |
41245 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
41247 glibcxx_gnu_ld_version=`echo $ldver | \
41248 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
41249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
41250 $as_echo "$glibcxx_gnu_ld_version" >&6; }
41253 # Set --gc-sections.
41254 glibcxx_have_gc_sections=no
41255 if test "$glibcxx_ld_is_gold" = "yes"; then
41256 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
41257 glibcxx_have_gc_sections=yes
41259 else
41260 glibcxx_gcsections_min_ld=21602
41261 if test x"$with_gnu_ld" = x"yes" &&
41262 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
41263 glibcxx_have_gc_sections=yes
41266 if test "$glibcxx_have_gc_sections" = "yes"; then
41267 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
41268 # NB: This flag only works reliably after 2.16.1. Configure tests
41269 # for this are difficult, so hard wire a value that should work.
41271 ac_test_CFLAGS="${CFLAGS+set}"
41272 ac_save_CFLAGS="$CFLAGS"
41273 CFLAGS='-Wl,--gc-sections'
41275 # Check for -Wl,--gc-sections
41276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
41277 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
41278 if test x$gcc_no_link = xyes; then
41279 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41282 /* end confdefs.h. */
41283 int one(void) { return 1; }
41284 int two(void) { return 2; }
41287 main ()
41289 two();
41291 return 0;
41293 _ACEOF
41294 if ac_fn_c_try_link "$LINENO"; then :
41295 ac_gcsections=yes
41296 else
41297 ac_gcsections=no
41299 rm -f core conftest.err conftest.$ac_objext \
41300 conftest$ac_exeext conftest.$ac_ext
41301 if test "$ac_gcsections" = "yes"; then
41302 rm -f conftest.c
41303 touch conftest.c
41304 if $CC -c conftest.c; then
41305 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
41306 grep "Warning: gc-sections option ignored" > /dev/null; then
41307 ac_gcsections=no
41310 rm -f conftest.c conftest.o conftest
41312 if test "$ac_gcsections" = "yes"; then
41313 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
41315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
41316 $as_echo "$ac_gcsections" >&6; }
41318 if test "$ac_test_CFLAGS" = set; then
41319 CFLAGS="$ac_save_CFLAGS"
41320 else
41321 # this is the suspicious part
41322 CFLAGS=''
41326 # Set -z,relro.
41327 # Note this is only for shared objects.
41328 ac_ld_relro=no
41329 if test x"$with_gnu_ld" = x"yes"; then
41330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
41331 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
41332 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
41333 if test -n "$cxx_z_relo"; then
41334 OPT_LDFLAGS="-Wl,-z,relro"
41335 ac_ld_relro=yes
41337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
41338 $as_echo "$ac_ld_relro" >&6; }
41341 # Set linker optimization flags.
41342 if test x"$with_gnu_ld" = x"yes"; then
41343 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
41350 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41351 ac_save_CXXFLAGS="$CXXFLAGS"
41352 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41355 $as_echo_n "checking for sin in -lm... " >&6; }
41356 if test "${ac_cv_lib_m_sin+set}" = set; then :
41357 $as_echo_n "(cached) " >&6
41358 else
41359 ac_check_lib_save_LIBS=$LIBS
41360 LIBS="-lm $LIBS"
41361 if test x$gcc_no_link = xyes; then
41362 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41365 /* end confdefs.h. */
41367 /* Override any GCC internal prototype to avoid an error.
41368 Use char because int might match the return type of a GCC
41369 builtin and then its argument prototype would still apply. */
41370 #ifdef __cplusplus
41371 extern "C"
41372 #endif
41373 char sin ();
41375 main ()
41377 return sin ();
41379 return 0;
41381 _ACEOF
41382 if ac_fn_c_try_link "$LINENO"; then :
41383 ac_cv_lib_m_sin=yes
41384 else
41385 ac_cv_lib_m_sin=no
41387 rm -f core conftest.err conftest.$ac_objext \
41388 conftest$ac_exeext conftest.$ac_ext
41389 LIBS=$ac_check_lib_save_LIBS
41391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41392 $as_echo "$ac_cv_lib_m_sin" >&6; }
41393 if test "x$ac_cv_lib_m_sin" = x""yes; then :
41394 libm="-lm"
41397 ac_save_LIBS="$LIBS"
41398 LIBS="$LIBS $libm"
41402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41403 $as_echo_n "checking for isinf declaration... " >&6; }
41404 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41405 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
41406 $as_echo_n "(cached) " >&6
41407 else
41410 ac_ext=cpp
41411 ac_cpp='$CXXCPP $CPPFLAGS'
41412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41417 /* end confdefs.h. */
41418 #include <math.h>
41419 #ifdef HAVE_IEEEFP_H
41420 #include <ieeefp.h>
41421 #endif
41424 main ()
41426 isinf(0);
41428 return 0;
41430 _ACEOF
41431 if ac_fn_cxx_try_compile "$LINENO"; then :
41432 glibcxx_cv_func_isinf_use=yes
41433 else
41434 glibcxx_cv_func_isinf_use=no
41436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41437 ac_ext=c
41438 ac_cpp='$CPP $CPPFLAGS'
41439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41448 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41450 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41451 for ac_func in isinf
41452 do :
41453 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41454 if test "x$ac_cv_func_isinf" = x""yes; then :
41455 cat >>confdefs.h <<_ACEOF
41456 #define HAVE_ISINF 1
41457 _ACEOF
41460 done
41462 else
41464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41465 $as_echo_n "checking for _isinf declaration... " >&6; }
41466 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41467 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
41468 $as_echo_n "(cached) " >&6
41469 else
41472 ac_ext=cpp
41473 ac_cpp='$CXXCPP $CPPFLAGS'
41474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41479 /* end confdefs.h. */
41480 #include <math.h>
41481 #ifdef HAVE_IEEEFP_H
41482 #include <ieeefp.h>
41483 #endif
41486 main ()
41488 _isinf(0);
41490 return 0;
41492 _ACEOF
41493 if ac_fn_cxx_try_compile "$LINENO"; then :
41494 glibcxx_cv_func__isinf_use=yes
41495 else
41496 glibcxx_cv_func__isinf_use=no
41498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41499 ac_ext=c
41500 ac_cpp='$CPP $CPPFLAGS'
41501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41510 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41512 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41513 for ac_func in _isinf
41514 do :
41515 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41516 if test "x$ac_cv_func__isinf" = x""yes; then :
41517 cat >>confdefs.h <<_ACEOF
41518 #define HAVE__ISINF 1
41519 _ACEOF
41522 done
41531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41532 $as_echo_n "checking for isnan declaration... " >&6; }
41533 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41534 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
41535 $as_echo_n "(cached) " >&6
41536 else
41539 ac_ext=cpp
41540 ac_cpp='$CXXCPP $CPPFLAGS'
41541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41546 /* end confdefs.h. */
41547 #include <math.h>
41548 #ifdef HAVE_IEEEFP_H
41549 #include <ieeefp.h>
41550 #endif
41553 main ()
41555 isnan(0);
41557 return 0;
41559 _ACEOF
41560 if ac_fn_cxx_try_compile "$LINENO"; then :
41561 glibcxx_cv_func_isnan_use=yes
41562 else
41563 glibcxx_cv_func_isnan_use=no
41565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41566 ac_ext=c
41567 ac_cpp='$CPP $CPPFLAGS'
41568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41577 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41579 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41580 for ac_func in isnan
41581 do :
41582 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41583 if test "x$ac_cv_func_isnan" = x""yes; then :
41584 cat >>confdefs.h <<_ACEOF
41585 #define HAVE_ISNAN 1
41586 _ACEOF
41589 done
41591 else
41593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41594 $as_echo_n "checking for _isnan declaration... " >&6; }
41595 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41596 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
41597 $as_echo_n "(cached) " >&6
41598 else
41601 ac_ext=cpp
41602 ac_cpp='$CXXCPP $CPPFLAGS'
41603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41608 /* end confdefs.h. */
41609 #include <math.h>
41610 #ifdef HAVE_IEEEFP_H
41611 #include <ieeefp.h>
41612 #endif
41615 main ()
41617 _isnan(0);
41619 return 0;
41621 _ACEOF
41622 if ac_fn_cxx_try_compile "$LINENO"; then :
41623 glibcxx_cv_func__isnan_use=yes
41624 else
41625 glibcxx_cv_func__isnan_use=no
41627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41628 ac_ext=c
41629 ac_cpp='$CPP $CPPFLAGS'
41630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41639 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41641 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41642 for ac_func in _isnan
41643 do :
41644 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41645 if test "x$ac_cv_func__isnan" = x""yes; then :
41646 cat >>confdefs.h <<_ACEOF
41647 #define HAVE__ISNAN 1
41648 _ACEOF
41651 done
41660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41661 $as_echo_n "checking for finite declaration... " >&6; }
41662 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41663 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
41664 $as_echo_n "(cached) " >&6
41665 else
41668 ac_ext=cpp
41669 ac_cpp='$CXXCPP $CPPFLAGS'
41670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41675 /* end confdefs.h. */
41676 #include <math.h>
41677 #ifdef HAVE_IEEEFP_H
41678 #include <ieeefp.h>
41679 #endif
41682 main ()
41684 finite(0);
41686 return 0;
41688 _ACEOF
41689 if ac_fn_cxx_try_compile "$LINENO"; then :
41690 glibcxx_cv_func_finite_use=yes
41691 else
41692 glibcxx_cv_func_finite_use=no
41694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41695 ac_ext=c
41696 ac_cpp='$CPP $CPPFLAGS'
41697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41706 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41708 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41709 for ac_func in finite
41710 do :
41711 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41712 if test "x$ac_cv_func_finite" = x""yes; then :
41713 cat >>confdefs.h <<_ACEOF
41714 #define HAVE_FINITE 1
41715 _ACEOF
41718 done
41720 else
41722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41723 $as_echo_n "checking for _finite declaration... " >&6; }
41724 if test x${glibcxx_cv_func__finite_use+set} != xset; then
41725 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
41726 $as_echo_n "(cached) " >&6
41727 else
41730 ac_ext=cpp
41731 ac_cpp='$CXXCPP $CPPFLAGS'
41732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41737 /* end confdefs.h. */
41738 #include <math.h>
41739 #ifdef HAVE_IEEEFP_H
41740 #include <ieeefp.h>
41741 #endif
41744 main ()
41746 _finite(0);
41748 return 0;
41750 _ACEOF
41751 if ac_fn_cxx_try_compile "$LINENO"; then :
41752 glibcxx_cv_func__finite_use=yes
41753 else
41754 glibcxx_cv_func__finite_use=no
41756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41757 ac_ext=c
41758 ac_cpp='$CPP $CPPFLAGS'
41759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
41768 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
41770 if test x$glibcxx_cv_func__finite_use = x"yes"; then
41771 for ac_func in _finite
41772 do :
41773 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41774 if test "x$ac_cv_func__finite" = x""yes; then :
41775 cat >>confdefs.h <<_ACEOF
41776 #define HAVE__FINITE 1
41777 _ACEOF
41780 done
41789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41790 $as_echo_n "checking for sincos declaration... " >&6; }
41791 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41792 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
41793 $as_echo_n "(cached) " >&6
41794 else
41797 ac_ext=cpp
41798 ac_cpp='$CXXCPP $CPPFLAGS'
41799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41804 /* end confdefs.h. */
41805 #include <math.h>
41807 main ()
41809 sincos(0, 0, 0);
41811 return 0;
41813 _ACEOF
41814 if ac_fn_cxx_try_compile "$LINENO"; then :
41815 glibcxx_cv_func_sincos_use=yes
41816 else
41817 glibcxx_cv_func_sincos_use=no
41819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41820 ac_ext=c
41821 ac_cpp='$CPP $CPPFLAGS'
41822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
41831 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
41833 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
41834 for ac_func in sincos
41835 do :
41836 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
41837 if test "x$ac_cv_func_sincos" = x""yes; then :
41838 cat >>confdefs.h <<_ACEOF
41839 #define HAVE_SINCOS 1
41840 _ACEOF
41843 done
41845 else
41847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
41848 $as_echo_n "checking for _sincos declaration... " >&6; }
41849 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
41850 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
41851 $as_echo_n "(cached) " >&6
41852 else
41855 ac_ext=cpp
41856 ac_cpp='$CXXCPP $CPPFLAGS'
41857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41862 /* end confdefs.h. */
41863 #include <math.h>
41865 main ()
41867 _sincos(0, 0, 0);
41869 return 0;
41871 _ACEOF
41872 if ac_fn_cxx_try_compile "$LINENO"; then :
41873 glibcxx_cv_func__sincos_use=yes
41874 else
41875 glibcxx_cv_func__sincos_use=no
41877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41878 ac_ext=c
41879 ac_cpp='$CPP $CPPFLAGS'
41880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
41889 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
41891 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
41892 for ac_func in _sincos
41893 do :
41894 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
41895 if test "x$ac_cv_func__sincos" = x""yes; then :
41896 cat >>confdefs.h <<_ACEOF
41897 #define HAVE__SINCOS 1
41898 _ACEOF
41901 done
41910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
41911 $as_echo_n "checking for fpclass declaration... " >&6; }
41912 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
41913 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
41914 $as_echo_n "(cached) " >&6
41915 else
41918 ac_ext=cpp
41919 ac_cpp='$CXXCPP $CPPFLAGS'
41920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41925 /* end confdefs.h. */
41926 #include <math.h>
41927 #ifdef HAVE_IEEEFP_H
41928 #include <ieeefp.h>
41929 #endif
41932 main ()
41934 fpclass(0);
41936 return 0;
41938 _ACEOF
41939 if ac_fn_cxx_try_compile "$LINENO"; then :
41940 glibcxx_cv_func_fpclass_use=yes
41941 else
41942 glibcxx_cv_func_fpclass_use=no
41944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41945 ac_ext=c
41946 ac_cpp='$CPP $CPPFLAGS'
41947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
41956 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
41958 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
41959 for ac_func in fpclass
41960 do :
41961 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
41962 if test "x$ac_cv_func_fpclass" = x""yes; then :
41963 cat >>confdefs.h <<_ACEOF
41964 #define HAVE_FPCLASS 1
41965 _ACEOF
41968 done
41970 else
41972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
41973 $as_echo_n "checking for _fpclass declaration... " >&6; }
41974 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
41975 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
41976 $as_echo_n "(cached) " >&6
41977 else
41980 ac_ext=cpp
41981 ac_cpp='$CXXCPP $CPPFLAGS'
41982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41987 /* end confdefs.h. */
41988 #include <math.h>
41989 #ifdef HAVE_IEEEFP_H
41990 #include <ieeefp.h>
41991 #endif
41994 main ()
41996 _fpclass(0);
41998 return 0;
42000 _ACEOF
42001 if ac_fn_cxx_try_compile "$LINENO"; then :
42002 glibcxx_cv_func__fpclass_use=yes
42003 else
42004 glibcxx_cv_func__fpclass_use=no
42006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42007 ac_ext=c
42008 ac_cpp='$CPP $CPPFLAGS'
42009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
42018 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
42020 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
42021 for ac_func in _fpclass
42022 do :
42023 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42024 if test "x$ac_cv_func__fpclass" = x""yes; then :
42025 cat >>confdefs.h <<_ACEOF
42026 #define HAVE__FPCLASS 1
42027 _ACEOF
42030 done
42039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42040 $as_echo_n "checking for qfpclass declaration... " >&6; }
42041 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42042 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
42043 $as_echo_n "(cached) " >&6
42044 else
42047 ac_ext=cpp
42048 ac_cpp='$CXXCPP $CPPFLAGS'
42049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42054 /* end confdefs.h. */
42055 #include <math.h>
42056 #ifdef HAVE_IEEEFP_H
42057 #include <ieeefp.h>
42058 #endif
42061 main ()
42063 qfpclass(0);
42065 return 0;
42067 _ACEOF
42068 if ac_fn_cxx_try_compile "$LINENO"; then :
42069 glibcxx_cv_func_qfpclass_use=yes
42070 else
42071 glibcxx_cv_func_qfpclass_use=no
42073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42074 ac_ext=c
42075 ac_cpp='$CPP $CPPFLAGS'
42076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42085 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42087 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42088 for ac_func in qfpclass
42089 do :
42090 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42091 if test "x$ac_cv_func_qfpclass" = x""yes; then :
42092 cat >>confdefs.h <<_ACEOF
42093 #define HAVE_QFPCLASS 1
42094 _ACEOF
42097 done
42099 else
42101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42102 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42103 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42104 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
42105 $as_echo_n "(cached) " >&6
42106 else
42109 ac_ext=cpp
42110 ac_cpp='$CXXCPP $CPPFLAGS'
42111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42116 /* end confdefs.h. */
42117 #include <math.h>
42118 #ifdef HAVE_IEEEFP_H
42119 #include <ieeefp.h>
42120 #endif
42123 main ()
42125 _qfpclass(0);
42127 return 0;
42129 _ACEOF
42130 if ac_fn_cxx_try_compile "$LINENO"; then :
42131 glibcxx_cv_func__qfpclass_use=yes
42132 else
42133 glibcxx_cv_func__qfpclass_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
42146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42147 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42149 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42150 for ac_func in _qfpclass
42151 do :
42152 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42153 if test "x$ac_cv_func__qfpclass" = x""yes; then :
42154 cat >>confdefs.h <<_ACEOF
42155 #define HAVE__QFPCLASS 1
42156 _ACEOF
42159 done
42168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42169 $as_echo_n "checking for hypot declaration... " >&6; }
42170 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42171 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
42172 $as_echo_n "(cached) " >&6
42173 else
42176 ac_ext=cpp
42177 ac_cpp='$CXXCPP $CPPFLAGS'
42178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42183 /* end confdefs.h. */
42184 #include <math.h>
42186 main ()
42188 hypot(0, 0);
42190 return 0;
42192 _ACEOF
42193 if ac_fn_cxx_try_compile "$LINENO"; then :
42194 glibcxx_cv_func_hypot_use=yes
42195 else
42196 glibcxx_cv_func_hypot_use=no
42198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42199 ac_ext=c
42200 ac_cpp='$CPP $CPPFLAGS'
42201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42210 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42212 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42213 for ac_func in hypot
42214 do :
42215 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42216 if test "x$ac_cv_func_hypot" = x""yes; then :
42217 cat >>confdefs.h <<_ACEOF
42218 #define HAVE_HYPOT 1
42219 _ACEOF
42222 done
42224 else
42226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42227 $as_echo_n "checking for _hypot declaration... " >&6; }
42228 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42229 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
42230 $as_echo_n "(cached) " >&6
42231 else
42234 ac_ext=cpp
42235 ac_cpp='$CXXCPP $CPPFLAGS'
42236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42241 /* end confdefs.h. */
42242 #include <math.h>
42244 main ()
42246 _hypot(0, 0);
42248 return 0;
42250 _ACEOF
42251 if ac_fn_cxx_try_compile "$LINENO"; then :
42252 glibcxx_cv_func__hypot_use=yes
42253 else
42254 glibcxx_cv_func__hypot_use=no
42256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42257 ac_ext=c
42258 ac_cpp='$CPP $CPPFLAGS'
42259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42268 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42270 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42271 for ac_func in _hypot
42272 do :
42273 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42274 if test "x$ac_cv_func__hypot" = x""yes; then :
42275 cat >>confdefs.h <<_ACEOF
42276 #define HAVE__HYPOT 1
42277 _ACEOF
42280 done
42289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42290 $as_echo_n "checking for float trig functions... " >&6; }
42291 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
42292 $as_echo_n "(cached) " >&6
42293 else
42296 ac_ext=cpp
42297 ac_cpp='$CXXCPP $CPPFLAGS'
42298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42303 /* end confdefs.h. */
42304 #include <math.h>
42306 main ()
42308 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42310 return 0;
42312 _ACEOF
42313 if ac_fn_cxx_try_compile "$LINENO"; then :
42314 glibcxx_cv_func_float_trig_use=yes
42315 else
42316 glibcxx_cv_func_float_trig_use=no
42318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42319 ac_ext=c
42320 ac_cpp='$CPP $CPPFLAGS'
42321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42328 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42329 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42330 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42331 do :
42332 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42333 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42334 eval as_val=\$$as_ac_var
42335 if test "x$as_val" = x""yes; then :
42336 cat >>confdefs.h <<_ACEOF
42337 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42338 _ACEOF
42341 done
42343 else
42344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42345 $as_echo_n "checking for _float trig functions... " >&6; }
42346 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
42347 $as_echo_n "(cached) " >&6
42348 else
42351 ac_ext=cpp
42352 ac_cpp='$CXXCPP $CPPFLAGS'
42353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42358 /* end confdefs.h. */
42359 #include <math.h>
42361 main ()
42363 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42365 return 0;
42367 _ACEOF
42368 if ac_fn_cxx_try_compile "$LINENO"; then :
42369 glibcxx_cv_func__float_trig_use=yes
42370 else
42371 glibcxx_cv_func__float_trig_use=no
42373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42374 ac_ext=c
42375 ac_cpp='$CPP $CPPFLAGS'
42376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42383 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42384 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42385 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42386 do :
42387 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42388 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42389 eval as_val=\$$as_ac_var
42390 if test "x$as_val" = x""yes; then :
42391 cat >>confdefs.h <<_ACEOF
42392 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42393 _ACEOF
42396 done
42405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42406 $as_echo_n "checking for float round functions... " >&6; }
42407 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
42408 $as_echo_n "(cached) " >&6
42409 else
42412 ac_ext=cpp
42413 ac_cpp='$CXXCPP $CPPFLAGS'
42414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42419 /* end confdefs.h. */
42420 #include <math.h>
42422 main ()
42424 ceilf (0); floorf (0);
42426 return 0;
42428 _ACEOF
42429 if ac_fn_cxx_try_compile "$LINENO"; then :
42430 glibcxx_cv_func_float_round_use=yes
42431 else
42432 glibcxx_cv_func_float_round_use=no
42434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42435 ac_ext=c
42436 ac_cpp='$CPP $CPPFLAGS'
42437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42444 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42445 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42446 for ac_func in ceilf floorf
42447 do :
42448 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42449 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42450 eval as_val=\$$as_ac_var
42451 if test "x$as_val" = x""yes; then :
42452 cat >>confdefs.h <<_ACEOF
42453 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42454 _ACEOF
42457 done
42459 else
42460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42461 $as_echo_n "checking for _float round functions... " >&6; }
42462 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
42463 $as_echo_n "(cached) " >&6
42464 else
42467 ac_ext=cpp
42468 ac_cpp='$CXXCPP $CPPFLAGS'
42469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42474 /* end confdefs.h. */
42475 #include <math.h>
42477 main ()
42479 _ceilf (0); _floorf (0);
42481 return 0;
42483 _ACEOF
42484 if ac_fn_cxx_try_compile "$LINENO"; then :
42485 glibcxx_cv_func__float_round_use=yes
42486 else
42487 glibcxx_cv_func__float_round_use=no
42489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42490 ac_ext=c
42491 ac_cpp='$CPP $CPPFLAGS'
42492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42499 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42500 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42501 for ac_func in _ceilf _floorf
42502 do :
42503 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42504 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42505 eval as_val=\$$as_ac_var
42506 if test "x$as_val" = x""yes; then :
42507 cat >>confdefs.h <<_ACEOF
42508 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42509 _ACEOF
42512 done
42522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42523 $as_echo_n "checking for expf declaration... " >&6; }
42524 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42525 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
42526 $as_echo_n "(cached) " >&6
42527 else
42530 ac_ext=cpp
42531 ac_cpp='$CXXCPP $CPPFLAGS'
42532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42537 /* end confdefs.h. */
42538 #include <math.h>
42539 #ifdef HAVE_IEEEFP_H
42540 #include <ieeefp.h>
42541 #endif
42544 main ()
42546 expf(0);
42548 return 0;
42550 _ACEOF
42551 if ac_fn_cxx_try_compile "$LINENO"; then :
42552 glibcxx_cv_func_expf_use=yes
42553 else
42554 glibcxx_cv_func_expf_use=no
42556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42557 ac_ext=c
42558 ac_cpp='$CPP $CPPFLAGS'
42559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42568 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42570 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42571 for ac_func in expf
42572 do :
42573 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42574 if test "x$ac_cv_func_expf" = x""yes; then :
42575 cat >>confdefs.h <<_ACEOF
42576 #define HAVE_EXPF 1
42577 _ACEOF
42580 done
42582 else
42584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42585 $as_echo_n "checking for _expf declaration... " >&6; }
42586 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42587 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
42588 $as_echo_n "(cached) " >&6
42589 else
42592 ac_ext=cpp
42593 ac_cpp='$CXXCPP $CPPFLAGS'
42594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42599 /* end confdefs.h. */
42600 #include <math.h>
42601 #ifdef HAVE_IEEEFP_H
42602 #include <ieeefp.h>
42603 #endif
42606 main ()
42608 _expf(0);
42610 return 0;
42612 _ACEOF
42613 if ac_fn_cxx_try_compile "$LINENO"; then :
42614 glibcxx_cv_func__expf_use=yes
42615 else
42616 glibcxx_cv_func__expf_use=no
42618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42619 ac_ext=c
42620 ac_cpp='$CPP $CPPFLAGS'
42621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42630 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42632 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42633 for ac_func in _expf
42634 do :
42635 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42636 if test "x$ac_cv_func__expf" = x""yes; then :
42637 cat >>confdefs.h <<_ACEOF
42638 #define HAVE__EXPF 1
42639 _ACEOF
42642 done
42651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42652 $as_echo_n "checking for isnanf declaration... " >&6; }
42653 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42654 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
42655 $as_echo_n "(cached) " >&6
42656 else
42659 ac_ext=cpp
42660 ac_cpp='$CXXCPP $CPPFLAGS'
42661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42666 /* end confdefs.h. */
42667 #include <math.h>
42668 #ifdef HAVE_IEEEFP_H
42669 #include <ieeefp.h>
42670 #endif
42673 main ()
42675 isnanf(0);
42677 return 0;
42679 _ACEOF
42680 if ac_fn_cxx_try_compile "$LINENO"; then :
42681 glibcxx_cv_func_isnanf_use=yes
42682 else
42683 glibcxx_cv_func_isnanf_use=no
42685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42686 ac_ext=c
42687 ac_cpp='$CPP $CPPFLAGS'
42688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42697 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42699 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42700 for ac_func in isnanf
42701 do :
42702 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42703 if test "x$ac_cv_func_isnanf" = x""yes; then :
42704 cat >>confdefs.h <<_ACEOF
42705 #define HAVE_ISNANF 1
42706 _ACEOF
42709 done
42711 else
42713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42714 $as_echo_n "checking for _isnanf declaration... " >&6; }
42715 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42716 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
42717 $as_echo_n "(cached) " >&6
42718 else
42721 ac_ext=cpp
42722 ac_cpp='$CXXCPP $CPPFLAGS'
42723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42728 /* end confdefs.h. */
42729 #include <math.h>
42730 #ifdef HAVE_IEEEFP_H
42731 #include <ieeefp.h>
42732 #endif
42735 main ()
42737 _isnanf(0);
42739 return 0;
42741 _ACEOF
42742 if ac_fn_cxx_try_compile "$LINENO"; then :
42743 glibcxx_cv_func__isnanf_use=yes
42744 else
42745 glibcxx_cv_func__isnanf_use=no
42747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42748 ac_ext=c
42749 ac_cpp='$CPP $CPPFLAGS'
42750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42759 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42761 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42762 for ac_func in _isnanf
42763 do :
42764 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42765 if test "x$ac_cv_func__isnanf" = x""yes; then :
42766 cat >>confdefs.h <<_ACEOF
42767 #define HAVE__ISNANF 1
42768 _ACEOF
42771 done
42780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42781 $as_echo_n "checking for isinff declaration... " >&6; }
42782 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42783 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
42784 $as_echo_n "(cached) " >&6
42785 else
42788 ac_ext=cpp
42789 ac_cpp='$CXXCPP $CPPFLAGS'
42790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42795 /* end confdefs.h. */
42796 #include <math.h>
42797 #ifdef HAVE_IEEEFP_H
42798 #include <ieeefp.h>
42799 #endif
42802 main ()
42804 isinff(0);
42806 return 0;
42808 _ACEOF
42809 if ac_fn_cxx_try_compile "$LINENO"; then :
42810 glibcxx_cv_func_isinff_use=yes
42811 else
42812 glibcxx_cv_func_isinff_use=no
42814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42815 ac_ext=c
42816 ac_cpp='$CPP $CPPFLAGS'
42817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
42826 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
42828 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
42829 for ac_func in isinff
42830 do :
42831 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
42832 if test "x$ac_cv_func_isinff" = x""yes; then :
42833 cat >>confdefs.h <<_ACEOF
42834 #define HAVE_ISINFF 1
42835 _ACEOF
42838 done
42840 else
42842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
42843 $as_echo_n "checking for _isinff declaration... " >&6; }
42844 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
42845 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
42846 $as_echo_n "(cached) " >&6
42847 else
42850 ac_ext=cpp
42851 ac_cpp='$CXXCPP $CPPFLAGS'
42852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42857 /* end confdefs.h. */
42858 #include <math.h>
42859 #ifdef HAVE_IEEEFP_H
42860 #include <ieeefp.h>
42861 #endif
42864 main ()
42866 _isinff(0);
42868 return 0;
42870 _ACEOF
42871 if ac_fn_cxx_try_compile "$LINENO"; then :
42872 glibcxx_cv_func__isinff_use=yes
42873 else
42874 glibcxx_cv_func__isinff_use=no
42876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42877 ac_ext=c
42878 ac_cpp='$CPP $CPPFLAGS'
42879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
42888 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
42890 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
42891 for ac_func in _isinff
42892 do :
42893 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
42894 if test "x$ac_cv_func__isinff" = x""yes; then :
42895 cat >>confdefs.h <<_ACEOF
42896 #define HAVE__ISINFF 1
42897 _ACEOF
42900 done
42909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
42910 $as_echo_n "checking for atan2f declaration... " >&6; }
42911 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
42912 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
42913 $as_echo_n "(cached) " >&6
42914 else
42917 ac_ext=cpp
42918 ac_cpp='$CXXCPP $CPPFLAGS'
42919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42924 /* end confdefs.h. */
42925 #include <math.h>
42927 main ()
42929 atan2f(0, 0);
42931 return 0;
42933 _ACEOF
42934 if ac_fn_cxx_try_compile "$LINENO"; then :
42935 glibcxx_cv_func_atan2f_use=yes
42936 else
42937 glibcxx_cv_func_atan2f_use=no
42939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42940 ac_ext=c
42941 ac_cpp='$CPP $CPPFLAGS'
42942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
42951 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
42953 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
42954 for ac_func in atan2f
42955 do :
42956 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
42957 if test "x$ac_cv_func_atan2f" = x""yes; then :
42958 cat >>confdefs.h <<_ACEOF
42959 #define HAVE_ATAN2F 1
42960 _ACEOF
42963 done
42965 else
42967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
42968 $as_echo_n "checking for _atan2f declaration... " >&6; }
42969 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
42970 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
42971 $as_echo_n "(cached) " >&6
42972 else
42975 ac_ext=cpp
42976 ac_cpp='$CXXCPP $CPPFLAGS'
42977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42982 /* end confdefs.h. */
42983 #include <math.h>
42985 main ()
42987 _atan2f(0, 0);
42989 return 0;
42991 _ACEOF
42992 if ac_fn_cxx_try_compile "$LINENO"; then :
42993 glibcxx_cv_func__atan2f_use=yes
42994 else
42995 glibcxx_cv_func__atan2f_use=no
42997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42998 ac_ext=c
42999 ac_cpp='$CPP $CPPFLAGS'
43000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
43009 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
43011 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
43012 for ac_func in _atan2f
43013 do :
43014 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
43015 if test "x$ac_cv_func__atan2f" = x""yes; then :
43016 cat >>confdefs.h <<_ACEOF
43017 #define HAVE__ATAN2F 1
43018 _ACEOF
43021 done
43030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43031 $as_echo_n "checking for fabsf declaration... " >&6; }
43032 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43033 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
43034 $as_echo_n "(cached) " >&6
43035 else
43038 ac_ext=cpp
43039 ac_cpp='$CXXCPP $CPPFLAGS'
43040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43045 /* end confdefs.h. */
43046 #include <math.h>
43047 #ifdef HAVE_IEEEFP_H
43048 #include <ieeefp.h>
43049 #endif
43052 main ()
43054 fabsf(0);
43056 return 0;
43058 _ACEOF
43059 if ac_fn_cxx_try_compile "$LINENO"; then :
43060 glibcxx_cv_func_fabsf_use=yes
43061 else
43062 glibcxx_cv_func_fabsf_use=no
43064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43065 ac_ext=c
43066 ac_cpp='$CPP $CPPFLAGS'
43067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43076 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43078 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43079 for ac_func in fabsf
43080 do :
43081 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43082 if test "x$ac_cv_func_fabsf" = x""yes; then :
43083 cat >>confdefs.h <<_ACEOF
43084 #define HAVE_FABSF 1
43085 _ACEOF
43088 done
43090 else
43092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43093 $as_echo_n "checking for _fabsf declaration... " >&6; }
43094 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43095 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
43096 $as_echo_n "(cached) " >&6
43097 else
43100 ac_ext=cpp
43101 ac_cpp='$CXXCPP $CPPFLAGS'
43102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43107 /* end confdefs.h. */
43108 #include <math.h>
43109 #ifdef HAVE_IEEEFP_H
43110 #include <ieeefp.h>
43111 #endif
43114 main ()
43116 _fabsf(0);
43118 return 0;
43120 _ACEOF
43121 if ac_fn_cxx_try_compile "$LINENO"; then :
43122 glibcxx_cv_func__fabsf_use=yes
43123 else
43124 glibcxx_cv_func__fabsf_use=no
43126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43127 ac_ext=c
43128 ac_cpp='$CPP $CPPFLAGS'
43129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43138 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43140 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43141 for ac_func in _fabsf
43142 do :
43143 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43144 if test "x$ac_cv_func__fabsf" = x""yes; then :
43145 cat >>confdefs.h <<_ACEOF
43146 #define HAVE__FABSF 1
43147 _ACEOF
43150 done
43159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43160 $as_echo_n "checking for fmodf declaration... " >&6; }
43161 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43162 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
43163 $as_echo_n "(cached) " >&6
43164 else
43167 ac_ext=cpp
43168 ac_cpp='$CXXCPP $CPPFLAGS'
43169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43174 /* end confdefs.h. */
43175 #include <math.h>
43177 main ()
43179 fmodf(0, 0);
43181 return 0;
43183 _ACEOF
43184 if ac_fn_cxx_try_compile "$LINENO"; then :
43185 glibcxx_cv_func_fmodf_use=yes
43186 else
43187 glibcxx_cv_func_fmodf_use=no
43189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43190 ac_ext=c
43191 ac_cpp='$CPP $CPPFLAGS'
43192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43201 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43203 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43204 for ac_func in fmodf
43205 do :
43206 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43207 if test "x$ac_cv_func_fmodf" = x""yes; then :
43208 cat >>confdefs.h <<_ACEOF
43209 #define HAVE_FMODF 1
43210 _ACEOF
43213 done
43215 else
43217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43218 $as_echo_n "checking for _fmodf declaration... " >&6; }
43219 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43220 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
43221 $as_echo_n "(cached) " >&6
43222 else
43225 ac_ext=cpp
43226 ac_cpp='$CXXCPP $CPPFLAGS'
43227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43232 /* end confdefs.h. */
43233 #include <math.h>
43235 main ()
43237 _fmodf(0, 0);
43239 return 0;
43241 _ACEOF
43242 if ac_fn_cxx_try_compile "$LINENO"; then :
43243 glibcxx_cv_func__fmodf_use=yes
43244 else
43245 glibcxx_cv_func__fmodf_use=no
43247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43248 ac_ext=c
43249 ac_cpp='$CPP $CPPFLAGS'
43250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43259 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43261 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43262 for ac_func in _fmodf
43263 do :
43264 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43265 if test "x$ac_cv_func__fmodf" = x""yes; then :
43266 cat >>confdefs.h <<_ACEOF
43267 #define HAVE__FMODF 1
43268 _ACEOF
43271 done
43280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43281 $as_echo_n "checking for frexpf declaration... " >&6; }
43282 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43283 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
43284 $as_echo_n "(cached) " >&6
43285 else
43288 ac_ext=cpp
43289 ac_cpp='$CXXCPP $CPPFLAGS'
43290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43295 /* end confdefs.h. */
43296 #include <math.h>
43298 main ()
43300 frexpf(0, 0);
43302 return 0;
43304 _ACEOF
43305 if ac_fn_cxx_try_compile "$LINENO"; then :
43306 glibcxx_cv_func_frexpf_use=yes
43307 else
43308 glibcxx_cv_func_frexpf_use=no
43310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43311 ac_ext=c
43312 ac_cpp='$CPP $CPPFLAGS'
43313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43322 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43324 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43325 for ac_func in frexpf
43326 do :
43327 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43328 if test "x$ac_cv_func_frexpf" = x""yes; then :
43329 cat >>confdefs.h <<_ACEOF
43330 #define HAVE_FREXPF 1
43331 _ACEOF
43334 done
43336 else
43338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43339 $as_echo_n "checking for _frexpf declaration... " >&6; }
43340 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43341 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
43342 $as_echo_n "(cached) " >&6
43343 else
43346 ac_ext=cpp
43347 ac_cpp='$CXXCPP $CPPFLAGS'
43348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43353 /* end confdefs.h. */
43354 #include <math.h>
43356 main ()
43358 _frexpf(0, 0);
43360 return 0;
43362 _ACEOF
43363 if ac_fn_cxx_try_compile "$LINENO"; then :
43364 glibcxx_cv_func__frexpf_use=yes
43365 else
43366 glibcxx_cv_func__frexpf_use=no
43368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43369 ac_ext=c
43370 ac_cpp='$CPP $CPPFLAGS'
43371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43380 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43382 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43383 for ac_func in _frexpf
43384 do :
43385 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43386 if test "x$ac_cv_func__frexpf" = x""yes; then :
43387 cat >>confdefs.h <<_ACEOF
43388 #define HAVE__FREXPF 1
43389 _ACEOF
43392 done
43401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43402 $as_echo_n "checking for hypotf declaration... " >&6; }
43403 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43404 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
43405 $as_echo_n "(cached) " >&6
43406 else
43409 ac_ext=cpp
43410 ac_cpp='$CXXCPP $CPPFLAGS'
43411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43416 /* end confdefs.h. */
43417 #include <math.h>
43419 main ()
43421 hypotf(0, 0);
43423 return 0;
43425 _ACEOF
43426 if ac_fn_cxx_try_compile "$LINENO"; then :
43427 glibcxx_cv_func_hypotf_use=yes
43428 else
43429 glibcxx_cv_func_hypotf_use=no
43431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43432 ac_ext=c
43433 ac_cpp='$CPP $CPPFLAGS'
43434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43443 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43445 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43446 for ac_func in hypotf
43447 do :
43448 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43449 if test "x$ac_cv_func_hypotf" = x""yes; then :
43450 cat >>confdefs.h <<_ACEOF
43451 #define HAVE_HYPOTF 1
43452 _ACEOF
43455 done
43457 else
43459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43460 $as_echo_n "checking for _hypotf declaration... " >&6; }
43461 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43462 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
43463 $as_echo_n "(cached) " >&6
43464 else
43467 ac_ext=cpp
43468 ac_cpp='$CXXCPP $CPPFLAGS'
43469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43474 /* end confdefs.h. */
43475 #include <math.h>
43477 main ()
43479 _hypotf(0, 0);
43481 return 0;
43483 _ACEOF
43484 if ac_fn_cxx_try_compile "$LINENO"; then :
43485 glibcxx_cv_func__hypotf_use=yes
43486 else
43487 glibcxx_cv_func__hypotf_use=no
43489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43490 ac_ext=c
43491 ac_cpp='$CPP $CPPFLAGS'
43492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43501 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43503 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43504 for ac_func in _hypotf
43505 do :
43506 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43507 if test "x$ac_cv_func__hypotf" = x""yes; then :
43508 cat >>confdefs.h <<_ACEOF
43509 #define HAVE__HYPOTF 1
43510 _ACEOF
43513 done
43522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43523 $as_echo_n "checking for ldexpf declaration... " >&6; }
43524 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43525 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
43526 $as_echo_n "(cached) " >&6
43527 else
43530 ac_ext=cpp
43531 ac_cpp='$CXXCPP $CPPFLAGS'
43532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43537 /* end confdefs.h. */
43538 #include <math.h>
43540 main ()
43542 ldexpf(0, 0);
43544 return 0;
43546 _ACEOF
43547 if ac_fn_cxx_try_compile "$LINENO"; then :
43548 glibcxx_cv_func_ldexpf_use=yes
43549 else
43550 glibcxx_cv_func_ldexpf_use=no
43552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43553 ac_ext=c
43554 ac_cpp='$CPP $CPPFLAGS'
43555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43564 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43566 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43567 for ac_func in ldexpf
43568 do :
43569 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43570 if test "x$ac_cv_func_ldexpf" = x""yes; then :
43571 cat >>confdefs.h <<_ACEOF
43572 #define HAVE_LDEXPF 1
43573 _ACEOF
43576 done
43578 else
43580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43581 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43582 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43583 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
43584 $as_echo_n "(cached) " >&6
43585 else
43588 ac_ext=cpp
43589 ac_cpp='$CXXCPP $CPPFLAGS'
43590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43595 /* end confdefs.h. */
43596 #include <math.h>
43598 main ()
43600 _ldexpf(0, 0);
43602 return 0;
43604 _ACEOF
43605 if ac_fn_cxx_try_compile "$LINENO"; then :
43606 glibcxx_cv_func__ldexpf_use=yes
43607 else
43608 glibcxx_cv_func__ldexpf_use=no
43610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43611 ac_ext=c
43612 ac_cpp='$CPP $CPPFLAGS'
43613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43622 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43624 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43625 for ac_func in _ldexpf
43626 do :
43627 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43628 if test "x$ac_cv_func__ldexpf" = x""yes; then :
43629 cat >>confdefs.h <<_ACEOF
43630 #define HAVE__LDEXPF 1
43631 _ACEOF
43634 done
43643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43644 $as_echo_n "checking for logf declaration... " >&6; }
43645 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43646 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
43647 $as_echo_n "(cached) " >&6
43648 else
43651 ac_ext=cpp
43652 ac_cpp='$CXXCPP $CPPFLAGS'
43653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43658 /* end confdefs.h. */
43659 #include <math.h>
43660 #ifdef HAVE_IEEEFP_H
43661 #include <ieeefp.h>
43662 #endif
43665 main ()
43667 logf(0);
43669 return 0;
43671 _ACEOF
43672 if ac_fn_cxx_try_compile "$LINENO"; then :
43673 glibcxx_cv_func_logf_use=yes
43674 else
43675 glibcxx_cv_func_logf_use=no
43677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43678 ac_ext=c
43679 ac_cpp='$CPP $CPPFLAGS'
43680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43689 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43691 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43692 for ac_func in logf
43693 do :
43694 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43695 if test "x$ac_cv_func_logf" = x""yes; then :
43696 cat >>confdefs.h <<_ACEOF
43697 #define HAVE_LOGF 1
43698 _ACEOF
43701 done
43703 else
43705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43706 $as_echo_n "checking for _logf declaration... " >&6; }
43707 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43708 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
43709 $as_echo_n "(cached) " >&6
43710 else
43713 ac_ext=cpp
43714 ac_cpp='$CXXCPP $CPPFLAGS'
43715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43720 /* end confdefs.h. */
43721 #include <math.h>
43722 #ifdef HAVE_IEEEFP_H
43723 #include <ieeefp.h>
43724 #endif
43727 main ()
43729 _logf(0);
43731 return 0;
43733 _ACEOF
43734 if ac_fn_cxx_try_compile "$LINENO"; then :
43735 glibcxx_cv_func__logf_use=yes
43736 else
43737 glibcxx_cv_func__logf_use=no
43739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43740 ac_ext=c
43741 ac_cpp='$CPP $CPPFLAGS'
43742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43751 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
43753 if test x$glibcxx_cv_func__logf_use = x"yes"; then
43754 for ac_func in _logf
43755 do :
43756 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43757 if test "x$ac_cv_func__logf" = x""yes; then :
43758 cat >>confdefs.h <<_ACEOF
43759 #define HAVE__LOGF 1
43760 _ACEOF
43763 done
43772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43773 $as_echo_n "checking for log10f declaration... " >&6; }
43774 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43775 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
43776 $as_echo_n "(cached) " >&6
43777 else
43780 ac_ext=cpp
43781 ac_cpp='$CXXCPP $CPPFLAGS'
43782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43787 /* end confdefs.h. */
43788 #include <math.h>
43789 #ifdef HAVE_IEEEFP_H
43790 #include <ieeefp.h>
43791 #endif
43794 main ()
43796 log10f(0);
43798 return 0;
43800 _ACEOF
43801 if ac_fn_cxx_try_compile "$LINENO"; then :
43802 glibcxx_cv_func_log10f_use=yes
43803 else
43804 glibcxx_cv_func_log10f_use=no
43806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43807 ac_ext=c
43808 ac_cpp='$CPP $CPPFLAGS'
43809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
43818 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
43820 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
43821 for ac_func in log10f
43822 do :
43823 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
43824 if test "x$ac_cv_func_log10f" = x""yes; then :
43825 cat >>confdefs.h <<_ACEOF
43826 #define HAVE_LOG10F 1
43827 _ACEOF
43830 done
43832 else
43834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
43835 $as_echo_n "checking for _log10f declaration... " >&6; }
43836 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
43837 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
43838 $as_echo_n "(cached) " >&6
43839 else
43842 ac_ext=cpp
43843 ac_cpp='$CXXCPP $CPPFLAGS'
43844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43849 /* end confdefs.h. */
43850 #include <math.h>
43851 #ifdef HAVE_IEEEFP_H
43852 #include <ieeefp.h>
43853 #endif
43856 main ()
43858 _log10f(0);
43860 return 0;
43862 _ACEOF
43863 if ac_fn_cxx_try_compile "$LINENO"; then :
43864 glibcxx_cv_func__log10f_use=yes
43865 else
43866 glibcxx_cv_func__log10f_use=no
43868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43869 ac_ext=c
43870 ac_cpp='$CPP $CPPFLAGS'
43871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
43880 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
43882 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
43883 for ac_func in _log10f
43884 do :
43885 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
43886 if test "x$ac_cv_func__log10f" = x""yes; then :
43887 cat >>confdefs.h <<_ACEOF
43888 #define HAVE__LOG10F 1
43889 _ACEOF
43892 done
43901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
43902 $as_echo_n "checking for modff declaration... " >&6; }
43903 if test x${glibcxx_cv_func_modff_use+set} != xset; then
43904 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
43905 $as_echo_n "(cached) " >&6
43906 else
43909 ac_ext=cpp
43910 ac_cpp='$CXXCPP $CPPFLAGS'
43911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43916 /* end confdefs.h. */
43917 #include <math.h>
43919 main ()
43921 modff(0, 0);
43923 return 0;
43925 _ACEOF
43926 if ac_fn_cxx_try_compile "$LINENO"; then :
43927 glibcxx_cv_func_modff_use=yes
43928 else
43929 glibcxx_cv_func_modff_use=no
43931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43932 ac_ext=c
43933 ac_cpp='$CPP $CPPFLAGS'
43934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
43943 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
43945 if test x$glibcxx_cv_func_modff_use = x"yes"; then
43946 for ac_func in modff
43947 do :
43948 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
43949 if test "x$ac_cv_func_modff" = x""yes; then :
43950 cat >>confdefs.h <<_ACEOF
43951 #define HAVE_MODFF 1
43952 _ACEOF
43955 done
43957 else
43959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
43960 $as_echo_n "checking for _modff declaration... " >&6; }
43961 if test x${glibcxx_cv_func__modff_use+set} != xset; then
43962 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
43963 $as_echo_n "(cached) " >&6
43964 else
43967 ac_ext=cpp
43968 ac_cpp='$CXXCPP $CPPFLAGS'
43969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43974 /* end confdefs.h. */
43975 #include <math.h>
43977 main ()
43979 _modff(0, 0);
43981 return 0;
43983 _ACEOF
43984 if ac_fn_cxx_try_compile "$LINENO"; then :
43985 glibcxx_cv_func__modff_use=yes
43986 else
43987 glibcxx_cv_func__modff_use=no
43989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43990 ac_ext=c
43991 ac_cpp='$CPP $CPPFLAGS'
43992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
44001 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
44003 if test x$glibcxx_cv_func__modff_use = x"yes"; then
44004 for ac_func in _modff
44005 do :
44006 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
44007 if test "x$ac_cv_func__modff" = x""yes; then :
44008 cat >>confdefs.h <<_ACEOF
44009 #define HAVE__MODFF 1
44010 _ACEOF
44013 done
44022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44023 $as_echo_n "checking for modf declaration... " >&6; }
44024 if test x${glibcxx_cv_func_modf_use+set} != xset; then
44025 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
44026 $as_echo_n "(cached) " >&6
44027 else
44030 ac_ext=cpp
44031 ac_cpp='$CXXCPP $CPPFLAGS'
44032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44037 /* end confdefs.h. */
44038 #include <math.h>
44040 main ()
44042 modf(0, 0);
44044 return 0;
44046 _ACEOF
44047 if ac_fn_cxx_try_compile "$LINENO"; then :
44048 glibcxx_cv_func_modf_use=yes
44049 else
44050 glibcxx_cv_func_modf_use=no
44052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44053 ac_ext=c
44054 ac_cpp='$CPP $CPPFLAGS'
44055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44064 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44066 if test x$glibcxx_cv_func_modf_use = x"yes"; then
44067 for ac_func in modf
44068 do :
44069 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44070 if test "x$ac_cv_func_modf" = x""yes; then :
44071 cat >>confdefs.h <<_ACEOF
44072 #define HAVE_MODF 1
44073 _ACEOF
44076 done
44078 else
44080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44081 $as_echo_n "checking for _modf declaration... " >&6; }
44082 if test x${glibcxx_cv_func__modf_use+set} != xset; then
44083 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
44084 $as_echo_n "(cached) " >&6
44085 else
44088 ac_ext=cpp
44089 ac_cpp='$CXXCPP $CPPFLAGS'
44090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44095 /* end confdefs.h. */
44096 #include <math.h>
44098 main ()
44100 _modf(0, 0);
44102 return 0;
44104 _ACEOF
44105 if ac_fn_cxx_try_compile "$LINENO"; then :
44106 glibcxx_cv_func__modf_use=yes
44107 else
44108 glibcxx_cv_func__modf_use=no
44110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44111 ac_ext=c
44112 ac_cpp='$CPP $CPPFLAGS'
44113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44122 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44124 if test x$glibcxx_cv_func__modf_use = x"yes"; then
44125 for ac_func in _modf
44126 do :
44127 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44128 if test "x$ac_cv_func__modf" = x""yes; then :
44129 cat >>confdefs.h <<_ACEOF
44130 #define HAVE__MODF 1
44131 _ACEOF
44134 done
44143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44144 $as_echo_n "checking for powf declaration... " >&6; }
44145 if test x${glibcxx_cv_func_powf_use+set} != xset; then
44146 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
44147 $as_echo_n "(cached) " >&6
44148 else
44151 ac_ext=cpp
44152 ac_cpp='$CXXCPP $CPPFLAGS'
44153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44158 /* end confdefs.h. */
44159 #include <math.h>
44161 main ()
44163 powf(0, 0);
44165 return 0;
44167 _ACEOF
44168 if ac_fn_cxx_try_compile "$LINENO"; then :
44169 glibcxx_cv_func_powf_use=yes
44170 else
44171 glibcxx_cv_func_powf_use=no
44173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44174 ac_ext=c
44175 ac_cpp='$CPP $CPPFLAGS'
44176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44185 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44187 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44188 for ac_func in powf
44189 do :
44190 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44191 if test "x$ac_cv_func_powf" = x""yes; then :
44192 cat >>confdefs.h <<_ACEOF
44193 #define HAVE_POWF 1
44194 _ACEOF
44197 done
44199 else
44201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44202 $as_echo_n "checking for _powf declaration... " >&6; }
44203 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44204 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
44205 $as_echo_n "(cached) " >&6
44206 else
44209 ac_ext=cpp
44210 ac_cpp='$CXXCPP $CPPFLAGS'
44211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44216 /* end confdefs.h. */
44217 #include <math.h>
44219 main ()
44221 _powf(0, 0);
44223 return 0;
44225 _ACEOF
44226 if ac_fn_cxx_try_compile "$LINENO"; then :
44227 glibcxx_cv_func__powf_use=yes
44228 else
44229 glibcxx_cv_func__powf_use=no
44231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44232 ac_ext=c
44233 ac_cpp='$CPP $CPPFLAGS'
44234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44243 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44245 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44246 for ac_func in _powf
44247 do :
44248 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44249 if test "x$ac_cv_func__powf" = x""yes; then :
44250 cat >>confdefs.h <<_ACEOF
44251 #define HAVE__POWF 1
44252 _ACEOF
44255 done
44264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44265 $as_echo_n "checking for sqrtf declaration... " >&6; }
44266 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44267 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
44268 $as_echo_n "(cached) " >&6
44269 else
44272 ac_ext=cpp
44273 ac_cpp='$CXXCPP $CPPFLAGS'
44274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44279 /* end confdefs.h. */
44280 #include <math.h>
44281 #ifdef HAVE_IEEEFP_H
44282 #include <ieeefp.h>
44283 #endif
44286 main ()
44288 sqrtf(0);
44290 return 0;
44292 _ACEOF
44293 if ac_fn_cxx_try_compile "$LINENO"; then :
44294 glibcxx_cv_func_sqrtf_use=yes
44295 else
44296 glibcxx_cv_func_sqrtf_use=no
44298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44299 ac_ext=c
44300 ac_cpp='$CPP $CPPFLAGS'
44301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44310 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44312 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44313 for ac_func in sqrtf
44314 do :
44315 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44316 if test "x$ac_cv_func_sqrtf" = x""yes; then :
44317 cat >>confdefs.h <<_ACEOF
44318 #define HAVE_SQRTF 1
44319 _ACEOF
44322 done
44324 else
44326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44327 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44328 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44329 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
44330 $as_echo_n "(cached) " >&6
44331 else
44334 ac_ext=cpp
44335 ac_cpp='$CXXCPP $CPPFLAGS'
44336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44341 /* end confdefs.h. */
44342 #include <math.h>
44343 #ifdef HAVE_IEEEFP_H
44344 #include <ieeefp.h>
44345 #endif
44348 main ()
44350 _sqrtf(0);
44352 return 0;
44354 _ACEOF
44355 if ac_fn_cxx_try_compile "$LINENO"; then :
44356 glibcxx_cv_func__sqrtf_use=yes
44357 else
44358 glibcxx_cv_func__sqrtf_use=no
44360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44361 ac_ext=c
44362 ac_cpp='$CPP $CPPFLAGS'
44363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44372 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44374 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44375 for ac_func in _sqrtf
44376 do :
44377 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44378 if test "x$ac_cv_func__sqrtf" = x""yes; then :
44379 cat >>confdefs.h <<_ACEOF
44380 #define HAVE__SQRTF 1
44381 _ACEOF
44384 done
44393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44394 $as_echo_n "checking for sincosf declaration... " >&6; }
44395 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44396 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
44397 $as_echo_n "(cached) " >&6
44398 else
44401 ac_ext=cpp
44402 ac_cpp='$CXXCPP $CPPFLAGS'
44403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44408 /* end confdefs.h. */
44409 #include <math.h>
44411 main ()
44413 sincosf(0, 0, 0);
44415 return 0;
44417 _ACEOF
44418 if ac_fn_cxx_try_compile "$LINENO"; then :
44419 glibcxx_cv_func_sincosf_use=yes
44420 else
44421 glibcxx_cv_func_sincosf_use=no
44423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44424 ac_ext=c
44425 ac_cpp='$CPP $CPPFLAGS'
44426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44435 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44437 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44438 for ac_func in sincosf
44439 do :
44440 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44441 if test "x$ac_cv_func_sincosf" = x""yes; then :
44442 cat >>confdefs.h <<_ACEOF
44443 #define HAVE_SINCOSF 1
44444 _ACEOF
44447 done
44449 else
44451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44452 $as_echo_n "checking for _sincosf declaration... " >&6; }
44453 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44454 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
44455 $as_echo_n "(cached) " >&6
44456 else
44459 ac_ext=cpp
44460 ac_cpp='$CXXCPP $CPPFLAGS'
44461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44466 /* end confdefs.h. */
44467 #include <math.h>
44469 main ()
44471 _sincosf(0, 0, 0);
44473 return 0;
44475 _ACEOF
44476 if ac_fn_cxx_try_compile "$LINENO"; then :
44477 glibcxx_cv_func__sincosf_use=yes
44478 else
44479 glibcxx_cv_func__sincosf_use=no
44481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44482 ac_ext=c
44483 ac_cpp='$CPP $CPPFLAGS'
44484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44493 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44495 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44496 for ac_func in _sincosf
44497 do :
44498 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44499 if test "x$ac_cv_func__sincosf" = x""yes; then :
44500 cat >>confdefs.h <<_ACEOF
44501 #define HAVE__SINCOSF 1
44502 _ACEOF
44505 done
44514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44515 $as_echo_n "checking for finitef declaration... " >&6; }
44516 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44517 if test "${glibcxx_cv_func_finitef_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>
44531 #ifdef HAVE_IEEEFP_H
44532 #include <ieeefp.h>
44533 #endif
44536 main ()
44538 finitef(0);
44540 return 0;
44542 _ACEOF
44543 if ac_fn_cxx_try_compile "$LINENO"; then :
44544 glibcxx_cv_func_finitef_use=yes
44545 else
44546 glibcxx_cv_func_finitef_use=no
44548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44549 ac_ext=c
44550 ac_cpp='$CPP $CPPFLAGS'
44551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44560 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44562 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44563 for ac_func in finitef
44564 do :
44565 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44566 if test "x$ac_cv_func_finitef" = x""yes; then :
44567 cat >>confdefs.h <<_ACEOF
44568 #define HAVE_FINITEF 1
44569 _ACEOF
44572 done
44574 else
44576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44577 $as_echo_n "checking for _finitef declaration... " >&6; }
44578 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44579 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
44580 $as_echo_n "(cached) " >&6
44581 else
44584 ac_ext=cpp
44585 ac_cpp='$CXXCPP $CPPFLAGS'
44586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44591 /* end confdefs.h. */
44592 #include <math.h>
44593 #ifdef HAVE_IEEEFP_H
44594 #include <ieeefp.h>
44595 #endif
44598 main ()
44600 _finitef(0);
44602 return 0;
44604 _ACEOF
44605 if ac_fn_cxx_try_compile "$LINENO"; then :
44606 glibcxx_cv_func__finitef_use=yes
44607 else
44608 glibcxx_cv_func__finitef_use=no
44610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44611 ac_ext=c
44612 ac_cpp='$CPP $CPPFLAGS'
44613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44622 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44624 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44625 for ac_func in _finitef
44626 do :
44627 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44628 if test "x$ac_cv_func__finitef" = x""yes; then :
44629 cat >>confdefs.h <<_ACEOF
44630 #define HAVE__FINITEF 1
44631 _ACEOF
44634 done
44643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44644 $as_echo_n "checking for long double trig functions... " >&6; }
44645 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
44646 $as_echo_n "(cached) " >&6
44647 else
44650 ac_ext=cpp
44651 ac_cpp='$CXXCPP $CPPFLAGS'
44652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44657 /* end confdefs.h. */
44658 #include <math.h>
44660 main ()
44662 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44664 return 0;
44666 _ACEOF
44667 if ac_fn_cxx_try_compile "$LINENO"; then :
44668 glibcxx_cv_func_long_double_trig_use=yes
44669 else
44670 glibcxx_cv_func_long_double_trig_use=no
44672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44673 ac_ext=c
44674 ac_cpp='$CPP $CPPFLAGS'
44675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44682 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44683 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44684 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44685 do :
44686 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44687 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44688 eval as_val=\$$as_ac_var
44689 if test "x$as_val" = x""yes; then :
44690 cat >>confdefs.h <<_ACEOF
44691 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44692 _ACEOF
44695 done
44697 else
44698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44699 $as_echo_n "checking for _long double trig functions... " >&6; }
44700 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
44701 $as_echo_n "(cached) " >&6
44702 else
44705 ac_ext=cpp
44706 ac_cpp='$CXXCPP $CPPFLAGS'
44707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44712 /* end confdefs.h. */
44713 #include <math.h>
44715 main ()
44717 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44719 return 0;
44721 _ACEOF
44722 if ac_fn_cxx_try_compile "$LINENO"; then :
44723 glibcxx_cv_func__long_double_trig_use=yes
44724 else
44725 glibcxx_cv_func__long_double_trig_use=no
44727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44728 ac_ext=c
44729 ac_cpp='$CPP $CPPFLAGS'
44730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44737 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44738 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44739 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44740 do :
44741 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44742 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44743 eval as_val=\$$as_ac_var
44744 if test "x$as_val" = x""yes; then :
44745 cat >>confdefs.h <<_ACEOF
44746 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44747 _ACEOF
44750 done
44759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44760 $as_echo_n "checking for long double round functions... " >&6; }
44761 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
44762 $as_echo_n "(cached) " >&6
44763 else
44766 ac_ext=cpp
44767 ac_cpp='$CXXCPP $CPPFLAGS'
44768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44773 /* end confdefs.h. */
44774 #include <math.h>
44776 main ()
44778 ceill (0); floorl (0);
44780 return 0;
44782 _ACEOF
44783 if ac_fn_cxx_try_compile "$LINENO"; then :
44784 glibcxx_cv_func_long_double_round_use=yes
44785 else
44786 glibcxx_cv_func_long_double_round_use=no
44788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44789 ac_ext=c
44790 ac_cpp='$CPP $CPPFLAGS'
44791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44798 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44799 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44800 for ac_func in ceill floorl
44801 do :
44802 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44803 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44804 eval as_val=\$$as_ac_var
44805 if test "x$as_val" = x""yes; then :
44806 cat >>confdefs.h <<_ACEOF
44807 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44808 _ACEOF
44811 done
44813 else
44814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
44815 $as_echo_n "checking for _long double round functions... " >&6; }
44816 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
44817 $as_echo_n "(cached) " >&6
44818 else
44821 ac_ext=cpp
44822 ac_cpp='$CXXCPP $CPPFLAGS'
44823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44828 /* end confdefs.h. */
44829 #include <math.h>
44831 main ()
44833 _ceill (0); _floorl (0);
44835 return 0;
44837 _ACEOF
44838 if ac_fn_cxx_try_compile "$LINENO"; then :
44839 glibcxx_cv_func__long_double_round_use=yes
44840 else
44841 glibcxx_cv_func__long_double_round_use=no
44843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44844 ac_ext=c
44845 ac_cpp='$CPP $CPPFLAGS'
44846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
44853 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
44854 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
44855 for ac_func in _ceill _floorl
44856 do :
44857 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44858 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44859 eval as_val=\$$as_ac_var
44860 if test "x$as_val" = x""yes; then :
44861 cat >>confdefs.h <<_ACEOF
44862 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44863 _ACEOF
44866 done
44876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
44877 $as_echo_n "checking for isnanl declaration... " >&6; }
44878 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
44879 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
44880 $as_echo_n "(cached) " >&6
44881 else
44884 ac_ext=cpp
44885 ac_cpp='$CXXCPP $CPPFLAGS'
44886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44891 /* end confdefs.h. */
44892 #include <math.h>
44893 #ifdef HAVE_IEEEFP_H
44894 #include <ieeefp.h>
44895 #endif
44898 main ()
44900 isnanl(0);
44902 return 0;
44904 _ACEOF
44905 if ac_fn_cxx_try_compile "$LINENO"; then :
44906 glibcxx_cv_func_isnanl_use=yes
44907 else
44908 glibcxx_cv_func_isnanl_use=no
44910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44911 ac_ext=c
44912 ac_cpp='$CPP $CPPFLAGS'
44913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
44922 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
44924 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
44925 for ac_func in isnanl
44926 do :
44927 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
44928 if test "x$ac_cv_func_isnanl" = x""yes; then :
44929 cat >>confdefs.h <<_ACEOF
44930 #define HAVE_ISNANL 1
44931 _ACEOF
44934 done
44936 else
44938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
44939 $as_echo_n "checking for _isnanl declaration... " >&6; }
44940 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
44941 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
44942 $as_echo_n "(cached) " >&6
44943 else
44946 ac_ext=cpp
44947 ac_cpp='$CXXCPP $CPPFLAGS'
44948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44953 /* end confdefs.h. */
44954 #include <math.h>
44955 #ifdef HAVE_IEEEFP_H
44956 #include <ieeefp.h>
44957 #endif
44960 main ()
44962 _isnanl(0);
44964 return 0;
44966 _ACEOF
44967 if ac_fn_cxx_try_compile "$LINENO"; then :
44968 glibcxx_cv_func__isnanl_use=yes
44969 else
44970 glibcxx_cv_func__isnanl_use=no
44972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44973 ac_ext=c
44974 ac_cpp='$CPP $CPPFLAGS'
44975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
44984 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
44986 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
44987 for ac_func in _isnanl
44988 do :
44989 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
44990 if test "x$ac_cv_func__isnanl" = x""yes; then :
44991 cat >>confdefs.h <<_ACEOF
44992 #define HAVE__ISNANL 1
44993 _ACEOF
44996 done
45005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
45006 $as_echo_n "checking for isinfl declaration... " >&6; }
45007 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
45008 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
45009 $as_echo_n "(cached) " >&6
45010 else
45013 ac_ext=cpp
45014 ac_cpp='$CXXCPP $CPPFLAGS'
45015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45020 /* end confdefs.h. */
45021 #include <math.h>
45022 #ifdef HAVE_IEEEFP_H
45023 #include <ieeefp.h>
45024 #endif
45027 main ()
45029 isinfl(0);
45031 return 0;
45033 _ACEOF
45034 if ac_fn_cxx_try_compile "$LINENO"; then :
45035 glibcxx_cv_func_isinfl_use=yes
45036 else
45037 glibcxx_cv_func_isinfl_use=no
45039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45040 ac_ext=c
45041 ac_cpp='$CPP $CPPFLAGS'
45042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45051 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45053 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45054 for ac_func in isinfl
45055 do :
45056 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45057 if test "x$ac_cv_func_isinfl" = x""yes; then :
45058 cat >>confdefs.h <<_ACEOF
45059 #define HAVE_ISINFL 1
45060 _ACEOF
45063 done
45065 else
45067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45068 $as_echo_n "checking for _isinfl declaration... " >&6; }
45069 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45070 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
45071 $as_echo_n "(cached) " >&6
45072 else
45075 ac_ext=cpp
45076 ac_cpp='$CXXCPP $CPPFLAGS'
45077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45082 /* end confdefs.h. */
45083 #include <math.h>
45084 #ifdef HAVE_IEEEFP_H
45085 #include <ieeefp.h>
45086 #endif
45089 main ()
45091 _isinfl(0);
45093 return 0;
45095 _ACEOF
45096 if ac_fn_cxx_try_compile "$LINENO"; then :
45097 glibcxx_cv_func__isinfl_use=yes
45098 else
45099 glibcxx_cv_func__isinfl_use=no
45101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45102 ac_ext=c
45103 ac_cpp='$CPP $CPPFLAGS'
45104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45113 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45115 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45116 for ac_func in _isinfl
45117 do :
45118 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45119 if test "x$ac_cv_func__isinfl" = x""yes; then :
45120 cat >>confdefs.h <<_ACEOF
45121 #define HAVE__ISINFL 1
45122 _ACEOF
45125 done
45134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45135 $as_echo_n "checking for atan2l declaration... " >&6; }
45136 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45137 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
45138 $as_echo_n "(cached) " >&6
45139 else
45142 ac_ext=cpp
45143 ac_cpp='$CXXCPP $CPPFLAGS'
45144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45149 /* end confdefs.h. */
45150 #include <math.h>
45152 main ()
45154 atan2l(0, 0);
45156 return 0;
45158 _ACEOF
45159 if ac_fn_cxx_try_compile "$LINENO"; then :
45160 glibcxx_cv_func_atan2l_use=yes
45161 else
45162 glibcxx_cv_func_atan2l_use=no
45164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45165 ac_ext=c
45166 ac_cpp='$CPP $CPPFLAGS'
45167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45176 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45178 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45179 for ac_func in atan2l
45180 do :
45181 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45182 if test "x$ac_cv_func_atan2l" = x""yes; then :
45183 cat >>confdefs.h <<_ACEOF
45184 #define HAVE_ATAN2L 1
45185 _ACEOF
45188 done
45190 else
45192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45193 $as_echo_n "checking for _atan2l declaration... " >&6; }
45194 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45195 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
45196 $as_echo_n "(cached) " >&6
45197 else
45200 ac_ext=cpp
45201 ac_cpp='$CXXCPP $CPPFLAGS'
45202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45207 /* end confdefs.h. */
45208 #include <math.h>
45210 main ()
45212 _atan2l(0, 0);
45214 return 0;
45216 _ACEOF
45217 if ac_fn_cxx_try_compile "$LINENO"; then :
45218 glibcxx_cv_func__atan2l_use=yes
45219 else
45220 glibcxx_cv_func__atan2l_use=no
45222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45223 ac_ext=c
45224 ac_cpp='$CPP $CPPFLAGS'
45225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45234 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45236 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45237 for ac_func in _atan2l
45238 do :
45239 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45240 if test "x$ac_cv_func__atan2l" = x""yes; then :
45241 cat >>confdefs.h <<_ACEOF
45242 #define HAVE__ATAN2L 1
45243 _ACEOF
45246 done
45255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45256 $as_echo_n "checking for expl declaration... " >&6; }
45257 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45258 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
45259 $as_echo_n "(cached) " >&6
45260 else
45263 ac_ext=cpp
45264 ac_cpp='$CXXCPP $CPPFLAGS'
45265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45270 /* end confdefs.h. */
45271 #include <math.h>
45272 #ifdef HAVE_IEEEFP_H
45273 #include <ieeefp.h>
45274 #endif
45277 main ()
45279 expl(0);
45281 return 0;
45283 _ACEOF
45284 if ac_fn_cxx_try_compile "$LINENO"; then :
45285 glibcxx_cv_func_expl_use=yes
45286 else
45287 glibcxx_cv_func_expl_use=no
45289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45290 ac_ext=c
45291 ac_cpp='$CPP $CPPFLAGS'
45292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45301 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45303 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45304 for ac_func in expl
45305 do :
45306 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45307 if test "x$ac_cv_func_expl" = x""yes; then :
45308 cat >>confdefs.h <<_ACEOF
45309 #define HAVE_EXPL 1
45310 _ACEOF
45313 done
45315 else
45317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45318 $as_echo_n "checking for _expl declaration... " >&6; }
45319 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45320 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
45321 $as_echo_n "(cached) " >&6
45322 else
45325 ac_ext=cpp
45326 ac_cpp='$CXXCPP $CPPFLAGS'
45327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45332 /* end confdefs.h. */
45333 #include <math.h>
45334 #ifdef HAVE_IEEEFP_H
45335 #include <ieeefp.h>
45336 #endif
45339 main ()
45341 _expl(0);
45343 return 0;
45345 _ACEOF
45346 if ac_fn_cxx_try_compile "$LINENO"; then :
45347 glibcxx_cv_func__expl_use=yes
45348 else
45349 glibcxx_cv_func__expl_use=no
45351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45352 ac_ext=c
45353 ac_cpp='$CPP $CPPFLAGS'
45354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45363 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45365 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45366 for ac_func in _expl
45367 do :
45368 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45369 if test "x$ac_cv_func__expl" = x""yes; then :
45370 cat >>confdefs.h <<_ACEOF
45371 #define HAVE__EXPL 1
45372 _ACEOF
45375 done
45384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45385 $as_echo_n "checking for fabsl declaration... " >&6; }
45386 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45387 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
45388 $as_echo_n "(cached) " >&6
45389 else
45392 ac_ext=cpp
45393 ac_cpp='$CXXCPP $CPPFLAGS'
45394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45399 /* end confdefs.h. */
45400 #include <math.h>
45401 #ifdef HAVE_IEEEFP_H
45402 #include <ieeefp.h>
45403 #endif
45406 main ()
45408 fabsl(0);
45410 return 0;
45412 _ACEOF
45413 if ac_fn_cxx_try_compile "$LINENO"; then :
45414 glibcxx_cv_func_fabsl_use=yes
45415 else
45416 glibcxx_cv_func_fabsl_use=no
45418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45419 ac_ext=c
45420 ac_cpp='$CPP $CPPFLAGS'
45421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45430 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45432 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45433 for ac_func in fabsl
45434 do :
45435 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45436 if test "x$ac_cv_func_fabsl" = x""yes; then :
45437 cat >>confdefs.h <<_ACEOF
45438 #define HAVE_FABSL 1
45439 _ACEOF
45442 done
45444 else
45446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45447 $as_echo_n "checking for _fabsl declaration... " >&6; }
45448 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45449 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
45450 $as_echo_n "(cached) " >&6
45451 else
45454 ac_ext=cpp
45455 ac_cpp='$CXXCPP $CPPFLAGS'
45456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45461 /* end confdefs.h. */
45462 #include <math.h>
45463 #ifdef HAVE_IEEEFP_H
45464 #include <ieeefp.h>
45465 #endif
45468 main ()
45470 _fabsl(0);
45472 return 0;
45474 _ACEOF
45475 if ac_fn_cxx_try_compile "$LINENO"; then :
45476 glibcxx_cv_func__fabsl_use=yes
45477 else
45478 glibcxx_cv_func__fabsl_use=no
45480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45481 ac_ext=c
45482 ac_cpp='$CPP $CPPFLAGS'
45483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45492 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45494 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45495 for ac_func in _fabsl
45496 do :
45497 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45498 if test "x$ac_cv_func__fabsl" = x""yes; then :
45499 cat >>confdefs.h <<_ACEOF
45500 #define HAVE__FABSL 1
45501 _ACEOF
45504 done
45513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45514 $as_echo_n "checking for fmodl declaration... " >&6; }
45515 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45516 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
45517 $as_echo_n "(cached) " >&6
45518 else
45521 ac_ext=cpp
45522 ac_cpp='$CXXCPP $CPPFLAGS'
45523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45528 /* end confdefs.h. */
45529 #include <math.h>
45531 main ()
45533 fmodl(0, 0);
45535 return 0;
45537 _ACEOF
45538 if ac_fn_cxx_try_compile "$LINENO"; then :
45539 glibcxx_cv_func_fmodl_use=yes
45540 else
45541 glibcxx_cv_func_fmodl_use=no
45543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45544 ac_ext=c
45545 ac_cpp='$CPP $CPPFLAGS'
45546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45555 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45557 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45558 for ac_func in fmodl
45559 do :
45560 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45561 if test "x$ac_cv_func_fmodl" = x""yes; then :
45562 cat >>confdefs.h <<_ACEOF
45563 #define HAVE_FMODL 1
45564 _ACEOF
45567 done
45569 else
45571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45572 $as_echo_n "checking for _fmodl declaration... " >&6; }
45573 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45574 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
45575 $as_echo_n "(cached) " >&6
45576 else
45579 ac_ext=cpp
45580 ac_cpp='$CXXCPP $CPPFLAGS'
45581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45586 /* end confdefs.h. */
45587 #include <math.h>
45589 main ()
45591 _fmodl(0, 0);
45593 return 0;
45595 _ACEOF
45596 if ac_fn_cxx_try_compile "$LINENO"; then :
45597 glibcxx_cv_func__fmodl_use=yes
45598 else
45599 glibcxx_cv_func__fmodl_use=no
45601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45602 ac_ext=c
45603 ac_cpp='$CPP $CPPFLAGS'
45604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45613 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45615 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45616 for ac_func in _fmodl
45617 do :
45618 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45619 if test "x$ac_cv_func__fmodl" = x""yes; then :
45620 cat >>confdefs.h <<_ACEOF
45621 #define HAVE__FMODL 1
45622 _ACEOF
45625 done
45634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45635 $as_echo_n "checking for frexpl declaration... " >&6; }
45636 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45637 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
45638 $as_echo_n "(cached) " >&6
45639 else
45642 ac_ext=cpp
45643 ac_cpp='$CXXCPP $CPPFLAGS'
45644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45649 /* end confdefs.h. */
45650 #include <math.h>
45652 main ()
45654 frexpl(0, 0);
45656 return 0;
45658 _ACEOF
45659 if ac_fn_cxx_try_compile "$LINENO"; then :
45660 glibcxx_cv_func_frexpl_use=yes
45661 else
45662 glibcxx_cv_func_frexpl_use=no
45664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45665 ac_ext=c
45666 ac_cpp='$CPP $CPPFLAGS'
45667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45676 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45678 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45679 for ac_func in frexpl
45680 do :
45681 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45682 if test "x$ac_cv_func_frexpl" = x""yes; then :
45683 cat >>confdefs.h <<_ACEOF
45684 #define HAVE_FREXPL 1
45685 _ACEOF
45688 done
45690 else
45692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45693 $as_echo_n "checking for _frexpl declaration... " >&6; }
45694 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45695 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
45696 $as_echo_n "(cached) " >&6
45697 else
45700 ac_ext=cpp
45701 ac_cpp='$CXXCPP $CPPFLAGS'
45702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45707 /* end confdefs.h. */
45708 #include <math.h>
45710 main ()
45712 _frexpl(0, 0);
45714 return 0;
45716 _ACEOF
45717 if ac_fn_cxx_try_compile "$LINENO"; then :
45718 glibcxx_cv_func__frexpl_use=yes
45719 else
45720 glibcxx_cv_func__frexpl_use=no
45722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45723 ac_ext=c
45724 ac_cpp='$CPP $CPPFLAGS'
45725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45734 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45736 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45737 for ac_func in _frexpl
45738 do :
45739 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45740 if test "x$ac_cv_func__frexpl" = x""yes; then :
45741 cat >>confdefs.h <<_ACEOF
45742 #define HAVE__FREXPL 1
45743 _ACEOF
45746 done
45755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45756 $as_echo_n "checking for hypotl declaration... " >&6; }
45757 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45758 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
45759 $as_echo_n "(cached) " >&6
45760 else
45763 ac_ext=cpp
45764 ac_cpp='$CXXCPP $CPPFLAGS'
45765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45770 /* end confdefs.h. */
45771 #include <math.h>
45773 main ()
45775 hypotl(0, 0);
45777 return 0;
45779 _ACEOF
45780 if ac_fn_cxx_try_compile "$LINENO"; then :
45781 glibcxx_cv_func_hypotl_use=yes
45782 else
45783 glibcxx_cv_func_hypotl_use=no
45785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45786 ac_ext=c
45787 ac_cpp='$CPP $CPPFLAGS'
45788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45797 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45799 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45800 for ac_func in hypotl
45801 do :
45802 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45803 if test "x$ac_cv_func_hypotl" = x""yes; then :
45804 cat >>confdefs.h <<_ACEOF
45805 #define HAVE_HYPOTL 1
45806 _ACEOF
45809 done
45811 else
45813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45814 $as_echo_n "checking for _hypotl declaration... " >&6; }
45815 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45816 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
45817 $as_echo_n "(cached) " >&6
45818 else
45821 ac_ext=cpp
45822 ac_cpp='$CXXCPP $CPPFLAGS'
45823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45828 /* end confdefs.h. */
45829 #include <math.h>
45831 main ()
45833 _hypotl(0, 0);
45835 return 0;
45837 _ACEOF
45838 if ac_fn_cxx_try_compile "$LINENO"; then :
45839 glibcxx_cv_func__hypotl_use=yes
45840 else
45841 glibcxx_cv_func__hypotl_use=no
45843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45844 ac_ext=c
45845 ac_cpp='$CPP $CPPFLAGS'
45846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
45855 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
45857 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45858 for ac_func in _hypotl
45859 do :
45860 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
45861 if test "x$ac_cv_func__hypotl" = x""yes; then :
45862 cat >>confdefs.h <<_ACEOF
45863 #define HAVE__HYPOTL 1
45864 _ACEOF
45867 done
45876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
45877 $as_echo_n "checking for ldexpl declaration... " >&6; }
45878 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45879 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
45880 $as_echo_n "(cached) " >&6
45881 else
45884 ac_ext=cpp
45885 ac_cpp='$CXXCPP $CPPFLAGS'
45886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45891 /* end confdefs.h. */
45892 #include <math.h>
45894 main ()
45896 ldexpl(0, 0);
45898 return 0;
45900 _ACEOF
45901 if ac_fn_cxx_try_compile "$LINENO"; then :
45902 glibcxx_cv_func_ldexpl_use=yes
45903 else
45904 glibcxx_cv_func_ldexpl_use=no
45906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45907 ac_ext=c
45908 ac_cpp='$CPP $CPPFLAGS'
45909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
45918 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
45920 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45921 for ac_func in ldexpl
45922 do :
45923 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
45924 if test "x$ac_cv_func_ldexpl" = x""yes; then :
45925 cat >>confdefs.h <<_ACEOF
45926 #define HAVE_LDEXPL 1
45927 _ACEOF
45930 done
45932 else
45934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
45935 $as_echo_n "checking for _ldexpl declaration... " >&6; }
45936 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45937 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
45938 $as_echo_n "(cached) " >&6
45939 else
45942 ac_ext=cpp
45943 ac_cpp='$CXXCPP $CPPFLAGS'
45944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45949 /* end confdefs.h. */
45950 #include <math.h>
45952 main ()
45954 _ldexpl(0, 0);
45956 return 0;
45958 _ACEOF
45959 if ac_fn_cxx_try_compile "$LINENO"; then :
45960 glibcxx_cv_func__ldexpl_use=yes
45961 else
45962 glibcxx_cv_func__ldexpl_use=no
45964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45965 ac_ext=c
45966 ac_cpp='$CPP $CPPFLAGS'
45967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
45976 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
45978 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45979 for ac_func in _ldexpl
45980 do :
45981 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
45982 if test "x$ac_cv_func__ldexpl" = x""yes; then :
45983 cat >>confdefs.h <<_ACEOF
45984 #define HAVE__LDEXPL 1
45985 _ACEOF
45988 done
45997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
45998 $as_echo_n "checking for logl declaration... " >&6; }
45999 if test x${glibcxx_cv_func_logl_use+set} != xset; then
46000 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
46001 $as_echo_n "(cached) " >&6
46002 else
46005 ac_ext=cpp
46006 ac_cpp='$CXXCPP $CPPFLAGS'
46007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46012 /* end confdefs.h. */
46013 #include <math.h>
46014 #ifdef HAVE_IEEEFP_H
46015 #include <ieeefp.h>
46016 #endif
46019 main ()
46021 logl(0);
46023 return 0;
46025 _ACEOF
46026 if ac_fn_cxx_try_compile "$LINENO"; then :
46027 glibcxx_cv_func_logl_use=yes
46028 else
46029 glibcxx_cv_func_logl_use=no
46031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46032 ac_ext=c
46033 ac_cpp='$CPP $CPPFLAGS'
46034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46043 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
46045 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46046 for ac_func in logl
46047 do :
46048 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46049 if test "x$ac_cv_func_logl" = x""yes; then :
46050 cat >>confdefs.h <<_ACEOF
46051 #define HAVE_LOGL 1
46052 _ACEOF
46055 done
46057 else
46059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46060 $as_echo_n "checking for _logl declaration... " >&6; }
46061 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46062 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
46063 $as_echo_n "(cached) " >&6
46064 else
46067 ac_ext=cpp
46068 ac_cpp='$CXXCPP $CPPFLAGS'
46069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46074 /* end confdefs.h. */
46075 #include <math.h>
46076 #ifdef HAVE_IEEEFP_H
46077 #include <ieeefp.h>
46078 #endif
46081 main ()
46083 _logl(0);
46085 return 0;
46087 _ACEOF
46088 if ac_fn_cxx_try_compile "$LINENO"; then :
46089 glibcxx_cv_func__logl_use=yes
46090 else
46091 glibcxx_cv_func__logl_use=no
46093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46094 ac_ext=c
46095 ac_cpp='$CPP $CPPFLAGS'
46096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46105 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46107 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46108 for ac_func in _logl
46109 do :
46110 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46111 if test "x$ac_cv_func__logl" = x""yes; then :
46112 cat >>confdefs.h <<_ACEOF
46113 #define HAVE__LOGL 1
46114 _ACEOF
46117 done
46126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46127 $as_echo_n "checking for log10l declaration... " >&6; }
46128 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46129 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
46130 $as_echo_n "(cached) " >&6
46131 else
46134 ac_ext=cpp
46135 ac_cpp='$CXXCPP $CPPFLAGS'
46136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46141 /* end confdefs.h. */
46142 #include <math.h>
46143 #ifdef HAVE_IEEEFP_H
46144 #include <ieeefp.h>
46145 #endif
46148 main ()
46150 log10l(0);
46152 return 0;
46154 _ACEOF
46155 if ac_fn_cxx_try_compile "$LINENO"; then :
46156 glibcxx_cv_func_log10l_use=yes
46157 else
46158 glibcxx_cv_func_log10l_use=no
46160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46161 ac_ext=c
46162 ac_cpp='$CPP $CPPFLAGS'
46163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46172 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46174 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46175 for ac_func in log10l
46176 do :
46177 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46178 if test "x$ac_cv_func_log10l" = x""yes; then :
46179 cat >>confdefs.h <<_ACEOF
46180 #define HAVE_LOG10L 1
46181 _ACEOF
46184 done
46186 else
46188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46189 $as_echo_n "checking for _log10l declaration... " >&6; }
46190 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46191 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
46192 $as_echo_n "(cached) " >&6
46193 else
46196 ac_ext=cpp
46197 ac_cpp='$CXXCPP $CPPFLAGS'
46198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46203 /* end confdefs.h. */
46204 #include <math.h>
46205 #ifdef HAVE_IEEEFP_H
46206 #include <ieeefp.h>
46207 #endif
46210 main ()
46212 _log10l(0);
46214 return 0;
46216 _ACEOF
46217 if ac_fn_cxx_try_compile "$LINENO"; then :
46218 glibcxx_cv_func__log10l_use=yes
46219 else
46220 glibcxx_cv_func__log10l_use=no
46222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46223 ac_ext=c
46224 ac_cpp='$CPP $CPPFLAGS'
46225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46234 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46236 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46237 for ac_func in _log10l
46238 do :
46239 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46240 if test "x$ac_cv_func__log10l" = x""yes; then :
46241 cat >>confdefs.h <<_ACEOF
46242 #define HAVE__LOG10L 1
46243 _ACEOF
46246 done
46255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46256 $as_echo_n "checking for modfl declaration... " >&6; }
46257 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46258 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
46259 $as_echo_n "(cached) " >&6
46260 else
46263 ac_ext=cpp
46264 ac_cpp='$CXXCPP $CPPFLAGS'
46265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46270 /* end confdefs.h. */
46271 #include <math.h>
46273 main ()
46275 modfl(0, 0);
46277 return 0;
46279 _ACEOF
46280 if ac_fn_cxx_try_compile "$LINENO"; then :
46281 glibcxx_cv_func_modfl_use=yes
46282 else
46283 glibcxx_cv_func_modfl_use=no
46285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46286 ac_ext=c
46287 ac_cpp='$CPP $CPPFLAGS'
46288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46297 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46299 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46300 for ac_func in modfl
46301 do :
46302 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46303 if test "x$ac_cv_func_modfl" = x""yes; then :
46304 cat >>confdefs.h <<_ACEOF
46305 #define HAVE_MODFL 1
46306 _ACEOF
46309 done
46311 else
46313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46314 $as_echo_n "checking for _modfl declaration... " >&6; }
46315 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46316 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
46317 $as_echo_n "(cached) " >&6
46318 else
46321 ac_ext=cpp
46322 ac_cpp='$CXXCPP $CPPFLAGS'
46323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46328 /* end confdefs.h. */
46329 #include <math.h>
46331 main ()
46333 _modfl(0, 0);
46335 return 0;
46337 _ACEOF
46338 if ac_fn_cxx_try_compile "$LINENO"; then :
46339 glibcxx_cv_func__modfl_use=yes
46340 else
46341 glibcxx_cv_func__modfl_use=no
46343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46344 ac_ext=c
46345 ac_cpp='$CPP $CPPFLAGS'
46346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46355 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46357 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46358 for ac_func in _modfl
46359 do :
46360 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46361 if test "x$ac_cv_func__modfl" = x""yes; then :
46362 cat >>confdefs.h <<_ACEOF
46363 #define HAVE__MODFL 1
46364 _ACEOF
46367 done
46376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46377 $as_echo_n "checking for powl declaration... " >&6; }
46378 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46379 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
46380 $as_echo_n "(cached) " >&6
46381 else
46384 ac_ext=cpp
46385 ac_cpp='$CXXCPP $CPPFLAGS'
46386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46391 /* end confdefs.h. */
46392 #include <math.h>
46394 main ()
46396 powl(0, 0);
46398 return 0;
46400 _ACEOF
46401 if ac_fn_cxx_try_compile "$LINENO"; then :
46402 glibcxx_cv_func_powl_use=yes
46403 else
46404 glibcxx_cv_func_powl_use=no
46406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46407 ac_ext=c
46408 ac_cpp='$CPP $CPPFLAGS'
46409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46418 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46420 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46421 for ac_func in powl
46422 do :
46423 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46424 if test "x$ac_cv_func_powl" = x""yes; then :
46425 cat >>confdefs.h <<_ACEOF
46426 #define HAVE_POWL 1
46427 _ACEOF
46430 done
46432 else
46434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46435 $as_echo_n "checking for _powl declaration... " >&6; }
46436 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46437 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
46438 $as_echo_n "(cached) " >&6
46439 else
46442 ac_ext=cpp
46443 ac_cpp='$CXXCPP $CPPFLAGS'
46444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46449 /* end confdefs.h. */
46450 #include <math.h>
46452 main ()
46454 _powl(0, 0);
46456 return 0;
46458 _ACEOF
46459 if ac_fn_cxx_try_compile "$LINENO"; then :
46460 glibcxx_cv_func__powl_use=yes
46461 else
46462 glibcxx_cv_func__powl_use=no
46464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46465 ac_ext=c
46466 ac_cpp='$CPP $CPPFLAGS'
46467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46476 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46478 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46479 for ac_func in _powl
46480 do :
46481 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46482 if test "x$ac_cv_func__powl" = x""yes; then :
46483 cat >>confdefs.h <<_ACEOF
46484 #define HAVE__POWL 1
46485 _ACEOF
46488 done
46497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46498 $as_echo_n "checking for sqrtl declaration... " >&6; }
46499 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46500 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
46501 $as_echo_n "(cached) " >&6
46502 else
46505 ac_ext=cpp
46506 ac_cpp='$CXXCPP $CPPFLAGS'
46507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46512 /* end confdefs.h. */
46513 #include <math.h>
46514 #ifdef HAVE_IEEEFP_H
46515 #include <ieeefp.h>
46516 #endif
46519 main ()
46521 sqrtl(0);
46523 return 0;
46525 _ACEOF
46526 if ac_fn_cxx_try_compile "$LINENO"; then :
46527 glibcxx_cv_func_sqrtl_use=yes
46528 else
46529 glibcxx_cv_func_sqrtl_use=no
46531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46532 ac_ext=c
46533 ac_cpp='$CPP $CPPFLAGS'
46534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46543 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46545 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46546 for ac_func in sqrtl
46547 do :
46548 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46549 if test "x$ac_cv_func_sqrtl" = x""yes; then :
46550 cat >>confdefs.h <<_ACEOF
46551 #define HAVE_SQRTL 1
46552 _ACEOF
46555 done
46557 else
46559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46560 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46561 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46562 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
46563 $as_echo_n "(cached) " >&6
46564 else
46567 ac_ext=cpp
46568 ac_cpp='$CXXCPP $CPPFLAGS'
46569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46574 /* end confdefs.h. */
46575 #include <math.h>
46576 #ifdef HAVE_IEEEFP_H
46577 #include <ieeefp.h>
46578 #endif
46581 main ()
46583 _sqrtl(0);
46585 return 0;
46587 _ACEOF
46588 if ac_fn_cxx_try_compile "$LINENO"; then :
46589 glibcxx_cv_func__sqrtl_use=yes
46590 else
46591 glibcxx_cv_func__sqrtl_use=no
46593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46594 ac_ext=c
46595 ac_cpp='$CPP $CPPFLAGS'
46596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46605 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46607 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46608 for ac_func in _sqrtl
46609 do :
46610 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46611 if test "x$ac_cv_func__sqrtl" = x""yes; then :
46612 cat >>confdefs.h <<_ACEOF
46613 #define HAVE__SQRTL 1
46614 _ACEOF
46617 done
46626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46627 $as_echo_n "checking for sincosl declaration... " >&6; }
46628 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46629 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
46630 $as_echo_n "(cached) " >&6
46631 else
46634 ac_ext=cpp
46635 ac_cpp='$CXXCPP $CPPFLAGS'
46636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46641 /* end confdefs.h. */
46642 #include <math.h>
46644 main ()
46646 sincosl(0, 0, 0);
46648 return 0;
46650 _ACEOF
46651 if ac_fn_cxx_try_compile "$LINENO"; then :
46652 glibcxx_cv_func_sincosl_use=yes
46653 else
46654 glibcxx_cv_func_sincosl_use=no
46656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46657 ac_ext=c
46658 ac_cpp='$CPP $CPPFLAGS'
46659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46668 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46670 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46671 for ac_func in sincosl
46672 do :
46673 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46674 if test "x$ac_cv_func_sincosl" = x""yes; then :
46675 cat >>confdefs.h <<_ACEOF
46676 #define HAVE_SINCOSL 1
46677 _ACEOF
46680 done
46682 else
46684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46685 $as_echo_n "checking for _sincosl declaration... " >&6; }
46686 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46687 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
46688 $as_echo_n "(cached) " >&6
46689 else
46692 ac_ext=cpp
46693 ac_cpp='$CXXCPP $CPPFLAGS'
46694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46699 /* end confdefs.h. */
46700 #include <math.h>
46702 main ()
46704 _sincosl(0, 0, 0);
46706 return 0;
46708 _ACEOF
46709 if ac_fn_cxx_try_compile "$LINENO"; then :
46710 glibcxx_cv_func__sincosl_use=yes
46711 else
46712 glibcxx_cv_func__sincosl_use=no
46714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46715 ac_ext=c
46716 ac_cpp='$CPP $CPPFLAGS'
46717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46726 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46728 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46729 for ac_func in _sincosl
46730 do :
46731 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46732 if test "x$ac_cv_func__sincosl" = x""yes; then :
46733 cat >>confdefs.h <<_ACEOF
46734 #define HAVE__SINCOSL 1
46735 _ACEOF
46738 done
46747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46748 $as_echo_n "checking for finitel declaration... " >&6; }
46749 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46750 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
46751 $as_echo_n "(cached) " >&6
46752 else
46755 ac_ext=cpp
46756 ac_cpp='$CXXCPP $CPPFLAGS'
46757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46762 /* end confdefs.h. */
46763 #include <math.h>
46764 #ifdef HAVE_IEEEFP_H
46765 #include <ieeefp.h>
46766 #endif
46769 main ()
46771 finitel(0);
46773 return 0;
46775 _ACEOF
46776 if ac_fn_cxx_try_compile "$LINENO"; then :
46777 glibcxx_cv_func_finitel_use=yes
46778 else
46779 glibcxx_cv_func_finitel_use=no
46781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46782 ac_ext=c
46783 ac_cpp='$CPP $CPPFLAGS'
46784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46793 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46795 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46796 for ac_func in finitel
46797 do :
46798 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46799 if test "x$ac_cv_func_finitel" = x""yes; then :
46800 cat >>confdefs.h <<_ACEOF
46801 #define HAVE_FINITEL 1
46802 _ACEOF
46805 done
46807 else
46809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46810 $as_echo_n "checking for _finitel declaration... " >&6; }
46811 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46812 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
46813 $as_echo_n "(cached) " >&6
46814 else
46817 ac_ext=cpp
46818 ac_cpp='$CXXCPP $CPPFLAGS'
46819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46824 /* end confdefs.h. */
46825 #include <math.h>
46826 #ifdef HAVE_IEEEFP_H
46827 #include <ieeefp.h>
46828 #endif
46831 main ()
46833 _finitel(0);
46835 return 0;
46837 _ACEOF
46838 if ac_fn_cxx_try_compile "$LINENO"; then :
46839 glibcxx_cv_func__finitel_use=yes
46840 else
46841 glibcxx_cv_func__finitel_use=no
46843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46844 ac_ext=c
46845 ac_cpp='$CPP $CPPFLAGS'
46846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
46855 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
46857 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46858 for ac_func in _finitel
46859 do :
46860 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
46861 if test "x$ac_cv_func__finitel" = x""yes; then :
46862 cat >>confdefs.h <<_ACEOF
46863 #define HAVE__FINITEL 1
46864 _ACEOF
46867 done
46875 LIBS="$ac_save_LIBS"
46876 CXXFLAGS="$ac_save_CXXFLAGS"
46879 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46880 ac_save_CXXFLAGS="$CXXFLAGS"
46881 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
46885 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
46886 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
46887 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
46888 $as_echo_n "(cached) " >&6
46889 else
46892 ac_ext=cpp
46893 ac_cpp='$CXXCPP $CPPFLAGS'
46894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46899 /* end confdefs.h. */
46900 #include <stdlib.h>
46902 main ()
46904 at_quick_exit(0);
46906 return 0;
46908 _ACEOF
46909 if ac_fn_cxx_try_compile "$LINENO"; then :
46910 glibcxx_cv_func_at_quick_exit_use=yes
46911 else
46912 glibcxx_cv_func_at_quick_exit_use=no
46914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46915 ac_ext=c
46916 ac_cpp='$CPP $CPPFLAGS'
46917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
46926 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
46927 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
46928 for ac_func in at_quick_exit
46929 do :
46930 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
46931 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
46932 cat >>confdefs.h <<_ACEOF
46933 #define HAVE_AT_QUICK_EXIT 1
46934 _ACEOF
46937 done
46942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
46943 $as_echo_n "checking for quick_exit declaration... " >&6; }
46944 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
46945 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
46946 $as_echo_n "(cached) " >&6
46947 else
46950 ac_ext=cpp
46951 ac_cpp='$CXXCPP $CPPFLAGS'
46952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46957 /* end confdefs.h. */
46958 #include <stdlib.h>
46960 main ()
46962 quick_exit(0);
46964 return 0;
46966 _ACEOF
46967 if ac_fn_cxx_try_compile "$LINENO"; then :
46968 glibcxx_cv_func_quick_exit_use=yes
46969 else
46970 glibcxx_cv_func_quick_exit_use=no
46972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46973 ac_ext=c
46974 ac_cpp='$CPP $CPPFLAGS'
46975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
46984 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
46985 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
46986 for ac_func in quick_exit
46987 do :
46988 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
46989 if test "x$ac_cv_func_quick_exit" = x""yes; then :
46990 cat >>confdefs.h <<_ACEOF
46991 #define HAVE_QUICK_EXIT 1
46992 _ACEOF
46995 done
47000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
47001 $as_echo_n "checking for strtold declaration... " >&6; }
47002 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
47003 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
47004 $as_echo_n "(cached) " >&6
47005 else
47008 ac_ext=cpp
47009 ac_cpp='$CXXCPP $CPPFLAGS'
47010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47015 /* end confdefs.h. */
47016 #include <stdlib.h>
47018 main ()
47020 strtold(0, 0);
47022 return 0;
47024 _ACEOF
47025 if ac_fn_cxx_try_compile "$LINENO"; then :
47026 glibcxx_cv_func_strtold_use=yes
47027 else
47028 glibcxx_cv_func_strtold_use=no
47030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47031 ac_ext=c
47032 ac_cpp='$CPP $CPPFLAGS'
47033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47042 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47043 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47044 for ac_func in strtold
47045 do :
47046 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47047 if test "x$ac_cv_func_strtold" = x""yes; then :
47048 cat >>confdefs.h <<_ACEOF
47049 #define HAVE_STRTOLD 1
47050 _ACEOF
47053 done
47060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47061 $as_echo_n "checking for strtof declaration... " >&6; }
47062 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47063 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
47064 $as_echo_n "(cached) " >&6
47065 else
47068 ac_ext=cpp
47069 ac_cpp='$CXXCPP $CPPFLAGS'
47070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47075 /* end confdefs.h. */
47076 #include <stdlib.h>
47078 main ()
47080 strtof(0, 0);
47082 return 0;
47084 _ACEOF
47085 if ac_fn_cxx_try_compile "$LINENO"; then :
47086 glibcxx_cv_func_strtof_use=yes
47087 else
47088 glibcxx_cv_func_strtof_use=no
47090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47091 ac_ext=c
47092 ac_cpp='$CPP $CPPFLAGS'
47093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47102 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47103 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47104 for ac_func in strtof
47105 do :
47106 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47107 if test "x$ac_cv_func_strtof" = x""yes; then :
47108 cat >>confdefs.h <<_ACEOF
47109 #define HAVE_STRTOF 1
47110 _ACEOF
47113 done
47120 CXXFLAGS="$ac_save_CXXFLAGS"
47122 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
47124 # We don't yet support AIX's TLS ABI.
47125 #GCC_CHECK_TLS
47131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
47132 $as_echo_n "checking for iconv... " >&6; }
47133 if test "${am_cv_func_iconv+set}" = set; then :
47134 $as_echo_n "(cached) " >&6
47135 else
47137 am_cv_func_iconv="no, consider installing GNU libiconv"
47138 am_cv_lib_iconv=no
47139 am_save_CPPFLAGS="$CPPFLAGS"
47140 CPPFLAGS="$CPPFLAGS $INCICONV"
47141 if test x$gcc_no_link = xyes; then
47142 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47145 /* end confdefs.h. */
47146 #include <stdlib.h>
47147 #include <iconv.h>
47149 main ()
47151 iconv_t cd = iconv_open("","");
47152 iconv(cd,NULL,NULL,NULL,NULL);
47153 iconv_close(cd);
47155 return 0;
47157 _ACEOF
47158 if ac_fn_c_try_link "$LINENO"; then :
47159 am_cv_func_iconv=yes
47161 rm -f core conftest.err conftest.$ac_objext \
47162 conftest$ac_exeext conftest.$ac_ext
47163 CPPFLAGS="$am_save_CPPFLAGS"
47165 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
47166 for _libs in .libs _libs; do
47167 am_save_CPPFLAGS="$CPPFLAGS"
47168 am_save_LIBS="$LIBS"
47169 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
47170 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
47171 if test x$gcc_no_link = xyes; then
47172 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47175 /* end confdefs.h. */
47176 #include <stdlib.h>
47177 #include <iconv.h>
47179 main ()
47181 iconv_t cd = iconv_open("","");
47182 iconv(cd,NULL,NULL,NULL,NULL);
47183 iconv_close(cd);
47185 return 0;
47187 _ACEOF
47188 if ac_fn_c_try_link "$LINENO"; then :
47189 INCICONV="-I../libiconv/include"
47190 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
47191 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
47192 am_cv_lib_iconv=yes
47193 am_cv_func_iconv=yes
47195 rm -f core conftest.err conftest.$ac_objext \
47196 conftest$ac_exeext conftest.$ac_ext
47197 CPPFLAGS="$am_save_CPPFLAGS"
47198 LIBS="$am_save_LIBS"
47199 if test "$am_cv_func_iconv" = "yes"; then
47200 break
47202 done
47205 if test "$am_cv_func_iconv" != yes; then
47206 am_save_CPPFLAGS="$CPPFLAGS"
47207 am_save_LIBS="$LIBS"
47208 CPPFLAGS="$LIBS $INCICONV"
47209 LIBS="$LIBS $LIBICONV"
47210 if test x$gcc_no_link = xyes; then
47211 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47214 /* end confdefs.h. */
47215 #include <stdlib.h>
47216 #include <iconv.h>
47218 main ()
47220 iconv_t cd = iconv_open("","");
47221 iconv(cd,NULL,NULL,NULL,NULL);
47222 iconv_close(cd);
47224 return 0;
47226 _ACEOF
47227 if ac_fn_c_try_link "$LINENO"; then :
47228 am_cv_lib_iconv=yes
47229 am_cv_func_iconv=yes
47231 rm -f core conftest.err conftest.$ac_objext \
47232 conftest$ac_exeext conftest.$ac_ext
47233 CPPFLAGS="$am_save_CPPFLAGS"
47234 LIBS="$am_save_LIBS"
47238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
47239 $as_echo "$am_cv_func_iconv" >&6; }
47240 if test "$am_cv_func_iconv" = yes; then
47242 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
47245 if test "$am_cv_lib_iconv" = yes; then
47247 for element in $INCICONV; do
47248 haveit=
47249 for x in $CPPFLAGS; do
47251 acl_save_prefix="$prefix"
47252 prefix="$acl_final_prefix"
47253 acl_save_exec_prefix="$exec_prefix"
47254 exec_prefix="$acl_final_exec_prefix"
47255 eval x=\"$x\"
47256 exec_prefix="$acl_save_exec_prefix"
47257 prefix="$acl_save_prefix"
47259 if test "X$x" = "X$element"; then
47260 haveit=yes
47261 break
47263 done
47264 if test -z "$haveit"; then
47265 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
47267 done
47269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
47270 $as_echo_n "checking how to link with libiconv... " >&6; }
47271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
47272 $as_echo "$LIBICONV" >&6; }
47273 else
47274 LIBICONV=
47275 LTLIBICONV=
47280 if test "$am_cv_func_iconv" = yes; then
47281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
47282 $as_echo_n "checking for iconv declaration... " >&6; }
47283 if test "${am_cv_proto_iconv+set}" = set; then :
47284 $as_echo_n "(cached) " >&6
47285 else
47287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47288 /* end confdefs.h. */
47290 #include <stdlib.h>
47291 #include <iconv.h>
47292 extern
47293 #ifdef __cplusplus
47295 #endif
47296 #if defined(__STDC__) || defined(__cplusplus)
47297 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
47298 #else
47299 size_t iconv();
47300 #endif
47303 main ()
47307 return 0;
47309 _ACEOF
47310 if ac_fn_c_try_compile "$LINENO"; then :
47311 am_cv_proto_iconv_arg1=""
47312 else
47313 am_cv_proto_iconv_arg1="const"
47315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47316 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);"
47319 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
47320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
47321 }$am_cv_proto_iconv" >&5
47322 $as_echo "${ac_t:-
47323 }$am_cv_proto_iconv" >&6; }
47325 cat >>confdefs.h <<_ACEOF
47326 #define ICONV_CONST $am_cv_proto_iconv_arg1
47327 _ACEOF
47333 *-darwin*)
47334 # Darwin versions vary, but the linker should work in a cross environment,
47335 # so we just check for all the features here.
47336 # Check for available headers.
47338 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
47340 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47341 ac_save_CXXFLAGS="$CXXFLAGS"
47342 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
47345 $as_echo_n "checking for sin in -lm... " >&6; }
47346 if test "${ac_cv_lib_m_sin+set}" = set; then :
47347 $as_echo_n "(cached) " >&6
47348 else
47349 ac_check_lib_save_LIBS=$LIBS
47350 LIBS="-lm $LIBS"
47351 if test x$gcc_no_link = xyes; then
47352 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47355 /* end confdefs.h. */
47357 /* Override any GCC internal prototype to avoid an error.
47358 Use char because int might match the return type of a GCC
47359 builtin and then its argument prototype would still apply. */
47360 #ifdef __cplusplus
47361 extern "C"
47362 #endif
47363 char sin ();
47365 main ()
47367 return sin ();
47369 return 0;
47371 _ACEOF
47372 if ac_fn_c_try_link "$LINENO"; then :
47373 ac_cv_lib_m_sin=yes
47374 else
47375 ac_cv_lib_m_sin=no
47377 rm -f core conftest.err conftest.$ac_objext \
47378 conftest$ac_exeext conftest.$ac_ext
47379 LIBS=$ac_check_lib_save_LIBS
47381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
47382 $as_echo "$ac_cv_lib_m_sin" >&6; }
47383 if test "x$ac_cv_lib_m_sin" = x""yes; then :
47384 libm="-lm"
47387 ac_save_LIBS="$LIBS"
47388 LIBS="$LIBS $libm"
47392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
47393 $as_echo_n "checking for isinf declaration... " >&6; }
47394 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
47395 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
47396 $as_echo_n "(cached) " >&6
47397 else
47400 ac_ext=cpp
47401 ac_cpp='$CXXCPP $CPPFLAGS'
47402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47407 /* end confdefs.h. */
47408 #include <math.h>
47409 #ifdef HAVE_IEEEFP_H
47410 #include <ieeefp.h>
47411 #endif
47414 main ()
47416 isinf(0);
47418 return 0;
47420 _ACEOF
47421 if ac_fn_cxx_try_compile "$LINENO"; then :
47422 glibcxx_cv_func_isinf_use=yes
47423 else
47424 glibcxx_cv_func_isinf_use=no
47426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47427 ac_ext=c
47428 ac_cpp='$CPP $CPPFLAGS'
47429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
47438 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
47440 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
47441 for ac_func in isinf
47442 do :
47443 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
47444 if test "x$ac_cv_func_isinf" = x""yes; then :
47445 cat >>confdefs.h <<_ACEOF
47446 #define HAVE_ISINF 1
47447 _ACEOF
47450 done
47452 else
47454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
47455 $as_echo_n "checking for _isinf declaration... " >&6; }
47456 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
47457 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
47458 $as_echo_n "(cached) " >&6
47459 else
47462 ac_ext=cpp
47463 ac_cpp='$CXXCPP $CPPFLAGS'
47464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47469 /* end confdefs.h. */
47470 #include <math.h>
47471 #ifdef HAVE_IEEEFP_H
47472 #include <ieeefp.h>
47473 #endif
47476 main ()
47478 _isinf(0);
47480 return 0;
47482 _ACEOF
47483 if ac_fn_cxx_try_compile "$LINENO"; then :
47484 glibcxx_cv_func__isinf_use=yes
47485 else
47486 glibcxx_cv_func__isinf_use=no
47488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47489 ac_ext=c
47490 ac_cpp='$CPP $CPPFLAGS'
47491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
47500 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
47502 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
47503 for ac_func in _isinf
47504 do :
47505 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
47506 if test "x$ac_cv_func__isinf" = x""yes; then :
47507 cat >>confdefs.h <<_ACEOF
47508 #define HAVE__ISINF 1
47509 _ACEOF
47512 done
47521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
47522 $as_echo_n "checking for isnan declaration... " >&6; }
47523 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
47524 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
47525 $as_echo_n "(cached) " >&6
47526 else
47529 ac_ext=cpp
47530 ac_cpp='$CXXCPP $CPPFLAGS'
47531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47536 /* end confdefs.h. */
47537 #include <math.h>
47538 #ifdef HAVE_IEEEFP_H
47539 #include <ieeefp.h>
47540 #endif
47543 main ()
47545 isnan(0);
47547 return 0;
47549 _ACEOF
47550 if ac_fn_cxx_try_compile "$LINENO"; then :
47551 glibcxx_cv_func_isnan_use=yes
47552 else
47553 glibcxx_cv_func_isnan_use=no
47555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47556 ac_ext=c
47557 ac_cpp='$CPP $CPPFLAGS'
47558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
47567 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
47569 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
47570 for ac_func in isnan
47571 do :
47572 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
47573 if test "x$ac_cv_func_isnan" = x""yes; then :
47574 cat >>confdefs.h <<_ACEOF
47575 #define HAVE_ISNAN 1
47576 _ACEOF
47579 done
47581 else
47583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
47584 $as_echo_n "checking for _isnan declaration... " >&6; }
47585 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
47586 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
47587 $as_echo_n "(cached) " >&6
47588 else
47591 ac_ext=cpp
47592 ac_cpp='$CXXCPP $CPPFLAGS'
47593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47598 /* end confdefs.h. */
47599 #include <math.h>
47600 #ifdef HAVE_IEEEFP_H
47601 #include <ieeefp.h>
47602 #endif
47605 main ()
47607 _isnan(0);
47609 return 0;
47611 _ACEOF
47612 if ac_fn_cxx_try_compile "$LINENO"; then :
47613 glibcxx_cv_func__isnan_use=yes
47614 else
47615 glibcxx_cv_func__isnan_use=no
47617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47618 ac_ext=c
47619 ac_cpp='$CPP $CPPFLAGS'
47620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
47629 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
47631 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
47632 for ac_func in _isnan
47633 do :
47634 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
47635 if test "x$ac_cv_func__isnan" = x""yes; then :
47636 cat >>confdefs.h <<_ACEOF
47637 #define HAVE__ISNAN 1
47638 _ACEOF
47641 done
47650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
47651 $as_echo_n "checking for finite declaration... " >&6; }
47652 if test x${glibcxx_cv_func_finite_use+set} != xset; then
47653 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
47654 $as_echo_n "(cached) " >&6
47655 else
47658 ac_ext=cpp
47659 ac_cpp='$CXXCPP $CPPFLAGS'
47660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47665 /* end confdefs.h. */
47666 #include <math.h>
47667 #ifdef HAVE_IEEEFP_H
47668 #include <ieeefp.h>
47669 #endif
47672 main ()
47674 finite(0);
47676 return 0;
47678 _ACEOF
47679 if ac_fn_cxx_try_compile "$LINENO"; then :
47680 glibcxx_cv_func_finite_use=yes
47681 else
47682 glibcxx_cv_func_finite_use=no
47684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47685 ac_ext=c
47686 ac_cpp='$CPP $CPPFLAGS'
47687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
47696 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
47698 if test x$glibcxx_cv_func_finite_use = x"yes"; then
47699 for ac_func in finite
47700 do :
47701 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
47702 if test "x$ac_cv_func_finite" = x""yes; then :
47703 cat >>confdefs.h <<_ACEOF
47704 #define HAVE_FINITE 1
47705 _ACEOF
47708 done
47710 else
47712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
47713 $as_echo_n "checking for _finite declaration... " >&6; }
47714 if test x${glibcxx_cv_func__finite_use+set} != xset; then
47715 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
47716 $as_echo_n "(cached) " >&6
47717 else
47720 ac_ext=cpp
47721 ac_cpp='$CXXCPP $CPPFLAGS'
47722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47727 /* end confdefs.h. */
47728 #include <math.h>
47729 #ifdef HAVE_IEEEFP_H
47730 #include <ieeefp.h>
47731 #endif
47734 main ()
47736 _finite(0);
47738 return 0;
47740 _ACEOF
47741 if ac_fn_cxx_try_compile "$LINENO"; then :
47742 glibcxx_cv_func__finite_use=yes
47743 else
47744 glibcxx_cv_func__finite_use=no
47746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47747 ac_ext=c
47748 ac_cpp='$CPP $CPPFLAGS'
47749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
47758 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
47760 if test x$glibcxx_cv_func__finite_use = x"yes"; then
47761 for ac_func in _finite
47762 do :
47763 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
47764 if test "x$ac_cv_func__finite" = x""yes; then :
47765 cat >>confdefs.h <<_ACEOF
47766 #define HAVE__FINITE 1
47767 _ACEOF
47770 done
47779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
47780 $as_echo_n "checking for sincos declaration... " >&6; }
47781 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
47782 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
47783 $as_echo_n "(cached) " >&6
47784 else
47787 ac_ext=cpp
47788 ac_cpp='$CXXCPP $CPPFLAGS'
47789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47794 /* end confdefs.h. */
47795 #include <math.h>
47797 main ()
47799 sincos(0, 0, 0);
47801 return 0;
47803 _ACEOF
47804 if ac_fn_cxx_try_compile "$LINENO"; then :
47805 glibcxx_cv_func_sincos_use=yes
47806 else
47807 glibcxx_cv_func_sincos_use=no
47809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47810 ac_ext=c
47811 ac_cpp='$CPP $CPPFLAGS'
47812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
47821 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
47823 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
47824 for ac_func in sincos
47825 do :
47826 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
47827 if test "x$ac_cv_func_sincos" = x""yes; then :
47828 cat >>confdefs.h <<_ACEOF
47829 #define HAVE_SINCOS 1
47830 _ACEOF
47833 done
47835 else
47837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
47838 $as_echo_n "checking for _sincos declaration... " >&6; }
47839 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
47840 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
47841 $as_echo_n "(cached) " >&6
47842 else
47845 ac_ext=cpp
47846 ac_cpp='$CXXCPP $CPPFLAGS'
47847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47852 /* end confdefs.h. */
47853 #include <math.h>
47855 main ()
47857 _sincos(0, 0, 0);
47859 return 0;
47861 _ACEOF
47862 if ac_fn_cxx_try_compile "$LINENO"; then :
47863 glibcxx_cv_func__sincos_use=yes
47864 else
47865 glibcxx_cv_func__sincos_use=no
47867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47868 ac_ext=c
47869 ac_cpp='$CPP $CPPFLAGS'
47870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
47879 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
47881 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
47882 for ac_func in _sincos
47883 do :
47884 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
47885 if test "x$ac_cv_func__sincos" = x""yes; then :
47886 cat >>confdefs.h <<_ACEOF
47887 #define HAVE__SINCOS 1
47888 _ACEOF
47891 done
47900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
47901 $as_echo_n "checking for fpclass declaration... " >&6; }
47902 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
47903 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
47904 $as_echo_n "(cached) " >&6
47905 else
47908 ac_ext=cpp
47909 ac_cpp='$CXXCPP $CPPFLAGS'
47910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47915 /* end confdefs.h. */
47916 #include <math.h>
47917 #ifdef HAVE_IEEEFP_H
47918 #include <ieeefp.h>
47919 #endif
47922 main ()
47924 fpclass(0);
47926 return 0;
47928 _ACEOF
47929 if ac_fn_cxx_try_compile "$LINENO"; then :
47930 glibcxx_cv_func_fpclass_use=yes
47931 else
47932 glibcxx_cv_func_fpclass_use=no
47934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47935 ac_ext=c
47936 ac_cpp='$CPP $CPPFLAGS'
47937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
47946 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
47948 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
47949 for ac_func in fpclass
47950 do :
47951 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
47952 if test "x$ac_cv_func_fpclass" = x""yes; then :
47953 cat >>confdefs.h <<_ACEOF
47954 #define HAVE_FPCLASS 1
47955 _ACEOF
47958 done
47960 else
47962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
47963 $as_echo_n "checking for _fpclass declaration... " >&6; }
47964 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
47965 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
47966 $as_echo_n "(cached) " >&6
47967 else
47970 ac_ext=cpp
47971 ac_cpp='$CXXCPP $CPPFLAGS'
47972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47977 /* end confdefs.h. */
47978 #include <math.h>
47979 #ifdef HAVE_IEEEFP_H
47980 #include <ieeefp.h>
47981 #endif
47984 main ()
47986 _fpclass(0);
47988 return 0;
47990 _ACEOF
47991 if ac_fn_cxx_try_compile "$LINENO"; then :
47992 glibcxx_cv_func__fpclass_use=yes
47993 else
47994 glibcxx_cv_func__fpclass_use=no
47996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47997 ac_ext=c
47998 ac_cpp='$CPP $CPPFLAGS'
47999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
48008 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
48010 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
48011 for ac_func in _fpclass
48012 do :
48013 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
48014 if test "x$ac_cv_func__fpclass" = x""yes; then :
48015 cat >>confdefs.h <<_ACEOF
48016 #define HAVE__FPCLASS 1
48017 _ACEOF
48020 done
48029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
48030 $as_echo_n "checking for qfpclass declaration... " >&6; }
48031 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48032 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
48033 $as_echo_n "(cached) " >&6
48034 else
48037 ac_ext=cpp
48038 ac_cpp='$CXXCPP $CPPFLAGS'
48039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48044 /* end confdefs.h. */
48045 #include <math.h>
48046 #ifdef HAVE_IEEEFP_H
48047 #include <ieeefp.h>
48048 #endif
48051 main ()
48053 qfpclass(0);
48055 return 0;
48057 _ACEOF
48058 if ac_fn_cxx_try_compile "$LINENO"; then :
48059 glibcxx_cv_func_qfpclass_use=yes
48060 else
48061 glibcxx_cv_func_qfpclass_use=no
48063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48064 ac_ext=c
48065 ac_cpp='$CPP $CPPFLAGS'
48066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
48075 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
48077 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
48078 for ac_func in qfpclass
48079 do :
48080 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
48081 if test "x$ac_cv_func_qfpclass" = x""yes; then :
48082 cat >>confdefs.h <<_ACEOF
48083 #define HAVE_QFPCLASS 1
48084 _ACEOF
48087 done
48089 else
48091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
48092 $as_echo_n "checking for _qfpclass declaration... " >&6; }
48093 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
48094 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
48095 $as_echo_n "(cached) " >&6
48096 else
48099 ac_ext=cpp
48100 ac_cpp='$CXXCPP $CPPFLAGS'
48101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48106 /* end confdefs.h. */
48107 #include <math.h>
48108 #ifdef HAVE_IEEEFP_H
48109 #include <ieeefp.h>
48110 #endif
48113 main ()
48115 _qfpclass(0);
48117 return 0;
48119 _ACEOF
48120 if ac_fn_cxx_try_compile "$LINENO"; then :
48121 glibcxx_cv_func__qfpclass_use=yes
48122 else
48123 glibcxx_cv_func__qfpclass_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
48136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
48137 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
48139 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
48140 for ac_func in _qfpclass
48141 do :
48142 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
48143 if test "x$ac_cv_func__qfpclass" = x""yes; then :
48144 cat >>confdefs.h <<_ACEOF
48145 #define HAVE__QFPCLASS 1
48146 _ACEOF
48149 done
48158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
48159 $as_echo_n "checking for hypot declaration... " >&6; }
48160 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
48161 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
48162 $as_echo_n "(cached) " >&6
48163 else
48166 ac_ext=cpp
48167 ac_cpp='$CXXCPP $CPPFLAGS'
48168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48173 /* end confdefs.h. */
48174 #include <math.h>
48176 main ()
48178 hypot(0, 0);
48180 return 0;
48182 _ACEOF
48183 if ac_fn_cxx_try_compile "$LINENO"; then :
48184 glibcxx_cv_func_hypot_use=yes
48185 else
48186 glibcxx_cv_func_hypot_use=no
48188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48189 ac_ext=c
48190 ac_cpp='$CPP $CPPFLAGS'
48191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
48200 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
48202 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
48203 for ac_func in hypot
48204 do :
48205 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
48206 if test "x$ac_cv_func_hypot" = x""yes; then :
48207 cat >>confdefs.h <<_ACEOF
48208 #define HAVE_HYPOT 1
48209 _ACEOF
48212 done
48214 else
48216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
48217 $as_echo_n "checking for _hypot declaration... " >&6; }
48218 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
48219 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
48220 $as_echo_n "(cached) " >&6
48221 else
48224 ac_ext=cpp
48225 ac_cpp='$CXXCPP $CPPFLAGS'
48226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48231 /* end confdefs.h. */
48232 #include <math.h>
48234 main ()
48236 _hypot(0, 0);
48238 return 0;
48240 _ACEOF
48241 if ac_fn_cxx_try_compile "$LINENO"; then :
48242 glibcxx_cv_func__hypot_use=yes
48243 else
48244 glibcxx_cv_func__hypot_use=no
48246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48247 ac_ext=c
48248 ac_cpp='$CPP $CPPFLAGS'
48249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
48258 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
48260 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
48261 for ac_func in _hypot
48262 do :
48263 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
48264 if test "x$ac_cv_func__hypot" = x""yes; then :
48265 cat >>confdefs.h <<_ACEOF
48266 #define HAVE__HYPOT 1
48267 _ACEOF
48270 done
48279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
48280 $as_echo_n "checking for float trig functions... " >&6; }
48281 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
48282 $as_echo_n "(cached) " >&6
48283 else
48286 ac_ext=cpp
48287 ac_cpp='$CXXCPP $CPPFLAGS'
48288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48293 /* end confdefs.h. */
48294 #include <math.h>
48296 main ()
48298 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
48300 return 0;
48302 _ACEOF
48303 if ac_fn_cxx_try_compile "$LINENO"; then :
48304 glibcxx_cv_func_float_trig_use=yes
48305 else
48306 glibcxx_cv_func_float_trig_use=no
48308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48309 ac_ext=c
48310 ac_cpp='$CPP $CPPFLAGS'
48311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
48318 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
48319 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
48320 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
48321 do :
48322 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48323 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48324 eval as_val=\$$as_ac_var
48325 if test "x$as_val" = x""yes; then :
48326 cat >>confdefs.h <<_ACEOF
48327 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48328 _ACEOF
48331 done
48333 else
48334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
48335 $as_echo_n "checking for _float trig functions... " >&6; }
48336 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
48337 $as_echo_n "(cached) " >&6
48338 else
48341 ac_ext=cpp
48342 ac_cpp='$CXXCPP $CPPFLAGS'
48343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48348 /* end confdefs.h. */
48349 #include <math.h>
48351 main ()
48353 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
48355 return 0;
48357 _ACEOF
48358 if ac_fn_cxx_try_compile "$LINENO"; then :
48359 glibcxx_cv_func__float_trig_use=yes
48360 else
48361 glibcxx_cv_func__float_trig_use=no
48363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48364 ac_ext=c
48365 ac_cpp='$CPP $CPPFLAGS'
48366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
48373 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
48374 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
48375 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
48376 do :
48377 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48378 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48379 eval as_val=\$$as_ac_var
48380 if test "x$as_val" = x""yes; then :
48381 cat >>confdefs.h <<_ACEOF
48382 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48383 _ACEOF
48386 done
48395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
48396 $as_echo_n "checking for float round functions... " >&6; }
48397 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
48398 $as_echo_n "(cached) " >&6
48399 else
48402 ac_ext=cpp
48403 ac_cpp='$CXXCPP $CPPFLAGS'
48404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48409 /* end confdefs.h. */
48410 #include <math.h>
48412 main ()
48414 ceilf (0); floorf (0);
48416 return 0;
48418 _ACEOF
48419 if ac_fn_cxx_try_compile "$LINENO"; then :
48420 glibcxx_cv_func_float_round_use=yes
48421 else
48422 glibcxx_cv_func_float_round_use=no
48424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48425 ac_ext=c
48426 ac_cpp='$CPP $CPPFLAGS'
48427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
48434 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
48435 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
48436 for ac_func in ceilf floorf
48437 do :
48438 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48439 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48440 eval as_val=\$$as_ac_var
48441 if test "x$as_val" = x""yes; then :
48442 cat >>confdefs.h <<_ACEOF
48443 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48444 _ACEOF
48447 done
48449 else
48450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
48451 $as_echo_n "checking for _float round functions... " >&6; }
48452 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
48453 $as_echo_n "(cached) " >&6
48454 else
48457 ac_ext=cpp
48458 ac_cpp='$CXXCPP $CPPFLAGS'
48459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48464 /* end confdefs.h. */
48465 #include <math.h>
48467 main ()
48469 _ceilf (0); _floorf (0);
48471 return 0;
48473 _ACEOF
48474 if ac_fn_cxx_try_compile "$LINENO"; then :
48475 glibcxx_cv_func__float_round_use=yes
48476 else
48477 glibcxx_cv_func__float_round_use=no
48479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48480 ac_ext=c
48481 ac_cpp='$CPP $CPPFLAGS'
48482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
48489 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
48490 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
48491 for ac_func in _ceilf _floorf
48492 do :
48493 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48494 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48495 eval as_val=\$$as_ac_var
48496 if test "x$as_val" = x""yes; then :
48497 cat >>confdefs.h <<_ACEOF
48498 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48499 _ACEOF
48502 done
48512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
48513 $as_echo_n "checking for expf declaration... " >&6; }
48514 if test x${glibcxx_cv_func_expf_use+set} != xset; then
48515 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
48516 $as_echo_n "(cached) " >&6
48517 else
48520 ac_ext=cpp
48521 ac_cpp='$CXXCPP $CPPFLAGS'
48522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48527 /* end confdefs.h. */
48528 #include <math.h>
48529 #ifdef HAVE_IEEEFP_H
48530 #include <ieeefp.h>
48531 #endif
48534 main ()
48536 expf(0);
48538 return 0;
48540 _ACEOF
48541 if ac_fn_cxx_try_compile "$LINENO"; then :
48542 glibcxx_cv_func_expf_use=yes
48543 else
48544 glibcxx_cv_func_expf_use=no
48546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48547 ac_ext=c
48548 ac_cpp='$CPP $CPPFLAGS'
48549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
48558 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
48560 if test x$glibcxx_cv_func_expf_use = x"yes"; then
48561 for ac_func in expf
48562 do :
48563 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
48564 if test "x$ac_cv_func_expf" = x""yes; then :
48565 cat >>confdefs.h <<_ACEOF
48566 #define HAVE_EXPF 1
48567 _ACEOF
48570 done
48572 else
48574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
48575 $as_echo_n "checking for _expf declaration... " >&6; }
48576 if test x${glibcxx_cv_func__expf_use+set} != xset; then
48577 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
48578 $as_echo_n "(cached) " >&6
48579 else
48582 ac_ext=cpp
48583 ac_cpp='$CXXCPP $CPPFLAGS'
48584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48589 /* end confdefs.h. */
48590 #include <math.h>
48591 #ifdef HAVE_IEEEFP_H
48592 #include <ieeefp.h>
48593 #endif
48596 main ()
48598 _expf(0);
48600 return 0;
48602 _ACEOF
48603 if ac_fn_cxx_try_compile "$LINENO"; then :
48604 glibcxx_cv_func__expf_use=yes
48605 else
48606 glibcxx_cv_func__expf_use=no
48608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48609 ac_ext=c
48610 ac_cpp='$CPP $CPPFLAGS'
48611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
48620 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
48622 if test x$glibcxx_cv_func__expf_use = x"yes"; then
48623 for ac_func in _expf
48624 do :
48625 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
48626 if test "x$ac_cv_func__expf" = x""yes; then :
48627 cat >>confdefs.h <<_ACEOF
48628 #define HAVE__EXPF 1
48629 _ACEOF
48632 done
48641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
48642 $as_echo_n "checking for isnanf declaration... " >&6; }
48643 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
48644 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
48645 $as_echo_n "(cached) " >&6
48646 else
48649 ac_ext=cpp
48650 ac_cpp='$CXXCPP $CPPFLAGS'
48651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48656 /* end confdefs.h. */
48657 #include <math.h>
48658 #ifdef HAVE_IEEEFP_H
48659 #include <ieeefp.h>
48660 #endif
48663 main ()
48665 isnanf(0);
48667 return 0;
48669 _ACEOF
48670 if ac_fn_cxx_try_compile "$LINENO"; then :
48671 glibcxx_cv_func_isnanf_use=yes
48672 else
48673 glibcxx_cv_func_isnanf_use=no
48675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48676 ac_ext=c
48677 ac_cpp='$CPP $CPPFLAGS'
48678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
48687 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
48689 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
48690 for ac_func in isnanf
48691 do :
48692 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
48693 if test "x$ac_cv_func_isnanf" = x""yes; then :
48694 cat >>confdefs.h <<_ACEOF
48695 #define HAVE_ISNANF 1
48696 _ACEOF
48699 done
48701 else
48703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
48704 $as_echo_n "checking for _isnanf declaration... " >&6; }
48705 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
48706 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
48707 $as_echo_n "(cached) " >&6
48708 else
48711 ac_ext=cpp
48712 ac_cpp='$CXXCPP $CPPFLAGS'
48713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48718 /* end confdefs.h. */
48719 #include <math.h>
48720 #ifdef HAVE_IEEEFP_H
48721 #include <ieeefp.h>
48722 #endif
48725 main ()
48727 _isnanf(0);
48729 return 0;
48731 _ACEOF
48732 if ac_fn_cxx_try_compile "$LINENO"; then :
48733 glibcxx_cv_func__isnanf_use=yes
48734 else
48735 glibcxx_cv_func__isnanf_use=no
48737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48738 ac_ext=c
48739 ac_cpp='$CPP $CPPFLAGS'
48740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
48749 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
48751 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
48752 for ac_func in _isnanf
48753 do :
48754 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
48755 if test "x$ac_cv_func__isnanf" = x""yes; then :
48756 cat >>confdefs.h <<_ACEOF
48757 #define HAVE__ISNANF 1
48758 _ACEOF
48761 done
48770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
48771 $as_echo_n "checking for isinff declaration... " >&6; }
48772 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
48773 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
48774 $as_echo_n "(cached) " >&6
48775 else
48778 ac_ext=cpp
48779 ac_cpp='$CXXCPP $CPPFLAGS'
48780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48785 /* end confdefs.h. */
48786 #include <math.h>
48787 #ifdef HAVE_IEEEFP_H
48788 #include <ieeefp.h>
48789 #endif
48792 main ()
48794 isinff(0);
48796 return 0;
48798 _ACEOF
48799 if ac_fn_cxx_try_compile "$LINENO"; then :
48800 glibcxx_cv_func_isinff_use=yes
48801 else
48802 glibcxx_cv_func_isinff_use=no
48804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48805 ac_ext=c
48806 ac_cpp='$CPP $CPPFLAGS'
48807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
48816 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
48818 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
48819 for ac_func in isinff
48820 do :
48821 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
48822 if test "x$ac_cv_func_isinff" = x""yes; then :
48823 cat >>confdefs.h <<_ACEOF
48824 #define HAVE_ISINFF 1
48825 _ACEOF
48828 done
48830 else
48832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
48833 $as_echo_n "checking for _isinff declaration... " >&6; }
48834 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48835 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
48836 $as_echo_n "(cached) " >&6
48837 else
48840 ac_ext=cpp
48841 ac_cpp='$CXXCPP $CPPFLAGS'
48842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48847 /* end confdefs.h. */
48848 #include <math.h>
48849 #ifdef HAVE_IEEEFP_H
48850 #include <ieeefp.h>
48851 #endif
48854 main ()
48856 _isinff(0);
48858 return 0;
48860 _ACEOF
48861 if ac_fn_cxx_try_compile "$LINENO"; then :
48862 glibcxx_cv_func__isinff_use=yes
48863 else
48864 glibcxx_cv_func__isinff_use=no
48866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48867 ac_ext=c
48868 ac_cpp='$CPP $CPPFLAGS'
48869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
48878 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
48880 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48881 for ac_func in _isinff
48882 do :
48883 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
48884 if test "x$ac_cv_func__isinff" = x""yes; then :
48885 cat >>confdefs.h <<_ACEOF
48886 #define HAVE__ISINFF 1
48887 _ACEOF
48890 done
48899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
48900 $as_echo_n "checking for atan2f declaration... " >&6; }
48901 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48902 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
48903 $as_echo_n "(cached) " >&6
48904 else
48907 ac_ext=cpp
48908 ac_cpp='$CXXCPP $CPPFLAGS'
48909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48914 /* end confdefs.h. */
48915 #include <math.h>
48917 main ()
48919 atan2f(0, 0);
48921 return 0;
48923 _ACEOF
48924 if ac_fn_cxx_try_compile "$LINENO"; then :
48925 glibcxx_cv_func_atan2f_use=yes
48926 else
48927 glibcxx_cv_func_atan2f_use=no
48929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48930 ac_ext=c
48931 ac_cpp='$CPP $CPPFLAGS'
48932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
48941 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
48943 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48944 for ac_func in atan2f
48945 do :
48946 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
48947 if test "x$ac_cv_func_atan2f" = x""yes; then :
48948 cat >>confdefs.h <<_ACEOF
48949 #define HAVE_ATAN2F 1
48950 _ACEOF
48953 done
48955 else
48957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
48958 $as_echo_n "checking for _atan2f declaration... " >&6; }
48959 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48960 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
48961 $as_echo_n "(cached) " >&6
48962 else
48965 ac_ext=cpp
48966 ac_cpp='$CXXCPP $CPPFLAGS'
48967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48972 /* end confdefs.h. */
48973 #include <math.h>
48975 main ()
48977 _atan2f(0, 0);
48979 return 0;
48981 _ACEOF
48982 if ac_fn_cxx_try_compile "$LINENO"; then :
48983 glibcxx_cv_func__atan2f_use=yes
48984 else
48985 glibcxx_cv_func__atan2f_use=no
48987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48988 ac_ext=c
48989 ac_cpp='$CPP $CPPFLAGS'
48990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
48999 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
49001 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
49002 for ac_func in _atan2f
49003 do :
49004 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
49005 if test "x$ac_cv_func__atan2f" = x""yes; then :
49006 cat >>confdefs.h <<_ACEOF
49007 #define HAVE__ATAN2F 1
49008 _ACEOF
49011 done
49020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
49021 $as_echo_n "checking for fabsf declaration... " >&6; }
49022 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49023 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
49024 $as_echo_n "(cached) " >&6
49025 else
49028 ac_ext=cpp
49029 ac_cpp='$CXXCPP $CPPFLAGS'
49030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49035 /* end confdefs.h. */
49036 #include <math.h>
49037 #ifdef HAVE_IEEEFP_H
49038 #include <ieeefp.h>
49039 #endif
49042 main ()
49044 fabsf(0);
49046 return 0;
49048 _ACEOF
49049 if ac_fn_cxx_try_compile "$LINENO"; then :
49050 glibcxx_cv_func_fabsf_use=yes
49051 else
49052 glibcxx_cv_func_fabsf_use=no
49054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49055 ac_ext=c
49056 ac_cpp='$CPP $CPPFLAGS'
49057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
49066 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
49068 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49069 for ac_func in fabsf
49070 do :
49071 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
49072 if test "x$ac_cv_func_fabsf" = x""yes; then :
49073 cat >>confdefs.h <<_ACEOF
49074 #define HAVE_FABSF 1
49075 _ACEOF
49078 done
49080 else
49082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
49083 $as_echo_n "checking for _fabsf declaration... " >&6; }
49084 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49085 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
49086 $as_echo_n "(cached) " >&6
49087 else
49090 ac_ext=cpp
49091 ac_cpp='$CXXCPP $CPPFLAGS'
49092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49097 /* end confdefs.h. */
49098 #include <math.h>
49099 #ifdef HAVE_IEEEFP_H
49100 #include <ieeefp.h>
49101 #endif
49104 main ()
49106 _fabsf(0);
49108 return 0;
49110 _ACEOF
49111 if ac_fn_cxx_try_compile "$LINENO"; then :
49112 glibcxx_cv_func__fabsf_use=yes
49113 else
49114 glibcxx_cv_func__fabsf_use=no
49116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49117 ac_ext=c
49118 ac_cpp='$CPP $CPPFLAGS'
49119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
49128 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
49130 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49131 for ac_func in _fabsf
49132 do :
49133 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
49134 if test "x$ac_cv_func__fabsf" = x""yes; then :
49135 cat >>confdefs.h <<_ACEOF
49136 #define HAVE__FABSF 1
49137 _ACEOF
49140 done
49149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
49150 $as_echo_n "checking for fmodf declaration... " >&6; }
49151 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49152 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
49153 $as_echo_n "(cached) " >&6
49154 else
49157 ac_ext=cpp
49158 ac_cpp='$CXXCPP $CPPFLAGS'
49159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49164 /* end confdefs.h. */
49165 #include <math.h>
49167 main ()
49169 fmodf(0, 0);
49171 return 0;
49173 _ACEOF
49174 if ac_fn_cxx_try_compile "$LINENO"; then :
49175 glibcxx_cv_func_fmodf_use=yes
49176 else
49177 glibcxx_cv_func_fmodf_use=no
49179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49180 ac_ext=c
49181 ac_cpp='$CPP $CPPFLAGS'
49182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
49191 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
49193 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49194 for ac_func in fmodf
49195 do :
49196 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
49197 if test "x$ac_cv_func_fmodf" = x""yes; then :
49198 cat >>confdefs.h <<_ACEOF
49199 #define HAVE_FMODF 1
49200 _ACEOF
49203 done
49205 else
49207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
49208 $as_echo_n "checking for _fmodf declaration... " >&6; }
49209 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49210 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
49211 $as_echo_n "(cached) " >&6
49212 else
49215 ac_ext=cpp
49216 ac_cpp='$CXXCPP $CPPFLAGS'
49217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49222 /* end confdefs.h. */
49223 #include <math.h>
49225 main ()
49227 _fmodf(0, 0);
49229 return 0;
49231 _ACEOF
49232 if ac_fn_cxx_try_compile "$LINENO"; then :
49233 glibcxx_cv_func__fmodf_use=yes
49234 else
49235 glibcxx_cv_func__fmodf_use=no
49237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49238 ac_ext=c
49239 ac_cpp='$CPP $CPPFLAGS'
49240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
49249 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
49251 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49252 for ac_func in _fmodf
49253 do :
49254 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
49255 if test "x$ac_cv_func__fmodf" = x""yes; then :
49256 cat >>confdefs.h <<_ACEOF
49257 #define HAVE__FMODF 1
49258 _ACEOF
49261 done
49270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
49271 $as_echo_n "checking for frexpf declaration... " >&6; }
49272 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49273 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
49274 $as_echo_n "(cached) " >&6
49275 else
49278 ac_ext=cpp
49279 ac_cpp='$CXXCPP $CPPFLAGS'
49280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49285 /* end confdefs.h. */
49286 #include <math.h>
49288 main ()
49290 frexpf(0, 0);
49292 return 0;
49294 _ACEOF
49295 if ac_fn_cxx_try_compile "$LINENO"; then :
49296 glibcxx_cv_func_frexpf_use=yes
49297 else
49298 glibcxx_cv_func_frexpf_use=no
49300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49301 ac_ext=c
49302 ac_cpp='$CPP $CPPFLAGS'
49303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
49312 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
49314 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49315 for ac_func in frexpf
49316 do :
49317 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
49318 if test "x$ac_cv_func_frexpf" = x""yes; then :
49319 cat >>confdefs.h <<_ACEOF
49320 #define HAVE_FREXPF 1
49321 _ACEOF
49324 done
49326 else
49328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
49329 $as_echo_n "checking for _frexpf declaration... " >&6; }
49330 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49331 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
49332 $as_echo_n "(cached) " >&6
49333 else
49336 ac_ext=cpp
49337 ac_cpp='$CXXCPP $CPPFLAGS'
49338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49343 /* end confdefs.h. */
49344 #include <math.h>
49346 main ()
49348 _frexpf(0, 0);
49350 return 0;
49352 _ACEOF
49353 if ac_fn_cxx_try_compile "$LINENO"; then :
49354 glibcxx_cv_func__frexpf_use=yes
49355 else
49356 glibcxx_cv_func__frexpf_use=no
49358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49359 ac_ext=c
49360 ac_cpp='$CPP $CPPFLAGS'
49361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
49370 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
49372 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49373 for ac_func in _frexpf
49374 do :
49375 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
49376 if test "x$ac_cv_func__frexpf" = x""yes; then :
49377 cat >>confdefs.h <<_ACEOF
49378 #define HAVE__FREXPF 1
49379 _ACEOF
49382 done
49391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
49392 $as_echo_n "checking for hypotf declaration... " >&6; }
49393 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49394 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
49395 $as_echo_n "(cached) " >&6
49396 else
49399 ac_ext=cpp
49400 ac_cpp='$CXXCPP $CPPFLAGS'
49401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49406 /* end confdefs.h. */
49407 #include <math.h>
49409 main ()
49411 hypotf(0, 0);
49413 return 0;
49415 _ACEOF
49416 if ac_fn_cxx_try_compile "$LINENO"; then :
49417 glibcxx_cv_func_hypotf_use=yes
49418 else
49419 glibcxx_cv_func_hypotf_use=no
49421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49422 ac_ext=c
49423 ac_cpp='$CPP $CPPFLAGS'
49424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
49433 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
49435 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49436 for ac_func in hypotf
49437 do :
49438 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
49439 if test "x$ac_cv_func_hypotf" = x""yes; then :
49440 cat >>confdefs.h <<_ACEOF
49441 #define HAVE_HYPOTF 1
49442 _ACEOF
49445 done
49447 else
49449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
49450 $as_echo_n "checking for _hypotf declaration... " >&6; }
49451 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49452 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
49453 $as_echo_n "(cached) " >&6
49454 else
49457 ac_ext=cpp
49458 ac_cpp='$CXXCPP $CPPFLAGS'
49459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49464 /* end confdefs.h. */
49465 #include <math.h>
49467 main ()
49469 _hypotf(0, 0);
49471 return 0;
49473 _ACEOF
49474 if ac_fn_cxx_try_compile "$LINENO"; then :
49475 glibcxx_cv_func__hypotf_use=yes
49476 else
49477 glibcxx_cv_func__hypotf_use=no
49479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49480 ac_ext=c
49481 ac_cpp='$CPP $CPPFLAGS'
49482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
49491 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
49493 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49494 for ac_func in _hypotf
49495 do :
49496 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
49497 if test "x$ac_cv_func__hypotf" = x""yes; then :
49498 cat >>confdefs.h <<_ACEOF
49499 #define HAVE__HYPOTF 1
49500 _ACEOF
49503 done
49512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
49513 $as_echo_n "checking for ldexpf declaration... " >&6; }
49514 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49515 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
49516 $as_echo_n "(cached) " >&6
49517 else
49520 ac_ext=cpp
49521 ac_cpp='$CXXCPP $CPPFLAGS'
49522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49527 /* end confdefs.h. */
49528 #include <math.h>
49530 main ()
49532 ldexpf(0, 0);
49534 return 0;
49536 _ACEOF
49537 if ac_fn_cxx_try_compile "$LINENO"; then :
49538 glibcxx_cv_func_ldexpf_use=yes
49539 else
49540 glibcxx_cv_func_ldexpf_use=no
49542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49543 ac_ext=c
49544 ac_cpp='$CPP $CPPFLAGS'
49545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
49554 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
49556 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
49557 for ac_func in ldexpf
49558 do :
49559 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
49560 if test "x$ac_cv_func_ldexpf" = x""yes; then :
49561 cat >>confdefs.h <<_ACEOF
49562 #define HAVE_LDEXPF 1
49563 _ACEOF
49566 done
49568 else
49570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
49571 $as_echo_n "checking for _ldexpf declaration... " >&6; }
49572 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
49573 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
49574 $as_echo_n "(cached) " >&6
49575 else
49578 ac_ext=cpp
49579 ac_cpp='$CXXCPP $CPPFLAGS'
49580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49585 /* end confdefs.h. */
49586 #include <math.h>
49588 main ()
49590 _ldexpf(0, 0);
49592 return 0;
49594 _ACEOF
49595 if ac_fn_cxx_try_compile "$LINENO"; then :
49596 glibcxx_cv_func__ldexpf_use=yes
49597 else
49598 glibcxx_cv_func__ldexpf_use=no
49600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49601 ac_ext=c
49602 ac_cpp='$CPP $CPPFLAGS'
49603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
49612 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
49614 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
49615 for ac_func in _ldexpf
49616 do :
49617 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
49618 if test "x$ac_cv_func__ldexpf" = x""yes; then :
49619 cat >>confdefs.h <<_ACEOF
49620 #define HAVE__LDEXPF 1
49621 _ACEOF
49624 done
49633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
49634 $as_echo_n "checking for logf declaration... " >&6; }
49635 if test x${glibcxx_cv_func_logf_use+set} != xset; then
49636 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
49637 $as_echo_n "(cached) " >&6
49638 else
49641 ac_ext=cpp
49642 ac_cpp='$CXXCPP $CPPFLAGS'
49643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49648 /* end confdefs.h. */
49649 #include <math.h>
49650 #ifdef HAVE_IEEEFP_H
49651 #include <ieeefp.h>
49652 #endif
49655 main ()
49657 logf(0);
49659 return 0;
49661 _ACEOF
49662 if ac_fn_cxx_try_compile "$LINENO"; then :
49663 glibcxx_cv_func_logf_use=yes
49664 else
49665 glibcxx_cv_func_logf_use=no
49667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49668 ac_ext=c
49669 ac_cpp='$CPP $CPPFLAGS'
49670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
49679 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
49681 if test x$glibcxx_cv_func_logf_use = x"yes"; then
49682 for ac_func in logf
49683 do :
49684 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
49685 if test "x$ac_cv_func_logf" = x""yes; then :
49686 cat >>confdefs.h <<_ACEOF
49687 #define HAVE_LOGF 1
49688 _ACEOF
49691 done
49693 else
49695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
49696 $as_echo_n "checking for _logf declaration... " >&6; }
49697 if test x${glibcxx_cv_func__logf_use+set} != xset; then
49698 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
49699 $as_echo_n "(cached) " >&6
49700 else
49703 ac_ext=cpp
49704 ac_cpp='$CXXCPP $CPPFLAGS'
49705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49710 /* end confdefs.h. */
49711 #include <math.h>
49712 #ifdef HAVE_IEEEFP_H
49713 #include <ieeefp.h>
49714 #endif
49717 main ()
49719 _logf(0);
49721 return 0;
49723 _ACEOF
49724 if ac_fn_cxx_try_compile "$LINENO"; then :
49725 glibcxx_cv_func__logf_use=yes
49726 else
49727 glibcxx_cv_func__logf_use=no
49729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49730 ac_ext=c
49731 ac_cpp='$CPP $CPPFLAGS'
49732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
49741 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
49743 if test x$glibcxx_cv_func__logf_use = x"yes"; then
49744 for ac_func in _logf
49745 do :
49746 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
49747 if test "x$ac_cv_func__logf" = x""yes; then :
49748 cat >>confdefs.h <<_ACEOF
49749 #define HAVE__LOGF 1
49750 _ACEOF
49753 done
49762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
49763 $as_echo_n "checking for log10f declaration... " >&6; }
49764 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
49765 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
49766 $as_echo_n "(cached) " >&6
49767 else
49770 ac_ext=cpp
49771 ac_cpp='$CXXCPP $CPPFLAGS'
49772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49777 /* end confdefs.h. */
49778 #include <math.h>
49779 #ifdef HAVE_IEEEFP_H
49780 #include <ieeefp.h>
49781 #endif
49784 main ()
49786 log10f(0);
49788 return 0;
49790 _ACEOF
49791 if ac_fn_cxx_try_compile "$LINENO"; then :
49792 glibcxx_cv_func_log10f_use=yes
49793 else
49794 glibcxx_cv_func_log10f_use=no
49796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49797 ac_ext=c
49798 ac_cpp='$CPP $CPPFLAGS'
49799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
49808 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
49810 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
49811 for ac_func in log10f
49812 do :
49813 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
49814 if test "x$ac_cv_func_log10f" = x""yes; then :
49815 cat >>confdefs.h <<_ACEOF
49816 #define HAVE_LOG10F 1
49817 _ACEOF
49820 done
49822 else
49824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
49825 $as_echo_n "checking for _log10f declaration... " >&6; }
49826 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
49827 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
49828 $as_echo_n "(cached) " >&6
49829 else
49832 ac_ext=cpp
49833 ac_cpp='$CXXCPP $CPPFLAGS'
49834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49839 /* end confdefs.h. */
49840 #include <math.h>
49841 #ifdef HAVE_IEEEFP_H
49842 #include <ieeefp.h>
49843 #endif
49846 main ()
49848 _log10f(0);
49850 return 0;
49852 _ACEOF
49853 if ac_fn_cxx_try_compile "$LINENO"; then :
49854 glibcxx_cv_func__log10f_use=yes
49855 else
49856 glibcxx_cv_func__log10f_use=no
49858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49859 ac_ext=c
49860 ac_cpp='$CPP $CPPFLAGS'
49861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
49870 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
49872 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
49873 for ac_func in _log10f
49874 do :
49875 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
49876 if test "x$ac_cv_func__log10f" = x""yes; then :
49877 cat >>confdefs.h <<_ACEOF
49878 #define HAVE__LOG10F 1
49879 _ACEOF
49882 done
49891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
49892 $as_echo_n "checking for modff declaration... " >&6; }
49893 if test x${glibcxx_cv_func_modff_use+set} != xset; then
49894 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
49895 $as_echo_n "(cached) " >&6
49896 else
49899 ac_ext=cpp
49900 ac_cpp='$CXXCPP $CPPFLAGS'
49901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49906 /* end confdefs.h. */
49907 #include <math.h>
49909 main ()
49911 modff(0, 0);
49913 return 0;
49915 _ACEOF
49916 if ac_fn_cxx_try_compile "$LINENO"; then :
49917 glibcxx_cv_func_modff_use=yes
49918 else
49919 glibcxx_cv_func_modff_use=no
49921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49922 ac_ext=c
49923 ac_cpp='$CPP $CPPFLAGS'
49924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
49933 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
49935 if test x$glibcxx_cv_func_modff_use = x"yes"; then
49936 for ac_func in modff
49937 do :
49938 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
49939 if test "x$ac_cv_func_modff" = x""yes; then :
49940 cat >>confdefs.h <<_ACEOF
49941 #define HAVE_MODFF 1
49942 _ACEOF
49945 done
49947 else
49949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
49950 $as_echo_n "checking for _modff declaration... " >&6; }
49951 if test x${glibcxx_cv_func__modff_use+set} != xset; then
49952 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
49953 $as_echo_n "(cached) " >&6
49954 else
49957 ac_ext=cpp
49958 ac_cpp='$CXXCPP $CPPFLAGS'
49959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49964 /* end confdefs.h. */
49965 #include <math.h>
49967 main ()
49969 _modff(0, 0);
49971 return 0;
49973 _ACEOF
49974 if ac_fn_cxx_try_compile "$LINENO"; then :
49975 glibcxx_cv_func__modff_use=yes
49976 else
49977 glibcxx_cv_func__modff_use=no
49979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49980 ac_ext=c
49981 ac_cpp='$CPP $CPPFLAGS'
49982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
49991 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
49993 if test x$glibcxx_cv_func__modff_use = x"yes"; then
49994 for ac_func in _modff
49995 do :
49996 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
49997 if test "x$ac_cv_func__modff" = x""yes; then :
49998 cat >>confdefs.h <<_ACEOF
49999 #define HAVE__MODFF 1
50000 _ACEOF
50003 done
50012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
50013 $as_echo_n "checking for modf declaration... " >&6; }
50014 if test x${glibcxx_cv_func_modf_use+set} != xset; then
50015 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
50016 $as_echo_n "(cached) " >&6
50017 else
50020 ac_ext=cpp
50021 ac_cpp='$CXXCPP $CPPFLAGS'
50022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50027 /* end confdefs.h. */
50028 #include <math.h>
50030 main ()
50032 modf(0, 0);
50034 return 0;
50036 _ACEOF
50037 if ac_fn_cxx_try_compile "$LINENO"; then :
50038 glibcxx_cv_func_modf_use=yes
50039 else
50040 glibcxx_cv_func_modf_use=no
50042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50043 ac_ext=c
50044 ac_cpp='$CPP $CPPFLAGS'
50045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
50054 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
50056 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50057 for ac_func in modf
50058 do :
50059 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
50060 if test "x$ac_cv_func_modf" = x""yes; then :
50061 cat >>confdefs.h <<_ACEOF
50062 #define HAVE_MODF 1
50063 _ACEOF
50066 done
50068 else
50070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
50071 $as_echo_n "checking for _modf declaration... " >&6; }
50072 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50073 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
50074 $as_echo_n "(cached) " >&6
50075 else
50078 ac_ext=cpp
50079 ac_cpp='$CXXCPP $CPPFLAGS'
50080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50085 /* end confdefs.h. */
50086 #include <math.h>
50088 main ()
50090 _modf(0, 0);
50092 return 0;
50094 _ACEOF
50095 if ac_fn_cxx_try_compile "$LINENO"; then :
50096 glibcxx_cv_func__modf_use=yes
50097 else
50098 glibcxx_cv_func__modf_use=no
50100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50101 ac_ext=c
50102 ac_cpp='$CPP $CPPFLAGS'
50103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
50112 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
50114 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50115 for ac_func in _modf
50116 do :
50117 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
50118 if test "x$ac_cv_func__modf" = x""yes; then :
50119 cat >>confdefs.h <<_ACEOF
50120 #define HAVE__MODF 1
50121 _ACEOF
50124 done
50133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
50134 $as_echo_n "checking for powf declaration... " >&6; }
50135 if test x${glibcxx_cv_func_powf_use+set} != xset; then
50136 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
50137 $as_echo_n "(cached) " >&6
50138 else
50141 ac_ext=cpp
50142 ac_cpp='$CXXCPP $CPPFLAGS'
50143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50148 /* end confdefs.h. */
50149 #include <math.h>
50151 main ()
50153 powf(0, 0);
50155 return 0;
50157 _ACEOF
50158 if ac_fn_cxx_try_compile "$LINENO"; then :
50159 glibcxx_cv_func_powf_use=yes
50160 else
50161 glibcxx_cv_func_powf_use=no
50163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50164 ac_ext=c
50165 ac_cpp='$CPP $CPPFLAGS'
50166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
50175 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
50177 if test x$glibcxx_cv_func_powf_use = x"yes"; then
50178 for ac_func in powf
50179 do :
50180 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
50181 if test "x$ac_cv_func_powf" = x""yes; then :
50182 cat >>confdefs.h <<_ACEOF
50183 #define HAVE_POWF 1
50184 _ACEOF
50187 done
50189 else
50191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
50192 $as_echo_n "checking for _powf declaration... " >&6; }
50193 if test x${glibcxx_cv_func__powf_use+set} != xset; then
50194 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
50195 $as_echo_n "(cached) " >&6
50196 else
50199 ac_ext=cpp
50200 ac_cpp='$CXXCPP $CPPFLAGS'
50201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50206 /* end confdefs.h. */
50207 #include <math.h>
50209 main ()
50211 _powf(0, 0);
50213 return 0;
50215 _ACEOF
50216 if ac_fn_cxx_try_compile "$LINENO"; then :
50217 glibcxx_cv_func__powf_use=yes
50218 else
50219 glibcxx_cv_func__powf_use=no
50221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50222 ac_ext=c
50223 ac_cpp='$CPP $CPPFLAGS'
50224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
50233 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
50235 if test x$glibcxx_cv_func__powf_use = x"yes"; then
50236 for ac_func in _powf
50237 do :
50238 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
50239 if test "x$ac_cv_func__powf" = x""yes; then :
50240 cat >>confdefs.h <<_ACEOF
50241 #define HAVE__POWF 1
50242 _ACEOF
50245 done
50254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
50255 $as_echo_n "checking for sqrtf declaration... " >&6; }
50256 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50257 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
50258 $as_echo_n "(cached) " >&6
50259 else
50262 ac_ext=cpp
50263 ac_cpp='$CXXCPP $CPPFLAGS'
50264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50269 /* end confdefs.h. */
50270 #include <math.h>
50271 #ifdef HAVE_IEEEFP_H
50272 #include <ieeefp.h>
50273 #endif
50276 main ()
50278 sqrtf(0);
50280 return 0;
50282 _ACEOF
50283 if ac_fn_cxx_try_compile "$LINENO"; then :
50284 glibcxx_cv_func_sqrtf_use=yes
50285 else
50286 glibcxx_cv_func_sqrtf_use=no
50288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50289 ac_ext=c
50290 ac_cpp='$CPP $CPPFLAGS'
50291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
50300 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
50302 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
50303 for ac_func in sqrtf
50304 do :
50305 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
50306 if test "x$ac_cv_func_sqrtf" = x""yes; then :
50307 cat >>confdefs.h <<_ACEOF
50308 #define HAVE_SQRTF 1
50309 _ACEOF
50312 done
50314 else
50316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
50317 $as_echo_n "checking for _sqrtf declaration... " >&6; }
50318 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
50319 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
50320 $as_echo_n "(cached) " >&6
50321 else
50324 ac_ext=cpp
50325 ac_cpp='$CXXCPP $CPPFLAGS'
50326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50331 /* end confdefs.h. */
50332 #include <math.h>
50333 #ifdef HAVE_IEEEFP_H
50334 #include <ieeefp.h>
50335 #endif
50338 main ()
50340 _sqrtf(0);
50342 return 0;
50344 _ACEOF
50345 if ac_fn_cxx_try_compile "$LINENO"; then :
50346 glibcxx_cv_func__sqrtf_use=yes
50347 else
50348 glibcxx_cv_func__sqrtf_use=no
50350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50351 ac_ext=c
50352 ac_cpp='$CPP $CPPFLAGS'
50353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
50362 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
50364 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
50365 for ac_func in _sqrtf
50366 do :
50367 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
50368 if test "x$ac_cv_func__sqrtf" = x""yes; then :
50369 cat >>confdefs.h <<_ACEOF
50370 #define HAVE__SQRTF 1
50371 _ACEOF
50374 done
50383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
50384 $as_echo_n "checking for sincosf declaration... " >&6; }
50385 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
50386 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
50387 $as_echo_n "(cached) " >&6
50388 else
50391 ac_ext=cpp
50392 ac_cpp='$CXXCPP $CPPFLAGS'
50393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50398 /* end confdefs.h. */
50399 #include <math.h>
50401 main ()
50403 sincosf(0, 0, 0);
50405 return 0;
50407 _ACEOF
50408 if ac_fn_cxx_try_compile "$LINENO"; then :
50409 glibcxx_cv_func_sincosf_use=yes
50410 else
50411 glibcxx_cv_func_sincosf_use=no
50413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50414 ac_ext=c
50415 ac_cpp='$CPP $CPPFLAGS'
50416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
50425 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
50427 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
50428 for ac_func in sincosf
50429 do :
50430 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
50431 if test "x$ac_cv_func_sincosf" = x""yes; then :
50432 cat >>confdefs.h <<_ACEOF
50433 #define HAVE_SINCOSF 1
50434 _ACEOF
50437 done
50439 else
50441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
50442 $as_echo_n "checking for _sincosf declaration... " >&6; }
50443 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
50444 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
50445 $as_echo_n "(cached) " >&6
50446 else
50449 ac_ext=cpp
50450 ac_cpp='$CXXCPP $CPPFLAGS'
50451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50456 /* end confdefs.h. */
50457 #include <math.h>
50459 main ()
50461 _sincosf(0, 0, 0);
50463 return 0;
50465 _ACEOF
50466 if ac_fn_cxx_try_compile "$LINENO"; then :
50467 glibcxx_cv_func__sincosf_use=yes
50468 else
50469 glibcxx_cv_func__sincosf_use=no
50471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50472 ac_ext=c
50473 ac_cpp='$CPP $CPPFLAGS'
50474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
50483 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
50485 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
50486 for ac_func in _sincosf
50487 do :
50488 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
50489 if test "x$ac_cv_func__sincosf" = x""yes; then :
50490 cat >>confdefs.h <<_ACEOF
50491 #define HAVE__SINCOSF 1
50492 _ACEOF
50495 done
50504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
50505 $as_echo_n "checking for finitef declaration... " >&6; }
50506 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
50507 if test "${glibcxx_cv_func_finitef_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>
50521 #ifdef HAVE_IEEEFP_H
50522 #include <ieeefp.h>
50523 #endif
50526 main ()
50528 finitef(0);
50530 return 0;
50532 _ACEOF
50533 if ac_fn_cxx_try_compile "$LINENO"; then :
50534 glibcxx_cv_func_finitef_use=yes
50535 else
50536 glibcxx_cv_func_finitef_use=no
50538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50539 ac_ext=c
50540 ac_cpp='$CPP $CPPFLAGS'
50541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
50550 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
50552 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
50553 for ac_func in finitef
50554 do :
50555 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
50556 if test "x$ac_cv_func_finitef" = x""yes; then :
50557 cat >>confdefs.h <<_ACEOF
50558 #define HAVE_FINITEF 1
50559 _ACEOF
50562 done
50564 else
50566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
50567 $as_echo_n "checking for _finitef declaration... " >&6; }
50568 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
50569 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
50570 $as_echo_n "(cached) " >&6
50571 else
50574 ac_ext=cpp
50575 ac_cpp='$CXXCPP $CPPFLAGS'
50576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50581 /* end confdefs.h. */
50582 #include <math.h>
50583 #ifdef HAVE_IEEEFP_H
50584 #include <ieeefp.h>
50585 #endif
50588 main ()
50590 _finitef(0);
50592 return 0;
50594 _ACEOF
50595 if ac_fn_cxx_try_compile "$LINENO"; then :
50596 glibcxx_cv_func__finitef_use=yes
50597 else
50598 glibcxx_cv_func__finitef_use=no
50600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50601 ac_ext=c
50602 ac_cpp='$CPP $CPPFLAGS'
50603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
50612 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
50614 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
50615 for ac_func in _finitef
50616 do :
50617 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
50618 if test "x$ac_cv_func__finitef" = x""yes; then :
50619 cat >>confdefs.h <<_ACEOF
50620 #define HAVE__FINITEF 1
50621 _ACEOF
50624 done
50633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
50634 $as_echo_n "checking for long double trig functions... " >&6; }
50635 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
50636 $as_echo_n "(cached) " >&6
50637 else
50640 ac_ext=cpp
50641 ac_cpp='$CXXCPP $CPPFLAGS'
50642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50647 /* end confdefs.h. */
50648 #include <math.h>
50650 main ()
50652 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
50654 return 0;
50656 _ACEOF
50657 if ac_fn_cxx_try_compile "$LINENO"; then :
50658 glibcxx_cv_func_long_double_trig_use=yes
50659 else
50660 glibcxx_cv_func_long_double_trig_use=no
50662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50663 ac_ext=c
50664 ac_cpp='$CPP $CPPFLAGS'
50665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
50672 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
50673 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
50674 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
50675 do :
50676 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50677 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50678 eval as_val=\$$as_ac_var
50679 if test "x$as_val" = x""yes; then :
50680 cat >>confdefs.h <<_ACEOF
50681 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50682 _ACEOF
50685 done
50687 else
50688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
50689 $as_echo_n "checking for _long double trig functions... " >&6; }
50690 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
50691 $as_echo_n "(cached) " >&6
50692 else
50695 ac_ext=cpp
50696 ac_cpp='$CXXCPP $CPPFLAGS'
50697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50702 /* end confdefs.h. */
50703 #include <math.h>
50705 main ()
50707 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
50709 return 0;
50711 _ACEOF
50712 if ac_fn_cxx_try_compile "$LINENO"; then :
50713 glibcxx_cv_func__long_double_trig_use=yes
50714 else
50715 glibcxx_cv_func__long_double_trig_use=no
50717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50718 ac_ext=c
50719 ac_cpp='$CPP $CPPFLAGS'
50720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
50727 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
50728 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
50729 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
50730 do :
50731 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50732 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50733 eval as_val=\$$as_ac_var
50734 if test "x$as_val" = x""yes; then :
50735 cat >>confdefs.h <<_ACEOF
50736 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50737 _ACEOF
50740 done
50749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
50750 $as_echo_n "checking for long double round functions... " >&6; }
50751 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
50752 $as_echo_n "(cached) " >&6
50753 else
50756 ac_ext=cpp
50757 ac_cpp='$CXXCPP $CPPFLAGS'
50758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50763 /* end confdefs.h. */
50764 #include <math.h>
50766 main ()
50768 ceill (0); floorl (0);
50770 return 0;
50772 _ACEOF
50773 if ac_fn_cxx_try_compile "$LINENO"; then :
50774 glibcxx_cv_func_long_double_round_use=yes
50775 else
50776 glibcxx_cv_func_long_double_round_use=no
50778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50779 ac_ext=c
50780 ac_cpp='$CPP $CPPFLAGS'
50781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
50788 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
50789 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
50790 for ac_func in ceill floorl
50791 do :
50792 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50793 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50794 eval as_val=\$$as_ac_var
50795 if test "x$as_val" = x""yes; then :
50796 cat >>confdefs.h <<_ACEOF
50797 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50798 _ACEOF
50801 done
50803 else
50804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
50805 $as_echo_n "checking for _long double round functions... " >&6; }
50806 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
50807 $as_echo_n "(cached) " >&6
50808 else
50811 ac_ext=cpp
50812 ac_cpp='$CXXCPP $CPPFLAGS'
50813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50818 /* end confdefs.h. */
50819 #include <math.h>
50821 main ()
50823 _ceill (0); _floorl (0);
50825 return 0;
50827 _ACEOF
50828 if ac_fn_cxx_try_compile "$LINENO"; then :
50829 glibcxx_cv_func__long_double_round_use=yes
50830 else
50831 glibcxx_cv_func__long_double_round_use=no
50833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50834 ac_ext=c
50835 ac_cpp='$CPP $CPPFLAGS'
50836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
50843 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
50844 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
50845 for ac_func in _ceill _floorl
50846 do :
50847 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50848 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50849 eval as_val=\$$as_ac_var
50850 if test "x$as_val" = x""yes; then :
50851 cat >>confdefs.h <<_ACEOF
50852 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50853 _ACEOF
50856 done
50866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
50867 $as_echo_n "checking for isnanl declaration... " >&6; }
50868 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
50869 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
50870 $as_echo_n "(cached) " >&6
50871 else
50874 ac_ext=cpp
50875 ac_cpp='$CXXCPP $CPPFLAGS'
50876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50881 /* end confdefs.h. */
50882 #include <math.h>
50883 #ifdef HAVE_IEEEFP_H
50884 #include <ieeefp.h>
50885 #endif
50888 main ()
50890 isnanl(0);
50892 return 0;
50894 _ACEOF
50895 if ac_fn_cxx_try_compile "$LINENO"; then :
50896 glibcxx_cv_func_isnanl_use=yes
50897 else
50898 glibcxx_cv_func_isnanl_use=no
50900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50901 ac_ext=c
50902 ac_cpp='$CPP $CPPFLAGS'
50903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
50912 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
50914 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
50915 for ac_func in isnanl
50916 do :
50917 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
50918 if test "x$ac_cv_func_isnanl" = x""yes; then :
50919 cat >>confdefs.h <<_ACEOF
50920 #define HAVE_ISNANL 1
50921 _ACEOF
50924 done
50926 else
50928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
50929 $as_echo_n "checking for _isnanl declaration... " >&6; }
50930 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
50931 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
50932 $as_echo_n "(cached) " >&6
50933 else
50936 ac_ext=cpp
50937 ac_cpp='$CXXCPP $CPPFLAGS'
50938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50943 /* end confdefs.h. */
50944 #include <math.h>
50945 #ifdef HAVE_IEEEFP_H
50946 #include <ieeefp.h>
50947 #endif
50950 main ()
50952 _isnanl(0);
50954 return 0;
50956 _ACEOF
50957 if ac_fn_cxx_try_compile "$LINENO"; then :
50958 glibcxx_cv_func__isnanl_use=yes
50959 else
50960 glibcxx_cv_func__isnanl_use=no
50962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50963 ac_ext=c
50964 ac_cpp='$CPP $CPPFLAGS'
50965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
50974 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
50976 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
50977 for ac_func in _isnanl
50978 do :
50979 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
50980 if test "x$ac_cv_func__isnanl" = x""yes; then :
50981 cat >>confdefs.h <<_ACEOF
50982 #define HAVE__ISNANL 1
50983 _ACEOF
50986 done
50995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
50996 $as_echo_n "checking for isinfl declaration... " >&6; }
50997 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
50998 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
50999 $as_echo_n "(cached) " >&6
51000 else
51003 ac_ext=cpp
51004 ac_cpp='$CXXCPP $CPPFLAGS'
51005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51010 /* end confdefs.h. */
51011 #include <math.h>
51012 #ifdef HAVE_IEEEFP_H
51013 #include <ieeefp.h>
51014 #endif
51017 main ()
51019 isinfl(0);
51021 return 0;
51023 _ACEOF
51024 if ac_fn_cxx_try_compile "$LINENO"; then :
51025 glibcxx_cv_func_isinfl_use=yes
51026 else
51027 glibcxx_cv_func_isinfl_use=no
51029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51030 ac_ext=c
51031 ac_cpp='$CPP $CPPFLAGS'
51032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
51041 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
51043 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
51044 for ac_func in isinfl
51045 do :
51046 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
51047 if test "x$ac_cv_func_isinfl" = x""yes; then :
51048 cat >>confdefs.h <<_ACEOF
51049 #define HAVE_ISINFL 1
51050 _ACEOF
51053 done
51055 else
51057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
51058 $as_echo_n "checking for _isinfl declaration... " >&6; }
51059 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
51060 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
51061 $as_echo_n "(cached) " >&6
51062 else
51065 ac_ext=cpp
51066 ac_cpp='$CXXCPP $CPPFLAGS'
51067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51072 /* end confdefs.h. */
51073 #include <math.h>
51074 #ifdef HAVE_IEEEFP_H
51075 #include <ieeefp.h>
51076 #endif
51079 main ()
51081 _isinfl(0);
51083 return 0;
51085 _ACEOF
51086 if ac_fn_cxx_try_compile "$LINENO"; then :
51087 glibcxx_cv_func__isinfl_use=yes
51088 else
51089 glibcxx_cv_func__isinfl_use=no
51091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51092 ac_ext=c
51093 ac_cpp='$CPP $CPPFLAGS'
51094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
51103 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
51105 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
51106 for ac_func in _isinfl
51107 do :
51108 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
51109 if test "x$ac_cv_func__isinfl" = x""yes; then :
51110 cat >>confdefs.h <<_ACEOF
51111 #define HAVE__ISINFL 1
51112 _ACEOF
51115 done
51124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
51125 $as_echo_n "checking for atan2l declaration... " >&6; }
51126 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
51127 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
51128 $as_echo_n "(cached) " >&6
51129 else
51132 ac_ext=cpp
51133 ac_cpp='$CXXCPP $CPPFLAGS'
51134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51139 /* end confdefs.h. */
51140 #include <math.h>
51142 main ()
51144 atan2l(0, 0);
51146 return 0;
51148 _ACEOF
51149 if ac_fn_cxx_try_compile "$LINENO"; then :
51150 glibcxx_cv_func_atan2l_use=yes
51151 else
51152 glibcxx_cv_func_atan2l_use=no
51154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51155 ac_ext=c
51156 ac_cpp='$CPP $CPPFLAGS'
51157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
51166 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
51168 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
51169 for ac_func in atan2l
51170 do :
51171 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
51172 if test "x$ac_cv_func_atan2l" = x""yes; then :
51173 cat >>confdefs.h <<_ACEOF
51174 #define HAVE_ATAN2L 1
51175 _ACEOF
51178 done
51180 else
51182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
51183 $as_echo_n "checking for _atan2l declaration... " >&6; }
51184 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
51185 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
51186 $as_echo_n "(cached) " >&6
51187 else
51190 ac_ext=cpp
51191 ac_cpp='$CXXCPP $CPPFLAGS'
51192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51197 /* end confdefs.h. */
51198 #include <math.h>
51200 main ()
51202 _atan2l(0, 0);
51204 return 0;
51206 _ACEOF
51207 if ac_fn_cxx_try_compile "$LINENO"; then :
51208 glibcxx_cv_func__atan2l_use=yes
51209 else
51210 glibcxx_cv_func__atan2l_use=no
51212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51213 ac_ext=c
51214 ac_cpp='$CPP $CPPFLAGS'
51215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
51224 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
51226 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
51227 for ac_func in _atan2l
51228 do :
51229 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
51230 if test "x$ac_cv_func__atan2l" = x""yes; then :
51231 cat >>confdefs.h <<_ACEOF
51232 #define HAVE__ATAN2L 1
51233 _ACEOF
51236 done
51245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
51246 $as_echo_n "checking for expl declaration... " >&6; }
51247 if test x${glibcxx_cv_func_expl_use+set} != xset; then
51248 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
51249 $as_echo_n "(cached) " >&6
51250 else
51253 ac_ext=cpp
51254 ac_cpp='$CXXCPP $CPPFLAGS'
51255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51260 /* end confdefs.h. */
51261 #include <math.h>
51262 #ifdef HAVE_IEEEFP_H
51263 #include <ieeefp.h>
51264 #endif
51267 main ()
51269 expl(0);
51271 return 0;
51273 _ACEOF
51274 if ac_fn_cxx_try_compile "$LINENO"; then :
51275 glibcxx_cv_func_expl_use=yes
51276 else
51277 glibcxx_cv_func_expl_use=no
51279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51280 ac_ext=c
51281 ac_cpp='$CPP $CPPFLAGS'
51282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
51291 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
51293 if test x$glibcxx_cv_func_expl_use = x"yes"; then
51294 for ac_func in expl
51295 do :
51296 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
51297 if test "x$ac_cv_func_expl" = x""yes; then :
51298 cat >>confdefs.h <<_ACEOF
51299 #define HAVE_EXPL 1
51300 _ACEOF
51303 done
51305 else
51307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
51308 $as_echo_n "checking for _expl declaration... " >&6; }
51309 if test x${glibcxx_cv_func__expl_use+set} != xset; then
51310 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
51311 $as_echo_n "(cached) " >&6
51312 else
51315 ac_ext=cpp
51316 ac_cpp='$CXXCPP $CPPFLAGS'
51317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51322 /* end confdefs.h. */
51323 #include <math.h>
51324 #ifdef HAVE_IEEEFP_H
51325 #include <ieeefp.h>
51326 #endif
51329 main ()
51331 _expl(0);
51333 return 0;
51335 _ACEOF
51336 if ac_fn_cxx_try_compile "$LINENO"; then :
51337 glibcxx_cv_func__expl_use=yes
51338 else
51339 glibcxx_cv_func__expl_use=no
51341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51342 ac_ext=c
51343 ac_cpp='$CPP $CPPFLAGS'
51344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
51353 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
51355 if test x$glibcxx_cv_func__expl_use = x"yes"; then
51356 for ac_func in _expl
51357 do :
51358 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
51359 if test "x$ac_cv_func__expl" = x""yes; then :
51360 cat >>confdefs.h <<_ACEOF
51361 #define HAVE__EXPL 1
51362 _ACEOF
51365 done
51374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
51375 $as_echo_n "checking for fabsl declaration... " >&6; }
51376 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
51377 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
51378 $as_echo_n "(cached) " >&6
51379 else
51382 ac_ext=cpp
51383 ac_cpp='$CXXCPP $CPPFLAGS'
51384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51389 /* end confdefs.h. */
51390 #include <math.h>
51391 #ifdef HAVE_IEEEFP_H
51392 #include <ieeefp.h>
51393 #endif
51396 main ()
51398 fabsl(0);
51400 return 0;
51402 _ACEOF
51403 if ac_fn_cxx_try_compile "$LINENO"; then :
51404 glibcxx_cv_func_fabsl_use=yes
51405 else
51406 glibcxx_cv_func_fabsl_use=no
51408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51409 ac_ext=c
51410 ac_cpp='$CPP $CPPFLAGS'
51411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
51420 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
51422 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
51423 for ac_func in fabsl
51424 do :
51425 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
51426 if test "x$ac_cv_func_fabsl" = x""yes; then :
51427 cat >>confdefs.h <<_ACEOF
51428 #define HAVE_FABSL 1
51429 _ACEOF
51432 done
51434 else
51436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
51437 $as_echo_n "checking for _fabsl declaration... " >&6; }
51438 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
51439 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
51440 $as_echo_n "(cached) " >&6
51441 else
51444 ac_ext=cpp
51445 ac_cpp='$CXXCPP $CPPFLAGS'
51446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51451 /* end confdefs.h. */
51452 #include <math.h>
51453 #ifdef HAVE_IEEEFP_H
51454 #include <ieeefp.h>
51455 #endif
51458 main ()
51460 _fabsl(0);
51462 return 0;
51464 _ACEOF
51465 if ac_fn_cxx_try_compile "$LINENO"; then :
51466 glibcxx_cv_func__fabsl_use=yes
51467 else
51468 glibcxx_cv_func__fabsl_use=no
51470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51471 ac_ext=c
51472 ac_cpp='$CPP $CPPFLAGS'
51473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
51482 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
51484 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
51485 for ac_func in _fabsl
51486 do :
51487 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
51488 if test "x$ac_cv_func__fabsl" = x""yes; then :
51489 cat >>confdefs.h <<_ACEOF
51490 #define HAVE__FABSL 1
51491 _ACEOF
51494 done
51503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
51504 $as_echo_n "checking for fmodl declaration... " >&6; }
51505 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
51506 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
51507 $as_echo_n "(cached) " >&6
51508 else
51511 ac_ext=cpp
51512 ac_cpp='$CXXCPP $CPPFLAGS'
51513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51518 /* end confdefs.h. */
51519 #include <math.h>
51521 main ()
51523 fmodl(0, 0);
51525 return 0;
51527 _ACEOF
51528 if ac_fn_cxx_try_compile "$LINENO"; then :
51529 glibcxx_cv_func_fmodl_use=yes
51530 else
51531 glibcxx_cv_func_fmodl_use=no
51533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51534 ac_ext=c
51535 ac_cpp='$CPP $CPPFLAGS'
51536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
51545 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
51547 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
51548 for ac_func in fmodl
51549 do :
51550 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
51551 if test "x$ac_cv_func_fmodl" = x""yes; then :
51552 cat >>confdefs.h <<_ACEOF
51553 #define HAVE_FMODL 1
51554 _ACEOF
51557 done
51559 else
51561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
51562 $as_echo_n "checking for _fmodl declaration... " >&6; }
51563 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
51564 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
51565 $as_echo_n "(cached) " >&6
51566 else
51569 ac_ext=cpp
51570 ac_cpp='$CXXCPP $CPPFLAGS'
51571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51576 /* end confdefs.h. */
51577 #include <math.h>
51579 main ()
51581 _fmodl(0, 0);
51583 return 0;
51585 _ACEOF
51586 if ac_fn_cxx_try_compile "$LINENO"; then :
51587 glibcxx_cv_func__fmodl_use=yes
51588 else
51589 glibcxx_cv_func__fmodl_use=no
51591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51592 ac_ext=c
51593 ac_cpp='$CPP $CPPFLAGS'
51594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
51603 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
51605 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
51606 for ac_func in _fmodl
51607 do :
51608 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
51609 if test "x$ac_cv_func__fmodl" = x""yes; then :
51610 cat >>confdefs.h <<_ACEOF
51611 #define HAVE__FMODL 1
51612 _ACEOF
51615 done
51624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
51625 $as_echo_n "checking for frexpl declaration... " >&6; }
51626 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
51627 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
51628 $as_echo_n "(cached) " >&6
51629 else
51632 ac_ext=cpp
51633 ac_cpp='$CXXCPP $CPPFLAGS'
51634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51639 /* end confdefs.h. */
51640 #include <math.h>
51642 main ()
51644 frexpl(0, 0);
51646 return 0;
51648 _ACEOF
51649 if ac_fn_cxx_try_compile "$LINENO"; then :
51650 glibcxx_cv_func_frexpl_use=yes
51651 else
51652 glibcxx_cv_func_frexpl_use=no
51654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51655 ac_ext=c
51656 ac_cpp='$CPP $CPPFLAGS'
51657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
51666 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
51668 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
51669 for ac_func in frexpl
51670 do :
51671 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
51672 if test "x$ac_cv_func_frexpl" = x""yes; then :
51673 cat >>confdefs.h <<_ACEOF
51674 #define HAVE_FREXPL 1
51675 _ACEOF
51678 done
51680 else
51682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
51683 $as_echo_n "checking for _frexpl declaration... " >&6; }
51684 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
51685 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
51686 $as_echo_n "(cached) " >&6
51687 else
51690 ac_ext=cpp
51691 ac_cpp='$CXXCPP $CPPFLAGS'
51692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51697 /* end confdefs.h. */
51698 #include <math.h>
51700 main ()
51702 _frexpl(0, 0);
51704 return 0;
51706 _ACEOF
51707 if ac_fn_cxx_try_compile "$LINENO"; then :
51708 glibcxx_cv_func__frexpl_use=yes
51709 else
51710 glibcxx_cv_func__frexpl_use=no
51712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51713 ac_ext=c
51714 ac_cpp='$CPP $CPPFLAGS'
51715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
51724 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
51726 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
51727 for ac_func in _frexpl
51728 do :
51729 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
51730 if test "x$ac_cv_func__frexpl" = x""yes; then :
51731 cat >>confdefs.h <<_ACEOF
51732 #define HAVE__FREXPL 1
51733 _ACEOF
51736 done
51745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
51746 $as_echo_n "checking for hypotl declaration... " >&6; }
51747 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
51748 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
51749 $as_echo_n "(cached) " >&6
51750 else
51753 ac_ext=cpp
51754 ac_cpp='$CXXCPP $CPPFLAGS'
51755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51760 /* end confdefs.h. */
51761 #include <math.h>
51763 main ()
51765 hypotl(0, 0);
51767 return 0;
51769 _ACEOF
51770 if ac_fn_cxx_try_compile "$LINENO"; then :
51771 glibcxx_cv_func_hypotl_use=yes
51772 else
51773 glibcxx_cv_func_hypotl_use=no
51775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51776 ac_ext=c
51777 ac_cpp='$CPP $CPPFLAGS'
51778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
51787 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
51789 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
51790 for ac_func in hypotl
51791 do :
51792 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
51793 if test "x$ac_cv_func_hypotl" = x""yes; then :
51794 cat >>confdefs.h <<_ACEOF
51795 #define HAVE_HYPOTL 1
51796 _ACEOF
51799 done
51801 else
51803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
51804 $as_echo_n "checking for _hypotl declaration... " >&6; }
51805 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
51806 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
51807 $as_echo_n "(cached) " >&6
51808 else
51811 ac_ext=cpp
51812 ac_cpp='$CXXCPP $CPPFLAGS'
51813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51818 /* end confdefs.h. */
51819 #include <math.h>
51821 main ()
51823 _hypotl(0, 0);
51825 return 0;
51827 _ACEOF
51828 if ac_fn_cxx_try_compile "$LINENO"; then :
51829 glibcxx_cv_func__hypotl_use=yes
51830 else
51831 glibcxx_cv_func__hypotl_use=no
51833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51834 ac_ext=c
51835 ac_cpp='$CPP $CPPFLAGS'
51836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
51845 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
51847 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
51848 for ac_func in _hypotl
51849 do :
51850 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
51851 if test "x$ac_cv_func__hypotl" = x""yes; then :
51852 cat >>confdefs.h <<_ACEOF
51853 #define HAVE__HYPOTL 1
51854 _ACEOF
51857 done
51866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
51867 $as_echo_n "checking for ldexpl declaration... " >&6; }
51868 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
51869 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
51870 $as_echo_n "(cached) " >&6
51871 else
51874 ac_ext=cpp
51875 ac_cpp='$CXXCPP $CPPFLAGS'
51876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51881 /* end confdefs.h. */
51882 #include <math.h>
51884 main ()
51886 ldexpl(0, 0);
51888 return 0;
51890 _ACEOF
51891 if ac_fn_cxx_try_compile "$LINENO"; then :
51892 glibcxx_cv_func_ldexpl_use=yes
51893 else
51894 glibcxx_cv_func_ldexpl_use=no
51896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51897 ac_ext=c
51898 ac_cpp='$CPP $CPPFLAGS'
51899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
51908 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
51910 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
51911 for ac_func in ldexpl
51912 do :
51913 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
51914 if test "x$ac_cv_func_ldexpl" = x""yes; then :
51915 cat >>confdefs.h <<_ACEOF
51916 #define HAVE_LDEXPL 1
51917 _ACEOF
51920 done
51922 else
51924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
51925 $as_echo_n "checking for _ldexpl declaration... " >&6; }
51926 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
51927 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
51928 $as_echo_n "(cached) " >&6
51929 else
51932 ac_ext=cpp
51933 ac_cpp='$CXXCPP $CPPFLAGS'
51934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51939 /* end confdefs.h. */
51940 #include <math.h>
51942 main ()
51944 _ldexpl(0, 0);
51946 return 0;
51948 _ACEOF
51949 if ac_fn_cxx_try_compile "$LINENO"; then :
51950 glibcxx_cv_func__ldexpl_use=yes
51951 else
51952 glibcxx_cv_func__ldexpl_use=no
51954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51955 ac_ext=c
51956 ac_cpp='$CPP $CPPFLAGS'
51957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
51966 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
51968 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
51969 for ac_func in _ldexpl
51970 do :
51971 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
51972 if test "x$ac_cv_func__ldexpl" = x""yes; then :
51973 cat >>confdefs.h <<_ACEOF
51974 #define HAVE__LDEXPL 1
51975 _ACEOF
51978 done
51987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
51988 $as_echo_n "checking for logl declaration... " >&6; }
51989 if test x${glibcxx_cv_func_logl_use+set} != xset; then
51990 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
51991 $as_echo_n "(cached) " >&6
51992 else
51995 ac_ext=cpp
51996 ac_cpp='$CXXCPP $CPPFLAGS'
51997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52002 /* end confdefs.h. */
52003 #include <math.h>
52004 #ifdef HAVE_IEEEFP_H
52005 #include <ieeefp.h>
52006 #endif
52009 main ()
52011 logl(0);
52013 return 0;
52015 _ACEOF
52016 if ac_fn_cxx_try_compile "$LINENO"; then :
52017 glibcxx_cv_func_logl_use=yes
52018 else
52019 glibcxx_cv_func_logl_use=no
52021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52022 ac_ext=c
52023 ac_cpp='$CPP $CPPFLAGS'
52024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
52033 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
52035 if test x$glibcxx_cv_func_logl_use = x"yes"; then
52036 for ac_func in logl
52037 do :
52038 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
52039 if test "x$ac_cv_func_logl" = x""yes; then :
52040 cat >>confdefs.h <<_ACEOF
52041 #define HAVE_LOGL 1
52042 _ACEOF
52045 done
52047 else
52049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
52050 $as_echo_n "checking for _logl declaration... " >&6; }
52051 if test x${glibcxx_cv_func__logl_use+set} != xset; then
52052 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
52053 $as_echo_n "(cached) " >&6
52054 else
52057 ac_ext=cpp
52058 ac_cpp='$CXXCPP $CPPFLAGS'
52059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52064 /* end confdefs.h. */
52065 #include <math.h>
52066 #ifdef HAVE_IEEEFP_H
52067 #include <ieeefp.h>
52068 #endif
52071 main ()
52073 _logl(0);
52075 return 0;
52077 _ACEOF
52078 if ac_fn_cxx_try_compile "$LINENO"; then :
52079 glibcxx_cv_func__logl_use=yes
52080 else
52081 glibcxx_cv_func__logl_use=no
52083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52084 ac_ext=c
52085 ac_cpp='$CPP $CPPFLAGS'
52086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
52095 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
52097 if test x$glibcxx_cv_func__logl_use = x"yes"; then
52098 for ac_func in _logl
52099 do :
52100 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
52101 if test "x$ac_cv_func__logl" = x""yes; then :
52102 cat >>confdefs.h <<_ACEOF
52103 #define HAVE__LOGL 1
52104 _ACEOF
52107 done
52116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
52117 $as_echo_n "checking for log10l declaration... " >&6; }
52118 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
52119 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
52120 $as_echo_n "(cached) " >&6
52121 else
52124 ac_ext=cpp
52125 ac_cpp='$CXXCPP $CPPFLAGS'
52126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52131 /* end confdefs.h. */
52132 #include <math.h>
52133 #ifdef HAVE_IEEEFP_H
52134 #include <ieeefp.h>
52135 #endif
52138 main ()
52140 log10l(0);
52142 return 0;
52144 _ACEOF
52145 if ac_fn_cxx_try_compile "$LINENO"; then :
52146 glibcxx_cv_func_log10l_use=yes
52147 else
52148 glibcxx_cv_func_log10l_use=no
52150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52151 ac_ext=c
52152 ac_cpp='$CPP $CPPFLAGS'
52153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
52162 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
52164 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
52165 for ac_func in log10l
52166 do :
52167 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
52168 if test "x$ac_cv_func_log10l" = x""yes; then :
52169 cat >>confdefs.h <<_ACEOF
52170 #define HAVE_LOG10L 1
52171 _ACEOF
52174 done
52176 else
52178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
52179 $as_echo_n "checking for _log10l declaration... " >&6; }
52180 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
52181 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
52182 $as_echo_n "(cached) " >&6
52183 else
52186 ac_ext=cpp
52187 ac_cpp='$CXXCPP $CPPFLAGS'
52188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52193 /* end confdefs.h. */
52194 #include <math.h>
52195 #ifdef HAVE_IEEEFP_H
52196 #include <ieeefp.h>
52197 #endif
52200 main ()
52202 _log10l(0);
52204 return 0;
52206 _ACEOF
52207 if ac_fn_cxx_try_compile "$LINENO"; then :
52208 glibcxx_cv_func__log10l_use=yes
52209 else
52210 glibcxx_cv_func__log10l_use=no
52212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52213 ac_ext=c
52214 ac_cpp='$CPP $CPPFLAGS'
52215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
52224 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
52226 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
52227 for ac_func in _log10l
52228 do :
52229 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
52230 if test "x$ac_cv_func__log10l" = x""yes; then :
52231 cat >>confdefs.h <<_ACEOF
52232 #define HAVE__LOG10L 1
52233 _ACEOF
52236 done
52245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
52246 $as_echo_n "checking for modfl declaration... " >&6; }
52247 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
52248 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
52249 $as_echo_n "(cached) " >&6
52250 else
52253 ac_ext=cpp
52254 ac_cpp='$CXXCPP $CPPFLAGS'
52255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52260 /* end confdefs.h. */
52261 #include <math.h>
52263 main ()
52265 modfl(0, 0);
52267 return 0;
52269 _ACEOF
52270 if ac_fn_cxx_try_compile "$LINENO"; then :
52271 glibcxx_cv_func_modfl_use=yes
52272 else
52273 glibcxx_cv_func_modfl_use=no
52275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52276 ac_ext=c
52277 ac_cpp='$CPP $CPPFLAGS'
52278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
52287 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
52289 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
52290 for ac_func in modfl
52291 do :
52292 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
52293 if test "x$ac_cv_func_modfl" = x""yes; then :
52294 cat >>confdefs.h <<_ACEOF
52295 #define HAVE_MODFL 1
52296 _ACEOF
52299 done
52301 else
52303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
52304 $as_echo_n "checking for _modfl declaration... " >&6; }
52305 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
52306 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
52307 $as_echo_n "(cached) " >&6
52308 else
52311 ac_ext=cpp
52312 ac_cpp='$CXXCPP $CPPFLAGS'
52313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52318 /* end confdefs.h. */
52319 #include <math.h>
52321 main ()
52323 _modfl(0, 0);
52325 return 0;
52327 _ACEOF
52328 if ac_fn_cxx_try_compile "$LINENO"; then :
52329 glibcxx_cv_func__modfl_use=yes
52330 else
52331 glibcxx_cv_func__modfl_use=no
52333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52334 ac_ext=c
52335 ac_cpp='$CPP $CPPFLAGS'
52336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
52345 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
52347 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
52348 for ac_func in _modfl
52349 do :
52350 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
52351 if test "x$ac_cv_func__modfl" = x""yes; then :
52352 cat >>confdefs.h <<_ACEOF
52353 #define HAVE__MODFL 1
52354 _ACEOF
52357 done
52366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
52367 $as_echo_n "checking for powl declaration... " >&6; }
52368 if test x${glibcxx_cv_func_powl_use+set} != xset; then
52369 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
52370 $as_echo_n "(cached) " >&6
52371 else
52374 ac_ext=cpp
52375 ac_cpp='$CXXCPP $CPPFLAGS'
52376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52381 /* end confdefs.h. */
52382 #include <math.h>
52384 main ()
52386 powl(0, 0);
52388 return 0;
52390 _ACEOF
52391 if ac_fn_cxx_try_compile "$LINENO"; then :
52392 glibcxx_cv_func_powl_use=yes
52393 else
52394 glibcxx_cv_func_powl_use=no
52396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52397 ac_ext=c
52398 ac_cpp='$CPP $CPPFLAGS'
52399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
52408 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
52410 if test x$glibcxx_cv_func_powl_use = x"yes"; then
52411 for ac_func in powl
52412 do :
52413 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
52414 if test "x$ac_cv_func_powl" = x""yes; then :
52415 cat >>confdefs.h <<_ACEOF
52416 #define HAVE_POWL 1
52417 _ACEOF
52420 done
52422 else
52424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
52425 $as_echo_n "checking for _powl declaration... " >&6; }
52426 if test x${glibcxx_cv_func__powl_use+set} != xset; then
52427 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
52428 $as_echo_n "(cached) " >&6
52429 else
52432 ac_ext=cpp
52433 ac_cpp='$CXXCPP $CPPFLAGS'
52434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52439 /* end confdefs.h. */
52440 #include <math.h>
52442 main ()
52444 _powl(0, 0);
52446 return 0;
52448 _ACEOF
52449 if ac_fn_cxx_try_compile "$LINENO"; then :
52450 glibcxx_cv_func__powl_use=yes
52451 else
52452 glibcxx_cv_func__powl_use=no
52454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52455 ac_ext=c
52456 ac_cpp='$CPP $CPPFLAGS'
52457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
52466 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
52468 if test x$glibcxx_cv_func__powl_use = x"yes"; then
52469 for ac_func in _powl
52470 do :
52471 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
52472 if test "x$ac_cv_func__powl" = x""yes; then :
52473 cat >>confdefs.h <<_ACEOF
52474 #define HAVE__POWL 1
52475 _ACEOF
52478 done
52487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
52488 $as_echo_n "checking for sqrtl declaration... " >&6; }
52489 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
52490 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
52491 $as_echo_n "(cached) " >&6
52492 else
52495 ac_ext=cpp
52496 ac_cpp='$CXXCPP $CPPFLAGS'
52497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52502 /* end confdefs.h. */
52503 #include <math.h>
52504 #ifdef HAVE_IEEEFP_H
52505 #include <ieeefp.h>
52506 #endif
52509 main ()
52511 sqrtl(0);
52513 return 0;
52515 _ACEOF
52516 if ac_fn_cxx_try_compile "$LINENO"; then :
52517 glibcxx_cv_func_sqrtl_use=yes
52518 else
52519 glibcxx_cv_func_sqrtl_use=no
52521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52522 ac_ext=c
52523 ac_cpp='$CPP $CPPFLAGS'
52524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
52533 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
52535 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
52536 for ac_func in sqrtl
52537 do :
52538 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
52539 if test "x$ac_cv_func_sqrtl" = x""yes; then :
52540 cat >>confdefs.h <<_ACEOF
52541 #define HAVE_SQRTL 1
52542 _ACEOF
52545 done
52547 else
52549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
52550 $as_echo_n "checking for _sqrtl declaration... " >&6; }
52551 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
52552 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
52553 $as_echo_n "(cached) " >&6
52554 else
52557 ac_ext=cpp
52558 ac_cpp='$CXXCPP $CPPFLAGS'
52559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52564 /* end confdefs.h. */
52565 #include <math.h>
52566 #ifdef HAVE_IEEEFP_H
52567 #include <ieeefp.h>
52568 #endif
52571 main ()
52573 _sqrtl(0);
52575 return 0;
52577 _ACEOF
52578 if ac_fn_cxx_try_compile "$LINENO"; then :
52579 glibcxx_cv_func__sqrtl_use=yes
52580 else
52581 glibcxx_cv_func__sqrtl_use=no
52583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52584 ac_ext=c
52585 ac_cpp='$CPP $CPPFLAGS'
52586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
52595 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
52597 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
52598 for ac_func in _sqrtl
52599 do :
52600 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
52601 if test "x$ac_cv_func__sqrtl" = x""yes; then :
52602 cat >>confdefs.h <<_ACEOF
52603 #define HAVE__SQRTL 1
52604 _ACEOF
52607 done
52616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
52617 $as_echo_n "checking for sincosl declaration... " >&6; }
52618 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
52619 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
52620 $as_echo_n "(cached) " >&6
52621 else
52624 ac_ext=cpp
52625 ac_cpp='$CXXCPP $CPPFLAGS'
52626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52631 /* end confdefs.h. */
52632 #include <math.h>
52634 main ()
52636 sincosl(0, 0, 0);
52638 return 0;
52640 _ACEOF
52641 if ac_fn_cxx_try_compile "$LINENO"; then :
52642 glibcxx_cv_func_sincosl_use=yes
52643 else
52644 glibcxx_cv_func_sincosl_use=no
52646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52647 ac_ext=c
52648 ac_cpp='$CPP $CPPFLAGS'
52649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
52658 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
52660 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
52661 for ac_func in sincosl
52662 do :
52663 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
52664 if test "x$ac_cv_func_sincosl" = x""yes; then :
52665 cat >>confdefs.h <<_ACEOF
52666 #define HAVE_SINCOSL 1
52667 _ACEOF
52670 done
52672 else
52674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
52675 $as_echo_n "checking for _sincosl declaration... " >&6; }
52676 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
52677 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
52678 $as_echo_n "(cached) " >&6
52679 else
52682 ac_ext=cpp
52683 ac_cpp='$CXXCPP $CPPFLAGS'
52684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52689 /* end confdefs.h. */
52690 #include <math.h>
52692 main ()
52694 _sincosl(0, 0, 0);
52696 return 0;
52698 _ACEOF
52699 if ac_fn_cxx_try_compile "$LINENO"; then :
52700 glibcxx_cv_func__sincosl_use=yes
52701 else
52702 glibcxx_cv_func__sincosl_use=no
52704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52705 ac_ext=c
52706 ac_cpp='$CPP $CPPFLAGS'
52707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
52716 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
52718 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
52719 for ac_func in _sincosl
52720 do :
52721 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
52722 if test "x$ac_cv_func__sincosl" = x""yes; then :
52723 cat >>confdefs.h <<_ACEOF
52724 #define HAVE__SINCOSL 1
52725 _ACEOF
52728 done
52737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
52738 $as_echo_n "checking for finitel declaration... " >&6; }
52739 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
52740 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
52741 $as_echo_n "(cached) " >&6
52742 else
52745 ac_ext=cpp
52746 ac_cpp='$CXXCPP $CPPFLAGS'
52747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52752 /* end confdefs.h. */
52753 #include <math.h>
52754 #ifdef HAVE_IEEEFP_H
52755 #include <ieeefp.h>
52756 #endif
52759 main ()
52761 finitel(0);
52763 return 0;
52765 _ACEOF
52766 if ac_fn_cxx_try_compile "$LINENO"; then :
52767 glibcxx_cv_func_finitel_use=yes
52768 else
52769 glibcxx_cv_func_finitel_use=no
52771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52772 ac_ext=c
52773 ac_cpp='$CPP $CPPFLAGS'
52774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
52783 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
52785 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
52786 for ac_func in finitel
52787 do :
52788 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
52789 if test "x$ac_cv_func_finitel" = x""yes; then :
52790 cat >>confdefs.h <<_ACEOF
52791 #define HAVE_FINITEL 1
52792 _ACEOF
52795 done
52797 else
52799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
52800 $as_echo_n "checking for _finitel declaration... " >&6; }
52801 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
52802 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
52803 $as_echo_n "(cached) " >&6
52804 else
52807 ac_ext=cpp
52808 ac_cpp='$CXXCPP $CPPFLAGS'
52809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52814 /* end confdefs.h. */
52815 #include <math.h>
52816 #ifdef HAVE_IEEEFP_H
52817 #include <ieeefp.h>
52818 #endif
52821 main ()
52823 _finitel(0);
52825 return 0;
52827 _ACEOF
52828 if ac_fn_cxx_try_compile "$LINENO"; then :
52829 glibcxx_cv_func__finitel_use=yes
52830 else
52831 glibcxx_cv_func__finitel_use=no
52833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52834 ac_ext=c
52835 ac_cpp='$CPP $CPPFLAGS'
52836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
52845 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
52847 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
52848 for ac_func in _finitel
52849 do :
52850 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
52851 if test "x$ac_cv_func__finitel" = x""yes; then :
52852 cat >>confdefs.h <<_ACEOF
52853 #define HAVE__FINITEL 1
52854 _ACEOF
52857 done
52865 LIBS="$ac_save_LIBS"
52866 CXXFLAGS="$ac_save_CXXFLAGS"
52869 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52870 ac_save_CXXFLAGS="$CXXFLAGS"
52871 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
52875 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
52876 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
52877 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
52878 $as_echo_n "(cached) " >&6
52879 else
52882 ac_ext=cpp
52883 ac_cpp='$CXXCPP $CPPFLAGS'
52884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52889 /* end confdefs.h. */
52890 #include <stdlib.h>
52892 main ()
52894 at_quick_exit(0);
52896 return 0;
52898 _ACEOF
52899 if ac_fn_cxx_try_compile "$LINENO"; then :
52900 glibcxx_cv_func_at_quick_exit_use=yes
52901 else
52902 glibcxx_cv_func_at_quick_exit_use=no
52904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52905 ac_ext=c
52906 ac_cpp='$CPP $CPPFLAGS'
52907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
52916 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
52917 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
52918 for ac_func in at_quick_exit
52919 do :
52920 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
52921 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
52922 cat >>confdefs.h <<_ACEOF
52923 #define HAVE_AT_QUICK_EXIT 1
52924 _ACEOF
52927 done
52932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
52933 $as_echo_n "checking for quick_exit declaration... " >&6; }
52934 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
52935 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
52936 $as_echo_n "(cached) " >&6
52937 else
52940 ac_ext=cpp
52941 ac_cpp='$CXXCPP $CPPFLAGS'
52942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52947 /* end confdefs.h. */
52948 #include <stdlib.h>
52950 main ()
52952 quick_exit(0);
52954 return 0;
52956 _ACEOF
52957 if ac_fn_cxx_try_compile "$LINENO"; then :
52958 glibcxx_cv_func_quick_exit_use=yes
52959 else
52960 glibcxx_cv_func_quick_exit_use=no
52962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52963 ac_ext=c
52964 ac_cpp='$CPP $CPPFLAGS'
52965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
52974 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
52975 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
52976 for ac_func in quick_exit
52977 do :
52978 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
52979 if test "x$ac_cv_func_quick_exit" = x""yes; then :
52980 cat >>confdefs.h <<_ACEOF
52981 #define HAVE_QUICK_EXIT 1
52982 _ACEOF
52985 done
52990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
52991 $as_echo_n "checking for strtold declaration... " >&6; }
52992 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52993 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
52994 $as_echo_n "(cached) " >&6
52995 else
52998 ac_ext=cpp
52999 ac_cpp='$CXXCPP $CPPFLAGS'
53000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53005 /* end confdefs.h. */
53006 #include <stdlib.h>
53008 main ()
53010 strtold(0, 0);
53012 return 0;
53014 _ACEOF
53015 if ac_fn_cxx_try_compile "$LINENO"; then :
53016 glibcxx_cv_func_strtold_use=yes
53017 else
53018 glibcxx_cv_func_strtold_use=no
53020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53021 ac_ext=c
53022 ac_cpp='$CPP $CPPFLAGS'
53023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
53032 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
53033 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53034 for ac_func in strtold
53035 do :
53036 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
53037 if test "x$ac_cv_func_strtold" = x""yes; then :
53038 cat >>confdefs.h <<_ACEOF
53039 #define HAVE_STRTOLD 1
53040 _ACEOF
53043 done
53050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
53051 $as_echo_n "checking for strtof declaration... " >&6; }
53052 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53053 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
53054 $as_echo_n "(cached) " >&6
53055 else
53058 ac_ext=cpp
53059 ac_cpp='$CXXCPP $CPPFLAGS'
53060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53065 /* end confdefs.h. */
53066 #include <stdlib.h>
53068 main ()
53070 strtof(0, 0);
53072 return 0;
53074 _ACEOF
53075 if ac_fn_cxx_try_compile "$LINENO"; then :
53076 glibcxx_cv_func_strtof_use=yes
53077 else
53078 glibcxx_cv_func_strtof_use=no
53080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53081 ac_ext=c
53082 ac_cpp='$CPP $CPPFLAGS'
53083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
53092 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
53093 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53094 for ac_func in strtof
53095 do :
53096 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
53097 if test "x$ac_cv_func_strtof" = x""yes; then :
53098 cat >>confdefs.h <<_ACEOF
53099 #define HAVE_STRTOF 1
53100 _ACEOF
53103 done
53110 CXXFLAGS="$ac_save_CXXFLAGS"
53114 *djgpp)
53115 # GLIBCXX_CHECK_MATH_SUPPORT
53116 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53118 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53120 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53122 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
53124 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53128 *-freebsd*)
53129 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53132 # If we're not using GNU ld, then there's no point in even trying these
53133 # tests. Check for that first. We should have already tested for gld
53134 # by now (in libtool), but require it now just to be safe...
53135 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53136 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53140 # The name set by libtool depends on the version of libtool. Shame on us
53141 # for depending on an impl detail, but c'est la vie. Older versions used
53142 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53143 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53144 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53145 # set (hence we're using an older libtool), then set it.
53146 if test x${with_gnu_ld+set} != xset; then
53147 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53148 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53149 with_gnu_ld=no
53150 else
53151 with_gnu_ld=$ac_cv_prog_gnu_ld
53155 # Start by getting the version number. I think the libtool test already
53156 # does some of this, but throws away the result.
53157 glibcxx_ld_is_gold=no
53158 if test x"$with_gnu_ld" = x"yes"; then
53159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53160 $as_echo_n "checking for ld version... " >&6; }
53162 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53163 glibcxx_ld_is_gold=yes
53165 ldver=`$LD --version 2>/dev/null |
53166 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
53168 glibcxx_gnu_ld_version=`echo $ldver | \
53169 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53171 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53174 # Set --gc-sections.
53175 glibcxx_have_gc_sections=no
53176 if test "$glibcxx_ld_is_gold" = "yes"; then
53177 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53178 glibcxx_have_gc_sections=yes
53180 else
53181 glibcxx_gcsections_min_ld=21602
53182 if test x"$with_gnu_ld" = x"yes" &&
53183 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53184 glibcxx_have_gc_sections=yes
53187 if test "$glibcxx_have_gc_sections" = "yes"; then
53188 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53189 # NB: This flag only works reliably after 2.16.1. Configure tests
53190 # for this are difficult, so hard wire a value that should work.
53192 ac_test_CFLAGS="${CFLAGS+set}"
53193 ac_save_CFLAGS="$CFLAGS"
53194 CFLAGS='-Wl,--gc-sections'
53196 # Check for -Wl,--gc-sections
53197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53198 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53199 if test x$gcc_no_link = xyes; then
53200 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53203 /* end confdefs.h. */
53204 int one(void) { return 1; }
53205 int two(void) { return 2; }
53208 main ()
53210 two();
53212 return 0;
53214 _ACEOF
53215 if ac_fn_c_try_link "$LINENO"; then :
53216 ac_gcsections=yes
53217 else
53218 ac_gcsections=no
53220 rm -f core conftest.err conftest.$ac_objext \
53221 conftest$ac_exeext conftest.$ac_ext
53222 if test "$ac_gcsections" = "yes"; then
53223 rm -f conftest.c
53224 touch conftest.c
53225 if $CC -c conftest.c; then
53226 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53227 grep "Warning: gc-sections option ignored" > /dev/null; then
53228 ac_gcsections=no
53231 rm -f conftest.c conftest.o conftest
53233 if test "$ac_gcsections" = "yes"; then
53234 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53237 $as_echo "$ac_gcsections" >&6; }
53239 if test "$ac_test_CFLAGS" = set; then
53240 CFLAGS="$ac_save_CFLAGS"
53241 else
53242 # this is the suspicious part
53243 CFLAGS=''
53247 # Set -z,relro.
53248 # Note this is only for shared objects.
53249 ac_ld_relro=no
53250 if test x"$with_gnu_ld" = x"yes"; then
53251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53252 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53253 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53254 if test -n "$cxx_z_relo"; then
53255 OPT_LDFLAGS="-Wl,-z,relro"
53256 ac_ld_relro=yes
53258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53259 $as_echo "$ac_ld_relro" >&6; }
53262 # Set linker optimization flags.
53263 if test x"$with_gnu_ld" = x"yes"; then
53264 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53270 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
53272 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53274 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53276 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53278 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53280 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
53282 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53284 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53286 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53289 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53291 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53293 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53295 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53297 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
53299 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53301 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53303 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53305 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53307 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
53309 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53311 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53313 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
53315 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53317 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53319 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
53321 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53323 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53325 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53327 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53329 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53331 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53333 if test x"long_double_math_on_this_cpu" = x"yes"; then
53334 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
53336 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
53338 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
53341 for ac_func in __cxa_thread_atexit
53342 do :
53343 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
53344 if test "x$ac_cv_func___cxa_thread_atexit" = x""yes; then :
53345 cat >>confdefs.h <<_ACEOF
53346 #define HAVE___CXA_THREAD_ATEXIT 1
53347 _ACEOF
53350 done
53352 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
53353 do :
53354 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53355 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53356 eval as_val=\$$as_ac_var
53357 if test "x$as_val" = x""yes; then :
53358 cat >>confdefs.h <<_ACEOF
53359 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53360 _ACEOF
53363 done
53367 *-fuchsia*)
53368 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53372 *-hpux*)
53373 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53376 # If we're not using GNU ld, then there's no point in even trying these
53377 # tests. Check for that first. We should have already tested for gld
53378 # by now (in libtool), but require it now just to be safe...
53379 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53380 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53384 # The name set by libtool depends on the version of libtool. Shame on us
53385 # for depending on an impl detail, but c'est la vie. Older versions used
53386 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53387 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53388 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53389 # set (hence we're using an older libtool), then set it.
53390 if test x${with_gnu_ld+set} != xset; then
53391 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53392 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53393 with_gnu_ld=no
53394 else
53395 with_gnu_ld=$ac_cv_prog_gnu_ld
53399 # Start by getting the version number. I think the libtool test already
53400 # does some of this, but throws away the result.
53401 glibcxx_ld_is_gold=no
53402 if test x"$with_gnu_ld" = x"yes"; then
53403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53404 $as_echo_n "checking for ld version... " >&6; }
53406 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53407 glibcxx_ld_is_gold=yes
53409 ldver=`$LD --version 2>/dev/null |
53410 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
53412 glibcxx_gnu_ld_version=`echo $ldver | \
53413 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53415 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53418 # Set --gc-sections.
53419 glibcxx_have_gc_sections=no
53420 if test "$glibcxx_ld_is_gold" = "yes"; then
53421 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53422 glibcxx_have_gc_sections=yes
53424 else
53425 glibcxx_gcsections_min_ld=21602
53426 if test x"$with_gnu_ld" = x"yes" &&
53427 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53428 glibcxx_have_gc_sections=yes
53431 if test "$glibcxx_have_gc_sections" = "yes"; then
53432 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53433 # NB: This flag only works reliably after 2.16.1. Configure tests
53434 # for this are difficult, so hard wire a value that should work.
53436 ac_test_CFLAGS="${CFLAGS+set}"
53437 ac_save_CFLAGS="$CFLAGS"
53438 CFLAGS='-Wl,--gc-sections'
53440 # Check for -Wl,--gc-sections
53441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53442 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53443 if test x$gcc_no_link = xyes; then
53444 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53447 /* end confdefs.h. */
53448 int one(void) { return 1; }
53449 int two(void) { return 2; }
53452 main ()
53454 two();
53456 return 0;
53458 _ACEOF
53459 if ac_fn_c_try_link "$LINENO"; then :
53460 ac_gcsections=yes
53461 else
53462 ac_gcsections=no
53464 rm -f core conftest.err conftest.$ac_objext \
53465 conftest$ac_exeext conftest.$ac_ext
53466 if test "$ac_gcsections" = "yes"; then
53467 rm -f conftest.c
53468 touch conftest.c
53469 if $CC -c conftest.c; then
53470 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53471 grep "Warning: gc-sections option ignored" > /dev/null; then
53472 ac_gcsections=no
53475 rm -f conftest.c conftest.o conftest
53477 if test "$ac_gcsections" = "yes"; then
53478 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53481 $as_echo "$ac_gcsections" >&6; }
53483 if test "$ac_test_CFLAGS" = set; then
53484 CFLAGS="$ac_save_CFLAGS"
53485 else
53486 # this is the suspicious part
53487 CFLAGS=''
53491 # Set -z,relro.
53492 # Note this is only for shared objects.
53493 ac_ld_relro=no
53494 if test x"$with_gnu_ld" = x"yes"; then
53495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53496 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53497 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53498 if test -n "$cxx_z_relo"; then
53499 OPT_LDFLAGS="-Wl,-z,relro"
53500 ac_ld_relro=yes
53502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53503 $as_echo "$ac_ld_relro" >&6; }
53506 # Set linker optimization flags.
53507 if test x"$with_gnu_ld" = x"yes"; then
53508 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53515 # GLIBCXX_CHECK_MATH_SUPPORT
53516 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53518 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53520 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53522 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53524 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53526 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53528 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53530 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53532 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53534 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53536 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53538 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53540 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53542 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53544 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53546 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53548 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53550 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53552 $as_echo "#define HAVE_MODF 1" >>confdefs.h
53554 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53556 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53559 # GLIBCXX_CHECK_STDLIB_SUPPORT
53560 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
53565 # Check whether --enable-tls was given.
53566 if test "${enable_tls+set}" = set; then :
53567 enableval=$enable_tls;
53568 case "$enableval" in
53569 yes|no) ;;
53570 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53571 esac
53573 else
53574 enable_tls=yes
53578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53579 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53580 if test "${gcc_cv_have_tls+set}" = set; then :
53581 $as_echo_n "(cached) " >&6
53582 else
53584 if test "$cross_compiling" = yes; then :
53585 if test x$gcc_no_link = xyes; then
53586 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53589 /* end confdefs.h. */
53590 __thread int a; int b; int main() { return a = b; }
53591 _ACEOF
53592 if ac_fn_c_try_link "$LINENO"; then :
53593 chktls_save_LDFLAGS="$LDFLAGS"
53594 case $host in
53595 *-*-linux*)
53596 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53598 esac
53599 chktls_save_CFLAGS="$CFLAGS"
53600 CFLAGS="-fPIC $CFLAGS"
53601 if test x$gcc_no_link = xyes; then
53602 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53605 /* end confdefs.h. */
53606 int f() { return 0; }
53607 _ACEOF
53608 if ac_fn_c_try_link "$LINENO"; then :
53609 if test x$gcc_no_link = xyes; then
53610 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53613 /* end confdefs.h. */
53614 __thread int a; int b; int f() { return a = b; }
53615 _ACEOF
53616 if ac_fn_c_try_link "$LINENO"; then :
53617 gcc_cv_have_tls=yes
53618 else
53619 gcc_cv_have_tls=no
53621 rm -f core conftest.err conftest.$ac_objext \
53622 conftest$ac_exeext conftest.$ac_ext
53623 else
53624 gcc_cv_have_tls=yes
53626 rm -f core conftest.err conftest.$ac_objext \
53627 conftest$ac_exeext conftest.$ac_ext
53628 CFLAGS="$chktls_save_CFLAGS"
53629 LDFLAGS="$chktls_save_LDFLAGS"
53630 else
53631 gcc_cv_have_tls=no
53633 rm -f core conftest.err conftest.$ac_objext \
53634 conftest$ac_exeext conftest.$ac_ext
53637 else
53638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53639 /* end confdefs.h. */
53640 __thread int a; int b; int main() { return a = b; }
53641 _ACEOF
53642 if ac_fn_c_try_run "$LINENO"; then :
53643 chktls_save_LDFLAGS="$LDFLAGS"
53644 LDFLAGS="-static $LDFLAGS"
53645 if test x$gcc_no_link = xyes; then
53646 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53649 /* end confdefs.h. */
53650 int main() { return 0; }
53651 _ACEOF
53652 if ac_fn_c_try_link "$LINENO"; then :
53653 if test "$cross_compiling" = yes; then :
53654 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53655 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53656 as_fn_error "cannot run test program while cross compiling
53657 See \`config.log' for more details." "$LINENO" 5; }
53658 else
53659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53660 /* end confdefs.h. */
53661 __thread int a; int b; int main() { return a = b; }
53662 _ACEOF
53663 if ac_fn_c_try_run "$LINENO"; then :
53664 gcc_cv_have_tls=yes
53665 else
53666 gcc_cv_have_tls=no
53668 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53669 conftest.$ac_objext conftest.beam conftest.$ac_ext
53672 else
53673 gcc_cv_have_tls=yes
53675 rm -f core conftest.err conftest.$ac_objext \
53676 conftest$ac_exeext conftest.$ac_ext
53677 LDFLAGS="$chktls_save_LDFLAGS"
53678 if test $gcc_cv_have_tls = yes; then
53679 chktls_save_CFLAGS="$CFLAGS"
53680 thread_CFLAGS=failed
53681 for flag in '' '-pthread' '-lpthread'; do
53682 CFLAGS="$flag $chktls_save_CFLAGS"
53683 if test x$gcc_no_link = xyes; then
53684 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53687 /* end confdefs.h. */
53688 #include <pthread.h>
53689 void *g(void *d) { return NULL; }
53691 main ()
53693 pthread_t t; pthread_create(&t,NULL,g,NULL);
53695 return 0;
53697 _ACEOF
53698 if ac_fn_c_try_link "$LINENO"; then :
53699 thread_CFLAGS="$flag"
53701 rm -f core conftest.err conftest.$ac_objext \
53702 conftest$ac_exeext conftest.$ac_ext
53703 if test "X$thread_CFLAGS" != Xfailed; then
53704 break
53706 done
53707 CFLAGS="$chktls_save_CFLAGS"
53708 if test "X$thread_CFLAGS" != Xfailed; then
53709 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
53710 if test "$cross_compiling" = yes; then :
53711 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53712 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53713 as_fn_error "cannot run test program while cross compiling
53714 See \`config.log' for more details." "$LINENO" 5; }
53715 else
53716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53717 /* end confdefs.h. */
53718 #include <pthread.h>
53719 __thread int a;
53720 static int *volatile a_in_other_thread;
53721 static void *
53722 thread_func (void *arg)
53724 a_in_other_thread = &a;
53725 return (void *)0;
53728 main ()
53730 pthread_t thread;
53731 void *thread_retval;
53732 int *volatile a_in_main_thread;
53733 a_in_main_thread = &a;
53734 if (pthread_create (&thread, (pthread_attr_t *)0,
53735 thread_func, (void *)0))
53736 return 0;
53737 if (pthread_join (thread, &thread_retval))
53738 return 0;
53739 return (a_in_other_thread == a_in_main_thread);
53741 return 0;
53743 _ACEOF
53744 if ac_fn_c_try_run "$LINENO"; then :
53745 gcc_cv_have_tls=yes
53746 else
53747 gcc_cv_have_tls=no
53749 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53750 conftest.$ac_objext conftest.beam conftest.$ac_ext
53753 CFLAGS="$chktls_save_CFLAGS"
53756 else
53757 gcc_cv_have_tls=no
53759 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53760 conftest.$ac_objext conftest.beam conftest.$ac_ext
53764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
53765 $as_echo "$gcc_cv_have_tls" >&6; }
53766 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
53768 $as_echo "#define HAVE_TLS 1" >>confdefs.h
53771 case "$target" in
53772 *-hpux10*)
53773 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53775 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
53777 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53779 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53781 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53784 esac
53786 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
53788 # All these tests are for C++; save the language and the compiler flags.
53789 # The CXXFLAGS thing is suspicious, but based on similar bits previously
53790 # found in GLIBCXX_CONFIGURE.
53792 ac_ext=cpp
53793 ac_cpp='$CXXCPP $CPPFLAGS'
53794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53798 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53799 ac_save_CXXFLAGS="$CXXFLAGS"
53801 # Check for maintainer-mode bits.
53802 if test x"$USE_MAINTAINER_MODE" = xno; then
53803 WERROR=''
53804 else
53805 WERROR='-Werror'
53808 # Check for -ffunction-sections -fdata-sections
53809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53810 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
53811 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
53812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53813 /* end confdefs.h. */
53814 int foo; void bar() { };
53816 main ()
53820 return 0;
53822 _ACEOF
53823 if ac_fn_cxx_try_compile "$LINENO"; then :
53824 ac_fdsections=yes
53825 else
53826 ac_fdsections=no
53828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53829 if test "$ac_test_CXXFLAGS" = set; then
53830 CXXFLAGS="$ac_save_CXXFLAGS"
53831 else
53832 # this is the suspicious part
53833 CXXFLAGS=''
53835 if test x"$ac_fdsections" = x"yes"; then
53836 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
53839 $as_echo "$ac_fdsections" >&6; }
53841 ac_ext=c
53842 ac_cpp='$CPP $CPPFLAGS'
53843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53851 # If we're not using GNU ld, then there's no point in even trying these
53852 # tests. Check for that first. We should have already tested for gld
53853 # by now (in libtool), but require it now just to be safe...
53854 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53855 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53859 # The name set by libtool depends on the version of libtool. Shame on us
53860 # for depending on an impl detail, but c'est la vie. Older versions used
53861 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53862 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53863 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53864 # set (hence we're using an older libtool), then set it.
53865 if test x${with_gnu_ld+set} != xset; then
53866 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53867 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53868 with_gnu_ld=no
53869 else
53870 with_gnu_ld=$ac_cv_prog_gnu_ld
53874 # Start by getting the version number. I think the libtool test already
53875 # does some of this, but throws away the result.
53876 glibcxx_ld_is_gold=no
53877 if test x"$with_gnu_ld" = x"yes"; then
53878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53879 $as_echo_n "checking for ld version... " >&6; }
53881 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53882 glibcxx_ld_is_gold=yes
53884 ldver=`$LD --version 2>/dev/null |
53885 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
53887 glibcxx_gnu_ld_version=`echo $ldver | \
53888 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53890 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53893 # Set --gc-sections.
53894 glibcxx_have_gc_sections=no
53895 if test "$glibcxx_ld_is_gold" = "yes"; then
53896 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53897 glibcxx_have_gc_sections=yes
53899 else
53900 glibcxx_gcsections_min_ld=21602
53901 if test x"$with_gnu_ld" = x"yes" &&
53902 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53903 glibcxx_have_gc_sections=yes
53906 if test "$glibcxx_have_gc_sections" = "yes"; then
53907 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53908 # NB: This flag only works reliably after 2.16.1. Configure tests
53909 # for this are difficult, so hard wire a value that should work.
53911 ac_test_CFLAGS="${CFLAGS+set}"
53912 ac_save_CFLAGS="$CFLAGS"
53913 CFLAGS='-Wl,--gc-sections'
53915 # Check for -Wl,--gc-sections
53916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53917 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53918 if test x$gcc_no_link = xyes; then
53919 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53922 /* end confdefs.h. */
53923 int one(void) { return 1; }
53924 int two(void) { return 2; }
53927 main ()
53929 two();
53931 return 0;
53933 _ACEOF
53934 if ac_fn_c_try_link "$LINENO"; then :
53935 ac_gcsections=yes
53936 else
53937 ac_gcsections=no
53939 rm -f core conftest.err conftest.$ac_objext \
53940 conftest$ac_exeext conftest.$ac_ext
53941 if test "$ac_gcsections" = "yes"; then
53942 rm -f conftest.c
53943 touch conftest.c
53944 if $CC -c conftest.c; then
53945 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53946 grep "Warning: gc-sections option ignored" > /dev/null; then
53947 ac_gcsections=no
53950 rm -f conftest.c conftest.o conftest
53952 if test "$ac_gcsections" = "yes"; then
53953 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53956 $as_echo "$ac_gcsections" >&6; }
53958 if test "$ac_test_CFLAGS" = set; then
53959 CFLAGS="$ac_save_CFLAGS"
53960 else
53961 # this is the suspicious part
53962 CFLAGS=''
53966 # Set -z,relro.
53967 # Note this is only for shared objects.
53968 ac_ld_relro=no
53969 if test x"$with_gnu_ld" = x"yes"; then
53970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53971 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53972 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53973 if test -n "$cxx_z_relo"; then
53974 OPT_LDFLAGS="-Wl,-z,relro"
53975 ac_ld_relro=yes
53977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53978 $as_echo "$ac_ld_relro" >&6; }
53981 # Set linker optimization flags.
53982 if test x"$with_gnu_ld" = x"yes"; then
53983 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53990 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53991 ac_save_CXXFLAGS="$CXXFLAGS"
53992 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
53995 $as_echo_n "checking for sin in -lm... " >&6; }
53996 if test "${ac_cv_lib_m_sin+set}" = set; then :
53997 $as_echo_n "(cached) " >&6
53998 else
53999 ac_check_lib_save_LIBS=$LIBS
54000 LIBS="-lm $LIBS"
54001 if test x$gcc_no_link = xyes; then
54002 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54005 /* end confdefs.h. */
54007 /* Override any GCC internal prototype to avoid an error.
54008 Use char because int might match the return type of a GCC
54009 builtin and then its argument prototype would still apply. */
54010 #ifdef __cplusplus
54011 extern "C"
54012 #endif
54013 char sin ();
54015 main ()
54017 return sin ();
54019 return 0;
54021 _ACEOF
54022 if ac_fn_c_try_link "$LINENO"; then :
54023 ac_cv_lib_m_sin=yes
54024 else
54025 ac_cv_lib_m_sin=no
54027 rm -f core conftest.err conftest.$ac_objext \
54028 conftest$ac_exeext conftest.$ac_ext
54029 LIBS=$ac_check_lib_save_LIBS
54031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
54032 $as_echo "$ac_cv_lib_m_sin" >&6; }
54033 if test "x$ac_cv_lib_m_sin" = x""yes; then :
54034 libm="-lm"
54037 ac_save_LIBS="$LIBS"
54038 LIBS="$LIBS $libm"
54042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
54043 $as_echo_n "checking for isinf declaration... " >&6; }
54044 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54045 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
54046 $as_echo_n "(cached) " >&6
54047 else
54050 ac_ext=cpp
54051 ac_cpp='$CXXCPP $CPPFLAGS'
54052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54057 /* end confdefs.h. */
54058 #include <math.h>
54059 #ifdef HAVE_IEEEFP_H
54060 #include <ieeefp.h>
54061 #endif
54064 main ()
54066 isinf(0);
54068 return 0;
54070 _ACEOF
54071 if ac_fn_cxx_try_compile "$LINENO"; then :
54072 glibcxx_cv_func_isinf_use=yes
54073 else
54074 glibcxx_cv_func_isinf_use=no
54076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54077 ac_ext=c
54078 ac_cpp='$CPP $CPPFLAGS'
54079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
54088 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
54090 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54091 for ac_func in isinf
54092 do :
54093 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
54094 if test "x$ac_cv_func_isinf" = x""yes; then :
54095 cat >>confdefs.h <<_ACEOF
54096 #define HAVE_ISINF 1
54097 _ACEOF
54100 done
54102 else
54104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
54105 $as_echo_n "checking for _isinf declaration... " >&6; }
54106 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54107 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
54108 $as_echo_n "(cached) " >&6
54109 else
54112 ac_ext=cpp
54113 ac_cpp='$CXXCPP $CPPFLAGS'
54114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54119 /* end confdefs.h. */
54120 #include <math.h>
54121 #ifdef HAVE_IEEEFP_H
54122 #include <ieeefp.h>
54123 #endif
54126 main ()
54128 _isinf(0);
54130 return 0;
54132 _ACEOF
54133 if ac_fn_cxx_try_compile "$LINENO"; then :
54134 glibcxx_cv_func__isinf_use=yes
54135 else
54136 glibcxx_cv_func__isinf_use=no
54138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54139 ac_ext=c
54140 ac_cpp='$CPP $CPPFLAGS'
54141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
54150 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
54152 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54153 for ac_func in _isinf
54154 do :
54155 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
54156 if test "x$ac_cv_func__isinf" = x""yes; then :
54157 cat >>confdefs.h <<_ACEOF
54158 #define HAVE__ISINF 1
54159 _ACEOF
54162 done
54171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
54172 $as_echo_n "checking for isnan declaration... " >&6; }
54173 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54174 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
54175 $as_echo_n "(cached) " >&6
54176 else
54179 ac_ext=cpp
54180 ac_cpp='$CXXCPP $CPPFLAGS'
54181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54186 /* end confdefs.h. */
54187 #include <math.h>
54188 #ifdef HAVE_IEEEFP_H
54189 #include <ieeefp.h>
54190 #endif
54193 main ()
54195 isnan(0);
54197 return 0;
54199 _ACEOF
54200 if ac_fn_cxx_try_compile "$LINENO"; then :
54201 glibcxx_cv_func_isnan_use=yes
54202 else
54203 glibcxx_cv_func_isnan_use=no
54205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54206 ac_ext=c
54207 ac_cpp='$CPP $CPPFLAGS'
54208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
54217 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54219 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54220 for ac_func in isnan
54221 do :
54222 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54223 if test "x$ac_cv_func_isnan" = x""yes; then :
54224 cat >>confdefs.h <<_ACEOF
54225 #define HAVE_ISNAN 1
54226 _ACEOF
54229 done
54231 else
54233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54234 $as_echo_n "checking for _isnan declaration... " >&6; }
54235 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54236 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
54237 $as_echo_n "(cached) " >&6
54238 else
54241 ac_ext=cpp
54242 ac_cpp='$CXXCPP $CPPFLAGS'
54243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54248 /* end confdefs.h. */
54249 #include <math.h>
54250 #ifdef HAVE_IEEEFP_H
54251 #include <ieeefp.h>
54252 #endif
54255 main ()
54257 _isnan(0);
54259 return 0;
54261 _ACEOF
54262 if ac_fn_cxx_try_compile "$LINENO"; then :
54263 glibcxx_cv_func__isnan_use=yes
54264 else
54265 glibcxx_cv_func__isnan_use=no
54267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54268 ac_ext=c
54269 ac_cpp='$CPP $CPPFLAGS'
54270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54279 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54281 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54282 for ac_func in _isnan
54283 do :
54284 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54285 if test "x$ac_cv_func__isnan" = x""yes; then :
54286 cat >>confdefs.h <<_ACEOF
54287 #define HAVE__ISNAN 1
54288 _ACEOF
54291 done
54300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54301 $as_echo_n "checking for finite declaration... " >&6; }
54302 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54303 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
54304 $as_echo_n "(cached) " >&6
54305 else
54308 ac_ext=cpp
54309 ac_cpp='$CXXCPP $CPPFLAGS'
54310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54315 /* end confdefs.h. */
54316 #include <math.h>
54317 #ifdef HAVE_IEEEFP_H
54318 #include <ieeefp.h>
54319 #endif
54322 main ()
54324 finite(0);
54326 return 0;
54328 _ACEOF
54329 if ac_fn_cxx_try_compile "$LINENO"; then :
54330 glibcxx_cv_func_finite_use=yes
54331 else
54332 glibcxx_cv_func_finite_use=no
54334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54335 ac_ext=c
54336 ac_cpp='$CPP $CPPFLAGS'
54337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54346 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54348 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54349 for ac_func in finite
54350 do :
54351 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54352 if test "x$ac_cv_func_finite" = x""yes; then :
54353 cat >>confdefs.h <<_ACEOF
54354 #define HAVE_FINITE 1
54355 _ACEOF
54358 done
54360 else
54362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54363 $as_echo_n "checking for _finite declaration... " >&6; }
54364 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54365 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
54366 $as_echo_n "(cached) " >&6
54367 else
54370 ac_ext=cpp
54371 ac_cpp='$CXXCPP $CPPFLAGS'
54372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54377 /* end confdefs.h. */
54378 #include <math.h>
54379 #ifdef HAVE_IEEEFP_H
54380 #include <ieeefp.h>
54381 #endif
54384 main ()
54386 _finite(0);
54388 return 0;
54390 _ACEOF
54391 if ac_fn_cxx_try_compile "$LINENO"; then :
54392 glibcxx_cv_func__finite_use=yes
54393 else
54394 glibcxx_cv_func__finite_use=no
54396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54397 ac_ext=c
54398 ac_cpp='$CPP $CPPFLAGS'
54399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54408 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54410 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54411 for ac_func in _finite
54412 do :
54413 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54414 if test "x$ac_cv_func__finite" = x""yes; then :
54415 cat >>confdefs.h <<_ACEOF
54416 #define HAVE__FINITE 1
54417 _ACEOF
54420 done
54429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54430 $as_echo_n "checking for sincos declaration... " >&6; }
54431 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54432 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
54433 $as_echo_n "(cached) " >&6
54434 else
54437 ac_ext=cpp
54438 ac_cpp='$CXXCPP $CPPFLAGS'
54439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54444 /* end confdefs.h. */
54445 #include <math.h>
54447 main ()
54449 sincos(0, 0, 0);
54451 return 0;
54453 _ACEOF
54454 if ac_fn_cxx_try_compile "$LINENO"; then :
54455 glibcxx_cv_func_sincos_use=yes
54456 else
54457 glibcxx_cv_func_sincos_use=no
54459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54460 ac_ext=c
54461 ac_cpp='$CPP $CPPFLAGS'
54462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
54471 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
54473 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54474 for ac_func in sincos
54475 do :
54476 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
54477 if test "x$ac_cv_func_sincos" = x""yes; then :
54478 cat >>confdefs.h <<_ACEOF
54479 #define HAVE_SINCOS 1
54480 _ACEOF
54483 done
54485 else
54487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
54488 $as_echo_n "checking for _sincos declaration... " >&6; }
54489 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54490 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
54491 $as_echo_n "(cached) " >&6
54492 else
54495 ac_ext=cpp
54496 ac_cpp='$CXXCPP $CPPFLAGS'
54497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54502 /* end confdefs.h. */
54503 #include <math.h>
54505 main ()
54507 _sincos(0, 0, 0);
54509 return 0;
54511 _ACEOF
54512 if ac_fn_cxx_try_compile "$LINENO"; then :
54513 glibcxx_cv_func__sincos_use=yes
54514 else
54515 glibcxx_cv_func__sincos_use=no
54517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54518 ac_ext=c
54519 ac_cpp='$CPP $CPPFLAGS'
54520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
54529 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
54531 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54532 for ac_func in _sincos
54533 do :
54534 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
54535 if test "x$ac_cv_func__sincos" = x""yes; then :
54536 cat >>confdefs.h <<_ACEOF
54537 #define HAVE__SINCOS 1
54538 _ACEOF
54541 done
54550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
54551 $as_echo_n "checking for fpclass declaration... " >&6; }
54552 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54553 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
54554 $as_echo_n "(cached) " >&6
54555 else
54558 ac_ext=cpp
54559 ac_cpp='$CXXCPP $CPPFLAGS'
54560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54565 /* end confdefs.h. */
54566 #include <math.h>
54567 #ifdef HAVE_IEEEFP_H
54568 #include <ieeefp.h>
54569 #endif
54572 main ()
54574 fpclass(0);
54576 return 0;
54578 _ACEOF
54579 if ac_fn_cxx_try_compile "$LINENO"; then :
54580 glibcxx_cv_func_fpclass_use=yes
54581 else
54582 glibcxx_cv_func_fpclass_use=no
54584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54585 ac_ext=c
54586 ac_cpp='$CPP $CPPFLAGS'
54587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
54596 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
54598 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
54599 for ac_func in fpclass
54600 do :
54601 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
54602 if test "x$ac_cv_func_fpclass" = x""yes; then :
54603 cat >>confdefs.h <<_ACEOF
54604 #define HAVE_FPCLASS 1
54605 _ACEOF
54608 done
54610 else
54612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
54613 $as_echo_n "checking for _fpclass declaration... " >&6; }
54614 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
54615 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
54616 $as_echo_n "(cached) " >&6
54617 else
54620 ac_ext=cpp
54621 ac_cpp='$CXXCPP $CPPFLAGS'
54622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54627 /* end confdefs.h. */
54628 #include <math.h>
54629 #ifdef HAVE_IEEEFP_H
54630 #include <ieeefp.h>
54631 #endif
54634 main ()
54636 _fpclass(0);
54638 return 0;
54640 _ACEOF
54641 if ac_fn_cxx_try_compile "$LINENO"; then :
54642 glibcxx_cv_func__fpclass_use=yes
54643 else
54644 glibcxx_cv_func__fpclass_use=no
54646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54647 ac_ext=c
54648 ac_cpp='$CPP $CPPFLAGS'
54649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
54658 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
54660 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
54661 for ac_func in _fpclass
54662 do :
54663 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
54664 if test "x$ac_cv_func__fpclass" = x""yes; then :
54665 cat >>confdefs.h <<_ACEOF
54666 #define HAVE__FPCLASS 1
54667 _ACEOF
54670 done
54679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
54680 $as_echo_n "checking for qfpclass declaration... " >&6; }
54681 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
54682 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
54683 $as_echo_n "(cached) " >&6
54684 else
54687 ac_ext=cpp
54688 ac_cpp='$CXXCPP $CPPFLAGS'
54689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54694 /* end confdefs.h. */
54695 #include <math.h>
54696 #ifdef HAVE_IEEEFP_H
54697 #include <ieeefp.h>
54698 #endif
54701 main ()
54703 qfpclass(0);
54705 return 0;
54707 _ACEOF
54708 if ac_fn_cxx_try_compile "$LINENO"; then :
54709 glibcxx_cv_func_qfpclass_use=yes
54710 else
54711 glibcxx_cv_func_qfpclass_use=no
54713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54714 ac_ext=c
54715 ac_cpp='$CPP $CPPFLAGS'
54716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
54725 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
54727 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
54728 for ac_func in qfpclass
54729 do :
54730 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
54731 if test "x$ac_cv_func_qfpclass" = x""yes; then :
54732 cat >>confdefs.h <<_ACEOF
54733 #define HAVE_QFPCLASS 1
54734 _ACEOF
54737 done
54739 else
54741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
54742 $as_echo_n "checking for _qfpclass declaration... " >&6; }
54743 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
54744 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
54745 $as_echo_n "(cached) " >&6
54746 else
54749 ac_ext=cpp
54750 ac_cpp='$CXXCPP $CPPFLAGS'
54751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54756 /* end confdefs.h. */
54757 #include <math.h>
54758 #ifdef HAVE_IEEEFP_H
54759 #include <ieeefp.h>
54760 #endif
54763 main ()
54765 _qfpclass(0);
54767 return 0;
54769 _ACEOF
54770 if ac_fn_cxx_try_compile "$LINENO"; then :
54771 glibcxx_cv_func__qfpclass_use=yes
54772 else
54773 glibcxx_cv_func__qfpclass_use=no
54775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54776 ac_ext=c
54777 ac_cpp='$CPP $CPPFLAGS'
54778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
54787 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
54789 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
54790 for ac_func in _qfpclass
54791 do :
54792 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
54793 if test "x$ac_cv_func__qfpclass" = x""yes; then :
54794 cat >>confdefs.h <<_ACEOF
54795 #define HAVE__QFPCLASS 1
54796 _ACEOF
54799 done
54808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
54809 $as_echo_n "checking for hypot declaration... " >&6; }
54810 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
54811 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
54812 $as_echo_n "(cached) " >&6
54813 else
54816 ac_ext=cpp
54817 ac_cpp='$CXXCPP $CPPFLAGS'
54818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54823 /* end confdefs.h. */
54824 #include <math.h>
54826 main ()
54828 hypot(0, 0);
54830 return 0;
54832 _ACEOF
54833 if ac_fn_cxx_try_compile "$LINENO"; then :
54834 glibcxx_cv_func_hypot_use=yes
54835 else
54836 glibcxx_cv_func_hypot_use=no
54838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54839 ac_ext=c
54840 ac_cpp='$CPP $CPPFLAGS'
54841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
54850 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
54852 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
54853 for ac_func in hypot
54854 do :
54855 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
54856 if test "x$ac_cv_func_hypot" = x""yes; then :
54857 cat >>confdefs.h <<_ACEOF
54858 #define HAVE_HYPOT 1
54859 _ACEOF
54862 done
54864 else
54866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
54867 $as_echo_n "checking for _hypot declaration... " >&6; }
54868 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
54869 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
54870 $as_echo_n "(cached) " >&6
54871 else
54874 ac_ext=cpp
54875 ac_cpp='$CXXCPP $CPPFLAGS'
54876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54881 /* end confdefs.h. */
54882 #include <math.h>
54884 main ()
54886 _hypot(0, 0);
54888 return 0;
54890 _ACEOF
54891 if ac_fn_cxx_try_compile "$LINENO"; then :
54892 glibcxx_cv_func__hypot_use=yes
54893 else
54894 glibcxx_cv_func__hypot_use=no
54896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54897 ac_ext=c
54898 ac_cpp='$CPP $CPPFLAGS'
54899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
54908 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
54910 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
54911 for ac_func in _hypot
54912 do :
54913 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
54914 if test "x$ac_cv_func__hypot" = x""yes; then :
54915 cat >>confdefs.h <<_ACEOF
54916 #define HAVE__HYPOT 1
54917 _ACEOF
54920 done
54929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
54930 $as_echo_n "checking for float trig functions... " >&6; }
54931 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
54932 $as_echo_n "(cached) " >&6
54933 else
54936 ac_ext=cpp
54937 ac_cpp='$CXXCPP $CPPFLAGS'
54938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54943 /* end confdefs.h. */
54944 #include <math.h>
54946 main ()
54948 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
54950 return 0;
54952 _ACEOF
54953 if ac_fn_cxx_try_compile "$LINENO"; then :
54954 glibcxx_cv_func_float_trig_use=yes
54955 else
54956 glibcxx_cv_func_float_trig_use=no
54958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54959 ac_ext=c
54960 ac_cpp='$CPP $CPPFLAGS'
54961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
54968 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
54969 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
54970 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
54971 do :
54972 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54973 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54974 eval as_val=\$$as_ac_var
54975 if test "x$as_val" = x""yes; then :
54976 cat >>confdefs.h <<_ACEOF
54977 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54978 _ACEOF
54981 done
54983 else
54984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
54985 $as_echo_n "checking for _float trig functions... " >&6; }
54986 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
54987 $as_echo_n "(cached) " >&6
54988 else
54991 ac_ext=cpp
54992 ac_cpp='$CXXCPP $CPPFLAGS'
54993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54998 /* end confdefs.h. */
54999 #include <math.h>
55001 main ()
55003 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
55005 return 0;
55007 _ACEOF
55008 if ac_fn_cxx_try_compile "$LINENO"; then :
55009 glibcxx_cv_func__float_trig_use=yes
55010 else
55011 glibcxx_cv_func__float_trig_use=no
55013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55014 ac_ext=c
55015 ac_cpp='$CPP $CPPFLAGS'
55016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
55023 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
55024 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
55025 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
55026 do :
55027 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55028 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55029 eval as_val=\$$as_ac_var
55030 if test "x$as_val" = x""yes; then :
55031 cat >>confdefs.h <<_ACEOF
55032 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55033 _ACEOF
55036 done
55045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
55046 $as_echo_n "checking for float round functions... " >&6; }
55047 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
55048 $as_echo_n "(cached) " >&6
55049 else
55052 ac_ext=cpp
55053 ac_cpp='$CXXCPP $CPPFLAGS'
55054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55059 /* end confdefs.h. */
55060 #include <math.h>
55062 main ()
55064 ceilf (0); floorf (0);
55066 return 0;
55068 _ACEOF
55069 if ac_fn_cxx_try_compile "$LINENO"; then :
55070 glibcxx_cv_func_float_round_use=yes
55071 else
55072 glibcxx_cv_func_float_round_use=no
55074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55075 ac_ext=c
55076 ac_cpp='$CPP $CPPFLAGS'
55077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
55084 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
55085 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55086 for ac_func in ceilf floorf
55087 do :
55088 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55089 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55090 eval as_val=\$$as_ac_var
55091 if test "x$as_val" = x""yes; then :
55092 cat >>confdefs.h <<_ACEOF
55093 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55094 _ACEOF
55097 done
55099 else
55100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
55101 $as_echo_n "checking for _float round functions... " >&6; }
55102 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
55103 $as_echo_n "(cached) " >&6
55104 else
55107 ac_ext=cpp
55108 ac_cpp='$CXXCPP $CPPFLAGS'
55109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55114 /* end confdefs.h. */
55115 #include <math.h>
55117 main ()
55119 _ceilf (0); _floorf (0);
55121 return 0;
55123 _ACEOF
55124 if ac_fn_cxx_try_compile "$LINENO"; then :
55125 glibcxx_cv_func__float_round_use=yes
55126 else
55127 glibcxx_cv_func__float_round_use=no
55129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55130 ac_ext=c
55131 ac_cpp='$CPP $CPPFLAGS'
55132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
55139 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
55140 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
55141 for ac_func in _ceilf _floorf
55142 do :
55143 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55144 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55145 eval as_val=\$$as_ac_var
55146 if test "x$as_val" = x""yes; then :
55147 cat >>confdefs.h <<_ACEOF
55148 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55149 _ACEOF
55152 done
55162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
55163 $as_echo_n "checking for expf declaration... " >&6; }
55164 if test x${glibcxx_cv_func_expf_use+set} != xset; then
55165 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
55166 $as_echo_n "(cached) " >&6
55167 else
55170 ac_ext=cpp
55171 ac_cpp='$CXXCPP $CPPFLAGS'
55172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55177 /* end confdefs.h. */
55178 #include <math.h>
55179 #ifdef HAVE_IEEEFP_H
55180 #include <ieeefp.h>
55181 #endif
55184 main ()
55186 expf(0);
55188 return 0;
55190 _ACEOF
55191 if ac_fn_cxx_try_compile "$LINENO"; then :
55192 glibcxx_cv_func_expf_use=yes
55193 else
55194 glibcxx_cv_func_expf_use=no
55196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55197 ac_ext=c
55198 ac_cpp='$CPP $CPPFLAGS'
55199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
55208 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
55210 if test x$glibcxx_cv_func_expf_use = x"yes"; then
55211 for ac_func in expf
55212 do :
55213 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
55214 if test "x$ac_cv_func_expf" = x""yes; then :
55215 cat >>confdefs.h <<_ACEOF
55216 #define HAVE_EXPF 1
55217 _ACEOF
55220 done
55222 else
55224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55225 $as_echo_n "checking for _expf declaration... " >&6; }
55226 if test x${glibcxx_cv_func__expf_use+set} != xset; then
55227 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
55228 $as_echo_n "(cached) " >&6
55229 else
55232 ac_ext=cpp
55233 ac_cpp='$CXXCPP $CPPFLAGS'
55234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55239 /* end confdefs.h. */
55240 #include <math.h>
55241 #ifdef HAVE_IEEEFP_H
55242 #include <ieeefp.h>
55243 #endif
55246 main ()
55248 _expf(0);
55250 return 0;
55252 _ACEOF
55253 if ac_fn_cxx_try_compile "$LINENO"; then :
55254 glibcxx_cv_func__expf_use=yes
55255 else
55256 glibcxx_cv_func__expf_use=no
55258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55259 ac_ext=c
55260 ac_cpp='$CPP $CPPFLAGS'
55261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55270 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55272 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55273 for ac_func in _expf
55274 do :
55275 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55276 if test "x$ac_cv_func__expf" = x""yes; then :
55277 cat >>confdefs.h <<_ACEOF
55278 #define HAVE__EXPF 1
55279 _ACEOF
55282 done
55291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55292 $as_echo_n "checking for isnanf declaration... " >&6; }
55293 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55294 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
55295 $as_echo_n "(cached) " >&6
55296 else
55299 ac_ext=cpp
55300 ac_cpp='$CXXCPP $CPPFLAGS'
55301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55306 /* end confdefs.h. */
55307 #include <math.h>
55308 #ifdef HAVE_IEEEFP_H
55309 #include <ieeefp.h>
55310 #endif
55313 main ()
55315 isnanf(0);
55317 return 0;
55319 _ACEOF
55320 if ac_fn_cxx_try_compile "$LINENO"; then :
55321 glibcxx_cv_func_isnanf_use=yes
55322 else
55323 glibcxx_cv_func_isnanf_use=no
55325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55326 ac_ext=c
55327 ac_cpp='$CPP $CPPFLAGS'
55328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55337 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55339 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55340 for ac_func in isnanf
55341 do :
55342 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55343 if test "x$ac_cv_func_isnanf" = x""yes; then :
55344 cat >>confdefs.h <<_ACEOF
55345 #define HAVE_ISNANF 1
55346 _ACEOF
55349 done
55351 else
55353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55354 $as_echo_n "checking for _isnanf declaration... " >&6; }
55355 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55356 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
55357 $as_echo_n "(cached) " >&6
55358 else
55361 ac_ext=cpp
55362 ac_cpp='$CXXCPP $CPPFLAGS'
55363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55368 /* end confdefs.h. */
55369 #include <math.h>
55370 #ifdef HAVE_IEEEFP_H
55371 #include <ieeefp.h>
55372 #endif
55375 main ()
55377 _isnanf(0);
55379 return 0;
55381 _ACEOF
55382 if ac_fn_cxx_try_compile "$LINENO"; then :
55383 glibcxx_cv_func__isnanf_use=yes
55384 else
55385 glibcxx_cv_func__isnanf_use=no
55387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55388 ac_ext=c
55389 ac_cpp='$CPP $CPPFLAGS'
55390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55399 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55401 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55402 for ac_func in _isnanf
55403 do :
55404 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55405 if test "x$ac_cv_func__isnanf" = x""yes; then :
55406 cat >>confdefs.h <<_ACEOF
55407 #define HAVE__ISNANF 1
55408 _ACEOF
55411 done
55420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55421 $as_echo_n "checking for isinff declaration... " >&6; }
55422 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55423 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
55424 $as_echo_n "(cached) " >&6
55425 else
55428 ac_ext=cpp
55429 ac_cpp='$CXXCPP $CPPFLAGS'
55430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55435 /* end confdefs.h. */
55436 #include <math.h>
55437 #ifdef HAVE_IEEEFP_H
55438 #include <ieeefp.h>
55439 #endif
55442 main ()
55444 isinff(0);
55446 return 0;
55448 _ACEOF
55449 if ac_fn_cxx_try_compile "$LINENO"; then :
55450 glibcxx_cv_func_isinff_use=yes
55451 else
55452 glibcxx_cv_func_isinff_use=no
55454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55455 ac_ext=c
55456 ac_cpp='$CPP $CPPFLAGS'
55457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
55466 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
55468 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
55469 for ac_func in isinff
55470 do :
55471 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
55472 if test "x$ac_cv_func_isinff" = x""yes; then :
55473 cat >>confdefs.h <<_ACEOF
55474 #define HAVE_ISINFF 1
55475 _ACEOF
55478 done
55480 else
55482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
55483 $as_echo_n "checking for _isinff declaration... " >&6; }
55484 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
55485 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
55486 $as_echo_n "(cached) " >&6
55487 else
55490 ac_ext=cpp
55491 ac_cpp='$CXXCPP $CPPFLAGS'
55492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55497 /* end confdefs.h. */
55498 #include <math.h>
55499 #ifdef HAVE_IEEEFP_H
55500 #include <ieeefp.h>
55501 #endif
55504 main ()
55506 _isinff(0);
55508 return 0;
55510 _ACEOF
55511 if ac_fn_cxx_try_compile "$LINENO"; then :
55512 glibcxx_cv_func__isinff_use=yes
55513 else
55514 glibcxx_cv_func__isinff_use=no
55516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55517 ac_ext=c
55518 ac_cpp='$CPP $CPPFLAGS'
55519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
55528 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
55530 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
55531 for ac_func in _isinff
55532 do :
55533 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
55534 if test "x$ac_cv_func__isinff" = x""yes; then :
55535 cat >>confdefs.h <<_ACEOF
55536 #define HAVE__ISINFF 1
55537 _ACEOF
55540 done
55549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
55550 $as_echo_n "checking for atan2f declaration... " >&6; }
55551 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
55552 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
55553 $as_echo_n "(cached) " >&6
55554 else
55557 ac_ext=cpp
55558 ac_cpp='$CXXCPP $CPPFLAGS'
55559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55564 /* end confdefs.h. */
55565 #include <math.h>
55567 main ()
55569 atan2f(0, 0);
55571 return 0;
55573 _ACEOF
55574 if ac_fn_cxx_try_compile "$LINENO"; then :
55575 glibcxx_cv_func_atan2f_use=yes
55576 else
55577 glibcxx_cv_func_atan2f_use=no
55579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55580 ac_ext=c
55581 ac_cpp='$CPP $CPPFLAGS'
55582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
55591 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
55593 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
55594 for ac_func in atan2f
55595 do :
55596 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
55597 if test "x$ac_cv_func_atan2f" = x""yes; then :
55598 cat >>confdefs.h <<_ACEOF
55599 #define HAVE_ATAN2F 1
55600 _ACEOF
55603 done
55605 else
55607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
55608 $as_echo_n "checking for _atan2f declaration... " >&6; }
55609 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
55610 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
55611 $as_echo_n "(cached) " >&6
55612 else
55615 ac_ext=cpp
55616 ac_cpp='$CXXCPP $CPPFLAGS'
55617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55622 /* end confdefs.h. */
55623 #include <math.h>
55625 main ()
55627 _atan2f(0, 0);
55629 return 0;
55631 _ACEOF
55632 if ac_fn_cxx_try_compile "$LINENO"; then :
55633 glibcxx_cv_func__atan2f_use=yes
55634 else
55635 glibcxx_cv_func__atan2f_use=no
55637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55638 ac_ext=c
55639 ac_cpp='$CPP $CPPFLAGS'
55640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
55649 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
55651 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
55652 for ac_func in _atan2f
55653 do :
55654 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
55655 if test "x$ac_cv_func__atan2f" = x""yes; then :
55656 cat >>confdefs.h <<_ACEOF
55657 #define HAVE__ATAN2F 1
55658 _ACEOF
55661 done
55670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
55671 $as_echo_n "checking for fabsf declaration... " >&6; }
55672 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
55673 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
55674 $as_echo_n "(cached) " >&6
55675 else
55678 ac_ext=cpp
55679 ac_cpp='$CXXCPP $CPPFLAGS'
55680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55685 /* end confdefs.h. */
55686 #include <math.h>
55687 #ifdef HAVE_IEEEFP_H
55688 #include <ieeefp.h>
55689 #endif
55692 main ()
55694 fabsf(0);
55696 return 0;
55698 _ACEOF
55699 if ac_fn_cxx_try_compile "$LINENO"; then :
55700 glibcxx_cv_func_fabsf_use=yes
55701 else
55702 glibcxx_cv_func_fabsf_use=no
55704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55705 ac_ext=c
55706 ac_cpp='$CPP $CPPFLAGS'
55707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
55716 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
55718 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
55719 for ac_func in fabsf
55720 do :
55721 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
55722 if test "x$ac_cv_func_fabsf" = x""yes; then :
55723 cat >>confdefs.h <<_ACEOF
55724 #define HAVE_FABSF 1
55725 _ACEOF
55728 done
55730 else
55732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
55733 $as_echo_n "checking for _fabsf declaration... " >&6; }
55734 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
55735 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
55736 $as_echo_n "(cached) " >&6
55737 else
55740 ac_ext=cpp
55741 ac_cpp='$CXXCPP $CPPFLAGS'
55742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55747 /* end confdefs.h. */
55748 #include <math.h>
55749 #ifdef HAVE_IEEEFP_H
55750 #include <ieeefp.h>
55751 #endif
55754 main ()
55756 _fabsf(0);
55758 return 0;
55760 _ACEOF
55761 if ac_fn_cxx_try_compile "$LINENO"; then :
55762 glibcxx_cv_func__fabsf_use=yes
55763 else
55764 glibcxx_cv_func__fabsf_use=no
55766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55767 ac_ext=c
55768 ac_cpp='$CPP $CPPFLAGS'
55769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
55778 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
55780 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
55781 for ac_func in _fabsf
55782 do :
55783 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
55784 if test "x$ac_cv_func__fabsf" = x""yes; then :
55785 cat >>confdefs.h <<_ACEOF
55786 #define HAVE__FABSF 1
55787 _ACEOF
55790 done
55799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
55800 $as_echo_n "checking for fmodf declaration... " >&6; }
55801 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
55802 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
55803 $as_echo_n "(cached) " >&6
55804 else
55807 ac_ext=cpp
55808 ac_cpp='$CXXCPP $CPPFLAGS'
55809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55814 /* end confdefs.h. */
55815 #include <math.h>
55817 main ()
55819 fmodf(0, 0);
55821 return 0;
55823 _ACEOF
55824 if ac_fn_cxx_try_compile "$LINENO"; then :
55825 glibcxx_cv_func_fmodf_use=yes
55826 else
55827 glibcxx_cv_func_fmodf_use=no
55829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55830 ac_ext=c
55831 ac_cpp='$CPP $CPPFLAGS'
55832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
55841 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
55843 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
55844 for ac_func in fmodf
55845 do :
55846 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
55847 if test "x$ac_cv_func_fmodf" = x""yes; then :
55848 cat >>confdefs.h <<_ACEOF
55849 #define HAVE_FMODF 1
55850 _ACEOF
55853 done
55855 else
55857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
55858 $as_echo_n "checking for _fmodf declaration... " >&6; }
55859 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
55860 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
55861 $as_echo_n "(cached) " >&6
55862 else
55865 ac_ext=cpp
55866 ac_cpp='$CXXCPP $CPPFLAGS'
55867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55872 /* end confdefs.h. */
55873 #include <math.h>
55875 main ()
55877 _fmodf(0, 0);
55879 return 0;
55881 _ACEOF
55882 if ac_fn_cxx_try_compile "$LINENO"; then :
55883 glibcxx_cv_func__fmodf_use=yes
55884 else
55885 glibcxx_cv_func__fmodf_use=no
55887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55888 ac_ext=c
55889 ac_cpp='$CPP $CPPFLAGS'
55890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
55899 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
55901 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
55902 for ac_func in _fmodf
55903 do :
55904 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
55905 if test "x$ac_cv_func__fmodf" = x""yes; then :
55906 cat >>confdefs.h <<_ACEOF
55907 #define HAVE__FMODF 1
55908 _ACEOF
55911 done
55920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
55921 $as_echo_n "checking for frexpf declaration... " >&6; }
55922 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
55923 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
55924 $as_echo_n "(cached) " >&6
55925 else
55928 ac_ext=cpp
55929 ac_cpp='$CXXCPP $CPPFLAGS'
55930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55935 /* end confdefs.h. */
55936 #include <math.h>
55938 main ()
55940 frexpf(0, 0);
55942 return 0;
55944 _ACEOF
55945 if ac_fn_cxx_try_compile "$LINENO"; then :
55946 glibcxx_cv_func_frexpf_use=yes
55947 else
55948 glibcxx_cv_func_frexpf_use=no
55950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55951 ac_ext=c
55952 ac_cpp='$CPP $CPPFLAGS'
55953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
55962 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
55964 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
55965 for ac_func in frexpf
55966 do :
55967 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
55968 if test "x$ac_cv_func_frexpf" = x""yes; then :
55969 cat >>confdefs.h <<_ACEOF
55970 #define HAVE_FREXPF 1
55971 _ACEOF
55974 done
55976 else
55978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
55979 $as_echo_n "checking for _frexpf declaration... " >&6; }
55980 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
55981 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
55982 $as_echo_n "(cached) " >&6
55983 else
55986 ac_ext=cpp
55987 ac_cpp='$CXXCPP $CPPFLAGS'
55988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55993 /* end confdefs.h. */
55994 #include <math.h>
55996 main ()
55998 _frexpf(0, 0);
56000 return 0;
56002 _ACEOF
56003 if ac_fn_cxx_try_compile "$LINENO"; then :
56004 glibcxx_cv_func__frexpf_use=yes
56005 else
56006 glibcxx_cv_func__frexpf_use=no
56008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56009 ac_ext=c
56010 ac_cpp='$CPP $CPPFLAGS'
56011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
56020 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
56022 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
56023 for ac_func in _frexpf
56024 do :
56025 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
56026 if test "x$ac_cv_func__frexpf" = x""yes; then :
56027 cat >>confdefs.h <<_ACEOF
56028 #define HAVE__FREXPF 1
56029 _ACEOF
56032 done
56041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
56042 $as_echo_n "checking for hypotf declaration... " >&6; }
56043 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
56044 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
56045 $as_echo_n "(cached) " >&6
56046 else
56049 ac_ext=cpp
56050 ac_cpp='$CXXCPP $CPPFLAGS'
56051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56056 /* end confdefs.h. */
56057 #include <math.h>
56059 main ()
56061 hypotf(0, 0);
56063 return 0;
56065 _ACEOF
56066 if ac_fn_cxx_try_compile "$LINENO"; then :
56067 glibcxx_cv_func_hypotf_use=yes
56068 else
56069 glibcxx_cv_func_hypotf_use=no
56071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56072 ac_ext=c
56073 ac_cpp='$CPP $CPPFLAGS'
56074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
56083 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
56085 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
56086 for ac_func in hypotf
56087 do :
56088 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
56089 if test "x$ac_cv_func_hypotf" = x""yes; then :
56090 cat >>confdefs.h <<_ACEOF
56091 #define HAVE_HYPOTF 1
56092 _ACEOF
56095 done
56097 else
56099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
56100 $as_echo_n "checking for _hypotf declaration... " >&6; }
56101 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
56102 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
56103 $as_echo_n "(cached) " >&6
56104 else
56107 ac_ext=cpp
56108 ac_cpp='$CXXCPP $CPPFLAGS'
56109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56114 /* end confdefs.h. */
56115 #include <math.h>
56117 main ()
56119 _hypotf(0, 0);
56121 return 0;
56123 _ACEOF
56124 if ac_fn_cxx_try_compile "$LINENO"; then :
56125 glibcxx_cv_func__hypotf_use=yes
56126 else
56127 glibcxx_cv_func__hypotf_use=no
56129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56130 ac_ext=c
56131 ac_cpp='$CPP $CPPFLAGS'
56132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
56141 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
56143 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
56144 for ac_func in _hypotf
56145 do :
56146 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
56147 if test "x$ac_cv_func__hypotf" = x""yes; then :
56148 cat >>confdefs.h <<_ACEOF
56149 #define HAVE__HYPOTF 1
56150 _ACEOF
56153 done
56162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
56163 $as_echo_n "checking for ldexpf declaration... " >&6; }
56164 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
56165 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
56166 $as_echo_n "(cached) " >&6
56167 else
56170 ac_ext=cpp
56171 ac_cpp='$CXXCPP $CPPFLAGS'
56172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56177 /* end confdefs.h. */
56178 #include <math.h>
56180 main ()
56182 ldexpf(0, 0);
56184 return 0;
56186 _ACEOF
56187 if ac_fn_cxx_try_compile "$LINENO"; then :
56188 glibcxx_cv_func_ldexpf_use=yes
56189 else
56190 glibcxx_cv_func_ldexpf_use=no
56192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56193 ac_ext=c
56194 ac_cpp='$CPP $CPPFLAGS'
56195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
56204 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
56206 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
56207 for ac_func in ldexpf
56208 do :
56209 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
56210 if test "x$ac_cv_func_ldexpf" = x""yes; then :
56211 cat >>confdefs.h <<_ACEOF
56212 #define HAVE_LDEXPF 1
56213 _ACEOF
56216 done
56218 else
56220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56221 $as_echo_n "checking for _ldexpf declaration... " >&6; }
56222 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56223 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
56224 $as_echo_n "(cached) " >&6
56225 else
56228 ac_ext=cpp
56229 ac_cpp='$CXXCPP $CPPFLAGS'
56230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56235 /* end confdefs.h. */
56236 #include <math.h>
56238 main ()
56240 _ldexpf(0, 0);
56242 return 0;
56244 _ACEOF
56245 if ac_fn_cxx_try_compile "$LINENO"; then :
56246 glibcxx_cv_func__ldexpf_use=yes
56247 else
56248 glibcxx_cv_func__ldexpf_use=no
56250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56251 ac_ext=c
56252 ac_cpp='$CPP $CPPFLAGS'
56253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56262 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56264 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56265 for ac_func in _ldexpf
56266 do :
56267 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56268 if test "x$ac_cv_func__ldexpf" = x""yes; then :
56269 cat >>confdefs.h <<_ACEOF
56270 #define HAVE__LDEXPF 1
56271 _ACEOF
56274 done
56283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56284 $as_echo_n "checking for logf declaration... " >&6; }
56285 if test x${glibcxx_cv_func_logf_use+set} != xset; then
56286 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
56287 $as_echo_n "(cached) " >&6
56288 else
56291 ac_ext=cpp
56292 ac_cpp='$CXXCPP $CPPFLAGS'
56293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56298 /* end confdefs.h. */
56299 #include <math.h>
56300 #ifdef HAVE_IEEEFP_H
56301 #include <ieeefp.h>
56302 #endif
56305 main ()
56307 logf(0);
56309 return 0;
56311 _ACEOF
56312 if ac_fn_cxx_try_compile "$LINENO"; then :
56313 glibcxx_cv_func_logf_use=yes
56314 else
56315 glibcxx_cv_func_logf_use=no
56317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56318 ac_ext=c
56319 ac_cpp='$CPP $CPPFLAGS'
56320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56329 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56331 if test x$glibcxx_cv_func_logf_use = x"yes"; then
56332 for ac_func in logf
56333 do :
56334 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56335 if test "x$ac_cv_func_logf" = x""yes; then :
56336 cat >>confdefs.h <<_ACEOF
56337 #define HAVE_LOGF 1
56338 _ACEOF
56341 done
56343 else
56345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56346 $as_echo_n "checking for _logf declaration... " >&6; }
56347 if test x${glibcxx_cv_func__logf_use+set} != xset; then
56348 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
56349 $as_echo_n "(cached) " >&6
56350 else
56353 ac_ext=cpp
56354 ac_cpp='$CXXCPP $CPPFLAGS'
56355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56360 /* end confdefs.h. */
56361 #include <math.h>
56362 #ifdef HAVE_IEEEFP_H
56363 #include <ieeefp.h>
56364 #endif
56367 main ()
56369 _logf(0);
56371 return 0;
56373 _ACEOF
56374 if ac_fn_cxx_try_compile "$LINENO"; then :
56375 glibcxx_cv_func__logf_use=yes
56376 else
56377 glibcxx_cv_func__logf_use=no
56379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56380 ac_ext=c
56381 ac_cpp='$CPP $CPPFLAGS'
56382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56391 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56393 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56394 for ac_func in _logf
56395 do :
56396 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56397 if test "x$ac_cv_func__logf" = x""yes; then :
56398 cat >>confdefs.h <<_ACEOF
56399 #define HAVE__LOGF 1
56400 _ACEOF
56403 done
56412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56413 $as_echo_n "checking for log10f declaration... " >&6; }
56414 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56415 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
56416 $as_echo_n "(cached) " >&6
56417 else
56420 ac_ext=cpp
56421 ac_cpp='$CXXCPP $CPPFLAGS'
56422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56427 /* end confdefs.h. */
56428 #include <math.h>
56429 #ifdef HAVE_IEEEFP_H
56430 #include <ieeefp.h>
56431 #endif
56434 main ()
56436 log10f(0);
56438 return 0;
56440 _ACEOF
56441 if ac_fn_cxx_try_compile "$LINENO"; then :
56442 glibcxx_cv_func_log10f_use=yes
56443 else
56444 glibcxx_cv_func_log10f_use=no
56446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56447 ac_ext=c
56448 ac_cpp='$CPP $CPPFLAGS'
56449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56458 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56460 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56461 for ac_func in log10f
56462 do :
56463 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
56464 if test "x$ac_cv_func_log10f" = x""yes; then :
56465 cat >>confdefs.h <<_ACEOF
56466 #define HAVE_LOG10F 1
56467 _ACEOF
56470 done
56472 else
56474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
56475 $as_echo_n "checking for _log10f declaration... " >&6; }
56476 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
56477 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
56478 $as_echo_n "(cached) " >&6
56479 else
56482 ac_ext=cpp
56483 ac_cpp='$CXXCPP $CPPFLAGS'
56484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56489 /* end confdefs.h. */
56490 #include <math.h>
56491 #ifdef HAVE_IEEEFP_H
56492 #include <ieeefp.h>
56493 #endif
56496 main ()
56498 _log10f(0);
56500 return 0;
56502 _ACEOF
56503 if ac_fn_cxx_try_compile "$LINENO"; then :
56504 glibcxx_cv_func__log10f_use=yes
56505 else
56506 glibcxx_cv_func__log10f_use=no
56508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56509 ac_ext=c
56510 ac_cpp='$CPP $CPPFLAGS'
56511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
56520 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
56522 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
56523 for ac_func in _log10f
56524 do :
56525 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
56526 if test "x$ac_cv_func__log10f" = x""yes; then :
56527 cat >>confdefs.h <<_ACEOF
56528 #define HAVE__LOG10F 1
56529 _ACEOF
56532 done
56541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
56542 $as_echo_n "checking for modff declaration... " >&6; }
56543 if test x${glibcxx_cv_func_modff_use+set} != xset; then
56544 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
56545 $as_echo_n "(cached) " >&6
56546 else
56549 ac_ext=cpp
56550 ac_cpp='$CXXCPP $CPPFLAGS'
56551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56556 /* end confdefs.h. */
56557 #include <math.h>
56559 main ()
56561 modff(0, 0);
56563 return 0;
56565 _ACEOF
56566 if ac_fn_cxx_try_compile "$LINENO"; then :
56567 glibcxx_cv_func_modff_use=yes
56568 else
56569 glibcxx_cv_func_modff_use=no
56571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56572 ac_ext=c
56573 ac_cpp='$CPP $CPPFLAGS'
56574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
56583 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
56585 if test x$glibcxx_cv_func_modff_use = x"yes"; then
56586 for ac_func in modff
56587 do :
56588 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
56589 if test "x$ac_cv_func_modff" = x""yes; then :
56590 cat >>confdefs.h <<_ACEOF
56591 #define HAVE_MODFF 1
56592 _ACEOF
56595 done
56597 else
56599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
56600 $as_echo_n "checking for _modff declaration... " >&6; }
56601 if test x${glibcxx_cv_func__modff_use+set} != xset; then
56602 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
56603 $as_echo_n "(cached) " >&6
56604 else
56607 ac_ext=cpp
56608 ac_cpp='$CXXCPP $CPPFLAGS'
56609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56614 /* end confdefs.h. */
56615 #include <math.h>
56617 main ()
56619 _modff(0, 0);
56621 return 0;
56623 _ACEOF
56624 if ac_fn_cxx_try_compile "$LINENO"; then :
56625 glibcxx_cv_func__modff_use=yes
56626 else
56627 glibcxx_cv_func__modff_use=no
56629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56630 ac_ext=c
56631 ac_cpp='$CPP $CPPFLAGS'
56632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
56641 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
56643 if test x$glibcxx_cv_func__modff_use = x"yes"; then
56644 for ac_func in _modff
56645 do :
56646 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
56647 if test "x$ac_cv_func__modff" = x""yes; then :
56648 cat >>confdefs.h <<_ACEOF
56649 #define HAVE__MODFF 1
56650 _ACEOF
56653 done
56662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
56663 $as_echo_n "checking for modf declaration... " >&6; }
56664 if test x${glibcxx_cv_func_modf_use+set} != xset; then
56665 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
56666 $as_echo_n "(cached) " >&6
56667 else
56670 ac_ext=cpp
56671 ac_cpp='$CXXCPP $CPPFLAGS'
56672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56677 /* end confdefs.h. */
56678 #include <math.h>
56680 main ()
56682 modf(0, 0);
56684 return 0;
56686 _ACEOF
56687 if ac_fn_cxx_try_compile "$LINENO"; then :
56688 glibcxx_cv_func_modf_use=yes
56689 else
56690 glibcxx_cv_func_modf_use=no
56692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56693 ac_ext=c
56694 ac_cpp='$CPP $CPPFLAGS'
56695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
56704 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
56706 if test x$glibcxx_cv_func_modf_use = x"yes"; then
56707 for ac_func in modf
56708 do :
56709 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
56710 if test "x$ac_cv_func_modf" = x""yes; then :
56711 cat >>confdefs.h <<_ACEOF
56712 #define HAVE_MODF 1
56713 _ACEOF
56716 done
56718 else
56720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
56721 $as_echo_n "checking for _modf declaration... " >&6; }
56722 if test x${glibcxx_cv_func__modf_use+set} != xset; then
56723 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
56724 $as_echo_n "(cached) " >&6
56725 else
56728 ac_ext=cpp
56729 ac_cpp='$CXXCPP $CPPFLAGS'
56730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56735 /* end confdefs.h. */
56736 #include <math.h>
56738 main ()
56740 _modf(0, 0);
56742 return 0;
56744 _ACEOF
56745 if ac_fn_cxx_try_compile "$LINENO"; then :
56746 glibcxx_cv_func__modf_use=yes
56747 else
56748 glibcxx_cv_func__modf_use=no
56750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56751 ac_ext=c
56752 ac_cpp='$CPP $CPPFLAGS'
56753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
56762 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
56764 if test x$glibcxx_cv_func__modf_use = x"yes"; then
56765 for ac_func in _modf
56766 do :
56767 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
56768 if test "x$ac_cv_func__modf" = x""yes; then :
56769 cat >>confdefs.h <<_ACEOF
56770 #define HAVE__MODF 1
56771 _ACEOF
56774 done
56783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
56784 $as_echo_n "checking for powf declaration... " >&6; }
56785 if test x${glibcxx_cv_func_powf_use+set} != xset; then
56786 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
56787 $as_echo_n "(cached) " >&6
56788 else
56791 ac_ext=cpp
56792 ac_cpp='$CXXCPP $CPPFLAGS'
56793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56798 /* end confdefs.h. */
56799 #include <math.h>
56801 main ()
56803 powf(0, 0);
56805 return 0;
56807 _ACEOF
56808 if ac_fn_cxx_try_compile "$LINENO"; then :
56809 glibcxx_cv_func_powf_use=yes
56810 else
56811 glibcxx_cv_func_powf_use=no
56813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56814 ac_ext=c
56815 ac_cpp='$CPP $CPPFLAGS'
56816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
56825 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
56827 if test x$glibcxx_cv_func_powf_use = x"yes"; then
56828 for ac_func in powf
56829 do :
56830 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
56831 if test "x$ac_cv_func_powf" = x""yes; then :
56832 cat >>confdefs.h <<_ACEOF
56833 #define HAVE_POWF 1
56834 _ACEOF
56837 done
56839 else
56841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
56842 $as_echo_n "checking for _powf declaration... " >&6; }
56843 if test x${glibcxx_cv_func__powf_use+set} != xset; then
56844 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
56845 $as_echo_n "(cached) " >&6
56846 else
56849 ac_ext=cpp
56850 ac_cpp='$CXXCPP $CPPFLAGS'
56851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56856 /* end confdefs.h. */
56857 #include <math.h>
56859 main ()
56861 _powf(0, 0);
56863 return 0;
56865 _ACEOF
56866 if ac_fn_cxx_try_compile "$LINENO"; then :
56867 glibcxx_cv_func__powf_use=yes
56868 else
56869 glibcxx_cv_func__powf_use=no
56871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56872 ac_ext=c
56873 ac_cpp='$CPP $CPPFLAGS'
56874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
56883 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
56885 if test x$glibcxx_cv_func__powf_use = x"yes"; then
56886 for ac_func in _powf
56887 do :
56888 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
56889 if test "x$ac_cv_func__powf" = x""yes; then :
56890 cat >>confdefs.h <<_ACEOF
56891 #define HAVE__POWF 1
56892 _ACEOF
56895 done
56904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
56905 $as_echo_n "checking for sqrtf declaration... " >&6; }
56906 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
56907 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
56908 $as_echo_n "(cached) " >&6
56909 else
56912 ac_ext=cpp
56913 ac_cpp='$CXXCPP $CPPFLAGS'
56914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56919 /* end confdefs.h. */
56920 #include <math.h>
56921 #ifdef HAVE_IEEEFP_H
56922 #include <ieeefp.h>
56923 #endif
56926 main ()
56928 sqrtf(0);
56930 return 0;
56932 _ACEOF
56933 if ac_fn_cxx_try_compile "$LINENO"; then :
56934 glibcxx_cv_func_sqrtf_use=yes
56935 else
56936 glibcxx_cv_func_sqrtf_use=no
56938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56939 ac_ext=c
56940 ac_cpp='$CPP $CPPFLAGS'
56941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
56950 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
56952 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
56953 for ac_func in sqrtf
56954 do :
56955 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
56956 if test "x$ac_cv_func_sqrtf" = x""yes; then :
56957 cat >>confdefs.h <<_ACEOF
56958 #define HAVE_SQRTF 1
56959 _ACEOF
56962 done
56964 else
56966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
56967 $as_echo_n "checking for _sqrtf declaration... " >&6; }
56968 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
56969 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
56970 $as_echo_n "(cached) " >&6
56971 else
56974 ac_ext=cpp
56975 ac_cpp='$CXXCPP $CPPFLAGS'
56976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56981 /* end confdefs.h. */
56982 #include <math.h>
56983 #ifdef HAVE_IEEEFP_H
56984 #include <ieeefp.h>
56985 #endif
56988 main ()
56990 _sqrtf(0);
56992 return 0;
56994 _ACEOF
56995 if ac_fn_cxx_try_compile "$LINENO"; then :
56996 glibcxx_cv_func__sqrtf_use=yes
56997 else
56998 glibcxx_cv_func__sqrtf_use=no
57000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57001 ac_ext=c
57002 ac_cpp='$CPP $CPPFLAGS'
57003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
57012 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
57014 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
57015 for ac_func in _sqrtf
57016 do :
57017 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
57018 if test "x$ac_cv_func__sqrtf" = x""yes; then :
57019 cat >>confdefs.h <<_ACEOF
57020 #define HAVE__SQRTF 1
57021 _ACEOF
57024 done
57033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
57034 $as_echo_n "checking for sincosf declaration... " >&6; }
57035 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
57036 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
57037 $as_echo_n "(cached) " >&6
57038 else
57041 ac_ext=cpp
57042 ac_cpp='$CXXCPP $CPPFLAGS'
57043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57048 /* end confdefs.h. */
57049 #include <math.h>
57051 main ()
57053 sincosf(0, 0, 0);
57055 return 0;
57057 _ACEOF
57058 if ac_fn_cxx_try_compile "$LINENO"; then :
57059 glibcxx_cv_func_sincosf_use=yes
57060 else
57061 glibcxx_cv_func_sincosf_use=no
57063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57064 ac_ext=c
57065 ac_cpp='$CPP $CPPFLAGS'
57066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
57075 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
57077 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
57078 for ac_func in sincosf
57079 do :
57080 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
57081 if test "x$ac_cv_func_sincosf" = x""yes; then :
57082 cat >>confdefs.h <<_ACEOF
57083 #define HAVE_SINCOSF 1
57084 _ACEOF
57087 done
57089 else
57091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
57092 $as_echo_n "checking for _sincosf declaration... " >&6; }
57093 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
57094 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
57095 $as_echo_n "(cached) " >&6
57096 else
57099 ac_ext=cpp
57100 ac_cpp='$CXXCPP $CPPFLAGS'
57101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57106 /* end confdefs.h. */
57107 #include <math.h>
57109 main ()
57111 _sincosf(0, 0, 0);
57113 return 0;
57115 _ACEOF
57116 if ac_fn_cxx_try_compile "$LINENO"; then :
57117 glibcxx_cv_func__sincosf_use=yes
57118 else
57119 glibcxx_cv_func__sincosf_use=no
57121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57122 ac_ext=c
57123 ac_cpp='$CPP $CPPFLAGS'
57124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
57133 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
57135 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
57136 for ac_func in _sincosf
57137 do :
57138 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
57139 if test "x$ac_cv_func__sincosf" = x""yes; then :
57140 cat >>confdefs.h <<_ACEOF
57141 #define HAVE__SINCOSF 1
57142 _ACEOF
57145 done
57154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
57155 $as_echo_n "checking for finitef declaration... " >&6; }
57156 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
57157 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
57158 $as_echo_n "(cached) " >&6
57159 else
57162 ac_ext=cpp
57163 ac_cpp='$CXXCPP $CPPFLAGS'
57164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57169 /* end confdefs.h. */
57170 #include <math.h>
57171 #ifdef HAVE_IEEEFP_H
57172 #include <ieeefp.h>
57173 #endif
57176 main ()
57178 finitef(0);
57180 return 0;
57182 _ACEOF
57183 if ac_fn_cxx_try_compile "$LINENO"; then :
57184 glibcxx_cv_func_finitef_use=yes
57185 else
57186 glibcxx_cv_func_finitef_use=no
57188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57189 ac_ext=c
57190 ac_cpp='$CPP $CPPFLAGS'
57191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
57200 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
57202 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
57203 for ac_func in finitef
57204 do :
57205 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
57206 if test "x$ac_cv_func_finitef" = x""yes; then :
57207 cat >>confdefs.h <<_ACEOF
57208 #define HAVE_FINITEF 1
57209 _ACEOF
57212 done
57214 else
57216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57217 $as_echo_n "checking for _finitef declaration... " >&6; }
57218 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57219 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
57220 $as_echo_n "(cached) " >&6
57221 else
57224 ac_ext=cpp
57225 ac_cpp='$CXXCPP $CPPFLAGS'
57226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57231 /* end confdefs.h. */
57232 #include <math.h>
57233 #ifdef HAVE_IEEEFP_H
57234 #include <ieeefp.h>
57235 #endif
57238 main ()
57240 _finitef(0);
57242 return 0;
57244 _ACEOF
57245 if ac_fn_cxx_try_compile "$LINENO"; then :
57246 glibcxx_cv_func__finitef_use=yes
57247 else
57248 glibcxx_cv_func__finitef_use=no
57250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57251 ac_ext=c
57252 ac_cpp='$CPP $CPPFLAGS'
57253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57262 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57264 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57265 for ac_func in _finitef
57266 do :
57267 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57268 if test "x$ac_cv_func__finitef" = x""yes; then :
57269 cat >>confdefs.h <<_ACEOF
57270 #define HAVE__FINITEF 1
57271 _ACEOF
57274 done
57283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57284 $as_echo_n "checking for long double trig functions... " >&6; }
57285 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
57286 $as_echo_n "(cached) " >&6
57287 else
57290 ac_ext=cpp
57291 ac_cpp='$CXXCPP $CPPFLAGS'
57292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57297 /* end confdefs.h. */
57298 #include <math.h>
57300 main ()
57302 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57304 return 0;
57306 _ACEOF
57307 if ac_fn_cxx_try_compile "$LINENO"; then :
57308 glibcxx_cv_func_long_double_trig_use=yes
57309 else
57310 glibcxx_cv_func_long_double_trig_use=no
57312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57313 ac_ext=c
57314 ac_cpp='$CPP $CPPFLAGS'
57315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57322 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57323 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57324 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57325 do :
57326 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57327 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57328 eval as_val=\$$as_ac_var
57329 if test "x$as_val" = x""yes; then :
57330 cat >>confdefs.h <<_ACEOF
57331 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57332 _ACEOF
57335 done
57337 else
57338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57339 $as_echo_n "checking for _long double trig functions... " >&6; }
57340 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
57341 $as_echo_n "(cached) " >&6
57342 else
57345 ac_ext=cpp
57346 ac_cpp='$CXXCPP $CPPFLAGS'
57347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57352 /* end confdefs.h. */
57353 #include <math.h>
57355 main ()
57357 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57359 return 0;
57361 _ACEOF
57362 if ac_fn_cxx_try_compile "$LINENO"; then :
57363 glibcxx_cv_func__long_double_trig_use=yes
57364 else
57365 glibcxx_cv_func__long_double_trig_use=no
57367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57368 ac_ext=c
57369 ac_cpp='$CPP $CPPFLAGS'
57370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57377 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57378 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57379 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57380 do :
57381 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57382 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57383 eval as_val=\$$as_ac_var
57384 if test "x$as_val" = x""yes; then :
57385 cat >>confdefs.h <<_ACEOF
57386 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57387 _ACEOF
57390 done
57399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57400 $as_echo_n "checking for long double round functions... " >&6; }
57401 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
57402 $as_echo_n "(cached) " >&6
57403 else
57406 ac_ext=cpp
57407 ac_cpp='$CXXCPP $CPPFLAGS'
57408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57413 /* end confdefs.h. */
57414 #include <math.h>
57416 main ()
57418 ceill (0); floorl (0);
57420 return 0;
57422 _ACEOF
57423 if ac_fn_cxx_try_compile "$LINENO"; then :
57424 glibcxx_cv_func_long_double_round_use=yes
57425 else
57426 glibcxx_cv_func_long_double_round_use=no
57428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57429 ac_ext=c
57430 ac_cpp='$CPP $CPPFLAGS'
57431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57438 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57439 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57440 for ac_func in ceill floorl
57441 do :
57442 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57443 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57444 eval as_val=\$$as_ac_var
57445 if test "x$as_val" = x""yes; then :
57446 cat >>confdefs.h <<_ACEOF
57447 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57448 _ACEOF
57451 done
57453 else
57454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57455 $as_echo_n "checking for _long double round functions... " >&6; }
57456 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
57457 $as_echo_n "(cached) " >&6
57458 else
57461 ac_ext=cpp
57462 ac_cpp='$CXXCPP $CPPFLAGS'
57463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57468 /* end confdefs.h. */
57469 #include <math.h>
57471 main ()
57473 _ceill (0); _floorl (0);
57475 return 0;
57477 _ACEOF
57478 if ac_fn_cxx_try_compile "$LINENO"; then :
57479 glibcxx_cv_func__long_double_round_use=yes
57480 else
57481 glibcxx_cv_func__long_double_round_use=no
57483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57484 ac_ext=c
57485 ac_cpp='$CPP $CPPFLAGS'
57486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
57493 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
57494 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
57495 for ac_func in _ceill _floorl
57496 do :
57497 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57498 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57499 eval as_val=\$$as_ac_var
57500 if test "x$as_val" = x""yes; then :
57501 cat >>confdefs.h <<_ACEOF
57502 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57503 _ACEOF
57506 done
57516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
57517 $as_echo_n "checking for isnanl declaration... " >&6; }
57518 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
57519 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
57520 $as_echo_n "(cached) " >&6
57521 else
57524 ac_ext=cpp
57525 ac_cpp='$CXXCPP $CPPFLAGS'
57526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57531 /* end confdefs.h. */
57532 #include <math.h>
57533 #ifdef HAVE_IEEEFP_H
57534 #include <ieeefp.h>
57535 #endif
57538 main ()
57540 isnanl(0);
57542 return 0;
57544 _ACEOF
57545 if ac_fn_cxx_try_compile "$LINENO"; then :
57546 glibcxx_cv_func_isnanl_use=yes
57547 else
57548 glibcxx_cv_func_isnanl_use=no
57550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57551 ac_ext=c
57552 ac_cpp='$CPP $CPPFLAGS'
57553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
57562 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
57564 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
57565 for ac_func in isnanl
57566 do :
57567 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
57568 if test "x$ac_cv_func_isnanl" = x""yes; then :
57569 cat >>confdefs.h <<_ACEOF
57570 #define HAVE_ISNANL 1
57571 _ACEOF
57574 done
57576 else
57578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
57579 $as_echo_n "checking for _isnanl declaration... " >&6; }
57580 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
57581 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
57582 $as_echo_n "(cached) " >&6
57583 else
57586 ac_ext=cpp
57587 ac_cpp='$CXXCPP $CPPFLAGS'
57588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57593 /* end confdefs.h. */
57594 #include <math.h>
57595 #ifdef HAVE_IEEEFP_H
57596 #include <ieeefp.h>
57597 #endif
57600 main ()
57602 _isnanl(0);
57604 return 0;
57606 _ACEOF
57607 if ac_fn_cxx_try_compile "$LINENO"; then :
57608 glibcxx_cv_func__isnanl_use=yes
57609 else
57610 glibcxx_cv_func__isnanl_use=no
57612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57613 ac_ext=c
57614 ac_cpp='$CPP $CPPFLAGS'
57615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
57624 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
57626 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
57627 for ac_func in _isnanl
57628 do :
57629 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
57630 if test "x$ac_cv_func__isnanl" = x""yes; then :
57631 cat >>confdefs.h <<_ACEOF
57632 #define HAVE__ISNANL 1
57633 _ACEOF
57636 done
57645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
57646 $as_echo_n "checking for isinfl declaration... " >&6; }
57647 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
57648 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
57649 $as_echo_n "(cached) " >&6
57650 else
57653 ac_ext=cpp
57654 ac_cpp='$CXXCPP $CPPFLAGS'
57655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57660 /* end confdefs.h. */
57661 #include <math.h>
57662 #ifdef HAVE_IEEEFP_H
57663 #include <ieeefp.h>
57664 #endif
57667 main ()
57669 isinfl(0);
57671 return 0;
57673 _ACEOF
57674 if ac_fn_cxx_try_compile "$LINENO"; then :
57675 glibcxx_cv_func_isinfl_use=yes
57676 else
57677 glibcxx_cv_func_isinfl_use=no
57679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57680 ac_ext=c
57681 ac_cpp='$CPP $CPPFLAGS'
57682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
57691 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
57693 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
57694 for ac_func in isinfl
57695 do :
57696 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
57697 if test "x$ac_cv_func_isinfl" = x""yes; then :
57698 cat >>confdefs.h <<_ACEOF
57699 #define HAVE_ISINFL 1
57700 _ACEOF
57703 done
57705 else
57707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
57708 $as_echo_n "checking for _isinfl declaration... " >&6; }
57709 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
57710 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
57711 $as_echo_n "(cached) " >&6
57712 else
57715 ac_ext=cpp
57716 ac_cpp='$CXXCPP $CPPFLAGS'
57717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57722 /* end confdefs.h. */
57723 #include <math.h>
57724 #ifdef HAVE_IEEEFP_H
57725 #include <ieeefp.h>
57726 #endif
57729 main ()
57731 _isinfl(0);
57733 return 0;
57735 _ACEOF
57736 if ac_fn_cxx_try_compile "$LINENO"; then :
57737 glibcxx_cv_func__isinfl_use=yes
57738 else
57739 glibcxx_cv_func__isinfl_use=no
57741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57742 ac_ext=c
57743 ac_cpp='$CPP $CPPFLAGS'
57744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
57753 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
57755 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
57756 for ac_func in _isinfl
57757 do :
57758 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
57759 if test "x$ac_cv_func__isinfl" = x""yes; then :
57760 cat >>confdefs.h <<_ACEOF
57761 #define HAVE__ISINFL 1
57762 _ACEOF
57765 done
57774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
57775 $as_echo_n "checking for atan2l declaration... " >&6; }
57776 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
57777 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
57778 $as_echo_n "(cached) " >&6
57779 else
57782 ac_ext=cpp
57783 ac_cpp='$CXXCPP $CPPFLAGS'
57784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57789 /* end confdefs.h. */
57790 #include <math.h>
57792 main ()
57794 atan2l(0, 0);
57796 return 0;
57798 _ACEOF
57799 if ac_fn_cxx_try_compile "$LINENO"; then :
57800 glibcxx_cv_func_atan2l_use=yes
57801 else
57802 glibcxx_cv_func_atan2l_use=no
57804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57805 ac_ext=c
57806 ac_cpp='$CPP $CPPFLAGS'
57807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
57816 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
57818 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
57819 for ac_func in atan2l
57820 do :
57821 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
57822 if test "x$ac_cv_func_atan2l" = x""yes; then :
57823 cat >>confdefs.h <<_ACEOF
57824 #define HAVE_ATAN2L 1
57825 _ACEOF
57828 done
57830 else
57832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
57833 $as_echo_n "checking for _atan2l declaration... " >&6; }
57834 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
57835 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
57836 $as_echo_n "(cached) " >&6
57837 else
57840 ac_ext=cpp
57841 ac_cpp='$CXXCPP $CPPFLAGS'
57842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57847 /* end confdefs.h. */
57848 #include <math.h>
57850 main ()
57852 _atan2l(0, 0);
57854 return 0;
57856 _ACEOF
57857 if ac_fn_cxx_try_compile "$LINENO"; then :
57858 glibcxx_cv_func__atan2l_use=yes
57859 else
57860 glibcxx_cv_func__atan2l_use=no
57862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57863 ac_ext=c
57864 ac_cpp='$CPP $CPPFLAGS'
57865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
57874 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
57876 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
57877 for ac_func in _atan2l
57878 do :
57879 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
57880 if test "x$ac_cv_func__atan2l" = x""yes; then :
57881 cat >>confdefs.h <<_ACEOF
57882 #define HAVE__ATAN2L 1
57883 _ACEOF
57886 done
57895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
57896 $as_echo_n "checking for expl declaration... " >&6; }
57897 if test x${glibcxx_cv_func_expl_use+set} != xset; then
57898 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
57899 $as_echo_n "(cached) " >&6
57900 else
57903 ac_ext=cpp
57904 ac_cpp='$CXXCPP $CPPFLAGS'
57905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57910 /* end confdefs.h. */
57911 #include <math.h>
57912 #ifdef HAVE_IEEEFP_H
57913 #include <ieeefp.h>
57914 #endif
57917 main ()
57919 expl(0);
57921 return 0;
57923 _ACEOF
57924 if ac_fn_cxx_try_compile "$LINENO"; then :
57925 glibcxx_cv_func_expl_use=yes
57926 else
57927 glibcxx_cv_func_expl_use=no
57929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57930 ac_ext=c
57931 ac_cpp='$CPP $CPPFLAGS'
57932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
57941 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
57943 if test x$glibcxx_cv_func_expl_use = x"yes"; then
57944 for ac_func in expl
57945 do :
57946 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
57947 if test "x$ac_cv_func_expl" = x""yes; then :
57948 cat >>confdefs.h <<_ACEOF
57949 #define HAVE_EXPL 1
57950 _ACEOF
57953 done
57955 else
57957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
57958 $as_echo_n "checking for _expl declaration... " >&6; }
57959 if test x${glibcxx_cv_func__expl_use+set} != xset; then
57960 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
57961 $as_echo_n "(cached) " >&6
57962 else
57965 ac_ext=cpp
57966 ac_cpp='$CXXCPP $CPPFLAGS'
57967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57972 /* end confdefs.h. */
57973 #include <math.h>
57974 #ifdef HAVE_IEEEFP_H
57975 #include <ieeefp.h>
57976 #endif
57979 main ()
57981 _expl(0);
57983 return 0;
57985 _ACEOF
57986 if ac_fn_cxx_try_compile "$LINENO"; then :
57987 glibcxx_cv_func__expl_use=yes
57988 else
57989 glibcxx_cv_func__expl_use=no
57991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57992 ac_ext=c
57993 ac_cpp='$CPP $CPPFLAGS'
57994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
58003 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
58005 if test x$glibcxx_cv_func__expl_use = x"yes"; then
58006 for ac_func in _expl
58007 do :
58008 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
58009 if test "x$ac_cv_func__expl" = x""yes; then :
58010 cat >>confdefs.h <<_ACEOF
58011 #define HAVE__EXPL 1
58012 _ACEOF
58015 done
58024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
58025 $as_echo_n "checking for fabsl declaration... " >&6; }
58026 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
58027 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
58028 $as_echo_n "(cached) " >&6
58029 else
58032 ac_ext=cpp
58033 ac_cpp='$CXXCPP $CPPFLAGS'
58034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58039 /* end confdefs.h. */
58040 #include <math.h>
58041 #ifdef HAVE_IEEEFP_H
58042 #include <ieeefp.h>
58043 #endif
58046 main ()
58048 fabsl(0);
58050 return 0;
58052 _ACEOF
58053 if ac_fn_cxx_try_compile "$LINENO"; then :
58054 glibcxx_cv_func_fabsl_use=yes
58055 else
58056 glibcxx_cv_func_fabsl_use=no
58058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58059 ac_ext=c
58060 ac_cpp='$CPP $CPPFLAGS'
58061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
58070 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
58072 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
58073 for ac_func in fabsl
58074 do :
58075 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
58076 if test "x$ac_cv_func_fabsl" = x""yes; then :
58077 cat >>confdefs.h <<_ACEOF
58078 #define HAVE_FABSL 1
58079 _ACEOF
58082 done
58084 else
58086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
58087 $as_echo_n "checking for _fabsl declaration... " >&6; }
58088 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
58089 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
58090 $as_echo_n "(cached) " >&6
58091 else
58094 ac_ext=cpp
58095 ac_cpp='$CXXCPP $CPPFLAGS'
58096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58101 /* end confdefs.h. */
58102 #include <math.h>
58103 #ifdef HAVE_IEEEFP_H
58104 #include <ieeefp.h>
58105 #endif
58108 main ()
58110 _fabsl(0);
58112 return 0;
58114 _ACEOF
58115 if ac_fn_cxx_try_compile "$LINENO"; then :
58116 glibcxx_cv_func__fabsl_use=yes
58117 else
58118 glibcxx_cv_func__fabsl_use=no
58120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58121 ac_ext=c
58122 ac_cpp='$CPP $CPPFLAGS'
58123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
58132 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
58134 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
58135 for ac_func in _fabsl
58136 do :
58137 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
58138 if test "x$ac_cv_func__fabsl" = x""yes; then :
58139 cat >>confdefs.h <<_ACEOF
58140 #define HAVE__FABSL 1
58141 _ACEOF
58144 done
58153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
58154 $as_echo_n "checking for fmodl declaration... " >&6; }
58155 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
58156 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
58157 $as_echo_n "(cached) " >&6
58158 else
58161 ac_ext=cpp
58162 ac_cpp='$CXXCPP $CPPFLAGS'
58163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58168 /* end confdefs.h. */
58169 #include <math.h>
58171 main ()
58173 fmodl(0, 0);
58175 return 0;
58177 _ACEOF
58178 if ac_fn_cxx_try_compile "$LINENO"; then :
58179 glibcxx_cv_func_fmodl_use=yes
58180 else
58181 glibcxx_cv_func_fmodl_use=no
58183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58184 ac_ext=c
58185 ac_cpp='$CPP $CPPFLAGS'
58186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
58195 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
58197 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
58198 for ac_func in fmodl
58199 do :
58200 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
58201 if test "x$ac_cv_func_fmodl" = x""yes; then :
58202 cat >>confdefs.h <<_ACEOF
58203 #define HAVE_FMODL 1
58204 _ACEOF
58207 done
58209 else
58211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
58212 $as_echo_n "checking for _fmodl declaration... " >&6; }
58213 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
58214 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
58215 $as_echo_n "(cached) " >&6
58216 else
58219 ac_ext=cpp
58220 ac_cpp='$CXXCPP $CPPFLAGS'
58221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58226 /* end confdefs.h. */
58227 #include <math.h>
58229 main ()
58231 _fmodl(0, 0);
58233 return 0;
58235 _ACEOF
58236 if ac_fn_cxx_try_compile "$LINENO"; then :
58237 glibcxx_cv_func__fmodl_use=yes
58238 else
58239 glibcxx_cv_func__fmodl_use=no
58241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58242 ac_ext=c
58243 ac_cpp='$CPP $CPPFLAGS'
58244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58253 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58255 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58256 for ac_func in _fmodl
58257 do :
58258 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58259 if test "x$ac_cv_func__fmodl" = x""yes; then :
58260 cat >>confdefs.h <<_ACEOF
58261 #define HAVE__FMODL 1
58262 _ACEOF
58265 done
58274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58275 $as_echo_n "checking for frexpl declaration... " >&6; }
58276 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58277 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
58278 $as_echo_n "(cached) " >&6
58279 else
58282 ac_ext=cpp
58283 ac_cpp='$CXXCPP $CPPFLAGS'
58284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58289 /* end confdefs.h. */
58290 #include <math.h>
58292 main ()
58294 frexpl(0, 0);
58296 return 0;
58298 _ACEOF
58299 if ac_fn_cxx_try_compile "$LINENO"; then :
58300 glibcxx_cv_func_frexpl_use=yes
58301 else
58302 glibcxx_cv_func_frexpl_use=no
58304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58305 ac_ext=c
58306 ac_cpp='$CPP $CPPFLAGS'
58307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58316 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58318 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58319 for ac_func in frexpl
58320 do :
58321 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58322 if test "x$ac_cv_func_frexpl" = x""yes; then :
58323 cat >>confdefs.h <<_ACEOF
58324 #define HAVE_FREXPL 1
58325 _ACEOF
58328 done
58330 else
58332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58333 $as_echo_n "checking for _frexpl declaration... " >&6; }
58334 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58335 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
58336 $as_echo_n "(cached) " >&6
58337 else
58340 ac_ext=cpp
58341 ac_cpp='$CXXCPP $CPPFLAGS'
58342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58347 /* end confdefs.h. */
58348 #include <math.h>
58350 main ()
58352 _frexpl(0, 0);
58354 return 0;
58356 _ACEOF
58357 if ac_fn_cxx_try_compile "$LINENO"; then :
58358 glibcxx_cv_func__frexpl_use=yes
58359 else
58360 glibcxx_cv_func__frexpl_use=no
58362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58363 ac_ext=c
58364 ac_cpp='$CPP $CPPFLAGS'
58365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58374 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58376 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58377 for ac_func in _frexpl
58378 do :
58379 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58380 if test "x$ac_cv_func__frexpl" = x""yes; then :
58381 cat >>confdefs.h <<_ACEOF
58382 #define HAVE__FREXPL 1
58383 _ACEOF
58386 done
58395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58396 $as_echo_n "checking for hypotl declaration... " >&6; }
58397 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58398 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
58399 $as_echo_n "(cached) " >&6
58400 else
58403 ac_ext=cpp
58404 ac_cpp='$CXXCPP $CPPFLAGS'
58405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58410 /* end confdefs.h. */
58411 #include <math.h>
58413 main ()
58415 hypotl(0, 0);
58417 return 0;
58419 _ACEOF
58420 if ac_fn_cxx_try_compile "$LINENO"; then :
58421 glibcxx_cv_func_hypotl_use=yes
58422 else
58423 glibcxx_cv_func_hypotl_use=no
58425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58426 ac_ext=c
58427 ac_cpp='$CPP $CPPFLAGS'
58428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58437 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58439 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58440 for ac_func in hypotl
58441 do :
58442 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58443 if test "x$ac_cv_func_hypotl" = x""yes; then :
58444 cat >>confdefs.h <<_ACEOF
58445 #define HAVE_HYPOTL 1
58446 _ACEOF
58449 done
58451 else
58453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58454 $as_echo_n "checking for _hypotl declaration... " >&6; }
58455 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58456 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
58457 $as_echo_n "(cached) " >&6
58458 else
58461 ac_ext=cpp
58462 ac_cpp='$CXXCPP $CPPFLAGS'
58463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58468 /* end confdefs.h. */
58469 #include <math.h>
58471 main ()
58473 _hypotl(0, 0);
58475 return 0;
58477 _ACEOF
58478 if ac_fn_cxx_try_compile "$LINENO"; then :
58479 glibcxx_cv_func__hypotl_use=yes
58480 else
58481 glibcxx_cv_func__hypotl_use=no
58483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58484 ac_ext=c
58485 ac_cpp='$CPP $CPPFLAGS'
58486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
58495 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
58497 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58498 for ac_func in _hypotl
58499 do :
58500 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
58501 if test "x$ac_cv_func__hypotl" = x""yes; then :
58502 cat >>confdefs.h <<_ACEOF
58503 #define HAVE__HYPOTL 1
58504 _ACEOF
58507 done
58516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
58517 $as_echo_n "checking for ldexpl declaration... " >&6; }
58518 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58519 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
58520 $as_echo_n "(cached) " >&6
58521 else
58524 ac_ext=cpp
58525 ac_cpp='$CXXCPP $CPPFLAGS'
58526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58531 /* end confdefs.h. */
58532 #include <math.h>
58534 main ()
58536 ldexpl(0, 0);
58538 return 0;
58540 _ACEOF
58541 if ac_fn_cxx_try_compile "$LINENO"; then :
58542 glibcxx_cv_func_ldexpl_use=yes
58543 else
58544 glibcxx_cv_func_ldexpl_use=no
58546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58547 ac_ext=c
58548 ac_cpp='$CPP $CPPFLAGS'
58549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
58558 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
58560 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58561 for ac_func in ldexpl
58562 do :
58563 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
58564 if test "x$ac_cv_func_ldexpl" = x""yes; then :
58565 cat >>confdefs.h <<_ACEOF
58566 #define HAVE_LDEXPL 1
58567 _ACEOF
58570 done
58572 else
58574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
58575 $as_echo_n "checking for _ldexpl declaration... " >&6; }
58576 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58577 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
58578 $as_echo_n "(cached) " >&6
58579 else
58582 ac_ext=cpp
58583 ac_cpp='$CXXCPP $CPPFLAGS'
58584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58589 /* end confdefs.h. */
58590 #include <math.h>
58592 main ()
58594 _ldexpl(0, 0);
58596 return 0;
58598 _ACEOF
58599 if ac_fn_cxx_try_compile "$LINENO"; then :
58600 glibcxx_cv_func__ldexpl_use=yes
58601 else
58602 glibcxx_cv_func__ldexpl_use=no
58604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58605 ac_ext=c
58606 ac_cpp='$CPP $CPPFLAGS'
58607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
58616 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
58618 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58619 for ac_func in _ldexpl
58620 do :
58621 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
58622 if test "x$ac_cv_func__ldexpl" = x""yes; then :
58623 cat >>confdefs.h <<_ACEOF
58624 #define HAVE__LDEXPL 1
58625 _ACEOF
58628 done
58637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
58638 $as_echo_n "checking for logl declaration... " >&6; }
58639 if test x${glibcxx_cv_func_logl_use+set} != xset; then
58640 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
58641 $as_echo_n "(cached) " >&6
58642 else
58645 ac_ext=cpp
58646 ac_cpp='$CXXCPP $CPPFLAGS'
58647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58652 /* end confdefs.h. */
58653 #include <math.h>
58654 #ifdef HAVE_IEEEFP_H
58655 #include <ieeefp.h>
58656 #endif
58659 main ()
58661 logl(0);
58663 return 0;
58665 _ACEOF
58666 if ac_fn_cxx_try_compile "$LINENO"; then :
58667 glibcxx_cv_func_logl_use=yes
58668 else
58669 glibcxx_cv_func_logl_use=no
58671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58672 ac_ext=c
58673 ac_cpp='$CPP $CPPFLAGS'
58674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
58683 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
58685 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58686 for ac_func in logl
58687 do :
58688 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
58689 if test "x$ac_cv_func_logl" = x""yes; then :
58690 cat >>confdefs.h <<_ACEOF
58691 #define HAVE_LOGL 1
58692 _ACEOF
58695 done
58697 else
58699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
58700 $as_echo_n "checking for _logl declaration... " >&6; }
58701 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58702 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
58703 $as_echo_n "(cached) " >&6
58704 else
58707 ac_ext=cpp
58708 ac_cpp='$CXXCPP $CPPFLAGS'
58709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58714 /* end confdefs.h. */
58715 #include <math.h>
58716 #ifdef HAVE_IEEEFP_H
58717 #include <ieeefp.h>
58718 #endif
58721 main ()
58723 _logl(0);
58725 return 0;
58727 _ACEOF
58728 if ac_fn_cxx_try_compile "$LINENO"; then :
58729 glibcxx_cv_func__logl_use=yes
58730 else
58731 glibcxx_cv_func__logl_use=no
58733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58734 ac_ext=c
58735 ac_cpp='$CPP $CPPFLAGS'
58736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
58745 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
58747 if test x$glibcxx_cv_func__logl_use = x"yes"; then
58748 for ac_func in _logl
58749 do :
58750 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
58751 if test "x$ac_cv_func__logl" = x""yes; then :
58752 cat >>confdefs.h <<_ACEOF
58753 #define HAVE__LOGL 1
58754 _ACEOF
58757 done
58766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
58767 $as_echo_n "checking for log10l declaration... " >&6; }
58768 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58769 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
58770 $as_echo_n "(cached) " >&6
58771 else
58774 ac_ext=cpp
58775 ac_cpp='$CXXCPP $CPPFLAGS'
58776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58781 /* end confdefs.h. */
58782 #include <math.h>
58783 #ifdef HAVE_IEEEFP_H
58784 #include <ieeefp.h>
58785 #endif
58788 main ()
58790 log10l(0);
58792 return 0;
58794 _ACEOF
58795 if ac_fn_cxx_try_compile "$LINENO"; then :
58796 glibcxx_cv_func_log10l_use=yes
58797 else
58798 glibcxx_cv_func_log10l_use=no
58800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58801 ac_ext=c
58802 ac_cpp='$CPP $CPPFLAGS'
58803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
58812 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
58814 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58815 for ac_func in log10l
58816 do :
58817 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
58818 if test "x$ac_cv_func_log10l" = x""yes; then :
58819 cat >>confdefs.h <<_ACEOF
58820 #define HAVE_LOG10L 1
58821 _ACEOF
58824 done
58826 else
58828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
58829 $as_echo_n "checking for _log10l declaration... " >&6; }
58830 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58831 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
58832 $as_echo_n "(cached) " >&6
58833 else
58836 ac_ext=cpp
58837 ac_cpp='$CXXCPP $CPPFLAGS'
58838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58843 /* end confdefs.h. */
58844 #include <math.h>
58845 #ifdef HAVE_IEEEFP_H
58846 #include <ieeefp.h>
58847 #endif
58850 main ()
58852 _log10l(0);
58854 return 0;
58856 _ACEOF
58857 if ac_fn_cxx_try_compile "$LINENO"; then :
58858 glibcxx_cv_func__log10l_use=yes
58859 else
58860 glibcxx_cv_func__log10l_use=no
58862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58863 ac_ext=c
58864 ac_cpp='$CPP $CPPFLAGS'
58865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
58874 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
58876 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58877 for ac_func in _log10l
58878 do :
58879 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
58880 if test "x$ac_cv_func__log10l" = x""yes; then :
58881 cat >>confdefs.h <<_ACEOF
58882 #define HAVE__LOG10L 1
58883 _ACEOF
58886 done
58895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
58896 $as_echo_n "checking for modfl declaration... " >&6; }
58897 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58898 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
58899 $as_echo_n "(cached) " >&6
58900 else
58903 ac_ext=cpp
58904 ac_cpp='$CXXCPP $CPPFLAGS'
58905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58910 /* end confdefs.h. */
58911 #include <math.h>
58913 main ()
58915 modfl(0, 0);
58917 return 0;
58919 _ACEOF
58920 if ac_fn_cxx_try_compile "$LINENO"; then :
58921 glibcxx_cv_func_modfl_use=yes
58922 else
58923 glibcxx_cv_func_modfl_use=no
58925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58926 ac_ext=c
58927 ac_cpp='$CPP $CPPFLAGS'
58928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
58937 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
58939 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
58940 for ac_func in modfl
58941 do :
58942 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
58943 if test "x$ac_cv_func_modfl" = x""yes; then :
58944 cat >>confdefs.h <<_ACEOF
58945 #define HAVE_MODFL 1
58946 _ACEOF
58949 done
58951 else
58953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
58954 $as_echo_n "checking for _modfl declaration... " >&6; }
58955 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
58956 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
58957 $as_echo_n "(cached) " >&6
58958 else
58961 ac_ext=cpp
58962 ac_cpp='$CXXCPP $CPPFLAGS'
58963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58968 /* end confdefs.h. */
58969 #include <math.h>
58971 main ()
58973 _modfl(0, 0);
58975 return 0;
58977 _ACEOF
58978 if ac_fn_cxx_try_compile "$LINENO"; then :
58979 glibcxx_cv_func__modfl_use=yes
58980 else
58981 glibcxx_cv_func__modfl_use=no
58983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58984 ac_ext=c
58985 ac_cpp='$CPP $CPPFLAGS'
58986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
58995 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
58997 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
58998 for ac_func in _modfl
58999 do :
59000 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
59001 if test "x$ac_cv_func__modfl" = x""yes; then :
59002 cat >>confdefs.h <<_ACEOF
59003 #define HAVE__MODFL 1
59004 _ACEOF
59007 done
59016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
59017 $as_echo_n "checking for powl declaration... " >&6; }
59018 if test x${glibcxx_cv_func_powl_use+set} != xset; then
59019 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
59020 $as_echo_n "(cached) " >&6
59021 else
59024 ac_ext=cpp
59025 ac_cpp='$CXXCPP $CPPFLAGS'
59026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59031 /* end confdefs.h. */
59032 #include <math.h>
59034 main ()
59036 powl(0, 0);
59038 return 0;
59040 _ACEOF
59041 if ac_fn_cxx_try_compile "$LINENO"; then :
59042 glibcxx_cv_func_powl_use=yes
59043 else
59044 glibcxx_cv_func_powl_use=no
59046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59047 ac_ext=c
59048 ac_cpp='$CPP $CPPFLAGS'
59049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
59058 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
59060 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59061 for ac_func in powl
59062 do :
59063 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
59064 if test "x$ac_cv_func_powl" = x""yes; then :
59065 cat >>confdefs.h <<_ACEOF
59066 #define HAVE_POWL 1
59067 _ACEOF
59070 done
59072 else
59074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
59075 $as_echo_n "checking for _powl declaration... " >&6; }
59076 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59077 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
59078 $as_echo_n "(cached) " >&6
59079 else
59082 ac_ext=cpp
59083 ac_cpp='$CXXCPP $CPPFLAGS'
59084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59089 /* end confdefs.h. */
59090 #include <math.h>
59092 main ()
59094 _powl(0, 0);
59096 return 0;
59098 _ACEOF
59099 if ac_fn_cxx_try_compile "$LINENO"; then :
59100 glibcxx_cv_func__powl_use=yes
59101 else
59102 glibcxx_cv_func__powl_use=no
59104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59105 ac_ext=c
59106 ac_cpp='$CPP $CPPFLAGS'
59107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
59116 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
59118 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59119 for ac_func in _powl
59120 do :
59121 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
59122 if test "x$ac_cv_func__powl" = x""yes; then :
59123 cat >>confdefs.h <<_ACEOF
59124 #define HAVE__POWL 1
59125 _ACEOF
59128 done
59137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
59138 $as_echo_n "checking for sqrtl declaration... " >&6; }
59139 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59140 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
59141 $as_echo_n "(cached) " >&6
59142 else
59145 ac_ext=cpp
59146 ac_cpp='$CXXCPP $CPPFLAGS'
59147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59152 /* end confdefs.h. */
59153 #include <math.h>
59154 #ifdef HAVE_IEEEFP_H
59155 #include <ieeefp.h>
59156 #endif
59159 main ()
59161 sqrtl(0);
59163 return 0;
59165 _ACEOF
59166 if ac_fn_cxx_try_compile "$LINENO"; then :
59167 glibcxx_cv_func_sqrtl_use=yes
59168 else
59169 glibcxx_cv_func_sqrtl_use=no
59171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59172 ac_ext=c
59173 ac_cpp='$CPP $CPPFLAGS'
59174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
59183 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
59185 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59186 for ac_func in sqrtl
59187 do :
59188 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
59189 if test "x$ac_cv_func_sqrtl" = x""yes; then :
59190 cat >>confdefs.h <<_ACEOF
59191 #define HAVE_SQRTL 1
59192 _ACEOF
59195 done
59197 else
59199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
59200 $as_echo_n "checking for _sqrtl declaration... " >&6; }
59201 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59202 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
59203 $as_echo_n "(cached) " >&6
59204 else
59207 ac_ext=cpp
59208 ac_cpp='$CXXCPP $CPPFLAGS'
59209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59214 /* end confdefs.h. */
59215 #include <math.h>
59216 #ifdef HAVE_IEEEFP_H
59217 #include <ieeefp.h>
59218 #endif
59221 main ()
59223 _sqrtl(0);
59225 return 0;
59227 _ACEOF
59228 if ac_fn_cxx_try_compile "$LINENO"; then :
59229 glibcxx_cv_func__sqrtl_use=yes
59230 else
59231 glibcxx_cv_func__sqrtl_use=no
59233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59234 ac_ext=c
59235 ac_cpp='$CPP $CPPFLAGS'
59236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59245 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59247 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59248 for ac_func in _sqrtl
59249 do :
59250 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59251 if test "x$ac_cv_func__sqrtl" = x""yes; then :
59252 cat >>confdefs.h <<_ACEOF
59253 #define HAVE__SQRTL 1
59254 _ACEOF
59257 done
59266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59267 $as_echo_n "checking for sincosl declaration... " >&6; }
59268 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59269 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
59270 $as_echo_n "(cached) " >&6
59271 else
59274 ac_ext=cpp
59275 ac_cpp='$CXXCPP $CPPFLAGS'
59276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59281 /* end confdefs.h. */
59282 #include <math.h>
59284 main ()
59286 sincosl(0, 0, 0);
59288 return 0;
59290 _ACEOF
59291 if ac_fn_cxx_try_compile "$LINENO"; then :
59292 glibcxx_cv_func_sincosl_use=yes
59293 else
59294 glibcxx_cv_func_sincosl_use=no
59296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59297 ac_ext=c
59298 ac_cpp='$CPP $CPPFLAGS'
59299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59308 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59310 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59311 for ac_func in sincosl
59312 do :
59313 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59314 if test "x$ac_cv_func_sincosl" = x""yes; then :
59315 cat >>confdefs.h <<_ACEOF
59316 #define HAVE_SINCOSL 1
59317 _ACEOF
59320 done
59322 else
59324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59325 $as_echo_n "checking for _sincosl declaration... " >&6; }
59326 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59327 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
59328 $as_echo_n "(cached) " >&6
59329 else
59332 ac_ext=cpp
59333 ac_cpp='$CXXCPP $CPPFLAGS'
59334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59339 /* end confdefs.h. */
59340 #include <math.h>
59342 main ()
59344 _sincosl(0, 0, 0);
59346 return 0;
59348 _ACEOF
59349 if ac_fn_cxx_try_compile "$LINENO"; then :
59350 glibcxx_cv_func__sincosl_use=yes
59351 else
59352 glibcxx_cv_func__sincosl_use=no
59354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59355 ac_ext=c
59356 ac_cpp='$CPP $CPPFLAGS'
59357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59366 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59368 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59369 for ac_func in _sincosl
59370 do :
59371 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59372 if test "x$ac_cv_func__sincosl" = x""yes; then :
59373 cat >>confdefs.h <<_ACEOF
59374 #define HAVE__SINCOSL 1
59375 _ACEOF
59378 done
59387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59388 $as_echo_n "checking for finitel declaration... " >&6; }
59389 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59390 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
59391 $as_echo_n "(cached) " >&6
59392 else
59395 ac_ext=cpp
59396 ac_cpp='$CXXCPP $CPPFLAGS'
59397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59402 /* end confdefs.h. */
59403 #include <math.h>
59404 #ifdef HAVE_IEEEFP_H
59405 #include <ieeefp.h>
59406 #endif
59409 main ()
59411 finitel(0);
59413 return 0;
59415 _ACEOF
59416 if ac_fn_cxx_try_compile "$LINENO"; then :
59417 glibcxx_cv_func_finitel_use=yes
59418 else
59419 glibcxx_cv_func_finitel_use=no
59421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59422 ac_ext=c
59423 ac_cpp='$CPP $CPPFLAGS'
59424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59433 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59435 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59436 for ac_func in finitel
59437 do :
59438 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59439 if test "x$ac_cv_func_finitel" = x""yes; then :
59440 cat >>confdefs.h <<_ACEOF
59441 #define HAVE_FINITEL 1
59442 _ACEOF
59445 done
59447 else
59449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59450 $as_echo_n "checking for _finitel declaration... " >&6; }
59451 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59452 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
59453 $as_echo_n "(cached) " >&6
59454 else
59457 ac_ext=cpp
59458 ac_cpp='$CXXCPP $CPPFLAGS'
59459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59464 /* end confdefs.h. */
59465 #include <math.h>
59466 #ifdef HAVE_IEEEFP_H
59467 #include <ieeefp.h>
59468 #endif
59471 main ()
59473 _finitel(0);
59475 return 0;
59477 _ACEOF
59478 if ac_fn_cxx_try_compile "$LINENO"; then :
59479 glibcxx_cv_func__finitel_use=yes
59480 else
59481 glibcxx_cv_func__finitel_use=no
59483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59484 ac_ext=c
59485 ac_cpp='$CPP $CPPFLAGS'
59486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
59495 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
59497 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59498 for ac_func in _finitel
59499 do :
59500 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
59501 if test "x$ac_cv_func__finitel" = x""yes; then :
59502 cat >>confdefs.h <<_ACEOF
59503 #define HAVE__FINITEL 1
59504 _ACEOF
59507 done
59515 LIBS="$ac_save_LIBS"
59516 CXXFLAGS="$ac_save_CXXFLAGS"
59519 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59520 ac_save_CXXFLAGS="$CXXFLAGS"
59521 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
59525 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
59526 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
59527 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
59528 $as_echo_n "(cached) " >&6
59529 else
59532 ac_ext=cpp
59533 ac_cpp='$CXXCPP $CPPFLAGS'
59534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59539 /* end confdefs.h. */
59540 #include <stdlib.h>
59542 main ()
59544 at_quick_exit(0);
59546 return 0;
59548 _ACEOF
59549 if ac_fn_cxx_try_compile "$LINENO"; then :
59550 glibcxx_cv_func_at_quick_exit_use=yes
59551 else
59552 glibcxx_cv_func_at_quick_exit_use=no
59554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59555 ac_ext=c
59556 ac_cpp='$CPP $CPPFLAGS'
59557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
59566 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
59567 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
59568 for ac_func in at_quick_exit
59569 do :
59570 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
59571 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
59572 cat >>confdefs.h <<_ACEOF
59573 #define HAVE_AT_QUICK_EXIT 1
59574 _ACEOF
59577 done
59582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
59583 $as_echo_n "checking for quick_exit declaration... " >&6; }
59584 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
59585 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
59586 $as_echo_n "(cached) " >&6
59587 else
59590 ac_ext=cpp
59591 ac_cpp='$CXXCPP $CPPFLAGS'
59592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59597 /* end confdefs.h. */
59598 #include <stdlib.h>
59600 main ()
59602 quick_exit(0);
59604 return 0;
59606 _ACEOF
59607 if ac_fn_cxx_try_compile "$LINENO"; then :
59608 glibcxx_cv_func_quick_exit_use=yes
59609 else
59610 glibcxx_cv_func_quick_exit_use=no
59612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59613 ac_ext=c
59614 ac_cpp='$CPP $CPPFLAGS'
59615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
59624 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
59625 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
59626 for ac_func in quick_exit
59627 do :
59628 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
59629 if test "x$ac_cv_func_quick_exit" = x""yes; then :
59630 cat >>confdefs.h <<_ACEOF
59631 #define HAVE_QUICK_EXIT 1
59632 _ACEOF
59635 done
59640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
59641 $as_echo_n "checking for strtold declaration... " >&6; }
59642 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
59643 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
59644 $as_echo_n "(cached) " >&6
59645 else
59648 ac_ext=cpp
59649 ac_cpp='$CXXCPP $CPPFLAGS'
59650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59655 /* end confdefs.h. */
59656 #include <stdlib.h>
59658 main ()
59660 strtold(0, 0);
59662 return 0;
59664 _ACEOF
59665 if ac_fn_cxx_try_compile "$LINENO"; then :
59666 glibcxx_cv_func_strtold_use=yes
59667 else
59668 glibcxx_cv_func_strtold_use=no
59670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59671 ac_ext=c
59672 ac_cpp='$CPP $CPPFLAGS'
59673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
59682 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
59683 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
59684 for ac_func in strtold
59685 do :
59686 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
59687 if test "x$ac_cv_func_strtold" = x""yes; then :
59688 cat >>confdefs.h <<_ACEOF
59689 #define HAVE_STRTOLD 1
59690 _ACEOF
59693 done
59700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
59701 $as_echo_n "checking for strtof declaration... " >&6; }
59702 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
59703 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
59704 $as_echo_n "(cached) " >&6
59705 else
59708 ac_ext=cpp
59709 ac_cpp='$CXXCPP $CPPFLAGS'
59710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59715 /* end confdefs.h. */
59716 #include <stdlib.h>
59718 main ()
59720 strtof(0, 0);
59722 return 0;
59724 _ACEOF
59725 if ac_fn_cxx_try_compile "$LINENO"; then :
59726 glibcxx_cv_func_strtof_use=yes
59727 else
59728 glibcxx_cv_func_strtof_use=no
59730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59731 ac_ext=c
59732 ac_cpp='$CPP $CPPFLAGS'
59733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
59742 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
59743 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
59744 for ac_func in strtof
59745 do :
59746 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
59747 if test "x$ac_cv_func_strtof" = x""yes; then :
59748 cat >>confdefs.h <<_ACEOF
59749 #define HAVE_STRTOF 1
59750 _ACEOF
59753 done
59760 CXXFLAGS="$ac_save_CXXFLAGS"
59762 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
59766 # Check whether --enable-tls was given.
59767 if test "${enable_tls+set}" = set; then :
59768 enableval=$enable_tls;
59769 case "$enableval" in
59770 yes|no) ;;
59771 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
59772 esac
59774 else
59775 enable_tls=yes
59779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
59780 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
59781 if test "${gcc_cv_have_tls+set}" = set; then :
59782 $as_echo_n "(cached) " >&6
59783 else
59785 if test "$cross_compiling" = yes; then :
59786 if test x$gcc_no_link = xyes; then
59787 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59790 /* end confdefs.h. */
59791 __thread int a; int b; int main() { return a = b; }
59792 _ACEOF
59793 if ac_fn_c_try_link "$LINENO"; then :
59794 chktls_save_LDFLAGS="$LDFLAGS"
59795 case $host in
59796 *-*-linux*)
59797 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
59799 esac
59800 chktls_save_CFLAGS="$CFLAGS"
59801 CFLAGS="-fPIC $CFLAGS"
59802 if test x$gcc_no_link = xyes; then
59803 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59806 /* end confdefs.h. */
59807 int f() { return 0; }
59808 _ACEOF
59809 if ac_fn_c_try_link "$LINENO"; then :
59810 if test x$gcc_no_link = xyes; then
59811 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59814 /* end confdefs.h. */
59815 __thread int a; int b; int f() { return a = b; }
59816 _ACEOF
59817 if ac_fn_c_try_link "$LINENO"; then :
59818 gcc_cv_have_tls=yes
59819 else
59820 gcc_cv_have_tls=no
59822 rm -f core conftest.err conftest.$ac_objext \
59823 conftest$ac_exeext conftest.$ac_ext
59824 else
59825 gcc_cv_have_tls=yes
59827 rm -f core conftest.err conftest.$ac_objext \
59828 conftest$ac_exeext conftest.$ac_ext
59829 CFLAGS="$chktls_save_CFLAGS"
59830 LDFLAGS="$chktls_save_LDFLAGS"
59831 else
59832 gcc_cv_have_tls=no
59834 rm -f core conftest.err conftest.$ac_objext \
59835 conftest$ac_exeext conftest.$ac_ext
59838 else
59839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59840 /* end confdefs.h. */
59841 __thread int a; int b; int main() { return a = b; }
59842 _ACEOF
59843 if ac_fn_c_try_run "$LINENO"; then :
59844 chktls_save_LDFLAGS="$LDFLAGS"
59845 LDFLAGS="-static $LDFLAGS"
59846 if test x$gcc_no_link = xyes; then
59847 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59850 /* end confdefs.h. */
59851 int main() { return 0; }
59852 _ACEOF
59853 if ac_fn_c_try_link "$LINENO"; then :
59854 if test "$cross_compiling" = yes; then :
59855 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59856 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59857 as_fn_error "cannot run test program while cross compiling
59858 See \`config.log' for more details." "$LINENO" 5; }
59859 else
59860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59861 /* end confdefs.h. */
59862 __thread int a; int b; int main() { return a = b; }
59863 _ACEOF
59864 if ac_fn_c_try_run "$LINENO"; then :
59865 gcc_cv_have_tls=yes
59866 else
59867 gcc_cv_have_tls=no
59869 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59870 conftest.$ac_objext conftest.beam conftest.$ac_ext
59873 else
59874 gcc_cv_have_tls=yes
59876 rm -f core conftest.err conftest.$ac_objext \
59877 conftest$ac_exeext conftest.$ac_ext
59878 LDFLAGS="$chktls_save_LDFLAGS"
59879 if test $gcc_cv_have_tls = yes; then
59880 chktls_save_CFLAGS="$CFLAGS"
59881 thread_CFLAGS=failed
59882 for flag in '' '-pthread' '-lpthread'; do
59883 CFLAGS="$flag $chktls_save_CFLAGS"
59884 if test x$gcc_no_link = xyes; then
59885 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59888 /* end confdefs.h. */
59889 #include <pthread.h>
59890 void *g(void *d) { return NULL; }
59892 main ()
59894 pthread_t t; pthread_create(&t,NULL,g,NULL);
59896 return 0;
59898 _ACEOF
59899 if ac_fn_c_try_link "$LINENO"; then :
59900 thread_CFLAGS="$flag"
59902 rm -f core conftest.err conftest.$ac_objext \
59903 conftest$ac_exeext conftest.$ac_ext
59904 if test "X$thread_CFLAGS" != Xfailed; then
59905 break
59907 done
59908 CFLAGS="$chktls_save_CFLAGS"
59909 if test "X$thread_CFLAGS" != Xfailed; then
59910 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
59911 if test "$cross_compiling" = yes; then :
59912 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59913 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59914 as_fn_error "cannot run test program while cross compiling
59915 See \`config.log' for more details." "$LINENO" 5; }
59916 else
59917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59918 /* end confdefs.h. */
59919 #include <pthread.h>
59920 __thread int a;
59921 static int *volatile a_in_other_thread;
59922 static void *
59923 thread_func (void *arg)
59925 a_in_other_thread = &a;
59926 return (void *)0;
59929 main ()
59931 pthread_t thread;
59932 void *thread_retval;
59933 int *volatile a_in_main_thread;
59934 a_in_main_thread = &a;
59935 if (pthread_create (&thread, (pthread_attr_t *)0,
59936 thread_func, (void *)0))
59937 return 0;
59938 if (pthread_join (thread, &thread_retval))
59939 return 0;
59940 return (a_in_other_thread == a_in_main_thread);
59942 return 0;
59944 _ACEOF
59945 if ac_fn_c_try_run "$LINENO"; then :
59946 gcc_cv_have_tls=yes
59947 else
59948 gcc_cv_have_tls=no
59950 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59951 conftest.$ac_objext conftest.beam conftest.$ac_ext
59954 CFLAGS="$chktls_save_CFLAGS"
59957 else
59958 gcc_cv_have_tls=no
59960 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59961 conftest.$ac_objext conftest.beam conftest.$ac_ext
59965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
59966 $as_echo "$gcc_cv_have_tls" >&6; }
59967 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
59969 $as_echo "#define HAVE_TLS 1" >>confdefs.h
59972 for ac_func in __cxa_thread_atexit_impl
59973 do :
59974 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
59975 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
59976 cat >>confdefs.h <<_ACEOF
59977 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
59978 _ACEOF
59981 done
59983 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
59984 do :
59985 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59986 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59987 eval as_val=\$$as_ac_var
59988 if test "x$as_val" = x""yes; then :
59989 cat >>confdefs.h <<_ACEOF
59990 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59991 _ACEOF
59994 done
60001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
60002 $as_echo_n "checking for iconv... " >&6; }
60003 if test "${am_cv_func_iconv+set}" = set; then :
60004 $as_echo_n "(cached) " >&6
60005 else
60007 am_cv_func_iconv="no, consider installing GNU libiconv"
60008 am_cv_lib_iconv=no
60009 am_save_CPPFLAGS="$CPPFLAGS"
60010 CPPFLAGS="$CPPFLAGS $INCICONV"
60011 if test x$gcc_no_link = xyes; then
60012 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60015 /* end confdefs.h. */
60016 #include <stdlib.h>
60017 #include <iconv.h>
60019 main ()
60021 iconv_t cd = iconv_open("","");
60022 iconv(cd,NULL,NULL,NULL,NULL);
60023 iconv_close(cd);
60025 return 0;
60027 _ACEOF
60028 if ac_fn_c_try_link "$LINENO"; then :
60029 am_cv_func_iconv=yes
60031 rm -f core conftest.err conftest.$ac_objext \
60032 conftest$ac_exeext conftest.$ac_ext
60033 CPPFLAGS="$am_save_CPPFLAGS"
60035 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
60036 for _libs in .libs _libs; do
60037 am_save_CPPFLAGS="$CPPFLAGS"
60038 am_save_LIBS="$LIBS"
60039 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
60040 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
60041 if test x$gcc_no_link = xyes; then
60042 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60045 /* end confdefs.h. */
60046 #include <stdlib.h>
60047 #include <iconv.h>
60049 main ()
60051 iconv_t cd = iconv_open("","");
60052 iconv(cd,NULL,NULL,NULL,NULL);
60053 iconv_close(cd);
60055 return 0;
60057 _ACEOF
60058 if ac_fn_c_try_link "$LINENO"; then :
60059 INCICONV="-I../libiconv/include"
60060 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
60061 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
60062 am_cv_lib_iconv=yes
60063 am_cv_func_iconv=yes
60065 rm -f core conftest.err conftest.$ac_objext \
60066 conftest$ac_exeext conftest.$ac_ext
60067 CPPFLAGS="$am_save_CPPFLAGS"
60068 LIBS="$am_save_LIBS"
60069 if test "$am_cv_func_iconv" = "yes"; then
60070 break
60072 done
60075 if test "$am_cv_func_iconv" != yes; then
60076 am_save_CPPFLAGS="$CPPFLAGS"
60077 am_save_LIBS="$LIBS"
60078 CPPFLAGS="$LIBS $INCICONV"
60079 LIBS="$LIBS $LIBICONV"
60080 if test x$gcc_no_link = xyes; then
60081 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60084 /* end confdefs.h. */
60085 #include <stdlib.h>
60086 #include <iconv.h>
60088 main ()
60090 iconv_t cd = iconv_open("","");
60091 iconv(cd,NULL,NULL,NULL,NULL);
60092 iconv_close(cd);
60094 return 0;
60096 _ACEOF
60097 if ac_fn_c_try_link "$LINENO"; then :
60098 am_cv_lib_iconv=yes
60099 am_cv_func_iconv=yes
60101 rm -f core conftest.err conftest.$ac_objext \
60102 conftest$ac_exeext conftest.$ac_ext
60103 CPPFLAGS="$am_save_CPPFLAGS"
60104 LIBS="$am_save_LIBS"
60108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
60109 $as_echo "$am_cv_func_iconv" >&6; }
60110 if test "$am_cv_func_iconv" = yes; then
60112 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
60115 if test "$am_cv_lib_iconv" = yes; then
60117 for element in $INCICONV; do
60118 haveit=
60119 for x in $CPPFLAGS; do
60121 acl_save_prefix="$prefix"
60122 prefix="$acl_final_prefix"
60123 acl_save_exec_prefix="$exec_prefix"
60124 exec_prefix="$acl_final_exec_prefix"
60125 eval x=\"$x\"
60126 exec_prefix="$acl_save_exec_prefix"
60127 prefix="$acl_save_prefix"
60129 if test "X$x" = "X$element"; then
60130 haveit=yes
60131 break
60133 done
60134 if test -z "$haveit"; then
60135 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
60137 done
60139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
60140 $as_echo_n "checking how to link with libiconv... " >&6; }
60141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
60142 $as_echo "$LIBICONV" >&6; }
60143 else
60144 LIBICONV=
60145 LTLIBICONV=
60150 if test "$am_cv_func_iconv" = yes; then
60151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
60152 $as_echo_n "checking for iconv declaration... " >&6; }
60153 if test "${am_cv_proto_iconv+set}" = set; then :
60154 $as_echo_n "(cached) " >&6
60155 else
60157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60158 /* end confdefs.h. */
60160 #include <stdlib.h>
60161 #include <iconv.h>
60162 extern
60163 #ifdef __cplusplus
60165 #endif
60166 #if defined(__STDC__) || defined(__cplusplus)
60167 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
60168 #else
60169 size_t iconv();
60170 #endif
60173 main ()
60177 return 0;
60179 _ACEOF
60180 if ac_fn_c_try_compile "$LINENO"; then :
60181 am_cv_proto_iconv_arg1=""
60182 else
60183 am_cv_proto_iconv_arg1="const"
60185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60186 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);"
60189 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
60190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
60191 }$am_cv_proto_iconv" >&5
60192 $as_echo "${ac_t:-
60193 }$am_cv_proto_iconv" >&6; }
60195 cat >>confdefs.h <<_ACEOF
60196 #define ICONV_CONST $am_cv_proto_iconv_arg1
60197 _ACEOF
60202 *-mingw32*)
60204 # If we're not using GNU ld, then there's no point in even trying these
60205 # tests. Check for that first. We should have already tested for gld
60206 # by now (in libtool), but require it now just to be safe...
60207 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60208 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60212 # The name set by libtool depends on the version of libtool. Shame on us
60213 # for depending on an impl detail, but c'est la vie. Older versions used
60214 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60215 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60216 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60217 # set (hence we're using an older libtool), then set it.
60218 if test x${with_gnu_ld+set} != xset; then
60219 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60220 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60221 with_gnu_ld=no
60222 else
60223 with_gnu_ld=$ac_cv_prog_gnu_ld
60227 # Start by getting the version number. I think the libtool test already
60228 # does some of this, but throws away the result.
60229 glibcxx_ld_is_gold=no
60230 if test x"$with_gnu_ld" = x"yes"; then
60231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60232 $as_echo_n "checking for ld version... " >&6; }
60234 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60235 glibcxx_ld_is_gold=yes
60237 ldver=`$LD --version 2>/dev/null |
60238 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
60240 glibcxx_gnu_ld_version=`echo $ldver | \
60241 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60243 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60246 # Set --gc-sections.
60247 glibcxx_have_gc_sections=no
60248 if test "$glibcxx_ld_is_gold" = "yes"; then
60249 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60250 glibcxx_have_gc_sections=yes
60252 else
60253 glibcxx_gcsections_min_ld=21602
60254 if test x"$with_gnu_ld" = x"yes" &&
60255 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60256 glibcxx_have_gc_sections=yes
60259 if test "$glibcxx_have_gc_sections" = "yes"; then
60260 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60261 # NB: This flag only works reliably after 2.16.1. Configure tests
60262 # for this are difficult, so hard wire a value that should work.
60264 ac_test_CFLAGS="${CFLAGS+set}"
60265 ac_save_CFLAGS="$CFLAGS"
60266 CFLAGS='-Wl,--gc-sections'
60268 # Check for -Wl,--gc-sections
60269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60270 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60271 if test x$gcc_no_link = xyes; then
60272 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60275 /* end confdefs.h. */
60276 int one(void) { return 1; }
60277 int two(void) { return 2; }
60280 main ()
60282 two();
60284 return 0;
60286 _ACEOF
60287 if ac_fn_c_try_link "$LINENO"; then :
60288 ac_gcsections=yes
60289 else
60290 ac_gcsections=no
60292 rm -f core conftest.err conftest.$ac_objext \
60293 conftest$ac_exeext conftest.$ac_ext
60294 if test "$ac_gcsections" = "yes"; then
60295 rm -f conftest.c
60296 touch conftest.c
60297 if $CC -c conftest.c; then
60298 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60299 grep "Warning: gc-sections option ignored" > /dev/null; then
60300 ac_gcsections=no
60303 rm -f conftest.c conftest.o conftest
60305 if test "$ac_gcsections" = "yes"; then
60306 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60309 $as_echo "$ac_gcsections" >&6; }
60311 if test "$ac_test_CFLAGS" = set; then
60312 CFLAGS="$ac_save_CFLAGS"
60313 else
60314 # this is the suspicious part
60315 CFLAGS=''
60319 # Set -z,relro.
60320 # Note this is only for shared objects.
60321 ac_ld_relro=no
60322 if test x"$with_gnu_ld" = x"yes"; then
60323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60324 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60325 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60326 if test -n "$cxx_z_relo"; then
60327 OPT_LDFLAGS="-Wl,-z,relro"
60328 ac_ld_relro=yes
60330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60331 $as_echo "$ac_ld_relro" >&6; }
60334 # Set linker optimization flags.
60335 if test x"$with_gnu_ld" = x"yes"; then
60336 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60343 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60344 ac_save_CXXFLAGS="$CXXFLAGS"
60345 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
60348 $as_echo_n "checking for sin in -lm... " >&6; }
60349 if test "${ac_cv_lib_m_sin+set}" = set; then :
60350 $as_echo_n "(cached) " >&6
60351 else
60352 ac_check_lib_save_LIBS=$LIBS
60353 LIBS="-lm $LIBS"
60354 if test x$gcc_no_link = xyes; then
60355 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60358 /* end confdefs.h. */
60360 /* Override any GCC internal prototype to avoid an error.
60361 Use char because int might match the return type of a GCC
60362 builtin and then its argument prototype would still apply. */
60363 #ifdef __cplusplus
60364 extern "C"
60365 #endif
60366 char sin ();
60368 main ()
60370 return sin ();
60372 return 0;
60374 _ACEOF
60375 if ac_fn_c_try_link "$LINENO"; then :
60376 ac_cv_lib_m_sin=yes
60377 else
60378 ac_cv_lib_m_sin=no
60380 rm -f core conftest.err conftest.$ac_objext \
60381 conftest$ac_exeext conftest.$ac_ext
60382 LIBS=$ac_check_lib_save_LIBS
60384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
60385 $as_echo "$ac_cv_lib_m_sin" >&6; }
60386 if test "x$ac_cv_lib_m_sin" = x""yes; then :
60387 libm="-lm"
60390 ac_save_LIBS="$LIBS"
60391 LIBS="$LIBS $libm"
60395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
60396 $as_echo_n "checking for isinf declaration... " >&6; }
60397 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
60398 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
60399 $as_echo_n "(cached) " >&6
60400 else
60403 ac_ext=cpp
60404 ac_cpp='$CXXCPP $CPPFLAGS'
60405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60410 /* end confdefs.h. */
60411 #include <math.h>
60412 #ifdef HAVE_IEEEFP_H
60413 #include <ieeefp.h>
60414 #endif
60417 main ()
60419 isinf(0);
60421 return 0;
60423 _ACEOF
60424 if ac_fn_cxx_try_compile "$LINENO"; then :
60425 glibcxx_cv_func_isinf_use=yes
60426 else
60427 glibcxx_cv_func_isinf_use=no
60429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60430 ac_ext=c
60431 ac_cpp='$CPP $CPPFLAGS'
60432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
60441 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
60443 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
60444 for ac_func in isinf
60445 do :
60446 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
60447 if test "x$ac_cv_func_isinf" = x""yes; then :
60448 cat >>confdefs.h <<_ACEOF
60449 #define HAVE_ISINF 1
60450 _ACEOF
60453 done
60455 else
60457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
60458 $as_echo_n "checking for _isinf declaration... " >&6; }
60459 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
60460 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
60461 $as_echo_n "(cached) " >&6
60462 else
60465 ac_ext=cpp
60466 ac_cpp='$CXXCPP $CPPFLAGS'
60467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60472 /* end confdefs.h. */
60473 #include <math.h>
60474 #ifdef HAVE_IEEEFP_H
60475 #include <ieeefp.h>
60476 #endif
60479 main ()
60481 _isinf(0);
60483 return 0;
60485 _ACEOF
60486 if ac_fn_cxx_try_compile "$LINENO"; then :
60487 glibcxx_cv_func__isinf_use=yes
60488 else
60489 glibcxx_cv_func__isinf_use=no
60491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60492 ac_ext=c
60493 ac_cpp='$CPP $CPPFLAGS'
60494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
60503 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
60505 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
60506 for ac_func in _isinf
60507 do :
60508 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
60509 if test "x$ac_cv_func__isinf" = x""yes; then :
60510 cat >>confdefs.h <<_ACEOF
60511 #define HAVE__ISINF 1
60512 _ACEOF
60515 done
60524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
60525 $as_echo_n "checking for isnan declaration... " >&6; }
60526 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
60527 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
60528 $as_echo_n "(cached) " >&6
60529 else
60532 ac_ext=cpp
60533 ac_cpp='$CXXCPP $CPPFLAGS'
60534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60539 /* end confdefs.h. */
60540 #include <math.h>
60541 #ifdef HAVE_IEEEFP_H
60542 #include <ieeefp.h>
60543 #endif
60546 main ()
60548 isnan(0);
60550 return 0;
60552 _ACEOF
60553 if ac_fn_cxx_try_compile "$LINENO"; then :
60554 glibcxx_cv_func_isnan_use=yes
60555 else
60556 glibcxx_cv_func_isnan_use=no
60558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60559 ac_ext=c
60560 ac_cpp='$CPP $CPPFLAGS'
60561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
60570 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
60572 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
60573 for ac_func in isnan
60574 do :
60575 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
60576 if test "x$ac_cv_func_isnan" = x""yes; then :
60577 cat >>confdefs.h <<_ACEOF
60578 #define HAVE_ISNAN 1
60579 _ACEOF
60582 done
60584 else
60586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
60587 $as_echo_n "checking for _isnan declaration... " >&6; }
60588 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
60589 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
60590 $as_echo_n "(cached) " >&6
60591 else
60594 ac_ext=cpp
60595 ac_cpp='$CXXCPP $CPPFLAGS'
60596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60601 /* end confdefs.h. */
60602 #include <math.h>
60603 #ifdef HAVE_IEEEFP_H
60604 #include <ieeefp.h>
60605 #endif
60608 main ()
60610 _isnan(0);
60612 return 0;
60614 _ACEOF
60615 if ac_fn_cxx_try_compile "$LINENO"; then :
60616 glibcxx_cv_func__isnan_use=yes
60617 else
60618 glibcxx_cv_func__isnan_use=no
60620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60621 ac_ext=c
60622 ac_cpp='$CPP $CPPFLAGS'
60623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
60632 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
60634 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
60635 for ac_func in _isnan
60636 do :
60637 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
60638 if test "x$ac_cv_func__isnan" = x""yes; then :
60639 cat >>confdefs.h <<_ACEOF
60640 #define HAVE__ISNAN 1
60641 _ACEOF
60644 done
60653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
60654 $as_echo_n "checking for finite declaration... " >&6; }
60655 if test x${glibcxx_cv_func_finite_use+set} != xset; then
60656 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
60657 $as_echo_n "(cached) " >&6
60658 else
60661 ac_ext=cpp
60662 ac_cpp='$CXXCPP $CPPFLAGS'
60663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60668 /* end confdefs.h. */
60669 #include <math.h>
60670 #ifdef HAVE_IEEEFP_H
60671 #include <ieeefp.h>
60672 #endif
60675 main ()
60677 finite(0);
60679 return 0;
60681 _ACEOF
60682 if ac_fn_cxx_try_compile "$LINENO"; then :
60683 glibcxx_cv_func_finite_use=yes
60684 else
60685 glibcxx_cv_func_finite_use=no
60687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60688 ac_ext=c
60689 ac_cpp='$CPP $CPPFLAGS'
60690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
60699 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
60701 if test x$glibcxx_cv_func_finite_use = x"yes"; then
60702 for ac_func in finite
60703 do :
60704 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
60705 if test "x$ac_cv_func_finite" = x""yes; then :
60706 cat >>confdefs.h <<_ACEOF
60707 #define HAVE_FINITE 1
60708 _ACEOF
60711 done
60713 else
60715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
60716 $as_echo_n "checking for _finite declaration... " >&6; }
60717 if test x${glibcxx_cv_func__finite_use+set} != xset; then
60718 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
60719 $as_echo_n "(cached) " >&6
60720 else
60723 ac_ext=cpp
60724 ac_cpp='$CXXCPP $CPPFLAGS'
60725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60730 /* end confdefs.h. */
60731 #include <math.h>
60732 #ifdef HAVE_IEEEFP_H
60733 #include <ieeefp.h>
60734 #endif
60737 main ()
60739 _finite(0);
60741 return 0;
60743 _ACEOF
60744 if ac_fn_cxx_try_compile "$LINENO"; then :
60745 glibcxx_cv_func__finite_use=yes
60746 else
60747 glibcxx_cv_func__finite_use=no
60749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60750 ac_ext=c
60751 ac_cpp='$CPP $CPPFLAGS'
60752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
60761 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
60763 if test x$glibcxx_cv_func__finite_use = x"yes"; then
60764 for ac_func in _finite
60765 do :
60766 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
60767 if test "x$ac_cv_func__finite" = x""yes; then :
60768 cat >>confdefs.h <<_ACEOF
60769 #define HAVE__FINITE 1
60770 _ACEOF
60773 done
60782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
60783 $as_echo_n "checking for sincos declaration... " >&6; }
60784 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
60785 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
60786 $as_echo_n "(cached) " >&6
60787 else
60790 ac_ext=cpp
60791 ac_cpp='$CXXCPP $CPPFLAGS'
60792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60797 /* end confdefs.h. */
60798 #include <math.h>
60800 main ()
60802 sincos(0, 0, 0);
60804 return 0;
60806 _ACEOF
60807 if ac_fn_cxx_try_compile "$LINENO"; then :
60808 glibcxx_cv_func_sincos_use=yes
60809 else
60810 glibcxx_cv_func_sincos_use=no
60812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60813 ac_ext=c
60814 ac_cpp='$CPP $CPPFLAGS'
60815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
60824 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
60826 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
60827 for ac_func in sincos
60828 do :
60829 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
60830 if test "x$ac_cv_func_sincos" = x""yes; then :
60831 cat >>confdefs.h <<_ACEOF
60832 #define HAVE_SINCOS 1
60833 _ACEOF
60836 done
60838 else
60840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
60841 $as_echo_n "checking for _sincos declaration... " >&6; }
60842 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
60843 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
60844 $as_echo_n "(cached) " >&6
60845 else
60848 ac_ext=cpp
60849 ac_cpp='$CXXCPP $CPPFLAGS'
60850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60855 /* end confdefs.h. */
60856 #include <math.h>
60858 main ()
60860 _sincos(0, 0, 0);
60862 return 0;
60864 _ACEOF
60865 if ac_fn_cxx_try_compile "$LINENO"; then :
60866 glibcxx_cv_func__sincos_use=yes
60867 else
60868 glibcxx_cv_func__sincos_use=no
60870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60871 ac_ext=c
60872 ac_cpp='$CPP $CPPFLAGS'
60873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
60882 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
60884 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
60885 for ac_func in _sincos
60886 do :
60887 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
60888 if test "x$ac_cv_func__sincos" = x""yes; then :
60889 cat >>confdefs.h <<_ACEOF
60890 #define HAVE__SINCOS 1
60891 _ACEOF
60894 done
60903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
60904 $as_echo_n "checking for fpclass declaration... " >&6; }
60905 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
60906 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
60907 $as_echo_n "(cached) " >&6
60908 else
60911 ac_ext=cpp
60912 ac_cpp='$CXXCPP $CPPFLAGS'
60913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60918 /* end confdefs.h. */
60919 #include <math.h>
60920 #ifdef HAVE_IEEEFP_H
60921 #include <ieeefp.h>
60922 #endif
60925 main ()
60927 fpclass(0);
60929 return 0;
60931 _ACEOF
60932 if ac_fn_cxx_try_compile "$LINENO"; then :
60933 glibcxx_cv_func_fpclass_use=yes
60934 else
60935 glibcxx_cv_func_fpclass_use=no
60937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60938 ac_ext=c
60939 ac_cpp='$CPP $CPPFLAGS'
60940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
60949 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
60951 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
60952 for ac_func in fpclass
60953 do :
60954 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
60955 if test "x$ac_cv_func_fpclass" = x""yes; then :
60956 cat >>confdefs.h <<_ACEOF
60957 #define HAVE_FPCLASS 1
60958 _ACEOF
60961 done
60963 else
60965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
60966 $as_echo_n "checking for _fpclass declaration... " >&6; }
60967 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
60968 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
60969 $as_echo_n "(cached) " >&6
60970 else
60973 ac_ext=cpp
60974 ac_cpp='$CXXCPP $CPPFLAGS'
60975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60980 /* end confdefs.h. */
60981 #include <math.h>
60982 #ifdef HAVE_IEEEFP_H
60983 #include <ieeefp.h>
60984 #endif
60987 main ()
60989 _fpclass(0);
60991 return 0;
60993 _ACEOF
60994 if ac_fn_cxx_try_compile "$LINENO"; then :
60995 glibcxx_cv_func__fpclass_use=yes
60996 else
60997 glibcxx_cv_func__fpclass_use=no
60999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61000 ac_ext=c
61001 ac_cpp='$CPP $CPPFLAGS'
61002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
61011 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
61013 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
61014 for ac_func in _fpclass
61015 do :
61016 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
61017 if test "x$ac_cv_func__fpclass" = x""yes; then :
61018 cat >>confdefs.h <<_ACEOF
61019 #define HAVE__FPCLASS 1
61020 _ACEOF
61023 done
61032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
61033 $as_echo_n "checking for qfpclass declaration... " >&6; }
61034 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61035 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
61036 $as_echo_n "(cached) " >&6
61037 else
61040 ac_ext=cpp
61041 ac_cpp='$CXXCPP $CPPFLAGS'
61042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61047 /* end confdefs.h. */
61048 #include <math.h>
61049 #ifdef HAVE_IEEEFP_H
61050 #include <ieeefp.h>
61051 #endif
61054 main ()
61056 qfpclass(0);
61058 return 0;
61060 _ACEOF
61061 if ac_fn_cxx_try_compile "$LINENO"; then :
61062 glibcxx_cv_func_qfpclass_use=yes
61063 else
61064 glibcxx_cv_func_qfpclass_use=no
61066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61067 ac_ext=c
61068 ac_cpp='$CPP $CPPFLAGS'
61069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
61078 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
61080 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61081 for ac_func in qfpclass
61082 do :
61083 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
61084 if test "x$ac_cv_func_qfpclass" = x""yes; then :
61085 cat >>confdefs.h <<_ACEOF
61086 #define HAVE_QFPCLASS 1
61087 _ACEOF
61090 done
61092 else
61094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
61095 $as_echo_n "checking for _qfpclass declaration... " >&6; }
61096 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61097 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
61098 $as_echo_n "(cached) " >&6
61099 else
61102 ac_ext=cpp
61103 ac_cpp='$CXXCPP $CPPFLAGS'
61104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61109 /* end confdefs.h. */
61110 #include <math.h>
61111 #ifdef HAVE_IEEEFP_H
61112 #include <ieeefp.h>
61113 #endif
61116 main ()
61118 _qfpclass(0);
61120 return 0;
61122 _ACEOF
61123 if ac_fn_cxx_try_compile "$LINENO"; then :
61124 glibcxx_cv_func__qfpclass_use=yes
61125 else
61126 glibcxx_cv_func__qfpclass_use=no
61128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61129 ac_ext=c
61130 ac_cpp='$CPP $CPPFLAGS'
61131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
61140 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
61142 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61143 for ac_func in _qfpclass
61144 do :
61145 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
61146 if test "x$ac_cv_func__qfpclass" = x""yes; then :
61147 cat >>confdefs.h <<_ACEOF
61148 #define HAVE__QFPCLASS 1
61149 _ACEOF
61152 done
61161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
61162 $as_echo_n "checking for hypot declaration... " >&6; }
61163 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61164 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
61165 $as_echo_n "(cached) " >&6
61166 else
61169 ac_ext=cpp
61170 ac_cpp='$CXXCPP $CPPFLAGS'
61171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61176 /* end confdefs.h. */
61177 #include <math.h>
61179 main ()
61181 hypot(0, 0);
61183 return 0;
61185 _ACEOF
61186 if ac_fn_cxx_try_compile "$LINENO"; then :
61187 glibcxx_cv_func_hypot_use=yes
61188 else
61189 glibcxx_cv_func_hypot_use=no
61191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61192 ac_ext=c
61193 ac_cpp='$CPP $CPPFLAGS'
61194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
61203 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
61205 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61206 for ac_func in hypot
61207 do :
61208 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
61209 if test "x$ac_cv_func_hypot" = x""yes; then :
61210 cat >>confdefs.h <<_ACEOF
61211 #define HAVE_HYPOT 1
61212 _ACEOF
61215 done
61217 else
61219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
61220 $as_echo_n "checking for _hypot declaration... " >&6; }
61221 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
61222 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
61223 $as_echo_n "(cached) " >&6
61224 else
61227 ac_ext=cpp
61228 ac_cpp='$CXXCPP $CPPFLAGS'
61229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61234 /* end confdefs.h. */
61235 #include <math.h>
61237 main ()
61239 _hypot(0, 0);
61241 return 0;
61243 _ACEOF
61244 if ac_fn_cxx_try_compile "$LINENO"; then :
61245 glibcxx_cv_func__hypot_use=yes
61246 else
61247 glibcxx_cv_func__hypot_use=no
61249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61250 ac_ext=c
61251 ac_cpp='$CPP $CPPFLAGS'
61252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61261 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61263 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61264 for ac_func in _hypot
61265 do :
61266 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61267 if test "x$ac_cv_func__hypot" = x""yes; then :
61268 cat >>confdefs.h <<_ACEOF
61269 #define HAVE__HYPOT 1
61270 _ACEOF
61273 done
61282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61283 $as_echo_n "checking for float trig functions... " >&6; }
61284 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
61285 $as_echo_n "(cached) " >&6
61286 else
61289 ac_ext=cpp
61290 ac_cpp='$CXXCPP $CPPFLAGS'
61291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61296 /* end confdefs.h. */
61297 #include <math.h>
61299 main ()
61301 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61303 return 0;
61305 _ACEOF
61306 if ac_fn_cxx_try_compile "$LINENO"; then :
61307 glibcxx_cv_func_float_trig_use=yes
61308 else
61309 glibcxx_cv_func_float_trig_use=no
61311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61312 ac_ext=c
61313 ac_cpp='$CPP $CPPFLAGS'
61314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61321 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61322 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61323 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61324 do :
61325 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61326 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61327 eval as_val=\$$as_ac_var
61328 if test "x$as_val" = x""yes; then :
61329 cat >>confdefs.h <<_ACEOF
61330 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61331 _ACEOF
61334 done
61336 else
61337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
61338 $as_echo_n "checking for _float trig functions... " >&6; }
61339 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
61340 $as_echo_n "(cached) " >&6
61341 else
61344 ac_ext=cpp
61345 ac_cpp='$CXXCPP $CPPFLAGS'
61346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61351 /* end confdefs.h. */
61352 #include <math.h>
61354 main ()
61356 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
61358 return 0;
61360 _ACEOF
61361 if ac_fn_cxx_try_compile "$LINENO"; then :
61362 glibcxx_cv_func__float_trig_use=yes
61363 else
61364 glibcxx_cv_func__float_trig_use=no
61366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61367 ac_ext=c
61368 ac_cpp='$CPP $CPPFLAGS'
61369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
61376 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
61377 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
61378 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
61379 do :
61380 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61381 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61382 eval as_val=\$$as_ac_var
61383 if test "x$as_val" = x""yes; then :
61384 cat >>confdefs.h <<_ACEOF
61385 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61386 _ACEOF
61389 done
61398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
61399 $as_echo_n "checking for float round functions... " >&6; }
61400 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
61401 $as_echo_n "(cached) " >&6
61402 else
61405 ac_ext=cpp
61406 ac_cpp='$CXXCPP $CPPFLAGS'
61407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61412 /* end confdefs.h. */
61413 #include <math.h>
61415 main ()
61417 ceilf (0); floorf (0);
61419 return 0;
61421 _ACEOF
61422 if ac_fn_cxx_try_compile "$LINENO"; then :
61423 glibcxx_cv_func_float_round_use=yes
61424 else
61425 glibcxx_cv_func_float_round_use=no
61427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61428 ac_ext=c
61429 ac_cpp='$CPP $CPPFLAGS'
61430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
61437 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
61438 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
61439 for ac_func in ceilf floorf
61440 do :
61441 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61442 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61443 eval as_val=\$$as_ac_var
61444 if test "x$as_val" = x""yes; then :
61445 cat >>confdefs.h <<_ACEOF
61446 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61447 _ACEOF
61450 done
61452 else
61453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
61454 $as_echo_n "checking for _float round functions... " >&6; }
61455 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
61456 $as_echo_n "(cached) " >&6
61457 else
61460 ac_ext=cpp
61461 ac_cpp='$CXXCPP $CPPFLAGS'
61462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61467 /* end confdefs.h. */
61468 #include <math.h>
61470 main ()
61472 _ceilf (0); _floorf (0);
61474 return 0;
61476 _ACEOF
61477 if ac_fn_cxx_try_compile "$LINENO"; then :
61478 glibcxx_cv_func__float_round_use=yes
61479 else
61480 glibcxx_cv_func__float_round_use=no
61482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61483 ac_ext=c
61484 ac_cpp='$CPP $CPPFLAGS'
61485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
61492 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
61493 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
61494 for ac_func in _ceilf _floorf
61495 do :
61496 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61497 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61498 eval as_val=\$$as_ac_var
61499 if test "x$as_val" = x""yes; then :
61500 cat >>confdefs.h <<_ACEOF
61501 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61502 _ACEOF
61505 done
61515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
61516 $as_echo_n "checking for expf declaration... " >&6; }
61517 if test x${glibcxx_cv_func_expf_use+set} != xset; then
61518 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
61519 $as_echo_n "(cached) " >&6
61520 else
61523 ac_ext=cpp
61524 ac_cpp='$CXXCPP $CPPFLAGS'
61525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61530 /* end confdefs.h. */
61531 #include <math.h>
61532 #ifdef HAVE_IEEEFP_H
61533 #include <ieeefp.h>
61534 #endif
61537 main ()
61539 expf(0);
61541 return 0;
61543 _ACEOF
61544 if ac_fn_cxx_try_compile "$LINENO"; then :
61545 glibcxx_cv_func_expf_use=yes
61546 else
61547 glibcxx_cv_func_expf_use=no
61549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61550 ac_ext=c
61551 ac_cpp='$CPP $CPPFLAGS'
61552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
61561 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
61563 if test x$glibcxx_cv_func_expf_use = x"yes"; then
61564 for ac_func in expf
61565 do :
61566 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
61567 if test "x$ac_cv_func_expf" = x""yes; then :
61568 cat >>confdefs.h <<_ACEOF
61569 #define HAVE_EXPF 1
61570 _ACEOF
61573 done
61575 else
61577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
61578 $as_echo_n "checking for _expf declaration... " >&6; }
61579 if test x${glibcxx_cv_func__expf_use+set} != xset; then
61580 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
61581 $as_echo_n "(cached) " >&6
61582 else
61585 ac_ext=cpp
61586 ac_cpp='$CXXCPP $CPPFLAGS'
61587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61592 /* end confdefs.h. */
61593 #include <math.h>
61594 #ifdef HAVE_IEEEFP_H
61595 #include <ieeefp.h>
61596 #endif
61599 main ()
61601 _expf(0);
61603 return 0;
61605 _ACEOF
61606 if ac_fn_cxx_try_compile "$LINENO"; then :
61607 glibcxx_cv_func__expf_use=yes
61608 else
61609 glibcxx_cv_func__expf_use=no
61611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61612 ac_ext=c
61613 ac_cpp='$CPP $CPPFLAGS'
61614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
61623 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
61625 if test x$glibcxx_cv_func__expf_use = x"yes"; then
61626 for ac_func in _expf
61627 do :
61628 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
61629 if test "x$ac_cv_func__expf" = x""yes; then :
61630 cat >>confdefs.h <<_ACEOF
61631 #define HAVE__EXPF 1
61632 _ACEOF
61635 done
61644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
61645 $as_echo_n "checking for isnanf declaration... " >&6; }
61646 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
61647 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
61648 $as_echo_n "(cached) " >&6
61649 else
61652 ac_ext=cpp
61653 ac_cpp='$CXXCPP $CPPFLAGS'
61654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61659 /* end confdefs.h. */
61660 #include <math.h>
61661 #ifdef HAVE_IEEEFP_H
61662 #include <ieeefp.h>
61663 #endif
61666 main ()
61668 isnanf(0);
61670 return 0;
61672 _ACEOF
61673 if ac_fn_cxx_try_compile "$LINENO"; then :
61674 glibcxx_cv_func_isnanf_use=yes
61675 else
61676 glibcxx_cv_func_isnanf_use=no
61678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61679 ac_ext=c
61680 ac_cpp='$CPP $CPPFLAGS'
61681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
61690 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
61692 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
61693 for ac_func in isnanf
61694 do :
61695 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
61696 if test "x$ac_cv_func_isnanf" = x""yes; then :
61697 cat >>confdefs.h <<_ACEOF
61698 #define HAVE_ISNANF 1
61699 _ACEOF
61702 done
61704 else
61706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
61707 $as_echo_n "checking for _isnanf declaration... " >&6; }
61708 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
61709 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
61710 $as_echo_n "(cached) " >&6
61711 else
61714 ac_ext=cpp
61715 ac_cpp='$CXXCPP $CPPFLAGS'
61716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61721 /* end confdefs.h. */
61722 #include <math.h>
61723 #ifdef HAVE_IEEEFP_H
61724 #include <ieeefp.h>
61725 #endif
61728 main ()
61730 _isnanf(0);
61732 return 0;
61734 _ACEOF
61735 if ac_fn_cxx_try_compile "$LINENO"; then :
61736 glibcxx_cv_func__isnanf_use=yes
61737 else
61738 glibcxx_cv_func__isnanf_use=no
61740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61741 ac_ext=c
61742 ac_cpp='$CPP $CPPFLAGS'
61743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
61752 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
61754 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
61755 for ac_func in _isnanf
61756 do :
61757 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
61758 if test "x$ac_cv_func__isnanf" = x""yes; then :
61759 cat >>confdefs.h <<_ACEOF
61760 #define HAVE__ISNANF 1
61761 _ACEOF
61764 done
61773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
61774 $as_echo_n "checking for isinff declaration... " >&6; }
61775 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
61776 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
61777 $as_echo_n "(cached) " >&6
61778 else
61781 ac_ext=cpp
61782 ac_cpp='$CXXCPP $CPPFLAGS'
61783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61788 /* end confdefs.h. */
61789 #include <math.h>
61790 #ifdef HAVE_IEEEFP_H
61791 #include <ieeefp.h>
61792 #endif
61795 main ()
61797 isinff(0);
61799 return 0;
61801 _ACEOF
61802 if ac_fn_cxx_try_compile "$LINENO"; then :
61803 glibcxx_cv_func_isinff_use=yes
61804 else
61805 glibcxx_cv_func_isinff_use=no
61807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61808 ac_ext=c
61809 ac_cpp='$CPP $CPPFLAGS'
61810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
61819 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
61821 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
61822 for ac_func in isinff
61823 do :
61824 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
61825 if test "x$ac_cv_func_isinff" = x""yes; then :
61826 cat >>confdefs.h <<_ACEOF
61827 #define HAVE_ISINFF 1
61828 _ACEOF
61831 done
61833 else
61835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
61836 $as_echo_n "checking for _isinff declaration... " >&6; }
61837 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
61838 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
61839 $as_echo_n "(cached) " >&6
61840 else
61843 ac_ext=cpp
61844 ac_cpp='$CXXCPP $CPPFLAGS'
61845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61850 /* end confdefs.h. */
61851 #include <math.h>
61852 #ifdef HAVE_IEEEFP_H
61853 #include <ieeefp.h>
61854 #endif
61857 main ()
61859 _isinff(0);
61861 return 0;
61863 _ACEOF
61864 if ac_fn_cxx_try_compile "$LINENO"; then :
61865 glibcxx_cv_func__isinff_use=yes
61866 else
61867 glibcxx_cv_func__isinff_use=no
61869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61870 ac_ext=c
61871 ac_cpp='$CPP $CPPFLAGS'
61872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
61881 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
61883 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
61884 for ac_func in _isinff
61885 do :
61886 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
61887 if test "x$ac_cv_func__isinff" = x""yes; then :
61888 cat >>confdefs.h <<_ACEOF
61889 #define HAVE__ISINFF 1
61890 _ACEOF
61893 done
61902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
61903 $as_echo_n "checking for atan2f declaration... " >&6; }
61904 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
61905 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
61906 $as_echo_n "(cached) " >&6
61907 else
61910 ac_ext=cpp
61911 ac_cpp='$CXXCPP $CPPFLAGS'
61912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61917 /* end confdefs.h. */
61918 #include <math.h>
61920 main ()
61922 atan2f(0, 0);
61924 return 0;
61926 _ACEOF
61927 if ac_fn_cxx_try_compile "$LINENO"; then :
61928 glibcxx_cv_func_atan2f_use=yes
61929 else
61930 glibcxx_cv_func_atan2f_use=no
61932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61933 ac_ext=c
61934 ac_cpp='$CPP $CPPFLAGS'
61935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
61944 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
61946 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
61947 for ac_func in atan2f
61948 do :
61949 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
61950 if test "x$ac_cv_func_atan2f" = x""yes; then :
61951 cat >>confdefs.h <<_ACEOF
61952 #define HAVE_ATAN2F 1
61953 _ACEOF
61956 done
61958 else
61960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
61961 $as_echo_n "checking for _atan2f declaration... " >&6; }
61962 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
61963 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
61964 $as_echo_n "(cached) " >&6
61965 else
61968 ac_ext=cpp
61969 ac_cpp='$CXXCPP $CPPFLAGS'
61970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61975 /* end confdefs.h. */
61976 #include <math.h>
61978 main ()
61980 _atan2f(0, 0);
61982 return 0;
61984 _ACEOF
61985 if ac_fn_cxx_try_compile "$LINENO"; then :
61986 glibcxx_cv_func__atan2f_use=yes
61987 else
61988 glibcxx_cv_func__atan2f_use=no
61990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61991 ac_ext=c
61992 ac_cpp='$CPP $CPPFLAGS'
61993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
62002 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
62004 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
62005 for ac_func in _atan2f
62006 do :
62007 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
62008 if test "x$ac_cv_func__atan2f" = x""yes; then :
62009 cat >>confdefs.h <<_ACEOF
62010 #define HAVE__ATAN2F 1
62011 _ACEOF
62014 done
62023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
62024 $as_echo_n "checking for fabsf declaration... " >&6; }
62025 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
62026 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
62027 $as_echo_n "(cached) " >&6
62028 else
62031 ac_ext=cpp
62032 ac_cpp='$CXXCPP $CPPFLAGS'
62033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62038 /* end confdefs.h. */
62039 #include <math.h>
62040 #ifdef HAVE_IEEEFP_H
62041 #include <ieeefp.h>
62042 #endif
62045 main ()
62047 fabsf(0);
62049 return 0;
62051 _ACEOF
62052 if ac_fn_cxx_try_compile "$LINENO"; then :
62053 glibcxx_cv_func_fabsf_use=yes
62054 else
62055 glibcxx_cv_func_fabsf_use=no
62057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62058 ac_ext=c
62059 ac_cpp='$CPP $CPPFLAGS'
62060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
62069 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
62071 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62072 for ac_func in fabsf
62073 do :
62074 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
62075 if test "x$ac_cv_func_fabsf" = x""yes; then :
62076 cat >>confdefs.h <<_ACEOF
62077 #define HAVE_FABSF 1
62078 _ACEOF
62081 done
62083 else
62085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
62086 $as_echo_n "checking for _fabsf declaration... " >&6; }
62087 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62088 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
62089 $as_echo_n "(cached) " >&6
62090 else
62093 ac_ext=cpp
62094 ac_cpp='$CXXCPP $CPPFLAGS'
62095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62100 /* end confdefs.h. */
62101 #include <math.h>
62102 #ifdef HAVE_IEEEFP_H
62103 #include <ieeefp.h>
62104 #endif
62107 main ()
62109 _fabsf(0);
62111 return 0;
62113 _ACEOF
62114 if ac_fn_cxx_try_compile "$LINENO"; then :
62115 glibcxx_cv_func__fabsf_use=yes
62116 else
62117 glibcxx_cv_func__fabsf_use=no
62119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62120 ac_ext=c
62121 ac_cpp='$CPP $CPPFLAGS'
62122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
62131 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
62133 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62134 for ac_func in _fabsf
62135 do :
62136 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
62137 if test "x$ac_cv_func__fabsf" = x""yes; then :
62138 cat >>confdefs.h <<_ACEOF
62139 #define HAVE__FABSF 1
62140 _ACEOF
62143 done
62152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
62153 $as_echo_n "checking for fmodf declaration... " >&6; }
62154 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62155 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
62156 $as_echo_n "(cached) " >&6
62157 else
62160 ac_ext=cpp
62161 ac_cpp='$CXXCPP $CPPFLAGS'
62162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62167 /* end confdefs.h. */
62168 #include <math.h>
62170 main ()
62172 fmodf(0, 0);
62174 return 0;
62176 _ACEOF
62177 if ac_fn_cxx_try_compile "$LINENO"; then :
62178 glibcxx_cv_func_fmodf_use=yes
62179 else
62180 glibcxx_cv_func_fmodf_use=no
62182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62183 ac_ext=c
62184 ac_cpp='$CPP $CPPFLAGS'
62185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
62194 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
62196 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62197 for ac_func in fmodf
62198 do :
62199 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
62200 if test "x$ac_cv_func_fmodf" = x""yes; then :
62201 cat >>confdefs.h <<_ACEOF
62202 #define HAVE_FMODF 1
62203 _ACEOF
62206 done
62208 else
62210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
62211 $as_echo_n "checking for _fmodf declaration... " >&6; }
62212 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62213 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
62214 $as_echo_n "(cached) " >&6
62215 else
62218 ac_ext=cpp
62219 ac_cpp='$CXXCPP $CPPFLAGS'
62220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62225 /* end confdefs.h. */
62226 #include <math.h>
62228 main ()
62230 _fmodf(0, 0);
62232 return 0;
62234 _ACEOF
62235 if ac_fn_cxx_try_compile "$LINENO"; then :
62236 glibcxx_cv_func__fmodf_use=yes
62237 else
62238 glibcxx_cv_func__fmodf_use=no
62240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62241 ac_ext=c
62242 ac_cpp='$CPP $CPPFLAGS'
62243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62252 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62254 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62255 for ac_func in _fmodf
62256 do :
62257 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62258 if test "x$ac_cv_func__fmodf" = x""yes; then :
62259 cat >>confdefs.h <<_ACEOF
62260 #define HAVE__FMODF 1
62261 _ACEOF
62264 done
62273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62274 $as_echo_n "checking for frexpf declaration... " >&6; }
62275 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62276 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
62277 $as_echo_n "(cached) " >&6
62278 else
62281 ac_ext=cpp
62282 ac_cpp='$CXXCPP $CPPFLAGS'
62283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62288 /* end confdefs.h. */
62289 #include <math.h>
62291 main ()
62293 frexpf(0, 0);
62295 return 0;
62297 _ACEOF
62298 if ac_fn_cxx_try_compile "$LINENO"; then :
62299 glibcxx_cv_func_frexpf_use=yes
62300 else
62301 glibcxx_cv_func_frexpf_use=no
62303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62304 ac_ext=c
62305 ac_cpp='$CPP $CPPFLAGS'
62306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
62315 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62317 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62318 for ac_func in frexpf
62319 do :
62320 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62321 if test "x$ac_cv_func_frexpf" = x""yes; then :
62322 cat >>confdefs.h <<_ACEOF
62323 #define HAVE_FREXPF 1
62324 _ACEOF
62327 done
62329 else
62331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62332 $as_echo_n "checking for _frexpf declaration... " >&6; }
62333 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62334 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
62335 $as_echo_n "(cached) " >&6
62336 else
62339 ac_ext=cpp
62340 ac_cpp='$CXXCPP $CPPFLAGS'
62341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62346 /* end confdefs.h. */
62347 #include <math.h>
62349 main ()
62351 _frexpf(0, 0);
62353 return 0;
62355 _ACEOF
62356 if ac_fn_cxx_try_compile "$LINENO"; then :
62357 glibcxx_cv_func__frexpf_use=yes
62358 else
62359 glibcxx_cv_func__frexpf_use=no
62361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62362 ac_ext=c
62363 ac_cpp='$CPP $CPPFLAGS'
62364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
62373 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
62375 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
62376 for ac_func in _frexpf
62377 do :
62378 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
62379 if test "x$ac_cv_func__frexpf" = x""yes; then :
62380 cat >>confdefs.h <<_ACEOF
62381 #define HAVE__FREXPF 1
62382 _ACEOF
62385 done
62394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
62395 $as_echo_n "checking for hypotf declaration... " >&6; }
62396 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
62397 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
62398 $as_echo_n "(cached) " >&6
62399 else
62402 ac_ext=cpp
62403 ac_cpp='$CXXCPP $CPPFLAGS'
62404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62409 /* end confdefs.h. */
62410 #include <math.h>
62412 main ()
62414 hypotf(0, 0);
62416 return 0;
62418 _ACEOF
62419 if ac_fn_cxx_try_compile "$LINENO"; then :
62420 glibcxx_cv_func_hypotf_use=yes
62421 else
62422 glibcxx_cv_func_hypotf_use=no
62424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62425 ac_ext=c
62426 ac_cpp='$CPP $CPPFLAGS'
62427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
62436 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
62438 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
62439 for ac_func in hypotf
62440 do :
62441 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
62442 if test "x$ac_cv_func_hypotf" = x""yes; then :
62443 cat >>confdefs.h <<_ACEOF
62444 #define HAVE_HYPOTF 1
62445 _ACEOF
62448 done
62450 else
62452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
62453 $as_echo_n "checking for _hypotf declaration... " >&6; }
62454 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
62455 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
62456 $as_echo_n "(cached) " >&6
62457 else
62460 ac_ext=cpp
62461 ac_cpp='$CXXCPP $CPPFLAGS'
62462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62467 /* end confdefs.h. */
62468 #include <math.h>
62470 main ()
62472 _hypotf(0, 0);
62474 return 0;
62476 _ACEOF
62477 if ac_fn_cxx_try_compile "$LINENO"; then :
62478 glibcxx_cv_func__hypotf_use=yes
62479 else
62480 glibcxx_cv_func__hypotf_use=no
62482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62483 ac_ext=c
62484 ac_cpp='$CPP $CPPFLAGS'
62485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
62494 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
62496 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
62497 for ac_func in _hypotf
62498 do :
62499 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
62500 if test "x$ac_cv_func__hypotf" = x""yes; then :
62501 cat >>confdefs.h <<_ACEOF
62502 #define HAVE__HYPOTF 1
62503 _ACEOF
62506 done
62515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
62516 $as_echo_n "checking for ldexpf declaration... " >&6; }
62517 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
62518 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
62519 $as_echo_n "(cached) " >&6
62520 else
62523 ac_ext=cpp
62524 ac_cpp='$CXXCPP $CPPFLAGS'
62525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62530 /* end confdefs.h. */
62531 #include <math.h>
62533 main ()
62535 ldexpf(0, 0);
62537 return 0;
62539 _ACEOF
62540 if ac_fn_cxx_try_compile "$LINENO"; then :
62541 glibcxx_cv_func_ldexpf_use=yes
62542 else
62543 glibcxx_cv_func_ldexpf_use=no
62545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62546 ac_ext=c
62547 ac_cpp='$CPP $CPPFLAGS'
62548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
62557 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
62559 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
62560 for ac_func in ldexpf
62561 do :
62562 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
62563 if test "x$ac_cv_func_ldexpf" = x""yes; then :
62564 cat >>confdefs.h <<_ACEOF
62565 #define HAVE_LDEXPF 1
62566 _ACEOF
62569 done
62571 else
62573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
62574 $as_echo_n "checking for _ldexpf declaration... " >&6; }
62575 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
62576 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
62577 $as_echo_n "(cached) " >&6
62578 else
62581 ac_ext=cpp
62582 ac_cpp='$CXXCPP $CPPFLAGS'
62583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62588 /* end confdefs.h. */
62589 #include <math.h>
62591 main ()
62593 _ldexpf(0, 0);
62595 return 0;
62597 _ACEOF
62598 if ac_fn_cxx_try_compile "$LINENO"; then :
62599 glibcxx_cv_func__ldexpf_use=yes
62600 else
62601 glibcxx_cv_func__ldexpf_use=no
62603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62604 ac_ext=c
62605 ac_cpp='$CPP $CPPFLAGS'
62606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
62615 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
62617 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
62618 for ac_func in _ldexpf
62619 do :
62620 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
62621 if test "x$ac_cv_func__ldexpf" = x""yes; then :
62622 cat >>confdefs.h <<_ACEOF
62623 #define HAVE__LDEXPF 1
62624 _ACEOF
62627 done
62636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
62637 $as_echo_n "checking for logf declaration... " >&6; }
62638 if test x${glibcxx_cv_func_logf_use+set} != xset; then
62639 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
62640 $as_echo_n "(cached) " >&6
62641 else
62644 ac_ext=cpp
62645 ac_cpp='$CXXCPP $CPPFLAGS'
62646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62651 /* end confdefs.h. */
62652 #include <math.h>
62653 #ifdef HAVE_IEEEFP_H
62654 #include <ieeefp.h>
62655 #endif
62658 main ()
62660 logf(0);
62662 return 0;
62664 _ACEOF
62665 if ac_fn_cxx_try_compile "$LINENO"; then :
62666 glibcxx_cv_func_logf_use=yes
62667 else
62668 glibcxx_cv_func_logf_use=no
62670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62671 ac_ext=c
62672 ac_cpp='$CPP $CPPFLAGS'
62673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
62682 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
62684 if test x$glibcxx_cv_func_logf_use = x"yes"; then
62685 for ac_func in logf
62686 do :
62687 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
62688 if test "x$ac_cv_func_logf" = x""yes; then :
62689 cat >>confdefs.h <<_ACEOF
62690 #define HAVE_LOGF 1
62691 _ACEOF
62694 done
62696 else
62698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
62699 $as_echo_n "checking for _logf declaration... " >&6; }
62700 if test x${glibcxx_cv_func__logf_use+set} != xset; then
62701 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
62702 $as_echo_n "(cached) " >&6
62703 else
62706 ac_ext=cpp
62707 ac_cpp='$CXXCPP $CPPFLAGS'
62708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62713 /* end confdefs.h. */
62714 #include <math.h>
62715 #ifdef HAVE_IEEEFP_H
62716 #include <ieeefp.h>
62717 #endif
62720 main ()
62722 _logf(0);
62724 return 0;
62726 _ACEOF
62727 if ac_fn_cxx_try_compile "$LINENO"; then :
62728 glibcxx_cv_func__logf_use=yes
62729 else
62730 glibcxx_cv_func__logf_use=no
62732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62733 ac_ext=c
62734 ac_cpp='$CPP $CPPFLAGS'
62735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
62744 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
62746 if test x$glibcxx_cv_func__logf_use = x"yes"; then
62747 for ac_func in _logf
62748 do :
62749 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
62750 if test "x$ac_cv_func__logf" = x""yes; then :
62751 cat >>confdefs.h <<_ACEOF
62752 #define HAVE__LOGF 1
62753 _ACEOF
62756 done
62765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
62766 $as_echo_n "checking for log10f declaration... " >&6; }
62767 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
62768 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
62769 $as_echo_n "(cached) " >&6
62770 else
62773 ac_ext=cpp
62774 ac_cpp='$CXXCPP $CPPFLAGS'
62775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62780 /* end confdefs.h. */
62781 #include <math.h>
62782 #ifdef HAVE_IEEEFP_H
62783 #include <ieeefp.h>
62784 #endif
62787 main ()
62789 log10f(0);
62791 return 0;
62793 _ACEOF
62794 if ac_fn_cxx_try_compile "$LINENO"; then :
62795 glibcxx_cv_func_log10f_use=yes
62796 else
62797 glibcxx_cv_func_log10f_use=no
62799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62800 ac_ext=c
62801 ac_cpp='$CPP $CPPFLAGS'
62802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
62811 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
62813 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
62814 for ac_func in log10f
62815 do :
62816 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
62817 if test "x$ac_cv_func_log10f" = x""yes; then :
62818 cat >>confdefs.h <<_ACEOF
62819 #define HAVE_LOG10F 1
62820 _ACEOF
62823 done
62825 else
62827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
62828 $as_echo_n "checking for _log10f declaration... " >&6; }
62829 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
62830 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
62831 $as_echo_n "(cached) " >&6
62832 else
62835 ac_ext=cpp
62836 ac_cpp='$CXXCPP $CPPFLAGS'
62837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62842 /* end confdefs.h. */
62843 #include <math.h>
62844 #ifdef HAVE_IEEEFP_H
62845 #include <ieeefp.h>
62846 #endif
62849 main ()
62851 _log10f(0);
62853 return 0;
62855 _ACEOF
62856 if ac_fn_cxx_try_compile "$LINENO"; then :
62857 glibcxx_cv_func__log10f_use=yes
62858 else
62859 glibcxx_cv_func__log10f_use=no
62861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62862 ac_ext=c
62863 ac_cpp='$CPP $CPPFLAGS'
62864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
62873 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
62875 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
62876 for ac_func in _log10f
62877 do :
62878 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
62879 if test "x$ac_cv_func__log10f" = x""yes; then :
62880 cat >>confdefs.h <<_ACEOF
62881 #define HAVE__LOG10F 1
62882 _ACEOF
62885 done
62894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
62895 $as_echo_n "checking for modff declaration... " >&6; }
62896 if test x${glibcxx_cv_func_modff_use+set} != xset; then
62897 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
62898 $as_echo_n "(cached) " >&6
62899 else
62902 ac_ext=cpp
62903 ac_cpp='$CXXCPP $CPPFLAGS'
62904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62909 /* end confdefs.h. */
62910 #include <math.h>
62912 main ()
62914 modff(0, 0);
62916 return 0;
62918 _ACEOF
62919 if ac_fn_cxx_try_compile "$LINENO"; then :
62920 glibcxx_cv_func_modff_use=yes
62921 else
62922 glibcxx_cv_func_modff_use=no
62924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62925 ac_ext=c
62926 ac_cpp='$CPP $CPPFLAGS'
62927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
62936 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
62938 if test x$glibcxx_cv_func_modff_use = x"yes"; then
62939 for ac_func in modff
62940 do :
62941 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
62942 if test "x$ac_cv_func_modff" = x""yes; then :
62943 cat >>confdefs.h <<_ACEOF
62944 #define HAVE_MODFF 1
62945 _ACEOF
62948 done
62950 else
62952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
62953 $as_echo_n "checking for _modff declaration... " >&6; }
62954 if test x${glibcxx_cv_func__modff_use+set} != xset; then
62955 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
62956 $as_echo_n "(cached) " >&6
62957 else
62960 ac_ext=cpp
62961 ac_cpp='$CXXCPP $CPPFLAGS'
62962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62967 /* end confdefs.h. */
62968 #include <math.h>
62970 main ()
62972 _modff(0, 0);
62974 return 0;
62976 _ACEOF
62977 if ac_fn_cxx_try_compile "$LINENO"; then :
62978 glibcxx_cv_func__modff_use=yes
62979 else
62980 glibcxx_cv_func__modff_use=no
62982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62983 ac_ext=c
62984 ac_cpp='$CPP $CPPFLAGS'
62985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
62994 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
62996 if test x$glibcxx_cv_func__modff_use = x"yes"; then
62997 for ac_func in _modff
62998 do :
62999 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
63000 if test "x$ac_cv_func__modff" = x""yes; then :
63001 cat >>confdefs.h <<_ACEOF
63002 #define HAVE__MODFF 1
63003 _ACEOF
63006 done
63015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
63016 $as_echo_n "checking for modf declaration... " >&6; }
63017 if test x${glibcxx_cv_func_modf_use+set} != xset; then
63018 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
63019 $as_echo_n "(cached) " >&6
63020 else
63023 ac_ext=cpp
63024 ac_cpp='$CXXCPP $CPPFLAGS'
63025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63030 /* end confdefs.h. */
63031 #include <math.h>
63033 main ()
63035 modf(0, 0);
63037 return 0;
63039 _ACEOF
63040 if ac_fn_cxx_try_compile "$LINENO"; then :
63041 glibcxx_cv_func_modf_use=yes
63042 else
63043 glibcxx_cv_func_modf_use=no
63045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63046 ac_ext=c
63047 ac_cpp='$CPP $CPPFLAGS'
63048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
63057 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
63059 if test x$glibcxx_cv_func_modf_use = x"yes"; then
63060 for ac_func in modf
63061 do :
63062 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
63063 if test "x$ac_cv_func_modf" = x""yes; then :
63064 cat >>confdefs.h <<_ACEOF
63065 #define HAVE_MODF 1
63066 _ACEOF
63069 done
63071 else
63073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
63074 $as_echo_n "checking for _modf declaration... " >&6; }
63075 if test x${glibcxx_cv_func__modf_use+set} != xset; then
63076 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
63077 $as_echo_n "(cached) " >&6
63078 else
63081 ac_ext=cpp
63082 ac_cpp='$CXXCPP $CPPFLAGS'
63083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63088 /* end confdefs.h. */
63089 #include <math.h>
63091 main ()
63093 _modf(0, 0);
63095 return 0;
63097 _ACEOF
63098 if ac_fn_cxx_try_compile "$LINENO"; then :
63099 glibcxx_cv_func__modf_use=yes
63100 else
63101 glibcxx_cv_func__modf_use=no
63103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63104 ac_ext=c
63105 ac_cpp='$CPP $CPPFLAGS'
63106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
63115 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
63117 if test x$glibcxx_cv_func__modf_use = x"yes"; then
63118 for ac_func in _modf
63119 do :
63120 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
63121 if test "x$ac_cv_func__modf" = x""yes; then :
63122 cat >>confdefs.h <<_ACEOF
63123 #define HAVE__MODF 1
63124 _ACEOF
63127 done
63136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
63137 $as_echo_n "checking for powf declaration... " >&6; }
63138 if test x${glibcxx_cv_func_powf_use+set} != xset; then
63139 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
63140 $as_echo_n "(cached) " >&6
63141 else
63144 ac_ext=cpp
63145 ac_cpp='$CXXCPP $CPPFLAGS'
63146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63151 /* end confdefs.h. */
63152 #include <math.h>
63154 main ()
63156 powf(0, 0);
63158 return 0;
63160 _ACEOF
63161 if ac_fn_cxx_try_compile "$LINENO"; then :
63162 glibcxx_cv_func_powf_use=yes
63163 else
63164 glibcxx_cv_func_powf_use=no
63166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63167 ac_ext=c
63168 ac_cpp='$CPP $CPPFLAGS'
63169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
63178 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
63180 if test x$glibcxx_cv_func_powf_use = x"yes"; then
63181 for ac_func in powf
63182 do :
63183 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
63184 if test "x$ac_cv_func_powf" = x""yes; then :
63185 cat >>confdefs.h <<_ACEOF
63186 #define HAVE_POWF 1
63187 _ACEOF
63190 done
63192 else
63194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
63195 $as_echo_n "checking for _powf declaration... " >&6; }
63196 if test x${glibcxx_cv_func__powf_use+set} != xset; then
63197 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
63198 $as_echo_n "(cached) " >&6
63199 else
63202 ac_ext=cpp
63203 ac_cpp='$CXXCPP $CPPFLAGS'
63204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63209 /* end confdefs.h. */
63210 #include <math.h>
63212 main ()
63214 _powf(0, 0);
63216 return 0;
63218 _ACEOF
63219 if ac_fn_cxx_try_compile "$LINENO"; then :
63220 glibcxx_cv_func__powf_use=yes
63221 else
63222 glibcxx_cv_func__powf_use=no
63224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63225 ac_ext=c
63226 ac_cpp='$CPP $CPPFLAGS'
63227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
63236 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
63238 if test x$glibcxx_cv_func__powf_use = x"yes"; then
63239 for ac_func in _powf
63240 do :
63241 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
63242 if test "x$ac_cv_func__powf" = x""yes; then :
63243 cat >>confdefs.h <<_ACEOF
63244 #define HAVE__POWF 1
63245 _ACEOF
63248 done
63257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63258 $as_echo_n "checking for sqrtf declaration... " >&6; }
63259 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63260 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
63261 $as_echo_n "(cached) " >&6
63262 else
63265 ac_ext=cpp
63266 ac_cpp='$CXXCPP $CPPFLAGS'
63267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63272 /* end confdefs.h. */
63273 #include <math.h>
63274 #ifdef HAVE_IEEEFP_H
63275 #include <ieeefp.h>
63276 #endif
63279 main ()
63281 sqrtf(0);
63283 return 0;
63285 _ACEOF
63286 if ac_fn_cxx_try_compile "$LINENO"; then :
63287 glibcxx_cv_func_sqrtf_use=yes
63288 else
63289 glibcxx_cv_func_sqrtf_use=no
63291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63292 ac_ext=c
63293 ac_cpp='$CPP $CPPFLAGS'
63294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63303 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63305 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63306 for ac_func in sqrtf
63307 do :
63308 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63309 if test "x$ac_cv_func_sqrtf" = x""yes; then :
63310 cat >>confdefs.h <<_ACEOF
63311 #define HAVE_SQRTF 1
63312 _ACEOF
63315 done
63317 else
63319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63320 $as_echo_n "checking for _sqrtf declaration... " >&6; }
63321 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63322 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
63323 $as_echo_n "(cached) " >&6
63324 else
63327 ac_ext=cpp
63328 ac_cpp='$CXXCPP $CPPFLAGS'
63329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63334 /* end confdefs.h. */
63335 #include <math.h>
63336 #ifdef HAVE_IEEEFP_H
63337 #include <ieeefp.h>
63338 #endif
63341 main ()
63343 _sqrtf(0);
63345 return 0;
63347 _ACEOF
63348 if ac_fn_cxx_try_compile "$LINENO"; then :
63349 glibcxx_cv_func__sqrtf_use=yes
63350 else
63351 glibcxx_cv_func__sqrtf_use=no
63353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63354 ac_ext=c
63355 ac_cpp='$CPP $CPPFLAGS'
63356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
63365 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
63367 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63368 for ac_func in _sqrtf
63369 do :
63370 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
63371 if test "x$ac_cv_func__sqrtf" = x""yes; then :
63372 cat >>confdefs.h <<_ACEOF
63373 #define HAVE__SQRTF 1
63374 _ACEOF
63377 done
63386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
63387 $as_echo_n "checking for sincosf declaration... " >&6; }
63388 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63389 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
63390 $as_echo_n "(cached) " >&6
63391 else
63394 ac_ext=cpp
63395 ac_cpp='$CXXCPP $CPPFLAGS'
63396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63401 /* end confdefs.h. */
63402 #include <math.h>
63404 main ()
63406 sincosf(0, 0, 0);
63408 return 0;
63410 _ACEOF
63411 if ac_fn_cxx_try_compile "$LINENO"; then :
63412 glibcxx_cv_func_sincosf_use=yes
63413 else
63414 glibcxx_cv_func_sincosf_use=no
63416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63417 ac_ext=c
63418 ac_cpp='$CPP $CPPFLAGS'
63419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
63428 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
63430 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63431 for ac_func in sincosf
63432 do :
63433 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
63434 if test "x$ac_cv_func_sincosf" = x""yes; then :
63435 cat >>confdefs.h <<_ACEOF
63436 #define HAVE_SINCOSF 1
63437 _ACEOF
63440 done
63442 else
63444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
63445 $as_echo_n "checking for _sincosf declaration... " >&6; }
63446 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63447 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
63448 $as_echo_n "(cached) " >&6
63449 else
63452 ac_ext=cpp
63453 ac_cpp='$CXXCPP $CPPFLAGS'
63454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63459 /* end confdefs.h. */
63460 #include <math.h>
63462 main ()
63464 _sincosf(0, 0, 0);
63466 return 0;
63468 _ACEOF
63469 if ac_fn_cxx_try_compile "$LINENO"; then :
63470 glibcxx_cv_func__sincosf_use=yes
63471 else
63472 glibcxx_cv_func__sincosf_use=no
63474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63475 ac_ext=c
63476 ac_cpp='$CPP $CPPFLAGS'
63477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
63486 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
63488 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
63489 for ac_func in _sincosf
63490 do :
63491 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
63492 if test "x$ac_cv_func__sincosf" = x""yes; then :
63493 cat >>confdefs.h <<_ACEOF
63494 #define HAVE__SINCOSF 1
63495 _ACEOF
63498 done
63507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
63508 $as_echo_n "checking for finitef declaration... " >&6; }
63509 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63510 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
63511 $as_echo_n "(cached) " >&6
63512 else
63515 ac_ext=cpp
63516 ac_cpp='$CXXCPP $CPPFLAGS'
63517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63522 /* end confdefs.h. */
63523 #include <math.h>
63524 #ifdef HAVE_IEEEFP_H
63525 #include <ieeefp.h>
63526 #endif
63529 main ()
63531 finitef(0);
63533 return 0;
63535 _ACEOF
63536 if ac_fn_cxx_try_compile "$LINENO"; then :
63537 glibcxx_cv_func_finitef_use=yes
63538 else
63539 glibcxx_cv_func_finitef_use=no
63541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63542 ac_ext=c
63543 ac_cpp='$CPP $CPPFLAGS'
63544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
63553 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
63555 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63556 for ac_func in finitef
63557 do :
63558 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
63559 if test "x$ac_cv_func_finitef" = x""yes; then :
63560 cat >>confdefs.h <<_ACEOF
63561 #define HAVE_FINITEF 1
63562 _ACEOF
63565 done
63567 else
63569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
63570 $as_echo_n "checking for _finitef declaration... " >&6; }
63571 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63572 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
63573 $as_echo_n "(cached) " >&6
63574 else
63577 ac_ext=cpp
63578 ac_cpp='$CXXCPP $CPPFLAGS'
63579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63584 /* end confdefs.h. */
63585 #include <math.h>
63586 #ifdef HAVE_IEEEFP_H
63587 #include <ieeefp.h>
63588 #endif
63591 main ()
63593 _finitef(0);
63595 return 0;
63597 _ACEOF
63598 if ac_fn_cxx_try_compile "$LINENO"; then :
63599 glibcxx_cv_func__finitef_use=yes
63600 else
63601 glibcxx_cv_func__finitef_use=no
63603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63604 ac_ext=c
63605 ac_cpp='$CPP $CPPFLAGS'
63606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
63615 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
63617 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63618 for ac_func in _finitef
63619 do :
63620 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
63621 if test "x$ac_cv_func__finitef" = x""yes; then :
63622 cat >>confdefs.h <<_ACEOF
63623 #define HAVE__FINITEF 1
63624 _ACEOF
63627 done
63636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
63637 $as_echo_n "checking for long double trig functions... " >&6; }
63638 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
63639 $as_echo_n "(cached) " >&6
63640 else
63643 ac_ext=cpp
63644 ac_cpp='$CXXCPP $CPPFLAGS'
63645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63650 /* end confdefs.h. */
63651 #include <math.h>
63653 main ()
63655 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63657 return 0;
63659 _ACEOF
63660 if ac_fn_cxx_try_compile "$LINENO"; then :
63661 glibcxx_cv_func_long_double_trig_use=yes
63662 else
63663 glibcxx_cv_func_long_double_trig_use=no
63665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63666 ac_ext=c
63667 ac_cpp='$CPP $CPPFLAGS'
63668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
63675 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
63676 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63677 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63678 do :
63679 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63680 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63681 eval as_val=\$$as_ac_var
63682 if test "x$as_val" = x""yes; then :
63683 cat >>confdefs.h <<_ACEOF
63684 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63685 _ACEOF
63688 done
63690 else
63691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
63692 $as_echo_n "checking for _long double trig functions... " >&6; }
63693 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
63694 $as_echo_n "(cached) " >&6
63695 else
63698 ac_ext=cpp
63699 ac_cpp='$CXXCPP $CPPFLAGS'
63700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63705 /* end confdefs.h. */
63706 #include <math.h>
63708 main ()
63710 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63712 return 0;
63714 _ACEOF
63715 if ac_fn_cxx_try_compile "$LINENO"; then :
63716 glibcxx_cv_func__long_double_trig_use=yes
63717 else
63718 glibcxx_cv_func__long_double_trig_use=no
63720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63721 ac_ext=c
63722 ac_cpp='$CPP $CPPFLAGS'
63723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
63730 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
63731 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63732 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63733 do :
63734 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63735 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63736 eval as_val=\$$as_ac_var
63737 if test "x$as_val" = x""yes; then :
63738 cat >>confdefs.h <<_ACEOF
63739 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63740 _ACEOF
63743 done
63752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
63753 $as_echo_n "checking for long double round functions... " >&6; }
63754 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
63755 $as_echo_n "(cached) " >&6
63756 else
63759 ac_ext=cpp
63760 ac_cpp='$CXXCPP $CPPFLAGS'
63761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63766 /* end confdefs.h. */
63767 #include <math.h>
63769 main ()
63771 ceill (0); floorl (0);
63773 return 0;
63775 _ACEOF
63776 if ac_fn_cxx_try_compile "$LINENO"; then :
63777 glibcxx_cv_func_long_double_round_use=yes
63778 else
63779 glibcxx_cv_func_long_double_round_use=no
63781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63782 ac_ext=c
63783 ac_cpp='$CPP $CPPFLAGS'
63784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
63791 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
63792 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63793 for ac_func in ceill floorl
63794 do :
63795 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63796 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63797 eval as_val=\$$as_ac_var
63798 if test "x$as_val" = x""yes; then :
63799 cat >>confdefs.h <<_ACEOF
63800 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63801 _ACEOF
63804 done
63806 else
63807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
63808 $as_echo_n "checking for _long double round functions... " >&6; }
63809 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
63810 $as_echo_n "(cached) " >&6
63811 else
63814 ac_ext=cpp
63815 ac_cpp='$CXXCPP $CPPFLAGS'
63816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63821 /* end confdefs.h. */
63822 #include <math.h>
63824 main ()
63826 _ceill (0); _floorl (0);
63828 return 0;
63830 _ACEOF
63831 if ac_fn_cxx_try_compile "$LINENO"; then :
63832 glibcxx_cv_func__long_double_round_use=yes
63833 else
63834 glibcxx_cv_func__long_double_round_use=no
63836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63837 ac_ext=c
63838 ac_cpp='$CPP $CPPFLAGS'
63839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
63846 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
63847 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
63848 for ac_func in _ceill _floorl
63849 do :
63850 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63851 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63852 eval as_val=\$$as_ac_var
63853 if test "x$as_val" = x""yes; then :
63854 cat >>confdefs.h <<_ACEOF
63855 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63856 _ACEOF
63859 done
63869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
63870 $as_echo_n "checking for isnanl declaration... " >&6; }
63871 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63872 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
63873 $as_echo_n "(cached) " >&6
63874 else
63877 ac_ext=cpp
63878 ac_cpp='$CXXCPP $CPPFLAGS'
63879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63884 /* end confdefs.h. */
63885 #include <math.h>
63886 #ifdef HAVE_IEEEFP_H
63887 #include <ieeefp.h>
63888 #endif
63891 main ()
63893 isnanl(0);
63895 return 0;
63897 _ACEOF
63898 if ac_fn_cxx_try_compile "$LINENO"; then :
63899 glibcxx_cv_func_isnanl_use=yes
63900 else
63901 glibcxx_cv_func_isnanl_use=no
63903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63904 ac_ext=c
63905 ac_cpp='$CPP $CPPFLAGS'
63906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
63915 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
63917 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
63918 for ac_func in isnanl
63919 do :
63920 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
63921 if test "x$ac_cv_func_isnanl" = x""yes; then :
63922 cat >>confdefs.h <<_ACEOF
63923 #define HAVE_ISNANL 1
63924 _ACEOF
63927 done
63929 else
63931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
63932 $as_echo_n "checking for _isnanl declaration... " >&6; }
63933 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
63934 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
63935 $as_echo_n "(cached) " >&6
63936 else
63939 ac_ext=cpp
63940 ac_cpp='$CXXCPP $CPPFLAGS'
63941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63946 /* end confdefs.h. */
63947 #include <math.h>
63948 #ifdef HAVE_IEEEFP_H
63949 #include <ieeefp.h>
63950 #endif
63953 main ()
63955 _isnanl(0);
63957 return 0;
63959 _ACEOF
63960 if ac_fn_cxx_try_compile "$LINENO"; then :
63961 glibcxx_cv_func__isnanl_use=yes
63962 else
63963 glibcxx_cv_func__isnanl_use=no
63965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63966 ac_ext=c
63967 ac_cpp='$CPP $CPPFLAGS'
63968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
63977 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
63979 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
63980 for ac_func in _isnanl
63981 do :
63982 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
63983 if test "x$ac_cv_func__isnanl" = x""yes; then :
63984 cat >>confdefs.h <<_ACEOF
63985 #define HAVE__ISNANL 1
63986 _ACEOF
63989 done
63998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
63999 $as_echo_n "checking for isinfl declaration... " >&6; }
64000 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
64001 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
64002 $as_echo_n "(cached) " >&6
64003 else
64006 ac_ext=cpp
64007 ac_cpp='$CXXCPP $CPPFLAGS'
64008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64013 /* end confdefs.h. */
64014 #include <math.h>
64015 #ifdef HAVE_IEEEFP_H
64016 #include <ieeefp.h>
64017 #endif
64020 main ()
64022 isinfl(0);
64024 return 0;
64026 _ACEOF
64027 if ac_fn_cxx_try_compile "$LINENO"; then :
64028 glibcxx_cv_func_isinfl_use=yes
64029 else
64030 glibcxx_cv_func_isinfl_use=no
64032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64033 ac_ext=c
64034 ac_cpp='$CPP $CPPFLAGS'
64035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
64044 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
64046 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64047 for ac_func in isinfl
64048 do :
64049 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
64050 if test "x$ac_cv_func_isinfl" = x""yes; then :
64051 cat >>confdefs.h <<_ACEOF
64052 #define HAVE_ISINFL 1
64053 _ACEOF
64056 done
64058 else
64060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
64061 $as_echo_n "checking for _isinfl declaration... " >&6; }
64062 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64063 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
64064 $as_echo_n "(cached) " >&6
64065 else
64068 ac_ext=cpp
64069 ac_cpp='$CXXCPP $CPPFLAGS'
64070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64075 /* end confdefs.h. */
64076 #include <math.h>
64077 #ifdef HAVE_IEEEFP_H
64078 #include <ieeefp.h>
64079 #endif
64082 main ()
64084 _isinfl(0);
64086 return 0;
64088 _ACEOF
64089 if ac_fn_cxx_try_compile "$LINENO"; then :
64090 glibcxx_cv_func__isinfl_use=yes
64091 else
64092 glibcxx_cv_func__isinfl_use=no
64094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64095 ac_ext=c
64096 ac_cpp='$CPP $CPPFLAGS'
64097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
64106 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
64108 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64109 for ac_func in _isinfl
64110 do :
64111 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
64112 if test "x$ac_cv_func__isinfl" = x""yes; then :
64113 cat >>confdefs.h <<_ACEOF
64114 #define HAVE__ISINFL 1
64115 _ACEOF
64118 done
64127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
64128 $as_echo_n "checking for atan2l declaration... " >&6; }
64129 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64130 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
64131 $as_echo_n "(cached) " >&6
64132 else
64135 ac_ext=cpp
64136 ac_cpp='$CXXCPP $CPPFLAGS'
64137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64142 /* end confdefs.h. */
64143 #include <math.h>
64145 main ()
64147 atan2l(0, 0);
64149 return 0;
64151 _ACEOF
64152 if ac_fn_cxx_try_compile "$LINENO"; then :
64153 glibcxx_cv_func_atan2l_use=yes
64154 else
64155 glibcxx_cv_func_atan2l_use=no
64157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64158 ac_ext=c
64159 ac_cpp='$CPP $CPPFLAGS'
64160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
64169 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
64171 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64172 for ac_func in atan2l
64173 do :
64174 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
64175 if test "x$ac_cv_func_atan2l" = x""yes; then :
64176 cat >>confdefs.h <<_ACEOF
64177 #define HAVE_ATAN2L 1
64178 _ACEOF
64181 done
64183 else
64185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
64186 $as_echo_n "checking for _atan2l declaration... " >&6; }
64187 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64188 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
64189 $as_echo_n "(cached) " >&6
64190 else
64193 ac_ext=cpp
64194 ac_cpp='$CXXCPP $CPPFLAGS'
64195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64200 /* end confdefs.h. */
64201 #include <math.h>
64203 main ()
64205 _atan2l(0, 0);
64207 return 0;
64209 _ACEOF
64210 if ac_fn_cxx_try_compile "$LINENO"; then :
64211 glibcxx_cv_func__atan2l_use=yes
64212 else
64213 glibcxx_cv_func__atan2l_use=no
64215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64216 ac_ext=c
64217 ac_cpp='$CPP $CPPFLAGS'
64218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
64227 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
64229 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64230 for ac_func in _atan2l
64231 do :
64232 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
64233 if test "x$ac_cv_func__atan2l" = x""yes; then :
64234 cat >>confdefs.h <<_ACEOF
64235 #define HAVE__ATAN2L 1
64236 _ACEOF
64239 done
64248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
64249 $as_echo_n "checking for expl declaration... " >&6; }
64250 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64251 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
64252 $as_echo_n "(cached) " >&6
64253 else
64256 ac_ext=cpp
64257 ac_cpp='$CXXCPP $CPPFLAGS'
64258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64263 /* end confdefs.h. */
64264 #include <math.h>
64265 #ifdef HAVE_IEEEFP_H
64266 #include <ieeefp.h>
64267 #endif
64270 main ()
64272 expl(0);
64274 return 0;
64276 _ACEOF
64277 if ac_fn_cxx_try_compile "$LINENO"; then :
64278 glibcxx_cv_func_expl_use=yes
64279 else
64280 glibcxx_cv_func_expl_use=no
64282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64283 ac_ext=c
64284 ac_cpp='$CPP $CPPFLAGS'
64285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64294 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
64296 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64297 for ac_func in expl
64298 do :
64299 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64300 if test "x$ac_cv_func_expl" = x""yes; then :
64301 cat >>confdefs.h <<_ACEOF
64302 #define HAVE_EXPL 1
64303 _ACEOF
64306 done
64308 else
64310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64311 $as_echo_n "checking for _expl declaration... " >&6; }
64312 if test x${glibcxx_cv_func__expl_use+set} != xset; then
64313 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
64314 $as_echo_n "(cached) " >&6
64315 else
64318 ac_ext=cpp
64319 ac_cpp='$CXXCPP $CPPFLAGS'
64320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64325 /* end confdefs.h. */
64326 #include <math.h>
64327 #ifdef HAVE_IEEEFP_H
64328 #include <ieeefp.h>
64329 #endif
64332 main ()
64334 _expl(0);
64336 return 0;
64338 _ACEOF
64339 if ac_fn_cxx_try_compile "$LINENO"; then :
64340 glibcxx_cv_func__expl_use=yes
64341 else
64342 glibcxx_cv_func__expl_use=no
64344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64345 ac_ext=c
64346 ac_cpp='$CPP $CPPFLAGS'
64347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
64356 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
64358 if test x$glibcxx_cv_func__expl_use = x"yes"; then
64359 for ac_func in _expl
64360 do :
64361 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
64362 if test "x$ac_cv_func__expl" = x""yes; then :
64363 cat >>confdefs.h <<_ACEOF
64364 #define HAVE__EXPL 1
64365 _ACEOF
64368 done
64377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
64378 $as_echo_n "checking for fabsl declaration... " >&6; }
64379 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64380 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
64381 $as_echo_n "(cached) " >&6
64382 else
64385 ac_ext=cpp
64386 ac_cpp='$CXXCPP $CPPFLAGS'
64387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64392 /* end confdefs.h. */
64393 #include <math.h>
64394 #ifdef HAVE_IEEEFP_H
64395 #include <ieeefp.h>
64396 #endif
64399 main ()
64401 fabsl(0);
64403 return 0;
64405 _ACEOF
64406 if ac_fn_cxx_try_compile "$LINENO"; then :
64407 glibcxx_cv_func_fabsl_use=yes
64408 else
64409 glibcxx_cv_func_fabsl_use=no
64411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64412 ac_ext=c
64413 ac_cpp='$CPP $CPPFLAGS'
64414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
64423 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
64425 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
64426 for ac_func in fabsl
64427 do :
64428 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
64429 if test "x$ac_cv_func_fabsl" = x""yes; then :
64430 cat >>confdefs.h <<_ACEOF
64431 #define HAVE_FABSL 1
64432 _ACEOF
64435 done
64437 else
64439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
64440 $as_echo_n "checking for _fabsl declaration... " >&6; }
64441 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
64442 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
64443 $as_echo_n "(cached) " >&6
64444 else
64447 ac_ext=cpp
64448 ac_cpp='$CXXCPP $CPPFLAGS'
64449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64454 /* end confdefs.h. */
64455 #include <math.h>
64456 #ifdef HAVE_IEEEFP_H
64457 #include <ieeefp.h>
64458 #endif
64461 main ()
64463 _fabsl(0);
64465 return 0;
64467 _ACEOF
64468 if ac_fn_cxx_try_compile "$LINENO"; then :
64469 glibcxx_cv_func__fabsl_use=yes
64470 else
64471 glibcxx_cv_func__fabsl_use=no
64473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64474 ac_ext=c
64475 ac_cpp='$CPP $CPPFLAGS'
64476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
64485 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
64487 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
64488 for ac_func in _fabsl
64489 do :
64490 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
64491 if test "x$ac_cv_func__fabsl" = x""yes; then :
64492 cat >>confdefs.h <<_ACEOF
64493 #define HAVE__FABSL 1
64494 _ACEOF
64497 done
64506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
64507 $as_echo_n "checking for fmodl declaration... " >&6; }
64508 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
64509 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
64510 $as_echo_n "(cached) " >&6
64511 else
64514 ac_ext=cpp
64515 ac_cpp='$CXXCPP $CPPFLAGS'
64516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64521 /* end confdefs.h. */
64522 #include <math.h>
64524 main ()
64526 fmodl(0, 0);
64528 return 0;
64530 _ACEOF
64531 if ac_fn_cxx_try_compile "$LINENO"; then :
64532 glibcxx_cv_func_fmodl_use=yes
64533 else
64534 glibcxx_cv_func_fmodl_use=no
64536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64537 ac_ext=c
64538 ac_cpp='$CPP $CPPFLAGS'
64539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
64548 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
64550 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
64551 for ac_func in fmodl
64552 do :
64553 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
64554 if test "x$ac_cv_func_fmodl" = x""yes; then :
64555 cat >>confdefs.h <<_ACEOF
64556 #define HAVE_FMODL 1
64557 _ACEOF
64560 done
64562 else
64564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
64565 $as_echo_n "checking for _fmodl declaration... " >&6; }
64566 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
64567 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
64568 $as_echo_n "(cached) " >&6
64569 else
64572 ac_ext=cpp
64573 ac_cpp='$CXXCPP $CPPFLAGS'
64574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64579 /* end confdefs.h. */
64580 #include <math.h>
64582 main ()
64584 _fmodl(0, 0);
64586 return 0;
64588 _ACEOF
64589 if ac_fn_cxx_try_compile "$LINENO"; then :
64590 glibcxx_cv_func__fmodl_use=yes
64591 else
64592 glibcxx_cv_func__fmodl_use=no
64594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64595 ac_ext=c
64596 ac_cpp='$CPP $CPPFLAGS'
64597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
64606 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
64608 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
64609 for ac_func in _fmodl
64610 do :
64611 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
64612 if test "x$ac_cv_func__fmodl" = x""yes; then :
64613 cat >>confdefs.h <<_ACEOF
64614 #define HAVE__FMODL 1
64615 _ACEOF
64618 done
64627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
64628 $as_echo_n "checking for frexpl declaration... " >&6; }
64629 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
64630 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
64631 $as_echo_n "(cached) " >&6
64632 else
64635 ac_ext=cpp
64636 ac_cpp='$CXXCPP $CPPFLAGS'
64637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64642 /* end confdefs.h. */
64643 #include <math.h>
64645 main ()
64647 frexpl(0, 0);
64649 return 0;
64651 _ACEOF
64652 if ac_fn_cxx_try_compile "$LINENO"; then :
64653 glibcxx_cv_func_frexpl_use=yes
64654 else
64655 glibcxx_cv_func_frexpl_use=no
64657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64658 ac_ext=c
64659 ac_cpp='$CPP $CPPFLAGS'
64660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
64669 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
64671 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
64672 for ac_func in frexpl
64673 do :
64674 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
64675 if test "x$ac_cv_func_frexpl" = x""yes; then :
64676 cat >>confdefs.h <<_ACEOF
64677 #define HAVE_FREXPL 1
64678 _ACEOF
64681 done
64683 else
64685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
64686 $as_echo_n "checking for _frexpl declaration... " >&6; }
64687 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
64688 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
64689 $as_echo_n "(cached) " >&6
64690 else
64693 ac_ext=cpp
64694 ac_cpp='$CXXCPP $CPPFLAGS'
64695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64700 /* end confdefs.h. */
64701 #include <math.h>
64703 main ()
64705 _frexpl(0, 0);
64707 return 0;
64709 _ACEOF
64710 if ac_fn_cxx_try_compile "$LINENO"; then :
64711 glibcxx_cv_func__frexpl_use=yes
64712 else
64713 glibcxx_cv_func__frexpl_use=no
64715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64716 ac_ext=c
64717 ac_cpp='$CPP $CPPFLAGS'
64718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
64727 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
64729 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
64730 for ac_func in _frexpl
64731 do :
64732 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
64733 if test "x$ac_cv_func__frexpl" = x""yes; then :
64734 cat >>confdefs.h <<_ACEOF
64735 #define HAVE__FREXPL 1
64736 _ACEOF
64739 done
64748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
64749 $as_echo_n "checking for hypotl declaration... " >&6; }
64750 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
64751 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
64752 $as_echo_n "(cached) " >&6
64753 else
64756 ac_ext=cpp
64757 ac_cpp='$CXXCPP $CPPFLAGS'
64758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64763 /* end confdefs.h. */
64764 #include <math.h>
64766 main ()
64768 hypotl(0, 0);
64770 return 0;
64772 _ACEOF
64773 if ac_fn_cxx_try_compile "$LINENO"; then :
64774 glibcxx_cv_func_hypotl_use=yes
64775 else
64776 glibcxx_cv_func_hypotl_use=no
64778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64779 ac_ext=c
64780 ac_cpp='$CPP $CPPFLAGS'
64781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
64790 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
64792 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
64793 for ac_func in hypotl
64794 do :
64795 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
64796 if test "x$ac_cv_func_hypotl" = x""yes; then :
64797 cat >>confdefs.h <<_ACEOF
64798 #define HAVE_HYPOTL 1
64799 _ACEOF
64802 done
64804 else
64806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
64807 $as_echo_n "checking for _hypotl declaration... " >&6; }
64808 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
64809 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
64810 $as_echo_n "(cached) " >&6
64811 else
64814 ac_ext=cpp
64815 ac_cpp='$CXXCPP $CPPFLAGS'
64816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64821 /* end confdefs.h. */
64822 #include <math.h>
64824 main ()
64826 _hypotl(0, 0);
64828 return 0;
64830 _ACEOF
64831 if ac_fn_cxx_try_compile "$LINENO"; then :
64832 glibcxx_cv_func__hypotl_use=yes
64833 else
64834 glibcxx_cv_func__hypotl_use=no
64836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64837 ac_ext=c
64838 ac_cpp='$CPP $CPPFLAGS'
64839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
64848 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
64850 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
64851 for ac_func in _hypotl
64852 do :
64853 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
64854 if test "x$ac_cv_func__hypotl" = x""yes; then :
64855 cat >>confdefs.h <<_ACEOF
64856 #define HAVE__HYPOTL 1
64857 _ACEOF
64860 done
64869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
64870 $as_echo_n "checking for ldexpl declaration... " >&6; }
64871 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
64872 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
64873 $as_echo_n "(cached) " >&6
64874 else
64877 ac_ext=cpp
64878 ac_cpp='$CXXCPP $CPPFLAGS'
64879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64884 /* end confdefs.h. */
64885 #include <math.h>
64887 main ()
64889 ldexpl(0, 0);
64891 return 0;
64893 _ACEOF
64894 if ac_fn_cxx_try_compile "$LINENO"; then :
64895 glibcxx_cv_func_ldexpl_use=yes
64896 else
64897 glibcxx_cv_func_ldexpl_use=no
64899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64900 ac_ext=c
64901 ac_cpp='$CPP $CPPFLAGS'
64902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
64911 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
64913 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
64914 for ac_func in ldexpl
64915 do :
64916 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
64917 if test "x$ac_cv_func_ldexpl" = x""yes; then :
64918 cat >>confdefs.h <<_ACEOF
64919 #define HAVE_LDEXPL 1
64920 _ACEOF
64923 done
64925 else
64927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
64928 $as_echo_n "checking for _ldexpl declaration... " >&6; }
64929 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
64930 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
64931 $as_echo_n "(cached) " >&6
64932 else
64935 ac_ext=cpp
64936 ac_cpp='$CXXCPP $CPPFLAGS'
64937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64942 /* end confdefs.h. */
64943 #include <math.h>
64945 main ()
64947 _ldexpl(0, 0);
64949 return 0;
64951 _ACEOF
64952 if ac_fn_cxx_try_compile "$LINENO"; then :
64953 glibcxx_cv_func__ldexpl_use=yes
64954 else
64955 glibcxx_cv_func__ldexpl_use=no
64957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64958 ac_ext=c
64959 ac_cpp='$CPP $CPPFLAGS'
64960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
64969 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
64971 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
64972 for ac_func in _ldexpl
64973 do :
64974 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
64975 if test "x$ac_cv_func__ldexpl" = x""yes; then :
64976 cat >>confdefs.h <<_ACEOF
64977 #define HAVE__LDEXPL 1
64978 _ACEOF
64981 done
64990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
64991 $as_echo_n "checking for logl declaration... " >&6; }
64992 if test x${glibcxx_cv_func_logl_use+set} != xset; then
64993 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
64994 $as_echo_n "(cached) " >&6
64995 else
64998 ac_ext=cpp
64999 ac_cpp='$CXXCPP $CPPFLAGS'
65000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65005 /* end confdefs.h. */
65006 #include <math.h>
65007 #ifdef HAVE_IEEEFP_H
65008 #include <ieeefp.h>
65009 #endif
65012 main ()
65014 logl(0);
65016 return 0;
65018 _ACEOF
65019 if ac_fn_cxx_try_compile "$LINENO"; then :
65020 glibcxx_cv_func_logl_use=yes
65021 else
65022 glibcxx_cv_func_logl_use=no
65024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65025 ac_ext=c
65026 ac_cpp='$CPP $CPPFLAGS'
65027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
65036 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
65038 if test x$glibcxx_cv_func_logl_use = x"yes"; then
65039 for ac_func in logl
65040 do :
65041 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
65042 if test "x$ac_cv_func_logl" = x""yes; then :
65043 cat >>confdefs.h <<_ACEOF
65044 #define HAVE_LOGL 1
65045 _ACEOF
65048 done
65050 else
65052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
65053 $as_echo_n "checking for _logl declaration... " >&6; }
65054 if test x${glibcxx_cv_func__logl_use+set} != xset; then
65055 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
65056 $as_echo_n "(cached) " >&6
65057 else
65060 ac_ext=cpp
65061 ac_cpp='$CXXCPP $CPPFLAGS'
65062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65067 /* end confdefs.h. */
65068 #include <math.h>
65069 #ifdef HAVE_IEEEFP_H
65070 #include <ieeefp.h>
65071 #endif
65074 main ()
65076 _logl(0);
65078 return 0;
65080 _ACEOF
65081 if ac_fn_cxx_try_compile "$LINENO"; then :
65082 glibcxx_cv_func__logl_use=yes
65083 else
65084 glibcxx_cv_func__logl_use=no
65086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65087 ac_ext=c
65088 ac_cpp='$CPP $CPPFLAGS'
65089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
65098 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
65100 if test x$glibcxx_cv_func__logl_use = x"yes"; then
65101 for ac_func in _logl
65102 do :
65103 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
65104 if test "x$ac_cv_func__logl" = x""yes; then :
65105 cat >>confdefs.h <<_ACEOF
65106 #define HAVE__LOGL 1
65107 _ACEOF
65110 done
65119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
65120 $as_echo_n "checking for log10l declaration... " >&6; }
65121 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65122 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
65123 $as_echo_n "(cached) " >&6
65124 else
65127 ac_ext=cpp
65128 ac_cpp='$CXXCPP $CPPFLAGS'
65129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65134 /* end confdefs.h. */
65135 #include <math.h>
65136 #ifdef HAVE_IEEEFP_H
65137 #include <ieeefp.h>
65138 #endif
65141 main ()
65143 log10l(0);
65145 return 0;
65147 _ACEOF
65148 if ac_fn_cxx_try_compile "$LINENO"; then :
65149 glibcxx_cv_func_log10l_use=yes
65150 else
65151 glibcxx_cv_func_log10l_use=no
65153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65154 ac_ext=c
65155 ac_cpp='$CPP $CPPFLAGS'
65156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
65165 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
65167 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65168 for ac_func in log10l
65169 do :
65170 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
65171 if test "x$ac_cv_func_log10l" = x""yes; then :
65172 cat >>confdefs.h <<_ACEOF
65173 #define HAVE_LOG10L 1
65174 _ACEOF
65177 done
65179 else
65181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
65182 $as_echo_n "checking for _log10l declaration... " >&6; }
65183 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65184 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
65185 $as_echo_n "(cached) " >&6
65186 else
65189 ac_ext=cpp
65190 ac_cpp='$CXXCPP $CPPFLAGS'
65191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65196 /* end confdefs.h. */
65197 #include <math.h>
65198 #ifdef HAVE_IEEEFP_H
65199 #include <ieeefp.h>
65200 #endif
65203 main ()
65205 _log10l(0);
65207 return 0;
65209 _ACEOF
65210 if ac_fn_cxx_try_compile "$LINENO"; then :
65211 glibcxx_cv_func__log10l_use=yes
65212 else
65213 glibcxx_cv_func__log10l_use=no
65215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65216 ac_ext=c
65217 ac_cpp='$CPP $CPPFLAGS'
65218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
65227 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
65229 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65230 for ac_func in _log10l
65231 do :
65232 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
65233 if test "x$ac_cv_func__log10l" = x""yes; then :
65234 cat >>confdefs.h <<_ACEOF
65235 #define HAVE__LOG10L 1
65236 _ACEOF
65239 done
65248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
65249 $as_echo_n "checking for modfl declaration... " >&6; }
65250 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
65251 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
65252 $as_echo_n "(cached) " >&6
65253 else
65256 ac_ext=cpp
65257 ac_cpp='$CXXCPP $CPPFLAGS'
65258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65263 /* end confdefs.h. */
65264 #include <math.h>
65266 main ()
65268 modfl(0, 0);
65270 return 0;
65272 _ACEOF
65273 if ac_fn_cxx_try_compile "$LINENO"; then :
65274 glibcxx_cv_func_modfl_use=yes
65275 else
65276 glibcxx_cv_func_modfl_use=no
65278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65279 ac_ext=c
65280 ac_cpp='$CPP $CPPFLAGS'
65281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65290 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65292 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65293 for ac_func in modfl
65294 do :
65295 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65296 if test "x$ac_cv_func_modfl" = x""yes; then :
65297 cat >>confdefs.h <<_ACEOF
65298 #define HAVE_MODFL 1
65299 _ACEOF
65302 done
65304 else
65306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65307 $as_echo_n "checking for _modfl declaration... " >&6; }
65308 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65309 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
65310 $as_echo_n "(cached) " >&6
65311 else
65314 ac_ext=cpp
65315 ac_cpp='$CXXCPP $CPPFLAGS'
65316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65321 /* end confdefs.h. */
65322 #include <math.h>
65324 main ()
65326 _modfl(0, 0);
65328 return 0;
65330 _ACEOF
65331 if ac_fn_cxx_try_compile "$LINENO"; then :
65332 glibcxx_cv_func__modfl_use=yes
65333 else
65334 glibcxx_cv_func__modfl_use=no
65336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65337 ac_ext=c
65338 ac_cpp='$CPP $CPPFLAGS'
65339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
65348 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
65350 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
65351 for ac_func in _modfl
65352 do :
65353 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
65354 if test "x$ac_cv_func__modfl" = x""yes; then :
65355 cat >>confdefs.h <<_ACEOF
65356 #define HAVE__MODFL 1
65357 _ACEOF
65360 done
65369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
65370 $as_echo_n "checking for powl declaration... " >&6; }
65371 if test x${glibcxx_cv_func_powl_use+set} != xset; then
65372 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
65373 $as_echo_n "(cached) " >&6
65374 else
65377 ac_ext=cpp
65378 ac_cpp='$CXXCPP $CPPFLAGS'
65379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65384 /* end confdefs.h. */
65385 #include <math.h>
65387 main ()
65389 powl(0, 0);
65391 return 0;
65393 _ACEOF
65394 if ac_fn_cxx_try_compile "$LINENO"; then :
65395 glibcxx_cv_func_powl_use=yes
65396 else
65397 glibcxx_cv_func_powl_use=no
65399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65400 ac_ext=c
65401 ac_cpp='$CPP $CPPFLAGS'
65402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
65411 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
65413 if test x$glibcxx_cv_func_powl_use = x"yes"; then
65414 for ac_func in powl
65415 do :
65416 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
65417 if test "x$ac_cv_func_powl" = x""yes; then :
65418 cat >>confdefs.h <<_ACEOF
65419 #define HAVE_POWL 1
65420 _ACEOF
65423 done
65425 else
65427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
65428 $as_echo_n "checking for _powl declaration... " >&6; }
65429 if test x${glibcxx_cv_func__powl_use+set} != xset; then
65430 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
65431 $as_echo_n "(cached) " >&6
65432 else
65435 ac_ext=cpp
65436 ac_cpp='$CXXCPP $CPPFLAGS'
65437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65442 /* end confdefs.h. */
65443 #include <math.h>
65445 main ()
65447 _powl(0, 0);
65449 return 0;
65451 _ACEOF
65452 if ac_fn_cxx_try_compile "$LINENO"; then :
65453 glibcxx_cv_func__powl_use=yes
65454 else
65455 glibcxx_cv_func__powl_use=no
65457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65458 ac_ext=c
65459 ac_cpp='$CPP $CPPFLAGS'
65460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
65469 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
65471 if test x$glibcxx_cv_func__powl_use = x"yes"; then
65472 for ac_func in _powl
65473 do :
65474 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
65475 if test "x$ac_cv_func__powl" = x""yes; then :
65476 cat >>confdefs.h <<_ACEOF
65477 #define HAVE__POWL 1
65478 _ACEOF
65481 done
65490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
65491 $as_echo_n "checking for sqrtl declaration... " >&6; }
65492 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
65493 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
65494 $as_echo_n "(cached) " >&6
65495 else
65498 ac_ext=cpp
65499 ac_cpp='$CXXCPP $CPPFLAGS'
65500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65505 /* end confdefs.h. */
65506 #include <math.h>
65507 #ifdef HAVE_IEEEFP_H
65508 #include <ieeefp.h>
65509 #endif
65512 main ()
65514 sqrtl(0);
65516 return 0;
65518 _ACEOF
65519 if ac_fn_cxx_try_compile "$LINENO"; then :
65520 glibcxx_cv_func_sqrtl_use=yes
65521 else
65522 glibcxx_cv_func_sqrtl_use=no
65524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65525 ac_ext=c
65526 ac_cpp='$CPP $CPPFLAGS'
65527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
65536 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
65538 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
65539 for ac_func in sqrtl
65540 do :
65541 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
65542 if test "x$ac_cv_func_sqrtl" = x""yes; then :
65543 cat >>confdefs.h <<_ACEOF
65544 #define HAVE_SQRTL 1
65545 _ACEOF
65548 done
65550 else
65552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
65553 $as_echo_n "checking for _sqrtl declaration... " >&6; }
65554 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
65555 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
65556 $as_echo_n "(cached) " >&6
65557 else
65560 ac_ext=cpp
65561 ac_cpp='$CXXCPP $CPPFLAGS'
65562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65567 /* end confdefs.h. */
65568 #include <math.h>
65569 #ifdef HAVE_IEEEFP_H
65570 #include <ieeefp.h>
65571 #endif
65574 main ()
65576 _sqrtl(0);
65578 return 0;
65580 _ACEOF
65581 if ac_fn_cxx_try_compile "$LINENO"; then :
65582 glibcxx_cv_func__sqrtl_use=yes
65583 else
65584 glibcxx_cv_func__sqrtl_use=no
65586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65587 ac_ext=c
65588 ac_cpp='$CPP $CPPFLAGS'
65589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
65598 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
65600 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
65601 for ac_func in _sqrtl
65602 do :
65603 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
65604 if test "x$ac_cv_func__sqrtl" = x""yes; then :
65605 cat >>confdefs.h <<_ACEOF
65606 #define HAVE__SQRTL 1
65607 _ACEOF
65610 done
65619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
65620 $as_echo_n "checking for sincosl declaration... " >&6; }
65621 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
65622 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
65623 $as_echo_n "(cached) " >&6
65624 else
65627 ac_ext=cpp
65628 ac_cpp='$CXXCPP $CPPFLAGS'
65629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65634 /* end confdefs.h. */
65635 #include <math.h>
65637 main ()
65639 sincosl(0, 0, 0);
65641 return 0;
65643 _ACEOF
65644 if ac_fn_cxx_try_compile "$LINENO"; then :
65645 glibcxx_cv_func_sincosl_use=yes
65646 else
65647 glibcxx_cv_func_sincosl_use=no
65649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65650 ac_ext=c
65651 ac_cpp='$CPP $CPPFLAGS'
65652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
65661 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
65663 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
65664 for ac_func in sincosl
65665 do :
65666 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
65667 if test "x$ac_cv_func_sincosl" = x""yes; then :
65668 cat >>confdefs.h <<_ACEOF
65669 #define HAVE_SINCOSL 1
65670 _ACEOF
65673 done
65675 else
65677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
65678 $as_echo_n "checking for _sincosl declaration... " >&6; }
65679 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
65680 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
65681 $as_echo_n "(cached) " >&6
65682 else
65685 ac_ext=cpp
65686 ac_cpp='$CXXCPP $CPPFLAGS'
65687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65692 /* end confdefs.h. */
65693 #include <math.h>
65695 main ()
65697 _sincosl(0, 0, 0);
65699 return 0;
65701 _ACEOF
65702 if ac_fn_cxx_try_compile "$LINENO"; then :
65703 glibcxx_cv_func__sincosl_use=yes
65704 else
65705 glibcxx_cv_func__sincosl_use=no
65707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65708 ac_ext=c
65709 ac_cpp='$CPP $CPPFLAGS'
65710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
65719 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
65721 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
65722 for ac_func in _sincosl
65723 do :
65724 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
65725 if test "x$ac_cv_func__sincosl" = x""yes; then :
65726 cat >>confdefs.h <<_ACEOF
65727 #define HAVE__SINCOSL 1
65728 _ACEOF
65731 done
65740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
65741 $as_echo_n "checking for finitel declaration... " >&6; }
65742 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
65743 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
65744 $as_echo_n "(cached) " >&6
65745 else
65748 ac_ext=cpp
65749 ac_cpp='$CXXCPP $CPPFLAGS'
65750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65755 /* end confdefs.h. */
65756 #include <math.h>
65757 #ifdef HAVE_IEEEFP_H
65758 #include <ieeefp.h>
65759 #endif
65762 main ()
65764 finitel(0);
65766 return 0;
65768 _ACEOF
65769 if ac_fn_cxx_try_compile "$LINENO"; then :
65770 glibcxx_cv_func_finitel_use=yes
65771 else
65772 glibcxx_cv_func_finitel_use=no
65774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65775 ac_ext=c
65776 ac_cpp='$CPP $CPPFLAGS'
65777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
65786 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
65788 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
65789 for ac_func in finitel
65790 do :
65791 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
65792 if test "x$ac_cv_func_finitel" = x""yes; then :
65793 cat >>confdefs.h <<_ACEOF
65794 #define HAVE_FINITEL 1
65795 _ACEOF
65798 done
65800 else
65802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
65803 $as_echo_n "checking for _finitel declaration... " >&6; }
65804 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
65805 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
65806 $as_echo_n "(cached) " >&6
65807 else
65810 ac_ext=cpp
65811 ac_cpp='$CXXCPP $CPPFLAGS'
65812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65817 /* end confdefs.h. */
65818 #include <math.h>
65819 #ifdef HAVE_IEEEFP_H
65820 #include <ieeefp.h>
65821 #endif
65824 main ()
65826 _finitel(0);
65828 return 0;
65830 _ACEOF
65831 if ac_fn_cxx_try_compile "$LINENO"; then :
65832 glibcxx_cv_func__finitel_use=yes
65833 else
65834 glibcxx_cv_func__finitel_use=no
65836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65837 ac_ext=c
65838 ac_cpp='$CPP $CPPFLAGS'
65839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
65848 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
65850 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
65851 for ac_func in _finitel
65852 do :
65853 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
65854 if test "x$ac_cv_func__finitel" = x""yes; then :
65855 cat >>confdefs.h <<_ACEOF
65856 #define HAVE__FINITEL 1
65857 _ACEOF
65860 done
65868 LIBS="$ac_save_LIBS"
65869 CXXFLAGS="$ac_save_CXXFLAGS"
65872 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65873 ac_save_CXXFLAGS="$CXXFLAGS"
65874 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
65878 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
65879 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
65880 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
65881 $as_echo_n "(cached) " >&6
65882 else
65885 ac_ext=cpp
65886 ac_cpp='$CXXCPP $CPPFLAGS'
65887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65892 /* end confdefs.h. */
65893 #include <stdlib.h>
65895 main ()
65897 at_quick_exit(0);
65899 return 0;
65901 _ACEOF
65902 if ac_fn_cxx_try_compile "$LINENO"; then :
65903 glibcxx_cv_func_at_quick_exit_use=yes
65904 else
65905 glibcxx_cv_func_at_quick_exit_use=no
65907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65908 ac_ext=c
65909 ac_cpp='$CPP $CPPFLAGS'
65910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
65919 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
65920 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
65921 for ac_func in at_quick_exit
65922 do :
65923 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
65924 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
65925 cat >>confdefs.h <<_ACEOF
65926 #define HAVE_AT_QUICK_EXIT 1
65927 _ACEOF
65930 done
65935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
65936 $as_echo_n "checking for quick_exit declaration... " >&6; }
65937 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
65938 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
65939 $as_echo_n "(cached) " >&6
65940 else
65943 ac_ext=cpp
65944 ac_cpp='$CXXCPP $CPPFLAGS'
65945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65950 /* end confdefs.h. */
65951 #include <stdlib.h>
65953 main ()
65955 quick_exit(0);
65957 return 0;
65959 _ACEOF
65960 if ac_fn_cxx_try_compile "$LINENO"; then :
65961 glibcxx_cv_func_quick_exit_use=yes
65962 else
65963 glibcxx_cv_func_quick_exit_use=no
65965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65966 ac_ext=c
65967 ac_cpp='$CPP $CPPFLAGS'
65968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
65977 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
65978 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
65979 for ac_func in quick_exit
65980 do :
65981 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
65982 if test "x$ac_cv_func_quick_exit" = x""yes; then :
65983 cat >>confdefs.h <<_ACEOF
65984 #define HAVE_QUICK_EXIT 1
65985 _ACEOF
65988 done
65993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
65994 $as_echo_n "checking for strtold declaration... " >&6; }
65995 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
65996 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
65997 $as_echo_n "(cached) " >&6
65998 else
66001 ac_ext=cpp
66002 ac_cpp='$CXXCPP $CPPFLAGS'
66003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66008 /* end confdefs.h. */
66009 #include <stdlib.h>
66011 main ()
66013 strtold(0, 0);
66015 return 0;
66017 _ACEOF
66018 if ac_fn_cxx_try_compile "$LINENO"; then :
66019 glibcxx_cv_func_strtold_use=yes
66020 else
66021 glibcxx_cv_func_strtold_use=no
66023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66024 ac_ext=c
66025 ac_cpp='$CPP $CPPFLAGS'
66026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
66035 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
66036 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
66037 for ac_func in strtold
66038 do :
66039 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
66040 if test "x$ac_cv_func_strtold" = x""yes; then :
66041 cat >>confdefs.h <<_ACEOF
66042 #define HAVE_STRTOLD 1
66043 _ACEOF
66046 done
66053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
66054 $as_echo_n "checking for strtof declaration... " >&6; }
66055 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
66056 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
66057 $as_echo_n "(cached) " >&6
66058 else
66061 ac_ext=cpp
66062 ac_cpp='$CXXCPP $CPPFLAGS'
66063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66068 /* end confdefs.h. */
66069 #include <stdlib.h>
66071 main ()
66073 strtof(0, 0);
66075 return 0;
66077 _ACEOF
66078 if ac_fn_cxx_try_compile "$LINENO"; then :
66079 glibcxx_cv_func_strtof_use=yes
66080 else
66081 glibcxx_cv_func_strtof_use=no
66083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66084 ac_ext=c
66085 ac_cpp='$CPP $CPPFLAGS'
66086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
66095 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
66096 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
66097 for ac_func in strtof
66098 do :
66099 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
66100 if test "x$ac_cv_func_strtof" = x""yes; then :
66101 cat >>confdefs.h <<_ACEOF
66102 #define HAVE_STRTOF 1
66103 _ACEOF
66106 done
66113 CXXFLAGS="$ac_save_CXXFLAGS"
66115 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
66116 do :
66117 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66118 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66119 eval as_val=\$$as_ac_var
66120 if test "x$as_val" = x""yes; then :
66121 cat >>confdefs.h <<_ACEOF
66122 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66123 _ACEOF
66126 done
66129 *-netbsd*)
66130 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66133 # If we're not using GNU ld, then there's no point in even trying these
66134 # tests. Check for that first. We should have already tested for gld
66135 # by now (in libtool), but require it now just to be safe...
66136 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66137 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66141 # The name set by libtool depends on the version of libtool. Shame on us
66142 # for depending on an impl detail, but c'est la vie. Older versions used
66143 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66144 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66145 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66146 # set (hence we're using an older libtool), then set it.
66147 if test x${with_gnu_ld+set} != xset; then
66148 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66149 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66150 with_gnu_ld=no
66151 else
66152 with_gnu_ld=$ac_cv_prog_gnu_ld
66156 # Start by getting the version number. I think the libtool test already
66157 # does some of this, but throws away the result.
66158 glibcxx_ld_is_gold=no
66159 if test x"$with_gnu_ld" = x"yes"; then
66160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66161 $as_echo_n "checking for ld version... " >&6; }
66163 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66164 glibcxx_ld_is_gold=yes
66166 ldver=`$LD --version 2>/dev/null |
66167 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
66169 glibcxx_gnu_ld_version=`echo $ldver | \
66170 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66172 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66175 # Set --gc-sections.
66176 glibcxx_have_gc_sections=no
66177 if test "$glibcxx_ld_is_gold" = "yes"; then
66178 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66179 glibcxx_have_gc_sections=yes
66181 else
66182 glibcxx_gcsections_min_ld=21602
66183 if test x"$with_gnu_ld" = x"yes" &&
66184 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66185 glibcxx_have_gc_sections=yes
66188 if test "$glibcxx_have_gc_sections" = "yes"; then
66189 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66190 # NB: This flag only works reliably after 2.16.1. Configure tests
66191 # for this are difficult, so hard wire a value that should work.
66193 ac_test_CFLAGS="${CFLAGS+set}"
66194 ac_save_CFLAGS="$CFLAGS"
66195 CFLAGS='-Wl,--gc-sections'
66197 # Check for -Wl,--gc-sections
66198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66199 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66200 if test x$gcc_no_link = xyes; then
66201 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66204 /* end confdefs.h. */
66205 int one(void) { return 1; }
66206 int two(void) { return 2; }
66209 main ()
66211 two();
66213 return 0;
66215 _ACEOF
66216 if ac_fn_c_try_link "$LINENO"; then :
66217 ac_gcsections=yes
66218 else
66219 ac_gcsections=no
66221 rm -f core conftest.err conftest.$ac_objext \
66222 conftest$ac_exeext conftest.$ac_ext
66223 if test "$ac_gcsections" = "yes"; then
66224 rm -f conftest.c
66225 touch conftest.c
66226 if $CC -c conftest.c; then
66227 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66228 grep "Warning: gc-sections option ignored" > /dev/null; then
66229 ac_gcsections=no
66232 rm -f conftest.c conftest.o conftest
66234 if test "$ac_gcsections" = "yes"; then
66235 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66238 $as_echo "$ac_gcsections" >&6; }
66240 if test "$ac_test_CFLAGS" = set; then
66241 CFLAGS="$ac_save_CFLAGS"
66242 else
66243 # this is the suspicious part
66244 CFLAGS=''
66248 # Set -z,relro.
66249 # Note this is only for shared objects.
66250 ac_ld_relro=no
66251 if test x"$with_gnu_ld" = x"yes"; then
66252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66253 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66254 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66255 if test -n "$cxx_z_relo"; then
66256 OPT_LDFLAGS="-Wl,-z,relro"
66257 ac_ld_relro=yes
66259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66260 $as_echo "$ac_ld_relro" >&6; }
66263 # Set linker optimization flags.
66264 if test x"$with_gnu_ld" = x"yes"; then
66265 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66271 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66273 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66275 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66277 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66279 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66281 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66283 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66285 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66287 if test x"long_double_math_on_this_cpu" = x"yes"; then
66288 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66290 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66292 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66296 *-qnx6.1* | *-qnx6.2*)
66297 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66300 # If we're not using GNU ld, then there's no point in even trying these
66301 # tests. Check for that first. We should have already tested for gld
66302 # by now (in libtool), but require it now just to be safe...
66303 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66304 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66308 # The name set by libtool depends on the version of libtool. Shame on us
66309 # for depending on an impl detail, but c'est la vie. Older versions used
66310 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66311 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66312 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66313 # set (hence we're using an older libtool), then set it.
66314 if test x${with_gnu_ld+set} != xset; then
66315 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66316 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66317 with_gnu_ld=no
66318 else
66319 with_gnu_ld=$ac_cv_prog_gnu_ld
66323 # Start by getting the version number. I think the libtool test already
66324 # does some of this, but throws away the result.
66325 glibcxx_ld_is_gold=no
66326 if test x"$with_gnu_ld" = x"yes"; then
66327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66328 $as_echo_n "checking for ld version... " >&6; }
66330 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66331 glibcxx_ld_is_gold=yes
66333 ldver=`$LD --version 2>/dev/null |
66334 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
66336 glibcxx_gnu_ld_version=`echo $ldver | \
66337 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66339 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66342 # Set --gc-sections.
66343 glibcxx_have_gc_sections=no
66344 if test "$glibcxx_ld_is_gold" = "yes"; then
66345 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66346 glibcxx_have_gc_sections=yes
66348 else
66349 glibcxx_gcsections_min_ld=21602
66350 if test x"$with_gnu_ld" = x"yes" &&
66351 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66352 glibcxx_have_gc_sections=yes
66355 if test "$glibcxx_have_gc_sections" = "yes"; then
66356 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66357 # NB: This flag only works reliably after 2.16.1. Configure tests
66358 # for this are difficult, so hard wire a value that should work.
66360 ac_test_CFLAGS="${CFLAGS+set}"
66361 ac_save_CFLAGS="$CFLAGS"
66362 CFLAGS='-Wl,--gc-sections'
66364 # Check for -Wl,--gc-sections
66365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66366 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66367 if test x$gcc_no_link = xyes; then
66368 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66371 /* end confdefs.h. */
66372 int one(void) { return 1; }
66373 int two(void) { return 2; }
66376 main ()
66378 two();
66380 return 0;
66382 _ACEOF
66383 if ac_fn_c_try_link "$LINENO"; then :
66384 ac_gcsections=yes
66385 else
66386 ac_gcsections=no
66388 rm -f core conftest.err conftest.$ac_objext \
66389 conftest$ac_exeext conftest.$ac_ext
66390 if test "$ac_gcsections" = "yes"; then
66391 rm -f conftest.c
66392 touch conftest.c
66393 if $CC -c conftest.c; then
66394 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66395 grep "Warning: gc-sections option ignored" > /dev/null; then
66396 ac_gcsections=no
66399 rm -f conftest.c conftest.o conftest
66401 if test "$ac_gcsections" = "yes"; then
66402 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66405 $as_echo "$ac_gcsections" >&6; }
66407 if test "$ac_test_CFLAGS" = set; then
66408 CFLAGS="$ac_save_CFLAGS"
66409 else
66410 # this is the suspicious part
66411 CFLAGS=''
66415 # Set -z,relro.
66416 # Note this is only for shared objects.
66417 ac_ld_relro=no
66418 if test x"$with_gnu_ld" = x"yes"; then
66419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66420 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66421 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66422 if test -n "$cxx_z_relo"; then
66423 OPT_LDFLAGS="-Wl,-z,relro"
66424 ac_ld_relro=yes
66426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66427 $as_echo "$ac_ld_relro" >&6; }
66430 # Set linker optimization flags.
66431 if test x"$with_gnu_ld" = x"yes"; then
66432 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66438 $as_echo "#define HAVE_COSF 1" >>confdefs.h
66440 $as_echo "#define HAVE_COSL 1" >>confdefs.h
66442 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
66444 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
66446 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
66448 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
66450 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
66452 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
66454 $as_echo "#define HAVE_SINF 1" >>confdefs.h
66456 $as_echo "#define HAVE_SINL 1" >>confdefs.h
66458 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
66460 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
66463 *-rtems*)
66465 # All these tests are for C++; save the language and the compiler flags.
66466 # The CXXFLAGS thing is suspicious, but based on similar bits previously
66467 # found in GLIBCXX_CONFIGURE.
66469 ac_ext=cpp
66470 ac_cpp='$CXXCPP $CPPFLAGS'
66471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66475 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66476 ac_save_CXXFLAGS="$CXXFLAGS"
66478 # Check for maintainer-mode bits.
66479 if test x"$USE_MAINTAINER_MODE" = xno; then
66480 WERROR=''
66481 else
66482 WERROR='-Werror'
66485 # Check for -ffunction-sections -fdata-sections
66486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
66487 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
66488 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
66489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66490 /* end confdefs.h. */
66491 int foo; void bar() { };
66493 main ()
66497 return 0;
66499 _ACEOF
66500 if ac_fn_cxx_try_compile "$LINENO"; then :
66501 ac_fdsections=yes
66502 else
66503 ac_fdsections=no
66505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66506 if test "$ac_test_CXXFLAGS" = set; then
66507 CXXFLAGS="$ac_save_CXXFLAGS"
66508 else
66509 # this is the suspicious part
66510 CXXFLAGS=''
66512 if test x"$ac_fdsections" = x"yes"; then
66513 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
66516 $as_echo "$ac_fdsections" >&6; }
66518 ac_ext=c
66519 ac_cpp='$CPP $CPPFLAGS'
66520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66528 # If we're not using GNU ld, then there's no point in even trying these
66529 # tests. Check for that first. We should have already tested for gld
66530 # by now (in libtool), but require it now just to be safe...
66531 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66532 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66536 # The name set by libtool depends on the version of libtool. Shame on us
66537 # for depending on an impl detail, but c'est la vie. Older versions used
66538 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66539 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66540 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66541 # set (hence we're using an older libtool), then set it.
66542 if test x${with_gnu_ld+set} != xset; then
66543 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66544 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66545 with_gnu_ld=no
66546 else
66547 with_gnu_ld=$ac_cv_prog_gnu_ld
66551 # Start by getting the version number. I think the libtool test already
66552 # does some of this, but throws away the result.
66553 glibcxx_ld_is_gold=no
66554 if test x"$with_gnu_ld" = x"yes"; then
66555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66556 $as_echo_n "checking for ld version... " >&6; }
66558 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66559 glibcxx_ld_is_gold=yes
66561 ldver=`$LD --version 2>/dev/null |
66562 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
66564 glibcxx_gnu_ld_version=`echo $ldver | \
66565 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66567 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66570 # Set --gc-sections.
66571 glibcxx_have_gc_sections=no
66572 if test "$glibcxx_ld_is_gold" = "yes"; then
66573 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66574 glibcxx_have_gc_sections=yes
66576 else
66577 glibcxx_gcsections_min_ld=21602
66578 if test x"$with_gnu_ld" = x"yes" &&
66579 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66580 glibcxx_have_gc_sections=yes
66583 if test "$glibcxx_have_gc_sections" = "yes"; then
66584 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66585 # NB: This flag only works reliably after 2.16.1. Configure tests
66586 # for this are difficult, so hard wire a value that should work.
66588 ac_test_CFLAGS="${CFLAGS+set}"
66589 ac_save_CFLAGS="$CFLAGS"
66590 CFLAGS='-Wl,--gc-sections'
66592 # Check for -Wl,--gc-sections
66593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66594 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66595 if test x$gcc_no_link = xyes; then
66596 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66599 /* end confdefs.h. */
66600 int one(void) { return 1; }
66601 int two(void) { return 2; }
66604 main ()
66606 two();
66608 return 0;
66610 _ACEOF
66611 if ac_fn_c_try_link "$LINENO"; then :
66612 ac_gcsections=yes
66613 else
66614 ac_gcsections=no
66616 rm -f core conftest.err conftest.$ac_objext \
66617 conftest$ac_exeext conftest.$ac_ext
66618 if test "$ac_gcsections" = "yes"; then
66619 rm -f conftest.c
66620 touch conftest.c
66621 if $CC -c conftest.c; then
66622 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66623 grep "Warning: gc-sections option ignored" > /dev/null; then
66624 ac_gcsections=no
66627 rm -f conftest.c conftest.o conftest
66629 if test "$ac_gcsections" = "yes"; then
66630 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66633 $as_echo "$ac_gcsections" >&6; }
66635 if test "$ac_test_CFLAGS" = set; then
66636 CFLAGS="$ac_save_CFLAGS"
66637 else
66638 # this is the suspicious part
66639 CFLAGS=''
66643 # Set -z,relro.
66644 # Note this is only for shared objects.
66645 ac_ld_relro=no
66646 if test x"$with_gnu_ld" = x"yes"; then
66647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66648 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66649 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66650 if test -n "$cxx_z_relo"; then
66651 OPT_LDFLAGS="-Wl,-z,relro"
66652 ac_ld_relro=yes
66654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66655 $as_echo "$ac_ld_relro" >&6; }
66658 # Set linker optimization flags.
66659 if test x"$with_gnu_ld" = x"yes"; then
66660 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66667 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66668 ac_save_CXXFLAGS="$CXXFLAGS"
66669 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66672 $as_echo_n "checking for sin in -lm... " >&6; }
66673 if test "${ac_cv_lib_m_sin+set}" = set; then :
66674 $as_echo_n "(cached) " >&6
66675 else
66676 ac_check_lib_save_LIBS=$LIBS
66677 LIBS="-lm $LIBS"
66678 if test x$gcc_no_link = xyes; then
66679 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66682 /* end confdefs.h. */
66684 /* Override any GCC internal prototype to avoid an error.
66685 Use char because int might match the return type of a GCC
66686 builtin and then its argument prototype would still apply. */
66687 #ifdef __cplusplus
66688 extern "C"
66689 #endif
66690 char sin ();
66692 main ()
66694 return sin ();
66696 return 0;
66698 _ACEOF
66699 if ac_fn_c_try_link "$LINENO"; then :
66700 ac_cv_lib_m_sin=yes
66701 else
66702 ac_cv_lib_m_sin=no
66704 rm -f core conftest.err conftest.$ac_objext \
66705 conftest$ac_exeext conftest.$ac_ext
66706 LIBS=$ac_check_lib_save_LIBS
66708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66709 $as_echo "$ac_cv_lib_m_sin" >&6; }
66710 if test "x$ac_cv_lib_m_sin" = x""yes; then :
66711 libm="-lm"
66714 ac_save_LIBS="$LIBS"
66715 LIBS="$LIBS $libm"
66719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
66720 $as_echo_n "checking for isinf declaration... " >&6; }
66721 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66722 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
66723 $as_echo_n "(cached) " >&6
66724 else
66727 ac_ext=cpp
66728 ac_cpp='$CXXCPP $CPPFLAGS'
66729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66734 /* end confdefs.h. */
66735 #include <math.h>
66736 #ifdef HAVE_IEEEFP_H
66737 #include <ieeefp.h>
66738 #endif
66741 main ()
66743 isinf(0);
66745 return 0;
66747 _ACEOF
66748 if ac_fn_cxx_try_compile "$LINENO"; then :
66749 glibcxx_cv_func_isinf_use=yes
66750 else
66751 glibcxx_cv_func_isinf_use=no
66753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66754 ac_ext=c
66755 ac_cpp='$CPP $CPPFLAGS'
66756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
66765 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
66767 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
66768 for ac_func in isinf
66769 do :
66770 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
66771 if test "x$ac_cv_func_isinf" = x""yes; then :
66772 cat >>confdefs.h <<_ACEOF
66773 #define HAVE_ISINF 1
66774 _ACEOF
66777 done
66779 else
66781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
66782 $as_echo_n "checking for _isinf declaration... " >&6; }
66783 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
66784 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
66785 $as_echo_n "(cached) " >&6
66786 else
66789 ac_ext=cpp
66790 ac_cpp='$CXXCPP $CPPFLAGS'
66791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66796 /* end confdefs.h. */
66797 #include <math.h>
66798 #ifdef HAVE_IEEEFP_H
66799 #include <ieeefp.h>
66800 #endif
66803 main ()
66805 _isinf(0);
66807 return 0;
66809 _ACEOF
66810 if ac_fn_cxx_try_compile "$LINENO"; then :
66811 glibcxx_cv_func__isinf_use=yes
66812 else
66813 glibcxx_cv_func__isinf_use=no
66815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66816 ac_ext=c
66817 ac_cpp='$CPP $CPPFLAGS'
66818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
66827 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
66829 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
66830 for ac_func in _isinf
66831 do :
66832 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
66833 if test "x$ac_cv_func__isinf" = x""yes; then :
66834 cat >>confdefs.h <<_ACEOF
66835 #define HAVE__ISINF 1
66836 _ACEOF
66839 done
66848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
66849 $as_echo_n "checking for isnan declaration... " >&6; }
66850 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
66851 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
66852 $as_echo_n "(cached) " >&6
66853 else
66856 ac_ext=cpp
66857 ac_cpp='$CXXCPP $CPPFLAGS'
66858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66863 /* end confdefs.h. */
66864 #include <math.h>
66865 #ifdef HAVE_IEEEFP_H
66866 #include <ieeefp.h>
66867 #endif
66870 main ()
66872 isnan(0);
66874 return 0;
66876 _ACEOF
66877 if ac_fn_cxx_try_compile "$LINENO"; then :
66878 glibcxx_cv_func_isnan_use=yes
66879 else
66880 glibcxx_cv_func_isnan_use=no
66882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66883 ac_ext=c
66884 ac_cpp='$CPP $CPPFLAGS'
66885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
66894 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
66896 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
66897 for ac_func in isnan
66898 do :
66899 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
66900 if test "x$ac_cv_func_isnan" = x""yes; then :
66901 cat >>confdefs.h <<_ACEOF
66902 #define HAVE_ISNAN 1
66903 _ACEOF
66906 done
66908 else
66910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
66911 $as_echo_n "checking for _isnan declaration... " >&6; }
66912 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
66913 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
66914 $as_echo_n "(cached) " >&6
66915 else
66918 ac_ext=cpp
66919 ac_cpp='$CXXCPP $CPPFLAGS'
66920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66925 /* end confdefs.h. */
66926 #include <math.h>
66927 #ifdef HAVE_IEEEFP_H
66928 #include <ieeefp.h>
66929 #endif
66932 main ()
66934 _isnan(0);
66936 return 0;
66938 _ACEOF
66939 if ac_fn_cxx_try_compile "$LINENO"; then :
66940 glibcxx_cv_func__isnan_use=yes
66941 else
66942 glibcxx_cv_func__isnan_use=no
66944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66945 ac_ext=c
66946 ac_cpp='$CPP $CPPFLAGS'
66947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
66956 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
66958 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
66959 for ac_func in _isnan
66960 do :
66961 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
66962 if test "x$ac_cv_func__isnan" = x""yes; then :
66963 cat >>confdefs.h <<_ACEOF
66964 #define HAVE__ISNAN 1
66965 _ACEOF
66968 done
66977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
66978 $as_echo_n "checking for finite declaration... " >&6; }
66979 if test x${glibcxx_cv_func_finite_use+set} != xset; then
66980 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
66981 $as_echo_n "(cached) " >&6
66982 else
66985 ac_ext=cpp
66986 ac_cpp='$CXXCPP $CPPFLAGS'
66987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66992 /* end confdefs.h. */
66993 #include <math.h>
66994 #ifdef HAVE_IEEEFP_H
66995 #include <ieeefp.h>
66996 #endif
66999 main ()
67001 finite(0);
67003 return 0;
67005 _ACEOF
67006 if ac_fn_cxx_try_compile "$LINENO"; then :
67007 glibcxx_cv_func_finite_use=yes
67008 else
67009 glibcxx_cv_func_finite_use=no
67011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67012 ac_ext=c
67013 ac_cpp='$CPP $CPPFLAGS'
67014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
67023 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
67025 if test x$glibcxx_cv_func_finite_use = x"yes"; then
67026 for ac_func in finite
67027 do :
67028 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
67029 if test "x$ac_cv_func_finite" = x""yes; then :
67030 cat >>confdefs.h <<_ACEOF
67031 #define HAVE_FINITE 1
67032 _ACEOF
67035 done
67037 else
67039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
67040 $as_echo_n "checking for _finite declaration... " >&6; }
67041 if test x${glibcxx_cv_func__finite_use+set} != xset; then
67042 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
67043 $as_echo_n "(cached) " >&6
67044 else
67047 ac_ext=cpp
67048 ac_cpp='$CXXCPP $CPPFLAGS'
67049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67054 /* end confdefs.h. */
67055 #include <math.h>
67056 #ifdef HAVE_IEEEFP_H
67057 #include <ieeefp.h>
67058 #endif
67061 main ()
67063 _finite(0);
67065 return 0;
67067 _ACEOF
67068 if ac_fn_cxx_try_compile "$LINENO"; then :
67069 glibcxx_cv_func__finite_use=yes
67070 else
67071 glibcxx_cv_func__finite_use=no
67073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67074 ac_ext=c
67075 ac_cpp='$CPP $CPPFLAGS'
67076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
67085 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
67087 if test x$glibcxx_cv_func__finite_use = x"yes"; then
67088 for ac_func in _finite
67089 do :
67090 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
67091 if test "x$ac_cv_func__finite" = x""yes; then :
67092 cat >>confdefs.h <<_ACEOF
67093 #define HAVE__FINITE 1
67094 _ACEOF
67097 done
67106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
67107 $as_echo_n "checking for sincos declaration... " >&6; }
67108 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67109 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
67110 $as_echo_n "(cached) " >&6
67111 else
67114 ac_ext=cpp
67115 ac_cpp='$CXXCPP $CPPFLAGS'
67116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67121 /* end confdefs.h. */
67122 #include <math.h>
67124 main ()
67126 sincos(0, 0, 0);
67128 return 0;
67130 _ACEOF
67131 if ac_fn_cxx_try_compile "$LINENO"; then :
67132 glibcxx_cv_func_sincos_use=yes
67133 else
67134 glibcxx_cv_func_sincos_use=no
67136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67137 ac_ext=c
67138 ac_cpp='$CPP $CPPFLAGS'
67139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67148 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67150 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67151 for ac_func in sincos
67152 do :
67153 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67154 if test "x$ac_cv_func_sincos" = x""yes; then :
67155 cat >>confdefs.h <<_ACEOF
67156 #define HAVE_SINCOS 1
67157 _ACEOF
67160 done
67162 else
67164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67165 $as_echo_n "checking for _sincos declaration... " >&6; }
67166 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67167 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
67168 $as_echo_n "(cached) " >&6
67169 else
67172 ac_ext=cpp
67173 ac_cpp='$CXXCPP $CPPFLAGS'
67174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67179 /* end confdefs.h. */
67180 #include <math.h>
67182 main ()
67184 _sincos(0, 0, 0);
67186 return 0;
67188 _ACEOF
67189 if ac_fn_cxx_try_compile "$LINENO"; then :
67190 glibcxx_cv_func__sincos_use=yes
67191 else
67192 glibcxx_cv_func__sincos_use=no
67194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67195 ac_ext=c
67196 ac_cpp='$CPP $CPPFLAGS'
67197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67206 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67208 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67209 for ac_func in _sincos
67210 do :
67211 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67212 if test "x$ac_cv_func__sincos" = x""yes; then :
67213 cat >>confdefs.h <<_ACEOF
67214 #define HAVE__SINCOS 1
67215 _ACEOF
67218 done
67227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67228 $as_echo_n "checking for fpclass declaration... " >&6; }
67229 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67230 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
67231 $as_echo_n "(cached) " >&6
67232 else
67235 ac_ext=cpp
67236 ac_cpp='$CXXCPP $CPPFLAGS'
67237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67242 /* end confdefs.h. */
67243 #include <math.h>
67244 #ifdef HAVE_IEEEFP_H
67245 #include <ieeefp.h>
67246 #endif
67249 main ()
67251 fpclass(0);
67253 return 0;
67255 _ACEOF
67256 if ac_fn_cxx_try_compile "$LINENO"; then :
67257 glibcxx_cv_func_fpclass_use=yes
67258 else
67259 glibcxx_cv_func_fpclass_use=no
67261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67262 ac_ext=c
67263 ac_cpp='$CPP $CPPFLAGS'
67264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67273 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67275 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67276 for ac_func in fpclass
67277 do :
67278 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67279 if test "x$ac_cv_func_fpclass" = x""yes; then :
67280 cat >>confdefs.h <<_ACEOF
67281 #define HAVE_FPCLASS 1
67282 _ACEOF
67285 done
67287 else
67289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67290 $as_echo_n "checking for _fpclass declaration... " >&6; }
67291 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67292 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
67293 $as_echo_n "(cached) " >&6
67294 else
67297 ac_ext=cpp
67298 ac_cpp='$CXXCPP $CPPFLAGS'
67299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67304 /* end confdefs.h. */
67305 #include <math.h>
67306 #ifdef HAVE_IEEEFP_H
67307 #include <ieeefp.h>
67308 #endif
67311 main ()
67313 _fpclass(0);
67315 return 0;
67317 _ACEOF
67318 if ac_fn_cxx_try_compile "$LINENO"; then :
67319 glibcxx_cv_func__fpclass_use=yes
67320 else
67321 glibcxx_cv_func__fpclass_use=no
67323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67324 ac_ext=c
67325 ac_cpp='$CPP $CPPFLAGS'
67326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67335 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67337 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67338 for ac_func in _fpclass
67339 do :
67340 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67341 if test "x$ac_cv_func__fpclass" = x""yes; then :
67342 cat >>confdefs.h <<_ACEOF
67343 #define HAVE__FPCLASS 1
67344 _ACEOF
67347 done
67356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67357 $as_echo_n "checking for qfpclass declaration... " >&6; }
67358 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67359 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
67360 $as_echo_n "(cached) " >&6
67361 else
67364 ac_ext=cpp
67365 ac_cpp='$CXXCPP $CPPFLAGS'
67366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67371 /* end confdefs.h. */
67372 #include <math.h>
67373 #ifdef HAVE_IEEEFP_H
67374 #include <ieeefp.h>
67375 #endif
67378 main ()
67380 qfpclass(0);
67382 return 0;
67384 _ACEOF
67385 if ac_fn_cxx_try_compile "$LINENO"; then :
67386 glibcxx_cv_func_qfpclass_use=yes
67387 else
67388 glibcxx_cv_func_qfpclass_use=no
67390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67391 ac_ext=c
67392 ac_cpp='$CPP $CPPFLAGS'
67393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67402 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67404 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67405 for ac_func in qfpclass
67406 do :
67407 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67408 if test "x$ac_cv_func_qfpclass" = x""yes; then :
67409 cat >>confdefs.h <<_ACEOF
67410 #define HAVE_QFPCLASS 1
67411 _ACEOF
67414 done
67416 else
67418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67419 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67420 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67421 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
67422 $as_echo_n "(cached) " >&6
67423 else
67426 ac_ext=cpp
67427 ac_cpp='$CXXCPP $CPPFLAGS'
67428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67433 /* end confdefs.h. */
67434 #include <math.h>
67435 #ifdef HAVE_IEEEFP_H
67436 #include <ieeefp.h>
67437 #endif
67440 main ()
67442 _qfpclass(0);
67444 return 0;
67446 _ACEOF
67447 if ac_fn_cxx_try_compile "$LINENO"; then :
67448 glibcxx_cv_func__qfpclass_use=yes
67449 else
67450 glibcxx_cv_func__qfpclass_use=no
67452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67453 ac_ext=c
67454 ac_cpp='$CPP $CPPFLAGS'
67455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67464 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67466 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67467 for ac_func in _qfpclass
67468 do :
67469 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67470 if test "x$ac_cv_func__qfpclass" = x""yes; then :
67471 cat >>confdefs.h <<_ACEOF
67472 #define HAVE__QFPCLASS 1
67473 _ACEOF
67476 done
67485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67486 $as_echo_n "checking for hypot declaration... " >&6; }
67487 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67488 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
67489 $as_echo_n "(cached) " >&6
67490 else
67493 ac_ext=cpp
67494 ac_cpp='$CXXCPP $CPPFLAGS'
67495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67500 /* end confdefs.h. */
67501 #include <math.h>
67503 main ()
67505 hypot(0, 0);
67507 return 0;
67509 _ACEOF
67510 if ac_fn_cxx_try_compile "$LINENO"; then :
67511 glibcxx_cv_func_hypot_use=yes
67512 else
67513 glibcxx_cv_func_hypot_use=no
67515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67516 ac_ext=c
67517 ac_cpp='$CPP $CPPFLAGS'
67518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67527 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67529 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67530 for ac_func in hypot
67531 do :
67532 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67533 if test "x$ac_cv_func_hypot" = x""yes; then :
67534 cat >>confdefs.h <<_ACEOF
67535 #define HAVE_HYPOT 1
67536 _ACEOF
67539 done
67541 else
67543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67544 $as_echo_n "checking for _hypot declaration... " >&6; }
67545 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67546 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
67547 $as_echo_n "(cached) " >&6
67548 else
67551 ac_ext=cpp
67552 ac_cpp='$CXXCPP $CPPFLAGS'
67553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67558 /* end confdefs.h. */
67559 #include <math.h>
67561 main ()
67563 _hypot(0, 0);
67565 return 0;
67567 _ACEOF
67568 if ac_fn_cxx_try_compile "$LINENO"; then :
67569 glibcxx_cv_func__hypot_use=yes
67570 else
67571 glibcxx_cv_func__hypot_use=no
67573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67574 ac_ext=c
67575 ac_cpp='$CPP $CPPFLAGS'
67576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67585 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67587 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67588 for ac_func in _hypot
67589 do :
67590 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67591 if test "x$ac_cv_func__hypot" = x""yes; then :
67592 cat >>confdefs.h <<_ACEOF
67593 #define HAVE__HYPOT 1
67594 _ACEOF
67597 done
67606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67607 $as_echo_n "checking for float trig functions... " >&6; }
67608 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
67609 $as_echo_n "(cached) " >&6
67610 else
67613 ac_ext=cpp
67614 ac_cpp='$CXXCPP $CPPFLAGS'
67615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67620 /* end confdefs.h. */
67621 #include <math.h>
67623 main ()
67625 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67627 return 0;
67629 _ACEOF
67630 if ac_fn_cxx_try_compile "$LINENO"; then :
67631 glibcxx_cv_func_float_trig_use=yes
67632 else
67633 glibcxx_cv_func_float_trig_use=no
67635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67636 ac_ext=c
67637 ac_cpp='$CPP $CPPFLAGS'
67638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67645 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67646 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67647 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67648 do :
67649 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67650 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67651 eval as_val=\$$as_ac_var
67652 if test "x$as_val" = x""yes; then :
67653 cat >>confdefs.h <<_ACEOF
67654 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67655 _ACEOF
67658 done
67660 else
67661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67662 $as_echo_n "checking for _float trig functions... " >&6; }
67663 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
67664 $as_echo_n "(cached) " >&6
67665 else
67668 ac_ext=cpp
67669 ac_cpp='$CXXCPP $CPPFLAGS'
67670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67675 /* end confdefs.h. */
67676 #include <math.h>
67678 main ()
67680 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67682 return 0;
67684 _ACEOF
67685 if ac_fn_cxx_try_compile "$LINENO"; then :
67686 glibcxx_cv_func__float_trig_use=yes
67687 else
67688 glibcxx_cv_func__float_trig_use=no
67690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67691 ac_ext=c
67692 ac_cpp='$CPP $CPPFLAGS'
67693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67700 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67701 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67702 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67703 do :
67704 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67705 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67706 eval as_val=\$$as_ac_var
67707 if test "x$as_val" = x""yes; then :
67708 cat >>confdefs.h <<_ACEOF
67709 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67710 _ACEOF
67713 done
67722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67723 $as_echo_n "checking for float round functions... " >&6; }
67724 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
67725 $as_echo_n "(cached) " >&6
67726 else
67729 ac_ext=cpp
67730 ac_cpp='$CXXCPP $CPPFLAGS'
67731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67736 /* end confdefs.h. */
67737 #include <math.h>
67739 main ()
67741 ceilf (0); floorf (0);
67743 return 0;
67745 _ACEOF
67746 if ac_fn_cxx_try_compile "$LINENO"; then :
67747 glibcxx_cv_func_float_round_use=yes
67748 else
67749 glibcxx_cv_func_float_round_use=no
67751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67752 ac_ext=c
67753 ac_cpp='$CPP $CPPFLAGS'
67754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
67761 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
67762 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67763 for ac_func in ceilf floorf
67764 do :
67765 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67766 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67767 eval as_val=\$$as_ac_var
67768 if test "x$as_val" = x""yes; then :
67769 cat >>confdefs.h <<_ACEOF
67770 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67771 _ACEOF
67774 done
67776 else
67777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
67778 $as_echo_n "checking for _float round functions... " >&6; }
67779 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
67780 $as_echo_n "(cached) " >&6
67781 else
67784 ac_ext=cpp
67785 ac_cpp='$CXXCPP $CPPFLAGS'
67786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67791 /* end confdefs.h. */
67792 #include <math.h>
67794 main ()
67796 _ceilf (0); _floorf (0);
67798 return 0;
67800 _ACEOF
67801 if ac_fn_cxx_try_compile "$LINENO"; then :
67802 glibcxx_cv_func__float_round_use=yes
67803 else
67804 glibcxx_cv_func__float_round_use=no
67806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67807 ac_ext=c
67808 ac_cpp='$CPP $CPPFLAGS'
67809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
67816 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
67817 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67818 for ac_func in _ceilf _floorf
67819 do :
67820 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67821 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67822 eval as_val=\$$as_ac_var
67823 if test "x$as_val" = x""yes; then :
67824 cat >>confdefs.h <<_ACEOF
67825 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67826 _ACEOF
67829 done
67839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
67840 $as_echo_n "checking for expf declaration... " >&6; }
67841 if test x${glibcxx_cv_func_expf_use+set} != xset; then
67842 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
67843 $as_echo_n "(cached) " >&6
67844 else
67847 ac_ext=cpp
67848 ac_cpp='$CXXCPP $CPPFLAGS'
67849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67854 /* end confdefs.h. */
67855 #include <math.h>
67856 #ifdef HAVE_IEEEFP_H
67857 #include <ieeefp.h>
67858 #endif
67861 main ()
67863 expf(0);
67865 return 0;
67867 _ACEOF
67868 if ac_fn_cxx_try_compile "$LINENO"; then :
67869 glibcxx_cv_func_expf_use=yes
67870 else
67871 glibcxx_cv_func_expf_use=no
67873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67874 ac_ext=c
67875 ac_cpp='$CPP $CPPFLAGS'
67876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
67885 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
67887 if test x$glibcxx_cv_func_expf_use = x"yes"; then
67888 for ac_func in expf
67889 do :
67890 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
67891 if test "x$ac_cv_func_expf" = x""yes; then :
67892 cat >>confdefs.h <<_ACEOF
67893 #define HAVE_EXPF 1
67894 _ACEOF
67897 done
67899 else
67901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
67902 $as_echo_n "checking for _expf declaration... " >&6; }
67903 if test x${glibcxx_cv_func__expf_use+set} != xset; then
67904 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
67905 $as_echo_n "(cached) " >&6
67906 else
67909 ac_ext=cpp
67910 ac_cpp='$CXXCPP $CPPFLAGS'
67911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67916 /* end confdefs.h. */
67917 #include <math.h>
67918 #ifdef HAVE_IEEEFP_H
67919 #include <ieeefp.h>
67920 #endif
67923 main ()
67925 _expf(0);
67927 return 0;
67929 _ACEOF
67930 if ac_fn_cxx_try_compile "$LINENO"; then :
67931 glibcxx_cv_func__expf_use=yes
67932 else
67933 glibcxx_cv_func__expf_use=no
67935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67936 ac_ext=c
67937 ac_cpp='$CPP $CPPFLAGS'
67938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
67947 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
67949 if test x$glibcxx_cv_func__expf_use = x"yes"; then
67950 for ac_func in _expf
67951 do :
67952 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
67953 if test "x$ac_cv_func__expf" = x""yes; then :
67954 cat >>confdefs.h <<_ACEOF
67955 #define HAVE__EXPF 1
67956 _ACEOF
67959 done
67968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
67969 $as_echo_n "checking for isnanf declaration... " >&6; }
67970 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
67971 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
67972 $as_echo_n "(cached) " >&6
67973 else
67976 ac_ext=cpp
67977 ac_cpp='$CXXCPP $CPPFLAGS'
67978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67983 /* end confdefs.h. */
67984 #include <math.h>
67985 #ifdef HAVE_IEEEFP_H
67986 #include <ieeefp.h>
67987 #endif
67990 main ()
67992 isnanf(0);
67994 return 0;
67996 _ACEOF
67997 if ac_fn_cxx_try_compile "$LINENO"; then :
67998 glibcxx_cv_func_isnanf_use=yes
67999 else
68000 glibcxx_cv_func_isnanf_use=no
68002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68003 ac_ext=c
68004 ac_cpp='$CPP $CPPFLAGS'
68005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
68014 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
68016 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68017 for ac_func in isnanf
68018 do :
68019 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
68020 if test "x$ac_cv_func_isnanf" = x""yes; then :
68021 cat >>confdefs.h <<_ACEOF
68022 #define HAVE_ISNANF 1
68023 _ACEOF
68026 done
68028 else
68030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
68031 $as_echo_n "checking for _isnanf declaration... " >&6; }
68032 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68033 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
68034 $as_echo_n "(cached) " >&6
68035 else
68038 ac_ext=cpp
68039 ac_cpp='$CXXCPP $CPPFLAGS'
68040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68045 /* end confdefs.h. */
68046 #include <math.h>
68047 #ifdef HAVE_IEEEFP_H
68048 #include <ieeefp.h>
68049 #endif
68052 main ()
68054 _isnanf(0);
68056 return 0;
68058 _ACEOF
68059 if ac_fn_cxx_try_compile "$LINENO"; then :
68060 glibcxx_cv_func__isnanf_use=yes
68061 else
68062 glibcxx_cv_func__isnanf_use=no
68064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68065 ac_ext=c
68066 ac_cpp='$CPP $CPPFLAGS'
68067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
68076 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
68078 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68079 for ac_func in _isnanf
68080 do :
68081 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
68082 if test "x$ac_cv_func__isnanf" = x""yes; then :
68083 cat >>confdefs.h <<_ACEOF
68084 #define HAVE__ISNANF 1
68085 _ACEOF
68088 done
68097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
68098 $as_echo_n "checking for isinff declaration... " >&6; }
68099 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68100 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
68101 $as_echo_n "(cached) " >&6
68102 else
68105 ac_ext=cpp
68106 ac_cpp='$CXXCPP $CPPFLAGS'
68107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68112 /* end confdefs.h. */
68113 #include <math.h>
68114 #ifdef HAVE_IEEEFP_H
68115 #include <ieeefp.h>
68116 #endif
68119 main ()
68121 isinff(0);
68123 return 0;
68125 _ACEOF
68126 if ac_fn_cxx_try_compile "$LINENO"; then :
68127 glibcxx_cv_func_isinff_use=yes
68128 else
68129 glibcxx_cv_func_isinff_use=no
68131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68132 ac_ext=c
68133 ac_cpp='$CPP $CPPFLAGS'
68134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
68143 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
68145 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68146 for ac_func in isinff
68147 do :
68148 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
68149 if test "x$ac_cv_func_isinff" = x""yes; then :
68150 cat >>confdefs.h <<_ACEOF
68151 #define HAVE_ISINFF 1
68152 _ACEOF
68155 done
68157 else
68159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68160 $as_echo_n "checking for _isinff declaration... " >&6; }
68161 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68162 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
68163 $as_echo_n "(cached) " >&6
68164 else
68167 ac_ext=cpp
68168 ac_cpp='$CXXCPP $CPPFLAGS'
68169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68174 /* end confdefs.h. */
68175 #include <math.h>
68176 #ifdef HAVE_IEEEFP_H
68177 #include <ieeefp.h>
68178 #endif
68181 main ()
68183 _isinff(0);
68185 return 0;
68187 _ACEOF
68188 if ac_fn_cxx_try_compile "$LINENO"; then :
68189 glibcxx_cv_func__isinff_use=yes
68190 else
68191 glibcxx_cv_func__isinff_use=no
68193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68194 ac_ext=c
68195 ac_cpp='$CPP $CPPFLAGS'
68196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68205 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68207 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68208 for ac_func in _isinff
68209 do :
68210 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68211 if test "x$ac_cv_func__isinff" = x""yes; then :
68212 cat >>confdefs.h <<_ACEOF
68213 #define HAVE__ISINFF 1
68214 _ACEOF
68217 done
68226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68227 $as_echo_n "checking for atan2f declaration... " >&6; }
68228 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68229 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
68230 $as_echo_n "(cached) " >&6
68231 else
68234 ac_ext=cpp
68235 ac_cpp='$CXXCPP $CPPFLAGS'
68236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68241 /* end confdefs.h. */
68242 #include <math.h>
68244 main ()
68246 atan2f(0, 0);
68248 return 0;
68250 _ACEOF
68251 if ac_fn_cxx_try_compile "$LINENO"; then :
68252 glibcxx_cv_func_atan2f_use=yes
68253 else
68254 glibcxx_cv_func_atan2f_use=no
68256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68257 ac_ext=c
68258 ac_cpp='$CPP $CPPFLAGS'
68259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68268 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68270 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68271 for ac_func in atan2f
68272 do :
68273 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68274 if test "x$ac_cv_func_atan2f" = x""yes; then :
68275 cat >>confdefs.h <<_ACEOF
68276 #define HAVE_ATAN2F 1
68277 _ACEOF
68280 done
68282 else
68284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68285 $as_echo_n "checking for _atan2f declaration... " >&6; }
68286 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68287 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
68288 $as_echo_n "(cached) " >&6
68289 else
68292 ac_ext=cpp
68293 ac_cpp='$CXXCPP $CPPFLAGS'
68294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68299 /* end confdefs.h. */
68300 #include <math.h>
68302 main ()
68304 _atan2f(0, 0);
68306 return 0;
68308 _ACEOF
68309 if ac_fn_cxx_try_compile "$LINENO"; then :
68310 glibcxx_cv_func__atan2f_use=yes
68311 else
68312 glibcxx_cv_func__atan2f_use=no
68314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68315 ac_ext=c
68316 ac_cpp='$CPP $CPPFLAGS'
68317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68326 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68328 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68329 for ac_func in _atan2f
68330 do :
68331 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68332 if test "x$ac_cv_func__atan2f" = x""yes; then :
68333 cat >>confdefs.h <<_ACEOF
68334 #define HAVE__ATAN2F 1
68335 _ACEOF
68338 done
68347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68348 $as_echo_n "checking for fabsf declaration... " >&6; }
68349 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68350 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
68351 $as_echo_n "(cached) " >&6
68352 else
68355 ac_ext=cpp
68356 ac_cpp='$CXXCPP $CPPFLAGS'
68357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68362 /* end confdefs.h. */
68363 #include <math.h>
68364 #ifdef HAVE_IEEEFP_H
68365 #include <ieeefp.h>
68366 #endif
68369 main ()
68371 fabsf(0);
68373 return 0;
68375 _ACEOF
68376 if ac_fn_cxx_try_compile "$LINENO"; then :
68377 glibcxx_cv_func_fabsf_use=yes
68378 else
68379 glibcxx_cv_func_fabsf_use=no
68381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68382 ac_ext=c
68383 ac_cpp='$CPP $CPPFLAGS'
68384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68393 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68395 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68396 for ac_func in fabsf
68397 do :
68398 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68399 if test "x$ac_cv_func_fabsf" = x""yes; then :
68400 cat >>confdefs.h <<_ACEOF
68401 #define HAVE_FABSF 1
68402 _ACEOF
68405 done
68407 else
68409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68410 $as_echo_n "checking for _fabsf declaration... " >&6; }
68411 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68412 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
68413 $as_echo_n "(cached) " >&6
68414 else
68417 ac_ext=cpp
68418 ac_cpp='$CXXCPP $CPPFLAGS'
68419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68424 /* end confdefs.h. */
68425 #include <math.h>
68426 #ifdef HAVE_IEEEFP_H
68427 #include <ieeefp.h>
68428 #endif
68431 main ()
68433 _fabsf(0);
68435 return 0;
68437 _ACEOF
68438 if ac_fn_cxx_try_compile "$LINENO"; then :
68439 glibcxx_cv_func__fabsf_use=yes
68440 else
68441 glibcxx_cv_func__fabsf_use=no
68443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68444 ac_ext=c
68445 ac_cpp='$CPP $CPPFLAGS'
68446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68455 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68457 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68458 for ac_func in _fabsf
68459 do :
68460 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68461 if test "x$ac_cv_func__fabsf" = x""yes; then :
68462 cat >>confdefs.h <<_ACEOF
68463 #define HAVE__FABSF 1
68464 _ACEOF
68467 done
68476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68477 $as_echo_n "checking for fmodf declaration... " >&6; }
68478 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68479 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
68480 $as_echo_n "(cached) " >&6
68481 else
68484 ac_ext=cpp
68485 ac_cpp='$CXXCPP $CPPFLAGS'
68486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68491 /* end confdefs.h. */
68492 #include <math.h>
68494 main ()
68496 fmodf(0, 0);
68498 return 0;
68500 _ACEOF
68501 if ac_fn_cxx_try_compile "$LINENO"; then :
68502 glibcxx_cv_func_fmodf_use=yes
68503 else
68504 glibcxx_cv_func_fmodf_use=no
68506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68507 ac_ext=c
68508 ac_cpp='$CPP $CPPFLAGS'
68509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68518 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68520 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68521 for ac_func in fmodf
68522 do :
68523 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68524 if test "x$ac_cv_func_fmodf" = x""yes; then :
68525 cat >>confdefs.h <<_ACEOF
68526 #define HAVE_FMODF 1
68527 _ACEOF
68530 done
68532 else
68534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68535 $as_echo_n "checking for _fmodf declaration... " >&6; }
68536 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68537 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
68538 $as_echo_n "(cached) " >&6
68539 else
68542 ac_ext=cpp
68543 ac_cpp='$CXXCPP $CPPFLAGS'
68544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68549 /* end confdefs.h. */
68550 #include <math.h>
68552 main ()
68554 _fmodf(0, 0);
68556 return 0;
68558 _ACEOF
68559 if ac_fn_cxx_try_compile "$LINENO"; then :
68560 glibcxx_cv_func__fmodf_use=yes
68561 else
68562 glibcxx_cv_func__fmodf_use=no
68564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68565 ac_ext=c
68566 ac_cpp='$CPP $CPPFLAGS'
68567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68576 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68578 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68579 for ac_func in _fmodf
68580 do :
68581 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68582 if test "x$ac_cv_func__fmodf" = x""yes; then :
68583 cat >>confdefs.h <<_ACEOF
68584 #define HAVE__FMODF 1
68585 _ACEOF
68588 done
68597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68598 $as_echo_n "checking for frexpf declaration... " >&6; }
68599 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68600 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
68601 $as_echo_n "(cached) " >&6
68602 else
68605 ac_ext=cpp
68606 ac_cpp='$CXXCPP $CPPFLAGS'
68607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68612 /* end confdefs.h. */
68613 #include <math.h>
68615 main ()
68617 frexpf(0, 0);
68619 return 0;
68621 _ACEOF
68622 if ac_fn_cxx_try_compile "$LINENO"; then :
68623 glibcxx_cv_func_frexpf_use=yes
68624 else
68625 glibcxx_cv_func_frexpf_use=no
68627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68628 ac_ext=c
68629 ac_cpp='$CPP $CPPFLAGS'
68630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68639 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68641 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68642 for ac_func in frexpf
68643 do :
68644 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68645 if test "x$ac_cv_func_frexpf" = x""yes; then :
68646 cat >>confdefs.h <<_ACEOF
68647 #define HAVE_FREXPF 1
68648 _ACEOF
68651 done
68653 else
68655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68656 $as_echo_n "checking for _frexpf declaration... " >&6; }
68657 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68658 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
68659 $as_echo_n "(cached) " >&6
68660 else
68663 ac_ext=cpp
68664 ac_cpp='$CXXCPP $CPPFLAGS'
68665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68670 /* end confdefs.h. */
68671 #include <math.h>
68673 main ()
68675 _frexpf(0, 0);
68677 return 0;
68679 _ACEOF
68680 if ac_fn_cxx_try_compile "$LINENO"; then :
68681 glibcxx_cv_func__frexpf_use=yes
68682 else
68683 glibcxx_cv_func__frexpf_use=no
68685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68686 ac_ext=c
68687 ac_cpp='$CPP $CPPFLAGS'
68688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68697 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68699 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68700 for ac_func in _frexpf
68701 do :
68702 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68703 if test "x$ac_cv_func__frexpf" = x""yes; then :
68704 cat >>confdefs.h <<_ACEOF
68705 #define HAVE__FREXPF 1
68706 _ACEOF
68709 done
68718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68719 $as_echo_n "checking for hypotf declaration... " >&6; }
68720 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68721 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
68722 $as_echo_n "(cached) " >&6
68723 else
68726 ac_ext=cpp
68727 ac_cpp='$CXXCPP $CPPFLAGS'
68728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68733 /* end confdefs.h. */
68734 #include <math.h>
68736 main ()
68738 hypotf(0, 0);
68740 return 0;
68742 _ACEOF
68743 if ac_fn_cxx_try_compile "$LINENO"; then :
68744 glibcxx_cv_func_hypotf_use=yes
68745 else
68746 glibcxx_cv_func_hypotf_use=no
68748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68749 ac_ext=c
68750 ac_cpp='$CPP $CPPFLAGS'
68751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
68760 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68762 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
68763 for ac_func in hypotf
68764 do :
68765 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
68766 if test "x$ac_cv_func_hypotf" = x""yes; then :
68767 cat >>confdefs.h <<_ACEOF
68768 #define HAVE_HYPOTF 1
68769 _ACEOF
68772 done
68774 else
68776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
68777 $as_echo_n "checking for _hypotf declaration... " >&6; }
68778 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
68779 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
68780 $as_echo_n "(cached) " >&6
68781 else
68784 ac_ext=cpp
68785 ac_cpp='$CXXCPP $CPPFLAGS'
68786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68791 /* end confdefs.h. */
68792 #include <math.h>
68794 main ()
68796 _hypotf(0, 0);
68798 return 0;
68800 _ACEOF
68801 if ac_fn_cxx_try_compile "$LINENO"; then :
68802 glibcxx_cv_func__hypotf_use=yes
68803 else
68804 glibcxx_cv_func__hypotf_use=no
68806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68807 ac_ext=c
68808 ac_cpp='$CPP $CPPFLAGS'
68809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
68818 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
68820 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
68821 for ac_func in _hypotf
68822 do :
68823 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
68824 if test "x$ac_cv_func__hypotf" = x""yes; then :
68825 cat >>confdefs.h <<_ACEOF
68826 #define HAVE__HYPOTF 1
68827 _ACEOF
68830 done
68839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
68840 $as_echo_n "checking for ldexpf declaration... " >&6; }
68841 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
68842 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
68843 $as_echo_n "(cached) " >&6
68844 else
68847 ac_ext=cpp
68848 ac_cpp='$CXXCPP $CPPFLAGS'
68849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68854 /* end confdefs.h. */
68855 #include <math.h>
68857 main ()
68859 ldexpf(0, 0);
68861 return 0;
68863 _ACEOF
68864 if ac_fn_cxx_try_compile "$LINENO"; then :
68865 glibcxx_cv_func_ldexpf_use=yes
68866 else
68867 glibcxx_cv_func_ldexpf_use=no
68869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68870 ac_ext=c
68871 ac_cpp='$CPP $CPPFLAGS'
68872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
68881 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
68883 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
68884 for ac_func in ldexpf
68885 do :
68886 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
68887 if test "x$ac_cv_func_ldexpf" = x""yes; then :
68888 cat >>confdefs.h <<_ACEOF
68889 #define HAVE_LDEXPF 1
68890 _ACEOF
68893 done
68895 else
68897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
68898 $as_echo_n "checking for _ldexpf declaration... " >&6; }
68899 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
68900 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
68901 $as_echo_n "(cached) " >&6
68902 else
68905 ac_ext=cpp
68906 ac_cpp='$CXXCPP $CPPFLAGS'
68907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68912 /* end confdefs.h. */
68913 #include <math.h>
68915 main ()
68917 _ldexpf(0, 0);
68919 return 0;
68921 _ACEOF
68922 if ac_fn_cxx_try_compile "$LINENO"; then :
68923 glibcxx_cv_func__ldexpf_use=yes
68924 else
68925 glibcxx_cv_func__ldexpf_use=no
68927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68928 ac_ext=c
68929 ac_cpp='$CPP $CPPFLAGS'
68930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
68939 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
68941 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
68942 for ac_func in _ldexpf
68943 do :
68944 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
68945 if test "x$ac_cv_func__ldexpf" = x""yes; then :
68946 cat >>confdefs.h <<_ACEOF
68947 #define HAVE__LDEXPF 1
68948 _ACEOF
68951 done
68960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
68961 $as_echo_n "checking for logf declaration... " >&6; }
68962 if test x${glibcxx_cv_func_logf_use+set} != xset; then
68963 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
68964 $as_echo_n "(cached) " >&6
68965 else
68968 ac_ext=cpp
68969 ac_cpp='$CXXCPP $CPPFLAGS'
68970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68975 /* end confdefs.h. */
68976 #include <math.h>
68977 #ifdef HAVE_IEEEFP_H
68978 #include <ieeefp.h>
68979 #endif
68982 main ()
68984 logf(0);
68986 return 0;
68988 _ACEOF
68989 if ac_fn_cxx_try_compile "$LINENO"; then :
68990 glibcxx_cv_func_logf_use=yes
68991 else
68992 glibcxx_cv_func_logf_use=no
68994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68995 ac_ext=c
68996 ac_cpp='$CPP $CPPFLAGS'
68997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
69006 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
69008 if test x$glibcxx_cv_func_logf_use = x"yes"; then
69009 for ac_func in logf
69010 do :
69011 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
69012 if test "x$ac_cv_func_logf" = x""yes; then :
69013 cat >>confdefs.h <<_ACEOF
69014 #define HAVE_LOGF 1
69015 _ACEOF
69018 done
69020 else
69022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
69023 $as_echo_n "checking for _logf declaration... " >&6; }
69024 if test x${glibcxx_cv_func__logf_use+set} != xset; then
69025 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
69026 $as_echo_n "(cached) " >&6
69027 else
69030 ac_ext=cpp
69031 ac_cpp='$CXXCPP $CPPFLAGS'
69032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69037 /* end confdefs.h. */
69038 #include <math.h>
69039 #ifdef HAVE_IEEEFP_H
69040 #include <ieeefp.h>
69041 #endif
69044 main ()
69046 _logf(0);
69048 return 0;
69050 _ACEOF
69051 if ac_fn_cxx_try_compile "$LINENO"; then :
69052 glibcxx_cv_func__logf_use=yes
69053 else
69054 glibcxx_cv_func__logf_use=no
69056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69057 ac_ext=c
69058 ac_cpp='$CPP $CPPFLAGS'
69059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
69068 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
69070 if test x$glibcxx_cv_func__logf_use = x"yes"; then
69071 for ac_func in _logf
69072 do :
69073 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
69074 if test "x$ac_cv_func__logf" = x""yes; then :
69075 cat >>confdefs.h <<_ACEOF
69076 #define HAVE__LOGF 1
69077 _ACEOF
69080 done
69089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
69090 $as_echo_n "checking for log10f declaration... " >&6; }
69091 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69092 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
69093 $as_echo_n "(cached) " >&6
69094 else
69097 ac_ext=cpp
69098 ac_cpp='$CXXCPP $CPPFLAGS'
69099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69104 /* end confdefs.h. */
69105 #include <math.h>
69106 #ifdef HAVE_IEEEFP_H
69107 #include <ieeefp.h>
69108 #endif
69111 main ()
69113 log10f(0);
69115 return 0;
69117 _ACEOF
69118 if ac_fn_cxx_try_compile "$LINENO"; then :
69119 glibcxx_cv_func_log10f_use=yes
69120 else
69121 glibcxx_cv_func_log10f_use=no
69123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69124 ac_ext=c
69125 ac_cpp='$CPP $CPPFLAGS'
69126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
69135 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
69137 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69138 for ac_func in log10f
69139 do :
69140 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
69141 if test "x$ac_cv_func_log10f" = x""yes; then :
69142 cat >>confdefs.h <<_ACEOF
69143 #define HAVE_LOG10F 1
69144 _ACEOF
69147 done
69149 else
69151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69152 $as_echo_n "checking for _log10f declaration... " >&6; }
69153 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69154 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
69155 $as_echo_n "(cached) " >&6
69156 else
69159 ac_ext=cpp
69160 ac_cpp='$CXXCPP $CPPFLAGS'
69161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69166 /* end confdefs.h. */
69167 #include <math.h>
69168 #ifdef HAVE_IEEEFP_H
69169 #include <ieeefp.h>
69170 #endif
69173 main ()
69175 _log10f(0);
69177 return 0;
69179 _ACEOF
69180 if ac_fn_cxx_try_compile "$LINENO"; then :
69181 glibcxx_cv_func__log10f_use=yes
69182 else
69183 glibcxx_cv_func__log10f_use=no
69185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69186 ac_ext=c
69187 ac_cpp='$CPP $CPPFLAGS'
69188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69197 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69199 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69200 for ac_func in _log10f
69201 do :
69202 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69203 if test "x$ac_cv_func__log10f" = x""yes; then :
69204 cat >>confdefs.h <<_ACEOF
69205 #define HAVE__LOG10F 1
69206 _ACEOF
69209 done
69218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69219 $as_echo_n "checking for modff declaration... " >&6; }
69220 if test x${glibcxx_cv_func_modff_use+set} != xset; then
69221 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
69222 $as_echo_n "(cached) " >&6
69223 else
69226 ac_ext=cpp
69227 ac_cpp='$CXXCPP $CPPFLAGS'
69228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69233 /* end confdefs.h. */
69234 #include <math.h>
69236 main ()
69238 modff(0, 0);
69240 return 0;
69242 _ACEOF
69243 if ac_fn_cxx_try_compile "$LINENO"; then :
69244 glibcxx_cv_func_modff_use=yes
69245 else
69246 glibcxx_cv_func_modff_use=no
69248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69249 ac_ext=c
69250 ac_cpp='$CPP $CPPFLAGS'
69251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69260 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69262 if test x$glibcxx_cv_func_modff_use = x"yes"; then
69263 for ac_func in modff
69264 do :
69265 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69266 if test "x$ac_cv_func_modff" = x""yes; then :
69267 cat >>confdefs.h <<_ACEOF
69268 #define HAVE_MODFF 1
69269 _ACEOF
69272 done
69274 else
69276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69277 $as_echo_n "checking for _modff declaration... " >&6; }
69278 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69279 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
69280 $as_echo_n "(cached) " >&6
69281 else
69284 ac_ext=cpp
69285 ac_cpp='$CXXCPP $CPPFLAGS'
69286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69291 /* end confdefs.h. */
69292 #include <math.h>
69294 main ()
69296 _modff(0, 0);
69298 return 0;
69300 _ACEOF
69301 if ac_fn_cxx_try_compile "$LINENO"; then :
69302 glibcxx_cv_func__modff_use=yes
69303 else
69304 glibcxx_cv_func__modff_use=no
69306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69307 ac_ext=c
69308 ac_cpp='$CPP $CPPFLAGS'
69309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69318 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69320 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69321 for ac_func in _modff
69322 do :
69323 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69324 if test "x$ac_cv_func__modff" = x""yes; then :
69325 cat >>confdefs.h <<_ACEOF
69326 #define HAVE__MODFF 1
69327 _ACEOF
69330 done
69339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69340 $as_echo_n "checking for modf declaration... " >&6; }
69341 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69342 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
69343 $as_echo_n "(cached) " >&6
69344 else
69347 ac_ext=cpp
69348 ac_cpp='$CXXCPP $CPPFLAGS'
69349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69354 /* end confdefs.h. */
69355 #include <math.h>
69357 main ()
69359 modf(0, 0);
69361 return 0;
69363 _ACEOF
69364 if ac_fn_cxx_try_compile "$LINENO"; then :
69365 glibcxx_cv_func_modf_use=yes
69366 else
69367 glibcxx_cv_func_modf_use=no
69369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69370 ac_ext=c
69371 ac_cpp='$CPP $CPPFLAGS'
69372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69381 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69383 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69384 for ac_func in modf
69385 do :
69386 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69387 if test "x$ac_cv_func_modf" = x""yes; then :
69388 cat >>confdefs.h <<_ACEOF
69389 #define HAVE_MODF 1
69390 _ACEOF
69393 done
69395 else
69397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69398 $as_echo_n "checking for _modf declaration... " >&6; }
69399 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69400 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
69401 $as_echo_n "(cached) " >&6
69402 else
69405 ac_ext=cpp
69406 ac_cpp='$CXXCPP $CPPFLAGS'
69407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69412 /* end confdefs.h. */
69413 #include <math.h>
69415 main ()
69417 _modf(0, 0);
69419 return 0;
69421 _ACEOF
69422 if ac_fn_cxx_try_compile "$LINENO"; then :
69423 glibcxx_cv_func__modf_use=yes
69424 else
69425 glibcxx_cv_func__modf_use=no
69427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69428 ac_ext=c
69429 ac_cpp='$CPP $CPPFLAGS'
69430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69439 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69441 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69442 for ac_func in _modf
69443 do :
69444 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69445 if test "x$ac_cv_func__modf" = x""yes; then :
69446 cat >>confdefs.h <<_ACEOF
69447 #define HAVE__MODF 1
69448 _ACEOF
69451 done
69460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69461 $as_echo_n "checking for powf declaration... " >&6; }
69462 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69463 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
69464 $as_echo_n "(cached) " >&6
69465 else
69468 ac_ext=cpp
69469 ac_cpp='$CXXCPP $CPPFLAGS'
69470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69475 /* end confdefs.h. */
69476 #include <math.h>
69478 main ()
69480 powf(0, 0);
69482 return 0;
69484 _ACEOF
69485 if ac_fn_cxx_try_compile "$LINENO"; then :
69486 glibcxx_cv_func_powf_use=yes
69487 else
69488 glibcxx_cv_func_powf_use=no
69490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69491 ac_ext=c
69492 ac_cpp='$CPP $CPPFLAGS'
69493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69502 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69504 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69505 for ac_func in powf
69506 do :
69507 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69508 if test "x$ac_cv_func_powf" = x""yes; then :
69509 cat >>confdefs.h <<_ACEOF
69510 #define HAVE_POWF 1
69511 _ACEOF
69514 done
69516 else
69518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69519 $as_echo_n "checking for _powf declaration... " >&6; }
69520 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69521 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
69522 $as_echo_n "(cached) " >&6
69523 else
69526 ac_ext=cpp
69527 ac_cpp='$CXXCPP $CPPFLAGS'
69528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69533 /* end confdefs.h. */
69534 #include <math.h>
69536 main ()
69538 _powf(0, 0);
69540 return 0;
69542 _ACEOF
69543 if ac_fn_cxx_try_compile "$LINENO"; then :
69544 glibcxx_cv_func__powf_use=yes
69545 else
69546 glibcxx_cv_func__powf_use=no
69548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69549 ac_ext=c
69550 ac_cpp='$CPP $CPPFLAGS'
69551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69560 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69562 if test x$glibcxx_cv_func__powf_use = x"yes"; then
69563 for ac_func in _powf
69564 do :
69565 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69566 if test "x$ac_cv_func__powf" = x""yes; then :
69567 cat >>confdefs.h <<_ACEOF
69568 #define HAVE__POWF 1
69569 _ACEOF
69572 done
69581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69582 $as_echo_n "checking for sqrtf declaration... " >&6; }
69583 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69584 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
69585 $as_echo_n "(cached) " >&6
69586 else
69589 ac_ext=cpp
69590 ac_cpp='$CXXCPP $CPPFLAGS'
69591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69596 /* end confdefs.h. */
69597 #include <math.h>
69598 #ifdef HAVE_IEEEFP_H
69599 #include <ieeefp.h>
69600 #endif
69603 main ()
69605 sqrtf(0);
69607 return 0;
69609 _ACEOF
69610 if ac_fn_cxx_try_compile "$LINENO"; then :
69611 glibcxx_cv_func_sqrtf_use=yes
69612 else
69613 glibcxx_cv_func_sqrtf_use=no
69615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69616 ac_ext=c
69617 ac_cpp='$CPP $CPPFLAGS'
69618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69627 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69629 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69630 for ac_func in sqrtf
69631 do :
69632 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69633 if test "x$ac_cv_func_sqrtf" = x""yes; then :
69634 cat >>confdefs.h <<_ACEOF
69635 #define HAVE_SQRTF 1
69636 _ACEOF
69639 done
69641 else
69643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69644 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69645 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69646 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
69647 $as_echo_n "(cached) " >&6
69648 else
69651 ac_ext=cpp
69652 ac_cpp='$CXXCPP $CPPFLAGS'
69653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69658 /* end confdefs.h. */
69659 #include <math.h>
69660 #ifdef HAVE_IEEEFP_H
69661 #include <ieeefp.h>
69662 #endif
69665 main ()
69667 _sqrtf(0);
69669 return 0;
69671 _ACEOF
69672 if ac_fn_cxx_try_compile "$LINENO"; then :
69673 glibcxx_cv_func__sqrtf_use=yes
69674 else
69675 glibcxx_cv_func__sqrtf_use=no
69677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69678 ac_ext=c
69679 ac_cpp='$CPP $CPPFLAGS'
69680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69689 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69691 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69692 for ac_func in _sqrtf
69693 do :
69694 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69695 if test "x$ac_cv_func__sqrtf" = x""yes; then :
69696 cat >>confdefs.h <<_ACEOF
69697 #define HAVE__SQRTF 1
69698 _ACEOF
69701 done
69710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69711 $as_echo_n "checking for sincosf declaration... " >&6; }
69712 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69713 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
69714 $as_echo_n "(cached) " >&6
69715 else
69718 ac_ext=cpp
69719 ac_cpp='$CXXCPP $CPPFLAGS'
69720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69725 /* end confdefs.h. */
69726 #include <math.h>
69728 main ()
69730 sincosf(0, 0, 0);
69732 return 0;
69734 _ACEOF
69735 if ac_fn_cxx_try_compile "$LINENO"; then :
69736 glibcxx_cv_func_sincosf_use=yes
69737 else
69738 glibcxx_cv_func_sincosf_use=no
69740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69741 ac_ext=c
69742 ac_cpp='$CPP $CPPFLAGS'
69743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
69752 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
69754 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
69755 for ac_func in sincosf
69756 do :
69757 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
69758 if test "x$ac_cv_func_sincosf" = x""yes; then :
69759 cat >>confdefs.h <<_ACEOF
69760 #define HAVE_SINCOSF 1
69761 _ACEOF
69764 done
69766 else
69768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
69769 $as_echo_n "checking for _sincosf declaration... " >&6; }
69770 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
69771 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
69772 $as_echo_n "(cached) " >&6
69773 else
69776 ac_ext=cpp
69777 ac_cpp='$CXXCPP $CPPFLAGS'
69778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69783 /* end confdefs.h. */
69784 #include <math.h>
69786 main ()
69788 _sincosf(0, 0, 0);
69790 return 0;
69792 _ACEOF
69793 if ac_fn_cxx_try_compile "$LINENO"; then :
69794 glibcxx_cv_func__sincosf_use=yes
69795 else
69796 glibcxx_cv_func__sincosf_use=no
69798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69799 ac_ext=c
69800 ac_cpp='$CPP $CPPFLAGS'
69801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
69810 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
69812 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
69813 for ac_func in _sincosf
69814 do :
69815 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
69816 if test "x$ac_cv_func__sincosf" = x""yes; then :
69817 cat >>confdefs.h <<_ACEOF
69818 #define HAVE__SINCOSF 1
69819 _ACEOF
69822 done
69831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
69832 $as_echo_n "checking for finitef declaration... " >&6; }
69833 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
69834 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
69835 $as_echo_n "(cached) " >&6
69836 else
69839 ac_ext=cpp
69840 ac_cpp='$CXXCPP $CPPFLAGS'
69841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69846 /* end confdefs.h. */
69847 #include <math.h>
69848 #ifdef HAVE_IEEEFP_H
69849 #include <ieeefp.h>
69850 #endif
69853 main ()
69855 finitef(0);
69857 return 0;
69859 _ACEOF
69860 if ac_fn_cxx_try_compile "$LINENO"; then :
69861 glibcxx_cv_func_finitef_use=yes
69862 else
69863 glibcxx_cv_func_finitef_use=no
69865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69866 ac_ext=c
69867 ac_cpp='$CPP $CPPFLAGS'
69868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
69877 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
69879 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
69880 for ac_func in finitef
69881 do :
69882 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
69883 if test "x$ac_cv_func_finitef" = x""yes; then :
69884 cat >>confdefs.h <<_ACEOF
69885 #define HAVE_FINITEF 1
69886 _ACEOF
69889 done
69891 else
69893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
69894 $as_echo_n "checking for _finitef declaration... " >&6; }
69895 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
69896 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
69897 $as_echo_n "(cached) " >&6
69898 else
69901 ac_ext=cpp
69902 ac_cpp='$CXXCPP $CPPFLAGS'
69903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69908 /* end confdefs.h. */
69909 #include <math.h>
69910 #ifdef HAVE_IEEEFP_H
69911 #include <ieeefp.h>
69912 #endif
69915 main ()
69917 _finitef(0);
69919 return 0;
69921 _ACEOF
69922 if ac_fn_cxx_try_compile "$LINENO"; then :
69923 glibcxx_cv_func__finitef_use=yes
69924 else
69925 glibcxx_cv_func__finitef_use=no
69927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69928 ac_ext=c
69929 ac_cpp='$CPP $CPPFLAGS'
69930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
69939 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
69941 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
69942 for ac_func in _finitef
69943 do :
69944 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
69945 if test "x$ac_cv_func__finitef" = x""yes; then :
69946 cat >>confdefs.h <<_ACEOF
69947 #define HAVE__FINITEF 1
69948 _ACEOF
69951 done
69960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
69961 $as_echo_n "checking for long double trig functions... " >&6; }
69962 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
69963 $as_echo_n "(cached) " >&6
69964 else
69967 ac_ext=cpp
69968 ac_cpp='$CXXCPP $CPPFLAGS'
69969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69974 /* end confdefs.h. */
69975 #include <math.h>
69977 main ()
69979 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
69981 return 0;
69983 _ACEOF
69984 if ac_fn_cxx_try_compile "$LINENO"; then :
69985 glibcxx_cv_func_long_double_trig_use=yes
69986 else
69987 glibcxx_cv_func_long_double_trig_use=no
69989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69990 ac_ext=c
69991 ac_cpp='$CPP $CPPFLAGS'
69992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
69999 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
70000 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
70001 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
70002 do :
70003 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70004 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70005 eval as_val=\$$as_ac_var
70006 if test "x$as_val" = x""yes; then :
70007 cat >>confdefs.h <<_ACEOF
70008 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70009 _ACEOF
70012 done
70014 else
70015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
70016 $as_echo_n "checking for _long double trig functions... " >&6; }
70017 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
70018 $as_echo_n "(cached) " >&6
70019 else
70022 ac_ext=cpp
70023 ac_cpp='$CXXCPP $CPPFLAGS'
70024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70029 /* end confdefs.h. */
70030 #include <math.h>
70032 main ()
70034 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
70036 return 0;
70038 _ACEOF
70039 if ac_fn_cxx_try_compile "$LINENO"; then :
70040 glibcxx_cv_func__long_double_trig_use=yes
70041 else
70042 glibcxx_cv_func__long_double_trig_use=no
70044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70045 ac_ext=c
70046 ac_cpp='$CPP $CPPFLAGS'
70047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
70054 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
70055 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70056 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
70057 do :
70058 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70059 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70060 eval as_val=\$$as_ac_var
70061 if test "x$as_val" = x""yes; then :
70062 cat >>confdefs.h <<_ACEOF
70063 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70064 _ACEOF
70067 done
70076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
70077 $as_echo_n "checking for long double round functions... " >&6; }
70078 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
70079 $as_echo_n "(cached) " >&6
70080 else
70083 ac_ext=cpp
70084 ac_cpp='$CXXCPP $CPPFLAGS'
70085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70090 /* end confdefs.h. */
70091 #include <math.h>
70093 main ()
70095 ceill (0); floorl (0);
70097 return 0;
70099 _ACEOF
70100 if ac_fn_cxx_try_compile "$LINENO"; then :
70101 glibcxx_cv_func_long_double_round_use=yes
70102 else
70103 glibcxx_cv_func_long_double_round_use=no
70105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70106 ac_ext=c
70107 ac_cpp='$CPP $CPPFLAGS'
70108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
70115 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70116 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70117 for ac_func in ceill floorl
70118 do :
70119 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70120 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70121 eval as_val=\$$as_ac_var
70122 if test "x$as_val" = x""yes; then :
70123 cat >>confdefs.h <<_ACEOF
70124 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70125 _ACEOF
70128 done
70130 else
70131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70132 $as_echo_n "checking for _long double round functions... " >&6; }
70133 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
70134 $as_echo_n "(cached) " >&6
70135 else
70138 ac_ext=cpp
70139 ac_cpp='$CXXCPP $CPPFLAGS'
70140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70145 /* end confdefs.h. */
70146 #include <math.h>
70148 main ()
70150 _ceill (0); _floorl (0);
70152 return 0;
70154 _ACEOF
70155 if ac_fn_cxx_try_compile "$LINENO"; then :
70156 glibcxx_cv_func__long_double_round_use=yes
70157 else
70158 glibcxx_cv_func__long_double_round_use=no
70160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70161 ac_ext=c
70162 ac_cpp='$CPP $CPPFLAGS'
70163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70170 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70171 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70172 for ac_func in _ceill _floorl
70173 do :
70174 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70175 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70176 eval as_val=\$$as_ac_var
70177 if test "x$as_val" = x""yes; then :
70178 cat >>confdefs.h <<_ACEOF
70179 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70180 _ACEOF
70183 done
70193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70194 $as_echo_n "checking for isnanl declaration... " >&6; }
70195 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70196 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
70197 $as_echo_n "(cached) " >&6
70198 else
70201 ac_ext=cpp
70202 ac_cpp='$CXXCPP $CPPFLAGS'
70203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70208 /* end confdefs.h. */
70209 #include <math.h>
70210 #ifdef HAVE_IEEEFP_H
70211 #include <ieeefp.h>
70212 #endif
70215 main ()
70217 isnanl(0);
70219 return 0;
70221 _ACEOF
70222 if ac_fn_cxx_try_compile "$LINENO"; then :
70223 glibcxx_cv_func_isnanl_use=yes
70224 else
70225 glibcxx_cv_func_isnanl_use=no
70227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70228 ac_ext=c
70229 ac_cpp='$CPP $CPPFLAGS'
70230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70239 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70241 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70242 for ac_func in isnanl
70243 do :
70244 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70245 if test "x$ac_cv_func_isnanl" = x""yes; then :
70246 cat >>confdefs.h <<_ACEOF
70247 #define HAVE_ISNANL 1
70248 _ACEOF
70251 done
70253 else
70255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70256 $as_echo_n "checking for _isnanl declaration... " >&6; }
70257 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70258 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
70259 $as_echo_n "(cached) " >&6
70260 else
70263 ac_ext=cpp
70264 ac_cpp='$CXXCPP $CPPFLAGS'
70265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70270 /* end confdefs.h. */
70271 #include <math.h>
70272 #ifdef HAVE_IEEEFP_H
70273 #include <ieeefp.h>
70274 #endif
70277 main ()
70279 _isnanl(0);
70281 return 0;
70283 _ACEOF
70284 if ac_fn_cxx_try_compile "$LINENO"; then :
70285 glibcxx_cv_func__isnanl_use=yes
70286 else
70287 glibcxx_cv_func__isnanl_use=no
70289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70290 ac_ext=c
70291 ac_cpp='$CPP $CPPFLAGS'
70292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70301 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70303 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70304 for ac_func in _isnanl
70305 do :
70306 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70307 if test "x$ac_cv_func__isnanl" = x""yes; then :
70308 cat >>confdefs.h <<_ACEOF
70309 #define HAVE__ISNANL 1
70310 _ACEOF
70313 done
70322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70323 $as_echo_n "checking for isinfl declaration... " >&6; }
70324 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70325 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
70326 $as_echo_n "(cached) " >&6
70327 else
70330 ac_ext=cpp
70331 ac_cpp='$CXXCPP $CPPFLAGS'
70332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70337 /* end confdefs.h. */
70338 #include <math.h>
70339 #ifdef HAVE_IEEEFP_H
70340 #include <ieeefp.h>
70341 #endif
70344 main ()
70346 isinfl(0);
70348 return 0;
70350 _ACEOF
70351 if ac_fn_cxx_try_compile "$LINENO"; then :
70352 glibcxx_cv_func_isinfl_use=yes
70353 else
70354 glibcxx_cv_func_isinfl_use=no
70356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70357 ac_ext=c
70358 ac_cpp='$CPP $CPPFLAGS'
70359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70368 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70370 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70371 for ac_func in isinfl
70372 do :
70373 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70374 if test "x$ac_cv_func_isinfl" = x""yes; then :
70375 cat >>confdefs.h <<_ACEOF
70376 #define HAVE_ISINFL 1
70377 _ACEOF
70380 done
70382 else
70384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70385 $as_echo_n "checking for _isinfl declaration... " >&6; }
70386 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70387 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
70388 $as_echo_n "(cached) " >&6
70389 else
70392 ac_ext=cpp
70393 ac_cpp='$CXXCPP $CPPFLAGS'
70394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70399 /* end confdefs.h. */
70400 #include <math.h>
70401 #ifdef HAVE_IEEEFP_H
70402 #include <ieeefp.h>
70403 #endif
70406 main ()
70408 _isinfl(0);
70410 return 0;
70412 _ACEOF
70413 if ac_fn_cxx_try_compile "$LINENO"; then :
70414 glibcxx_cv_func__isinfl_use=yes
70415 else
70416 glibcxx_cv_func__isinfl_use=no
70418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70419 ac_ext=c
70420 ac_cpp='$CPP $CPPFLAGS'
70421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70430 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70432 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70433 for ac_func in _isinfl
70434 do :
70435 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70436 if test "x$ac_cv_func__isinfl" = x""yes; then :
70437 cat >>confdefs.h <<_ACEOF
70438 #define HAVE__ISINFL 1
70439 _ACEOF
70442 done
70451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70452 $as_echo_n "checking for atan2l declaration... " >&6; }
70453 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70454 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
70455 $as_echo_n "(cached) " >&6
70456 else
70459 ac_ext=cpp
70460 ac_cpp='$CXXCPP $CPPFLAGS'
70461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70466 /* end confdefs.h. */
70467 #include <math.h>
70469 main ()
70471 atan2l(0, 0);
70473 return 0;
70475 _ACEOF
70476 if ac_fn_cxx_try_compile "$LINENO"; then :
70477 glibcxx_cv_func_atan2l_use=yes
70478 else
70479 glibcxx_cv_func_atan2l_use=no
70481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70482 ac_ext=c
70483 ac_cpp='$CPP $CPPFLAGS'
70484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70493 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70495 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70496 for ac_func in atan2l
70497 do :
70498 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70499 if test "x$ac_cv_func_atan2l" = x""yes; then :
70500 cat >>confdefs.h <<_ACEOF
70501 #define HAVE_ATAN2L 1
70502 _ACEOF
70505 done
70507 else
70509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70510 $as_echo_n "checking for _atan2l declaration... " >&6; }
70511 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70512 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
70513 $as_echo_n "(cached) " >&6
70514 else
70517 ac_ext=cpp
70518 ac_cpp='$CXXCPP $CPPFLAGS'
70519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70524 /* end confdefs.h. */
70525 #include <math.h>
70527 main ()
70529 _atan2l(0, 0);
70531 return 0;
70533 _ACEOF
70534 if ac_fn_cxx_try_compile "$LINENO"; then :
70535 glibcxx_cv_func__atan2l_use=yes
70536 else
70537 glibcxx_cv_func__atan2l_use=no
70539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70540 ac_ext=c
70541 ac_cpp='$CPP $CPPFLAGS'
70542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70551 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70553 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70554 for ac_func in _atan2l
70555 do :
70556 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70557 if test "x$ac_cv_func__atan2l" = x""yes; then :
70558 cat >>confdefs.h <<_ACEOF
70559 #define HAVE__ATAN2L 1
70560 _ACEOF
70563 done
70572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70573 $as_echo_n "checking for expl declaration... " >&6; }
70574 if test x${glibcxx_cv_func_expl_use+set} != xset; then
70575 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
70576 $as_echo_n "(cached) " >&6
70577 else
70580 ac_ext=cpp
70581 ac_cpp='$CXXCPP $CPPFLAGS'
70582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70587 /* end confdefs.h. */
70588 #include <math.h>
70589 #ifdef HAVE_IEEEFP_H
70590 #include <ieeefp.h>
70591 #endif
70594 main ()
70596 expl(0);
70598 return 0;
70600 _ACEOF
70601 if ac_fn_cxx_try_compile "$LINENO"; then :
70602 glibcxx_cv_func_expl_use=yes
70603 else
70604 glibcxx_cv_func_expl_use=no
70606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70607 ac_ext=c
70608 ac_cpp='$CPP $CPPFLAGS'
70609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70618 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
70620 if test x$glibcxx_cv_func_expl_use = x"yes"; then
70621 for ac_func in expl
70622 do :
70623 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70624 if test "x$ac_cv_func_expl" = x""yes; then :
70625 cat >>confdefs.h <<_ACEOF
70626 #define HAVE_EXPL 1
70627 _ACEOF
70630 done
70632 else
70634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70635 $as_echo_n "checking for _expl declaration... " >&6; }
70636 if test x${glibcxx_cv_func__expl_use+set} != xset; then
70637 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
70638 $as_echo_n "(cached) " >&6
70639 else
70642 ac_ext=cpp
70643 ac_cpp='$CXXCPP $CPPFLAGS'
70644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70649 /* end confdefs.h. */
70650 #include <math.h>
70651 #ifdef HAVE_IEEEFP_H
70652 #include <ieeefp.h>
70653 #endif
70656 main ()
70658 _expl(0);
70660 return 0;
70662 _ACEOF
70663 if ac_fn_cxx_try_compile "$LINENO"; then :
70664 glibcxx_cv_func__expl_use=yes
70665 else
70666 glibcxx_cv_func__expl_use=no
70668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70669 ac_ext=c
70670 ac_cpp='$CPP $CPPFLAGS'
70671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70680 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
70682 if test x$glibcxx_cv_func__expl_use = x"yes"; then
70683 for ac_func in _expl
70684 do :
70685 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70686 if test "x$ac_cv_func__expl" = x""yes; then :
70687 cat >>confdefs.h <<_ACEOF
70688 #define HAVE__EXPL 1
70689 _ACEOF
70692 done
70701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70702 $as_echo_n "checking for fabsl declaration... " >&6; }
70703 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70704 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
70705 $as_echo_n "(cached) " >&6
70706 else
70709 ac_ext=cpp
70710 ac_cpp='$CXXCPP $CPPFLAGS'
70711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70716 /* end confdefs.h. */
70717 #include <math.h>
70718 #ifdef HAVE_IEEEFP_H
70719 #include <ieeefp.h>
70720 #endif
70723 main ()
70725 fabsl(0);
70727 return 0;
70729 _ACEOF
70730 if ac_fn_cxx_try_compile "$LINENO"; then :
70731 glibcxx_cv_func_fabsl_use=yes
70732 else
70733 glibcxx_cv_func_fabsl_use=no
70735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70736 ac_ext=c
70737 ac_cpp='$CPP $CPPFLAGS'
70738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
70747 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
70749 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
70750 for ac_func in fabsl
70751 do :
70752 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
70753 if test "x$ac_cv_func_fabsl" = x""yes; then :
70754 cat >>confdefs.h <<_ACEOF
70755 #define HAVE_FABSL 1
70756 _ACEOF
70759 done
70761 else
70763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
70764 $as_echo_n "checking for _fabsl declaration... " >&6; }
70765 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
70766 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
70767 $as_echo_n "(cached) " >&6
70768 else
70771 ac_ext=cpp
70772 ac_cpp='$CXXCPP $CPPFLAGS'
70773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70778 /* end confdefs.h. */
70779 #include <math.h>
70780 #ifdef HAVE_IEEEFP_H
70781 #include <ieeefp.h>
70782 #endif
70785 main ()
70787 _fabsl(0);
70789 return 0;
70791 _ACEOF
70792 if ac_fn_cxx_try_compile "$LINENO"; then :
70793 glibcxx_cv_func__fabsl_use=yes
70794 else
70795 glibcxx_cv_func__fabsl_use=no
70797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70798 ac_ext=c
70799 ac_cpp='$CPP $CPPFLAGS'
70800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
70809 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
70811 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
70812 for ac_func in _fabsl
70813 do :
70814 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
70815 if test "x$ac_cv_func__fabsl" = x""yes; then :
70816 cat >>confdefs.h <<_ACEOF
70817 #define HAVE__FABSL 1
70818 _ACEOF
70821 done
70830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
70831 $as_echo_n "checking for fmodl declaration... " >&6; }
70832 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
70833 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
70834 $as_echo_n "(cached) " >&6
70835 else
70838 ac_ext=cpp
70839 ac_cpp='$CXXCPP $CPPFLAGS'
70840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70845 /* end confdefs.h. */
70846 #include <math.h>
70848 main ()
70850 fmodl(0, 0);
70852 return 0;
70854 _ACEOF
70855 if ac_fn_cxx_try_compile "$LINENO"; then :
70856 glibcxx_cv_func_fmodl_use=yes
70857 else
70858 glibcxx_cv_func_fmodl_use=no
70860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70861 ac_ext=c
70862 ac_cpp='$CPP $CPPFLAGS'
70863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
70872 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
70874 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
70875 for ac_func in fmodl
70876 do :
70877 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
70878 if test "x$ac_cv_func_fmodl" = x""yes; then :
70879 cat >>confdefs.h <<_ACEOF
70880 #define HAVE_FMODL 1
70881 _ACEOF
70884 done
70886 else
70888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
70889 $as_echo_n "checking for _fmodl declaration... " >&6; }
70890 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
70891 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
70892 $as_echo_n "(cached) " >&6
70893 else
70896 ac_ext=cpp
70897 ac_cpp='$CXXCPP $CPPFLAGS'
70898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70903 /* end confdefs.h. */
70904 #include <math.h>
70906 main ()
70908 _fmodl(0, 0);
70910 return 0;
70912 _ACEOF
70913 if ac_fn_cxx_try_compile "$LINENO"; then :
70914 glibcxx_cv_func__fmodl_use=yes
70915 else
70916 glibcxx_cv_func__fmodl_use=no
70918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70919 ac_ext=c
70920 ac_cpp='$CPP $CPPFLAGS'
70921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
70930 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
70932 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
70933 for ac_func in _fmodl
70934 do :
70935 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
70936 if test "x$ac_cv_func__fmodl" = x""yes; then :
70937 cat >>confdefs.h <<_ACEOF
70938 #define HAVE__FMODL 1
70939 _ACEOF
70942 done
70951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
70952 $as_echo_n "checking for frexpl declaration... " >&6; }
70953 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
70954 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
70955 $as_echo_n "(cached) " >&6
70956 else
70959 ac_ext=cpp
70960 ac_cpp='$CXXCPP $CPPFLAGS'
70961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70966 /* end confdefs.h. */
70967 #include <math.h>
70969 main ()
70971 frexpl(0, 0);
70973 return 0;
70975 _ACEOF
70976 if ac_fn_cxx_try_compile "$LINENO"; then :
70977 glibcxx_cv_func_frexpl_use=yes
70978 else
70979 glibcxx_cv_func_frexpl_use=no
70981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70982 ac_ext=c
70983 ac_cpp='$CPP $CPPFLAGS'
70984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
70993 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
70995 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
70996 for ac_func in frexpl
70997 do :
70998 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
70999 if test "x$ac_cv_func_frexpl" = x""yes; then :
71000 cat >>confdefs.h <<_ACEOF
71001 #define HAVE_FREXPL 1
71002 _ACEOF
71005 done
71007 else
71009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
71010 $as_echo_n "checking for _frexpl declaration... " >&6; }
71011 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
71012 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
71013 $as_echo_n "(cached) " >&6
71014 else
71017 ac_ext=cpp
71018 ac_cpp='$CXXCPP $CPPFLAGS'
71019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71024 /* end confdefs.h. */
71025 #include <math.h>
71027 main ()
71029 _frexpl(0, 0);
71031 return 0;
71033 _ACEOF
71034 if ac_fn_cxx_try_compile "$LINENO"; then :
71035 glibcxx_cv_func__frexpl_use=yes
71036 else
71037 glibcxx_cv_func__frexpl_use=no
71039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71040 ac_ext=c
71041 ac_cpp='$CPP $CPPFLAGS'
71042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
71051 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
71053 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
71054 for ac_func in _frexpl
71055 do :
71056 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
71057 if test "x$ac_cv_func__frexpl" = x""yes; then :
71058 cat >>confdefs.h <<_ACEOF
71059 #define HAVE__FREXPL 1
71060 _ACEOF
71063 done
71072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
71073 $as_echo_n "checking for hypotl declaration... " >&6; }
71074 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
71075 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
71076 $as_echo_n "(cached) " >&6
71077 else
71080 ac_ext=cpp
71081 ac_cpp='$CXXCPP $CPPFLAGS'
71082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71087 /* end confdefs.h. */
71088 #include <math.h>
71090 main ()
71092 hypotl(0, 0);
71094 return 0;
71096 _ACEOF
71097 if ac_fn_cxx_try_compile "$LINENO"; then :
71098 glibcxx_cv_func_hypotl_use=yes
71099 else
71100 glibcxx_cv_func_hypotl_use=no
71102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71103 ac_ext=c
71104 ac_cpp='$CPP $CPPFLAGS'
71105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
71114 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
71116 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71117 for ac_func in hypotl
71118 do :
71119 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71120 if test "x$ac_cv_func_hypotl" = x""yes; then :
71121 cat >>confdefs.h <<_ACEOF
71122 #define HAVE_HYPOTL 1
71123 _ACEOF
71126 done
71128 else
71130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71131 $as_echo_n "checking for _hypotl declaration... " >&6; }
71132 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71133 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
71134 $as_echo_n "(cached) " >&6
71135 else
71138 ac_ext=cpp
71139 ac_cpp='$CXXCPP $CPPFLAGS'
71140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71145 /* end confdefs.h. */
71146 #include <math.h>
71148 main ()
71150 _hypotl(0, 0);
71152 return 0;
71154 _ACEOF
71155 if ac_fn_cxx_try_compile "$LINENO"; then :
71156 glibcxx_cv_func__hypotl_use=yes
71157 else
71158 glibcxx_cv_func__hypotl_use=no
71160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71161 ac_ext=c
71162 ac_cpp='$CPP $CPPFLAGS'
71163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71172 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71174 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71175 for ac_func in _hypotl
71176 do :
71177 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71178 if test "x$ac_cv_func__hypotl" = x""yes; then :
71179 cat >>confdefs.h <<_ACEOF
71180 #define HAVE__HYPOTL 1
71181 _ACEOF
71184 done
71193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71194 $as_echo_n "checking for ldexpl declaration... " >&6; }
71195 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71196 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
71197 $as_echo_n "(cached) " >&6
71198 else
71201 ac_ext=cpp
71202 ac_cpp='$CXXCPP $CPPFLAGS'
71203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71208 /* end confdefs.h. */
71209 #include <math.h>
71211 main ()
71213 ldexpl(0, 0);
71215 return 0;
71217 _ACEOF
71218 if ac_fn_cxx_try_compile "$LINENO"; then :
71219 glibcxx_cv_func_ldexpl_use=yes
71220 else
71221 glibcxx_cv_func_ldexpl_use=no
71223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71224 ac_ext=c
71225 ac_cpp='$CPP $CPPFLAGS'
71226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71235 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71237 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71238 for ac_func in ldexpl
71239 do :
71240 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71241 if test "x$ac_cv_func_ldexpl" = x""yes; then :
71242 cat >>confdefs.h <<_ACEOF
71243 #define HAVE_LDEXPL 1
71244 _ACEOF
71247 done
71249 else
71251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71252 $as_echo_n "checking for _ldexpl declaration... " >&6; }
71253 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71254 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
71255 $as_echo_n "(cached) " >&6
71256 else
71259 ac_ext=cpp
71260 ac_cpp='$CXXCPP $CPPFLAGS'
71261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71266 /* end confdefs.h. */
71267 #include <math.h>
71269 main ()
71271 _ldexpl(0, 0);
71273 return 0;
71275 _ACEOF
71276 if ac_fn_cxx_try_compile "$LINENO"; then :
71277 glibcxx_cv_func__ldexpl_use=yes
71278 else
71279 glibcxx_cv_func__ldexpl_use=no
71281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71282 ac_ext=c
71283 ac_cpp='$CPP $CPPFLAGS'
71284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71293 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71295 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71296 for ac_func in _ldexpl
71297 do :
71298 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71299 if test "x$ac_cv_func__ldexpl" = x""yes; then :
71300 cat >>confdefs.h <<_ACEOF
71301 #define HAVE__LDEXPL 1
71302 _ACEOF
71305 done
71314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71315 $as_echo_n "checking for logl declaration... " >&6; }
71316 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71317 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
71318 $as_echo_n "(cached) " >&6
71319 else
71322 ac_ext=cpp
71323 ac_cpp='$CXXCPP $CPPFLAGS'
71324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71329 /* end confdefs.h. */
71330 #include <math.h>
71331 #ifdef HAVE_IEEEFP_H
71332 #include <ieeefp.h>
71333 #endif
71336 main ()
71338 logl(0);
71340 return 0;
71342 _ACEOF
71343 if ac_fn_cxx_try_compile "$LINENO"; then :
71344 glibcxx_cv_func_logl_use=yes
71345 else
71346 glibcxx_cv_func_logl_use=no
71348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71349 ac_ext=c
71350 ac_cpp='$CPP $CPPFLAGS'
71351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71360 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71362 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71363 for ac_func in logl
71364 do :
71365 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71366 if test "x$ac_cv_func_logl" = x""yes; then :
71367 cat >>confdefs.h <<_ACEOF
71368 #define HAVE_LOGL 1
71369 _ACEOF
71372 done
71374 else
71376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71377 $as_echo_n "checking for _logl declaration... " >&6; }
71378 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71379 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
71380 $as_echo_n "(cached) " >&6
71381 else
71384 ac_ext=cpp
71385 ac_cpp='$CXXCPP $CPPFLAGS'
71386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71391 /* end confdefs.h. */
71392 #include <math.h>
71393 #ifdef HAVE_IEEEFP_H
71394 #include <ieeefp.h>
71395 #endif
71398 main ()
71400 _logl(0);
71402 return 0;
71404 _ACEOF
71405 if ac_fn_cxx_try_compile "$LINENO"; then :
71406 glibcxx_cv_func__logl_use=yes
71407 else
71408 glibcxx_cv_func__logl_use=no
71410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71411 ac_ext=c
71412 ac_cpp='$CPP $CPPFLAGS'
71413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71422 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71424 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71425 for ac_func in _logl
71426 do :
71427 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71428 if test "x$ac_cv_func__logl" = x""yes; then :
71429 cat >>confdefs.h <<_ACEOF
71430 #define HAVE__LOGL 1
71431 _ACEOF
71434 done
71443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71444 $as_echo_n "checking for log10l declaration... " >&6; }
71445 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71446 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
71447 $as_echo_n "(cached) " >&6
71448 else
71451 ac_ext=cpp
71452 ac_cpp='$CXXCPP $CPPFLAGS'
71453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71458 /* end confdefs.h. */
71459 #include <math.h>
71460 #ifdef HAVE_IEEEFP_H
71461 #include <ieeefp.h>
71462 #endif
71465 main ()
71467 log10l(0);
71469 return 0;
71471 _ACEOF
71472 if ac_fn_cxx_try_compile "$LINENO"; then :
71473 glibcxx_cv_func_log10l_use=yes
71474 else
71475 glibcxx_cv_func_log10l_use=no
71477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71478 ac_ext=c
71479 ac_cpp='$CPP $CPPFLAGS'
71480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71489 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71491 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71492 for ac_func in log10l
71493 do :
71494 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71495 if test "x$ac_cv_func_log10l" = x""yes; then :
71496 cat >>confdefs.h <<_ACEOF
71497 #define HAVE_LOG10L 1
71498 _ACEOF
71501 done
71503 else
71505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71506 $as_echo_n "checking for _log10l declaration... " >&6; }
71507 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71508 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
71509 $as_echo_n "(cached) " >&6
71510 else
71513 ac_ext=cpp
71514 ac_cpp='$CXXCPP $CPPFLAGS'
71515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71520 /* end confdefs.h. */
71521 #include <math.h>
71522 #ifdef HAVE_IEEEFP_H
71523 #include <ieeefp.h>
71524 #endif
71527 main ()
71529 _log10l(0);
71531 return 0;
71533 _ACEOF
71534 if ac_fn_cxx_try_compile "$LINENO"; then :
71535 glibcxx_cv_func__log10l_use=yes
71536 else
71537 glibcxx_cv_func__log10l_use=no
71539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71540 ac_ext=c
71541 ac_cpp='$CPP $CPPFLAGS'
71542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71551 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71553 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71554 for ac_func in _log10l
71555 do :
71556 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71557 if test "x$ac_cv_func__log10l" = x""yes; then :
71558 cat >>confdefs.h <<_ACEOF
71559 #define HAVE__LOG10L 1
71560 _ACEOF
71563 done
71572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71573 $as_echo_n "checking for modfl declaration... " >&6; }
71574 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71575 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
71576 $as_echo_n "(cached) " >&6
71577 else
71580 ac_ext=cpp
71581 ac_cpp='$CXXCPP $CPPFLAGS'
71582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71587 /* end confdefs.h. */
71588 #include <math.h>
71590 main ()
71592 modfl(0, 0);
71594 return 0;
71596 _ACEOF
71597 if ac_fn_cxx_try_compile "$LINENO"; then :
71598 glibcxx_cv_func_modfl_use=yes
71599 else
71600 glibcxx_cv_func_modfl_use=no
71602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71603 ac_ext=c
71604 ac_cpp='$CPP $CPPFLAGS'
71605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71614 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71616 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71617 for ac_func in modfl
71618 do :
71619 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71620 if test "x$ac_cv_func_modfl" = x""yes; then :
71621 cat >>confdefs.h <<_ACEOF
71622 #define HAVE_MODFL 1
71623 _ACEOF
71626 done
71628 else
71630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71631 $as_echo_n "checking for _modfl declaration... " >&6; }
71632 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71633 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
71634 $as_echo_n "(cached) " >&6
71635 else
71638 ac_ext=cpp
71639 ac_cpp='$CXXCPP $CPPFLAGS'
71640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71645 /* end confdefs.h. */
71646 #include <math.h>
71648 main ()
71650 _modfl(0, 0);
71652 return 0;
71654 _ACEOF
71655 if ac_fn_cxx_try_compile "$LINENO"; then :
71656 glibcxx_cv_func__modfl_use=yes
71657 else
71658 glibcxx_cv_func__modfl_use=no
71660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71661 ac_ext=c
71662 ac_cpp='$CPP $CPPFLAGS'
71663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71672 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71674 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71675 for ac_func in _modfl
71676 do :
71677 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71678 if test "x$ac_cv_func__modfl" = x""yes; then :
71679 cat >>confdefs.h <<_ACEOF
71680 #define HAVE__MODFL 1
71681 _ACEOF
71684 done
71693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71694 $as_echo_n "checking for powl declaration... " >&6; }
71695 if test x${glibcxx_cv_func_powl_use+set} != xset; then
71696 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
71697 $as_echo_n "(cached) " >&6
71698 else
71701 ac_ext=cpp
71702 ac_cpp='$CXXCPP $CPPFLAGS'
71703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71708 /* end confdefs.h. */
71709 #include <math.h>
71711 main ()
71713 powl(0, 0);
71715 return 0;
71717 _ACEOF
71718 if ac_fn_cxx_try_compile "$LINENO"; then :
71719 glibcxx_cv_func_powl_use=yes
71720 else
71721 glibcxx_cv_func_powl_use=no
71723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71724 ac_ext=c
71725 ac_cpp='$CPP $CPPFLAGS'
71726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71735 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
71737 if test x$glibcxx_cv_func_powl_use = x"yes"; then
71738 for ac_func in powl
71739 do :
71740 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
71741 if test "x$ac_cv_func_powl" = x""yes; then :
71742 cat >>confdefs.h <<_ACEOF
71743 #define HAVE_POWL 1
71744 _ACEOF
71747 done
71749 else
71751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
71752 $as_echo_n "checking for _powl declaration... " >&6; }
71753 if test x${glibcxx_cv_func__powl_use+set} != xset; then
71754 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
71755 $as_echo_n "(cached) " >&6
71756 else
71759 ac_ext=cpp
71760 ac_cpp='$CXXCPP $CPPFLAGS'
71761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71766 /* end confdefs.h. */
71767 #include <math.h>
71769 main ()
71771 _powl(0, 0);
71773 return 0;
71775 _ACEOF
71776 if ac_fn_cxx_try_compile "$LINENO"; then :
71777 glibcxx_cv_func__powl_use=yes
71778 else
71779 glibcxx_cv_func__powl_use=no
71781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71782 ac_ext=c
71783 ac_cpp='$CPP $CPPFLAGS'
71784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
71793 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
71795 if test x$glibcxx_cv_func__powl_use = x"yes"; then
71796 for ac_func in _powl
71797 do :
71798 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
71799 if test "x$ac_cv_func__powl" = x""yes; then :
71800 cat >>confdefs.h <<_ACEOF
71801 #define HAVE__POWL 1
71802 _ACEOF
71805 done
71814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
71815 $as_echo_n "checking for sqrtl declaration... " >&6; }
71816 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
71817 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
71818 $as_echo_n "(cached) " >&6
71819 else
71822 ac_ext=cpp
71823 ac_cpp='$CXXCPP $CPPFLAGS'
71824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71829 /* end confdefs.h. */
71830 #include <math.h>
71831 #ifdef HAVE_IEEEFP_H
71832 #include <ieeefp.h>
71833 #endif
71836 main ()
71838 sqrtl(0);
71840 return 0;
71842 _ACEOF
71843 if ac_fn_cxx_try_compile "$LINENO"; then :
71844 glibcxx_cv_func_sqrtl_use=yes
71845 else
71846 glibcxx_cv_func_sqrtl_use=no
71848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71849 ac_ext=c
71850 ac_cpp='$CPP $CPPFLAGS'
71851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
71860 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
71862 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
71863 for ac_func in sqrtl
71864 do :
71865 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
71866 if test "x$ac_cv_func_sqrtl" = x""yes; then :
71867 cat >>confdefs.h <<_ACEOF
71868 #define HAVE_SQRTL 1
71869 _ACEOF
71872 done
71874 else
71876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
71877 $as_echo_n "checking for _sqrtl declaration... " >&6; }
71878 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
71879 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
71880 $as_echo_n "(cached) " >&6
71881 else
71884 ac_ext=cpp
71885 ac_cpp='$CXXCPP $CPPFLAGS'
71886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71891 /* end confdefs.h. */
71892 #include <math.h>
71893 #ifdef HAVE_IEEEFP_H
71894 #include <ieeefp.h>
71895 #endif
71898 main ()
71900 _sqrtl(0);
71902 return 0;
71904 _ACEOF
71905 if ac_fn_cxx_try_compile "$LINENO"; then :
71906 glibcxx_cv_func__sqrtl_use=yes
71907 else
71908 glibcxx_cv_func__sqrtl_use=no
71910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71911 ac_ext=c
71912 ac_cpp='$CPP $CPPFLAGS'
71913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
71922 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
71924 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
71925 for ac_func in _sqrtl
71926 do :
71927 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
71928 if test "x$ac_cv_func__sqrtl" = x""yes; then :
71929 cat >>confdefs.h <<_ACEOF
71930 #define HAVE__SQRTL 1
71931 _ACEOF
71934 done
71943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
71944 $as_echo_n "checking for sincosl declaration... " >&6; }
71945 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
71946 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
71947 $as_echo_n "(cached) " >&6
71948 else
71951 ac_ext=cpp
71952 ac_cpp='$CXXCPP $CPPFLAGS'
71953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71958 /* end confdefs.h. */
71959 #include <math.h>
71961 main ()
71963 sincosl(0, 0, 0);
71965 return 0;
71967 _ACEOF
71968 if ac_fn_cxx_try_compile "$LINENO"; then :
71969 glibcxx_cv_func_sincosl_use=yes
71970 else
71971 glibcxx_cv_func_sincosl_use=no
71973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71974 ac_ext=c
71975 ac_cpp='$CPP $CPPFLAGS'
71976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
71985 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
71987 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
71988 for ac_func in sincosl
71989 do :
71990 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
71991 if test "x$ac_cv_func_sincosl" = x""yes; then :
71992 cat >>confdefs.h <<_ACEOF
71993 #define HAVE_SINCOSL 1
71994 _ACEOF
71997 done
71999 else
72001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
72002 $as_echo_n "checking for _sincosl declaration... " >&6; }
72003 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
72004 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
72005 $as_echo_n "(cached) " >&6
72006 else
72009 ac_ext=cpp
72010 ac_cpp='$CXXCPP $CPPFLAGS'
72011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72016 /* end confdefs.h. */
72017 #include <math.h>
72019 main ()
72021 _sincosl(0, 0, 0);
72023 return 0;
72025 _ACEOF
72026 if ac_fn_cxx_try_compile "$LINENO"; then :
72027 glibcxx_cv_func__sincosl_use=yes
72028 else
72029 glibcxx_cv_func__sincosl_use=no
72031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72032 ac_ext=c
72033 ac_cpp='$CPP $CPPFLAGS'
72034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
72043 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
72045 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
72046 for ac_func in _sincosl
72047 do :
72048 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
72049 if test "x$ac_cv_func__sincosl" = x""yes; then :
72050 cat >>confdefs.h <<_ACEOF
72051 #define HAVE__SINCOSL 1
72052 _ACEOF
72055 done
72064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
72065 $as_echo_n "checking for finitel declaration... " >&6; }
72066 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
72067 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
72068 $as_echo_n "(cached) " >&6
72069 else
72072 ac_ext=cpp
72073 ac_cpp='$CXXCPP $CPPFLAGS'
72074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72079 /* end confdefs.h. */
72080 #include <math.h>
72081 #ifdef HAVE_IEEEFP_H
72082 #include <ieeefp.h>
72083 #endif
72086 main ()
72088 finitel(0);
72090 return 0;
72092 _ACEOF
72093 if ac_fn_cxx_try_compile "$LINENO"; then :
72094 glibcxx_cv_func_finitel_use=yes
72095 else
72096 glibcxx_cv_func_finitel_use=no
72098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72099 ac_ext=c
72100 ac_cpp='$CPP $CPPFLAGS'
72101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
72110 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
72112 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
72113 for ac_func in finitel
72114 do :
72115 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
72116 if test "x$ac_cv_func_finitel" = x""yes; then :
72117 cat >>confdefs.h <<_ACEOF
72118 #define HAVE_FINITEL 1
72119 _ACEOF
72122 done
72124 else
72126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72127 $as_echo_n "checking for _finitel declaration... " >&6; }
72128 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72129 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
72130 $as_echo_n "(cached) " >&6
72131 else
72134 ac_ext=cpp
72135 ac_cpp='$CXXCPP $CPPFLAGS'
72136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72141 /* end confdefs.h. */
72142 #include <math.h>
72143 #ifdef HAVE_IEEEFP_H
72144 #include <ieeefp.h>
72145 #endif
72148 main ()
72150 _finitel(0);
72152 return 0;
72154 _ACEOF
72155 if ac_fn_cxx_try_compile "$LINENO"; then :
72156 glibcxx_cv_func__finitel_use=yes
72157 else
72158 glibcxx_cv_func__finitel_use=no
72160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72161 ac_ext=c
72162 ac_cpp='$CPP $CPPFLAGS'
72163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72172 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72174 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72175 for ac_func in _finitel
72176 do :
72177 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72178 if test "x$ac_cv_func__finitel" = x""yes; then :
72179 cat >>confdefs.h <<_ACEOF
72180 #define HAVE__FINITEL 1
72181 _ACEOF
72184 done
72192 LIBS="$ac_save_LIBS"
72193 CXXFLAGS="$ac_save_CXXFLAGS"
72196 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72197 ac_save_CXXFLAGS="$CXXFLAGS"
72198 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72202 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
72203 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72204 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
72205 $as_echo_n "(cached) " >&6
72206 else
72209 ac_ext=cpp
72210 ac_cpp='$CXXCPP $CPPFLAGS'
72211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72216 /* end confdefs.h. */
72217 #include <stdlib.h>
72219 main ()
72221 at_quick_exit(0);
72223 return 0;
72225 _ACEOF
72226 if ac_fn_cxx_try_compile "$LINENO"; then :
72227 glibcxx_cv_func_at_quick_exit_use=yes
72228 else
72229 glibcxx_cv_func_at_quick_exit_use=no
72231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72232 ac_ext=c
72233 ac_cpp='$CPP $CPPFLAGS'
72234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72243 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72244 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72245 for ac_func in at_quick_exit
72246 do :
72247 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72248 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
72249 cat >>confdefs.h <<_ACEOF
72250 #define HAVE_AT_QUICK_EXIT 1
72251 _ACEOF
72254 done
72259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72260 $as_echo_n "checking for quick_exit declaration... " >&6; }
72261 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72262 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
72263 $as_echo_n "(cached) " >&6
72264 else
72267 ac_ext=cpp
72268 ac_cpp='$CXXCPP $CPPFLAGS'
72269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72274 /* end confdefs.h. */
72275 #include <stdlib.h>
72277 main ()
72279 quick_exit(0);
72281 return 0;
72283 _ACEOF
72284 if ac_fn_cxx_try_compile "$LINENO"; then :
72285 glibcxx_cv_func_quick_exit_use=yes
72286 else
72287 glibcxx_cv_func_quick_exit_use=no
72289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72290 ac_ext=c
72291 ac_cpp='$CPP $CPPFLAGS'
72292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72301 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72302 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72303 for ac_func in quick_exit
72304 do :
72305 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72306 if test "x$ac_cv_func_quick_exit" = x""yes; then :
72307 cat >>confdefs.h <<_ACEOF
72308 #define HAVE_QUICK_EXIT 1
72309 _ACEOF
72312 done
72317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72318 $as_echo_n "checking for strtold declaration... " >&6; }
72319 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72320 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
72321 $as_echo_n "(cached) " >&6
72322 else
72325 ac_ext=cpp
72326 ac_cpp='$CXXCPP $CPPFLAGS'
72327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72332 /* end confdefs.h. */
72333 #include <stdlib.h>
72335 main ()
72337 strtold(0, 0);
72339 return 0;
72341 _ACEOF
72342 if ac_fn_cxx_try_compile "$LINENO"; then :
72343 glibcxx_cv_func_strtold_use=yes
72344 else
72345 glibcxx_cv_func_strtold_use=no
72347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72348 ac_ext=c
72349 ac_cpp='$CPP $CPPFLAGS'
72350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72359 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72360 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72361 for ac_func in strtold
72362 do :
72363 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72364 if test "x$ac_cv_func_strtold" = x""yes; then :
72365 cat >>confdefs.h <<_ACEOF
72366 #define HAVE_STRTOLD 1
72367 _ACEOF
72370 done
72377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72378 $as_echo_n "checking for strtof declaration... " >&6; }
72379 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72380 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
72381 $as_echo_n "(cached) " >&6
72382 else
72385 ac_ext=cpp
72386 ac_cpp='$CXXCPP $CPPFLAGS'
72387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72392 /* end confdefs.h. */
72393 #include <stdlib.h>
72395 main ()
72397 strtof(0, 0);
72399 return 0;
72401 _ACEOF
72402 if ac_fn_cxx_try_compile "$LINENO"; then :
72403 glibcxx_cv_func_strtof_use=yes
72404 else
72405 glibcxx_cv_func_strtof_use=no
72407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72408 ac_ext=c
72409 ac_cpp='$CPP $CPPFLAGS'
72410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72419 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72420 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72421 for ac_func in strtof
72422 do :
72423 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72424 if test "x$ac_cv_func_strtof" = x""yes; then :
72425 cat >>confdefs.h <<_ACEOF
72426 #define HAVE_STRTOF 1
72427 _ACEOF
72430 done
72437 CXXFLAGS="$ac_save_CXXFLAGS"
72440 *-tpf)
72441 SECTION_FLAGS='-ffunction-sections -fdata-sections'
72442 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
72444 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72446 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
72448 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
72450 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
72452 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
72454 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
72456 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72458 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72460 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
72462 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
72464 if test x"long_double_math_on_this_cpu" = x"yes"; then
72465 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
72467 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
72469 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
72471 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
72475 *-*vms*)
72476 # Check for available headers.
72477 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
72479 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72480 ac_save_CXXFLAGS="$CXXFLAGS"
72481 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
72484 $as_echo_n "checking for sin in -lm... " >&6; }
72485 if test "${ac_cv_lib_m_sin+set}" = set; then :
72486 $as_echo_n "(cached) " >&6
72487 else
72488 ac_check_lib_save_LIBS=$LIBS
72489 LIBS="-lm $LIBS"
72490 if test x$gcc_no_link = xyes; then
72491 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72494 /* end confdefs.h. */
72496 /* Override any GCC internal prototype to avoid an error.
72497 Use char because int might match the return type of a GCC
72498 builtin and then its argument prototype would still apply. */
72499 #ifdef __cplusplus
72500 extern "C"
72501 #endif
72502 char sin ();
72504 main ()
72506 return sin ();
72508 return 0;
72510 _ACEOF
72511 if ac_fn_c_try_link "$LINENO"; then :
72512 ac_cv_lib_m_sin=yes
72513 else
72514 ac_cv_lib_m_sin=no
72516 rm -f core conftest.err conftest.$ac_objext \
72517 conftest$ac_exeext conftest.$ac_ext
72518 LIBS=$ac_check_lib_save_LIBS
72520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
72521 $as_echo "$ac_cv_lib_m_sin" >&6; }
72522 if test "x$ac_cv_lib_m_sin" = x""yes; then :
72523 libm="-lm"
72526 ac_save_LIBS="$LIBS"
72527 LIBS="$LIBS $libm"
72531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
72532 $as_echo_n "checking for isinf declaration... " >&6; }
72533 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
72534 if test "${glibcxx_cv_func_isinf_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 isinf(0);
72557 return 0;
72559 _ACEOF
72560 if ac_fn_cxx_try_compile "$LINENO"; then :
72561 glibcxx_cv_func_isinf_use=yes
72562 else
72563 glibcxx_cv_func_isinf_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_isinf_use" >&5
72577 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
72579 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
72580 for ac_func in isinf
72581 do :
72582 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
72583 if test "x$ac_cv_func_isinf" = x""yes; then :
72584 cat >>confdefs.h <<_ACEOF
72585 #define HAVE_ISINF 1
72586 _ACEOF
72589 done
72591 else
72593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
72594 $as_echo_n "checking for _isinf declaration... " >&6; }
72595 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
72596 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
72597 $as_echo_n "(cached) " >&6
72598 else
72601 ac_ext=cpp
72602 ac_cpp='$CXXCPP $CPPFLAGS'
72603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72608 /* end confdefs.h. */
72609 #include <math.h>
72610 #ifdef HAVE_IEEEFP_H
72611 #include <ieeefp.h>
72612 #endif
72615 main ()
72617 _isinf(0);
72619 return 0;
72621 _ACEOF
72622 if ac_fn_cxx_try_compile "$LINENO"; then :
72623 glibcxx_cv_func__isinf_use=yes
72624 else
72625 glibcxx_cv_func__isinf_use=no
72627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72628 ac_ext=c
72629 ac_cpp='$CPP $CPPFLAGS'
72630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
72639 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
72641 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
72642 for ac_func in _isinf
72643 do :
72644 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
72645 if test "x$ac_cv_func__isinf" = x""yes; then :
72646 cat >>confdefs.h <<_ACEOF
72647 #define HAVE__ISINF 1
72648 _ACEOF
72651 done
72660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
72661 $as_echo_n "checking for isnan declaration... " >&6; }
72662 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
72663 if test "${glibcxx_cv_func_isnan_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 isnan(0);
72686 return 0;
72688 _ACEOF
72689 if ac_fn_cxx_try_compile "$LINENO"; then :
72690 glibcxx_cv_func_isnan_use=yes
72691 else
72692 glibcxx_cv_func_isnan_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_isnan_use" >&5
72706 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
72708 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
72709 for ac_func in isnan
72710 do :
72711 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
72712 if test "x$ac_cv_func_isnan" = x""yes; then :
72713 cat >>confdefs.h <<_ACEOF
72714 #define HAVE_ISNAN 1
72715 _ACEOF
72718 done
72720 else
72722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
72723 $as_echo_n "checking for _isnan declaration... " >&6; }
72724 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
72725 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
72726 $as_echo_n "(cached) " >&6
72727 else
72730 ac_ext=cpp
72731 ac_cpp='$CXXCPP $CPPFLAGS'
72732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72737 /* end confdefs.h. */
72738 #include <math.h>
72739 #ifdef HAVE_IEEEFP_H
72740 #include <ieeefp.h>
72741 #endif
72744 main ()
72746 _isnan(0);
72748 return 0;
72750 _ACEOF
72751 if ac_fn_cxx_try_compile "$LINENO"; then :
72752 glibcxx_cv_func__isnan_use=yes
72753 else
72754 glibcxx_cv_func__isnan_use=no
72756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72757 ac_ext=c
72758 ac_cpp='$CPP $CPPFLAGS'
72759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
72768 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
72770 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
72771 for ac_func in _isnan
72772 do :
72773 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
72774 if test "x$ac_cv_func__isnan" = x""yes; then :
72775 cat >>confdefs.h <<_ACEOF
72776 #define HAVE__ISNAN 1
72777 _ACEOF
72780 done
72789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
72790 $as_echo_n "checking for finite declaration... " >&6; }
72791 if test x${glibcxx_cv_func_finite_use+set} != xset; then
72792 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
72793 $as_echo_n "(cached) " >&6
72794 else
72797 ac_ext=cpp
72798 ac_cpp='$CXXCPP $CPPFLAGS'
72799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72804 /* end confdefs.h. */
72805 #include <math.h>
72806 #ifdef HAVE_IEEEFP_H
72807 #include <ieeefp.h>
72808 #endif
72811 main ()
72813 finite(0);
72815 return 0;
72817 _ACEOF
72818 if ac_fn_cxx_try_compile "$LINENO"; then :
72819 glibcxx_cv_func_finite_use=yes
72820 else
72821 glibcxx_cv_func_finite_use=no
72823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72824 ac_ext=c
72825 ac_cpp='$CPP $CPPFLAGS'
72826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
72835 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
72837 if test x$glibcxx_cv_func_finite_use = x"yes"; then
72838 for ac_func in finite
72839 do :
72840 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
72841 if test "x$ac_cv_func_finite" = x""yes; then :
72842 cat >>confdefs.h <<_ACEOF
72843 #define HAVE_FINITE 1
72844 _ACEOF
72847 done
72849 else
72851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
72852 $as_echo_n "checking for _finite declaration... " >&6; }
72853 if test x${glibcxx_cv_func__finite_use+set} != xset; then
72854 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
72855 $as_echo_n "(cached) " >&6
72856 else
72859 ac_ext=cpp
72860 ac_cpp='$CXXCPP $CPPFLAGS'
72861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72866 /* end confdefs.h. */
72867 #include <math.h>
72868 #ifdef HAVE_IEEEFP_H
72869 #include <ieeefp.h>
72870 #endif
72873 main ()
72875 _finite(0);
72877 return 0;
72879 _ACEOF
72880 if ac_fn_cxx_try_compile "$LINENO"; then :
72881 glibcxx_cv_func__finite_use=yes
72882 else
72883 glibcxx_cv_func__finite_use=no
72885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72886 ac_ext=c
72887 ac_cpp='$CPP $CPPFLAGS'
72888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
72897 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
72899 if test x$glibcxx_cv_func__finite_use = x"yes"; then
72900 for ac_func in _finite
72901 do :
72902 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
72903 if test "x$ac_cv_func__finite" = x""yes; then :
72904 cat >>confdefs.h <<_ACEOF
72905 #define HAVE__FINITE 1
72906 _ACEOF
72909 done
72918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
72919 $as_echo_n "checking for sincos declaration... " >&6; }
72920 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
72921 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
72922 $as_echo_n "(cached) " >&6
72923 else
72926 ac_ext=cpp
72927 ac_cpp='$CXXCPP $CPPFLAGS'
72928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72933 /* end confdefs.h. */
72934 #include <math.h>
72936 main ()
72938 sincos(0, 0, 0);
72940 return 0;
72942 _ACEOF
72943 if ac_fn_cxx_try_compile "$LINENO"; then :
72944 glibcxx_cv_func_sincos_use=yes
72945 else
72946 glibcxx_cv_func_sincos_use=no
72948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72949 ac_ext=c
72950 ac_cpp='$CPP $CPPFLAGS'
72951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
72960 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
72962 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
72963 for ac_func in sincos
72964 do :
72965 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
72966 if test "x$ac_cv_func_sincos" = x""yes; then :
72967 cat >>confdefs.h <<_ACEOF
72968 #define HAVE_SINCOS 1
72969 _ACEOF
72972 done
72974 else
72976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
72977 $as_echo_n "checking for _sincos declaration... " >&6; }
72978 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
72979 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
72980 $as_echo_n "(cached) " >&6
72981 else
72984 ac_ext=cpp
72985 ac_cpp='$CXXCPP $CPPFLAGS'
72986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72991 /* end confdefs.h. */
72992 #include <math.h>
72994 main ()
72996 _sincos(0, 0, 0);
72998 return 0;
73000 _ACEOF
73001 if ac_fn_cxx_try_compile "$LINENO"; then :
73002 glibcxx_cv_func__sincos_use=yes
73003 else
73004 glibcxx_cv_func__sincos_use=no
73006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73007 ac_ext=c
73008 ac_cpp='$CPP $CPPFLAGS'
73009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
73018 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
73020 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
73021 for ac_func in _sincos
73022 do :
73023 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
73024 if test "x$ac_cv_func__sincos" = x""yes; then :
73025 cat >>confdefs.h <<_ACEOF
73026 #define HAVE__SINCOS 1
73027 _ACEOF
73030 done
73039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
73040 $as_echo_n "checking for fpclass declaration... " >&6; }
73041 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
73042 if test "${glibcxx_cv_func_fpclass_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 fpclass(0);
73065 return 0;
73067 _ACEOF
73068 if ac_fn_cxx_try_compile "$LINENO"; then :
73069 glibcxx_cv_func_fpclass_use=yes
73070 else
73071 glibcxx_cv_func_fpclass_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_fpclass_use" >&5
73085 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
73087 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
73088 for ac_func in fpclass
73089 do :
73090 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
73091 if test "x$ac_cv_func_fpclass" = x""yes; then :
73092 cat >>confdefs.h <<_ACEOF
73093 #define HAVE_FPCLASS 1
73094 _ACEOF
73097 done
73099 else
73101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
73102 $as_echo_n "checking for _fpclass declaration... " >&6; }
73103 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
73104 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
73105 $as_echo_n "(cached) " >&6
73106 else
73109 ac_ext=cpp
73110 ac_cpp='$CXXCPP $CPPFLAGS'
73111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73116 /* end confdefs.h. */
73117 #include <math.h>
73118 #ifdef HAVE_IEEEFP_H
73119 #include <ieeefp.h>
73120 #endif
73123 main ()
73125 _fpclass(0);
73127 return 0;
73129 _ACEOF
73130 if ac_fn_cxx_try_compile "$LINENO"; then :
73131 glibcxx_cv_func__fpclass_use=yes
73132 else
73133 glibcxx_cv_func__fpclass_use=no
73135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73136 ac_ext=c
73137 ac_cpp='$CPP $CPPFLAGS'
73138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
73147 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
73149 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
73150 for ac_func in _fpclass
73151 do :
73152 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
73153 if test "x$ac_cv_func__fpclass" = x""yes; then :
73154 cat >>confdefs.h <<_ACEOF
73155 #define HAVE__FPCLASS 1
73156 _ACEOF
73159 done
73168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
73169 $as_echo_n "checking for qfpclass declaration... " >&6; }
73170 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
73171 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
73172 $as_echo_n "(cached) " >&6
73173 else
73176 ac_ext=cpp
73177 ac_cpp='$CXXCPP $CPPFLAGS'
73178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73183 /* end confdefs.h. */
73184 #include <math.h>
73185 #ifdef HAVE_IEEEFP_H
73186 #include <ieeefp.h>
73187 #endif
73190 main ()
73192 qfpclass(0);
73194 return 0;
73196 _ACEOF
73197 if ac_fn_cxx_try_compile "$LINENO"; then :
73198 glibcxx_cv_func_qfpclass_use=yes
73199 else
73200 glibcxx_cv_func_qfpclass_use=no
73202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73203 ac_ext=c
73204 ac_cpp='$CPP $CPPFLAGS'
73205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
73214 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
73216 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
73217 for ac_func in qfpclass
73218 do :
73219 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
73220 if test "x$ac_cv_func_qfpclass" = x""yes; then :
73221 cat >>confdefs.h <<_ACEOF
73222 #define HAVE_QFPCLASS 1
73223 _ACEOF
73226 done
73228 else
73230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
73231 $as_echo_n "checking for _qfpclass declaration... " >&6; }
73232 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
73233 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
73234 $as_echo_n "(cached) " >&6
73235 else
73238 ac_ext=cpp
73239 ac_cpp='$CXXCPP $CPPFLAGS'
73240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73245 /* end confdefs.h. */
73246 #include <math.h>
73247 #ifdef HAVE_IEEEFP_H
73248 #include <ieeefp.h>
73249 #endif
73252 main ()
73254 _qfpclass(0);
73256 return 0;
73258 _ACEOF
73259 if ac_fn_cxx_try_compile "$LINENO"; then :
73260 glibcxx_cv_func__qfpclass_use=yes
73261 else
73262 glibcxx_cv_func__qfpclass_use=no
73264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73265 ac_ext=c
73266 ac_cpp='$CPP $CPPFLAGS'
73267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
73276 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
73278 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
73279 for ac_func in _qfpclass
73280 do :
73281 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
73282 if test "x$ac_cv_func__qfpclass" = x""yes; then :
73283 cat >>confdefs.h <<_ACEOF
73284 #define HAVE__QFPCLASS 1
73285 _ACEOF
73288 done
73297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
73298 $as_echo_n "checking for hypot declaration... " >&6; }
73299 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
73300 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
73301 $as_echo_n "(cached) " >&6
73302 else
73305 ac_ext=cpp
73306 ac_cpp='$CXXCPP $CPPFLAGS'
73307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73312 /* end confdefs.h. */
73313 #include <math.h>
73315 main ()
73317 hypot(0, 0);
73319 return 0;
73321 _ACEOF
73322 if ac_fn_cxx_try_compile "$LINENO"; then :
73323 glibcxx_cv_func_hypot_use=yes
73324 else
73325 glibcxx_cv_func_hypot_use=no
73327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73328 ac_ext=c
73329 ac_cpp='$CPP $CPPFLAGS'
73330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
73339 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
73341 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
73342 for ac_func in hypot
73343 do :
73344 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
73345 if test "x$ac_cv_func_hypot" = x""yes; then :
73346 cat >>confdefs.h <<_ACEOF
73347 #define HAVE_HYPOT 1
73348 _ACEOF
73351 done
73353 else
73355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
73356 $as_echo_n "checking for _hypot declaration... " >&6; }
73357 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
73358 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
73359 $as_echo_n "(cached) " >&6
73360 else
73363 ac_ext=cpp
73364 ac_cpp='$CXXCPP $CPPFLAGS'
73365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73370 /* end confdefs.h. */
73371 #include <math.h>
73373 main ()
73375 _hypot(0, 0);
73377 return 0;
73379 _ACEOF
73380 if ac_fn_cxx_try_compile "$LINENO"; then :
73381 glibcxx_cv_func__hypot_use=yes
73382 else
73383 glibcxx_cv_func__hypot_use=no
73385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73386 ac_ext=c
73387 ac_cpp='$CPP $CPPFLAGS'
73388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
73397 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
73399 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
73400 for ac_func in _hypot
73401 do :
73402 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
73403 if test "x$ac_cv_func__hypot" = x""yes; then :
73404 cat >>confdefs.h <<_ACEOF
73405 #define HAVE__HYPOT 1
73406 _ACEOF
73409 done
73418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
73419 $as_echo_n "checking for float trig functions... " >&6; }
73420 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
73421 $as_echo_n "(cached) " >&6
73422 else
73425 ac_ext=cpp
73426 ac_cpp='$CXXCPP $CPPFLAGS'
73427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73432 /* end confdefs.h. */
73433 #include <math.h>
73435 main ()
73437 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
73439 return 0;
73441 _ACEOF
73442 if ac_fn_cxx_try_compile "$LINENO"; then :
73443 glibcxx_cv_func_float_trig_use=yes
73444 else
73445 glibcxx_cv_func_float_trig_use=no
73447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73448 ac_ext=c
73449 ac_cpp='$CPP $CPPFLAGS'
73450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
73457 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
73458 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
73459 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
73460 do :
73461 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73462 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73463 eval as_val=\$$as_ac_var
73464 if test "x$as_val" = x""yes; then :
73465 cat >>confdefs.h <<_ACEOF
73466 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73467 _ACEOF
73470 done
73472 else
73473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
73474 $as_echo_n "checking for _float trig functions... " >&6; }
73475 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
73476 $as_echo_n "(cached) " >&6
73477 else
73480 ac_ext=cpp
73481 ac_cpp='$CXXCPP $CPPFLAGS'
73482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73487 /* end confdefs.h. */
73488 #include <math.h>
73490 main ()
73492 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
73494 return 0;
73496 _ACEOF
73497 if ac_fn_cxx_try_compile "$LINENO"; then :
73498 glibcxx_cv_func__float_trig_use=yes
73499 else
73500 glibcxx_cv_func__float_trig_use=no
73502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73503 ac_ext=c
73504 ac_cpp='$CPP $CPPFLAGS'
73505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
73512 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
73513 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
73514 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
73515 do :
73516 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73517 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73518 eval as_val=\$$as_ac_var
73519 if test "x$as_val" = x""yes; then :
73520 cat >>confdefs.h <<_ACEOF
73521 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73522 _ACEOF
73525 done
73534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
73535 $as_echo_n "checking for float round functions... " >&6; }
73536 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
73537 $as_echo_n "(cached) " >&6
73538 else
73541 ac_ext=cpp
73542 ac_cpp='$CXXCPP $CPPFLAGS'
73543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73548 /* end confdefs.h. */
73549 #include <math.h>
73551 main ()
73553 ceilf (0); floorf (0);
73555 return 0;
73557 _ACEOF
73558 if ac_fn_cxx_try_compile "$LINENO"; then :
73559 glibcxx_cv_func_float_round_use=yes
73560 else
73561 glibcxx_cv_func_float_round_use=no
73563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73564 ac_ext=c
73565 ac_cpp='$CPP $CPPFLAGS'
73566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
73573 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
73574 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
73575 for ac_func in ceilf floorf
73576 do :
73577 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73578 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73579 eval as_val=\$$as_ac_var
73580 if test "x$as_val" = x""yes; then :
73581 cat >>confdefs.h <<_ACEOF
73582 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73583 _ACEOF
73586 done
73588 else
73589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
73590 $as_echo_n "checking for _float round functions... " >&6; }
73591 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
73592 $as_echo_n "(cached) " >&6
73593 else
73596 ac_ext=cpp
73597 ac_cpp='$CXXCPP $CPPFLAGS'
73598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73603 /* end confdefs.h. */
73604 #include <math.h>
73606 main ()
73608 _ceilf (0); _floorf (0);
73610 return 0;
73612 _ACEOF
73613 if ac_fn_cxx_try_compile "$LINENO"; then :
73614 glibcxx_cv_func__float_round_use=yes
73615 else
73616 glibcxx_cv_func__float_round_use=no
73618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73619 ac_ext=c
73620 ac_cpp='$CPP $CPPFLAGS'
73621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
73628 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
73629 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
73630 for ac_func in _ceilf _floorf
73631 do :
73632 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73633 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73634 eval as_val=\$$as_ac_var
73635 if test "x$as_val" = x""yes; then :
73636 cat >>confdefs.h <<_ACEOF
73637 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73638 _ACEOF
73641 done
73651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
73652 $as_echo_n "checking for expf declaration... " >&6; }
73653 if test x${glibcxx_cv_func_expf_use+set} != xset; then
73654 if test "${glibcxx_cv_func_expf_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 expf(0);
73677 return 0;
73679 _ACEOF
73680 if ac_fn_cxx_try_compile "$LINENO"; then :
73681 glibcxx_cv_func_expf_use=yes
73682 else
73683 glibcxx_cv_func_expf_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_expf_use" >&5
73697 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
73699 if test x$glibcxx_cv_func_expf_use = x"yes"; then
73700 for ac_func in expf
73701 do :
73702 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
73703 if test "x$ac_cv_func_expf" = x""yes; then :
73704 cat >>confdefs.h <<_ACEOF
73705 #define HAVE_EXPF 1
73706 _ACEOF
73709 done
73711 else
73713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
73714 $as_echo_n "checking for _expf declaration... " >&6; }
73715 if test x${glibcxx_cv_func__expf_use+set} != xset; then
73716 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
73717 $as_echo_n "(cached) " >&6
73718 else
73721 ac_ext=cpp
73722 ac_cpp='$CXXCPP $CPPFLAGS'
73723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73728 /* end confdefs.h. */
73729 #include <math.h>
73730 #ifdef HAVE_IEEEFP_H
73731 #include <ieeefp.h>
73732 #endif
73735 main ()
73737 _expf(0);
73739 return 0;
73741 _ACEOF
73742 if ac_fn_cxx_try_compile "$LINENO"; then :
73743 glibcxx_cv_func__expf_use=yes
73744 else
73745 glibcxx_cv_func__expf_use=no
73747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73748 ac_ext=c
73749 ac_cpp='$CPP $CPPFLAGS'
73750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
73759 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
73761 if test x$glibcxx_cv_func__expf_use = x"yes"; then
73762 for ac_func in _expf
73763 do :
73764 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
73765 if test "x$ac_cv_func__expf" = x""yes; then :
73766 cat >>confdefs.h <<_ACEOF
73767 #define HAVE__EXPF 1
73768 _ACEOF
73771 done
73780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
73781 $as_echo_n "checking for isnanf declaration... " >&6; }
73782 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
73783 if test "${glibcxx_cv_func_isnanf_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 isnanf(0);
73806 return 0;
73808 _ACEOF
73809 if ac_fn_cxx_try_compile "$LINENO"; then :
73810 glibcxx_cv_func_isnanf_use=yes
73811 else
73812 glibcxx_cv_func_isnanf_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_isnanf_use" >&5
73826 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
73828 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
73829 for ac_func in isnanf
73830 do :
73831 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
73832 if test "x$ac_cv_func_isnanf" = x""yes; then :
73833 cat >>confdefs.h <<_ACEOF
73834 #define HAVE_ISNANF 1
73835 _ACEOF
73838 done
73840 else
73842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
73843 $as_echo_n "checking for _isnanf declaration... " >&6; }
73844 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
73845 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
73846 $as_echo_n "(cached) " >&6
73847 else
73850 ac_ext=cpp
73851 ac_cpp='$CXXCPP $CPPFLAGS'
73852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73857 /* end confdefs.h. */
73858 #include <math.h>
73859 #ifdef HAVE_IEEEFP_H
73860 #include <ieeefp.h>
73861 #endif
73864 main ()
73866 _isnanf(0);
73868 return 0;
73870 _ACEOF
73871 if ac_fn_cxx_try_compile "$LINENO"; then :
73872 glibcxx_cv_func__isnanf_use=yes
73873 else
73874 glibcxx_cv_func__isnanf_use=no
73876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73877 ac_ext=c
73878 ac_cpp='$CPP $CPPFLAGS'
73879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
73888 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
73890 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
73891 for ac_func in _isnanf
73892 do :
73893 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
73894 if test "x$ac_cv_func__isnanf" = x""yes; then :
73895 cat >>confdefs.h <<_ACEOF
73896 #define HAVE__ISNANF 1
73897 _ACEOF
73900 done
73909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
73910 $as_echo_n "checking for isinff declaration... " >&6; }
73911 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
73912 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
73913 $as_echo_n "(cached) " >&6
73914 else
73917 ac_ext=cpp
73918 ac_cpp='$CXXCPP $CPPFLAGS'
73919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73924 /* end confdefs.h. */
73925 #include <math.h>
73926 #ifdef HAVE_IEEEFP_H
73927 #include <ieeefp.h>
73928 #endif
73931 main ()
73933 isinff(0);
73935 return 0;
73937 _ACEOF
73938 if ac_fn_cxx_try_compile "$LINENO"; then :
73939 glibcxx_cv_func_isinff_use=yes
73940 else
73941 glibcxx_cv_func_isinff_use=no
73943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73944 ac_ext=c
73945 ac_cpp='$CPP $CPPFLAGS'
73946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
73955 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
73957 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
73958 for ac_func in isinff
73959 do :
73960 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
73961 if test "x$ac_cv_func_isinff" = x""yes; then :
73962 cat >>confdefs.h <<_ACEOF
73963 #define HAVE_ISINFF 1
73964 _ACEOF
73967 done
73969 else
73971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
73972 $as_echo_n "checking for _isinff declaration... " >&6; }
73973 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
73974 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
73975 $as_echo_n "(cached) " >&6
73976 else
73979 ac_ext=cpp
73980 ac_cpp='$CXXCPP $CPPFLAGS'
73981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73986 /* end confdefs.h. */
73987 #include <math.h>
73988 #ifdef HAVE_IEEEFP_H
73989 #include <ieeefp.h>
73990 #endif
73993 main ()
73995 _isinff(0);
73997 return 0;
73999 _ACEOF
74000 if ac_fn_cxx_try_compile "$LINENO"; then :
74001 glibcxx_cv_func__isinff_use=yes
74002 else
74003 glibcxx_cv_func__isinff_use=no
74005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74006 ac_ext=c
74007 ac_cpp='$CPP $CPPFLAGS'
74008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
74017 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
74019 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
74020 for ac_func in _isinff
74021 do :
74022 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
74023 if test "x$ac_cv_func__isinff" = x""yes; then :
74024 cat >>confdefs.h <<_ACEOF
74025 #define HAVE__ISINFF 1
74026 _ACEOF
74029 done
74038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
74039 $as_echo_n "checking for atan2f declaration... " >&6; }
74040 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
74041 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
74042 $as_echo_n "(cached) " >&6
74043 else
74046 ac_ext=cpp
74047 ac_cpp='$CXXCPP $CPPFLAGS'
74048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74053 /* end confdefs.h. */
74054 #include <math.h>
74056 main ()
74058 atan2f(0, 0);
74060 return 0;
74062 _ACEOF
74063 if ac_fn_cxx_try_compile "$LINENO"; then :
74064 glibcxx_cv_func_atan2f_use=yes
74065 else
74066 glibcxx_cv_func_atan2f_use=no
74068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74069 ac_ext=c
74070 ac_cpp='$CPP $CPPFLAGS'
74071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
74080 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
74082 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
74083 for ac_func in atan2f
74084 do :
74085 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
74086 if test "x$ac_cv_func_atan2f" = x""yes; then :
74087 cat >>confdefs.h <<_ACEOF
74088 #define HAVE_ATAN2F 1
74089 _ACEOF
74092 done
74094 else
74096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
74097 $as_echo_n "checking for _atan2f declaration... " >&6; }
74098 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
74099 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
74100 $as_echo_n "(cached) " >&6
74101 else
74104 ac_ext=cpp
74105 ac_cpp='$CXXCPP $CPPFLAGS'
74106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74111 /* end confdefs.h. */
74112 #include <math.h>
74114 main ()
74116 _atan2f(0, 0);
74118 return 0;
74120 _ACEOF
74121 if ac_fn_cxx_try_compile "$LINENO"; then :
74122 glibcxx_cv_func__atan2f_use=yes
74123 else
74124 glibcxx_cv_func__atan2f_use=no
74126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74127 ac_ext=c
74128 ac_cpp='$CPP $CPPFLAGS'
74129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
74138 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
74140 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
74141 for ac_func in _atan2f
74142 do :
74143 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
74144 if test "x$ac_cv_func__atan2f" = x""yes; then :
74145 cat >>confdefs.h <<_ACEOF
74146 #define HAVE__ATAN2F 1
74147 _ACEOF
74150 done
74159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
74160 $as_echo_n "checking for fabsf declaration... " >&6; }
74161 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
74162 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
74163 $as_echo_n "(cached) " >&6
74164 else
74167 ac_ext=cpp
74168 ac_cpp='$CXXCPP $CPPFLAGS'
74169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74174 /* end confdefs.h. */
74175 #include <math.h>
74176 #ifdef HAVE_IEEEFP_H
74177 #include <ieeefp.h>
74178 #endif
74181 main ()
74183 fabsf(0);
74185 return 0;
74187 _ACEOF
74188 if ac_fn_cxx_try_compile "$LINENO"; then :
74189 glibcxx_cv_func_fabsf_use=yes
74190 else
74191 glibcxx_cv_func_fabsf_use=no
74193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74194 ac_ext=c
74195 ac_cpp='$CPP $CPPFLAGS'
74196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
74205 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
74207 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
74208 for ac_func in fabsf
74209 do :
74210 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
74211 if test "x$ac_cv_func_fabsf" = x""yes; then :
74212 cat >>confdefs.h <<_ACEOF
74213 #define HAVE_FABSF 1
74214 _ACEOF
74217 done
74219 else
74221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
74222 $as_echo_n "checking for _fabsf declaration... " >&6; }
74223 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
74224 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
74225 $as_echo_n "(cached) " >&6
74226 else
74229 ac_ext=cpp
74230 ac_cpp='$CXXCPP $CPPFLAGS'
74231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74236 /* end confdefs.h. */
74237 #include <math.h>
74238 #ifdef HAVE_IEEEFP_H
74239 #include <ieeefp.h>
74240 #endif
74243 main ()
74245 _fabsf(0);
74247 return 0;
74249 _ACEOF
74250 if ac_fn_cxx_try_compile "$LINENO"; then :
74251 glibcxx_cv_func__fabsf_use=yes
74252 else
74253 glibcxx_cv_func__fabsf_use=no
74255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74256 ac_ext=c
74257 ac_cpp='$CPP $CPPFLAGS'
74258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
74267 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
74269 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
74270 for ac_func in _fabsf
74271 do :
74272 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
74273 if test "x$ac_cv_func__fabsf" = x""yes; then :
74274 cat >>confdefs.h <<_ACEOF
74275 #define HAVE__FABSF 1
74276 _ACEOF
74279 done
74288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
74289 $as_echo_n "checking for fmodf declaration... " >&6; }
74290 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
74291 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
74292 $as_echo_n "(cached) " >&6
74293 else
74296 ac_ext=cpp
74297 ac_cpp='$CXXCPP $CPPFLAGS'
74298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74303 /* end confdefs.h. */
74304 #include <math.h>
74306 main ()
74308 fmodf(0, 0);
74310 return 0;
74312 _ACEOF
74313 if ac_fn_cxx_try_compile "$LINENO"; then :
74314 glibcxx_cv_func_fmodf_use=yes
74315 else
74316 glibcxx_cv_func_fmodf_use=no
74318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74319 ac_ext=c
74320 ac_cpp='$CPP $CPPFLAGS'
74321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
74330 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
74332 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
74333 for ac_func in fmodf
74334 do :
74335 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
74336 if test "x$ac_cv_func_fmodf" = x""yes; then :
74337 cat >>confdefs.h <<_ACEOF
74338 #define HAVE_FMODF 1
74339 _ACEOF
74342 done
74344 else
74346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
74347 $as_echo_n "checking for _fmodf declaration... " >&6; }
74348 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
74349 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
74350 $as_echo_n "(cached) " >&6
74351 else
74354 ac_ext=cpp
74355 ac_cpp='$CXXCPP $CPPFLAGS'
74356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74361 /* end confdefs.h. */
74362 #include <math.h>
74364 main ()
74366 _fmodf(0, 0);
74368 return 0;
74370 _ACEOF
74371 if ac_fn_cxx_try_compile "$LINENO"; then :
74372 glibcxx_cv_func__fmodf_use=yes
74373 else
74374 glibcxx_cv_func__fmodf_use=no
74376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74377 ac_ext=c
74378 ac_cpp='$CPP $CPPFLAGS'
74379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
74388 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
74390 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
74391 for ac_func in _fmodf
74392 do :
74393 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
74394 if test "x$ac_cv_func__fmodf" = x""yes; then :
74395 cat >>confdefs.h <<_ACEOF
74396 #define HAVE__FMODF 1
74397 _ACEOF
74400 done
74409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
74410 $as_echo_n "checking for frexpf declaration... " >&6; }
74411 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
74412 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
74413 $as_echo_n "(cached) " >&6
74414 else
74417 ac_ext=cpp
74418 ac_cpp='$CXXCPP $CPPFLAGS'
74419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74424 /* end confdefs.h. */
74425 #include <math.h>
74427 main ()
74429 frexpf(0, 0);
74431 return 0;
74433 _ACEOF
74434 if ac_fn_cxx_try_compile "$LINENO"; then :
74435 glibcxx_cv_func_frexpf_use=yes
74436 else
74437 glibcxx_cv_func_frexpf_use=no
74439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74440 ac_ext=c
74441 ac_cpp='$CPP $CPPFLAGS'
74442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
74451 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
74453 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
74454 for ac_func in frexpf
74455 do :
74456 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
74457 if test "x$ac_cv_func_frexpf" = x""yes; then :
74458 cat >>confdefs.h <<_ACEOF
74459 #define HAVE_FREXPF 1
74460 _ACEOF
74463 done
74465 else
74467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
74468 $as_echo_n "checking for _frexpf declaration... " >&6; }
74469 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
74470 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
74471 $as_echo_n "(cached) " >&6
74472 else
74475 ac_ext=cpp
74476 ac_cpp='$CXXCPP $CPPFLAGS'
74477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74482 /* end confdefs.h. */
74483 #include <math.h>
74485 main ()
74487 _frexpf(0, 0);
74489 return 0;
74491 _ACEOF
74492 if ac_fn_cxx_try_compile "$LINENO"; then :
74493 glibcxx_cv_func__frexpf_use=yes
74494 else
74495 glibcxx_cv_func__frexpf_use=no
74497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74498 ac_ext=c
74499 ac_cpp='$CPP $CPPFLAGS'
74500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
74509 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
74511 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
74512 for ac_func in _frexpf
74513 do :
74514 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
74515 if test "x$ac_cv_func__frexpf" = x""yes; then :
74516 cat >>confdefs.h <<_ACEOF
74517 #define HAVE__FREXPF 1
74518 _ACEOF
74521 done
74530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
74531 $as_echo_n "checking for hypotf declaration... " >&6; }
74532 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
74533 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
74534 $as_echo_n "(cached) " >&6
74535 else
74538 ac_ext=cpp
74539 ac_cpp='$CXXCPP $CPPFLAGS'
74540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74545 /* end confdefs.h. */
74546 #include <math.h>
74548 main ()
74550 hypotf(0, 0);
74552 return 0;
74554 _ACEOF
74555 if ac_fn_cxx_try_compile "$LINENO"; then :
74556 glibcxx_cv_func_hypotf_use=yes
74557 else
74558 glibcxx_cv_func_hypotf_use=no
74560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74561 ac_ext=c
74562 ac_cpp='$CPP $CPPFLAGS'
74563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
74572 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
74574 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
74575 for ac_func in hypotf
74576 do :
74577 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
74578 if test "x$ac_cv_func_hypotf" = x""yes; then :
74579 cat >>confdefs.h <<_ACEOF
74580 #define HAVE_HYPOTF 1
74581 _ACEOF
74584 done
74586 else
74588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
74589 $as_echo_n "checking for _hypotf declaration... " >&6; }
74590 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
74591 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
74592 $as_echo_n "(cached) " >&6
74593 else
74596 ac_ext=cpp
74597 ac_cpp='$CXXCPP $CPPFLAGS'
74598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74603 /* end confdefs.h. */
74604 #include <math.h>
74606 main ()
74608 _hypotf(0, 0);
74610 return 0;
74612 _ACEOF
74613 if ac_fn_cxx_try_compile "$LINENO"; then :
74614 glibcxx_cv_func__hypotf_use=yes
74615 else
74616 glibcxx_cv_func__hypotf_use=no
74618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74619 ac_ext=c
74620 ac_cpp='$CPP $CPPFLAGS'
74621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
74630 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
74632 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
74633 for ac_func in _hypotf
74634 do :
74635 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
74636 if test "x$ac_cv_func__hypotf" = x""yes; then :
74637 cat >>confdefs.h <<_ACEOF
74638 #define HAVE__HYPOTF 1
74639 _ACEOF
74642 done
74651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
74652 $as_echo_n "checking for ldexpf declaration... " >&6; }
74653 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
74654 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
74655 $as_echo_n "(cached) " >&6
74656 else
74659 ac_ext=cpp
74660 ac_cpp='$CXXCPP $CPPFLAGS'
74661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74666 /* end confdefs.h. */
74667 #include <math.h>
74669 main ()
74671 ldexpf(0, 0);
74673 return 0;
74675 _ACEOF
74676 if ac_fn_cxx_try_compile "$LINENO"; then :
74677 glibcxx_cv_func_ldexpf_use=yes
74678 else
74679 glibcxx_cv_func_ldexpf_use=no
74681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74682 ac_ext=c
74683 ac_cpp='$CPP $CPPFLAGS'
74684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
74693 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
74695 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
74696 for ac_func in ldexpf
74697 do :
74698 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
74699 if test "x$ac_cv_func_ldexpf" = x""yes; then :
74700 cat >>confdefs.h <<_ACEOF
74701 #define HAVE_LDEXPF 1
74702 _ACEOF
74705 done
74707 else
74709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
74710 $as_echo_n "checking for _ldexpf declaration... " >&6; }
74711 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
74712 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
74713 $as_echo_n "(cached) " >&6
74714 else
74717 ac_ext=cpp
74718 ac_cpp='$CXXCPP $CPPFLAGS'
74719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74724 /* end confdefs.h. */
74725 #include <math.h>
74727 main ()
74729 _ldexpf(0, 0);
74731 return 0;
74733 _ACEOF
74734 if ac_fn_cxx_try_compile "$LINENO"; then :
74735 glibcxx_cv_func__ldexpf_use=yes
74736 else
74737 glibcxx_cv_func__ldexpf_use=no
74739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74740 ac_ext=c
74741 ac_cpp='$CPP $CPPFLAGS'
74742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
74751 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
74753 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
74754 for ac_func in _ldexpf
74755 do :
74756 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
74757 if test "x$ac_cv_func__ldexpf" = x""yes; then :
74758 cat >>confdefs.h <<_ACEOF
74759 #define HAVE__LDEXPF 1
74760 _ACEOF
74763 done
74772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
74773 $as_echo_n "checking for logf declaration... " >&6; }
74774 if test x${glibcxx_cv_func_logf_use+set} != xset; then
74775 if test "${glibcxx_cv_func_logf_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 logf(0);
74798 return 0;
74800 _ACEOF
74801 if ac_fn_cxx_try_compile "$LINENO"; then :
74802 glibcxx_cv_func_logf_use=yes
74803 else
74804 glibcxx_cv_func_logf_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_logf_use" >&5
74818 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
74820 if test x$glibcxx_cv_func_logf_use = x"yes"; then
74821 for ac_func in logf
74822 do :
74823 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
74824 if test "x$ac_cv_func_logf" = x""yes; then :
74825 cat >>confdefs.h <<_ACEOF
74826 #define HAVE_LOGF 1
74827 _ACEOF
74830 done
74832 else
74834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
74835 $as_echo_n "checking for _logf declaration... " >&6; }
74836 if test x${glibcxx_cv_func__logf_use+set} != xset; then
74837 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
74838 $as_echo_n "(cached) " >&6
74839 else
74842 ac_ext=cpp
74843 ac_cpp='$CXXCPP $CPPFLAGS'
74844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74849 /* end confdefs.h. */
74850 #include <math.h>
74851 #ifdef HAVE_IEEEFP_H
74852 #include <ieeefp.h>
74853 #endif
74856 main ()
74858 _logf(0);
74860 return 0;
74862 _ACEOF
74863 if ac_fn_cxx_try_compile "$LINENO"; then :
74864 glibcxx_cv_func__logf_use=yes
74865 else
74866 glibcxx_cv_func__logf_use=no
74868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74869 ac_ext=c
74870 ac_cpp='$CPP $CPPFLAGS'
74871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
74880 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
74882 if test x$glibcxx_cv_func__logf_use = x"yes"; then
74883 for ac_func in _logf
74884 do :
74885 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
74886 if test "x$ac_cv_func__logf" = x""yes; then :
74887 cat >>confdefs.h <<_ACEOF
74888 #define HAVE__LOGF 1
74889 _ACEOF
74892 done
74901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
74902 $as_echo_n "checking for log10f declaration... " >&6; }
74903 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
74904 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
74905 $as_echo_n "(cached) " >&6
74906 else
74909 ac_ext=cpp
74910 ac_cpp='$CXXCPP $CPPFLAGS'
74911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74916 /* end confdefs.h. */
74917 #include <math.h>
74918 #ifdef HAVE_IEEEFP_H
74919 #include <ieeefp.h>
74920 #endif
74923 main ()
74925 log10f(0);
74927 return 0;
74929 _ACEOF
74930 if ac_fn_cxx_try_compile "$LINENO"; then :
74931 glibcxx_cv_func_log10f_use=yes
74932 else
74933 glibcxx_cv_func_log10f_use=no
74935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74936 ac_ext=c
74937 ac_cpp='$CPP $CPPFLAGS'
74938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
74947 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
74949 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
74950 for ac_func in log10f
74951 do :
74952 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
74953 if test "x$ac_cv_func_log10f" = x""yes; then :
74954 cat >>confdefs.h <<_ACEOF
74955 #define HAVE_LOG10F 1
74956 _ACEOF
74959 done
74961 else
74963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
74964 $as_echo_n "checking for _log10f declaration... " >&6; }
74965 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
74966 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
74967 $as_echo_n "(cached) " >&6
74968 else
74971 ac_ext=cpp
74972 ac_cpp='$CXXCPP $CPPFLAGS'
74973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74978 /* end confdefs.h. */
74979 #include <math.h>
74980 #ifdef HAVE_IEEEFP_H
74981 #include <ieeefp.h>
74982 #endif
74985 main ()
74987 _log10f(0);
74989 return 0;
74991 _ACEOF
74992 if ac_fn_cxx_try_compile "$LINENO"; then :
74993 glibcxx_cv_func__log10f_use=yes
74994 else
74995 glibcxx_cv_func__log10f_use=no
74997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74998 ac_ext=c
74999 ac_cpp='$CPP $CPPFLAGS'
75000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
75009 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
75011 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
75012 for ac_func in _log10f
75013 do :
75014 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
75015 if test "x$ac_cv_func__log10f" = x""yes; then :
75016 cat >>confdefs.h <<_ACEOF
75017 #define HAVE__LOG10F 1
75018 _ACEOF
75021 done
75030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
75031 $as_echo_n "checking for modff declaration... " >&6; }
75032 if test x${glibcxx_cv_func_modff_use+set} != xset; then
75033 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
75034 $as_echo_n "(cached) " >&6
75035 else
75038 ac_ext=cpp
75039 ac_cpp='$CXXCPP $CPPFLAGS'
75040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75045 /* end confdefs.h. */
75046 #include <math.h>
75048 main ()
75050 modff(0, 0);
75052 return 0;
75054 _ACEOF
75055 if ac_fn_cxx_try_compile "$LINENO"; then :
75056 glibcxx_cv_func_modff_use=yes
75057 else
75058 glibcxx_cv_func_modff_use=no
75060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75061 ac_ext=c
75062 ac_cpp='$CPP $CPPFLAGS'
75063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
75072 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
75074 if test x$glibcxx_cv_func_modff_use = x"yes"; then
75075 for ac_func in modff
75076 do :
75077 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
75078 if test "x$ac_cv_func_modff" = x""yes; then :
75079 cat >>confdefs.h <<_ACEOF
75080 #define HAVE_MODFF 1
75081 _ACEOF
75084 done
75086 else
75088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
75089 $as_echo_n "checking for _modff declaration... " >&6; }
75090 if test x${glibcxx_cv_func__modff_use+set} != xset; then
75091 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
75092 $as_echo_n "(cached) " >&6
75093 else
75096 ac_ext=cpp
75097 ac_cpp='$CXXCPP $CPPFLAGS'
75098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75103 /* end confdefs.h. */
75104 #include <math.h>
75106 main ()
75108 _modff(0, 0);
75110 return 0;
75112 _ACEOF
75113 if ac_fn_cxx_try_compile "$LINENO"; then :
75114 glibcxx_cv_func__modff_use=yes
75115 else
75116 glibcxx_cv_func__modff_use=no
75118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75119 ac_ext=c
75120 ac_cpp='$CPP $CPPFLAGS'
75121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
75130 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
75132 if test x$glibcxx_cv_func__modff_use = x"yes"; then
75133 for ac_func in _modff
75134 do :
75135 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
75136 if test "x$ac_cv_func__modff" = x""yes; then :
75137 cat >>confdefs.h <<_ACEOF
75138 #define HAVE__MODFF 1
75139 _ACEOF
75142 done
75151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
75152 $as_echo_n "checking for modf declaration... " >&6; }
75153 if test x${glibcxx_cv_func_modf_use+set} != xset; then
75154 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
75155 $as_echo_n "(cached) " >&6
75156 else
75159 ac_ext=cpp
75160 ac_cpp='$CXXCPP $CPPFLAGS'
75161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75166 /* end confdefs.h. */
75167 #include <math.h>
75169 main ()
75171 modf(0, 0);
75173 return 0;
75175 _ACEOF
75176 if ac_fn_cxx_try_compile "$LINENO"; then :
75177 glibcxx_cv_func_modf_use=yes
75178 else
75179 glibcxx_cv_func_modf_use=no
75181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75182 ac_ext=c
75183 ac_cpp='$CPP $CPPFLAGS'
75184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
75193 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
75195 if test x$glibcxx_cv_func_modf_use = x"yes"; then
75196 for ac_func in modf
75197 do :
75198 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
75199 if test "x$ac_cv_func_modf" = x""yes; then :
75200 cat >>confdefs.h <<_ACEOF
75201 #define HAVE_MODF 1
75202 _ACEOF
75205 done
75207 else
75209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
75210 $as_echo_n "checking for _modf declaration... " >&6; }
75211 if test x${glibcxx_cv_func__modf_use+set} != xset; then
75212 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
75213 $as_echo_n "(cached) " >&6
75214 else
75217 ac_ext=cpp
75218 ac_cpp='$CXXCPP $CPPFLAGS'
75219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75224 /* end confdefs.h. */
75225 #include <math.h>
75227 main ()
75229 _modf(0, 0);
75231 return 0;
75233 _ACEOF
75234 if ac_fn_cxx_try_compile "$LINENO"; then :
75235 glibcxx_cv_func__modf_use=yes
75236 else
75237 glibcxx_cv_func__modf_use=no
75239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75240 ac_ext=c
75241 ac_cpp='$CPP $CPPFLAGS'
75242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
75251 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
75253 if test x$glibcxx_cv_func__modf_use = x"yes"; then
75254 for ac_func in _modf
75255 do :
75256 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
75257 if test "x$ac_cv_func__modf" = x""yes; then :
75258 cat >>confdefs.h <<_ACEOF
75259 #define HAVE__MODF 1
75260 _ACEOF
75263 done
75272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
75273 $as_echo_n "checking for powf declaration... " >&6; }
75274 if test x${glibcxx_cv_func_powf_use+set} != xset; then
75275 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
75276 $as_echo_n "(cached) " >&6
75277 else
75280 ac_ext=cpp
75281 ac_cpp='$CXXCPP $CPPFLAGS'
75282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75287 /* end confdefs.h. */
75288 #include <math.h>
75290 main ()
75292 powf(0, 0);
75294 return 0;
75296 _ACEOF
75297 if ac_fn_cxx_try_compile "$LINENO"; then :
75298 glibcxx_cv_func_powf_use=yes
75299 else
75300 glibcxx_cv_func_powf_use=no
75302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75303 ac_ext=c
75304 ac_cpp='$CPP $CPPFLAGS'
75305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
75314 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
75316 if test x$glibcxx_cv_func_powf_use = x"yes"; then
75317 for ac_func in powf
75318 do :
75319 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
75320 if test "x$ac_cv_func_powf" = x""yes; then :
75321 cat >>confdefs.h <<_ACEOF
75322 #define HAVE_POWF 1
75323 _ACEOF
75326 done
75328 else
75330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
75331 $as_echo_n "checking for _powf declaration... " >&6; }
75332 if test x${glibcxx_cv_func__powf_use+set} != xset; then
75333 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
75334 $as_echo_n "(cached) " >&6
75335 else
75338 ac_ext=cpp
75339 ac_cpp='$CXXCPP $CPPFLAGS'
75340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75345 /* end confdefs.h. */
75346 #include <math.h>
75348 main ()
75350 _powf(0, 0);
75352 return 0;
75354 _ACEOF
75355 if ac_fn_cxx_try_compile "$LINENO"; then :
75356 glibcxx_cv_func__powf_use=yes
75357 else
75358 glibcxx_cv_func__powf_use=no
75360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75361 ac_ext=c
75362 ac_cpp='$CPP $CPPFLAGS'
75363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
75372 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
75374 if test x$glibcxx_cv_func__powf_use = x"yes"; then
75375 for ac_func in _powf
75376 do :
75377 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
75378 if test "x$ac_cv_func__powf" = x""yes; then :
75379 cat >>confdefs.h <<_ACEOF
75380 #define HAVE__POWF 1
75381 _ACEOF
75384 done
75393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
75394 $as_echo_n "checking for sqrtf declaration... " >&6; }
75395 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
75396 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
75397 $as_echo_n "(cached) " >&6
75398 else
75401 ac_ext=cpp
75402 ac_cpp='$CXXCPP $CPPFLAGS'
75403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75408 /* end confdefs.h. */
75409 #include <math.h>
75410 #ifdef HAVE_IEEEFP_H
75411 #include <ieeefp.h>
75412 #endif
75415 main ()
75417 sqrtf(0);
75419 return 0;
75421 _ACEOF
75422 if ac_fn_cxx_try_compile "$LINENO"; then :
75423 glibcxx_cv_func_sqrtf_use=yes
75424 else
75425 glibcxx_cv_func_sqrtf_use=no
75427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75428 ac_ext=c
75429 ac_cpp='$CPP $CPPFLAGS'
75430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
75439 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
75441 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
75442 for ac_func in sqrtf
75443 do :
75444 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
75445 if test "x$ac_cv_func_sqrtf" = x""yes; then :
75446 cat >>confdefs.h <<_ACEOF
75447 #define HAVE_SQRTF 1
75448 _ACEOF
75451 done
75453 else
75455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
75456 $as_echo_n "checking for _sqrtf declaration... " >&6; }
75457 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
75458 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
75459 $as_echo_n "(cached) " >&6
75460 else
75463 ac_ext=cpp
75464 ac_cpp='$CXXCPP $CPPFLAGS'
75465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75470 /* end confdefs.h. */
75471 #include <math.h>
75472 #ifdef HAVE_IEEEFP_H
75473 #include <ieeefp.h>
75474 #endif
75477 main ()
75479 _sqrtf(0);
75481 return 0;
75483 _ACEOF
75484 if ac_fn_cxx_try_compile "$LINENO"; then :
75485 glibcxx_cv_func__sqrtf_use=yes
75486 else
75487 glibcxx_cv_func__sqrtf_use=no
75489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75490 ac_ext=c
75491 ac_cpp='$CPP $CPPFLAGS'
75492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
75501 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
75503 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
75504 for ac_func in _sqrtf
75505 do :
75506 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
75507 if test "x$ac_cv_func__sqrtf" = x""yes; then :
75508 cat >>confdefs.h <<_ACEOF
75509 #define HAVE__SQRTF 1
75510 _ACEOF
75513 done
75522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
75523 $as_echo_n "checking for sincosf declaration... " >&6; }
75524 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
75525 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
75526 $as_echo_n "(cached) " >&6
75527 else
75530 ac_ext=cpp
75531 ac_cpp='$CXXCPP $CPPFLAGS'
75532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75537 /* end confdefs.h. */
75538 #include <math.h>
75540 main ()
75542 sincosf(0, 0, 0);
75544 return 0;
75546 _ACEOF
75547 if ac_fn_cxx_try_compile "$LINENO"; then :
75548 glibcxx_cv_func_sincosf_use=yes
75549 else
75550 glibcxx_cv_func_sincosf_use=no
75552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75553 ac_ext=c
75554 ac_cpp='$CPP $CPPFLAGS'
75555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
75564 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
75566 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
75567 for ac_func in sincosf
75568 do :
75569 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
75570 if test "x$ac_cv_func_sincosf" = x""yes; then :
75571 cat >>confdefs.h <<_ACEOF
75572 #define HAVE_SINCOSF 1
75573 _ACEOF
75576 done
75578 else
75580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
75581 $as_echo_n "checking for _sincosf declaration... " >&6; }
75582 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
75583 if test "${glibcxx_cv_func__sincosf_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 _sincosf(0, 0, 0);
75602 return 0;
75604 _ACEOF
75605 if ac_fn_cxx_try_compile "$LINENO"; then :
75606 glibcxx_cv_func__sincosf_use=yes
75607 else
75608 glibcxx_cv_func__sincosf_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
75621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
75622 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
75624 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
75625 for ac_func in _sincosf
75626 do :
75627 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
75628 if test "x$ac_cv_func__sincosf" = x""yes; then :
75629 cat >>confdefs.h <<_ACEOF
75630 #define HAVE__SINCOSF 1
75631 _ACEOF
75634 done
75643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
75644 $as_echo_n "checking for finitef declaration... " >&6; }
75645 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
75646 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
75647 $as_echo_n "(cached) " >&6
75648 else
75651 ac_ext=cpp
75652 ac_cpp='$CXXCPP $CPPFLAGS'
75653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75658 /* end confdefs.h. */
75659 #include <math.h>
75660 #ifdef HAVE_IEEEFP_H
75661 #include <ieeefp.h>
75662 #endif
75665 main ()
75667 finitef(0);
75669 return 0;
75671 _ACEOF
75672 if ac_fn_cxx_try_compile "$LINENO"; then :
75673 glibcxx_cv_func_finitef_use=yes
75674 else
75675 glibcxx_cv_func_finitef_use=no
75677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75678 ac_ext=c
75679 ac_cpp='$CPP $CPPFLAGS'
75680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
75689 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
75691 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
75692 for ac_func in finitef
75693 do :
75694 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
75695 if test "x$ac_cv_func_finitef" = x""yes; then :
75696 cat >>confdefs.h <<_ACEOF
75697 #define HAVE_FINITEF 1
75698 _ACEOF
75701 done
75703 else
75705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
75706 $as_echo_n "checking for _finitef declaration... " >&6; }
75707 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
75708 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
75709 $as_echo_n "(cached) " >&6
75710 else
75713 ac_ext=cpp
75714 ac_cpp='$CXXCPP $CPPFLAGS'
75715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75720 /* end confdefs.h. */
75721 #include <math.h>
75722 #ifdef HAVE_IEEEFP_H
75723 #include <ieeefp.h>
75724 #endif
75727 main ()
75729 _finitef(0);
75731 return 0;
75733 _ACEOF
75734 if ac_fn_cxx_try_compile "$LINENO"; then :
75735 glibcxx_cv_func__finitef_use=yes
75736 else
75737 glibcxx_cv_func__finitef_use=no
75739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75740 ac_ext=c
75741 ac_cpp='$CPP $CPPFLAGS'
75742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
75751 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
75753 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
75754 for ac_func in _finitef
75755 do :
75756 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
75757 if test "x$ac_cv_func__finitef" = x""yes; then :
75758 cat >>confdefs.h <<_ACEOF
75759 #define HAVE__FINITEF 1
75760 _ACEOF
75763 done
75772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
75773 $as_echo_n "checking for long double trig functions... " >&6; }
75774 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
75775 $as_echo_n "(cached) " >&6
75776 else
75779 ac_ext=cpp
75780 ac_cpp='$CXXCPP $CPPFLAGS'
75781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75786 /* end confdefs.h. */
75787 #include <math.h>
75789 main ()
75791 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
75793 return 0;
75795 _ACEOF
75796 if ac_fn_cxx_try_compile "$LINENO"; then :
75797 glibcxx_cv_func_long_double_trig_use=yes
75798 else
75799 glibcxx_cv_func_long_double_trig_use=no
75801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75802 ac_ext=c
75803 ac_cpp='$CPP $CPPFLAGS'
75804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
75811 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
75812 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
75813 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
75814 do :
75815 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75816 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75817 eval as_val=\$$as_ac_var
75818 if test "x$as_val" = x""yes; then :
75819 cat >>confdefs.h <<_ACEOF
75820 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75821 _ACEOF
75824 done
75826 else
75827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
75828 $as_echo_n "checking for _long double trig functions... " >&6; }
75829 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
75830 $as_echo_n "(cached) " >&6
75831 else
75834 ac_ext=cpp
75835 ac_cpp='$CXXCPP $CPPFLAGS'
75836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75841 /* end confdefs.h. */
75842 #include <math.h>
75844 main ()
75846 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
75848 return 0;
75850 _ACEOF
75851 if ac_fn_cxx_try_compile "$LINENO"; then :
75852 glibcxx_cv_func__long_double_trig_use=yes
75853 else
75854 glibcxx_cv_func__long_double_trig_use=no
75856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75857 ac_ext=c
75858 ac_cpp='$CPP $CPPFLAGS'
75859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
75866 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
75867 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
75868 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
75869 do :
75870 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75871 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75872 eval as_val=\$$as_ac_var
75873 if test "x$as_val" = x""yes; then :
75874 cat >>confdefs.h <<_ACEOF
75875 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75876 _ACEOF
75879 done
75888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
75889 $as_echo_n "checking for long double round functions... " >&6; }
75890 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
75891 $as_echo_n "(cached) " >&6
75892 else
75895 ac_ext=cpp
75896 ac_cpp='$CXXCPP $CPPFLAGS'
75897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75902 /* end confdefs.h. */
75903 #include <math.h>
75905 main ()
75907 ceill (0); floorl (0);
75909 return 0;
75911 _ACEOF
75912 if ac_fn_cxx_try_compile "$LINENO"; then :
75913 glibcxx_cv_func_long_double_round_use=yes
75914 else
75915 glibcxx_cv_func_long_double_round_use=no
75917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75918 ac_ext=c
75919 ac_cpp='$CPP $CPPFLAGS'
75920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
75927 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
75928 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
75929 for ac_func in ceill floorl
75930 do :
75931 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75932 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75933 eval as_val=\$$as_ac_var
75934 if test "x$as_val" = x""yes; then :
75935 cat >>confdefs.h <<_ACEOF
75936 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75937 _ACEOF
75940 done
75942 else
75943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
75944 $as_echo_n "checking for _long double round functions... " >&6; }
75945 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
75946 $as_echo_n "(cached) " >&6
75947 else
75950 ac_ext=cpp
75951 ac_cpp='$CXXCPP $CPPFLAGS'
75952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75957 /* end confdefs.h. */
75958 #include <math.h>
75960 main ()
75962 _ceill (0); _floorl (0);
75964 return 0;
75966 _ACEOF
75967 if ac_fn_cxx_try_compile "$LINENO"; then :
75968 glibcxx_cv_func__long_double_round_use=yes
75969 else
75970 glibcxx_cv_func__long_double_round_use=no
75972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75973 ac_ext=c
75974 ac_cpp='$CPP $CPPFLAGS'
75975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
75982 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
75983 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
75984 for ac_func in _ceill _floorl
75985 do :
75986 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75987 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75988 eval as_val=\$$as_ac_var
75989 if test "x$as_val" = x""yes; then :
75990 cat >>confdefs.h <<_ACEOF
75991 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75992 _ACEOF
75995 done
76005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
76006 $as_echo_n "checking for isnanl declaration... " >&6; }
76007 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
76008 if test "${glibcxx_cv_func_isnanl_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 isnanl(0);
76031 return 0;
76033 _ACEOF
76034 if ac_fn_cxx_try_compile "$LINENO"; then :
76035 glibcxx_cv_func_isnanl_use=yes
76036 else
76037 glibcxx_cv_func_isnanl_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_isnanl_use" >&5
76051 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
76053 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
76054 for ac_func in isnanl
76055 do :
76056 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
76057 if test "x$ac_cv_func_isnanl" = x""yes; then :
76058 cat >>confdefs.h <<_ACEOF
76059 #define HAVE_ISNANL 1
76060 _ACEOF
76063 done
76065 else
76067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
76068 $as_echo_n "checking for _isnanl declaration... " >&6; }
76069 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
76070 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
76071 $as_echo_n "(cached) " >&6
76072 else
76075 ac_ext=cpp
76076 ac_cpp='$CXXCPP $CPPFLAGS'
76077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76082 /* end confdefs.h. */
76083 #include <math.h>
76084 #ifdef HAVE_IEEEFP_H
76085 #include <ieeefp.h>
76086 #endif
76089 main ()
76091 _isnanl(0);
76093 return 0;
76095 _ACEOF
76096 if ac_fn_cxx_try_compile "$LINENO"; then :
76097 glibcxx_cv_func__isnanl_use=yes
76098 else
76099 glibcxx_cv_func__isnanl_use=no
76101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76102 ac_ext=c
76103 ac_cpp='$CPP $CPPFLAGS'
76104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
76113 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
76115 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
76116 for ac_func in _isnanl
76117 do :
76118 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
76119 if test "x$ac_cv_func__isnanl" = x""yes; then :
76120 cat >>confdefs.h <<_ACEOF
76121 #define HAVE__ISNANL 1
76122 _ACEOF
76125 done
76134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
76135 $as_echo_n "checking for isinfl declaration... " >&6; }
76136 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
76137 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
76138 $as_echo_n "(cached) " >&6
76139 else
76142 ac_ext=cpp
76143 ac_cpp='$CXXCPP $CPPFLAGS'
76144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76149 /* end confdefs.h. */
76150 #include <math.h>
76151 #ifdef HAVE_IEEEFP_H
76152 #include <ieeefp.h>
76153 #endif
76156 main ()
76158 isinfl(0);
76160 return 0;
76162 _ACEOF
76163 if ac_fn_cxx_try_compile "$LINENO"; then :
76164 glibcxx_cv_func_isinfl_use=yes
76165 else
76166 glibcxx_cv_func_isinfl_use=no
76168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76169 ac_ext=c
76170 ac_cpp='$CPP $CPPFLAGS'
76171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
76180 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
76182 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
76183 for ac_func in isinfl
76184 do :
76185 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
76186 if test "x$ac_cv_func_isinfl" = x""yes; then :
76187 cat >>confdefs.h <<_ACEOF
76188 #define HAVE_ISINFL 1
76189 _ACEOF
76192 done
76194 else
76196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
76197 $as_echo_n "checking for _isinfl declaration... " >&6; }
76198 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
76199 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
76200 $as_echo_n "(cached) " >&6
76201 else
76204 ac_ext=cpp
76205 ac_cpp='$CXXCPP $CPPFLAGS'
76206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76211 /* end confdefs.h. */
76212 #include <math.h>
76213 #ifdef HAVE_IEEEFP_H
76214 #include <ieeefp.h>
76215 #endif
76218 main ()
76220 _isinfl(0);
76222 return 0;
76224 _ACEOF
76225 if ac_fn_cxx_try_compile "$LINENO"; then :
76226 glibcxx_cv_func__isinfl_use=yes
76227 else
76228 glibcxx_cv_func__isinfl_use=no
76230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76231 ac_ext=c
76232 ac_cpp='$CPP $CPPFLAGS'
76233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
76242 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
76244 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76245 for ac_func in _isinfl
76246 do :
76247 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
76248 if test "x$ac_cv_func__isinfl" = x""yes; then :
76249 cat >>confdefs.h <<_ACEOF
76250 #define HAVE__ISINFL 1
76251 _ACEOF
76254 done
76263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
76264 $as_echo_n "checking for atan2l declaration... " >&6; }
76265 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76266 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
76267 $as_echo_n "(cached) " >&6
76268 else
76271 ac_ext=cpp
76272 ac_cpp='$CXXCPP $CPPFLAGS'
76273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76278 /* end confdefs.h. */
76279 #include <math.h>
76281 main ()
76283 atan2l(0, 0);
76285 return 0;
76287 _ACEOF
76288 if ac_fn_cxx_try_compile "$LINENO"; then :
76289 glibcxx_cv_func_atan2l_use=yes
76290 else
76291 glibcxx_cv_func_atan2l_use=no
76293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76294 ac_ext=c
76295 ac_cpp='$CPP $CPPFLAGS'
76296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
76305 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
76307 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76308 for ac_func in atan2l
76309 do :
76310 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
76311 if test "x$ac_cv_func_atan2l" = x""yes; then :
76312 cat >>confdefs.h <<_ACEOF
76313 #define HAVE_ATAN2L 1
76314 _ACEOF
76317 done
76319 else
76321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
76322 $as_echo_n "checking for _atan2l declaration... " >&6; }
76323 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76324 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
76325 $as_echo_n "(cached) " >&6
76326 else
76329 ac_ext=cpp
76330 ac_cpp='$CXXCPP $CPPFLAGS'
76331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76336 /* end confdefs.h. */
76337 #include <math.h>
76339 main ()
76341 _atan2l(0, 0);
76343 return 0;
76345 _ACEOF
76346 if ac_fn_cxx_try_compile "$LINENO"; then :
76347 glibcxx_cv_func__atan2l_use=yes
76348 else
76349 glibcxx_cv_func__atan2l_use=no
76351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76352 ac_ext=c
76353 ac_cpp='$CPP $CPPFLAGS'
76354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
76363 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
76365 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76366 for ac_func in _atan2l
76367 do :
76368 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
76369 if test "x$ac_cv_func__atan2l" = x""yes; then :
76370 cat >>confdefs.h <<_ACEOF
76371 #define HAVE__ATAN2L 1
76372 _ACEOF
76375 done
76384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
76385 $as_echo_n "checking for expl declaration... " >&6; }
76386 if test x${glibcxx_cv_func_expl_use+set} != xset; then
76387 if test "${glibcxx_cv_func_expl_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 expl(0);
76410 return 0;
76412 _ACEOF
76413 if ac_fn_cxx_try_compile "$LINENO"; then :
76414 glibcxx_cv_func_expl_use=yes
76415 else
76416 glibcxx_cv_func_expl_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_expl_use" >&5
76430 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
76432 if test x$glibcxx_cv_func_expl_use = x"yes"; then
76433 for ac_func in expl
76434 do :
76435 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
76436 if test "x$ac_cv_func_expl" = x""yes; then :
76437 cat >>confdefs.h <<_ACEOF
76438 #define HAVE_EXPL 1
76439 _ACEOF
76442 done
76444 else
76446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
76447 $as_echo_n "checking for _expl declaration... " >&6; }
76448 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76449 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
76450 $as_echo_n "(cached) " >&6
76451 else
76454 ac_ext=cpp
76455 ac_cpp='$CXXCPP $CPPFLAGS'
76456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76461 /* end confdefs.h. */
76462 #include <math.h>
76463 #ifdef HAVE_IEEEFP_H
76464 #include <ieeefp.h>
76465 #endif
76468 main ()
76470 _expl(0);
76472 return 0;
76474 _ACEOF
76475 if ac_fn_cxx_try_compile "$LINENO"; then :
76476 glibcxx_cv_func__expl_use=yes
76477 else
76478 glibcxx_cv_func__expl_use=no
76480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76481 ac_ext=c
76482 ac_cpp='$CPP $CPPFLAGS'
76483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
76492 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
76494 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76495 for ac_func in _expl
76496 do :
76497 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
76498 if test "x$ac_cv_func__expl" = x""yes; then :
76499 cat >>confdefs.h <<_ACEOF
76500 #define HAVE__EXPL 1
76501 _ACEOF
76504 done
76513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
76514 $as_echo_n "checking for fabsl declaration... " >&6; }
76515 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
76516 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
76517 $as_echo_n "(cached) " >&6
76518 else
76521 ac_ext=cpp
76522 ac_cpp='$CXXCPP $CPPFLAGS'
76523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76528 /* end confdefs.h. */
76529 #include <math.h>
76530 #ifdef HAVE_IEEEFP_H
76531 #include <ieeefp.h>
76532 #endif
76535 main ()
76537 fabsl(0);
76539 return 0;
76541 _ACEOF
76542 if ac_fn_cxx_try_compile "$LINENO"; then :
76543 glibcxx_cv_func_fabsl_use=yes
76544 else
76545 glibcxx_cv_func_fabsl_use=no
76547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76548 ac_ext=c
76549 ac_cpp='$CPP $CPPFLAGS'
76550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
76559 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
76561 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
76562 for ac_func in fabsl
76563 do :
76564 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
76565 if test "x$ac_cv_func_fabsl" = x""yes; then :
76566 cat >>confdefs.h <<_ACEOF
76567 #define HAVE_FABSL 1
76568 _ACEOF
76571 done
76573 else
76575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
76576 $as_echo_n "checking for _fabsl declaration... " >&6; }
76577 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
76578 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
76579 $as_echo_n "(cached) " >&6
76580 else
76583 ac_ext=cpp
76584 ac_cpp='$CXXCPP $CPPFLAGS'
76585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76590 /* end confdefs.h. */
76591 #include <math.h>
76592 #ifdef HAVE_IEEEFP_H
76593 #include <ieeefp.h>
76594 #endif
76597 main ()
76599 _fabsl(0);
76601 return 0;
76603 _ACEOF
76604 if ac_fn_cxx_try_compile "$LINENO"; then :
76605 glibcxx_cv_func__fabsl_use=yes
76606 else
76607 glibcxx_cv_func__fabsl_use=no
76609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76610 ac_ext=c
76611 ac_cpp='$CPP $CPPFLAGS'
76612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
76621 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
76623 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
76624 for ac_func in _fabsl
76625 do :
76626 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
76627 if test "x$ac_cv_func__fabsl" = x""yes; then :
76628 cat >>confdefs.h <<_ACEOF
76629 #define HAVE__FABSL 1
76630 _ACEOF
76633 done
76642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
76643 $as_echo_n "checking for fmodl declaration... " >&6; }
76644 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
76645 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
76646 $as_echo_n "(cached) " >&6
76647 else
76650 ac_ext=cpp
76651 ac_cpp='$CXXCPP $CPPFLAGS'
76652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76657 /* end confdefs.h. */
76658 #include <math.h>
76660 main ()
76662 fmodl(0, 0);
76664 return 0;
76666 _ACEOF
76667 if ac_fn_cxx_try_compile "$LINENO"; then :
76668 glibcxx_cv_func_fmodl_use=yes
76669 else
76670 glibcxx_cv_func_fmodl_use=no
76672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76673 ac_ext=c
76674 ac_cpp='$CPP $CPPFLAGS'
76675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
76684 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
76686 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
76687 for ac_func in fmodl
76688 do :
76689 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
76690 if test "x$ac_cv_func_fmodl" = x""yes; then :
76691 cat >>confdefs.h <<_ACEOF
76692 #define HAVE_FMODL 1
76693 _ACEOF
76696 done
76698 else
76700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
76701 $as_echo_n "checking for _fmodl declaration... " >&6; }
76702 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
76703 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
76704 $as_echo_n "(cached) " >&6
76705 else
76708 ac_ext=cpp
76709 ac_cpp='$CXXCPP $CPPFLAGS'
76710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76715 /* end confdefs.h. */
76716 #include <math.h>
76718 main ()
76720 _fmodl(0, 0);
76722 return 0;
76724 _ACEOF
76725 if ac_fn_cxx_try_compile "$LINENO"; then :
76726 glibcxx_cv_func__fmodl_use=yes
76727 else
76728 glibcxx_cv_func__fmodl_use=no
76730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76731 ac_ext=c
76732 ac_cpp='$CPP $CPPFLAGS'
76733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
76742 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
76744 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
76745 for ac_func in _fmodl
76746 do :
76747 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
76748 if test "x$ac_cv_func__fmodl" = x""yes; then :
76749 cat >>confdefs.h <<_ACEOF
76750 #define HAVE__FMODL 1
76751 _ACEOF
76754 done
76763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
76764 $as_echo_n "checking for frexpl declaration... " >&6; }
76765 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
76766 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
76767 $as_echo_n "(cached) " >&6
76768 else
76771 ac_ext=cpp
76772 ac_cpp='$CXXCPP $CPPFLAGS'
76773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76778 /* end confdefs.h. */
76779 #include <math.h>
76781 main ()
76783 frexpl(0, 0);
76785 return 0;
76787 _ACEOF
76788 if ac_fn_cxx_try_compile "$LINENO"; then :
76789 glibcxx_cv_func_frexpl_use=yes
76790 else
76791 glibcxx_cv_func_frexpl_use=no
76793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76794 ac_ext=c
76795 ac_cpp='$CPP $CPPFLAGS'
76796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
76805 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
76807 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
76808 for ac_func in frexpl
76809 do :
76810 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
76811 if test "x$ac_cv_func_frexpl" = x""yes; then :
76812 cat >>confdefs.h <<_ACEOF
76813 #define HAVE_FREXPL 1
76814 _ACEOF
76817 done
76819 else
76821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
76822 $as_echo_n "checking for _frexpl declaration... " >&6; }
76823 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
76824 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
76825 $as_echo_n "(cached) " >&6
76826 else
76829 ac_ext=cpp
76830 ac_cpp='$CXXCPP $CPPFLAGS'
76831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76836 /* end confdefs.h. */
76837 #include <math.h>
76839 main ()
76841 _frexpl(0, 0);
76843 return 0;
76845 _ACEOF
76846 if ac_fn_cxx_try_compile "$LINENO"; then :
76847 glibcxx_cv_func__frexpl_use=yes
76848 else
76849 glibcxx_cv_func__frexpl_use=no
76851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76852 ac_ext=c
76853 ac_cpp='$CPP $CPPFLAGS'
76854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
76863 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
76865 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
76866 for ac_func in _frexpl
76867 do :
76868 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
76869 if test "x$ac_cv_func__frexpl" = x""yes; then :
76870 cat >>confdefs.h <<_ACEOF
76871 #define HAVE__FREXPL 1
76872 _ACEOF
76875 done
76884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
76885 $as_echo_n "checking for hypotl declaration... " >&6; }
76886 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
76887 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
76888 $as_echo_n "(cached) " >&6
76889 else
76892 ac_ext=cpp
76893 ac_cpp='$CXXCPP $CPPFLAGS'
76894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76899 /* end confdefs.h. */
76900 #include <math.h>
76902 main ()
76904 hypotl(0, 0);
76906 return 0;
76908 _ACEOF
76909 if ac_fn_cxx_try_compile "$LINENO"; then :
76910 glibcxx_cv_func_hypotl_use=yes
76911 else
76912 glibcxx_cv_func_hypotl_use=no
76914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76915 ac_ext=c
76916 ac_cpp='$CPP $CPPFLAGS'
76917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
76926 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
76928 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
76929 for ac_func in hypotl
76930 do :
76931 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
76932 if test "x$ac_cv_func_hypotl" = x""yes; then :
76933 cat >>confdefs.h <<_ACEOF
76934 #define HAVE_HYPOTL 1
76935 _ACEOF
76938 done
76940 else
76942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
76943 $as_echo_n "checking for _hypotl declaration... " >&6; }
76944 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
76945 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
76946 $as_echo_n "(cached) " >&6
76947 else
76950 ac_ext=cpp
76951 ac_cpp='$CXXCPP $CPPFLAGS'
76952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76957 /* end confdefs.h. */
76958 #include <math.h>
76960 main ()
76962 _hypotl(0, 0);
76964 return 0;
76966 _ACEOF
76967 if ac_fn_cxx_try_compile "$LINENO"; then :
76968 glibcxx_cv_func__hypotl_use=yes
76969 else
76970 glibcxx_cv_func__hypotl_use=no
76972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76973 ac_ext=c
76974 ac_cpp='$CPP $CPPFLAGS'
76975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
76984 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
76986 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
76987 for ac_func in _hypotl
76988 do :
76989 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
76990 if test "x$ac_cv_func__hypotl" = x""yes; then :
76991 cat >>confdefs.h <<_ACEOF
76992 #define HAVE__HYPOTL 1
76993 _ACEOF
76996 done
77005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
77006 $as_echo_n "checking for ldexpl declaration... " >&6; }
77007 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
77008 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
77009 $as_echo_n "(cached) " >&6
77010 else
77013 ac_ext=cpp
77014 ac_cpp='$CXXCPP $CPPFLAGS'
77015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77020 /* end confdefs.h. */
77021 #include <math.h>
77023 main ()
77025 ldexpl(0, 0);
77027 return 0;
77029 _ACEOF
77030 if ac_fn_cxx_try_compile "$LINENO"; then :
77031 glibcxx_cv_func_ldexpl_use=yes
77032 else
77033 glibcxx_cv_func_ldexpl_use=no
77035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77036 ac_ext=c
77037 ac_cpp='$CPP $CPPFLAGS'
77038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
77047 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
77049 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
77050 for ac_func in ldexpl
77051 do :
77052 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
77053 if test "x$ac_cv_func_ldexpl" = x""yes; then :
77054 cat >>confdefs.h <<_ACEOF
77055 #define HAVE_LDEXPL 1
77056 _ACEOF
77059 done
77061 else
77063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
77064 $as_echo_n "checking for _ldexpl declaration... " >&6; }
77065 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
77066 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
77067 $as_echo_n "(cached) " >&6
77068 else
77071 ac_ext=cpp
77072 ac_cpp='$CXXCPP $CPPFLAGS'
77073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77078 /* end confdefs.h. */
77079 #include <math.h>
77081 main ()
77083 _ldexpl(0, 0);
77085 return 0;
77087 _ACEOF
77088 if ac_fn_cxx_try_compile "$LINENO"; then :
77089 glibcxx_cv_func__ldexpl_use=yes
77090 else
77091 glibcxx_cv_func__ldexpl_use=no
77093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77094 ac_ext=c
77095 ac_cpp='$CPP $CPPFLAGS'
77096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
77105 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
77107 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
77108 for ac_func in _ldexpl
77109 do :
77110 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
77111 if test "x$ac_cv_func__ldexpl" = x""yes; then :
77112 cat >>confdefs.h <<_ACEOF
77113 #define HAVE__LDEXPL 1
77114 _ACEOF
77117 done
77126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
77127 $as_echo_n "checking for logl declaration... " >&6; }
77128 if test x${glibcxx_cv_func_logl_use+set} != xset; then
77129 if test "${glibcxx_cv_func_logl_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 logl(0);
77152 return 0;
77154 _ACEOF
77155 if ac_fn_cxx_try_compile "$LINENO"; then :
77156 glibcxx_cv_func_logl_use=yes
77157 else
77158 glibcxx_cv_func_logl_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_logl_use" >&5
77172 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
77174 if test x$glibcxx_cv_func_logl_use = x"yes"; then
77175 for ac_func in logl
77176 do :
77177 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
77178 if test "x$ac_cv_func_logl" = x""yes; then :
77179 cat >>confdefs.h <<_ACEOF
77180 #define HAVE_LOGL 1
77181 _ACEOF
77184 done
77186 else
77188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
77189 $as_echo_n "checking for _logl declaration... " >&6; }
77190 if test x${glibcxx_cv_func__logl_use+set} != xset; then
77191 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
77192 $as_echo_n "(cached) " >&6
77193 else
77196 ac_ext=cpp
77197 ac_cpp='$CXXCPP $CPPFLAGS'
77198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77203 /* end confdefs.h. */
77204 #include <math.h>
77205 #ifdef HAVE_IEEEFP_H
77206 #include <ieeefp.h>
77207 #endif
77210 main ()
77212 _logl(0);
77214 return 0;
77216 _ACEOF
77217 if ac_fn_cxx_try_compile "$LINENO"; then :
77218 glibcxx_cv_func__logl_use=yes
77219 else
77220 glibcxx_cv_func__logl_use=no
77222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77223 ac_ext=c
77224 ac_cpp='$CPP $CPPFLAGS'
77225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
77234 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
77236 if test x$glibcxx_cv_func__logl_use = x"yes"; then
77237 for ac_func in _logl
77238 do :
77239 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
77240 if test "x$ac_cv_func__logl" = x""yes; then :
77241 cat >>confdefs.h <<_ACEOF
77242 #define HAVE__LOGL 1
77243 _ACEOF
77246 done
77255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
77256 $as_echo_n "checking for log10l declaration... " >&6; }
77257 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
77258 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
77259 $as_echo_n "(cached) " >&6
77260 else
77263 ac_ext=cpp
77264 ac_cpp='$CXXCPP $CPPFLAGS'
77265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77270 /* end confdefs.h. */
77271 #include <math.h>
77272 #ifdef HAVE_IEEEFP_H
77273 #include <ieeefp.h>
77274 #endif
77277 main ()
77279 log10l(0);
77281 return 0;
77283 _ACEOF
77284 if ac_fn_cxx_try_compile "$LINENO"; then :
77285 glibcxx_cv_func_log10l_use=yes
77286 else
77287 glibcxx_cv_func_log10l_use=no
77289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77290 ac_ext=c
77291 ac_cpp='$CPP $CPPFLAGS'
77292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
77301 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
77303 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
77304 for ac_func in log10l
77305 do :
77306 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
77307 if test "x$ac_cv_func_log10l" = x""yes; then :
77308 cat >>confdefs.h <<_ACEOF
77309 #define HAVE_LOG10L 1
77310 _ACEOF
77313 done
77315 else
77317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
77318 $as_echo_n "checking for _log10l declaration... " >&6; }
77319 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
77320 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
77321 $as_echo_n "(cached) " >&6
77322 else
77325 ac_ext=cpp
77326 ac_cpp='$CXXCPP $CPPFLAGS'
77327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77332 /* end confdefs.h. */
77333 #include <math.h>
77334 #ifdef HAVE_IEEEFP_H
77335 #include <ieeefp.h>
77336 #endif
77339 main ()
77341 _log10l(0);
77343 return 0;
77345 _ACEOF
77346 if ac_fn_cxx_try_compile "$LINENO"; then :
77347 glibcxx_cv_func__log10l_use=yes
77348 else
77349 glibcxx_cv_func__log10l_use=no
77351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77352 ac_ext=c
77353 ac_cpp='$CPP $CPPFLAGS'
77354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
77363 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
77365 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
77366 for ac_func in _log10l
77367 do :
77368 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
77369 if test "x$ac_cv_func__log10l" = x""yes; then :
77370 cat >>confdefs.h <<_ACEOF
77371 #define HAVE__LOG10L 1
77372 _ACEOF
77375 done
77384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
77385 $as_echo_n "checking for modfl declaration... " >&6; }
77386 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
77387 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
77388 $as_echo_n "(cached) " >&6
77389 else
77392 ac_ext=cpp
77393 ac_cpp='$CXXCPP $CPPFLAGS'
77394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77399 /* end confdefs.h. */
77400 #include <math.h>
77402 main ()
77404 modfl(0, 0);
77406 return 0;
77408 _ACEOF
77409 if ac_fn_cxx_try_compile "$LINENO"; then :
77410 glibcxx_cv_func_modfl_use=yes
77411 else
77412 glibcxx_cv_func_modfl_use=no
77414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77415 ac_ext=c
77416 ac_cpp='$CPP $CPPFLAGS'
77417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
77426 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
77428 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
77429 for ac_func in modfl
77430 do :
77431 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
77432 if test "x$ac_cv_func_modfl" = x""yes; then :
77433 cat >>confdefs.h <<_ACEOF
77434 #define HAVE_MODFL 1
77435 _ACEOF
77438 done
77440 else
77442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
77443 $as_echo_n "checking for _modfl declaration... " >&6; }
77444 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
77445 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
77446 $as_echo_n "(cached) " >&6
77447 else
77450 ac_ext=cpp
77451 ac_cpp='$CXXCPP $CPPFLAGS'
77452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77457 /* end confdefs.h. */
77458 #include <math.h>
77460 main ()
77462 _modfl(0, 0);
77464 return 0;
77466 _ACEOF
77467 if ac_fn_cxx_try_compile "$LINENO"; then :
77468 glibcxx_cv_func__modfl_use=yes
77469 else
77470 glibcxx_cv_func__modfl_use=no
77472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77473 ac_ext=c
77474 ac_cpp='$CPP $CPPFLAGS'
77475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
77484 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
77486 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
77487 for ac_func in _modfl
77488 do :
77489 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
77490 if test "x$ac_cv_func__modfl" = x""yes; then :
77491 cat >>confdefs.h <<_ACEOF
77492 #define HAVE__MODFL 1
77493 _ACEOF
77496 done
77505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
77506 $as_echo_n "checking for powl declaration... " >&6; }
77507 if test x${glibcxx_cv_func_powl_use+set} != xset; then
77508 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
77509 $as_echo_n "(cached) " >&6
77510 else
77513 ac_ext=cpp
77514 ac_cpp='$CXXCPP $CPPFLAGS'
77515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77520 /* end confdefs.h. */
77521 #include <math.h>
77523 main ()
77525 powl(0, 0);
77527 return 0;
77529 _ACEOF
77530 if ac_fn_cxx_try_compile "$LINENO"; then :
77531 glibcxx_cv_func_powl_use=yes
77532 else
77533 glibcxx_cv_func_powl_use=no
77535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77536 ac_ext=c
77537 ac_cpp='$CPP $CPPFLAGS'
77538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
77547 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
77549 if test x$glibcxx_cv_func_powl_use = x"yes"; then
77550 for ac_func in powl
77551 do :
77552 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
77553 if test "x$ac_cv_func_powl" = x""yes; then :
77554 cat >>confdefs.h <<_ACEOF
77555 #define HAVE_POWL 1
77556 _ACEOF
77559 done
77561 else
77563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
77564 $as_echo_n "checking for _powl declaration... " >&6; }
77565 if test x${glibcxx_cv_func__powl_use+set} != xset; then
77566 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
77567 $as_echo_n "(cached) " >&6
77568 else
77571 ac_ext=cpp
77572 ac_cpp='$CXXCPP $CPPFLAGS'
77573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77578 /* end confdefs.h. */
77579 #include <math.h>
77581 main ()
77583 _powl(0, 0);
77585 return 0;
77587 _ACEOF
77588 if ac_fn_cxx_try_compile "$LINENO"; then :
77589 glibcxx_cv_func__powl_use=yes
77590 else
77591 glibcxx_cv_func__powl_use=no
77593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77594 ac_ext=c
77595 ac_cpp='$CPP $CPPFLAGS'
77596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
77605 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
77607 if test x$glibcxx_cv_func__powl_use = x"yes"; then
77608 for ac_func in _powl
77609 do :
77610 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
77611 if test "x$ac_cv_func__powl" = x""yes; then :
77612 cat >>confdefs.h <<_ACEOF
77613 #define HAVE__POWL 1
77614 _ACEOF
77617 done
77626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
77627 $as_echo_n "checking for sqrtl declaration... " >&6; }
77628 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
77629 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
77630 $as_echo_n "(cached) " >&6
77631 else
77634 ac_ext=cpp
77635 ac_cpp='$CXXCPP $CPPFLAGS'
77636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77641 /* end confdefs.h. */
77642 #include <math.h>
77643 #ifdef HAVE_IEEEFP_H
77644 #include <ieeefp.h>
77645 #endif
77648 main ()
77650 sqrtl(0);
77652 return 0;
77654 _ACEOF
77655 if ac_fn_cxx_try_compile "$LINENO"; then :
77656 glibcxx_cv_func_sqrtl_use=yes
77657 else
77658 glibcxx_cv_func_sqrtl_use=no
77660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77661 ac_ext=c
77662 ac_cpp='$CPP $CPPFLAGS'
77663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
77672 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
77674 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
77675 for ac_func in sqrtl
77676 do :
77677 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
77678 if test "x$ac_cv_func_sqrtl" = x""yes; then :
77679 cat >>confdefs.h <<_ACEOF
77680 #define HAVE_SQRTL 1
77681 _ACEOF
77684 done
77686 else
77688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
77689 $as_echo_n "checking for _sqrtl declaration... " >&6; }
77690 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
77691 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
77692 $as_echo_n "(cached) " >&6
77693 else
77696 ac_ext=cpp
77697 ac_cpp='$CXXCPP $CPPFLAGS'
77698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77703 /* end confdefs.h. */
77704 #include <math.h>
77705 #ifdef HAVE_IEEEFP_H
77706 #include <ieeefp.h>
77707 #endif
77710 main ()
77712 _sqrtl(0);
77714 return 0;
77716 _ACEOF
77717 if ac_fn_cxx_try_compile "$LINENO"; then :
77718 glibcxx_cv_func__sqrtl_use=yes
77719 else
77720 glibcxx_cv_func__sqrtl_use=no
77722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77723 ac_ext=c
77724 ac_cpp='$CPP $CPPFLAGS'
77725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
77734 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
77736 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
77737 for ac_func in _sqrtl
77738 do :
77739 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
77740 if test "x$ac_cv_func__sqrtl" = x""yes; then :
77741 cat >>confdefs.h <<_ACEOF
77742 #define HAVE__SQRTL 1
77743 _ACEOF
77746 done
77755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
77756 $as_echo_n "checking for sincosl declaration... " >&6; }
77757 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
77758 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
77759 $as_echo_n "(cached) " >&6
77760 else
77763 ac_ext=cpp
77764 ac_cpp='$CXXCPP $CPPFLAGS'
77765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77770 /* end confdefs.h. */
77771 #include <math.h>
77773 main ()
77775 sincosl(0, 0, 0);
77777 return 0;
77779 _ACEOF
77780 if ac_fn_cxx_try_compile "$LINENO"; then :
77781 glibcxx_cv_func_sincosl_use=yes
77782 else
77783 glibcxx_cv_func_sincosl_use=no
77785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77786 ac_ext=c
77787 ac_cpp='$CPP $CPPFLAGS'
77788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
77797 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
77799 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
77800 for ac_func in sincosl
77801 do :
77802 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
77803 if test "x$ac_cv_func_sincosl" = x""yes; then :
77804 cat >>confdefs.h <<_ACEOF
77805 #define HAVE_SINCOSL 1
77806 _ACEOF
77809 done
77811 else
77813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
77814 $as_echo_n "checking for _sincosl declaration... " >&6; }
77815 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
77816 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
77817 $as_echo_n "(cached) " >&6
77818 else
77821 ac_ext=cpp
77822 ac_cpp='$CXXCPP $CPPFLAGS'
77823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77828 /* end confdefs.h. */
77829 #include <math.h>
77831 main ()
77833 _sincosl(0, 0, 0);
77835 return 0;
77837 _ACEOF
77838 if ac_fn_cxx_try_compile "$LINENO"; then :
77839 glibcxx_cv_func__sincosl_use=yes
77840 else
77841 glibcxx_cv_func__sincosl_use=no
77843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77844 ac_ext=c
77845 ac_cpp='$CPP $CPPFLAGS'
77846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
77855 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
77857 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
77858 for ac_func in _sincosl
77859 do :
77860 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
77861 if test "x$ac_cv_func__sincosl" = x""yes; then :
77862 cat >>confdefs.h <<_ACEOF
77863 #define HAVE__SINCOSL 1
77864 _ACEOF
77867 done
77876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
77877 $as_echo_n "checking for finitel declaration... " >&6; }
77878 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
77879 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
77880 $as_echo_n "(cached) " >&6
77881 else
77884 ac_ext=cpp
77885 ac_cpp='$CXXCPP $CPPFLAGS'
77886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77891 /* end confdefs.h. */
77892 #include <math.h>
77893 #ifdef HAVE_IEEEFP_H
77894 #include <ieeefp.h>
77895 #endif
77898 main ()
77900 finitel(0);
77902 return 0;
77904 _ACEOF
77905 if ac_fn_cxx_try_compile "$LINENO"; then :
77906 glibcxx_cv_func_finitel_use=yes
77907 else
77908 glibcxx_cv_func_finitel_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_finitel_use" >&5
77922 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
77924 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
77925 for ac_func in finitel
77926 do :
77927 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
77928 if test "x$ac_cv_func_finitel" = x""yes; then :
77929 cat >>confdefs.h <<_ACEOF
77930 #define HAVE_FINITEL 1
77931 _ACEOF
77934 done
77936 else
77938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
77939 $as_echo_n "checking for _finitel declaration... " >&6; }
77940 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
77941 if test "${glibcxx_cv_func__finitel_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 <math.h>
77955 #ifdef HAVE_IEEEFP_H
77956 #include <ieeefp.h>
77957 #endif
77960 main ()
77962 _finitel(0);
77964 return 0;
77966 _ACEOF
77967 if ac_fn_cxx_try_compile "$LINENO"; then :
77968 glibcxx_cv_func__finitel_use=yes
77969 else
77970 glibcxx_cv_func__finitel_use=no
77972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77973 ac_ext=c
77974 ac_cpp='$CPP $CPPFLAGS'
77975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
77984 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
77986 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
77987 for ac_func in _finitel
77988 do :
77989 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
77990 if test "x$ac_cv_func__finitel" = x""yes; then :
77991 cat >>confdefs.h <<_ACEOF
77992 #define HAVE__FINITEL 1
77993 _ACEOF
77996 done
78004 LIBS="$ac_save_LIBS"
78005 CXXFLAGS="$ac_save_CXXFLAGS"
78008 ac_test_CXXFLAGS="${CXXFLAGS+set}"
78009 ac_save_CXXFLAGS="$CXXFLAGS"
78010 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
78013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
78014 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
78015 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
78016 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
78017 $as_echo_n "(cached) " >&6
78018 else
78021 ac_ext=cpp
78022 ac_cpp='$CXXCPP $CPPFLAGS'
78023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78028 /* end confdefs.h. */
78029 #include <stdlib.h>
78031 main ()
78033 at_quick_exit(0);
78035 return 0;
78037 _ACEOF
78038 if ac_fn_cxx_try_compile "$LINENO"; then :
78039 glibcxx_cv_func_at_quick_exit_use=yes
78040 else
78041 glibcxx_cv_func_at_quick_exit_use=no
78043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78044 ac_ext=c
78045 ac_cpp='$CPP $CPPFLAGS'
78046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
78055 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
78056 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
78057 for ac_func in at_quick_exit
78058 do :
78059 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
78060 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
78061 cat >>confdefs.h <<_ACEOF
78062 #define HAVE_AT_QUICK_EXIT 1
78063 _ACEOF
78066 done
78071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
78072 $as_echo_n "checking for quick_exit declaration... " >&6; }
78073 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
78074 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
78075 $as_echo_n "(cached) " >&6
78076 else
78079 ac_ext=cpp
78080 ac_cpp='$CXXCPP $CPPFLAGS'
78081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78086 /* end confdefs.h. */
78087 #include <stdlib.h>
78089 main ()
78091 quick_exit(0);
78093 return 0;
78095 _ACEOF
78096 if ac_fn_cxx_try_compile "$LINENO"; then :
78097 glibcxx_cv_func_quick_exit_use=yes
78098 else
78099 glibcxx_cv_func_quick_exit_use=no
78101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78102 ac_ext=c
78103 ac_cpp='$CPP $CPPFLAGS'
78104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
78113 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
78114 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
78115 for ac_func in quick_exit
78116 do :
78117 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
78118 if test "x$ac_cv_func_quick_exit" = x""yes; then :
78119 cat >>confdefs.h <<_ACEOF
78120 #define HAVE_QUICK_EXIT 1
78121 _ACEOF
78124 done
78129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
78130 $as_echo_n "checking for strtold declaration... " >&6; }
78131 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
78132 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
78133 $as_echo_n "(cached) " >&6
78134 else
78137 ac_ext=cpp
78138 ac_cpp='$CXXCPP $CPPFLAGS'
78139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78144 /* end confdefs.h. */
78145 #include <stdlib.h>
78147 main ()
78149 strtold(0, 0);
78151 return 0;
78153 _ACEOF
78154 if ac_fn_cxx_try_compile "$LINENO"; then :
78155 glibcxx_cv_func_strtold_use=yes
78156 else
78157 glibcxx_cv_func_strtold_use=no
78159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78160 ac_ext=c
78161 ac_cpp='$CPP $CPPFLAGS'
78162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
78171 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
78172 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
78173 for ac_func in strtold
78174 do :
78175 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
78176 if test "x$ac_cv_func_strtold" = x""yes; then :
78177 cat >>confdefs.h <<_ACEOF
78178 #define HAVE_STRTOLD 1
78179 _ACEOF
78182 done
78189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
78190 $as_echo_n "checking for strtof declaration... " >&6; }
78191 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
78192 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
78193 $as_echo_n "(cached) " >&6
78194 else
78197 ac_ext=cpp
78198 ac_cpp='$CXXCPP $CPPFLAGS'
78199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78204 /* end confdefs.h. */
78205 #include <stdlib.h>
78207 main ()
78209 strtof(0, 0);
78211 return 0;
78213 _ACEOF
78214 if ac_fn_cxx_try_compile "$LINENO"; then :
78215 glibcxx_cv_func_strtof_use=yes
78216 else
78217 glibcxx_cv_func_strtof_use=no
78219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78220 ac_ext=c
78221 ac_cpp='$CPP $CPPFLAGS'
78222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
78231 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
78232 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
78233 for ac_func in strtof
78234 do :
78235 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
78236 if test "x$ac_cv_func_strtof" = x""yes; then :
78237 cat >>confdefs.h <<_ACEOF
78238 #define HAVE_STRTOF 1
78239 _ACEOF
78242 done
78249 CXXFLAGS="$ac_save_CXXFLAGS"
78252 *-vxworks)
78253 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
78255 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
78257 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
78259 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
78261 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
78263 $as_echo "#define HAVE_COSF 1" >>confdefs.h
78265 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
78267 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
78269 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
78271 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
78273 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
78275 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
78277 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
78279 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
78281 $as_echo "#define HAVE_POWF 1" >>confdefs.h
78283 $as_echo "#define HAVE_SINF 1" >>confdefs.h
78285 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
78287 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
78289 $as_echo "#define HAVE_TANF 1" >>confdefs.h
78291 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
78295 as_fn_error "No support for this host/target combination." "$LINENO" 5
78297 esac
78301 # At some point, we should differentiate between architectures
78302 # like x86, which have long double versions, and alpha/powerpc/etc.,
78303 # which don't. For the time being, punt.
78304 if test x"long_double_math_on_this_cpu" = x"yes"; then
78305 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
78307 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
78309 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
78311 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
78313 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
78315 $as_echo "#define HAVE_COSL 1" >>confdefs.h
78317 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
78319 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
78321 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
78323 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
78325 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
78327 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
78329 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
78331 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
78333 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
78335 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
78337 $as_echo "#define HAVE_POWL 1" >>confdefs.h
78339 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
78341 $as_echo "#define HAVE_SINL 1" >>confdefs.h
78343 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
78345 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
78347 $as_echo "#define HAVE_TANL 1" >>confdefs.h
78349 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
78354 # Check for _Unwind_GetIPInfo.
78357 # Check whether --with-system-libunwind was given.
78358 if test "${with_system_libunwind+set}" = set; then :
78359 withval=$with_system_libunwind;
78362 # If system-libunwind was not specifically set, pick a default setting.
78363 if test x$with_system_libunwind = x; then
78364 case ${target} in
78365 ia64-*-hpux*) with_system_libunwind=yes ;;
78366 *) with_system_libunwind=no ;;
78367 esac
78369 # Based on system-libunwind and target, do we have ipinfo?
78370 if test x$with_system_libunwind = xyes; then
78371 case ${target} in
78372 ia64-*-*) have_unwind_getipinfo=no ;;
78373 *) have_unwind_getipinfo=yes ;;
78374 esac
78375 else
78376 # Darwin before version 9 does not have _Unwind_GetIPInfo.
78378 case ${target} in
78379 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
78380 *) have_unwind_getipinfo=yes ;;
78381 esac
78385 if test x$have_unwind_getipinfo = xyes; then
78387 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
78392 # Check whether --enable-linux-futex was given.
78393 if test "${enable_linux_futex+set}" = set; then :
78394 enableval=$enable_linux_futex;
78395 case "$enableval" in
78396 yes|no|default) ;;
78397 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
78398 esac
78400 else
78401 enable_linux_futex=default
78405 case "$target" in
78406 *-linux*)
78407 case "$enable_linux_futex" in
78408 default)
78409 # If headers don't have gettid/futex syscalls definition, then
78410 # default to no, otherwise there will be compile time failures.
78411 # Otherwise, default to yes. If we don't detect we are
78412 # compiled/linked against NPTL and not cross-compiling, check
78413 # if programs are run by default against NPTL and if not, issue
78414 # a warning.
78415 enable_linux_futex=no
78416 if test x$gcc_no_link = xyes; then
78417 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78420 /* end confdefs.h. */
78421 #include <sys/syscall.h>
78422 int lk;
78424 main ()
78426 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78428 return 0;
78430 _ACEOF
78431 if ac_fn_c_try_link "$LINENO"; then :
78432 save_LIBS="$LIBS"
78433 LIBS="-lpthread $LIBS"
78434 if test x$gcc_no_link = xyes; then
78435 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78438 /* end confdefs.h. */
78439 #ifndef _GNU_SOURCE
78440 #define _GNU_SOURCE 1
78441 #endif
78442 #include <pthread.h>
78443 pthread_t th; void *status;
78445 main ()
78447 pthread_tryjoin_np (th, &status);
78449 return 0;
78451 _ACEOF
78452 if ac_fn_c_try_link "$LINENO"; then :
78453 enable_linux_futex=yes
78454 else
78455 if test x$cross_compiling = xno; then
78456 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
78457 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
78458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
78459 If so, please configure with --disable-linux-futex" >&5
78460 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
78461 If so, please configure with --disable-linux-futex" >&2;}
78464 enable_linux_futex=yes
78466 rm -f core conftest.err conftest.$ac_objext \
78467 conftest$ac_exeext conftest.$ac_ext
78468 LIBS="$save_LIBS"
78470 rm -f core conftest.err conftest.$ac_objext \
78471 conftest$ac_exeext conftest.$ac_ext
78473 yes)
78474 if test x$gcc_no_link = xyes; then
78475 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78478 /* end confdefs.h. */
78479 #include <sys/syscall.h>
78480 int lk;
78482 main ()
78484 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78486 return 0;
78488 _ACEOF
78489 if ac_fn_c_try_link "$LINENO"; then :
78491 else
78492 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
78494 rm -f core conftest.err conftest.$ac_objext \
78495 conftest$ac_exeext conftest.$ac_ext
78497 esac
78500 enable_linux_futex=no
78502 esac
78503 if test x$enable_linux_futex = xyes; then
78505 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
78512 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
78514 acx_cv_header_stdint=stddef.h
78515 acx_cv_header_stdint_kind="(already complete)"
78516 for i in stdint.h $inttype_headers; do
78517 unset ac_cv_type_uintptr_t
78518 unset ac_cv_type_uintmax_t
78519 unset ac_cv_type_int_least32_t
78520 unset ac_cv_type_int_fast32_t
78521 unset ac_cv_type_uint64_t
78522 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
78523 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
78524 #include <$i>
78526 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
78527 acx_cv_header_stdint=$i
78528 else
78529 continue
78532 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78533 #include <$i>
78535 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78537 else
78538 acx_cv_header_stdint_kind="(mostly complete)"
78541 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
78542 #include <$i>
78544 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
78546 else
78547 acx_cv_header_stdint_kind="(mostly complete)"
78550 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
78551 #include <$i>
78553 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
78555 else
78556 acx_cv_header_stdint_kind="(mostly complete)"
78559 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78560 #include <$i>
78562 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78564 else
78565 acx_cv_header_stdint_kind="(lacks uint64_t)"
78568 break
78569 done
78570 if test "$acx_cv_header_stdint" = stddef.h; then
78571 acx_cv_header_stdint_kind="(lacks uintmax_t)"
78572 for i in stdint.h $inttype_headers; do
78573 unset ac_cv_type_uintptr_t
78574 unset ac_cv_type_uint32_t
78575 unset ac_cv_type_uint64_t
78576 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
78577 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
78578 #include <$i>
78580 if test "x$ac_cv_type_uint32_t" = x""yes; then :
78581 acx_cv_header_stdint=$i
78582 else
78583 continue
78586 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78587 #include <$i>
78589 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78593 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78594 #include <$i>
78596 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78600 break
78601 done
78603 if test "$acx_cv_header_stdint" = stddef.h; then
78604 acx_cv_header_stdint_kind="(u_intXX_t style)"
78605 for i in sys/types.h $inttype_headers; do
78606 unset ac_cv_type_u_int32_t
78607 unset ac_cv_type_u_int64_t
78608 $as_echo_n "looking for u_intXX_t types in $i, " >&6
78609 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
78610 #include <$i>
78612 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
78613 acx_cv_header_stdint=$i
78614 else
78615 continue
78618 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
78619 #include <$i>
78621 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
78625 break
78626 done
78628 if test "$acx_cv_header_stdint" = stddef.h; then
78629 acx_cv_header_stdint_kind="(using manual detection)"
78632 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
78633 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
78634 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
78635 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
78636 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
78638 # ----------------- Summarize what we found so far
78640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
78641 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
78643 case `$as_basename -- include/gstdint.h ||
78644 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
78645 Xinclude/gstdint.h : 'X\(//\)$' \| \
78646 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
78647 $as_echo X/include/gstdint.h |
78648 sed '/^.*\/\([^/][^/]*\)\/*$/{
78649 s//\1/
78652 /^X\/\(\/\/\)$/{
78653 s//\1/
78656 /^X\/\(\/\).*/{
78657 s//\1/
78660 s/.*/./; q'` in
78661 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78662 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78663 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78664 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78665 *) ;;
78666 esac
78668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
78669 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
78671 # ----------------- done included file, check C basic types --------
78673 # Lacking an uintptr_t? Test size of void *
78674 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
78675 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
78676 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78677 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78678 # This bug is HP SR number 8606223364.
78679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
78680 $as_echo_n "checking size of void *... " >&6; }
78681 if test "${ac_cv_sizeof_void_p+set}" = set; then :
78682 $as_echo_n "(cached) " >&6
78683 else
78684 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
78686 else
78687 if test "$ac_cv_type_void_p" = yes; then
78688 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78689 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78690 { as_fn_set_status 77
78691 as_fn_error "cannot compute sizeof (void *)
78692 See \`config.log' for more details." "$LINENO" 5; }; }
78693 else
78694 ac_cv_sizeof_void_p=0
78699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
78700 $as_echo "$ac_cv_sizeof_void_p" >&6; }
78704 cat >>confdefs.h <<_ACEOF
78705 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
78706 _ACEOF
78709 esac
78711 # Lacking an uint64_t? Test size of long
78712 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
78713 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
78714 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78715 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78716 # This bug is HP SR number 8606223364.
78717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
78718 $as_echo_n "checking size of long... " >&6; }
78719 if test "${ac_cv_sizeof_long+set}" = set; then :
78720 $as_echo_n "(cached) " >&6
78721 else
78722 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
78724 else
78725 if test "$ac_cv_type_long" = yes; then
78726 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78727 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78728 { as_fn_set_status 77
78729 as_fn_error "cannot compute sizeof (long)
78730 See \`config.log' for more details." "$LINENO" 5; }; }
78731 else
78732 ac_cv_sizeof_long=0
78737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
78738 $as_echo "$ac_cv_sizeof_long" >&6; }
78742 cat >>confdefs.h <<_ACEOF
78743 #define SIZEOF_LONG $ac_cv_sizeof_long
78744 _ACEOF
78747 esac
78749 if test $acx_cv_header_stdint = stddef.h; then
78750 # Lacking a good header? Test size of everything and deduce all types.
78751 # The cast to long int works around a bug in the HP C Compiler
78752 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78753 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78754 # This bug is HP SR number 8606223364.
78755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
78756 $as_echo_n "checking size of int... " >&6; }
78757 if test "${ac_cv_sizeof_int+set}" = set; then :
78758 $as_echo_n "(cached) " >&6
78759 else
78760 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
78762 else
78763 if test "$ac_cv_type_int" = yes; then
78764 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78765 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78766 { as_fn_set_status 77
78767 as_fn_error "cannot compute sizeof (int)
78768 See \`config.log' for more details." "$LINENO" 5; }; }
78769 else
78770 ac_cv_sizeof_int=0
78775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
78776 $as_echo "$ac_cv_sizeof_int" >&6; }
78780 cat >>confdefs.h <<_ACEOF
78781 #define SIZEOF_INT $ac_cv_sizeof_int
78782 _ACEOF
78785 # The cast to long int works around a bug in the HP C Compiler
78786 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78787 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78788 # This bug is HP SR number 8606223364.
78789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
78790 $as_echo_n "checking size of short... " >&6; }
78791 if test "${ac_cv_sizeof_short+set}" = set; then :
78792 $as_echo_n "(cached) " >&6
78793 else
78794 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
78796 else
78797 if test "$ac_cv_type_short" = yes; then
78798 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78799 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78800 { as_fn_set_status 77
78801 as_fn_error "cannot compute sizeof (short)
78802 See \`config.log' for more details." "$LINENO" 5; }; }
78803 else
78804 ac_cv_sizeof_short=0
78809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
78810 $as_echo "$ac_cv_sizeof_short" >&6; }
78814 cat >>confdefs.h <<_ACEOF
78815 #define SIZEOF_SHORT $ac_cv_sizeof_short
78816 _ACEOF
78819 # The cast to long int works around a bug in the HP C Compiler
78820 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78821 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78822 # This bug is HP SR number 8606223364.
78823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
78824 $as_echo_n "checking size of char... " >&6; }
78825 if test "${ac_cv_sizeof_char+set}" = set; then :
78826 $as_echo_n "(cached) " >&6
78827 else
78828 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
78830 else
78831 if test "$ac_cv_type_char" = yes; then
78832 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78833 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78834 { as_fn_set_status 77
78835 as_fn_error "cannot compute sizeof (char)
78836 See \`config.log' for more details." "$LINENO" 5; }; }
78837 else
78838 ac_cv_sizeof_char=0
78843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
78844 $as_echo "$ac_cv_sizeof_char" >&6; }
78848 cat >>confdefs.h <<_ACEOF
78849 #define SIZEOF_CHAR $ac_cv_sizeof_char
78850 _ACEOF
78854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
78855 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
78856 case "$ac_cv_sizeof_char" in
78857 1) acx_cv_type_int8_t=char ;;
78858 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
78859 esac
78860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
78861 $as_echo "$acx_cv_type_int8_t" >&6; }
78863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
78864 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
78865 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
78866 2:*) acx_cv_type_int16_t=int ;;
78867 *:2) acx_cv_type_int16_t=short ;;
78868 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
78869 esac
78870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
78871 $as_echo "$acx_cv_type_int16_t" >&6; }
78873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
78874 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
78875 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
78876 4:*) acx_cv_type_int32_t=int ;;
78877 *:4) acx_cv_type_int32_t=long ;;
78878 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
78879 esac
78880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
78881 $as_echo "$acx_cv_type_int32_t" >&6; }
78884 # These tests are here to make the output prettier
78886 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
78887 case "$ac_cv_sizeof_long" in
78888 8) acx_cv_type_int64_t=long ;;
78889 esac
78890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
78891 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
78892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
78893 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
78896 # Now we can use the above types
78898 if test "$ac_cv_type_uintptr_t" != yes; then
78899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
78900 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
78901 case $ac_cv_sizeof_void_p in
78902 2) acx_cv_type_intptr_t=int16_t ;;
78903 4) acx_cv_type_intptr_t=int32_t ;;
78904 8) acx_cv_type_intptr_t=int64_t ;;
78905 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
78906 esac
78907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
78908 $as_echo "$acx_cv_type_intptr_t" >&6; }
78911 # ----------------- done all checks, emit header -------------
78912 ac_config_commands="$ac_config_commands include/gstdint.h"
78918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
78919 $as_echo_n "checking for GNU c++filt... " >&6; }
78920 if test "${ac_cv_path_CXXFILT+set}" = set; then :
78921 $as_echo_n "(cached) " >&6
78922 else
78923 if test -z "$CXXFILT"; then
78924 ac_path_CXXFILT_found=false
78925 # Loop through the user's path and test for each of PROGNAME-LIST
78926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78927 for as_dir in $PATH
78929 IFS=$as_save_IFS
78930 test -z "$as_dir" && as_dir=.
78931 for ac_prog in c++filt gc++filt; do
78932 for ac_exec_ext in '' $ac_executable_extensions; do
78933 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
78934 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
78935 # Check for GNU $ac_path_CXXFILT
78936 case `"$ac_path_CXXFILT" --version 2>&1` in
78937 *GNU*)
78938 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
78939 esac
78941 $ac_path_CXXFILT_found && break 3
78942 done
78943 done
78944 done
78945 IFS=$as_save_IFS
78946 if test -z "$ac_cv_path_CXXFILT"; then
78949 else
78950 ac_cv_path_CXXFILT=$CXXFILT
78954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
78955 $as_echo "$ac_cv_path_CXXFILT" >&6; }
78956 CXXFILT=$ac_cv_path_CXXFILT
78960 # Check whether --enable-symvers was given.
78961 if test "${enable_symvers+set}" = set; then :
78962 enableval=$enable_symvers;
78963 case "$enableval" in
78964 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
78965 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
78966 esac
78968 else
78969 enable_symvers=yes
78974 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
78975 # don't know enough about $LD to do tricks...
78977 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
78978 # with extern "C++" in version scripts.
78981 # Turn a 'yes' into a suitable default.
78982 if test x$enable_symvers = xyes ; then
78983 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
78984 enable_symvers=no
78985 else
78986 if test $with_gnu_ld = yes ; then
78987 case ${target_os} in
78988 hpux*)
78989 enable_symvers=no ;;
78991 enable_symvers=gnu ;;
78992 esac
78993 else
78994 case ${target_os} in
78995 darwin*)
78996 enable_symvers=darwin ;;
78997 # Sun symbol versioning exists since Solaris 2.5.
78998 solaris2.[5-9]* | solaris2.1[0-9]*)
78999 # make_sunver.pl needs GNU c++filt to support extern "C++" in
79000 # version scripts, so disable symbol versioning if none can be
79001 # found.
79002 if test -z "$ac_cv_path_CXXFILT"; then
79003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79004 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
79006 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
79007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79008 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79009 enable_symvers=no
79010 else
79011 enable_symvers=sun
79015 enable_symvers=no ;;
79016 esac
79021 # Check to see if 'darwin' or 'darwin-export' can win.
79022 if test x$enable_symvers = xdarwin-export ; then
79023 enable_symvers=darwin
79026 # Check if 'sun' was requested on non-Solaris 2 platforms.
79027 if test x$enable_symvers = xsun ; then
79028 case ${target_os} in
79029 solaris2*)
79030 # All fine.
79033 # Unlikely to work.
79034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79035 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
79037 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
79038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79039 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79040 enable_symvers=no
79042 esac
79045 # Check to see if 'gnu' can win.
79046 if test $enable_symvers = gnu ||
79047 test $enable_symvers = gnu-versioned-namespace ||
79048 test $enable_symvers = sun; then
79049 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
79050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
79051 $as_echo_n "checking for shared libgcc... " >&6; }
79052 ac_save_CFLAGS="$CFLAGS"
79053 CFLAGS=' -lgcc_s'
79054 if test x$gcc_no_link = xyes; then
79055 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79058 /* end confdefs.h. */
79061 main ()
79063 return 0;
79065 return 0;
79067 _ACEOF
79068 if ac_fn_c_try_link "$LINENO"; then :
79069 glibcxx_shared_libgcc=yes
79070 else
79071 glibcxx_shared_libgcc=no
79073 rm -f core conftest.err conftest.$ac_objext \
79074 conftest$ac_exeext conftest.$ac_ext
79075 CFLAGS="$ac_save_CFLAGS"
79076 if test $glibcxx_shared_libgcc = no; then
79077 cat > conftest.c <<EOF
79078 int main (void) { return 0; }
79080 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
79081 -shared -shared-libgcc -o conftest.so \
79082 conftest.c -v 2>&1 >/dev/null \
79083 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
79084 rm -f conftest.c conftest.so
79085 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
79086 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
79087 if test x$gcc_no_link = xyes; then
79088 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79091 /* end confdefs.h. */
79094 main ()
79096 return 0;
79098 return 0;
79100 _ACEOF
79101 if ac_fn_c_try_link "$LINENO"; then :
79102 glibcxx_shared_libgcc=yes
79104 rm -f core conftest.err conftest.$ac_objext \
79105 conftest$ac_exeext conftest.$ac_ext
79106 CFLAGS="$ac_save_CFLAGS"
79109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
79110 $as_echo "$glibcxx_shared_libgcc" >&6; }
79112 # For GNU ld, we need at least this version. The format is described in
79113 # GLIBCXX_CHECK_LINKER_FEATURES above.
79114 glibcxx_min_gnu_ld_version=21400
79116 # If no shared libgcc, can't win.
79117 if test $glibcxx_shared_libgcc != yes; then
79118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79119 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
79121 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
79122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79123 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79124 enable_symvers=no
79125 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
79126 : All interesting versions of Sun ld support sun style symbol versioning.
79127 elif test $with_gnu_ld != yes ; then
79128 # just fail for now
79129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79130 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
79132 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
79133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79134 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79135 enable_symvers=no
79136 elif test $glibcxx_ld_is_gold = yes ; then
79137 : All versions of gold support symbol versioning.
79138 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
79139 # The right tools, the right setup, but too old. Fallbacks?
79140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
79141 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
79142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
79143 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
79144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
79145 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
79146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
79147 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
79148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79149 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79150 enable_symvers=no
79154 # For libtool versioning info, format is CURRENT:REVISION:AGE
79155 libtool_VERSION=6:25:0
79157 # Everything parsed; figure out what files and settings to use.
79158 case $enable_symvers in
79160 SYMVER_FILE=config/abi/pre/none.ver
79162 gnu)
79163 SYMVER_FILE=config/abi/pre/gnu.ver
79165 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
79168 gnu-versioned-namespace)
79169 libtool_VERSION=8:0:0
79170 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
79172 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
79175 darwin)
79176 SYMVER_FILE=config/abi/pre/gnu.ver
79178 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
79181 sun)
79182 SYMVER_FILE=config/abi/pre/gnu.ver
79184 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
79187 esac
79189 if test x$enable_symvers != xno ; then
79191 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
79195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
79196 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
79197 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
79198 $as_echo_n "(cached) " >&6
79199 else
79201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79202 /* end confdefs.h. */
79203 void foo (void); __asm (".symver foo, bar@SYMVER");
79205 main ()
79209 return 0;
79211 _ACEOF
79212 if ac_fn_c_try_compile "$LINENO"; then :
79213 glibcxx_cv_have_as_symver_directive=yes
79214 else
79215 glibcxx_cv_have_as_symver_directive=no
79217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
79220 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
79221 if test $glibcxx_cv_have_as_symver_directive = yes; then
79223 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
79234 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
79235 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
79237 if test $enable_symvers != no ; then
79238 case ${target_os} in
79239 # The Solaris 2 runtime linker doesn't support the GNU extension of
79240 # binding the same symbol to different versions
79241 solaris2*)
79243 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
79246 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
79249 esac
79252 # Now, set up compatibility support, if any.
79253 # In addition, need this to deal with std::size_t mangling in
79254 # src/compatibility.cc. In a perfect world, could use
79255 # typeid(std::size_t).name()[0] to do direct substitution.
79256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
79257 $as_echo_n "checking for size_t as unsigned int... " >&6; }
79258 ac_save_CFLAGS="$CFLAGS"
79259 CFLAGS="-Werror"
79260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79261 /* end confdefs.h. */
79264 main ()
79266 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
79268 return 0;
79270 _ACEOF
79271 if ac_fn_c_try_compile "$LINENO"; then :
79272 glibcxx_size_t_is_i=yes
79273 else
79274 glibcxx_size_t_is_i=no
79276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79277 CFLAGS=$ac_save_CFLAGS
79278 if test "$glibcxx_size_t_is_i" = yes; then
79280 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
79283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
79284 $as_echo "$glibcxx_size_t_is_i" >&6; }
79286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
79287 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
79288 ac_save_CFLAGS="$CFLAGS"
79289 CFLAGS="-Werror"
79290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79291 /* end confdefs.h. */
79294 main ()
79296 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
79298 return 0;
79300 _ACEOF
79301 if ac_fn_c_try_compile "$LINENO"; then :
79302 glibcxx_ptrdiff_t_is_i=yes
79303 else
79304 glibcxx_ptrdiff_t_is_i=no
79306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79307 CFLAGS=$ac_save_CFLAGS
79308 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
79310 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
79313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
79314 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
79319 # Check whether --enable-libstdcxx-visibility was given.
79320 if test "${enable_libstdcxx_visibility+set}" = set; then :
79321 enableval=$enable_libstdcxx_visibility;
79322 case "$enableval" in
79323 yes|no) ;;
79324 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
79325 esac
79327 else
79328 enable_libstdcxx_visibility=yes
79333 if test x$enable_libstdcxx_visibility = xyes ; then
79334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
79335 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
79336 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
79337 $as_echo_n "(cached) " >&6
79338 else
79340 save_CFLAGS="$CFLAGS"
79341 CFLAGS="$CFLAGS -Werror"
79342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79343 /* end confdefs.h. */
79344 void __attribute__((visibility("hidden"))) foo(void) { }
79346 main ()
79350 return 0;
79352 _ACEOF
79353 if ac_fn_c_try_compile "$LINENO"; then :
79354 glibcxx_cv_have_attribute_visibility=yes
79355 else
79356 glibcxx_cv_have_attribute_visibility=no
79358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79359 CFLAGS="$save_CFLAGS"
79361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
79362 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
79363 if test $glibcxx_cv_have_attribute_visibility = no; then
79364 enable_libstdcxx_visibility=no
79369 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
79370 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
79374 # Check whether --enable-libstdcxx-dual-abi was given.
79375 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
79376 enableval=$enable_libstdcxx_dual_abi;
79377 case "$enableval" in
79378 yes|no) ;;
79379 *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
79380 esac
79382 else
79383 enable_libstdcxx_dual_abi=yes
79387 if test x$enable_symvers = xgnu-versioned-namespace; then
79388 # gnu-versioned-namespace is incompatible with the dual ABI.
79389 enable_libstdcxx_dual_abi="no"
79391 if test x"$enable_libstdcxx_dual_abi" != xyes; then
79392 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
79393 $as_echo "$as_me: dual ABI is disabled" >&6;}
79394 default_libstdcxx_abi="gcc4-compatible"
79399 if test x$enable_libstdcxx_dual_abi = xyes; then
79400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
79401 $as_echo_n "checking for default std::string ABI to use... " >&6; }
79403 # Check whether --with-default-libstdcxx-abi was given.
79404 if test "${with_default_libstdcxx_abi+set}" = set; then :
79405 withval=$with_default_libstdcxx_abi; case "$withval" in
79406 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
79407 new|cxx11) default_libstdcxx_abi="new" ;;
79408 c++*|gnu++*) as_fn_error "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
79409 *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
79410 esac
79412 else
79413 default_libstdcxx_abi="new"
79416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
79417 $as_echo "${default_libstdcxx_abi}" >&6; }
79419 if test $default_libstdcxx_abi = "new"; then
79420 glibcxx_cxx11_abi=1
79421 glibcxx_cxx98_abi=0
79422 else
79423 glibcxx_cxx11_abi=0
79424 glibcxx_cxx98_abi=1
79430 ac_ldbl_compat=no
79431 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
79432 case "$target" in
79433 powerpc*-*-linux* | \
79434 sparc*-*-linux* | \
79435 s390*-*-linux* | \
79436 alpha*-*-linux*)
79437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79438 /* end confdefs.h. */
79441 main ()
79444 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
79445 #error no need for long double compatibility
79446 #endif
79449 return 0;
79451 _ACEOF
79452 if ac_fn_c_try_compile "$LINENO"; then :
79453 ac_ldbl_compat=yes
79454 else
79455 ac_ldbl_compat=no
79457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79458 if test "$ac_ldbl_compat" = yes; then
79460 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
79462 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
79463 case "$target" in
79464 powerpc*-*-linux*)
79465 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute" ;;
79466 esac
79468 esac
79472 # Check if assembler supports disabling hardware capability support.
79474 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
79476 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
79477 # with a different meaning.
79478 case ${target_os} in
79479 solaris2*)
79480 ac_save_CFLAGS="$CFLAGS"
79481 CFLAGS="$CFLAGS -Wa,-nH"
79483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
79484 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
79485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79486 /* end confdefs.h. */
79489 main ()
79491 return 0;
79493 return 0;
79495 _ACEOF
79496 if ac_fn_c_try_compile "$LINENO"; then :
79497 ac_hwcap_flags=yes
79498 else
79499 ac_hwcap_flags=no
79501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79502 if test "$ac_hwcap_flags" = "yes"; then
79503 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
79505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
79506 $as_echo "$ac_hwcap_flags" >&6; }
79508 CFLAGS="$ac_save_CFLAGS"
79510 esac
79515 # Check if assembler supports rdrand opcode.
79517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
79518 $as_echo_n "checking for rdrand support in assembler... " >&6; }
79519 if test "${ac_cv_x86_rdrand+set}" = set; then :
79520 $as_echo_n "(cached) " >&6
79521 else
79523 ac_cv_x86_rdrand=no
79524 case "$target" in
79525 i?86-*-* | \
79526 x86_64-*-*)
79527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79528 /* end confdefs.h. */
79531 main ()
79533 asm("rdrand %eax");
79535 return 0;
79537 _ACEOF
79538 if ac_fn_c_try_compile "$LINENO"; then :
79539 ac_cv_x86_rdrand=yes
79540 else
79541 ac_cv_x86_rdrand=no
79543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79544 esac
79548 if test $ac_cv_x86_rdrand = yes; then
79550 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
79553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
79554 $as_echo "$ac_cv_x86_rdrand" >&6; }
79557 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
79559 # Do checks for resource limit functions.
79561 setrlimit_have_headers=yes
79562 for ac_header in unistd.h sys/time.h sys/resource.h
79563 do :
79564 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79565 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79566 eval as_val=\$$as_ac_Header
79567 if test "x$as_val" = x""yes; then :
79568 cat >>confdefs.h <<_ACEOF
79569 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79570 _ACEOF
79572 else
79573 setrlimit_have_headers=no
79576 done
79578 # If don't have the headers, then we can't run the tests now, and we
79579 # won't be seeing any of these during testsuite compilation.
79580 if test $setrlimit_have_headers = yes; then
79581 # Can't do these in a loop, else the resulting syntax is wrong.
79583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
79584 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
79585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79586 /* end confdefs.h. */
79587 #include <unistd.h>
79588 #include <sys/time.h>
79589 #include <sys/resource.h>
79592 main ()
79594 int f = RLIMIT_DATA ;
79596 return 0;
79598 _ACEOF
79599 if ac_fn_c_try_compile "$LINENO"; then :
79600 glibcxx_mresult=1
79601 else
79602 glibcxx_mresult=0
79604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79606 cat >>confdefs.h <<_ACEOF
79607 #define HAVE_LIMIT_DATA $glibcxx_mresult
79608 _ACEOF
79610 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79612 $as_echo "$res" >&6; }
79615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
79616 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
79617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79618 /* end confdefs.h. */
79619 #include <unistd.h>
79620 #include <sys/time.h>
79621 #include <sys/resource.h>
79624 main ()
79626 int f = RLIMIT_RSS ;
79628 return 0;
79630 _ACEOF
79631 if ac_fn_c_try_compile "$LINENO"; then :
79632 glibcxx_mresult=1
79633 else
79634 glibcxx_mresult=0
79636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79638 cat >>confdefs.h <<_ACEOF
79639 #define HAVE_LIMIT_RSS $glibcxx_mresult
79640 _ACEOF
79642 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79644 $as_echo "$res" >&6; }
79647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
79648 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
79649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79650 /* end confdefs.h. */
79651 #include <unistd.h>
79652 #include <sys/time.h>
79653 #include <sys/resource.h>
79656 main ()
79658 int f = RLIMIT_VMEM ;
79660 return 0;
79662 _ACEOF
79663 if ac_fn_c_try_compile "$LINENO"; then :
79664 glibcxx_mresult=1
79665 else
79666 glibcxx_mresult=0
79668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79670 cat >>confdefs.h <<_ACEOF
79671 #define HAVE_LIMIT_VMEM $glibcxx_mresult
79672 _ACEOF
79674 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79676 $as_echo "$res" >&6; }
79679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
79680 $as_echo_n "checking for RLIMIT_AS... " >&6; }
79681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79682 /* end confdefs.h. */
79683 #include <unistd.h>
79684 #include <sys/time.h>
79685 #include <sys/resource.h>
79688 main ()
79690 int f = RLIMIT_AS ;
79692 return 0;
79694 _ACEOF
79695 if ac_fn_c_try_compile "$LINENO"; then :
79696 glibcxx_mresult=1
79697 else
79698 glibcxx_mresult=0
79700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79702 cat >>confdefs.h <<_ACEOF
79703 #define HAVE_LIMIT_AS $glibcxx_mresult
79704 _ACEOF
79706 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79708 $as_echo "$res" >&6; }
79711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
79712 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
79713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79714 /* end confdefs.h. */
79715 #include <unistd.h>
79716 #include <sys/time.h>
79717 #include <sys/resource.h>
79720 main ()
79722 int f = RLIMIT_FSIZE ;
79724 return 0;
79726 _ACEOF
79727 if ac_fn_c_try_compile "$LINENO"; then :
79728 glibcxx_mresult=1
79729 else
79730 glibcxx_mresult=0
79732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79734 cat >>confdefs.h <<_ACEOF
79735 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
79736 _ACEOF
79738 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79740 $as_echo "$res" >&6; }
79743 # Check for rlimit, setrlimit.
79744 if test "${glibcxx_cv_setrlimit+set}" = set; then :
79745 $as_echo_n "(cached) " >&6
79746 else
79748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79749 /* end confdefs.h. */
79750 #include <unistd.h>
79751 #include <sys/time.h>
79752 #include <sys/resource.h>
79755 main ()
79757 struct rlimit r;
79758 setrlimit(0, &r);
79760 return 0;
79762 _ACEOF
79763 if ac_fn_c_try_compile "$LINENO"; then :
79764 glibcxx_cv_setrlimit=yes
79765 else
79766 glibcxx_cv_setrlimit=no
79768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
79775 $as_echo_n "checking for testsuite resource limits support... " >&6; }
79776 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
79777 ac_res_limits=yes
79779 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
79781 else
79782 ac_res_limits=no
79784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
79785 $as_echo "$ac_res_limits" >&6; }
79788 if $GLIBCXX_IS_NATIVE ; then
79789 # Look for setenv, so that extended locale tests can be performed.
79791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
79792 $as_echo_n "checking for setenv declaration... " >&6; }
79793 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
79794 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
79795 $as_echo_n "(cached) " >&6
79796 else
79799 ac_ext=cpp
79800 ac_cpp='$CXXCPP $CPPFLAGS'
79801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79806 /* end confdefs.h. */
79807 #include <stdlib.h>
79809 main ()
79811 setenv(0, 0, 0);
79813 return 0;
79815 _ACEOF
79816 if ac_fn_cxx_try_compile "$LINENO"; then :
79817 glibcxx_cv_func_setenv_use=yes
79818 else
79819 glibcxx_cv_func_setenv_use=no
79821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79822 ac_ext=c
79823 ac_cpp='$CPP $CPPFLAGS'
79824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
79833 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
79834 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
79835 for ac_func in setenv
79836 do :
79837 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
79838 if test "x$ac_cv_func_setenv" = x""yes; then :
79839 cat >>confdefs.h <<_ACEOF
79840 #define HAVE_SETENV 1
79841 _ACEOF
79844 done
79850 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
79851 test $enable_symvers != no; then
79852 case "$host" in
79853 *-*-cygwin*)
79854 enable_abi_check=no ;;
79856 enable_abi_check=yes ;;
79857 esac
79858 else
79859 # Only build this as native, since automake does not understand
79860 # CXX_FOR_BUILD.
79861 enable_abi_check=no
79864 # Export file names for ABI checking.
79865 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
79867 baseline_subdir_switch="$abi_baseline_subdir_switch"
79871 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
79873 # Check whether --enable-libstdcxx-threads was given.
79874 if test "${enable_libstdcxx_threads+set}" = set; then :
79875 enableval=$enable_libstdcxx_threads;
79876 case "$enableval" in
79877 yes|no) ;;
79878 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
79879 esac
79881 else
79882 enable_libstdcxx_threads=auto
79887 if test x$enable_libstdcxx_threads = xauto ||
79888 test x$enable_libstdcxx_threads = xyes; then
79891 ac_ext=cpp
79892 ac_cpp='$CXXCPP $CPPFLAGS'
79893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79898 ac_save_CXXFLAGS="$CXXFLAGS"
79899 CXXFLAGS="$CXXFLAGS -fno-exceptions \
79900 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
79902 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
79903 case $target_thread_file in
79904 posix)
79905 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
79906 esac
79908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
79909 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
79911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79912 /* end confdefs.h. */
79913 #include <unistd.h>
79915 main ()
79918 // In case of POSIX threads check _POSIX_TIMEOUTS.
79919 #if (defined(_PTHREADS) \
79920 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
79921 #error
79922 #endif
79925 return 0;
79927 _ACEOF
79928 if ac_fn_cxx_try_compile "$LINENO"; then :
79929 ac_gthread_use_mutex_timedlock=1
79930 else
79931 ac_gthread_use_mutex_timedlock=0
79933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79936 cat >>confdefs.h <<_ACEOF
79937 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
79938 _ACEOF
79941 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
79942 else res_mutex_timedlock=no ; fi
79943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
79944 $as_echo "$res_mutex_timedlock" >&6; }
79946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
79947 $as_echo_n "checking for gthreads library... " >&6; }
79949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79950 /* end confdefs.h. */
79951 #include "gthr.h"
79953 main ()
79956 #ifndef __GTHREADS_CXX0X
79957 #error
79958 #endif
79961 return 0;
79963 _ACEOF
79964 if ac_fn_cxx_try_compile "$LINENO"; then :
79965 ac_has_gthreads=yes
79966 else
79967 ac_has_gthreads=no
79969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79970 else
79971 ac_has_gthreads=no
79974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
79975 $as_echo "$ac_has_gthreads" >&6; }
79977 if test x"$ac_has_gthreads" = x"yes"; then
79979 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
79982 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
79983 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
79985 if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
79987 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
79993 CXXFLAGS="$ac_save_CXXFLAGS"
79994 ac_ext=c
79995 ac_cpp='$CPP $CPPFLAGS'
79996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80002 # For Filesystem TS.
80003 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
80004 do :
80005 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
80006 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
80007 eval as_val=\$$as_ac_Header
80008 if test "x$as_val" = x""yes; then :
80009 cat >>confdefs.h <<_ACEOF
80010 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
80011 _ACEOF
80015 done
80018 # Check whether --enable-libstdcxx-filesystem-ts was given.
80019 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
80020 enableval=$enable_libstdcxx_filesystem_ts;
80021 case "$enableval" in
80022 yes|no|auto) ;;
80023 *) as_fn_error "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
80024 esac
80026 else
80027 enable_libstdcxx_filesystem_ts=auto
80032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
80033 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
80034 if test x"$ac_cv_header_dirent_h" != x"yes"; then
80035 enable_libstdcxx_filesystem_ts=no
80037 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
80038 case "${target_os}" in
80039 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
80040 enable_libstdcxx_filesystem_ts=yes
80042 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
80043 enable_libstdcxx_filesystem_ts=yes
80045 rtems*)
80046 enable_libstdcxx_filesystem_ts=yes
80048 solaris*)
80049 enable_libstdcxx_filesystem_ts=yes
80052 enable_libstdcxx_filesystem_ts=no
80054 esac
80056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
80057 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
80061 ac_ext=cpp
80062 ac_cpp='$CXXCPP $CPPFLAGS'
80063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80067 ac_save_CXXFLAGS="$CXXFLAGS"
80068 CXXFLAGS="$CXXFLAGS -fno-exceptions"
80069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
80070 $as_echo_n "checking for struct dirent.d_type... " >&6; }
80071 if test "${glibcxx_cv_dirent_d_type+set}" = set; then :
80072 $as_echo_n "(cached) " >&6
80073 else
80074 if test x$gcc_no_link = xyes; then
80075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80076 /* end confdefs.h. */
80077 #include <dirent.h>
80079 main ()
80082 struct dirent d;
80083 if (sizeof d.d_type) return 0;
80086 return 0;
80088 _ACEOF
80089 if ac_fn_cxx_try_compile "$LINENO"; then :
80090 glibcxx_cv_dirent_d_type=yes
80091 else
80092 glibcxx_cv_dirent_d_type=no
80094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80095 else
80096 if test x$gcc_no_link = xyes; then
80097 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80100 /* end confdefs.h. */
80101 #include <dirent.h>
80103 main ()
80106 struct dirent d;
80107 if (sizeof d.d_type) return 0;
80110 return 0;
80112 _ACEOF
80113 if ac_fn_cxx_try_link "$LINENO"; then :
80114 glibcxx_cv_dirent_d_type=yes
80115 else
80116 glibcxx_cv_dirent_d_type=no
80118 rm -f core conftest.err conftest.$ac_objext \
80119 conftest$ac_exeext conftest.$ac_ext
80124 if test $glibcxx_cv_dirent_d_type = yes; then
80126 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
80129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
80130 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
80131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
80132 $as_echo_n "checking for realpath... " >&6; }
80133 if test "${glibcxx_cv_realpath+set}" = set; then :
80134 $as_echo_n "(cached) " >&6
80135 else
80136 if test x$gcc_no_link = xyes; then
80137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80138 /* end confdefs.h. */
80140 #include <limits.h>
80141 #include <stdlib.h>
80142 #include <unistd.h>
80145 main ()
80148 #if _XOPEN_VERSION < 500
80149 #error
80150 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80151 char *tmp = realpath((const char*)NULL, (char*)NULL);
80152 #else
80153 #error
80154 #endif
80157 return 0;
80159 _ACEOF
80160 if ac_fn_cxx_try_compile "$LINENO"; then :
80161 glibcxx_cv_realpath=yes
80162 else
80163 glibcxx_cv_realpath=no
80165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80166 else
80167 if test x$gcc_no_link = xyes; then
80168 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80171 /* end confdefs.h. */
80173 #include <limits.h>
80174 #include <stdlib.h>
80175 #include <unistd.h>
80178 main ()
80181 #if _XOPEN_VERSION < 500
80182 #error
80183 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80184 char *tmp = realpath((const char*)NULL, (char*)NULL);
80185 #else
80186 #error
80187 #endif
80190 return 0;
80192 _ACEOF
80193 if ac_fn_cxx_try_link "$LINENO"; then :
80194 glibcxx_cv_realpath=yes
80195 else
80196 glibcxx_cv_realpath=no
80198 rm -f core conftest.err conftest.$ac_objext \
80199 conftest$ac_exeext conftest.$ac_ext
80204 if test $glibcxx_cv_realpath = yes; then
80206 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
80209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
80210 $as_echo "$glibcxx_cv_realpath" >&6; }
80211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
80212 $as_echo_n "checking for utimensat... " >&6; }
80213 if test "${glibcxx_cv_utimensat+set}" = set; then :
80214 $as_echo_n "(cached) " >&6
80215 else
80216 if test x$gcc_no_link = xyes; then
80217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80218 /* end confdefs.h. */
80220 #include <fcntl.h>
80221 #include <sys/stat.h>
80224 main ()
80227 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80228 int i = utimensat(AT_FDCWD, "path", ts, 0);
80231 return 0;
80233 _ACEOF
80234 if ac_fn_cxx_try_compile "$LINENO"; then :
80235 glibcxx_cv_utimensat=yes
80236 else
80237 glibcxx_cv_utimensat=no
80239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80240 else
80241 if test x$gcc_no_link = xyes; then
80242 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80245 /* end confdefs.h. */
80247 #include <fcntl.h>
80248 #include <sys/stat.h>
80251 main ()
80254 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80255 int i = utimensat(AT_FDCWD, "path", ts, 0);
80258 return 0;
80260 _ACEOF
80261 if ac_fn_cxx_try_link "$LINENO"; then :
80262 glibcxx_cv_utimensat=yes
80263 else
80264 glibcxx_cv_utimensat=no
80266 rm -f core conftest.err conftest.$ac_objext \
80267 conftest$ac_exeext conftest.$ac_ext
80272 if test $glibcxx_cv_utimensat = yes; then
80274 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
80277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
80278 $as_echo "$glibcxx_cv_utimensat" >&6; }
80279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
80280 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
80281 if test "${glibcxx_cv_st_mtim+set}" = set; then :
80282 $as_echo_n "(cached) " >&6
80283 else
80284 if test x$gcc_no_link = xyes; then
80285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80286 /* end confdefs.h. */
80287 #include <sys/stat.h>
80289 main ()
80292 struct stat st;
80293 return st.st_mtim.tv_nsec;
80296 return 0;
80298 _ACEOF
80299 if ac_fn_cxx_try_compile "$LINENO"; then :
80300 glibcxx_cv_st_mtim=yes
80301 else
80302 glibcxx_cv_st_mtim=no
80304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80305 else
80306 if test x$gcc_no_link = xyes; then
80307 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80310 /* end confdefs.h. */
80311 #include <sys/stat.h>
80313 main ()
80316 struct stat st;
80317 return st.st_mtim.tv_nsec;
80320 return 0;
80322 _ACEOF
80323 if ac_fn_cxx_try_link "$LINENO"; then :
80324 glibcxx_cv_st_mtim=yes
80325 else
80326 glibcxx_cv_st_mtim=no
80328 rm -f core conftest.err conftest.$ac_objext \
80329 conftest$ac_exeext conftest.$ac_ext
80334 if test $glibcxx_cv_st_mtim = yes; then
80336 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
80339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
80340 $as_echo "$glibcxx_cv_st_mtim" >&6; }
80341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
80342 $as_echo_n "checking for fchmod... " >&6; }
80343 if test "${glibcxx_cv_fchmod+set}" = set; then :
80344 $as_echo_n "(cached) " >&6
80345 else
80346 if test x$gcc_no_link = xyes; then
80347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80348 /* end confdefs.h. */
80349 #include <sys/stat.h>
80351 main ()
80353 fchmod(1, S_IWUSR);
80355 return 0;
80357 _ACEOF
80358 if ac_fn_cxx_try_compile "$LINENO"; then :
80359 glibcxx_cv_fchmod=yes
80360 else
80361 glibcxx_cv_fchmod=no
80363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80364 else
80365 if test x$gcc_no_link = xyes; then
80366 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80369 /* end confdefs.h. */
80370 #include <sys/stat.h>
80372 main ()
80374 fchmod(1, S_IWUSR);
80376 return 0;
80378 _ACEOF
80379 if ac_fn_cxx_try_link "$LINENO"; then :
80380 glibcxx_cv_fchmod=yes
80381 else
80382 glibcxx_cv_fchmod=no
80384 rm -f core conftest.err conftest.$ac_objext \
80385 conftest$ac_exeext conftest.$ac_ext
80390 if test $glibcxx_cv_fchmod = yes; then
80392 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
80395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
80396 $as_echo "$glibcxx_cv_fchmod" >&6; }
80397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
80398 $as_echo_n "checking for fchmodat... " >&6; }
80399 if test "${glibcxx_cv_fchmodat+set}" = set; then :
80400 $as_echo_n "(cached) " >&6
80401 else
80402 if test x$gcc_no_link = xyes; then
80403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80404 /* end confdefs.h. */
80406 #include <fcntl.h>
80407 #include <sys/stat.h>
80410 main ()
80412 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80414 return 0;
80416 _ACEOF
80417 if ac_fn_cxx_try_compile "$LINENO"; then :
80418 glibcxx_cv_fchmodat=yes
80419 else
80420 glibcxx_cv_fchmodat=no
80422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80423 else
80424 if test x$gcc_no_link = xyes; then
80425 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80428 /* end confdefs.h. */
80430 #include <fcntl.h>
80431 #include <sys/stat.h>
80434 main ()
80436 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80438 return 0;
80440 _ACEOF
80441 if ac_fn_cxx_try_link "$LINENO"; then :
80442 glibcxx_cv_fchmodat=yes
80443 else
80444 glibcxx_cv_fchmodat=no
80446 rm -f core conftest.err conftest.$ac_objext \
80447 conftest$ac_exeext conftest.$ac_ext
80452 if test $glibcxx_cv_fchmodat = yes; then
80454 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
80457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
80458 $as_echo "$glibcxx_cv_fchmodat" >&6; }
80459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
80460 $as_echo_n "checking for sendfile that can copy files... " >&6; }
80461 if test "${glibcxx_cv_sendfile+set}" = set; then :
80462 $as_echo_n "(cached) " >&6
80463 else
80464 case "${target_os}" in
80465 gnu* | linux* | solaris*)
80466 if test x$gcc_no_link = xyes; then
80467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80468 /* end confdefs.h. */
80469 #include <sys/sendfile.h>
80471 main ()
80473 sendfile(1, 2, (off_t*)0, sizeof 1);
80475 return 0;
80477 _ACEOF
80478 if ac_fn_cxx_try_compile "$LINENO"; then :
80479 glibcxx_cv_sendfile=yes
80480 else
80481 glibcxx_cv_sendfile=no
80483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80484 else
80485 if test x$gcc_no_link = xyes; then
80486 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80489 /* end confdefs.h. */
80490 #include <sys/sendfile.h>
80492 main ()
80494 sendfile(1, 2, (off_t*)0, sizeof 1);
80496 return 0;
80498 _ACEOF
80499 if ac_fn_cxx_try_link "$LINENO"; then :
80500 glibcxx_cv_sendfile=yes
80501 else
80502 glibcxx_cv_sendfile=no
80504 rm -f core conftest.err conftest.$ac_objext \
80505 conftest$ac_exeext conftest.$ac_ext
80509 glibcxx_cv_sendfile=no
80511 esac
80515 if test $glibcxx_cv_sendfile = yes; then
80517 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
80520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
80521 $as_echo "$glibcxx_cv_sendfile" >&6; }
80522 CXXFLAGS="$ac_save_CXXFLAGS"
80523 ac_ext=c
80524 ac_cpp='$CPP $CPPFLAGS'
80525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80531 # For Transactional Memory TS
80533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
80534 $as_echo_n "checking how size_t is mangled... " >&6; }
80535 if test "${glibcxx_cv_size_t_mangling+set}" = set; then :
80536 $as_echo_n "(cached) " >&6
80537 else
80539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80540 /* end confdefs.h. */
80543 main ()
80545 extern __SIZE_TYPE__ x; extern unsigned long x;
80547 return 0;
80549 _ACEOF
80550 if ac_fn_c_try_compile "$LINENO"; then :
80551 glibcxx_cv_size_t_mangling=m
80552 else
80554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80555 /* end confdefs.h. */
80558 main ()
80560 extern __SIZE_TYPE__ x; extern unsigned int x;
80562 return 0;
80564 _ACEOF
80565 if ac_fn_c_try_compile "$LINENO"; then :
80566 glibcxx_cv_size_t_mangling=j
80567 else
80569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80570 /* end confdefs.h. */
80573 main ()
80575 extern __SIZE_TYPE__ x; extern unsigned long long x;
80577 return 0;
80579 _ACEOF
80580 if ac_fn_c_try_compile "$LINENO"; then :
80581 glibcxx_cv_size_t_mangling=y
80582 else
80584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80585 /* end confdefs.h. */
80588 main ()
80590 extern __SIZE_TYPE__ x; extern unsigned short x;
80592 return 0;
80594 _ACEOF
80595 if ac_fn_c_try_compile "$LINENO"; then :
80596 glibcxx_cv_size_t_mangling=t
80597 else
80599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80600 /* end confdefs.h. */
80603 main ()
80605 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
80607 return 0;
80609 _ACEOF
80610 if ac_fn_c_try_compile "$LINENO"; then :
80611 glibcxx_cv_size_t_mangling=u6uint20
80612 else
80613 glibcxx_cv_size_t_mangling=x
80615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
80631 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
80632 if test $glibcxx_cv_size_t_mangling = x; then
80633 as_fn_error "Unknown underlying type for size_t" "$LINENO" 5
80636 cat >>confdefs.h <<_ACEOF
80637 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
80638 _ACEOF
80642 # Check which release added std::exception_ptr for the target
80644 if test $enable_symvers != no; then
80645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
80646 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
80647 case ${target} in
80648 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
80649 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
80650 ac_exception_ptr_since_gcc46=yes
80653 # If the value of this macro changes then we will need to hardcode
80654 # yes/no here for additional targets based on the original value.
80655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80656 /* end confdefs.h. */
80659 main ()
80662 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
80663 # error atomic int not always lock free
80664 #endif
80667 return 0;
80669 _ACEOF
80670 if ac_fn_c_try_compile "$LINENO"; then :
80671 ac_exception_ptr_since_gcc46=yes
80672 else
80673 ac_exception_ptr_since_gcc46=no
80675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80677 esac
80678 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
80680 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
80682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
80683 $as_echo "4.6.0" >&6; }
80684 else
80685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
80686 $as_echo "7.1.0" >&6; }
80691 # Define documentation rules conditionally.
80693 # See if makeinfo has been installed and is modern enough
80694 # that we can use it.
80696 # Extract the first word of "makeinfo", so it can be a program name with args.
80697 set dummy makeinfo; ac_word=$2
80698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80699 $as_echo_n "checking for $ac_word... " >&6; }
80700 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
80701 $as_echo_n "(cached) " >&6
80702 else
80703 if test -n "$MAKEINFO"; then
80704 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
80705 else
80706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80707 for as_dir in $PATH
80709 IFS=$as_save_IFS
80710 test -z "$as_dir" && as_dir=.
80711 for ac_exec_ext in '' $ac_executable_extensions; do
80712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80713 ac_cv_prog_MAKEINFO="makeinfo"
80714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80715 break 2
80717 done
80718 done
80719 IFS=$as_save_IFS
80723 MAKEINFO=$ac_cv_prog_MAKEINFO
80724 if test -n "$MAKEINFO"; then
80725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
80726 $as_echo "$MAKEINFO" >&6; }
80727 else
80728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80729 $as_echo "no" >&6; }
80733 if test -n "$MAKEINFO"; then
80734 # Found it, now check the version.
80735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
80736 $as_echo_n "checking for modern makeinfo... " >&6; }
80737 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
80738 $as_echo_n "(cached) " >&6
80739 else
80740 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
80741 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
80743 case $ac_prog_version in
80744 '') gcc_cv_prog_makeinfo_modern=no;;
80745 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
80746 *) gcc_cv_prog_makeinfo_modern=no;;
80747 esac
80750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
80751 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
80752 else
80753 gcc_cv_prog_makeinfo_modern=no
80755 if test $gcc_cv_prog_makeinfo_modern = no; then
80756 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
80759 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
80760 BUILD_INFO_TRUE=
80761 BUILD_INFO_FALSE='#'
80762 else
80763 BUILD_INFO_TRUE='#'
80764 BUILD_INFO_FALSE=
80768 # Check for doxygen
80769 # Extract the first word of "doxygen", so it can be a program name with args.
80770 set dummy doxygen; ac_word=$2
80771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80772 $as_echo_n "checking for $ac_word... " >&6; }
80773 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
80774 $as_echo_n "(cached) " >&6
80775 else
80776 if test -n "$DOXYGEN"; then
80777 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
80778 else
80779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80780 for as_dir in $PATH
80782 IFS=$as_save_IFS
80783 test -z "$as_dir" && as_dir=.
80784 for ac_exec_ext in '' $ac_executable_extensions; do
80785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80786 ac_cv_prog_DOXYGEN="yes"
80787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80788 break 2
80790 done
80791 done
80792 IFS=$as_save_IFS
80794 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
80797 DOXYGEN=$ac_cv_prog_DOXYGEN
80798 if test -n "$DOXYGEN"; then
80799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
80800 $as_echo "$DOXYGEN" >&6; }
80801 else
80802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80803 $as_echo "no" >&6; }
80807 # Extract the first word of "dot", so it can be a program name with args.
80808 set dummy dot; ac_word=$2
80809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80810 $as_echo_n "checking for $ac_word... " >&6; }
80811 if test "${ac_cv_prog_DOT+set}" = set; then :
80812 $as_echo_n "(cached) " >&6
80813 else
80814 if test -n "$DOT"; then
80815 ac_cv_prog_DOT="$DOT" # Let the user override the test.
80816 else
80817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80818 for as_dir in $PATH
80820 IFS=$as_save_IFS
80821 test -z "$as_dir" && as_dir=.
80822 for ac_exec_ext in '' $ac_executable_extensions; do
80823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80824 ac_cv_prog_DOT="yes"
80825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80826 break 2
80828 done
80829 done
80830 IFS=$as_save_IFS
80832 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
80835 DOT=$ac_cv_prog_DOT
80836 if test -n "$DOT"; then
80837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
80838 $as_echo "$DOT" >&6; }
80839 else
80840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80841 $as_echo "no" >&6; }
80846 # Check for docbook
80847 # Extract the first word of "xsltproc", so it can be a program name with args.
80848 set dummy xsltproc; ac_word=$2
80849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80850 $as_echo_n "checking for $ac_word... " >&6; }
80851 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
80852 $as_echo_n "(cached) " >&6
80853 else
80854 if test -n "$XSLTPROC"; then
80855 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
80856 else
80857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80858 for as_dir in $PATH
80860 IFS=$as_save_IFS
80861 test -z "$as_dir" && as_dir=.
80862 for ac_exec_ext in '' $ac_executable_extensions; do
80863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80864 ac_cv_prog_XSLTPROC="yes"
80865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80866 break 2
80868 done
80869 done
80870 IFS=$as_save_IFS
80872 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
80875 XSLTPROC=$ac_cv_prog_XSLTPROC
80876 if test -n "$XSLTPROC"; then
80877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
80878 $as_echo "$XSLTPROC" >&6; }
80879 else
80880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80881 $as_echo "no" >&6; }
80885 # Extract the first word of "xmllint", so it can be a program name with args.
80886 set dummy xmllint; ac_word=$2
80887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80888 $as_echo_n "checking for $ac_word... " >&6; }
80889 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
80890 $as_echo_n "(cached) " >&6
80891 else
80892 if test -n "$XMLLINT"; then
80893 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
80894 else
80895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80896 for as_dir in $PATH
80898 IFS=$as_save_IFS
80899 test -z "$as_dir" && as_dir=.
80900 for ac_exec_ext in '' $ac_executable_extensions; do
80901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80902 ac_cv_prog_XMLLINT="yes"
80903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80904 break 2
80906 done
80907 done
80908 IFS=$as_save_IFS
80910 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
80913 XMLLINT=$ac_cv_prog_XMLLINT
80914 if test -n "$XMLLINT"; then
80915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
80916 $as_echo "$XMLLINT" >&6; }
80917 else
80918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80919 $as_echo "no" >&6; }
80925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
80926 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
80927 glibcxx_stylesheets=no
80928 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
80929 glibcxx_stylesheets=yes
80931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
80932 $as_echo "$glibcxx_stylesheets" >&6; }
80934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
80935 $as_echo_n "checking for local stylesheet directory... " >&6; }
80936 glibcxx_local_stylesheets=no
80937 if test x"$glibcxx_stylesheets" = x"yes"; then
80938 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
80939 glibcxx_local_stylesheets=yes
80940 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
80942 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
80943 glibcxx_local_stylesheets=yes
80944 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
80946 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
80947 glibcxx_local_stylesheets=yes
80948 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
80951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
80952 $as_echo "$glibcxx_local_stylesheets" >&6; }
80954 if test x"$glibcxx_local_stylesheets" = x"yes"; then
80956 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
80957 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
80958 else
80959 glibcxx_stylesheets=no
80962 # Check for epub3 dependencies.
80963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
80964 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
80965 glibcxx_epub_stylesheets=no
80966 if test x"$glibcxx_local_stylesheets" = x"yes"; then
80967 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
80968 glibcxx_epub_stylesheets=yes
80971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
80972 $as_echo "$glibcxx_epub_stylesheets" >&6; }
80973 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
80974 BUILD_EPUB_TRUE=
80975 BUILD_EPUB_FALSE='#'
80976 else
80977 BUILD_EPUB_TRUE='#'
80978 BUILD_EPUB_FALSE=
80984 # Check for xml/html dependencies.
80985 if test $ac_cv_prog_DOXYGEN = "yes" &&
80986 test $ac_cv_prog_DOT = "yes" &&
80987 test $ac_cv_prog_XSLTPROC = "yes" &&
80988 test $ac_cv_prog_XMLLINT = "yes" &&
80989 test $glibcxx_stylesheets = "yes"; then
80990 BUILD_XML_TRUE=
80991 BUILD_XML_FALSE='#'
80992 else
80993 BUILD_XML_TRUE='#'
80994 BUILD_XML_FALSE=
80998 if test $ac_cv_prog_DOXYGEN = "yes" &&
80999 test $ac_cv_prog_DOT = "yes" &&
81000 test $ac_cv_prog_XSLTPROC = "yes" &&
81001 test $ac_cv_prog_XMLLINT = "yes" &&
81002 test $glibcxx_stylesheets = "yes"; then
81003 BUILD_HTML_TRUE=
81004 BUILD_HTML_FALSE='#'
81005 else
81006 BUILD_HTML_TRUE='#'
81007 BUILD_HTML_FALSE=
81011 # Check for man dependencies.
81012 if test $ac_cv_prog_DOXYGEN = "yes" &&
81013 test $ac_cv_prog_DOT = "yes"; then
81014 BUILD_MAN_TRUE=
81015 BUILD_MAN_FALSE='#'
81016 else
81017 BUILD_MAN_TRUE='#'
81018 BUILD_MAN_FALSE=
81022 # Check for pdf dependencies.
81023 # Extract the first word of "dblatex", so it can be a program name with args.
81024 set dummy dblatex; ac_word=$2
81025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81026 $as_echo_n "checking for $ac_word... " >&6; }
81027 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
81028 $as_echo_n "(cached) " >&6
81029 else
81030 if test -n "$DBLATEX"; then
81031 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
81032 else
81033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81034 for as_dir in $PATH
81036 IFS=$as_save_IFS
81037 test -z "$as_dir" && as_dir=.
81038 for ac_exec_ext in '' $ac_executable_extensions; do
81039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81040 ac_cv_prog_DBLATEX="yes"
81041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81042 break 2
81044 done
81045 done
81046 IFS=$as_save_IFS
81048 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
81051 DBLATEX=$ac_cv_prog_DBLATEX
81052 if test -n "$DBLATEX"; then
81053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
81054 $as_echo "$DBLATEX" >&6; }
81055 else
81056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81057 $as_echo "no" >&6; }
81061 # Extract the first word of "pdflatex", so it can be a program name with args.
81062 set dummy pdflatex; ac_word=$2
81063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81064 $as_echo_n "checking for $ac_word... " >&6; }
81065 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
81066 $as_echo_n "(cached) " >&6
81067 else
81068 if test -n "$PDFLATEX"; then
81069 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
81070 else
81071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81072 for as_dir in $PATH
81074 IFS=$as_save_IFS
81075 test -z "$as_dir" && as_dir=.
81076 for ac_exec_ext in '' $ac_executable_extensions; do
81077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81078 ac_cv_prog_PDFLATEX="yes"
81079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81080 break 2
81082 done
81083 done
81084 IFS=$as_save_IFS
81086 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
81089 PDFLATEX=$ac_cv_prog_PDFLATEX
81090 if test -n "$PDFLATEX"; then
81091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
81092 $as_echo "$PDFLATEX" >&6; }
81093 else
81094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81095 $as_echo "no" >&6; }
81099 if test $ac_cv_prog_DBLATEX = "yes" &&
81100 test $ac_cv_prog_PDFLATEX = "yes"; then
81101 BUILD_PDF_TRUE=
81102 BUILD_PDF_FALSE='#'
81103 else
81104 BUILD_PDF_TRUE='#'
81105 BUILD_PDF_FALSE=
81109 case "$build" in
81110 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
81111 * ) glibcxx_include_dir_notparallel=no ;;
81112 esac
81113 if test $glibcxx_include_dir_notparallel = "yes"; then
81114 INCLUDE_DIR_NOTPARALLEL_TRUE=
81115 INCLUDE_DIR_NOTPARALLEL_FALSE='#'
81116 else
81117 INCLUDE_DIR_NOTPARALLEL_TRUE='#'
81118 INCLUDE_DIR_NOTPARALLEL_FALSE=
81122 # Propagate the target-specific source directories through the build chain.
81123 ATOMICITY_SRCDIR=config/${atomicity_dir}
81124 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
81125 ATOMIC_FLAGS=${atomic_flags}
81126 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
81127 OS_INC_SRCDIR=config/${os_include_dir}
81128 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
81129 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
81130 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
81131 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
81143 # Add CET specific flags if Intel CET is enabled.
81144 # Check whether --enable-cet was given.
81145 if test "${enable_cet+set}" = set; then :
81146 enableval=$enable_cet;
81147 case "$enableval" in
81148 yes|no|auto) ;;
81149 *) as_fn_error "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
81150 esac
81152 else
81153 enable_cet=no
81157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
81158 $as_echo_n "checking for CET support... " >&6; }
81160 case "$host" in
81161 i[34567]86-*-linux* | x86_64-*-linux*)
81162 case "$enable_cet" in
81163 auto)
81164 # Check if target supports multi-byte NOPs
81165 # and if assembler supports CET insn.
81166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81167 /* end confdefs.h. */
81170 main ()
81173 #if !defined(__SSE2__)
81174 #error target does not support multi-byte NOPs
81175 #else
81176 asm ("setssbsy");
81177 #endif
81180 return 0;
81182 _ACEOF
81183 if ac_fn_c_try_compile "$LINENO"; then :
81184 enable_cet=yes
81185 else
81186 enable_cet=no
81188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81190 yes)
81191 # Check if assembler supports CET.
81192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81193 /* end confdefs.h. */
81196 main ()
81198 asm ("setssbsy");
81200 return 0;
81202 _ACEOF
81203 if ac_fn_c_try_compile "$LINENO"; then :
81205 else
81206 as_fn_error "assembler with CET support is required for --enable-cet" "$LINENO" 5
81208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81210 esac
81213 enable_cet=no
81215 esac
81216 if test x$enable_cet = xyes; then
81217 CET_FLAGS="-fcf-protection -mcet"
81218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
81219 $as_echo "yes" >&6; }
81220 else
81221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81222 $as_echo "no" >&6; }
81225 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
81226 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
81230 # Determine cross-compile flags and AM_CONDITIONALs.
81231 #AC_SUBST(GLIBCXX_IS_NATIVE)
81232 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
81233 if test $is_hosted = yes; then
81234 GLIBCXX_HOSTED_TRUE=
81235 GLIBCXX_HOSTED_FALSE='#'
81236 else
81237 GLIBCXX_HOSTED_TRUE='#'
81238 GLIBCXX_HOSTED_FALSE=
81242 if test $enable_libstdcxx_pch = yes; then
81243 GLIBCXX_BUILD_PCH_TRUE=
81244 GLIBCXX_BUILD_PCH_FALSE='#'
81245 else
81246 GLIBCXX_BUILD_PCH_TRUE='#'
81247 GLIBCXX_BUILD_PCH_FALSE=
81251 if test $enable_libstdcxx_allocator_flag = new; then
81252 ENABLE_ALLOCATOR_NEW_TRUE=
81253 ENABLE_ALLOCATOR_NEW_FALSE='#'
81254 else
81255 ENABLE_ALLOCATOR_NEW_TRUE='#'
81256 ENABLE_ALLOCATOR_NEW_FALSE=
81260 if test $enable_cheaders = c; then
81261 GLIBCXX_C_HEADERS_C_TRUE=
81262 GLIBCXX_C_HEADERS_C_FALSE='#'
81263 else
81264 GLIBCXX_C_HEADERS_C_TRUE='#'
81265 GLIBCXX_C_HEADERS_C_FALSE=
81269 if test $enable_cheaders = c_std; then
81270 GLIBCXX_C_HEADERS_C_STD_TRUE=
81271 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
81272 else
81273 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
81274 GLIBCXX_C_HEADERS_C_STD_FALSE=
81278 if test $enable_cheaders = c_global; then
81279 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
81280 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
81281 else
81282 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
81283 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
81287 if test $c_compatibility = yes; then
81288 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
81289 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
81290 else
81291 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
81292 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
81296 if test $enable_libstdcxx_debug = yes; then
81297 GLIBCXX_BUILD_DEBUG_TRUE=
81298 GLIBCXX_BUILD_DEBUG_FALSE='#'
81299 else
81300 GLIBCXX_BUILD_DEBUG_TRUE='#'
81301 GLIBCXX_BUILD_DEBUG_FALSE=
81305 if test $enable_extern_template = yes; then
81306 ENABLE_EXTERN_TEMPLATE_TRUE=
81307 ENABLE_EXTERN_TEMPLATE_FALSE='#'
81308 else
81309 ENABLE_EXTERN_TEMPLATE_TRUE='#'
81310 ENABLE_EXTERN_TEMPLATE_FALSE=
81314 if test $python_mod_dir != no; then
81315 ENABLE_PYTHONDIR_TRUE=
81316 ENABLE_PYTHONDIR_FALSE='#'
81317 else
81318 ENABLE_PYTHONDIR_TRUE='#'
81319 ENABLE_PYTHONDIR_FALSE=
81323 if test $enable_werror = yes; then
81324 ENABLE_WERROR_TRUE=
81325 ENABLE_WERROR_FALSE='#'
81326 else
81327 ENABLE_WERROR_TRUE='#'
81328 ENABLE_WERROR_FALSE=
81332 if test $enable_vtable_verify = yes; then
81333 ENABLE_VTABLE_VERIFY_TRUE=
81334 ENABLE_VTABLE_VERIFY_FALSE='#'
81335 else
81336 ENABLE_VTABLE_VERIFY_TRUE='#'
81337 ENABLE_VTABLE_VERIFY_FALSE=
81341 if test $enable_symvers != no; then
81342 ENABLE_SYMVERS_TRUE=
81343 ENABLE_SYMVERS_FALSE='#'
81344 else
81345 ENABLE_SYMVERS_TRUE='#'
81346 ENABLE_SYMVERS_FALSE=
81350 if test $enable_symvers = gnu; then
81351 ENABLE_SYMVERS_GNU_TRUE=
81352 ENABLE_SYMVERS_GNU_FALSE='#'
81353 else
81354 ENABLE_SYMVERS_GNU_TRUE='#'
81355 ENABLE_SYMVERS_GNU_FALSE=
81359 if test $enable_symvers = gnu-versioned-namespace; then
81360 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
81361 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
81362 else
81363 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
81364 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
81368 if test $enable_symvers = darwin; then
81369 ENABLE_SYMVERS_DARWIN_TRUE=
81370 ENABLE_SYMVERS_DARWIN_FALSE='#'
81371 else
81372 ENABLE_SYMVERS_DARWIN_TRUE='#'
81373 ENABLE_SYMVERS_DARWIN_FALSE=
81377 if test $enable_symvers = sun; then
81378 ENABLE_SYMVERS_SUN_TRUE=
81379 ENABLE_SYMVERS_SUN_FALSE='#'
81380 else
81381 ENABLE_SYMVERS_SUN_TRUE='#'
81382 ENABLE_SYMVERS_SUN_FALSE=
81386 if test $enable_libstdcxx_visibility = yes; then
81387 ENABLE_VISIBILITY_TRUE=
81388 ENABLE_VISIBILITY_FALSE='#'
81389 else
81390 ENABLE_VISIBILITY_TRUE='#'
81391 ENABLE_VISIBILITY_FALSE=
81395 if test $enable_libstdcxx_dual_abi = yes; then
81396 ENABLE_DUAL_ABI_TRUE=
81397 ENABLE_DUAL_ABI_FALSE='#'
81398 else
81399 ENABLE_DUAL_ABI_TRUE='#'
81400 ENABLE_DUAL_ABI_FALSE=
81404 if test $glibcxx_cxx11_abi = 1; then
81405 ENABLE_CXX11_ABI_TRUE=
81406 ENABLE_CXX11_ABI_FALSE='#'
81407 else
81408 ENABLE_CXX11_ABI_TRUE='#'
81409 ENABLE_CXX11_ABI_FALSE=
81413 if test $ac_ldbl_compat = yes; then
81414 GLIBCXX_LDBL_COMPAT_TRUE=
81415 GLIBCXX_LDBL_COMPAT_FALSE='#'
81416 else
81417 GLIBCXX_LDBL_COMPAT_TRUE='#'
81418 GLIBCXX_LDBL_COMPAT_FALSE=
81422 if test $enable_libstdcxx_filesystem_ts = yes; then
81423 ENABLE_FILESYSTEM_TS_TRUE=
81424 ENABLE_FILESYSTEM_TS_FALSE='#'
81425 else
81426 ENABLE_FILESYSTEM_TS_TRUE='#'
81427 ENABLE_FILESYSTEM_TS_FALSE=
81433 cat >confcache <<\_ACEOF
81434 # This file is a shell script that caches the results of configure
81435 # tests run on this system so they can be shared between configure
81436 # scripts and configure runs, see configure's option --config-cache.
81437 # It is not useful on other systems. If it contains results you don't
81438 # want to keep, you may remove or edit it.
81440 # config.status only pays attention to the cache file if you give it
81441 # the --recheck option to rerun configure.
81443 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81444 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81445 # following values.
81447 _ACEOF
81449 # The following way of writing the cache mishandles newlines in values,
81450 # but we know of no workaround that is simple, portable, and efficient.
81451 # So, we kill variables containing newlines.
81452 # Ultrix sh set writes to stderr and can't be redirected directly,
81453 # and sets the high bit in the cache file unless we assign to the vars.
81455 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81456 eval ac_val=\$$ac_var
81457 case $ac_val in #(
81458 *${as_nl}*)
81459 case $ac_var in #(
81460 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81461 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81462 esac
81463 case $ac_var in #(
81464 _ | IFS | as_nl) ;; #(
81465 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81466 *) { eval $ac_var=; unset $ac_var;} ;;
81467 esac ;;
81468 esac
81469 done
81471 (set) 2>&1 |
81472 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81473 *${as_nl}ac_space=\ *)
81474 # `set' does not quote correctly, so add quotes: double-quote
81475 # substitution turns \\\\ into \\, and sed turns \\ into \.
81476 sed -n \
81477 "s/'/'\\\\''/g;
81478 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81479 ;; #(
81481 # `set' quotes correctly as required by POSIX, so do not add quotes.
81482 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81484 esac |
81485 sort
81487 sed '
81488 /^ac_cv_env_/b end
81489 t clear
81490 :clear
81491 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81492 t end
81493 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81494 :end' >>confcache
81495 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81496 if test -w "$cache_file"; then
81497 test "x$cache_file" != "x/dev/null" &&
81498 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81499 $as_echo "$as_me: updating cache $cache_file" >&6;}
81500 cat confcache >$cache_file
81501 else
81502 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81503 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81506 rm -f confcache
81508 if test ${multilib} = yes; then
81509 multilib_arg="--enable-multilib"
81510 else
81511 multilib_arg=
81514 # Export all the install information.
81516 glibcxx_toolexecdir=no
81517 glibcxx_toolexeclibdir=no
81518 glibcxx_prefixdir=$prefix
81520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
81521 $as_echo_n "checking for gxx-include-dir... " >&6; }
81523 # Check whether --with-gxx-include-dir was given.
81524 if test "${with_gxx_include_dir+set}" = set; then :
81525 withval=$with_gxx_include_dir; case "$withval" in
81526 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
81527 no) gxx_include_dir=no ;;
81528 *) gxx_include_dir=$withval ;;
81529 esac
81530 else
81531 gxx_include_dir=no
81534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81535 $as_echo "$gxx_include_dir" >&6; }
81537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
81538 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
81539 # Check whether --enable-version-specific-runtime-libs was given.
81540 if test "${enable_version_specific_runtime_libs+set}" = set; then :
81541 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
81542 yes) version_specific_libs=yes ;;
81543 no) version_specific_libs=no ;;
81544 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
81545 esac
81546 else
81547 version_specific_libs=no
81550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
81551 $as_echo "$version_specific_libs" >&6; }
81553 # Default case for install directory for include files.
81554 if test $version_specific_libs = no && test $gxx_include_dir = no; then
81555 gxx_include_dir='include/c++/${gcc_version}'
81556 if test -n "$with_cross_host" &&
81557 test x"$with_cross_host" != x"no"; then
81558 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
81559 else
81560 gxx_include_dir='${prefix}/'"$gxx_include_dir"
81564 # Version-specific runtime libs processing.
81565 if test $version_specific_libs = yes; then
81566 # Need the gcc compiler version to know where to install libraries
81567 # and header files if --enable-version-specific-runtime-libs option
81568 # is selected. FIXME: these variables are misnamed, there are
81569 # no executables installed in _toolexecdir or _toolexeclibdir.
81570 if test x"$gxx_include_dir" = x"no"; then
81571 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
81573 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81574 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
81577 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
81578 # Install a library built with a cross compiler in tooldir, not libdir.
81579 if test x"$glibcxx_toolexecdir" = x"no"; then
81580 if test -n "$with_cross_host" &&
81581 test x"$with_cross_host" != x"no"; then
81582 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
81583 glibcxx_toolexeclibdir='${toolexecdir}/lib'
81584 else
81585 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81586 glibcxx_toolexeclibdir='${libdir}'
81588 multi_os_directory=`$CXX -print-multi-os-directory`
81589 case $multi_os_directory in
81590 .) ;; # Avoid trailing /.
81591 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
81592 esac
81595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
81596 $as_echo_n "checking for install location... " >&6; }
81597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81598 $as_echo "$gxx_include_dir" >&6; }
81606 # Export all the include and flag information to Makefiles.
81608 # Used for every C++ compile we perform.
81609 GLIBCXX_INCLUDES="\
81610 -I$glibcxx_builddir/include/$host_alias \
81611 -I$glibcxx_builddir/include \
81612 -I$glibcxx_srcdir/libsupc++"
81614 # For Canadian crosses, pick this up too.
81615 if test $CANADIAN = yes; then
81616 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
81619 # Stuff in the actual top level. Currently only used by libsupc++ to
81620 # get unwind* headers from the libgcc dir.
81621 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
81622 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
81624 # Now, export this to all the little Makefiles....
81629 # Optimization flags that are probably a good idea for thrill-seekers. Just
81630 # uncomment the lines below and make, everything else is ready to go...
81631 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
81632 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
81635 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
81639 # Determine what GCC version number to use in filesystem paths.
81641 get_gcc_base_ver="cat"
81643 # Check whether --with-gcc-major-version-only was given.
81644 if test "${with_gcc_major_version_only+set}" = set; then :
81645 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
81646 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
81654 ac_config_files="$ac_config_files Makefile"
81656 ac_config_files="$ac_config_files scripts/testsuite_flags"
81658 ac_config_files="$ac_config_files scripts/extract_symvers"
81660 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
81663 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
81664 # that multilib installs will end up installed in the correct place.
81665 # The testsuite needs it for multilib-aware ABI baseline files.
81666 # To work around this not being passed down from config-ml.in ->
81667 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
81668 # append it here. Only modify Makefiles that have just been created.
81670 # Also, get rid of this simulated-VPATH thing that automake does.
81671 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"
81674 ac_config_commands="$ac_config_commands generate-headers"
81677 cat >confcache <<\_ACEOF
81678 # This file is a shell script that caches the results of configure
81679 # tests run on this system so they can be shared between configure
81680 # scripts and configure runs, see configure's option --config-cache.
81681 # It is not useful on other systems. If it contains results you don't
81682 # want to keep, you may remove or edit it.
81684 # config.status only pays attention to the cache file if you give it
81685 # the --recheck option to rerun configure.
81687 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81688 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81689 # following values.
81691 _ACEOF
81693 # The following way of writing the cache mishandles newlines in values,
81694 # but we know of no workaround that is simple, portable, and efficient.
81695 # So, we kill variables containing newlines.
81696 # Ultrix sh set writes to stderr and can't be redirected directly,
81697 # and sets the high bit in the cache file unless we assign to the vars.
81699 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81700 eval ac_val=\$$ac_var
81701 case $ac_val in #(
81702 *${as_nl}*)
81703 case $ac_var in #(
81704 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81705 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81706 esac
81707 case $ac_var in #(
81708 _ | IFS | as_nl) ;; #(
81709 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81710 *) { eval $ac_var=; unset $ac_var;} ;;
81711 esac ;;
81712 esac
81713 done
81715 (set) 2>&1 |
81716 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81717 *${as_nl}ac_space=\ *)
81718 # `set' does not quote correctly, so add quotes: double-quote
81719 # substitution turns \\\\ into \\, and sed turns \\ into \.
81720 sed -n \
81721 "s/'/'\\\\''/g;
81722 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81723 ;; #(
81725 # `set' quotes correctly as required by POSIX, so do not add quotes.
81726 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81728 esac |
81729 sort
81731 sed '
81732 /^ac_cv_env_/b end
81733 t clear
81734 :clear
81735 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81736 t end
81737 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81738 :end' >>confcache
81739 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81740 if test -w "$cache_file"; then
81741 test "x$cache_file" != "x/dev/null" &&
81742 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81743 $as_echo "$as_me: updating cache $cache_file" >&6;}
81744 cat confcache >$cache_file
81745 else
81746 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81747 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81750 rm -f confcache
81752 test "x$prefix" = xNONE && prefix=$ac_default_prefix
81753 # Let make expand exec_prefix.
81754 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
81756 DEFS=-DHAVE_CONFIG_H
81758 ac_libobjs=
81759 ac_ltlibobjs=
81760 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
81761 # 1. Remove the extension, and $U if already installed.
81762 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
81763 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
81764 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
81765 # will be set to the directory where LIBOBJS objects are built.
81766 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
81767 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
81768 done
81769 LIBOBJS=$ac_libobjs
81771 LTLIBOBJS=$ac_ltlibobjs
81774 if test -n "$EXEEXT"; then
81775 am__EXEEXT_TRUE=
81776 am__EXEEXT_FALSE='#'
81777 else
81778 am__EXEEXT_TRUE='#'
81779 am__EXEEXT_FALSE=
81782 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
81783 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
81784 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81786 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
81787 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
81788 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81790 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
81791 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
81792 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81794 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
81795 as_fn_error "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
81796 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81798 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
81799 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
81800 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81802 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
81803 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
81804 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81806 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
81807 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
81808 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81810 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
81811 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
81812 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81814 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
81815 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
81816 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81818 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
81819 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
81820 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81822 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
81823 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
81824 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81826 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
81827 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
81828 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81830 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
81831 as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
81832 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81834 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
81835 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
81836 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81838 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
81839 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
81840 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81842 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
81843 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
81844 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81846 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
81847 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
81848 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81850 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
81851 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
81852 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81854 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
81855 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
81856 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81858 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
81859 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
81860 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81862 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
81863 as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
81864 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81866 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
81867 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
81868 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81870 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
81871 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
81872 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81874 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
81875 as_fn_error "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
81876 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81878 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
81879 as_fn_error "conditional \"BUILD_INFO\" was never defined.
81880 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81882 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
81883 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
81884 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81886 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
81887 as_fn_error "conditional \"BUILD_XML\" was never defined.
81888 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81890 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
81891 as_fn_error "conditional \"BUILD_HTML\" was never defined.
81892 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81894 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
81895 as_fn_error "conditional \"BUILD_MAN\" was never defined.
81896 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81898 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
81899 as_fn_error "conditional \"BUILD_PDF\" was never defined.
81900 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81902 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
81903 as_fn_error "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
81904 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81907 : ${CONFIG_STATUS=./config.status}
81908 ac_write_fail=0
81909 ac_clean_files_save=$ac_clean_files
81910 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
81911 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
81912 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
81913 as_write_fail=0
81914 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
81915 #! $SHELL
81916 # Generated by $as_me.
81917 # Run this file to recreate the current configuration.
81918 # Compiler output produced by configure, useful for debugging
81919 # configure, is in config.log if it exists.
81921 debug=false
81922 ac_cs_recheck=false
81923 ac_cs_silent=false
81925 SHELL=\${CONFIG_SHELL-$SHELL}
81926 export SHELL
81927 _ASEOF
81928 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
81929 ## -------------------- ##
81930 ## M4sh Initialization. ##
81931 ## -------------------- ##
81933 # Be more Bourne compatible
81934 DUALCASE=1; export DUALCASE # for MKS sh
81935 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
81936 emulate sh
81937 NULLCMD=:
81938 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
81939 # is contrary to our usage. Disable this feature.
81940 alias -g '${1+"$@"}'='"$@"'
81941 setopt NO_GLOB_SUBST
81942 else
81943 case `(set -o) 2>/dev/null` in #(
81944 *posix*) :
81945 set -o posix ;; #(
81946 *) :
81948 esac
81952 as_nl='
81954 export as_nl
81955 # Printing a long string crashes Solaris 7 /usr/bin/printf.
81956 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
81957 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
81958 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
81959 # Prefer a ksh shell builtin over an external printf program on Solaris,
81960 # but without wasting forks for bash or zsh.
81961 if test -z "$BASH_VERSION$ZSH_VERSION" \
81962 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
81963 as_echo='print -r --'
81964 as_echo_n='print -rn --'
81965 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
81966 as_echo='printf %s\n'
81967 as_echo_n='printf %s'
81968 else
81969 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
81970 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
81971 as_echo_n='/usr/ucb/echo -n'
81972 else
81973 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
81974 as_echo_n_body='eval
81975 arg=$1;
81976 case $arg in #(
81977 *"$as_nl"*)
81978 expr "X$arg" : "X\\(.*\\)$as_nl";
81979 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
81980 esac;
81981 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
81983 export as_echo_n_body
81984 as_echo_n='sh -c $as_echo_n_body as_echo'
81986 export as_echo_body
81987 as_echo='sh -c $as_echo_body as_echo'
81990 # The user is always right.
81991 if test "${PATH_SEPARATOR+set}" != set; then
81992 PATH_SEPARATOR=:
81993 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81994 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81995 PATH_SEPARATOR=';'
82000 # IFS
82001 # We need space, tab and new line, in precisely that order. Quoting is
82002 # there to prevent editors from complaining about space-tab.
82003 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
82004 # splitting by setting IFS to empty value.)
82005 IFS=" "" $as_nl"
82007 # Find who we are. Look in the path if we contain no directory separator.
82008 case $0 in #((
82009 *[\\/]* ) as_myself=$0 ;;
82010 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
82011 for as_dir in $PATH
82013 IFS=$as_save_IFS
82014 test -z "$as_dir" && as_dir=.
82015 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82016 done
82017 IFS=$as_save_IFS
82020 esac
82021 # We did not find ourselves, most probably we were run as `sh COMMAND'
82022 # in which case we are not to be found in the path.
82023 if test "x$as_myself" = x; then
82024 as_myself=$0
82026 if test ! -f "$as_myself"; then
82027 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
82028 exit 1
82031 # Unset variables that we do not need and which cause bugs (e.g. in
82032 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
82033 # suppresses any "Segmentation fault" message there. '((' could
82034 # trigger a bug in pdksh 5.2.14.
82035 for as_var in BASH_ENV ENV MAIL MAILPATH
82036 do eval test x\${$as_var+set} = xset \
82037 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
82038 done
82039 PS1='$ '
82040 PS2='> '
82041 PS4='+ '
82043 # NLS nuisances.
82044 LC_ALL=C
82045 export LC_ALL
82046 LANGUAGE=C
82047 export LANGUAGE
82049 # CDPATH.
82050 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82053 # as_fn_error ERROR [LINENO LOG_FD]
82054 # ---------------------------------
82055 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
82056 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
82057 # script with status $?, using 1 if that was 0.
82058 as_fn_error ()
82060 as_status=$?; test $as_status -eq 0 && as_status=1
82061 if test "$3"; then
82062 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
82063 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
82065 $as_echo "$as_me: error: $1" >&2
82066 as_fn_exit $as_status
82067 } # as_fn_error
82070 # as_fn_set_status STATUS
82071 # -----------------------
82072 # Set $? to STATUS, without forking.
82073 as_fn_set_status ()
82075 return $1
82076 } # as_fn_set_status
82078 # as_fn_exit STATUS
82079 # -----------------
82080 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
82081 as_fn_exit ()
82083 set +e
82084 as_fn_set_status $1
82085 exit $1
82086 } # as_fn_exit
82088 # as_fn_unset VAR
82089 # ---------------
82090 # Portably unset VAR.
82091 as_fn_unset ()
82093 { eval $1=; unset $1;}
82095 as_unset=as_fn_unset
82096 # as_fn_append VAR VALUE
82097 # ----------------------
82098 # Append the text in VALUE to the end of the definition contained in VAR. Take
82099 # advantage of any shell optimizations that allow amortized linear growth over
82100 # repeated appends, instead of the typical quadratic growth present in naive
82101 # implementations.
82102 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
82103 eval 'as_fn_append ()
82105 eval $1+=\$2
82107 else
82108 as_fn_append ()
82110 eval $1=\$$1\$2
82112 fi # as_fn_append
82114 # as_fn_arith ARG...
82115 # ------------------
82116 # Perform arithmetic evaluation on the ARGs, and store the result in the
82117 # global $as_val. Take advantage of shells that can avoid forks. The arguments
82118 # must be portable across $(()) and expr.
82119 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
82120 eval 'as_fn_arith ()
82122 as_val=$(( $* ))
82124 else
82125 as_fn_arith ()
82127 as_val=`expr "$@" || test $? -eq 1`
82129 fi # as_fn_arith
82132 if expr a : '\(a\)' >/dev/null 2>&1 &&
82133 test "X`expr 00001 : '.*\(...\)'`" = X001; then
82134 as_expr=expr
82135 else
82136 as_expr=false
82139 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
82140 as_basename=basename
82141 else
82142 as_basename=false
82145 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
82146 as_dirname=dirname
82147 else
82148 as_dirname=false
82151 as_me=`$as_basename -- "$0" ||
82152 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
82153 X"$0" : 'X\(//\)$' \| \
82154 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
82155 $as_echo X/"$0" |
82156 sed '/^.*\/\([^/][^/]*\)\/*$/{
82157 s//\1/
82160 /^X\/\(\/\/\)$/{
82161 s//\1/
82164 /^X\/\(\/\).*/{
82165 s//\1/
82168 s/.*/./; q'`
82170 # Avoid depending upon Character Ranges.
82171 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
82172 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82173 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
82174 as_cr_digits='0123456789'
82175 as_cr_alnum=$as_cr_Letters$as_cr_digits
82177 ECHO_C= ECHO_N= ECHO_T=
82178 case `echo -n x` in #(((((
82179 -n*)
82180 case `echo 'xy\c'` in
82181 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
82182 xy) ECHO_C='\c';;
82183 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
82184 ECHO_T=' ';;
82185 esac;;
82187 ECHO_N='-n';;
82188 esac
82190 rm -f conf$$ conf$$.exe conf$$.file
82191 if test -d conf$$.dir; then
82192 rm -f conf$$.dir/conf$$.file
82193 else
82194 rm -f conf$$.dir
82195 mkdir conf$$.dir 2>/dev/null
82197 if (echo >conf$$.file) 2>/dev/null; then
82198 if ln -s conf$$.file conf$$ 2>/dev/null; then
82199 as_ln_s='ln -s'
82200 # ... but there are two gotchas:
82201 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
82202 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
82203 # In both cases, we have to default to `cp -p'.
82204 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
82205 as_ln_s='cp -p'
82206 elif ln conf$$.file conf$$ 2>/dev/null; then
82207 as_ln_s=ln
82208 else
82209 as_ln_s='cp -p'
82211 else
82212 as_ln_s='cp -p'
82214 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
82215 rmdir conf$$.dir 2>/dev/null
82218 # as_fn_mkdir_p
82219 # -------------
82220 # Create "$as_dir" as a directory, including parents if necessary.
82221 as_fn_mkdir_p ()
82224 case $as_dir in #(
82225 -*) as_dir=./$as_dir;;
82226 esac
82227 test -d "$as_dir" || eval $as_mkdir_p || {
82228 as_dirs=
82229 while :; do
82230 case $as_dir in #(
82231 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
82232 *) as_qdir=$as_dir;;
82233 esac
82234 as_dirs="'$as_qdir' $as_dirs"
82235 as_dir=`$as_dirname -- "$as_dir" ||
82236 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
82237 X"$as_dir" : 'X\(//\)[^/]' \| \
82238 X"$as_dir" : 'X\(//\)$' \| \
82239 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
82240 $as_echo X"$as_dir" |
82241 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
82242 s//\1/
82245 /^X\(\/\/\)[^/].*/{
82246 s//\1/
82249 /^X\(\/\/\)$/{
82250 s//\1/
82253 /^X\(\/\).*/{
82254 s//\1/
82257 s/.*/./; q'`
82258 test -d "$as_dir" && break
82259 done
82260 test -z "$as_dirs" || eval "mkdir $as_dirs"
82261 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
82264 } # as_fn_mkdir_p
82265 if mkdir -p . 2>/dev/null; then
82266 as_mkdir_p='mkdir -p "$as_dir"'
82267 else
82268 test -d ./-p && rmdir ./-p
82269 as_mkdir_p=false
82272 if test -x / >/dev/null 2>&1; then
82273 as_test_x='test -x'
82274 else
82275 if ls -dL / >/dev/null 2>&1; then
82276 as_ls_L_option=L
82277 else
82278 as_ls_L_option=
82280 as_test_x='
82281 eval sh -c '\''
82282 if test -d "$1"; then
82283 test -d "$1/.";
82284 else
82285 case $1 in #(
82286 -*)set "./$1";;
82287 esac;
82288 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
82289 ???[sx]*):;;*)false;;esac;fi
82290 '\'' sh
82293 as_executable_p=$as_test_x
82295 # Sed expression to map a string onto a valid CPP name.
82296 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
82298 # Sed expression to map a string onto a valid variable name.
82299 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
82302 exec 6>&1
82303 ## ----------------------------------- ##
82304 ## Main body of $CONFIG_STATUS script. ##
82305 ## ----------------------------------- ##
82306 _ASEOF
82307 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
82309 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82310 # Save the log message, to keep $0 and so on meaningful, and to
82311 # report actual input values of CONFIG_FILES etc. instead of their
82312 # values after options handling.
82313 ac_log="
82314 This file was extended by package-unused $as_me version-unused, which was
82315 generated by GNU Autoconf 2.64. Invocation command line was
82317 CONFIG_FILES = $CONFIG_FILES
82318 CONFIG_HEADERS = $CONFIG_HEADERS
82319 CONFIG_LINKS = $CONFIG_LINKS
82320 CONFIG_COMMANDS = $CONFIG_COMMANDS
82321 $ $0 $@
82323 on `(hostname || uname -n) 2>/dev/null | sed 1q`
82326 _ACEOF
82328 case $ac_config_files in *"
82329 "*) set x $ac_config_files; shift; ac_config_files=$*;;
82330 esac
82332 case $ac_config_headers in *"
82333 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
82334 esac
82337 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82338 # Files that config.status was made for.
82339 config_files="$ac_config_files"
82340 config_headers="$ac_config_headers"
82341 config_commands="$ac_config_commands"
82343 _ACEOF
82345 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82346 ac_cs_usage="\
82347 \`$as_me' instantiates files and other configuration actions
82348 from templates according to the current configuration. Unless the files
82349 and actions are specified as TAGs, all are instantiated by default.
82351 Usage: $0 [OPTION]... [TAG]...
82353 -h, --help print this help, then exit
82354 -V, --version print version number and configuration settings, then exit
82355 -q, --quiet, --silent
82356 do not print progress messages
82357 -d, --debug don't remove temporary files
82358 --recheck update $as_me by reconfiguring in the same conditions
82359 --file=FILE[:TEMPLATE]
82360 instantiate the configuration file FILE
82361 --header=FILE[:TEMPLATE]
82362 instantiate the configuration header FILE
82364 Configuration files:
82365 $config_files
82367 Configuration headers:
82368 $config_headers
82370 Configuration commands:
82371 $config_commands
82373 Report bugs to the package provider."
82375 _ACEOF
82376 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82377 ac_cs_version="\\
82378 package-unused config.status version-unused
82379 configured by $0, generated by GNU Autoconf 2.64,
82380 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
82382 Copyright (C) 2009 Free Software Foundation, Inc.
82383 This config.status script is free software; the Free Software Foundation
82384 gives unlimited permission to copy, distribute and modify it."
82386 ac_pwd='$ac_pwd'
82387 srcdir='$srcdir'
82388 INSTALL='$INSTALL'
82389 MKDIR_P='$MKDIR_P'
82390 AWK='$AWK'
82391 test -n "\$AWK" || AWK=awk
82392 _ACEOF
82394 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82395 # The default lists apply if the user does not specify any file.
82396 ac_need_defaults=:
82397 while test $# != 0
82399 case $1 in
82400 --*=*)
82401 ac_option=`expr "X$1" : 'X\([^=]*\)='`
82402 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
82403 ac_shift=:
82406 ac_option=$1
82407 ac_optarg=$2
82408 ac_shift=shift
82410 esac
82412 case $ac_option in
82413 # Handling of the options.
82414 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
82415 ac_cs_recheck=: ;;
82416 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
82417 $as_echo "$ac_cs_version"; exit ;;
82418 --debug | --debu | --deb | --de | --d | -d )
82419 debug=: ;;
82420 --file | --fil | --fi | --f )
82421 $ac_shift
82422 case $ac_optarg in
82423 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82424 esac
82425 as_fn_append CONFIG_FILES " '$ac_optarg'"
82426 ac_need_defaults=false;;
82427 --header | --heade | --head | --hea )
82428 $ac_shift
82429 case $ac_optarg in
82430 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82431 esac
82432 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
82433 ac_need_defaults=false;;
82434 --he | --h)
82435 # Conflict between --help and --header
82436 as_fn_error "ambiguous option: \`$1'
82437 Try \`$0 --help' for more information.";;
82438 --help | --hel | -h )
82439 $as_echo "$ac_cs_usage"; exit ;;
82440 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
82441 | -silent | --silent | --silen | --sile | --sil | --si | --s)
82442 ac_cs_silent=: ;;
82444 # This is an error.
82445 -*) as_fn_error "unrecognized option: \`$1'
82446 Try \`$0 --help' for more information." ;;
82448 *) as_fn_append ac_config_targets " $1"
82449 ac_need_defaults=false ;;
82451 esac
82452 shift
82453 done
82455 ac_configure_extra_args=
82457 if $ac_cs_silent; then
82458 exec 6>/dev/null
82459 ac_configure_extra_args="$ac_configure_extra_args --silent"
82462 _ACEOF
82463 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82464 if \$ac_cs_recheck; then
82465 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
82466 shift
82467 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
82468 CONFIG_SHELL='$SHELL'
82469 export CONFIG_SHELL
82470 exec "\$@"
82473 _ACEOF
82474 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82475 exec 5>>config.log
82477 echo
82478 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
82479 ## Running $as_me. ##
82480 _ASBOX
82481 $as_echo "$ac_log"
82482 } >&5
82484 _ACEOF
82485 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82487 # INIT-COMMANDS
82490 srcdir="$srcdir"
82491 host="$host"
82492 target="$target"
82493 with_multisubdir="$with_multisubdir"
82494 with_multisrctop="$with_multisrctop"
82495 with_target_subdir="$with_target_subdir"
82496 ac_configure_args="${multilib_arg} ${ac_configure_args}"
82497 multi_basedir="$multi_basedir"
82498 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
82499 CC="$CC"
82500 CXX="$CXX"
82501 GFORTRAN="$GFORTRAN"
82504 # The HP-UX ksh and POSIX shell print the target directory to stdout
82505 # if CDPATH is set.
82506 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82508 sed_quote_subst='$sed_quote_subst'
82509 double_quote_subst='$double_quote_subst'
82510 delay_variable_subst='$delay_variable_subst'
82511 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
82512 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
82513 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
82514 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
82515 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
82516 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
82517 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
82518 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
82519 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
82520 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
82521 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
82522 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
82523 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
82524 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
82525 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
82526 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
82527 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
82528 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
82529 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
82530 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
82531 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
82532 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
82533 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
82534 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
82535 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
82536 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
82537 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
82538 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
82539 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
82540 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
82541 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
82542 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
82543 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
82544 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
82545 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
82546 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
82547 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
82548 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82549 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82550 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
82551 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
82552 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
82553 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
82554 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
82555 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
82556 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
82557 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
82558 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
82559 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"`'
82560 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
82561 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
82562 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
82563 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
82564 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
82565 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
82566 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
82567 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
82568 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
82569 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
82570 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
82571 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
82572 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
82573 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
82574 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
82575 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82576 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
82577 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
82578 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
82579 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
82580 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
82581 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
82582 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82583 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
82584 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82585 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
82586 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82587 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
82588 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
82589 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
82590 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
82591 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
82592 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
82593 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
82594 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
82595 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
82596 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
82597 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
82598 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
82599 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
82600 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
82601 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
82602 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
82603 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
82604 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
82605 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
82606 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
82607 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
82608 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
82609 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
82610 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
82611 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
82612 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
82613 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
82614 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
82615 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
82616 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
82617 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
82618 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82619 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82620 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
82621 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
82622 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
82623 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
82624 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
82625 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
82626 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
82627 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
82628 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
82629 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
82630 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
82631 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
82632 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
82633 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
82634 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
82635 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
82636 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
82637 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
82638 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
82639 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82640 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82641 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
82642 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
82643 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
82644 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
82645 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
82646 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
82647 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
82648 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
82649 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
82650 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82651 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82652 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
82653 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82654 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82655 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82656 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82657 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82658 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82659 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
82660 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82661 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82662 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82663 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
82664 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
82665 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
82666 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
82667 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
82668 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
82669 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
82670 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
82671 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
82672 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
82673 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
82674 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82675 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82676 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82677 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82678 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
82679 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
82680 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
82681 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82682 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82683 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
82684 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
82685 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
82687 LTCC='$LTCC'
82688 LTCFLAGS='$LTCFLAGS'
82689 compiler='$compiler_DEFAULT'
82691 # A function that is used when there is no print builtin or printf.
82692 func_fallback_echo ()
82694 eval 'cat <<_LTECHO_EOF
82696 _LTECHO_EOF'
82699 # Quote evaled strings.
82700 for var in SHELL \
82701 ECHO \
82702 SED \
82703 GREP \
82704 EGREP \
82705 FGREP \
82706 LD \
82707 NM \
82708 LN_S \
82709 lt_SP2NL \
82710 lt_NL2SP \
82711 reload_flag \
82712 OBJDUMP \
82713 deplibs_check_method \
82714 file_magic_cmd \
82715 AR \
82716 AR_FLAGS \
82717 STRIP \
82718 RANLIB \
82719 CC \
82720 CFLAGS \
82721 compiler \
82722 lt_cv_sys_global_symbol_pipe \
82723 lt_cv_sys_global_symbol_to_cdecl \
82724 lt_cv_sys_global_symbol_to_c_name_address \
82725 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
82726 lt_prog_compiler_no_builtin_flag \
82727 lt_prog_compiler_wl \
82728 lt_prog_compiler_pic \
82729 lt_prog_compiler_static \
82730 lt_cv_prog_compiler_c_o \
82731 need_locks \
82732 DSYMUTIL \
82733 NMEDIT \
82734 LIPO \
82735 OTOOL \
82736 OTOOL64 \
82737 shrext_cmds \
82738 export_dynamic_flag_spec \
82739 whole_archive_flag_spec \
82740 compiler_needs_object \
82741 with_gnu_ld \
82742 allow_undefined_flag \
82743 no_undefined_flag \
82744 hardcode_libdir_flag_spec \
82745 hardcode_libdir_flag_spec_ld \
82746 hardcode_libdir_separator \
82747 fix_srcfile_path \
82748 exclude_expsyms \
82749 include_expsyms \
82750 file_list_spec \
82751 variables_saved_for_relink \
82752 libname_spec \
82753 library_names_spec \
82754 soname_spec \
82755 install_override_mode \
82756 finish_eval \
82757 old_striplib \
82758 striplib \
82759 compiler_lib_search_dirs \
82760 predep_objects \
82761 postdep_objects \
82762 predeps \
82763 postdeps \
82764 compiler_lib_search_path \
82765 LD_CXX \
82766 reload_flag_CXX \
82767 compiler_CXX \
82768 lt_prog_compiler_no_builtin_flag_CXX \
82769 lt_prog_compiler_wl_CXX \
82770 lt_prog_compiler_pic_CXX \
82771 lt_prog_compiler_static_CXX \
82772 lt_cv_prog_compiler_c_o_CXX \
82773 export_dynamic_flag_spec_CXX \
82774 whole_archive_flag_spec_CXX \
82775 compiler_needs_object_CXX \
82776 with_gnu_ld_CXX \
82777 allow_undefined_flag_CXX \
82778 no_undefined_flag_CXX \
82779 hardcode_libdir_flag_spec_CXX \
82780 hardcode_libdir_flag_spec_ld_CXX \
82781 hardcode_libdir_separator_CXX \
82782 fix_srcfile_path_CXX \
82783 exclude_expsyms_CXX \
82784 include_expsyms_CXX \
82785 file_list_spec_CXX \
82786 compiler_lib_search_dirs_CXX \
82787 predep_objects_CXX \
82788 postdep_objects_CXX \
82789 predeps_CXX \
82790 postdeps_CXX \
82791 compiler_lib_search_path_CXX; do
82792 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82793 *[\\\\\\\`\\"\\\$]*)
82794 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
82797 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82799 esac
82800 done
82802 # Double-quote double-evaled strings.
82803 for var in reload_cmds \
82804 old_postinstall_cmds \
82805 old_postuninstall_cmds \
82806 old_archive_cmds \
82807 extract_expsyms_cmds \
82808 old_archive_from_new_cmds \
82809 old_archive_from_expsyms_cmds \
82810 archive_cmds \
82811 archive_expsym_cmds \
82812 module_cmds \
82813 module_expsym_cmds \
82814 export_symbols_cmds \
82815 prelink_cmds \
82816 postinstall_cmds \
82817 postuninstall_cmds \
82818 finish_cmds \
82819 sys_lib_search_path_spec \
82820 sys_lib_dlsearch_path_spec \
82821 reload_cmds_CXX \
82822 old_archive_cmds_CXX \
82823 old_archive_from_new_cmds_CXX \
82824 old_archive_from_expsyms_cmds_CXX \
82825 archive_cmds_CXX \
82826 archive_expsym_cmds_CXX \
82827 module_cmds_CXX \
82828 module_expsym_cmds_CXX \
82829 export_symbols_cmds_CXX \
82830 prelink_cmds_CXX; do
82831 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82832 *[\\\\\\\`\\"\\\$]*)
82833 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
82836 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82838 esac
82839 done
82841 ac_aux_dir='$ac_aux_dir'
82842 xsi_shell='$xsi_shell'
82843 lt_shell_append='$lt_shell_append'
82845 # See if we are running on zsh, and set the options which allow our
82846 # commands through without removal of \ escapes INIT.
82847 if test -n "\${ZSH_VERSION+set}" ; then
82848 setopt NO_GLOB_SUBST
82852 PACKAGE='$PACKAGE'
82853 VERSION='$VERSION'
82854 TIMESTAMP='$TIMESTAMP'
82855 RM='$RM'
82856 ofile='$ofile'
82863 GCC="$GCC"
82864 CC="$CC"
82865 acx_cv_header_stdint="$acx_cv_header_stdint"
82866 acx_cv_type_int8_t="$acx_cv_type_int8_t"
82867 acx_cv_type_int16_t="$acx_cv_type_int16_t"
82868 acx_cv_type_int32_t="$acx_cv_type_int32_t"
82869 acx_cv_type_int64_t="$acx_cv_type_int64_t"
82870 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
82871 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
82872 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
82873 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
82874 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
82875 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
82876 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
82877 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
82878 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
82881 _ACEOF
82883 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82885 # Handling of arguments.
82886 for ac_config_target in $ac_config_targets
82888 case $ac_config_target in
82889 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
82890 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
82891 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
82892 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
82893 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
82894 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
82895 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
82896 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
82897 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
82898 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
82899 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
82900 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
82901 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
82902 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
82903 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
82904 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
82905 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
82906 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
82907 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
82909 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
82910 esac
82911 done
82914 # If the user did not use the arguments to specify the items to instantiate,
82915 # then the envvar interface is used. Set only those that are not.
82916 # We use the long form for the default assignment because of an extremely
82917 # bizarre bug on SunOS 4.1.3.
82918 if $ac_need_defaults; then
82919 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
82920 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
82921 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
82924 # Have a temporary directory for convenience. Make it in the build tree
82925 # simply because there is no reason against having it here, and in addition,
82926 # creating and moving files from /tmp can sometimes cause problems.
82927 # Hook for its removal unless debugging.
82928 # Note that there is a small window in which the directory will not be cleaned:
82929 # after its creation but before its name has been assigned to `$tmp'.
82930 $debug ||
82932 tmp=
82933 trap 'exit_status=$?
82934 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
82936 trap 'as_fn_exit 1' 1 2 13 15
82938 # Create a (secure) tmp directory for tmp files.
82941 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
82942 test -n "$tmp" && test -d "$tmp"
82943 } ||
82945 tmp=./conf$$-$RANDOM
82946 (umask 077 && mkdir "$tmp")
82947 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
82949 # Set up the scripts for CONFIG_FILES section.
82950 # No need to generate them if there are no CONFIG_FILES.
82951 # This happens for instance with `./config.status config.h'.
82952 if test -n "$CONFIG_FILES"; then
82955 ac_cr=`echo X | tr X '\015'`
82956 # On cygwin, bash can eat \r inside `` if the user requested igncr.
82957 # But we know of no other shell where ac_cr would be empty at this
82958 # point, so we can use a bashism as a fallback.
82959 if test "x$ac_cr" = x; then
82960 eval ac_cr=\$\'\\r\'
82962 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
82963 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
82964 ac_cs_awk_cr='\r'
82965 else
82966 ac_cs_awk_cr=$ac_cr
82969 echo 'BEGIN {' >"$tmp/subs1.awk" &&
82970 _ACEOF
82974 echo "cat >conf$$subs.awk <<_ACEOF" &&
82975 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
82976 echo "_ACEOF"
82977 } >conf$$subs.sh ||
82978 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82979 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
82980 ac_delim='%!_!# '
82981 for ac_last_try in false false false false false :; do
82982 . ./conf$$subs.sh ||
82983 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82985 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
82986 if test $ac_delim_n = $ac_delim_num; then
82987 break
82988 elif $ac_last_try; then
82989 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82990 else
82991 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
82993 done
82994 rm -f conf$$subs.sh
82996 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82997 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
82998 _ACEOF
82999 sed -n '
83001 s/^/S["/; s/!.*/"]=/
83004 s/^[^!]*!//
83005 :repl
83006 t repl
83007 s/'"$ac_delim"'$//
83008 t delim
83011 s/\(.\{148\}\).*/\1/
83012 t more1
83013 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
83016 b repl
83017 :more1
83018 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
83021 s/.\{148\}//
83022 t nl
83023 :delim
83025 s/\(.\{148\}\).*/\1/
83026 t more2
83027 s/["\\]/\\&/g; s/^/"/; s/$/"/
83030 :more2
83031 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
83034 s/.\{148\}//
83035 t delim
83036 ' <conf$$subs.awk | sed '
83037 /^[^""]/{
83039 s/\n//
83041 ' >>$CONFIG_STATUS || ac_write_fail=1
83042 rm -f conf$$subs.awk
83043 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83044 _ACAWK
83045 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
83046 for (key in S) S_is_set[key] = 1
83047 FS = "\a"
83051 line = $ 0
83052 nfields = split(line, field, "@")
83053 substed = 0
83054 len = length(field[1])
83055 for (i = 2; i < nfields; i++) {
83056 key = field[i]
83057 keylen = length(key)
83058 if (S_is_set[key]) {
83059 value = S[key]
83060 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
83061 len += length(value) + length(field[++i])
83062 substed = 1
83063 } else
83064 len += 1 + keylen
83067 print line
83070 _ACAWK
83071 _ACEOF
83072 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83073 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
83074 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
83075 else
83077 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
83078 || as_fn_error "could not setup config files machinery" "$LINENO" 5
83079 _ACEOF
83081 # VPATH may cause trouble with some makes, so we remove $(srcdir),
83082 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
83083 # trailing colons and then remove the whole line if VPATH becomes empty
83084 # (actually we leave an empty line to preserve line numbers).
83085 if test "x$srcdir" = x.; then
83086 ac_vpsub='/^[ ]*VPATH[ ]*=/{
83087 s/:*\$(srcdir):*/:/
83088 s/:*\${srcdir}:*/:/
83089 s/:*@srcdir@:*/:/
83090 s/^\([^=]*=[ ]*\):*/\1/
83091 s/:*$//
83092 s/^[^=]*=[ ]*$//
83096 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83097 fi # test -n "$CONFIG_FILES"
83099 # Set up the scripts for CONFIG_HEADERS section.
83100 # No need to generate them if there are no CONFIG_HEADERS.
83101 # This happens for instance with `./config.status Makefile'.
83102 if test -n "$CONFIG_HEADERS"; then
83103 cat >"$tmp/defines.awk" <<\_ACAWK ||
83104 BEGIN {
83105 _ACEOF
83107 # Transform confdefs.h into an awk script `defines.awk', embedded as
83108 # here-document in config.status, that substitutes the proper values into
83109 # config.h.in to produce config.h.
83111 # Create a delimiter string that does not exist in confdefs.h, to ease
83112 # handling of long lines.
83113 ac_delim='%!_!# '
83114 for ac_last_try in false false :; do
83115 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
83116 if test -z "$ac_t"; then
83117 break
83118 elif $ac_last_try; then
83119 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
83120 else
83121 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
83123 done
83125 # For the awk script, D is an array of macro values keyed by name,
83126 # likewise P contains macro parameters if any. Preserve backslash
83127 # newline sequences.
83129 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
83130 sed -n '
83131 s/.\{148\}/&'"$ac_delim"'/g
83132 t rset
83133 :rset
83134 s/^[ ]*#[ ]*define[ ][ ]*/ /
83135 t def
83137 :def
83138 s/\\$//
83139 t bsnl
83140 s/["\\]/\\&/g
83141 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
83142 D["\1"]=" \3"/p
83143 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
83145 :bsnl
83146 s/["\\]/\\&/g
83147 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
83148 D["\1"]=" \3\\\\\\n"\\/p
83149 t cont
83150 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
83151 t cont
83153 :cont
83155 s/.\{148\}/&'"$ac_delim"'/g
83156 t clear
83157 :clear
83158 s/\\$//
83159 t bsnlc
83160 s/["\\]/\\&/g; s/^/"/; s/$/"/p
83162 :bsnlc
83163 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
83164 b cont
83165 ' <confdefs.h | sed '
83166 s/'"$ac_delim"'/"\\\
83167 "/g' >>$CONFIG_STATUS || ac_write_fail=1
83169 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83170 for (key in D) D_is_set[key] = 1
83171 FS = "\a"
83173 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
83174 line = \$ 0
83175 split(line, arg, " ")
83176 if (arg[1] == "#") {
83177 defundef = arg[2]
83178 mac1 = arg[3]
83179 } else {
83180 defundef = substr(arg[1], 2)
83181 mac1 = arg[2]
83183 split(mac1, mac2, "(") #)
83184 macro = mac2[1]
83185 prefix = substr(line, 1, index(line, defundef) - 1)
83186 if (D_is_set[macro]) {
83187 # Preserve the white space surrounding the "#".
83188 print prefix "define", macro P[macro] D[macro]
83189 next
83190 } else {
83191 # Replace #undef with comments. This is necessary, for example,
83192 # in the case of _POSIX_SOURCE, which is predefined and required
83193 # on some systems where configure will not decide to define it.
83194 if (defundef == "undef") {
83195 print "/*", prefix defundef, macro, "*/"
83196 next
83200 { print }
83201 _ACAWK
83202 _ACEOF
83203 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83204 as_fn_error "could not setup config headers machinery" "$LINENO" 5
83205 fi # test -n "$CONFIG_HEADERS"
83208 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
83209 shift
83210 for ac_tag
83212 case $ac_tag in
83213 :[FHLC]) ac_mode=$ac_tag; continue;;
83214 esac
83215 case $ac_mode$ac_tag in
83216 :[FHL]*:*);;
83217 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
83218 :[FH]-) ac_tag=-:-;;
83219 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
83220 esac
83221 ac_save_IFS=$IFS
83222 IFS=:
83223 set x $ac_tag
83224 IFS=$ac_save_IFS
83225 shift
83226 ac_file=$1
83227 shift
83229 case $ac_mode in
83230 :L) ac_source=$1;;
83231 :[FH])
83232 ac_file_inputs=
83233 for ac_f
83235 case $ac_f in
83236 -) ac_f="$tmp/stdin";;
83237 *) # Look for the file first in the build tree, then in the source tree
83238 # (if the path is not absolute). The absolute path cannot be DOS-style,
83239 # because $ac_f cannot contain `:'.
83240 test -f "$ac_f" ||
83241 case $ac_f in
83242 [\\/$]*) false;;
83243 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
83244 esac ||
83245 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
83246 esac
83247 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
83248 as_fn_append ac_file_inputs " '$ac_f'"
83249 done
83251 # Let's still pretend it is `configure' which instantiates (i.e., don't
83252 # use $as_me), people would be surprised to read:
83253 # /* config.h. Generated by config.status. */
83254 configure_input='Generated from '`
83255 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
83256 `' by configure.'
83257 if test x"$ac_file" != x-; then
83258 configure_input="$ac_file. $configure_input"
83259 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
83260 $as_echo "$as_me: creating $ac_file" >&6;}
83262 # Neutralize special characters interpreted by sed in replacement strings.
83263 case $configure_input in #(
83264 *\&* | *\|* | *\\* )
83265 ac_sed_conf_input=`$as_echo "$configure_input" |
83266 sed 's/[\\\\&|]/\\\\&/g'`;; #(
83267 *) ac_sed_conf_input=$configure_input;;
83268 esac
83270 case $ac_tag in
83271 *:-:* | *:-) cat >"$tmp/stdin" \
83272 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
83273 esac
83275 esac
83277 ac_dir=`$as_dirname -- "$ac_file" ||
83278 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83279 X"$ac_file" : 'X\(//\)[^/]' \| \
83280 X"$ac_file" : 'X\(//\)$' \| \
83281 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
83282 $as_echo X"$ac_file" |
83283 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83284 s//\1/
83287 /^X\(\/\/\)[^/].*/{
83288 s//\1/
83291 /^X\(\/\/\)$/{
83292 s//\1/
83295 /^X\(\/\).*/{
83296 s//\1/
83299 s/.*/./; q'`
83300 as_dir="$ac_dir"; as_fn_mkdir_p
83301 ac_builddir=.
83303 case "$ac_dir" in
83304 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
83306 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
83307 # A ".." for each directory in $ac_dir_suffix.
83308 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
83309 case $ac_top_builddir_sub in
83310 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
83311 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
83312 esac ;;
83313 esac
83314 ac_abs_top_builddir=$ac_pwd
83315 ac_abs_builddir=$ac_pwd$ac_dir_suffix
83316 # for backward compatibility:
83317 ac_top_builddir=$ac_top_build_prefix
83319 case $srcdir in
83320 .) # We are building in place.
83321 ac_srcdir=.
83322 ac_top_srcdir=$ac_top_builddir_sub
83323 ac_abs_top_srcdir=$ac_pwd ;;
83324 [\\/]* | ?:[\\/]* ) # Absolute name.
83325 ac_srcdir=$srcdir$ac_dir_suffix;
83326 ac_top_srcdir=$srcdir
83327 ac_abs_top_srcdir=$srcdir ;;
83328 *) # Relative name.
83329 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
83330 ac_top_srcdir=$ac_top_build_prefix$srcdir
83331 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
83332 esac
83333 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
83336 case $ac_mode in
83339 # CONFIG_FILE
83342 case $INSTALL in
83343 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
83344 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
83345 esac
83346 ac_MKDIR_P=$MKDIR_P
83347 case $MKDIR_P in
83348 [\\/$]* | ?:[\\/]* ) ;;
83349 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
83350 esac
83351 _ACEOF
83353 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83354 # If the template does not know about datarootdir, expand it.
83355 # FIXME: This hack should be removed a few years after 2.60.
83356 ac_datarootdir_hack=; ac_datarootdir_seen=
83357 ac_sed_dataroot='
83358 /datarootdir/ {
83362 /@datadir@/p
83363 /@docdir@/p
83364 /@infodir@/p
83365 /@localedir@/p
83366 /@mandir@/p'
83367 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
83368 *datarootdir*) ac_datarootdir_seen=yes;;
83369 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
83370 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
83371 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
83372 _ACEOF
83373 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83374 ac_datarootdir_hack='
83375 s&@datadir@&$datadir&g
83376 s&@docdir@&$docdir&g
83377 s&@infodir@&$infodir&g
83378 s&@localedir@&$localedir&g
83379 s&@mandir@&$mandir&g
83380 s&\\\${datarootdir}&$datarootdir&g' ;;
83381 esac
83382 _ACEOF
83384 # Neutralize VPATH when `$srcdir' = `.'.
83385 # Shell code in configure.ac might set extrasub.
83386 # FIXME: do we really want to maintain this feature?
83387 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83388 ac_sed_extra="$ac_vpsub
83389 $extrasub
83390 _ACEOF
83391 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83393 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
83394 s|@configure_input@|$ac_sed_conf_input|;t t
83395 s&@top_builddir@&$ac_top_builddir_sub&;t t
83396 s&@top_build_prefix@&$ac_top_build_prefix&;t t
83397 s&@srcdir@&$ac_srcdir&;t t
83398 s&@abs_srcdir@&$ac_abs_srcdir&;t t
83399 s&@top_srcdir@&$ac_top_srcdir&;t t
83400 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
83401 s&@builddir@&$ac_builddir&;t t
83402 s&@abs_builddir@&$ac_abs_builddir&;t t
83403 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
83404 s&@INSTALL@&$ac_INSTALL&;t t
83405 s&@MKDIR_P@&$ac_MKDIR_P&;t t
83406 $ac_datarootdir_hack
83408 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
83409 || as_fn_error "could not create $ac_file" "$LINENO" 5
83411 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
83412 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
83413 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
83414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83415 which seems to be undefined. Please make sure it is defined." >&5
83416 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83417 which seems to be undefined. Please make sure it is defined." >&2;}
83419 rm -f "$tmp/stdin"
83420 case $ac_file in
83421 -) cat "$tmp/out" && rm -f "$tmp/out";;
83422 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
83423 esac \
83424 || as_fn_error "could not create $ac_file" "$LINENO" 5
83428 # CONFIG_HEADER
83430 if test x"$ac_file" != x-; then
83432 $as_echo "/* $configure_input */" \
83433 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
83434 } >"$tmp/config.h" \
83435 || as_fn_error "could not create $ac_file" "$LINENO" 5
83436 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
83437 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
83438 $as_echo "$as_me: $ac_file is unchanged" >&6;}
83439 else
83440 rm -f "$ac_file"
83441 mv "$tmp/config.h" "$ac_file" \
83442 || as_fn_error "could not create $ac_file" "$LINENO" 5
83444 else
83445 $as_echo "/* $configure_input */" \
83446 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
83447 || as_fn_error "could not create -" "$LINENO" 5
83449 # Compute "$ac_file"'s index in $config_headers.
83450 _am_arg="$ac_file"
83451 _am_stamp_count=1
83452 for _am_header in $config_headers :; do
83453 case $_am_header in
83454 $_am_arg | $_am_arg:* )
83455 break ;;
83457 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
83458 esac
83459 done
83460 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
83461 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83462 X"$_am_arg" : 'X\(//\)[^/]' \| \
83463 X"$_am_arg" : 'X\(//\)$' \| \
83464 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
83465 $as_echo X"$_am_arg" |
83466 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83467 s//\1/
83470 /^X\(\/\/\)[^/].*/{
83471 s//\1/
83474 /^X\(\/\/\)$/{
83475 s//\1/
83478 /^X\(\/\).*/{
83479 s//\1/
83482 s/.*/./; q'`/stamp-h$_am_stamp_count
83485 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
83486 $as_echo "$as_me: executing $ac_file commands" >&6;}
83488 esac
83491 case $ac_file$ac_mode in
83492 "default-1":C)
83493 # Only add multilib support code if we just rebuilt the top-level
83494 # Makefile.
83495 case " $CONFIG_FILES " in
83496 *" Makefile "*)
83497 ac_file=Makefile . ${multi_basedir}/config-ml.in
83499 esac ;;
83500 "libtool":C)
83502 # See if we are running on zsh, and set the options which allow our
83503 # commands through without removal of \ escapes.
83504 if test -n "${ZSH_VERSION+set}" ; then
83505 setopt NO_GLOB_SUBST
83508 cfgfile="${ofile}T"
83509 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
83510 $RM "$cfgfile"
83512 cat <<_LT_EOF >> "$cfgfile"
83513 #! $SHELL
83515 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
83516 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
83517 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
83518 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
83520 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
83521 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
83522 # Written by Gordon Matzigkeit, 1996
83524 # This file is part of GNU Libtool.
83526 # GNU Libtool is free software; you can redistribute it and/or
83527 # modify it under the terms of the GNU General Public License as
83528 # published by the Free Software Foundation; either version 2 of
83529 # the License, or (at your option) any later version.
83531 # As a special exception to the GNU General Public License,
83532 # if you distribute this file as part of a program or library that
83533 # is built using GNU Libtool, you may include this file under the
83534 # same distribution terms that you use for the rest of that program.
83536 # GNU Libtool is distributed in the hope that it will be useful,
83537 # but WITHOUT ANY WARRANTY; without even the implied warranty of
83538 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
83539 # GNU General Public License for more details.
83541 # You should have received a copy of the GNU General Public License
83542 # along with GNU Libtool; see the file COPYING. If not, a copy
83543 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
83544 # obtained by writing to the Free Software Foundation, Inc.,
83545 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
83548 # The names of the tagged configurations supported by this script.
83549 available_tags="CXX "
83551 # ### BEGIN LIBTOOL CONFIG
83553 # Which release of libtool.m4 was used?
83554 macro_version=$macro_version
83555 macro_revision=$macro_revision
83557 # Whether or not to build shared libraries.
83558 build_libtool_libs=$enable_shared
83560 # Whether or not to build static libraries.
83561 build_old_libs=$enable_static
83563 # What type of objects to build.
83564 pic_mode=$pic_mode
83566 # Whether or not to optimize for fast installation.
83567 fast_install=$enable_fast_install
83569 # Shell to use when invoking shell scripts.
83570 SHELL=$lt_SHELL
83572 # An echo program that protects backslashes.
83573 ECHO=$lt_ECHO
83575 # The host system.
83576 host_alias=$host_alias
83577 host=$host
83578 host_os=$host_os
83580 # The build system.
83581 build_alias=$build_alias
83582 build=$build
83583 build_os=$build_os
83585 # A sed program that does not truncate output.
83586 SED=$lt_SED
83588 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
83589 Xsed="\$SED -e 1s/^X//"
83591 # A grep program that handles long lines.
83592 GREP=$lt_GREP
83594 # An ERE matcher.
83595 EGREP=$lt_EGREP
83597 # A literal string matcher.
83598 FGREP=$lt_FGREP
83600 # A BSD- or MS-compatible name lister.
83601 NM=$lt_NM
83603 # Whether we need soft or hard links.
83604 LN_S=$lt_LN_S
83606 # What is the maximum length of a command?
83607 max_cmd_len=$max_cmd_len
83609 # Object file suffix (normally "o").
83610 objext=$ac_objext
83612 # Executable file suffix (normally "").
83613 exeext=$exeext
83615 # whether the shell understands "unset".
83616 lt_unset=$lt_unset
83618 # turn spaces into newlines.
83619 SP2NL=$lt_lt_SP2NL
83621 # turn newlines into spaces.
83622 NL2SP=$lt_lt_NL2SP
83624 # An object symbol dumper.
83625 OBJDUMP=$lt_OBJDUMP
83627 # Method to check whether dependent libraries are shared objects.
83628 deplibs_check_method=$lt_deplibs_check_method
83630 # Command to use when deplibs_check_method == "file_magic".
83631 file_magic_cmd=$lt_file_magic_cmd
83633 # The archiver.
83634 AR=$lt_AR
83635 AR_FLAGS=$lt_AR_FLAGS
83637 # A symbol stripping program.
83638 STRIP=$lt_STRIP
83640 # Commands used to install an old-style archive.
83641 RANLIB=$lt_RANLIB
83642 old_postinstall_cmds=$lt_old_postinstall_cmds
83643 old_postuninstall_cmds=$lt_old_postuninstall_cmds
83645 # Whether to use a lock for old archive extraction.
83646 lock_old_archive_extraction=$lock_old_archive_extraction
83648 # A C compiler.
83649 LTCC=$lt_CC
83651 # LTCC compiler flags.
83652 LTCFLAGS=$lt_CFLAGS
83654 # Take the output of nm and produce a listing of raw symbols and C names.
83655 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
83657 # Transform the output of nm in a proper C declaration.
83658 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
83660 # Transform the output of nm in a C name address pair.
83661 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
83663 # Transform the output of nm in a C name address pair when lib prefix is needed.
83664 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
83666 # The name of the directory that contains temporary libtool files.
83667 objdir=$objdir
83669 # Used to examine libraries when file_magic_cmd begins with "file".
83670 MAGIC_CMD=$MAGIC_CMD
83672 # Must we lock files when doing compilation?
83673 need_locks=$lt_need_locks
83675 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
83676 DSYMUTIL=$lt_DSYMUTIL
83678 # Tool to change global to local symbols on Mac OS X.
83679 NMEDIT=$lt_NMEDIT
83681 # Tool to manipulate fat objects and archives on Mac OS X.
83682 LIPO=$lt_LIPO
83684 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
83685 OTOOL=$lt_OTOOL
83687 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
83688 OTOOL64=$lt_OTOOL64
83690 # Old archive suffix (normally "a").
83691 libext=$libext
83693 # Shared library suffix (normally ".so").
83694 shrext_cmds=$lt_shrext_cmds
83696 # The commands to extract the exported symbol list from a shared archive.
83697 extract_expsyms_cmds=$lt_extract_expsyms_cmds
83699 # Variables whose values should be saved in libtool wrapper scripts and
83700 # restored at link time.
83701 variables_saved_for_relink=$lt_variables_saved_for_relink
83703 # Do we need the "lib" prefix for modules?
83704 need_lib_prefix=$need_lib_prefix
83706 # Do we need a version for libraries?
83707 need_version=$need_version
83709 # Library versioning type.
83710 version_type=$version_type
83712 # Shared library runtime path variable.
83713 runpath_var=$runpath_var
83715 # Shared library path variable.
83716 shlibpath_var=$shlibpath_var
83718 # Is shlibpath searched before the hard-coded library search path?
83719 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
83721 # Format of library name prefix.
83722 libname_spec=$lt_libname_spec
83724 # List of archive names. First name is the real one, the rest are links.
83725 # The last name is the one that the linker finds with -lNAME
83726 library_names_spec=$lt_library_names_spec
83728 # The coded name of the library, if different from the real name.
83729 soname_spec=$lt_soname_spec
83731 # Permission mode override for installation of shared libraries.
83732 install_override_mode=$lt_install_override_mode
83734 # Command to use after installation of a shared archive.
83735 postinstall_cmds=$lt_postinstall_cmds
83737 # Command to use after uninstallation of a shared archive.
83738 postuninstall_cmds=$lt_postuninstall_cmds
83740 # Commands used to finish a libtool library installation in a directory.
83741 finish_cmds=$lt_finish_cmds
83743 # As "finish_cmds", except a single script fragment to be evaled but
83744 # not shown.
83745 finish_eval=$lt_finish_eval
83747 # Whether we should hardcode library paths into libraries.
83748 hardcode_into_libs=$hardcode_into_libs
83750 # Compile-time system search path for libraries.
83751 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
83753 # Run-time system search path for libraries.
83754 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
83756 # Whether dlopen is supported.
83757 dlopen_support=$enable_dlopen
83759 # Whether dlopen of programs is supported.
83760 dlopen_self=$enable_dlopen_self
83762 # Whether dlopen of statically linked programs is supported.
83763 dlopen_self_static=$enable_dlopen_self_static
83765 # Commands to strip libraries.
83766 old_striplib=$lt_old_striplib
83767 striplib=$lt_striplib
83770 # The linker used to build libraries.
83771 LD=$lt_LD
83773 # How to create reloadable object files.
83774 reload_flag=$lt_reload_flag
83775 reload_cmds=$lt_reload_cmds
83777 # Commands used to build an old-style archive.
83778 old_archive_cmds=$lt_old_archive_cmds
83780 # A language specific compiler.
83781 CC=$lt_compiler
83783 # Is the compiler the GNU compiler?
83784 with_gcc=$GCC
83786 # Compiler flag to turn off builtin functions.
83787 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
83789 # How to pass a linker flag through the compiler.
83790 wl=$lt_lt_prog_compiler_wl
83792 # Additional compiler flags for building library objects.
83793 pic_flag=$lt_lt_prog_compiler_pic
83795 # Compiler flag to prevent dynamic linking.
83796 link_static_flag=$lt_lt_prog_compiler_static
83798 # Does compiler simultaneously support -c and -o options?
83799 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
83801 # Whether or not to add -lc for building shared libraries.
83802 build_libtool_need_lc=$archive_cmds_need_lc
83804 # Whether or not to disallow shared libs when runtime libs are static.
83805 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
83807 # Compiler flag to allow reflexive dlopens.
83808 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
83810 # Compiler flag to generate shared objects directly from archives.
83811 whole_archive_flag_spec=$lt_whole_archive_flag_spec
83813 # Whether the compiler copes with passing no objects directly.
83814 compiler_needs_object=$lt_compiler_needs_object
83816 # Create an old-style archive from a shared archive.
83817 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
83819 # Create a temporary old-style archive to link instead of a shared archive.
83820 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
83822 # Commands used to build a shared archive.
83823 archive_cmds=$lt_archive_cmds
83824 archive_expsym_cmds=$lt_archive_expsym_cmds
83826 # Commands used to build a loadable module if different from building
83827 # a shared archive.
83828 module_cmds=$lt_module_cmds
83829 module_expsym_cmds=$lt_module_expsym_cmds
83831 # Whether we are building with GNU ld or not.
83832 with_gnu_ld=$lt_with_gnu_ld
83834 # Flag that allows shared libraries with undefined symbols to be built.
83835 allow_undefined_flag=$lt_allow_undefined_flag
83837 # Flag that enforces no undefined symbols.
83838 no_undefined_flag=$lt_no_undefined_flag
83840 # Flag to hardcode \$libdir into a binary during linking.
83841 # This must work even if \$libdir does not exist
83842 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
83844 # If ld is used when linking, flag to hardcode \$libdir into a binary
83845 # during linking. This must work even if \$libdir does not exist.
83846 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
83848 # Whether we need a single "-rpath" flag with a separated argument.
83849 hardcode_libdir_separator=$lt_hardcode_libdir_separator
83851 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83852 # DIR into the resulting binary.
83853 hardcode_direct=$hardcode_direct
83855 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83856 # DIR into the resulting binary and the resulting library dependency is
83857 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
83858 # library is relocated.
83859 hardcode_direct_absolute=$hardcode_direct_absolute
83861 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
83862 # into the resulting binary.
83863 hardcode_minus_L=$hardcode_minus_L
83865 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
83866 # into the resulting binary.
83867 hardcode_shlibpath_var=$hardcode_shlibpath_var
83869 # Set to "yes" if building a shared library automatically hardcodes DIR
83870 # into the library and all subsequent libraries and executables linked
83871 # against it.
83872 hardcode_automatic=$hardcode_automatic
83874 # Set to yes if linker adds runtime paths of dependent libraries
83875 # to runtime path list.
83876 inherit_rpath=$inherit_rpath
83878 # Whether libtool must link a program against all its dependency libraries.
83879 link_all_deplibs=$link_all_deplibs
83881 # Fix the shell variable \$srcfile for the compiler.
83882 fix_srcfile_path=$lt_fix_srcfile_path
83884 # Set to "yes" if exported symbols are required.
83885 always_export_symbols=$always_export_symbols
83887 # The commands to list exported symbols.
83888 export_symbols_cmds=$lt_export_symbols_cmds
83890 # Symbols that should not be listed in the preloaded symbols.
83891 exclude_expsyms=$lt_exclude_expsyms
83893 # Symbols that must always be exported.
83894 include_expsyms=$lt_include_expsyms
83896 # Commands necessary for linking programs (against libraries) with templates.
83897 prelink_cmds=$lt_prelink_cmds
83899 # Specify filename containing input files.
83900 file_list_spec=$lt_file_list_spec
83902 # How to hardcode a shared library path into an executable.
83903 hardcode_action=$hardcode_action
83905 # The directories searched by this compiler when creating a shared library.
83906 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
83908 # Dependencies to place before and after the objects being linked to
83909 # create a shared library.
83910 predep_objects=$lt_predep_objects
83911 postdep_objects=$lt_postdep_objects
83912 predeps=$lt_predeps
83913 postdeps=$lt_postdeps
83915 # The library search path used internally by the compiler when linking
83916 # a shared library.
83917 compiler_lib_search_path=$lt_compiler_lib_search_path
83919 # ### END LIBTOOL CONFIG
83921 _LT_EOF
83923 case $host_os in
83924 aix3*)
83925 cat <<\_LT_EOF >> "$cfgfile"
83926 # AIX sometimes has problems with the GCC collect2 program. For some
83927 # reason, if we set the COLLECT_NAMES environment variable, the problems
83928 # vanish in a puff of smoke.
83929 if test "X${COLLECT_NAMES+set}" != Xset; then
83930 COLLECT_NAMES=
83931 export COLLECT_NAMES
83933 _LT_EOF
83935 esac
83938 ltmain="$ac_aux_dir/ltmain.sh"
83941 # We use sed instead of cat because bash on DJGPP gets confused if
83942 # if finds mixed CR/LF and LF-only lines. Since sed operates in
83943 # text mode, it properly converts lines to CR/LF. This bash problem
83944 # is reportedly fixed, but why not run on old versions too?
83945 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
83946 || (rm -f "$cfgfile"; exit 1)
83948 case $xsi_shell in
83949 yes)
83950 cat << \_LT_EOF >> "$cfgfile"
83952 # func_dirname file append nondir_replacement
83953 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
83954 # otherwise set result to NONDIR_REPLACEMENT.
83955 func_dirname ()
83957 case ${1} in
83958 */*) func_dirname_result="${1%/*}${2}" ;;
83959 * ) func_dirname_result="${3}" ;;
83960 esac
83963 # func_basename file
83964 func_basename ()
83966 func_basename_result="${1##*/}"
83969 # func_dirname_and_basename file append nondir_replacement
83970 # perform func_basename and func_dirname in a single function
83971 # call:
83972 # dirname: Compute the dirname of FILE. If nonempty,
83973 # add APPEND to the result, otherwise set result
83974 # to NONDIR_REPLACEMENT.
83975 # value returned in "$func_dirname_result"
83976 # basename: Compute filename of FILE.
83977 # value retuned in "$func_basename_result"
83978 # Implementation must be kept synchronized with func_dirname
83979 # and func_basename. For efficiency, we do not delegate to
83980 # those functions but instead duplicate the functionality here.
83981 func_dirname_and_basename ()
83983 case ${1} in
83984 */*) func_dirname_result="${1%/*}${2}" ;;
83985 * ) func_dirname_result="${3}" ;;
83986 esac
83987 func_basename_result="${1##*/}"
83990 # func_stripname prefix suffix name
83991 # strip PREFIX and SUFFIX off of NAME.
83992 # PREFIX and SUFFIX must not contain globbing or regex special
83993 # characters, hashes, percent signs, but SUFFIX may contain a leading
83994 # dot (in which case that matches only a dot).
83995 func_stripname ()
83997 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
83998 # positional parameters, so assign one to ordinary parameter first.
83999 func_stripname_result=${3}
84000 func_stripname_result=${func_stripname_result#"${1}"}
84001 func_stripname_result=${func_stripname_result%"${2}"}
84004 # func_opt_split
84005 func_opt_split ()
84007 func_opt_split_opt=${1%%=*}
84008 func_opt_split_arg=${1#*=}
84011 # func_lo2o object
84012 func_lo2o ()
84014 case ${1} in
84015 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
84016 *) func_lo2o_result=${1} ;;
84017 esac
84020 # func_xform libobj-or-source
84021 func_xform ()
84023 func_xform_result=${1%.*}.lo
84026 # func_arith arithmetic-term...
84027 func_arith ()
84029 func_arith_result=$(( $* ))
84032 # func_len string
84033 # STRING may not start with a hyphen.
84034 func_len ()
84036 func_len_result=${#1}
84039 _LT_EOF
84041 *) # Bourne compatible functions.
84042 cat << \_LT_EOF >> "$cfgfile"
84044 # func_dirname file append nondir_replacement
84045 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
84046 # otherwise set result to NONDIR_REPLACEMENT.
84047 func_dirname ()
84049 # Extract subdirectory from the argument.
84050 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
84051 if test "X$func_dirname_result" = "X${1}"; then
84052 func_dirname_result="${3}"
84053 else
84054 func_dirname_result="$func_dirname_result${2}"
84058 # func_basename file
84059 func_basename ()
84061 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
84065 # func_stripname prefix suffix name
84066 # strip PREFIX and SUFFIX off of NAME.
84067 # PREFIX and SUFFIX must not contain globbing or regex special
84068 # characters, hashes, percent signs, but SUFFIX may contain a leading
84069 # dot (in which case that matches only a dot).
84070 # func_strip_suffix prefix name
84071 func_stripname ()
84073 case ${2} in
84074 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
84075 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
84076 esac
84079 # sed scripts:
84080 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
84081 my_sed_long_arg='1s/^-[^=]*=//'
84083 # func_opt_split
84084 func_opt_split ()
84086 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
84087 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
84090 # func_lo2o object
84091 func_lo2o ()
84093 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
84096 # func_xform libobj-or-source
84097 func_xform ()
84099 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
84102 # func_arith arithmetic-term...
84103 func_arith ()
84105 func_arith_result=`expr "$@"`
84108 # func_len string
84109 # STRING may not start with a hyphen.
84110 func_len ()
84112 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
84115 _LT_EOF
84116 esac
84118 case $lt_shell_append in
84119 yes)
84120 cat << \_LT_EOF >> "$cfgfile"
84122 # func_append var value
84123 # Append VALUE to the end of shell variable VAR.
84124 func_append ()
84126 eval "$1+=\$2"
84128 _LT_EOF
84131 cat << \_LT_EOF >> "$cfgfile"
84133 # func_append var value
84134 # Append VALUE to the end of shell variable VAR.
84135 func_append ()
84137 eval "$1=\$$1\$2"
84140 _LT_EOF
84142 esac
84145 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
84146 || (rm -f "$cfgfile"; exit 1)
84148 mv -f "$cfgfile" "$ofile" ||
84149 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
84150 chmod +x "$ofile"
84153 cat <<_LT_EOF >> "$ofile"
84155 # ### BEGIN LIBTOOL TAG CONFIG: CXX
84157 # The linker used to build libraries.
84158 LD=$lt_LD_CXX
84160 # How to create reloadable object files.
84161 reload_flag=$lt_reload_flag_CXX
84162 reload_cmds=$lt_reload_cmds_CXX
84164 # Commands used to build an old-style archive.
84165 old_archive_cmds=$lt_old_archive_cmds_CXX
84167 # A language specific compiler.
84168 CC=$lt_compiler_CXX
84170 # Is the compiler the GNU compiler?
84171 with_gcc=$GCC_CXX
84173 # Compiler flag to turn off builtin functions.
84174 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
84176 # How to pass a linker flag through the compiler.
84177 wl=$lt_lt_prog_compiler_wl_CXX
84179 # Additional compiler flags for building library objects.
84180 pic_flag=$lt_lt_prog_compiler_pic_CXX
84182 # Compiler flag to prevent dynamic linking.
84183 link_static_flag=$lt_lt_prog_compiler_static_CXX
84185 # Does compiler simultaneously support -c and -o options?
84186 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
84188 # Whether or not to add -lc for building shared libraries.
84189 build_libtool_need_lc=$archive_cmds_need_lc_CXX
84191 # Whether or not to disallow shared libs when runtime libs are static.
84192 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
84194 # Compiler flag to allow reflexive dlopens.
84195 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
84197 # Compiler flag to generate shared objects directly from archives.
84198 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
84200 # Whether the compiler copes with passing no objects directly.
84201 compiler_needs_object=$lt_compiler_needs_object_CXX
84203 # Create an old-style archive from a shared archive.
84204 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
84206 # Create a temporary old-style archive to link instead of a shared archive.
84207 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
84209 # Commands used to build a shared archive.
84210 archive_cmds=$lt_archive_cmds_CXX
84211 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
84213 # Commands used to build a loadable module if different from building
84214 # a shared archive.
84215 module_cmds=$lt_module_cmds_CXX
84216 module_expsym_cmds=$lt_module_expsym_cmds_CXX
84218 # Whether we are building with GNU ld or not.
84219 with_gnu_ld=$lt_with_gnu_ld_CXX
84221 # Flag that allows shared libraries with undefined symbols to be built.
84222 allow_undefined_flag=$lt_allow_undefined_flag_CXX
84224 # Flag that enforces no undefined symbols.
84225 no_undefined_flag=$lt_no_undefined_flag_CXX
84227 # Flag to hardcode \$libdir into a binary during linking.
84228 # This must work even if \$libdir does not exist
84229 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
84231 # If ld is used when linking, flag to hardcode \$libdir into a binary
84232 # during linking. This must work even if \$libdir does not exist.
84233 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
84235 # Whether we need a single "-rpath" flag with a separated argument.
84236 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
84238 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84239 # DIR into the resulting binary.
84240 hardcode_direct=$hardcode_direct_CXX
84242 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84243 # DIR into the resulting binary and the resulting library dependency is
84244 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
84245 # library is relocated.
84246 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
84248 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
84249 # into the resulting binary.
84250 hardcode_minus_L=$hardcode_minus_L_CXX
84252 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
84253 # into the resulting binary.
84254 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
84256 # Set to "yes" if building a shared library automatically hardcodes DIR
84257 # into the library and all subsequent libraries and executables linked
84258 # against it.
84259 hardcode_automatic=$hardcode_automatic_CXX
84261 # Set to yes if linker adds runtime paths of dependent libraries
84262 # to runtime path list.
84263 inherit_rpath=$inherit_rpath_CXX
84265 # Whether libtool must link a program against all its dependency libraries.
84266 link_all_deplibs=$link_all_deplibs_CXX
84268 # Fix the shell variable \$srcfile for the compiler.
84269 fix_srcfile_path=$lt_fix_srcfile_path_CXX
84271 # Set to "yes" if exported symbols are required.
84272 always_export_symbols=$always_export_symbols_CXX
84274 # The commands to list exported symbols.
84275 export_symbols_cmds=$lt_export_symbols_cmds_CXX
84277 # Symbols that should not be listed in the preloaded symbols.
84278 exclude_expsyms=$lt_exclude_expsyms_CXX
84280 # Symbols that must always be exported.
84281 include_expsyms=$lt_include_expsyms_CXX
84283 # Commands necessary for linking programs (against libraries) with templates.
84284 prelink_cmds=$lt_prelink_cmds_CXX
84286 # Specify filename containing input files.
84287 file_list_spec=$lt_file_list_spec_CXX
84289 # How to hardcode a shared library path into an executable.
84290 hardcode_action=$hardcode_action_CXX
84292 # The directories searched by this compiler when creating a shared library.
84293 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
84295 # Dependencies to place before and after the objects being linked to
84296 # create a shared library.
84297 predep_objects=$lt_predep_objects_CXX
84298 postdep_objects=$lt_postdep_objects_CXX
84299 predeps=$lt_predeps_CXX
84300 postdeps=$lt_postdeps_CXX
84302 # The library search path used internally by the compiler when linking
84303 # a shared library.
84304 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
84306 # ### END LIBTOOL TAG CONFIG: CXX
84307 _LT_EOF
84310 "include/gstdint.h":C)
84311 if test "$GCC" = yes; then
84312 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
84313 else
84314 echo "/* generated for $CC */" > tmp-stdint.h
84317 sed 's/^ *//' >> tmp-stdint.h <<EOF
84319 #ifndef GCC_GENERATED_STDINT_H
84320 #define GCC_GENERATED_STDINT_H 1
84322 #include <sys/types.h>
84325 if test "$acx_cv_header_stdint" != stdint.h; then
84326 echo "#include <stddef.h>" >> tmp-stdint.h
84328 if test "$acx_cv_header_stdint" != stddef.h; then
84329 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
84332 sed 's/^ *//' >> tmp-stdint.h <<EOF
84333 /* glibc uses these symbols as guards to prevent redefinitions. */
84334 #ifdef __int8_t_defined
84335 #define _INT8_T
84336 #define _INT16_T
84337 #define _INT32_T
84338 #endif
84339 #ifdef __uint32_t_defined
84340 #define _UINT32_T
84341 #endif
84345 # ----------------- done header, emit basic int types -------------
84346 if test "$acx_cv_header_stdint" = stddef.h; then
84347 sed 's/^ *//' >> tmp-stdint.h <<EOF
84349 #ifndef _UINT8_T
84350 #define _UINT8_T
84351 #ifndef __uint8_t_defined
84352 #define __uint8_t_defined
84353 #ifndef uint8_t
84354 typedef unsigned $acx_cv_type_int8_t uint8_t;
84355 #endif
84356 #endif
84357 #endif
84359 #ifndef _UINT16_T
84360 #define _UINT16_T
84361 #ifndef __uint16_t_defined
84362 #define __uint16_t_defined
84363 #ifndef uint16_t
84364 typedef unsigned $acx_cv_type_int16_t uint16_t;
84365 #endif
84366 #endif
84367 #endif
84369 #ifndef _UINT32_T
84370 #define _UINT32_T
84371 #ifndef __uint32_t_defined
84372 #define __uint32_t_defined
84373 #ifndef uint32_t
84374 typedef unsigned $acx_cv_type_int32_t uint32_t;
84375 #endif
84376 #endif
84377 #endif
84379 #ifndef _INT8_T
84380 #define _INT8_T
84381 #ifndef __int8_t_defined
84382 #define __int8_t_defined
84383 #ifndef int8_t
84384 typedef $acx_cv_type_int8_t int8_t;
84385 #endif
84386 #endif
84387 #endif
84389 #ifndef _INT16_T
84390 #define _INT16_T
84391 #ifndef __int16_t_defined
84392 #define __int16_t_defined
84393 #ifndef int16_t
84394 typedef $acx_cv_type_int16_t int16_t;
84395 #endif
84396 #endif
84397 #endif
84399 #ifndef _INT32_T
84400 #define _INT32_T
84401 #ifndef __int32_t_defined
84402 #define __int32_t_defined
84403 #ifndef int32_t
84404 typedef $acx_cv_type_int32_t int32_t;
84405 #endif
84406 #endif
84407 #endif
84409 elif test "$ac_cv_type_u_int32_t" = yes; then
84410 sed 's/^ *//' >> tmp-stdint.h <<EOF
84412 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
84413 #ifndef _INT8_T
84414 #define _INT8_T
84415 #endif
84416 #ifndef _INT16_T
84417 #define _INT16_T
84418 #endif
84419 #ifndef _INT32_T
84420 #define _INT32_T
84421 #endif
84423 #ifndef _UINT8_T
84424 #define _UINT8_T
84425 #ifndef __uint8_t_defined
84426 #define __uint8_t_defined
84427 #ifndef uint8_t
84428 typedef u_int8_t uint8_t;
84429 #endif
84430 #endif
84431 #endif
84433 #ifndef _UINT16_T
84434 #define _UINT16_T
84435 #ifndef __uint16_t_defined
84436 #define __uint16_t_defined
84437 #ifndef uint16_t
84438 typedef u_int16_t uint16_t;
84439 #endif
84440 #endif
84441 #endif
84443 #ifndef _UINT32_T
84444 #define _UINT32_T
84445 #ifndef __uint32_t_defined
84446 #define __uint32_t_defined
84447 #ifndef uint32_t
84448 typedef u_int32_t uint32_t;
84449 #endif
84450 #endif
84451 #endif
84453 else
84454 sed 's/^ *//' >> tmp-stdint.h <<EOF
84456 /* Some systems have guard macros to prevent redefinitions, define them. */
84457 #ifndef _INT8_T
84458 #define _INT8_T
84459 #endif
84460 #ifndef _INT16_T
84461 #define _INT16_T
84462 #endif
84463 #ifndef _INT32_T
84464 #define _INT32_T
84465 #endif
84466 #ifndef _UINT8_T
84467 #define _UINT8_T
84468 #endif
84469 #ifndef _UINT16_T
84470 #define _UINT16_T
84471 #endif
84472 #ifndef _UINT32_T
84473 #define _UINT32_T
84474 #endif
84478 # ------------- done basic int types, emit int64_t types ------------
84479 if test "$ac_cv_type_uint64_t" = yes; then
84480 sed 's/^ *//' >> tmp-stdint.h <<EOF
84482 /* system headers have good uint64_t and int64_t */
84483 #ifndef _INT64_T
84484 #define _INT64_T
84485 #endif
84486 #ifndef _UINT64_T
84487 #define _UINT64_T
84488 #endif
84490 elif test "$ac_cv_type_u_int64_t" = yes; then
84491 sed 's/^ *//' >> tmp-stdint.h <<EOF
84493 /* system headers have an u_int64_t (and int64_t) */
84494 #ifndef _INT64_T
84495 #define _INT64_T
84496 #endif
84497 #ifndef _UINT64_T
84498 #define _UINT64_T
84499 #ifndef __uint64_t_defined
84500 #define __uint64_t_defined
84501 #ifndef uint64_t
84502 typedef u_int64_t uint64_t;
84503 #endif
84504 #endif
84505 #endif
84507 elif test -n "$acx_cv_type_int64_t"; then
84508 sed 's/^ *//' >> tmp-stdint.h <<EOF
84510 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
84511 #ifndef _INT64_T
84512 #define _INT64_T
84513 #ifndef int64_t
84514 typedef $acx_cv_type_int64_t int64_t;
84515 #endif
84516 #endif
84517 #ifndef _UINT64_T
84518 #define _UINT64_T
84519 #ifndef __uint64_t_defined
84520 #define __uint64_t_defined
84521 #ifndef uint64_t
84522 typedef unsigned $acx_cv_type_int64_t uint64_t;
84523 #endif
84524 #endif
84525 #endif
84527 else
84528 sed 's/^ *//' >> tmp-stdint.h <<EOF
84530 /* some common heuristics for int64_t, using compiler-specific tests */
84531 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
84532 #ifndef _INT64_T
84533 #define _INT64_T
84534 #ifndef __int64_t_defined
84535 #ifndef int64_t
84536 typedef long long int64_t;
84537 #endif
84538 #endif
84539 #endif
84540 #ifndef _UINT64_T
84541 #define _UINT64_T
84542 #ifndef uint64_t
84543 typedef unsigned long long uint64_t;
84544 #endif
84545 #endif
84547 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
84548 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
84549 does not implement __extension__. But that compiler doesn't define
84550 __GNUC_MINOR__. */
84551 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
84552 # define __extension__
84553 # endif
84555 # ifndef _INT64_T
84556 # define _INT64_T
84557 # ifndef int64_t
84558 __extension__ typedef long long int64_t;
84559 # endif
84560 # endif
84561 # ifndef _UINT64_T
84562 # define _UINT64_T
84563 # ifndef uint64_t
84564 __extension__ typedef unsigned long long uint64_t;
84565 # endif
84566 # endif
84568 #elif !defined __STRICT_ANSI__
84569 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
84571 # ifndef _INT64_T
84572 # define _INT64_T
84573 # ifndef int64_t
84574 typedef __int64 int64_t;
84575 # endif
84576 # endif
84577 # ifndef _UINT64_T
84578 # define _UINT64_T
84579 # ifndef uint64_t
84580 typedef unsigned __int64 uint64_t;
84581 # endif
84582 # endif
84583 # endif /* compiler */
84585 #endif /* ANSI version */
84589 # ------------- done int64_t types, emit intptr types ------------
84590 if test "$ac_cv_type_uintptr_t" != yes; then
84591 sed 's/^ *//' >> tmp-stdint.h <<EOF
84593 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
84594 #ifndef __uintptr_t_defined
84595 #ifndef uintptr_t
84596 typedef u$acx_cv_type_intptr_t uintptr_t;
84597 #endif
84598 #endif
84599 #ifndef __intptr_t_defined
84600 #ifndef intptr_t
84601 typedef $acx_cv_type_intptr_t intptr_t;
84602 #endif
84603 #endif
84607 # ------------- done intptr types, emit int_least types ------------
84608 if test "$ac_cv_type_int_least32_t" != yes; then
84609 sed 's/^ *//' >> tmp-stdint.h <<EOF
84611 /* Define int_least types */
84612 typedef int8_t int_least8_t;
84613 typedef int16_t int_least16_t;
84614 typedef int32_t int_least32_t;
84615 #ifdef _INT64_T
84616 typedef int64_t int_least64_t;
84617 #endif
84619 typedef uint8_t uint_least8_t;
84620 typedef uint16_t uint_least16_t;
84621 typedef uint32_t uint_least32_t;
84622 #ifdef _UINT64_T
84623 typedef uint64_t uint_least64_t;
84624 #endif
84628 # ------------- done intptr types, emit int_fast types ------------
84629 if test "$ac_cv_type_int_fast32_t" != yes; then
84630 sed 's/^ *//' >> tmp-stdint.h <<EOF
84632 /* Define int_fast types. short is often slow */
84633 typedef int8_t int_fast8_t;
84634 typedef int int_fast16_t;
84635 typedef int32_t int_fast32_t;
84636 #ifdef _INT64_T
84637 typedef int64_t int_fast64_t;
84638 #endif
84640 typedef uint8_t uint_fast8_t;
84641 typedef unsigned int uint_fast16_t;
84642 typedef uint32_t uint_fast32_t;
84643 #ifdef _UINT64_T
84644 typedef uint64_t uint_fast64_t;
84645 #endif
84649 if test "$ac_cv_type_uintmax_t" != yes; then
84650 sed 's/^ *//' >> tmp-stdint.h <<EOF
84652 /* Define intmax based on what we found */
84653 #ifndef intmax_t
84654 #ifdef _INT64_T
84655 typedef int64_t intmax_t;
84656 #else
84657 typedef long intmax_t;
84658 #endif
84659 #endif
84660 #ifndef uintmax_t
84661 #ifdef _UINT64_T
84662 typedef uint64_t uintmax_t;
84663 #else
84664 typedef unsigned long uintmax_t;
84665 #endif
84666 #endif
84670 sed 's/^ *//' >> tmp-stdint.h <<EOF
84672 #endif /* GCC_GENERATED_STDINT_H */
84675 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
84676 rm -f tmp-stdint.h
84677 else
84678 mv -f tmp-stdint.h include/gstdint.h
84682 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
84683 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
84684 "include/Makefile":F) cat > vpsed$$ << \_EOF
84685 s!`test -f '$<' || echo '$(srcdir)/'`!!
84686 _EOF
84687 sed -f vpsed$$ $ac_file > tmp$$
84688 mv tmp$$ $ac_file
84689 rm vpsed$$
84690 echo 'MULTISUBDIR =' >> $ac_file
84691 ml_norecursion=yes
84692 . ${multi_basedir}/config-ml.in
84693 { ml_norecursion=; unset ml_norecursion;}
84695 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
84696 s!`test -f '$<' || echo '$(srcdir)/'`!!
84697 _EOF
84698 sed -f vpsed$$ $ac_file > tmp$$
84699 mv tmp$$ $ac_file
84700 rm vpsed$$
84701 echo 'MULTISUBDIR =' >> $ac_file
84702 ml_norecursion=yes
84703 . ${multi_basedir}/config-ml.in
84704 { ml_norecursion=; unset ml_norecursion;}
84706 "src/Makefile":F) cat > vpsed$$ << \_EOF
84707 s!`test -f '$<' || echo '$(srcdir)/'`!!
84708 _EOF
84709 sed -f vpsed$$ $ac_file > tmp$$
84710 mv tmp$$ $ac_file
84711 rm vpsed$$
84712 echo 'MULTISUBDIR =' >> $ac_file
84713 ml_norecursion=yes
84714 . ${multi_basedir}/config-ml.in
84715 { ml_norecursion=; unset ml_norecursion;}
84717 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
84718 s!`test -f '$<' || echo '$(srcdir)/'`!!
84719 _EOF
84720 sed -f vpsed$$ $ac_file > tmp$$
84721 mv tmp$$ $ac_file
84722 rm vpsed$$
84723 echo 'MULTISUBDIR =' >> $ac_file
84724 ml_norecursion=yes
84725 . ${multi_basedir}/config-ml.in
84726 { ml_norecursion=; unset ml_norecursion;}
84728 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
84729 s!`test -f '$<' || echo '$(srcdir)/'`!!
84730 _EOF
84731 sed -f vpsed$$ $ac_file > tmp$$
84732 mv tmp$$ $ac_file
84733 rm vpsed$$
84734 echo 'MULTISUBDIR =' >> $ac_file
84735 ml_norecursion=yes
84736 . ${multi_basedir}/config-ml.in
84737 { ml_norecursion=; unset ml_norecursion;}
84739 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
84740 s!`test -f '$<' || echo '$(srcdir)/'`!!
84741 _EOF
84742 sed -f vpsed$$ $ac_file > tmp$$
84743 mv tmp$$ $ac_file
84744 rm vpsed$$
84745 echo 'MULTISUBDIR =' >> $ac_file
84746 ml_norecursion=yes
84747 . ${multi_basedir}/config-ml.in
84748 { ml_norecursion=; unset ml_norecursion;}
84750 "doc/Makefile":F) cat > vpsed$$ << \_EOF
84751 s!`test -f '$<' || echo '$(srcdir)/'`!!
84752 _EOF
84753 sed -f vpsed$$ $ac_file > tmp$$
84754 mv tmp$$ $ac_file
84755 rm vpsed$$
84756 echo 'MULTISUBDIR =' >> $ac_file
84757 ml_norecursion=yes
84758 . ${multi_basedir}/config-ml.in
84759 { ml_norecursion=; unset ml_norecursion;}
84761 "po/Makefile":F) cat > vpsed$$ << \_EOF
84762 s!`test -f '$<' || echo '$(srcdir)/'`!!
84763 _EOF
84764 sed -f vpsed$$ $ac_file > tmp$$
84765 mv tmp$$ $ac_file
84766 rm vpsed$$
84767 echo 'MULTISUBDIR =' >> $ac_file
84768 ml_norecursion=yes
84769 . ${multi_basedir}/config-ml.in
84770 { ml_norecursion=; unset ml_norecursion;}
84772 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
84773 s!`test -f '$<' || echo '$(srcdir)/'`!!
84774 _EOF
84775 sed -f vpsed$$ $ac_file > tmp$$
84776 mv tmp$$ $ac_file
84777 rm vpsed$$
84778 echo 'MULTISUBDIR =' >> $ac_file
84779 ml_norecursion=yes
84780 . ${multi_basedir}/config-ml.in
84781 { ml_norecursion=; unset ml_norecursion;}
84783 "python/Makefile":F) cat > vpsed$$ << \_EOF
84784 s!`test -f '$<' || echo '$(srcdir)/'`!!
84785 _EOF
84786 sed -f vpsed$$ $ac_file > tmp$$
84787 mv tmp$$ $ac_file
84788 rm vpsed$$
84789 echo 'MULTISUBDIR =' >> $ac_file
84790 ml_norecursion=yes
84791 . ${multi_basedir}/config-ml.in
84792 { ml_norecursion=; unset ml_norecursion;}
84794 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
84796 esac
84797 done # for ac_tag
84800 as_fn_exit 0
84801 _ACEOF
84802 ac_clean_files=$ac_clean_files_save
84804 test $ac_write_fail = 0 ||
84805 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
84808 # configure is writing to config.log, and then calls config.status.
84809 # config.status does its own redirection, appending to config.log.
84810 # Unfortunately, on DOS this fails, as config.log is still kept open
84811 # by configure, so config.status won't be able to write to it; its
84812 # output is simply discarded. So we exec the FD to /dev/null,
84813 # effectively closing config.log, so it can be properly (re)opened and
84814 # appended to by config.status. When coming back to configure, we
84815 # need to make the FD available again.
84816 if test "$no_create" != yes; then
84817 ac_cs_success=:
84818 ac_config_status_args=
84819 test "$silent" = yes &&
84820 ac_config_status_args="$ac_config_status_args --quiet"
84821 exec 5>/dev/null
84822 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
84823 exec 5>>config.log
84824 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
84825 # would make configure fail if this is the last instruction.
84826 $ac_cs_success || as_fn_exit $?
84828 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
84829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
84830 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}