* lto-partition.c (add_symbol_to_partition_1,
[official-gcc.git] / libstdc++-v3 / configure
blob57e09d811724a27555f3b9f5c3d5e0e1a7d870f3
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
148 esac
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
164 else
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
242 exit 1
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
260 { eval $1=; unset $1;}
262 as_unset=as_fn_unset
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
269 return $1
270 } # as_fn_set_status
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
313 /^X\(\/\/\)$/{
314 s//\1/
317 /^X\(\/\).*/{
318 s//\1/
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
338 eval $1+=\$2
340 else
341 as_fn_append ()
343 eval $1=\$$1\$2
345 fi # as_fn_append
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
355 as_val=$(( $* ))
357 else
358 as_fn_arith ()
360 as_val=`expr "$@" || test $? -eq 1`
362 fi # as_fn_arith
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
409 /^X\/\(\/\/\)$/{
410 s//\1/
413 /^X\/\(\/\).*/{
414 s//\1/
417 s/.*/./; q'`
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
440 :lineno
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
468 ECHO_N='-n';;
469 esac
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
492 else
493 as_ln_s='cp -p'
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
526 as_executable_p=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev/null 6>&1
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
545 # Initializations.
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
564 ac_unique_file="src/shared/hashtable-aux.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 # include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 # include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 WARN_FLAGS
606 OPTIMIZE_CXXFLAGS
607 TOPLEVEL_INCLUDES
608 GLIBCXX_INCLUDES
609 glibcxx_toolexeclibdir
610 glibcxx_toolexecdir
611 gxx_include_dir
612 glibcxx_prefixdir
613 CPU_OPT_BITS_RANDOM
614 CPU_OPT_EXT_RANDOM
615 ERROR_CONSTANTS_SRCDIR
616 OS_INC_SRCDIR
617 ABI_TWEAKS_SRCDIR
618 CPU_DEFINES_SRCDIR
619 ATOMIC_FLAGS
620 ATOMIC_WORD_SRCDIR
621 ATOMICITY_SRCDIR
622 BUILD_PDF_FALSE
623 BUILD_PDF_TRUE
624 PDFLATEX
625 DBLATEX
626 BUILD_MAN_FALSE
627 BUILD_MAN_TRUE
628 BUILD_HTML_FALSE
629 BUILD_HTML_TRUE
630 BUILD_XML_FALSE
631 BUILD_XML_TRUE
632 BUILD_EPUB_FALSE
633 BUILD_EPUB_TRUE
634 XSL_STYLE_DIR
635 XMLLINT
636 XSLTPROC
638 DOXYGEN
639 BUILD_INFO_FALSE
640 BUILD_INFO_TRUE
641 baseline_subdir_switch
642 baseline_dir
643 HWCAP_FLAGS
644 GLIBCXX_LDBL_COMPAT_FALSE
645 GLIBCXX_LDBL_COMPAT_TRUE
646 ENABLE_VISIBILITY_FALSE
647 ENABLE_VISIBILITY_TRUE
648 libtool_VERSION
649 ENABLE_SYMVERS_SUN_FALSE
650 ENABLE_SYMVERS_SUN_TRUE
651 ENABLE_SYMVERS_DARWIN_FALSE
652 ENABLE_SYMVERS_DARWIN_TRUE
653 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
654 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
655 ENABLE_SYMVERS_GNU_FALSE
656 ENABLE_SYMVERS_GNU_TRUE
657 ENABLE_SYMVERS_FALSE
658 ENABLE_SYMVERS_TRUE
659 port_specific_symbol_files
660 SYMVER_FILE
661 CXXFILT
662 LTLIBICONV
663 LIBICONV
664 OPT_LDFLAGS
665 SECTION_LDFLAGS
666 GLIBCXX_LIBS
667 ENABLE_VTABLE_VERIFY_FALSE
668 ENABLE_VTABLE_VERIFY_TRUE
669 VTV_CXXLINKFLAGS
670 VTV_PCH_CXXFLAGS
671 VTV_CXXFLAGS
672 ENABLE_WERROR_FALSE
673 ENABLE_WERROR_TRUE
674 ENABLE_PYTHONDIR_FALSE
675 ENABLE_PYTHONDIR_TRUE
676 python_mod_dir
677 ENABLE_EXTERN_TEMPLATE_FALSE
678 ENABLE_EXTERN_TEMPLATE_TRUE
679 EXTRA_CXX_FLAGS
680 GLIBCXX_BUILD_DEBUG_FALSE
681 GLIBCXX_BUILD_DEBUG_TRUE
682 DEBUG_FLAGS
683 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
684 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
685 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
686 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
687 GLIBCXX_C_HEADERS_C_STD_FALSE
688 GLIBCXX_C_HEADERS_C_STD_TRUE
689 GLIBCXX_C_HEADERS_C_FALSE
690 GLIBCXX_C_HEADERS_C_TRUE
691 C_INCLUDE_DIR
692 ALLOCATOR_NAME
693 ALLOCATOR_H
694 CLOCALE_INTERNAL_H
695 CLOCALE_CC
696 CTIME_CC
697 CTIME_H
698 CNUMERIC_CC
699 CMONEY_CC
700 CMESSAGES_CC
701 CCTYPE_CC
702 CCOLLATE_CC
703 CCODECVT_CC
704 CMESSAGES_H
705 CLOCALE_H
706 USE_NLS
707 glibcxx_localedir
708 glibcxx_POFILES
709 glibcxx_MOFILES
710 check_msgfmt
711 BASIC_FILE_CC
712 BASIC_FILE_H
713 CSTDIO_H
714 SECTION_FLAGS
715 WERROR
716 thread_header
717 glibcxx_PCHFLAGS
718 GLIBCXX_BUILD_PCH_FALSE
719 GLIBCXX_BUILD_PCH_TRUE
720 GLIBCXX_HOSTED_FALSE
721 GLIBCXX_HOSTED_TRUE
722 glibcxx_compiler_shared_flag
723 glibcxx_compiler_pic_flag
724 glibcxx_lt_pic_flag
725 enable_static
726 enable_shared
727 lt_host_flags
728 CXXCPP
729 OTOOL64
730 OTOOL
731 LIPO
732 NMEDIT
733 DSYMUTIL
734 OBJDUMP
736 ac_ct_DUMPBIN
737 DUMPBIN
739 FGREP
741 LIBTOOL
742 EGREP
743 GREP
745 MAINT
746 MAINTAINER_MODE_FALSE
747 MAINTAINER_MODE_TRUE
748 RANLIB
751 LN_S
752 toplevel_srcdir
753 toplevel_builddir
754 glibcxx_srcdir
755 glibcxx_builddir
756 ac_ct_CXX
757 CXXFLAGS
759 OBJEXT
760 EXEEXT
761 ac_ct_CC
762 CPPFLAGS
763 LDFLAGS
764 CFLAGS
766 am__untar
767 am__tar
768 AMTAR
769 am__leading_dot
770 SET_MAKE
772 mkdir_p
773 MKDIR_P
774 INSTALL_STRIP_PROGRAM
775 STRIP
776 install_sh
777 MAKEINFO
778 AUTOHEADER
779 AUTOMAKE
780 AUTOCONF
781 ACLOCAL
782 VERSION
783 PACKAGE
784 CYGPATH_W
785 am__isrc
786 INSTALL_DATA
787 INSTALL_SCRIPT
788 INSTALL_PROGRAM
789 target_os
790 target_vendor
791 target_cpu
792 target
793 host_os
794 host_vendor
795 host_cpu
796 host
797 build_os
798 build_vendor
799 build_cpu
800 build
801 multi_basedir
802 target_alias
803 host_alias
804 build_alias
805 LIBS
806 ECHO_T
807 ECHO_N
808 ECHO_C
809 DEFS
810 mandir
811 localedir
812 libdir
813 psdir
814 pdfdir
815 dvidir
816 htmldir
817 infodir
818 docdir
819 oldincludedir
820 includedir
821 localstatedir
822 sharedstatedir
823 sysconfdir
824 datadir
825 datarootdir
826 libexecdir
827 sbindir
828 bindir
829 program_transform_name
830 prefix
831 exec_prefix
832 PACKAGE_URL
833 PACKAGE_BUGREPORT
834 PACKAGE_STRING
835 PACKAGE_VERSION
836 PACKAGE_TARNAME
837 PACKAGE_NAME
838 PATH_SEPARATOR
839 SHELL'
840 ac_subst_files=''
841 ac_user_opts='
842 enable_option_checking
843 enable_multilib
844 with_target_subdir
845 with_cross_host
846 with_newlib
847 enable_maintainer_mode
848 enable_shared
849 enable_static
850 with_pic
851 enable_fast_install
852 with_gnu_ld
853 enable_libtool_lock
854 enable_hosted_libstdcxx
855 enable_libstdcxx_verbose
856 enable_sjlj_exceptions
857 enable_libstdcxx_pch
858 enable_cstdio
859 enable_clocale
860 enable_nls
861 enable_libstdcxx_allocator
862 enable_cheaders
863 enable_long_long
864 enable_wchar_t
865 enable_c99
866 enable_concept_checks
867 enable_libstdcxx_debug_flags
868 enable_libstdcxx_debug
869 enable_cxx_flags
870 enable_fully_dynamic_string
871 enable_extern_template
872 with_python_dir
873 enable_werror
874 enable_vtable_verify
875 enable_libstdcxx_time
876 enable_tls
877 enable_rpath
878 with_libiconv_prefix
879 with_system_libunwind
880 enable_linux_futex
881 enable_symvers
882 enable_libstdcxx_visibility
883 enable_libstdcxx_threads
884 with_gxx_include_dir
885 enable_version_specific_runtime_libs
887 ac_precious_vars='build_alias
888 host_alias
889 target_alias
891 CFLAGS
892 LDFLAGS
893 LIBS
894 CPPFLAGS
896 CXXFLAGS
899 CXXCPP
900 CXXFILT'
903 # Initialize some variables set by options.
904 ac_init_help=
905 ac_init_version=false
906 ac_unrecognized_opts=
907 ac_unrecognized_sep=
908 # The variables have the same names as the options, with
909 # dashes changed to underlines.
910 cache_file=/dev/null
911 exec_prefix=NONE
912 no_create=
913 no_recursion=
914 prefix=NONE
915 program_prefix=NONE
916 program_suffix=NONE
917 program_transform_name=s,x,x,
918 silent=
919 site=
920 srcdir=
921 verbose=
922 x_includes=NONE
923 x_libraries=NONE
925 # Installation directory options.
926 # These are left unexpanded so users can "make install exec_prefix=/foo"
927 # and all the variables that are supposed to be based on exec_prefix
928 # by default will actually change.
929 # Use braces instead of parens because sh, perl, etc. also accept them.
930 # (The list follows the same order as the GNU Coding Standards.)
931 bindir='${exec_prefix}/bin'
932 sbindir='${exec_prefix}/sbin'
933 libexecdir='${exec_prefix}/libexec'
934 datarootdir='${prefix}/share'
935 datadir='${datarootdir}'
936 sysconfdir='${prefix}/etc'
937 sharedstatedir='${prefix}/com'
938 localstatedir='${prefix}/var'
939 includedir='${prefix}/include'
940 oldincludedir='/usr/include'
941 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
942 infodir='${datarootdir}/info'
943 htmldir='${docdir}'
944 dvidir='${docdir}'
945 pdfdir='${docdir}'
946 psdir='${docdir}'
947 libdir='${exec_prefix}/lib'
948 localedir='${datarootdir}/locale'
949 mandir='${datarootdir}/man'
951 ac_prev=
952 ac_dashdash=
953 for ac_option
955 # If the previous option needs an argument, assign it.
956 if test -n "$ac_prev"; then
957 eval $ac_prev=\$ac_option
958 ac_prev=
959 continue
962 case $ac_option in
963 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
964 *) ac_optarg=yes ;;
965 esac
967 # Accept the important Cygnus configure options, so we can diagnose typos.
969 case $ac_dashdash$ac_option in
971 ac_dashdash=yes ;;
973 -bindir | --bindir | --bindi | --bind | --bin | --bi)
974 ac_prev=bindir ;;
975 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
976 bindir=$ac_optarg ;;
978 -build | --build | --buil | --bui | --bu)
979 ac_prev=build_alias ;;
980 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
981 build_alias=$ac_optarg ;;
983 -cache-file | --cache-file | --cache-fil | --cache-fi \
984 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
985 ac_prev=cache_file ;;
986 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
987 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
988 cache_file=$ac_optarg ;;
990 --config-cache | -C)
991 cache_file=config.cache ;;
993 -datadir | --datadir | --datadi | --datad)
994 ac_prev=datadir ;;
995 -datadir=* | --datadir=* | --datadi=* | --datad=*)
996 datadir=$ac_optarg ;;
998 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
999 | --dataroo | --dataro | --datar)
1000 ac_prev=datarootdir ;;
1001 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1002 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1003 datarootdir=$ac_optarg ;;
1005 -disable-* | --disable-*)
1006 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1007 # Reject names that are not valid shell variable names.
1008 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1009 as_fn_error "invalid feature name: $ac_useropt"
1010 ac_useropt_orig=$ac_useropt
1011 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1012 case $ac_user_opts in
1014 "enable_$ac_useropt"
1015 "*) ;;
1016 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1017 ac_unrecognized_sep=', ';;
1018 esac
1019 eval enable_$ac_useropt=no ;;
1021 -docdir | --docdir | --docdi | --doc | --do)
1022 ac_prev=docdir ;;
1023 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1024 docdir=$ac_optarg ;;
1026 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1027 ac_prev=dvidir ;;
1028 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1029 dvidir=$ac_optarg ;;
1031 -enable-* | --enable-*)
1032 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1033 # Reject names that are not valid shell variable names.
1034 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1035 as_fn_error "invalid feature name: $ac_useropt"
1036 ac_useropt_orig=$ac_useropt
1037 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1038 case $ac_user_opts in
1040 "enable_$ac_useropt"
1041 "*) ;;
1042 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1043 ac_unrecognized_sep=', ';;
1044 esac
1045 eval enable_$ac_useropt=\$ac_optarg ;;
1047 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1048 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1049 | --exec | --exe | --ex)
1050 ac_prev=exec_prefix ;;
1051 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1052 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1053 | --exec=* | --exe=* | --ex=*)
1054 exec_prefix=$ac_optarg ;;
1056 -gas | --gas | --ga | --g)
1057 # Obsolete; use --with-gas.
1058 with_gas=yes ;;
1060 -help | --help | --hel | --he | -h)
1061 ac_init_help=long ;;
1062 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1063 ac_init_help=recursive ;;
1064 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1065 ac_init_help=short ;;
1067 -host | --host | --hos | --ho)
1068 ac_prev=host_alias ;;
1069 -host=* | --host=* | --hos=* | --ho=*)
1070 host_alias=$ac_optarg ;;
1072 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1073 ac_prev=htmldir ;;
1074 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1075 | --ht=*)
1076 htmldir=$ac_optarg ;;
1078 -includedir | --includedir | --includedi | --included | --include \
1079 | --includ | --inclu | --incl | --inc)
1080 ac_prev=includedir ;;
1081 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1082 | --includ=* | --inclu=* | --incl=* | --inc=*)
1083 includedir=$ac_optarg ;;
1085 -infodir | --infodir | --infodi | --infod | --info | --inf)
1086 ac_prev=infodir ;;
1087 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1088 infodir=$ac_optarg ;;
1090 -libdir | --libdir | --libdi | --libd)
1091 ac_prev=libdir ;;
1092 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1093 libdir=$ac_optarg ;;
1095 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1096 | --libexe | --libex | --libe)
1097 ac_prev=libexecdir ;;
1098 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1099 | --libexe=* | --libex=* | --libe=*)
1100 libexecdir=$ac_optarg ;;
1102 -localedir | --localedir | --localedi | --localed | --locale)
1103 ac_prev=localedir ;;
1104 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1105 localedir=$ac_optarg ;;
1107 -localstatedir | --localstatedir | --localstatedi | --localstated \
1108 | --localstate | --localstat | --localsta | --localst | --locals)
1109 ac_prev=localstatedir ;;
1110 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1111 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1112 localstatedir=$ac_optarg ;;
1114 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1115 ac_prev=mandir ;;
1116 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1117 mandir=$ac_optarg ;;
1119 -nfp | --nfp | --nf)
1120 # Obsolete; use --without-fp.
1121 with_fp=no ;;
1123 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1124 | --no-cr | --no-c | -n)
1125 no_create=yes ;;
1127 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1128 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1129 no_recursion=yes ;;
1131 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1132 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1133 | --oldin | --oldi | --old | --ol | --o)
1134 ac_prev=oldincludedir ;;
1135 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1136 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1137 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1138 oldincludedir=$ac_optarg ;;
1140 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1141 ac_prev=prefix ;;
1142 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1143 prefix=$ac_optarg ;;
1145 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1146 | --program-pre | --program-pr | --program-p)
1147 ac_prev=program_prefix ;;
1148 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1149 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1150 program_prefix=$ac_optarg ;;
1152 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1153 | --program-suf | --program-su | --program-s)
1154 ac_prev=program_suffix ;;
1155 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1156 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1157 program_suffix=$ac_optarg ;;
1159 -program-transform-name | --program-transform-name \
1160 | --program-transform-nam | --program-transform-na \
1161 | --program-transform-n | --program-transform- \
1162 | --program-transform | --program-transfor \
1163 | --program-transfo | --program-transf \
1164 | --program-trans | --program-tran \
1165 | --progr-tra | --program-tr | --program-t)
1166 ac_prev=program_transform_name ;;
1167 -program-transform-name=* | --program-transform-name=* \
1168 | --program-transform-nam=* | --program-transform-na=* \
1169 | --program-transform-n=* | --program-transform-=* \
1170 | --program-transform=* | --program-transfor=* \
1171 | --program-transfo=* | --program-transf=* \
1172 | --program-trans=* | --program-tran=* \
1173 | --progr-tra=* | --program-tr=* | --program-t=*)
1174 program_transform_name=$ac_optarg ;;
1176 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1177 ac_prev=pdfdir ;;
1178 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1179 pdfdir=$ac_optarg ;;
1181 -psdir | --psdir | --psdi | --psd | --ps)
1182 ac_prev=psdir ;;
1183 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1184 psdir=$ac_optarg ;;
1186 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1187 | -silent | --silent | --silen | --sile | --sil)
1188 silent=yes ;;
1190 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1191 ac_prev=sbindir ;;
1192 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1193 | --sbi=* | --sb=*)
1194 sbindir=$ac_optarg ;;
1196 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1197 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1198 | --sharedst | --shareds | --shared | --share | --shar \
1199 | --sha | --sh)
1200 ac_prev=sharedstatedir ;;
1201 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1202 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1203 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1204 | --sha=* | --sh=*)
1205 sharedstatedir=$ac_optarg ;;
1207 -site | --site | --sit)
1208 ac_prev=site ;;
1209 -site=* | --site=* | --sit=*)
1210 site=$ac_optarg ;;
1212 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1213 ac_prev=srcdir ;;
1214 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1215 srcdir=$ac_optarg ;;
1217 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1218 | --syscon | --sysco | --sysc | --sys | --sy)
1219 ac_prev=sysconfdir ;;
1220 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1221 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1222 sysconfdir=$ac_optarg ;;
1224 -target | --target | --targe | --targ | --tar | --ta | --t)
1225 ac_prev=target_alias ;;
1226 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1227 target_alias=$ac_optarg ;;
1229 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1230 verbose=yes ;;
1232 -version | --version | --versio | --versi | --vers | -V)
1233 ac_init_version=: ;;
1235 -with-* | --with-*)
1236 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1237 # Reject names that are not valid shell variable names.
1238 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1239 as_fn_error "invalid package name: $ac_useropt"
1240 ac_useropt_orig=$ac_useropt
1241 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1242 case $ac_user_opts in
1244 "with_$ac_useropt"
1245 "*) ;;
1246 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1247 ac_unrecognized_sep=', ';;
1248 esac
1249 eval with_$ac_useropt=\$ac_optarg ;;
1251 -without-* | --without-*)
1252 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1253 # Reject names that are not valid shell variable names.
1254 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1255 as_fn_error "invalid package name: $ac_useropt"
1256 ac_useropt_orig=$ac_useropt
1257 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1258 case $ac_user_opts in
1260 "with_$ac_useropt"
1261 "*) ;;
1262 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1263 ac_unrecognized_sep=', ';;
1264 esac
1265 eval with_$ac_useropt=no ;;
1267 --x)
1268 # Obsolete; use --with-x.
1269 with_x=yes ;;
1271 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1272 | --x-incl | --x-inc | --x-in | --x-i)
1273 ac_prev=x_includes ;;
1274 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1275 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1276 x_includes=$ac_optarg ;;
1278 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1279 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1280 ac_prev=x_libraries ;;
1281 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1282 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1283 x_libraries=$ac_optarg ;;
1285 -*) as_fn_error "unrecognized option: \`$ac_option'
1286 Try \`$0 --help' for more information."
1289 *=*)
1290 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1291 # Reject names that are not valid shell variable names.
1292 case $ac_envvar in #(
1293 '' | [0-9]* | *[!_$as_cr_alnum]* )
1294 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1295 esac
1296 eval $ac_envvar=\$ac_optarg
1297 export $ac_envvar ;;
1300 # FIXME: should be removed in autoconf 3.0.
1301 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1302 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1303 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1304 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1307 esac
1308 done
1310 if test -n "$ac_prev"; then
1311 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1312 as_fn_error "missing argument to $ac_option"
1315 if test -n "$ac_unrecognized_opts"; then
1316 case $enable_option_checking in
1317 no) ;;
1318 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1319 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1320 esac
1323 # Check all directory arguments for consistency.
1324 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1325 datadir sysconfdir sharedstatedir localstatedir includedir \
1326 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1327 libdir localedir mandir
1329 eval ac_val=\$$ac_var
1330 # Remove trailing slashes.
1331 case $ac_val in
1332 */ )
1333 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1334 eval $ac_var=\$ac_val;;
1335 esac
1336 # Be sure to have absolute directory names.
1337 case $ac_val in
1338 [\\/$]* | ?:[\\/]* ) continue;;
1339 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1340 esac
1341 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1342 done
1344 # There might be people who depend on the old broken behavior: `$host'
1345 # used to hold the argument of --host etc.
1346 # FIXME: To remove some day.
1347 build=$build_alias
1348 host=$host_alias
1349 target=$target_alias
1351 # FIXME: To remove some day.
1352 if test "x$host_alias" != x; then
1353 if test "x$build_alias" = x; then
1354 cross_compiling=maybe
1355 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1356 If a cross compiler is detected then cross compile mode will be used." >&2
1357 elif test "x$build_alias" != "x$host_alias"; then
1358 cross_compiling=yes
1362 ac_tool_prefix=
1363 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1365 test "$silent" = yes && exec 6>/dev/null
1368 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1369 ac_ls_di=`ls -di .` &&
1370 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1371 as_fn_error "working directory cannot be determined"
1372 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1373 as_fn_error "pwd does not report name of working directory"
1376 # Find the source files, if location was not specified.
1377 if test -z "$srcdir"; then
1378 ac_srcdir_defaulted=yes
1379 # Try the directory containing this script, then the parent directory.
1380 ac_confdir=`$as_dirname -- "$as_myself" ||
1381 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1382 X"$as_myself" : 'X\(//\)[^/]' \| \
1383 X"$as_myself" : 'X\(//\)$' \| \
1384 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1385 $as_echo X"$as_myself" |
1386 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1387 s//\1/
1390 /^X\(\/\/\)[^/].*/{
1391 s//\1/
1394 /^X\(\/\/\)$/{
1395 s//\1/
1398 /^X\(\/\).*/{
1399 s//\1/
1402 s/.*/./; q'`
1403 srcdir=$ac_confdir
1404 if test ! -r "$srcdir/$ac_unique_file"; then
1405 srcdir=..
1407 else
1408 ac_srcdir_defaulted=no
1410 if test ! -r "$srcdir/$ac_unique_file"; then
1411 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1412 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1414 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1415 ac_abs_confdir=`(
1416 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1417 pwd)`
1418 # When building in place, set srcdir=.
1419 if test "$ac_abs_confdir" = "$ac_pwd"; then
1420 srcdir=.
1422 # Remove unnecessary trailing slashes from srcdir.
1423 # Double slashes in file names in object file debugging info
1424 # mess up M-x gdb in Emacs.
1425 case $srcdir in
1426 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1427 esac
1428 for ac_var in $ac_precious_vars; do
1429 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1430 eval ac_env_${ac_var}_value=\$${ac_var}
1431 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1432 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1433 done
1436 # Report the --help message.
1438 if test "$ac_init_help" = "long"; then
1439 # Omit some internal or obsolete options to make the list less imposing.
1440 # This message is too long to be a string in the A/UX 3.1 sh.
1441 cat <<_ACEOF
1442 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1444 Usage: $0 [OPTION]... [VAR=VALUE]...
1446 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1447 VAR=VALUE. See below for descriptions of some of the useful variables.
1449 Defaults for the options are specified in brackets.
1451 Configuration:
1452 -h, --help display this help and exit
1453 --help=short display options specific to this package
1454 --help=recursive display the short help of all the included packages
1455 -V, --version display version information and exit
1456 -q, --quiet, --silent do not print \`checking...' messages
1457 --cache-file=FILE cache test results in FILE [disabled]
1458 -C, --config-cache alias for \`--cache-file=config.cache'
1459 -n, --no-create do not create output files
1460 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1462 Installation directories:
1463 --prefix=PREFIX install architecture-independent files in PREFIX
1464 [$ac_default_prefix]
1465 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1466 [PREFIX]
1468 By default, \`make install' will install all the files in
1469 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1470 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1471 for instance \`--prefix=\$HOME'.
1473 For better control, use the options below.
1475 Fine tuning of the installation directories:
1476 --bindir=DIR user executables [EPREFIX/bin]
1477 --sbindir=DIR system admin executables [EPREFIX/sbin]
1478 --libexecdir=DIR program executables [EPREFIX/libexec]
1479 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1480 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1481 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1482 --libdir=DIR object code libraries [EPREFIX/lib]
1483 --includedir=DIR C header files [PREFIX/include]
1484 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1485 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1486 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1487 --infodir=DIR info documentation [DATAROOTDIR/info]
1488 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1489 --mandir=DIR man documentation [DATAROOTDIR/man]
1490 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1491 --htmldir=DIR html documentation [DOCDIR]
1492 --dvidir=DIR dvi documentation [DOCDIR]
1493 --pdfdir=DIR pdf documentation [DOCDIR]
1494 --psdir=DIR ps documentation [DOCDIR]
1495 _ACEOF
1497 cat <<\_ACEOF
1499 Program names:
1500 --program-prefix=PREFIX prepend PREFIX to installed program names
1501 --program-suffix=SUFFIX append SUFFIX to installed program names
1502 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1504 System types:
1505 --build=BUILD configure for building on BUILD [guessed]
1506 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1507 --target=TARGET configure for building compilers for TARGET [HOST]
1508 _ACEOF
1511 if test -n "$ac_init_help"; then
1512 case $ac_init_help in
1513 short | recursive ) echo "Configuration of package-unused version-unused:";;
1514 esac
1515 cat <<\_ACEOF
1517 Optional Features:
1518 --disable-option-checking ignore unrecognized --enable/--with options
1519 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1520 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1521 --enable-multilib build many library versions (default)
1522 --enable-maintainer-mode enable make rules and dependencies not useful
1523 (and sometimes confusing) to the casual installer
1524 --enable-shared[=PKGS] build shared libraries [default=yes]
1525 --enable-static[=PKGS] build static libraries [default=yes]
1526 --enable-fast-install[=PKGS]
1527 optimize for fast installation [default=yes]
1528 --disable-libtool-lock avoid locking (might break parallel builds)
1529 --disable-hosted-libstdcxx
1530 only build freestanding C++ runtime support
1531 --disable-libstdcxx-verbose
1532 disable termination messages to standard error
1533 --enable-sjlj-exceptions
1534 force use of builtin_setjmp for exceptions
1535 [default=auto]
1536 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1537 [default=$is_hosted]
1538 --enable-cstdio[=PACKAGE]
1539 use target-specific I/O package [default=stdio]
1540 --enable-clocale[=MODEL]
1541 use MODEL for target locale package [default=auto]
1542 --enable-nls use Native Language Support (default)
1543 --enable-libstdcxx-allocator[=KIND]
1544 use KIND for target std::allocator base
1545 [default=auto]
1546 --enable-cheaders[=KIND]
1547 construct "C" headers for g++ [default=$c_model]
1548 --enable-long-long enable template specializations for 'long long'
1549 [default=yes]
1550 --enable-wchar_t enable template specializations for 'wchar_t'
1551 [default=yes]
1552 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1553 --enable-concept-checks use Boost-derived template checks [default=no]
1554 --enable-libstdcxx-debug-flags=FLAGS
1555 pass compiler FLAGS when building debug library
1556 [default="-gdwarf-4 -g3 -O0"]
1557 --enable-libstdcxx-debug
1558 build extra debug library [default=no]
1559 --enable-cxx-flags=FLAGS
1560 pass compiler FLAGS when building library [default=]
1561 --enable-fully-dynamic-string
1562 do not put empty strings in per-process static
1563 memory [default=no]
1564 --enable-extern-template
1565 enable extern template [default=yes]
1566 --enable-werror turns on -Werror [default=yes]
1567 --enable-vtable-verify enable vtable verify [default=no]
1568 --enable-libstdcxx-time[=KIND]
1569 use KIND for check type [default=auto]
1570 --enable-tls Use thread-local storage [default=yes]
1571 --disable-rpath do not hardcode runtime library paths
1572 --enable-linux-futex use the Linux futex system call [default=default]
1573 --enable-symvers[=STYLE]
1574 enables symbol versioning of the shared library
1575 [default=yes]
1576 --enable-libstdcxx-visibility
1577 enables visibility safe usage [default=yes]
1578 --enable-libstdcxx-threads
1579 enable C++11 threads support [default=auto]
1580 --enable-version-specific-runtime-libs
1581 Specify that runtime libraries should be installed
1582 in a compiler-specific directory
1584 Optional Packages:
1585 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1586 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1587 --with-target-subdir=SUBDIR
1588 configuring in a subdirectory
1589 --with-cross-host=HOST configuring with a cross compiler
1590 --with-newlib assume newlib as a system C library
1591 --with-pic try to use only PIC/non-PIC objects [default=use
1592 both]
1593 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1594 --with-python-dir the location to install Python modules. This path is
1595 relative starting from the prefix.
1596 --with-gnu-ld assume the C compiler uses GNU ld default=no
1597 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1598 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1599 --with-system-libunwind use installed libunwind
1600 --with-gxx-include-dir=DIR
1601 installation directory for include files
1603 Some influential environment variables:
1604 CC C compiler command
1605 CFLAGS C compiler flags
1606 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1607 nonstandard directory <lib dir>
1608 LIBS libraries to pass to the linker, e.g. -l<library>
1609 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1610 you have headers in a nonstandard directory <include dir>
1611 CXX C++ compiler command
1612 CXXFLAGS C++ compiler flags
1613 CPP C preprocessor
1614 CXXCPP C++ preprocessor
1615 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1616 `c++filt', `gc++filt' on PATH.
1618 Use these variables to override the choices made by `configure' or to help
1619 it to find libraries and programs with nonstandard names/locations.
1621 Report bugs to the package provider.
1622 _ACEOF
1623 ac_status=$?
1626 if test "$ac_init_help" = "recursive"; then
1627 # If there are subdirs, report their specific --help.
1628 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1629 test -d "$ac_dir" ||
1630 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1631 continue
1632 ac_builddir=.
1634 case "$ac_dir" in
1635 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1637 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1638 # A ".." for each directory in $ac_dir_suffix.
1639 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1640 case $ac_top_builddir_sub in
1641 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1642 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1643 esac ;;
1644 esac
1645 ac_abs_top_builddir=$ac_pwd
1646 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1647 # for backward compatibility:
1648 ac_top_builddir=$ac_top_build_prefix
1650 case $srcdir in
1651 .) # We are building in place.
1652 ac_srcdir=.
1653 ac_top_srcdir=$ac_top_builddir_sub
1654 ac_abs_top_srcdir=$ac_pwd ;;
1655 [\\/]* | ?:[\\/]* ) # Absolute name.
1656 ac_srcdir=$srcdir$ac_dir_suffix;
1657 ac_top_srcdir=$srcdir
1658 ac_abs_top_srcdir=$srcdir ;;
1659 *) # Relative name.
1660 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1661 ac_top_srcdir=$ac_top_build_prefix$srcdir
1662 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1663 esac
1664 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1666 cd "$ac_dir" || { ac_status=$?; continue; }
1667 # Check for guested configure.
1668 if test -f "$ac_srcdir/configure.gnu"; then
1669 echo &&
1670 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1671 elif test -f "$ac_srcdir/configure"; then
1672 echo &&
1673 $SHELL "$ac_srcdir/configure" --help=recursive
1674 else
1675 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1676 fi || ac_status=$?
1677 cd "$ac_pwd" || { ac_status=$?; break; }
1678 done
1681 test -n "$ac_init_help" && exit $ac_status
1682 if $ac_init_version; then
1683 cat <<\_ACEOF
1684 package-unused configure version-unused
1685 generated by GNU Autoconf 2.64
1687 Copyright (C) 2009 Free Software Foundation, Inc.
1688 This configure script is free software; the Free Software Foundation
1689 gives unlimited permission to copy, distribute and modify it.
1690 _ACEOF
1691 exit
1694 ## ------------------------ ##
1695 ## Autoconf initialization. ##
1696 ## ------------------------ ##
1698 # ac_fn_c_try_compile LINENO
1699 # --------------------------
1700 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1701 ac_fn_c_try_compile ()
1703 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1704 rm -f conftest.$ac_objext
1705 if { { ac_try="$ac_compile"
1706 case "(($ac_try" in
1707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1708 *) ac_try_echo=$ac_try;;
1709 esac
1710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1711 $as_echo "$ac_try_echo"; } >&5
1712 (eval "$ac_compile") 2>conftest.err
1713 ac_status=$?
1714 if test -s conftest.err; then
1715 grep -v '^ *+' conftest.err >conftest.er1
1716 cat conftest.er1 >&5
1717 mv -f conftest.er1 conftest.err
1719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1720 test $ac_status = 0; } && {
1721 test -z "$ac_c_werror_flag" ||
1722 test ! -s conftest.err
1723 } && test -s conftest.$ac_objext; then :
1724 ac_retval=0
1725 else
1726 $as_echo "$as_me: failed program was:" >&5
1727 sed 's/^/| /' conftest.$ac_ext >&5
1729 ac_retval=1
1731 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1732 return $ac_retval
1734 } # ac_fn_c_try_compile
1736 # ac_fn_cxx_try_compile LINENO
1737 # ----------------------------
1738 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1739 ac_fn_cxx_try_compile ()
1741 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1742 rm -f conftest.$ac_objext
1743 if { { ac_try="$ac_compile"
1744 case "(($ac_try" in
1745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1746 *) ac_try_echo=$ac_try;;
1747 esac
1748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1749 $as_echo "$ac_try_echo"; } >&5
1750 (eval "$ac_compile") 2>conftest.err
1751 ac_status=$?
1752 if test -s conftest.err; then
1753 grep -v '^ *+' conftest.err >conftest.er1
1754 cat conftest.er1 >&5
1755 mv -f conftest.er1 conftest.err
1757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1758 test $ac_status = 0; } && {
1759 test -z "$ac_cxx_werror_flag" ||
1760 test ! -s conftest.err
1761 } && test -s conftest.$ac_objext; then :
1762 ac_retval=0
1763 else
1764 $as_echo "$as_me: failed program was:" >&5
1765 sed 's/^/| /' conftest.$ac_ext >&5
1767 ac_retval=1
1769 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1770 return $ac_retval
1772 } # ac_fn_cxx_try_compile
1774 # ac_fn_c_try_cpp LINENO
1775 # ----------------------
1776 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1777 ac_fn_c_try_cpp ()
1779 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1780 if { { ac_try="$ac_cpp conftest.$ac_ext"
1781 case "(($ac_try" in
1782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1783 *) ac_try_echo=$ac_try;;
1784 esac
1785 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1786 $as_echo "$ac_try_echo"; } >&5
1787 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1788 ac_status=$?
1789 if test -s conftest.err; then
1790 grep -v '^ *+' conftest.err >conftest.er1
1791 cat conftest.er1 >&5
1792 mv -f conftest.er1 conftest.err
1794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1795 test $ac_status = 0; } >/dev/null && {
1796 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1797 test ! -s conftest.err
1798 }; then :
1799 ac_retval=0
1800 else
1801 $as_echo "$as_me: failed program was:" >&5
1802 sed 's/^/| /' conftest.$ac_ext >&5
1804 ac_retval=1
1806 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1807 return $ac_retval
1809 } # ac_fn_c_try_cpp
1811 # ac_fn_c_try_link LINENO
1812 # -----------------------
1813 # Try to link conftest.$ac_ext, and return whether this succeeded.
1814 ac_fn_c_try_link ()
1816 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1817 rm -f conftest.$ac_objext conftest$ac_exeext
1818 if { { ac_try="$ac_link"
1819 case "(($ac_try" in
1820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1821 *) ac_try_echo=$ac_try;;
1822 esac
1823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1824 $as_echo "$ac_try_echo"; } >&5
1825 (eval "$ac_link") 2>conftest.err
1826 ac_status=$?
1827 if test -s conftest.err; then
1828 grep -v '^ *+' conftest.err >conftest.er1
1829 cat conftest.er1 >&5
1830 mv -f conftest.er1 conftest.err
1832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1833 test $ac_status = 0; } && {
1834 test -z "$ac_c_werror_flag" ||
1835 test ! -s conftest.err
1836 } && test -s conftest$ac_exeext && {
1837 test "$cross_compiling" = yes ||
1838 $as_test_x conftest$ac_exeext
1839 }; then :
1840 ac_retval=0
1841 else
1842 $as_echo "$as_me: failed program was:" >&5
1843 sed 's/^/| /' conftest.$ac_ext >&5
1845 ac_retval=1
1847 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1848 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1849 # interfere with the next link command; also delete a directory that is
1850 # left behind by Apple's compiler. We do this before executing the actions.
1851 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1852 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1853 return $ac_retval
1855 } # ac_fn_c_try_link
1857 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1858 # -------------------------------------------------------
1859 # Tests whether HEADER exists and can be compiled using the include files in
1860 # INCLUDES, setting the cache variable VAR accordingly.
1861 ac_fn_c_check_header_compile ()
1863 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1865 $as_echo_n "checking for $2... " >&6; }
1866 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1867 $as_echo_n "(cached) " >&6
1868 else
1869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1870 /* end confdefs.h. */
1872 #include <$2>
1873 _ACEOF
1874 if ac_fn_c_try_compile "$LINENO"; then :
1875 eval "$3=yes"
1876 else
1877 eval "$3=no"
1879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1881 eval ac_res=\$$3
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1883 $as_echo "$ac_res" >&6; }
1884 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1886 } # ac_fn_c_check_header_compile
1888 # ac_fn_c_try_run LINENO
1889 # ----------------------
1890 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1891 # that executables *can* be run.
1892 ac_fn_c_try_run ()
1894 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1895 if { { ac_try="$ac_link"
1896 case "(($ac_try" in
1897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1898 *) ac_try_echo=$ac_try;;
1899 esac
1900 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1901 $as_echo "$ac_try_echo"; } >&5
1902 (eval "$ac_link") 2>&5
1903 ac_status=$?
1904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1905 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1906 { { case "(($ac_try" in
1907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1908 *) ac_try_echo=$ac_try;;
1909 esac
1910 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1911 $as_echo "$ac_try_echo"; } >&5
1912 (eval "$ac_try") 2>&5
1913 ac_status=$?
1914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1915 test $ac_status = 0; }; }; then :
1916 ac_retval=0
1917 else
1918 $as_echo "$as_me: program exited with status $ac_status" >&5
1919 $as_echo "$as_me: failed program was:" >&5
1920 sed 's/^/| /' conftest.$ac_ext >&5
1922 ac_retval=$ac_status
1924 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1925 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1926 return $ac_retval
1928 } # ac_fn_c_try_run
1930 # ac_fn_c_check_func LINENO FUNC VAR
1931 # ----------------------------------
1932 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1933 ac_fn_c_check_func ()
1935 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1937 $as_echo_n "checking for $2... " >&6; }
1938 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1939 $as_echo_n "(cached) " >&6
1940 else
1941 if test x$gcc_no_link = xyes; then
1942 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1945 /* end confdefs.h. */
1946 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1948 #define $2 innocuous_$2
1950 /* System header to define __stub macros and hopefully few prototypes,
1951 which can conflict with char $2 (); below.
1952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1953 <limits.h> exists even on freestanding compilers. */
1955 #ifdef __STDC__
1956 # include <limits.h>
1957 #else
1958 # include <assert.h>
1959 #endif
1961 #undef $2
1963 /* Override any GCC internal prototype to avoid an error.
1964 Use char because int might match the return type of a GCC
1965 builtin and then its argument prototype would still apply. */
1966 #ifdef __cplusplus
1967 extern "C"
1968 #endif
1969 char $2 ();
1970 /* The GNU C library defines this for functions which it implements
1971 to always fail with ENOSYS. Some functions are actually named
1972 something starting with __ and the normal name is an alias. */
1973 #if defined __stub_$2 || defined __stub___$2
1974 choke me
1975 #endif
1978 main ()
1980 return $2 ();
1982 return 0;
1984 _ACEOF
1985 if ac_fn_c_try_link "$LINENO"; then :
1986 eval "$3=yes"
1987 else
1988 eval "$3=no"
1990 rm -f core conftest.err conftest.$ac_objext \
1991 conftest$ac_exeext conftest.$ac_ext
1993 eval ac_res=\$$3
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1995 $as_echo "$ac_res" >&6; }
1996 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1998 } # ac_fn_c_check_func
2000 # ac_fn_cxx_try_cpp LINENO
2001 # ------------------------
2002 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2003 ac_fn_cxx_try_cpp ()
2005 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2006 if { { ac_try="$ac_cpp conftest.$ac_ext"
2007 case "(($ac_try" in
2008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2009 *) ac_try_echo=$ac_try;;
2010 esac
2011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2012 $as_echo "$ac_try_echo"; } >&5
2013 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2014 ac_status=$?
2015 if test -s conftest.err; then
2016 grep -v '^ *+' conftest.err >conftest.er1
2017 cat conftest.er1 >&5
2018 mv -f conftest.er1 conftest.err
2020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2021 test $ac_status = 0; } >/dev/null && {
2022 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2023 test ! -s conftest.err
2024 }; then :
2025 ac_retval=0
2026 else
2027 $as_echo "$as_me: failed program was:" >&5
2028 sed 's/^/| /' conftest.$ac_ext >&5
2030 ac_retval=1
2032 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2033 return $ac_retval
2035 } # ac_fn_cxx_try_cpp
2037 # ac_fn_cxx_try_link LINENO
2038 # -------------------------
2039 # Try to link conftest.$ac_ext, and return whether this succeeded.
2040 ac_fn_cxx_try_link ()
2042 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2043 rm -f conftest.$ac_objext conftest$ac_exeext
2044 if { { ac_try="$ac_link"
2045 case "(($ac_try" in
2046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2047 *) ac_try_echo=$ac_try;;
2048 esac
2049 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2050 $as_echo "$ac_try_echo"; } >&5
2051 (eval "$ac_link") 2>conftest.err
2052 ac_status=$?
2053 if test -s conftest.err; then
2054 grep -v '^ *+' conftest.err >conftest.er1
2055 cat conftest.er1 >&5
2056 mv -f conftest.er1 conftest.err
2058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2059 test $ac_status = 0; } && {
2060 test -z "$ac_cxx_werror_flag" ||
2061 test ! -s conftest.err
2062 } && test -s conftest$ac_exeext && {
2063 test "$cross_compiling" = yes ||
2064 $as_test_x conftest$ac_exeext
2065 }; then :
2066 ac_retval=0
2067 else
2068 $as_echo "$as_me: failed program was:" >&5
2069 sed 's/^/| /' conftest.$ac_ext >&5
2071 ac_retval=1
2073 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2074 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2075 # interfere with the next link command; also delete a directory that is
2076 # left behind by Apple's compiler. We do this before executing the actions.
2077 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2078 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2079 return $ac_retval
2081 } # ac_fn_cxx_try_link
2083 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2084 # -------------------------------------------------------
2085 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2086 # the include files in INCLUDES and setting the cache variable VAR
2087 # accordingly.
2088 ac_fn_c_check_header_mongrel ()
2090 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2091 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2093 $as_echo_n "checking for $2... " >&6; }
2094 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2095 $as_echo_n "(cached) " >&6
2097 eval ac_res=\$$3
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2099 $as_echo "$ac_res" >&6; }
2100 else
2101 # Is the header compilable?
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2103 $as_echo_n "checking $2 usability... " >&6; }
2104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2105 /* end confdefs.h. */
2107 #include <$2>
2108 _ACEOF
2109 if ac_fn_c_try_compile "$LINENO"; then :
2110 ac_header_compiler=yes
2111 else
2112 ac_header_compiler=no
2114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2116 $as_echo "$ac_header_compiler" >&6; }
2118 # Is the header present?
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2120 $as_echo_n "checking $2 presence... " >&6; }
2121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2122 /* end confdefs.h. */
2123 #include <$2>
2124 _ACEOF
2125 if ac_fn_c_try_cpp "$LINENO"; then :
2126 ac_header_preproc=yes
2127 else
2128 ac_header_preproc=no
2130 rm -f conftest.err conftest.$ac_ext
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2132 $as_echo "$ac_header_preproc" >&6; }
2134 # So? What about this header?
2135 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2136 yes:no: )
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2138 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2140 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2142 no:yes:* )
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2144 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2146 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2148 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2150 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2152 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2154 esac
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2156 $as_echo_n "checking for $2... " >&6; }
2157 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2158 $as_echo_n "(cached) " >&6
2159 else
2160 eval "$3=\$ac_header_compiler"
2162 eval ac_res=\$$3
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2164 $as_echo "$ac_res" >&6; }
2166 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2168 } # ac_fn_c_check_header_mongrel
2170 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2171 # ---------------------------------------------------------
2172 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2173 # the include files in INCLUDES and setting the cache variable VAR
2174 # accordingly.
2175 ac_fn_cxx_check_header_mongrel ()
2177 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2178 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2180 $as_echo_n "checking for $2... " >&6; }
2181 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2182 $as_echo_n "(cached) " >&6
2184 eval ac_res=\$$3
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2186 $as_echo "$ac_res" >&6; }
2187 else
2188 # Is the header compilable?
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2190 $as_echo_n "checking $2 usability... " >&6; }
2191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2192 /* end confdefs.h. */
2194 #include <$2>
2195 _ACEOF
2196 if ac_fn_cxx_try_compile "$LINENO"; then :
2197 ac_header_compiler=yes
2198 else
2199 ac_header_compiler=no
2201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2203 $as_echo "$ac_header_compiler" >&6; }
2205 # Is the header present?
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2207 $as_echo_n "checking $2 presence... " >&6; }
2208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2209 /* end confdefs.h. */
2210 #include <$2>
2211 _ACEOF
2212 if ac_fn_cxx_try_cpp "$LINENO"; then :
2213 ac_header_preproc=yes
2214 else
2215 ac_header_preproc=no
2217 rm -f conftest.err conftest.$ac_ext
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2219 $as_echo "$ac_header_preproc" >&6; }
2221 # So? What about this header?
2222 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2223 yes:no: )
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2225 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2227 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2229 no:yes:* )
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2231 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2233 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2235 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2237 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2239 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2241 esac
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2243 $as_echo_n "checking for $2... " >&6; }
2244 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2245 $as_echo_n "(cached) " >&6
2246 else
2247 eval "$3=\$ac_header_compiler"
2249 eval ac_res=\$$3
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2251 $as_echo "$ac_res" >&6; }
2253 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2255 } # ac_fn_cxx_check_header_mongrel
2257 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2258 # --------------------------------------------
2259 # Tries to find the compile-time value of EXPR in a program that includes
2260 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2261 # computed
2262 ac_fn_c_compute_int ()
2264 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2265 if test "$cross_compiling" = yes; then
2266 # Depending upon the size, compute the lo and hi bounds.
2267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2268 /* end confdefs.h. */
2271 main ()
2273 static int test_array [1 - 2 * !(($2) >= 0)];
2274 test_array [0] = 0
2277 return 0;
2279 _ACEOF
2280 if ac_fn_c_try_compile "$LINENO"; then :
2281 ac_lo=0 ac_mid=0
2282 while :; do
2283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2284 /* end confdefs.h. */
2287 main ()
2289 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2290 test_array [0] = 0
2293 return 0;
2295 _ACEOF
2296 if ac_fn_c_try_compile "$LINENO"; then :
2297 ac_hi=$ac_mid; break
2298 else
2299 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2300 if test $ac_lo -le $ac_mid; then
2301 ac_lo= ac_hi=
2302 break
2304 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2307 done
2308 else
2309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2310 /* end confdefs.h. */
2313 main ()
2315 static int test_array [1 - 2 * !(($2) < 0)];
2316 test_array [0] = 0
2319 return 0;
2321 _ACEOF
2322 if ac_fn_c_try_compile "$LINENO"; then :
2323 ac_hi=-1 ac_mid=-1
2324 while :; do
2325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2326 /* end confdefs.h. */
2329 main ()
2331 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2332 test_array [0] = 0
2335 return 0;
2337 _ACEOF
2338 if ac_fn_c_try_compile "$LINENO"; then :
2339 ac_lo=$ac_mid; break
2340 else
2341 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2342 if test $ac_mid -le $ac_hi; then
2343 ac_lo= ac_hi=
2344 break
2346 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2349 done
2350 else
2351 ac_lo= ac_hi=
2353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2356 # Binary search between lo and hi bounds.
2357 while test "x$ac_lo" != "x$ac_hi"; do
2358 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2360 /* end confdefs.h. */
2363 main ()
2365 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2366 test_array [0] = 0
2369 return 0;
2371 _ACEOF
2372 if ac_fn_c_try_compile "$LINENO"; then :
2373 ac_hi=$ac_mid
2374 else
2375 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2378 done
2379 case $ac_lo in #((
2380 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2381 '') ac_retval=1 ;;
2382 esac
2383 else
2384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2385 /* end confdefs.h. */
2387 static long int longval () { return $2; }
2388 static unsigned long int ulongval () { return $2; }
2389 #include <stdio.h>
2390 #include <stdlib.h>
2392 main ()
2395 FILE *f = fopen ("conftest.val", "w");
2396 if (! f)
2397 return 1;
2398 if (($2) < 0)
2400 long int i = longval ();
2401 if (i != ($2))
2402 return 1;
2403 fprintf (f, "%ld", i);
2405 else
2407 unsigned long int i = ulongval ();
2408 if (i != ($2))
2409 return 1;
2410 fprintf (f, "%lu", i);
2412 /* Do not output a trailing newline, as this causes \r\n confusion
2413 on some platforms. */
2414 return ferror (f) || fclose (f) != 0;
2417 return 0;
2419 _ACEOF
2420 if ac_fn_c_try_run "$LINENO"; then :
2421 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2422 else
2423 ac_retval=1
2425 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2426 conftest.$ac_objext conftest.beam conftest.$ac_ext
2427 rm -f conftest.val
2430 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2431 return $ac_retval
2433 } # ac_fn_c_compute_int
2435 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2436 # -------------------------------------------
2437 # Tests whether TYPE exists after having included INCLUDES, setting cache
2438 # variable VAR accordingly.
2439 ac_fn_c_check_type ()
2441 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2443 $as_echo_n "checking for $2... " >&6; }
2444 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2445 $as_echo_n "(cached) " >&6
2446 else
2447 eval "$3=no"
2448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2449 /* end confdefs.h. */
2452 main ()
2454 if (sizeof ($2))
2455 return 0;
2457 return 0;
2459 _ACEOF
2460 if ac_fn_c_try_compile "$LINENO"; then :
2461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2462 /* end confdefs.h. */
2465 main ()
2467 if (sizeof (($2)))
2468 return 0;
2470 return 0;
2472 _ACEOF
2473 if ac_fn_c_try_compile "$LINENO"; then :
2475 else
2476 eval "$3=yes"
2478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2482 eval ac_res=\$$3
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2484 $as_echo "$ac_res" >&6; }
2485 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2487 } # ac_fn_c_check_type
2488 cat >config.log <<_ACEOF
2489 This file contains any messages produced by compilers while
2490 running configure, to aid debugging if configure makes a mistake.
2492 It was created by package-unused $as_me version-unused, which was
2493 generated by GNU Autoconf 2.64. Invocation command line was
2495 $ $0 $@
2497 _ACEOF
2498 exec 5>>config.log
2500 cat <<_ASUNAME
2501 ## --------- ##
2502 ## Platform. ##
2503 ## --------- ##
2505 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2506 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2507 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2508 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2509 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2511 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2512 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2514 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2515 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2516 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2517 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2518 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2519 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2520 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2522 _ASUNAME
2524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2525 for as_dir in $PATH
2527 IFS=$as_save_IFS
2528 test -z "$as_dir" && as_dir=.
2529 $as_echo "PATH: $as_dir"
2530 done
2531 IFS=$as_save_IFS
2533 } >&5
2535 cat >&5 <<_ACEOF
2538 ## ----------- ##
2539 ## Core tests. ##
2540 ## ----------- ##
2542 _ACEOF
2545 # Keep a trace of the command line.
2546 # Strip out --no-create and --no-recursion so they do not pile up.
2547 # Strip out --silent because we don't want to record it for future runs.
2548 # Also quote any args containing shell meta-characters.
2549 # Make two passes to allow for proper duplicate-argument suppression.
2550 ac_configure_args=
2551 ac_configure_args0=
2552 ac_configure_args1=
2553 ac_must_keep_next=false
2554 for ac_pass in 1 2
2556 for ac_arg
2558 case $ac_arg in
2559 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2560 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2561 | -silent | --silent | --silen | --sile | --sil)
2562 continue ;;
2563 *\'*)
2564 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2565 esac
2566 case $ac_pass in
2567 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2569 as_fn_append ac_configure_args1 " '$ac_arg'"
2570 if test $ac_must_keep_next = true; then
2571 ac_must_keep_next=false # Got value, back to normal.
2572 else
2573 case $ac_arg in
2574 *=* | --config-cache | -C | -disable-* | --disable-* \
2575 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2576 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2577 | -with-* | --with-* | -without-* | --without-* | --x)
2578 case "$ac_configure_args0 " in
2579 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2580 esac
2582 -* ) ac_must_keep_next=true ;;
2583 esac
2585 as_fn_append ac_configure_args " '$ac_arg'"
2587 esac
2588 done
2589 done
2590 { ac_configure_args0=; unset ac_configure_args0;}
2591 { ac_configure_args1=; unset ac_configure_args1;}
2593 # When interrupted or exit'd, cleanup temporary files, and complete
2594 # config.log. We remove comments because anyway the quotes in there
2595 # would cause problems or look ugly.
2596 # WARNING: Use '\'' to represent an apostrophe within the trap.
2597 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2598 trap 'exit_status=$?
2599 # Save into config.log some information that might help in debugging.
2601 echo
2603 cat <<\_ASBOX
2604 ## ---------------- ##
2605 ## Cache variables. ##
2606 ## ---------------- ##
2607 _ASBOX
2608 echo
2609 # The following way of writing the cache mishandles newlines in values,
2611 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2612 eval ac_val=\$$ac_var
2613 case $ac_val in #(
2614 *${as_nl}*)
2615 case $ac_var in #(
2616 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2617 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2618 esac
2619 case $ac_var in #(
2620 _ | IFS | as_nl) ;; #(
2621 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2622 *) { eval $ac_var=; unset $ac_var;} ;;
2623 esac ;;
2624 esac
2625 done
2626 (set) 2>&1 |
2627 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2628 *${as_nl}ac_space=\ *)
2629 sed -n \
2630 "s/'\''/'\''\\\\'\'''\''/g;
2631 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2632 ;; #(
2634 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2636 esac |
2637 sort
2639 echo
2641 cat <<\_ASBOX
2642 ## ----------------- ##
2643 ## Output variables. ##
2644 ## ----------------- ##
2645 _ASBOX
2646 echo
2647 for ac_var in $ac_subst_vars
2649 eval ac_val=\$$ac_var
2650 case $ac_val in
2651 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2652 esac
2653 $as_echo "$ac_var='\''$ac_val'\''"
2654 done | sort
2655 echo
2657 if test -n "$ac_subst_files"; then
2658 cat <<\_ASBOX
2659 ## ------------------- ##
2660 ## File substitutions. ##
2661 ## ------------------- ##
2662 _ASBOX
2663 echo
2664 for ac_var in $ac_subst_files
2666 eval ac_val=\$$ac_var
2667 case $ac_val in
2668 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2669 esac
2670 $as_echo "$ac_var='\''$ac_val'\''"
2671 done | sort
2672 echo
2675 if test -s confdefs.h; then
2676 cat <<\_ASBOX
2677 ## ----------- ##
2678 ## confdefs.h. ##
2679 ## ----------- ##
2680 _ASBOX
2681 echo
2682 cat confdefs.h
2683 echo
2685 test "$ac_signal" != 0 &&
2686 $as_echo "$as_me: caught signal $ac_signal"
2687 $as_echo "$as_me: exit $exit_status"
2688 } >&5
2689 rm -f core *.core core.conftest.* &&
2690 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2691 exit $exit_status
2693 for ac_signal in 1 2 13 15; do
2694 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2695 done
2696 ac_signal=0
2698 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2699 rm -f -r conftest* confdefs.h
2701 $as_echo "/* confdefs.h */" > confdefs.h
2703 # Predefined preprocessor variables.
2705 cat >>confdefs.h <<_ACEOF
2706 #define PACKAGE_NAME "$PACKAGE_NAME"
2707 _ACEOF
2709 cat >>confdefs.h <<_ACEOF
2710 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2711 _ACEOF
2713 cat >>confdefs.h <<_ACEOF
2714 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2715 _ACEOF
2717 cat >>confdefs.h <<_ACEOF
2718 #define PACKAGE_STRING "$PACKAGE_STRING"
2719 _ACEOF
2721 cat >>confdefs.h <<_ACEOF
2722 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2723 _ACEOF
2725 cat >>confdefs.h <<_ACEOF
2726 #define PACKAGE_URL "$PACKAGE_URL"
2727 _ACEOF
2730 # Let the site file select an alternate cache file if it wants to.
2731 # Prefer an explicitly selected file to automatically selected ones.
2732 ac_site_file1=NONE
2733 ac_site_file2=NONE
2734 if test -n "$CONFIG_SITE"; then
2735 ac_site_file1=$CONFIG_SITE
2736 elif test "x$prefix" != xNONE; then
2737 ac_site_file1=$prefix/share/config.site
2738 ac_site_file2=$prefix/etc/config.site
2739 else
2740 ac_site_file1=$ac_default_prefix/share/config.site
2741 ac_site_file2=$ac_default_prefix/etc/config.site
2743 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2745 test "x$ac_site_file" = xNONE && continue
2746 if test -r "$ac_site_file"; then
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2748 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2749 sed 's/^/| /' "$ac_site_file" >&5
2750 . "$ac_site_file"
2752 done
2754 if test -r "$cache_file"; then
2755 # Some versions of bash will fail to source /dev/null (special
2756 # files actually), so we avoid doing that.
2757 if test -f "$cache_file"; then
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2759 $as_echo "$as_me: loading cache $cache_file" >&6;}
2760 case $cache_file in
2761 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2762 *) . "./$cache_file";;
2763 esac
2765 else
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2767 $as_echo "$as_me: creating cache $cache_file" >&6;}
2768 >$cache_file
2771 # Check that the precious variables saved in the cache have kept the same
2772 # value.
2773 ac_cache_corrupted=false
2774 for ac_var in $ac_precious_vars; do
2775 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2776 eval ac_new_set=\$ac_env_${ac_var}_set
2777 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2778 eval ac_new_val=\$ac_env_${ac_var}_value
2779 case $ac_old_set,$ac_new_set in
2780 set,)
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2782 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2783 ac_cache_corrupted=: ;;
2784 ,set)
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2786 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2787 ac_cache_corrupted=: ;;
2788 ,);;
2790 if test "x$ac_old_val" != "x$ac_new_val"; then
2791 # differences in whitespace do not lead to failure.
2792 ac_old_val_w=`echo x $ac_old_val`
2793 ac_new_val_w=`echo x $ac_new_val`
2794 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2796 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2797 ac_cache_corrupted=:
2798 else
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2800 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2801 eval $ac_var=\$ac_old_val
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2804 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2806 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2807 fi;;
2808 esac
2809 # Pass precious variables to config.status.
2810 if test "$ac_new_set" = set; then
2811 case $ac_new_val in
2812 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2813 *) ac_arg=$ac_var=$ac_new_val ;;
2814 esac
2815 case " $ac_configure_args " in
2816 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2817 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2818 esac
2820 done
2821 if $ac_cache_corrupted; then
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2823 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2825 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2826 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2828 ## -------------------- ##
2829 ## Main body of script. ##
2830 ## -------------------- ##
2832 ac_ext=c
2833 ac_cpp='$CPP $CPPFLAGS'
2834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2843 ac_config_headers="$ac_config_headers config.h"
2846 # This works around the fact that libtool configuration may change LD
2847 # for this particular configuration, but some shells, instead of
2848 # keeping the changes in LD private, export them just because LD is
2849 # exported. Only used at the end of this file.
2850 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2852 # Find the rest of the source tree framework.
2853 # Default to --enable-multilib
2854 # Check whether --enable-multilib was given.
2855 if test "${enable_multilib+set}" = set; then :
2856 enableval=$enable_multilib; case "$enableval" in
2857 yes) multilib=yes ;;
2858 no) multilib=no ;;
2859 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2860 esac
2861 else
2862 multilib=yes
2866 # We may get other options which we leave undocumented:
2867 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2868 # See config-ml.in if you want the gory details.
2870 if test "$srcdir" = "."; then
2871 if test "$with_target_subdir" != "."; then
2872 multi_basedir="$srcdir/$with_multisrctop../.."
2873 else
2874 multi_basedir="$srcdir/$with_multisrctop.."
2876 else
2877 multi_basedir="$srcdir/.."
2881 # Even if the default multilib is not a cross compilation,
2882 # it may be that some of the other multilibs are.
2883 if test $cross_compiling = no && test $multilib = yes \
2884 && test "x${with_multisubdir}" != x ; then
2885 cross_compiling=maybe
2888 ac_config_commands="$ac_config_commands default-1"
2891 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2893 # You will slowly go insane if you do not grok the following fact: when
2894 # building v3 as part of the compiler, the top-level /target/ becomes the
2895 # library's /host/. configure then causes --target to default to --host,
2896 # exactly like any other package using autoconf. Therefore, 'target' and
2897 # 'host' will always be the same. This makes sense both for native and
2898 # cross compilers, just think about it for a little while. :-)
2900 # Also, if v3 is being configured as part of a cross compiler, the top-level
2901 # configure script will pass the "real" host as $with_cross_host.
2903 # Do not delete or change the following two lines. For why, see
2904 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2905 ac_aux_dir=
2906 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2907 for ac_t in install-sh install.sh shtool; do
2908 if test -f "$ac_dir/$ac_t"; then
2909 ac_aux_dir=$ac_dir
2910 ac_install_sh="$ac_aux_dir/$ac_t -c"
2911 break 2
2913 done
2914 done
2915 if test -z "$ac_aux_dir"; then
2916 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2919 # These three variables are undocumented and unsupported,
2920 # and are intended to be withdrawn in a future Autoconf release.
2921 # They can cause serious problems if a builder's source tree is in a directory
2922 # whose full name contains unusual characters.
2923 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2924 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2925 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2928 # Make sure we can run config.sub.
2929 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2930 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2933 $as_echo_n "checking build system type... " >&6; }
2934 if test "${ac_cv_build+set}" = set; then :
2935 $as_echo_n "(cached) " >&6
2936 else
2937 ac_build_alias=$build_alias
2938 test "x$ac_build_alias" = x &&
2939 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2940 test "x$ac_build_alias" = x &&
2941 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2942 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2943 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2947 $as_echo "$ac_cv_build" >&6; }
2948 case $ac_cv_build in
2949 *-*-*) ;;
2950 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2951 esac
2952 build=$ac_cv_build
2953 ac_save_IFS=$IFS; IFS='-'
2954 set x $ac_cv_build
2955 shift
2956 build_cpu=$1
2957 build_vendor=$2
2958 shift; shift
2959 # Remember, the first character of IFS is used to create $*,
2960 # except with old shells:
2961 build_os=$*
2962 IFS=$ac_save_IFS
2963 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2967 $as_echo_n "checking host system type... " >&6; }
2968 if test "${ac_cv_host+set}" = set; then :
2969 $as_echo_n "(cached) " >&6
2970 else
2971 if test "x$host_alias" = x; then
2972 ac_cv_host=$ac_cv_build
2973 else
2974 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2975 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2980 $as_echo "$ac_cv_host" >&6; }
2981 case $ac_cv_host in
2982 *-*-*) ;;
2983 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2984 esac
2985 host=$ac_cv_host
2986 ac_save_IFS=$IFS; IFS='-'
2987 set x $ac_cv_host
2988 shift
2989 host_cpu=$1
2990 host_vendor=$2
2991 shift; shift
2992 # Remember, the first character of IFS is used to create $*,
2993 # except with old shells:
2994 host_os=$*
2995 IFS=$ac_save_IFS
2996 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3000 $as_echo_n "checking target system type... " >&6; }
3001 if test "${ac_cv_target+set}" = set; then :
3002 $as_echo_n "(cached) " >&6
3003 else
3004 if test "x$target_alias" = x; then
3005 ac_cv_target=$ac_cv_host
3006 else
3007 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3008 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3013 $as_echo "$ac_cv_target" >&6; }
3014 case $ac_cv_target in
3015 *-*-*) ;;
3016 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3017 esac
3018 target=$ac_cv_target
3019 ac_save_IFS=$IFS; IFS='-'
3020 set x $ac_cv_target
3021 shift
3022 target_cpu=$1
3023 target_vendor=$2
3024 shift; shift
3025 # Remember, the first character of IFS is used to create $*,
3026 # except with old shells:
3027 target_os=$*
3028 IFS=$ac_save_IFS
3029 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3032 # The aliases save the names the user supplied, while $host etc.
3033 # will get canonicalized.
3034 test -n "$target_alias" &&
3035 test "$program_prefix$program_suffix$program_transform_name" = \
3036 NONENONEs,x,x, &&
3037 program_prefix=${target_alias}-
3039 target_alias=${target_alias-$host_alias}
3041 # Handy for debugging:
3042 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3044 if test "$build" != "$host"; then
3045 # We are being configured with some form of cross compiler.
3046 GLIBCXX_IS_NATIVE=false
3047 case "$host","$target" in
3048 # Darwin crosses can use the host system's libraries and headers,
3049 # because of the fat library support. Of course, it must be the
3050 # same version of Darwin on both sides. Allow the user to
3051 # just say --target=foo-darwin without a version number to mean
3052 # "the version on this system".
3053 *-*-darwin*,*-*-darwin*)
3054 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3055 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3056 if test $hostos = $targetos -o $targetos = darwin ; then
3057 GLIBCXX_IS_NATIVE=true
3064 esac
3065 else
3066 GLIBCXX_IS_NATIVE=true
3069 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3070 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3071 # 1.x: minimum required version
3072 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3073 # of other PACKAGE_* variables will, however, and there's nothing
3074 # we can do about that; they come from AC_INIT).
3075 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3076 # file in the top srcdir, etc, etc), so stop complaining.
3077 # no-dependencies: turns off auto dependency generation (just for now)
3078 # no-dist: we don't want 'dist' and related rules.
3079 # -Wall: turns on all automake warnings...
3080 # -Wno-portability: ...except this one, since GNU make is now required.
3081 am__api_version='1.11'
3083 # Find a good install program. We prefer a C program (faster),
3084 # so one script is as good as another. But avoid the broken or
3085 # incompatible versions:
3086 # SysV /etc/install, /usr/sbin/install
3087 # SunOS /usr/etc/install
3088 # IRIX /sbin/install
3089 # AIX /bin/install
3090 # AmigaOS /C/install, which installs bootblocks on floppy discs
3091 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3092 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3093 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3094 # OS/2's system install, which has a completely different semantic
3095 # ./install, which can be erroneously created by make from ./install.sh.
3096 # Reject install programs that cannot install multiple files.
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3098 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3099 if test -z "$INSTALL"; then
3100 if test "${ac_cv_path_install+set}" = set; then :
3101 $as_echo_n "(cached) " >&6
3102 else
3103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3104 for as_dir in $PATH
3106 IFS=$as_save_IFS
3107 test -z "$as_dir" && as_dir=.
3108 # Account for people who put trailing slashes in PATH elements.
3109 case $as_dir/ in #((
3110 ./ | .// | /[cC]/* | \
3111 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3112 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3113 /usr/ucb/* ) ;;
3115 # OSF1 and SCO ODT 3.0 have their own names for install.
3116 # Don't use installbsd from OSF since it installs stuff as root
3117 # by default.
3118 for ac_prog in ginstall scoinst install; do
3119 for ac_exec_ext in '' $ac_executable_extensions; do
3120 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3121 if test $ac_prog = install &&
3122 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3123 # AIX install. It has an incompatible calling convention.
3125 elif test $ac_prog = install &&
3126 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3127 # program-specific install script used by HP pwplus--don't use.
3129 else
3130 rm -rf conftest.one conftest.two conftest.dir
3131 echo one > conftest.one
3132 echo two > conftest.two
3133 mkdir conftest.dir
3134 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3135 test -s conftest.one && test -s conftest.two &&
3136 test -s conftest.dir/conftest.one &&
3137 test -s conftest.dir/conftest.two
3138 then
3139 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3140 break 3
3144 done
3145 done
3147 esac
3149 done
3150 IFS=$as_save_IFS
3152 rm -rf conftest.one conftest.two conftest.dir
3155 if test "${ac_cv_path_install+set}" = set; then
3156 INSTALL=$ac_cv_path_install
3157 else
3158 # As a last resort, use the slow shell script. Don't cache a
3159 # value for INSTALL within a source directory, because that will
3160 # break other packages using the cache if that directory is
3161 # removed, or if the value is a relative name.
3162 INSTALL=$ac_install_sh
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3166 $as_echo "$INSTALL" >&6; }
3168 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3169 # It thinks the first close brace ends the variable substitution.
3170 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3172 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3174 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3177 $as_echo_n "checking whether build environment is sane... " >&6; }
3178 # Just in case
3179 sleep 1
3180 echo timestamp > conftest.file
3181 # Reject unsafe characters in $srcdir or the absolute working directory
3182 # name. Accept space and tab only in the latter.
3183 am_lf='
3185 case `pwd` in
3186 *[\\\"\#\$\&\'\`$am_lf]*)
3187 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3188 esac
3189 case $srcdir in
3190 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3191 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3192 esac
3194 # Do `set' in a subshell so we don't clobber the current shell's
3195 # arguments. Must try -L first in case configure is actually a
3196 # symlink; some systems play weird games with the mod time of symlinks
3197 # (eg FreeBSD returns the mod time of the symlink's containing
3198 # directory).
3199 if (
3200 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3201 if test "$*" = "X"; then
3202 # -L didn't work.
3203 set X `ls -t "$srcdir/configure" conftest.file`
3205 rm -f conftest.file
3206 if test "$*" != "X $srcdir/configure conftest.file" \
3207 && test "$*" != "X conftest.file $srcdir/configure"; then
3209 # If neither matched, then we have a broken ls. This can happen
3210 # if, for instance, CONFIG_SHELL is bash and it inherits a
3211 # broken ls alias from the environment. This has actually
3212 # happened. Such a system could not be considered "sane".
3213 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3214 alias in your environment" "$LINENO" 5
3217 test "$2" = conftest.file
3219 then
3220 # Ok.
3222 else
3223 as_fn_error "newly created file is older than distributed files!
3224 Check your system clock" "$LINENO" 5
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3227 $as_echo "yes" >&6; }
3228 test "$program_prefix" != NONE &&
3229 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3230 # Use a double $ so make ignores it.
3231 test "$program_suffix" != NONE &&
3232 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3233 # Double any \ or $.
3234 # By default was `s,x,x', remove it if useless.
3235 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3236 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3238 # expand $ac_aux_dir to an absolute path
3239 am_aux_dir=`cd $ac_aux_dir && pwd`
3241 if test x"${MISSING+set}" != xset; then
3242 case $am_aux_dir in
3243 *\ * | *\ *)
3244 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3246 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3247 esac
3249 # Use eval to expand $SHELL
3250 if eval "$MISSING --run true"; then
3251 am_missing_run="$MISSING --run "
3252 else
3253 am_missing_run=
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3255 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3258 if test x"${install_sh}" != xset; then
3259 case $am_aux_dir in
3260 *\ * | *\ *)
3261 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3263 install_sh="\${SHELL} $am_aux_dir/install-sh"
3264 esac
3267 # Installed binaries are usually stripped using `strip' when the user
3268 # run `make install-strip'. However `strip' might not be the right
3269 # tool to use in cross-compilation environments, therefore Automake
3270 # will honor the `STRIP' environment variable to overrule this program.
3271 if test "$cross_compiling" != no; then
3272 if test -n "$ac_tool_prefix"; then
3273 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3274 set dummy ${ac_tool_prefix}strip; ac_word=$2
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3276 $as_echo_n "checking for $ac_word... " >&6; }
3277 if test "${ac_cv_prog_STRIP+set}" = set; then :
3278 $as_echo_n "(cached) " >&6
3279 else
3280 if test -n "$STRIP"; then
3281 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3282 else
3283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3284 for as_dir in $PATH
3286 IFS=$as_save_IFS
3287 test -z "$as_dir" && as_dir=.
3288 for ac_exec_ext in '' $ac_executable_extensions; do
3289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3290 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3292 break 2
3294 done
3295 done
3296 IFS=$as_save_IFS
3300 STRIP=$ac_cv_prog_STRIP
3301 if test -n "$STRIP"; then
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3303 $as_echo "$STRIP" >&6; }
3304 else
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3306 $as_echo "no" >&6; }
3311 if test -z "$ac_cv_prog_STRIP"; then
3312 ac_ct_STRIP=$STRIP
3313 # Extract the first word of "strip", so it can be a program name with args.
3314 set dummy strip; ac_word=$2
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3316 $as_echo_n "checking for $ac_word... " >&6; }
3317 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3318 $as_echo_n "(cached) " >&6
3319 else
3320 if test -n "$ac_ct_STRIP"; then
3321 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3322 else
3323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3324 for as_dir in $PATH
3326 IFS=$as_save_IFS
3327 test -z "$as_dir" && as_dir=.
3328 for ac_exec_ext in '' $ac_executable_extensions; do
3329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3330 ac_cv_prog_ac_ct_STRIP="strip"
3331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3332 break 2
3334 done
3335 done
3336 IFS=$as_save_IFS
3340 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3341 if test -n "$ac_ct_STRIP"; then
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3343 $as_echo "$ac_ct_STRIP" >&6; }
3344 else
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3346 $as_echo "no" >&6; }
3349 if test "x$ac_ct_STRIP" = x; then
3350 STRIP=":"
3351 else
3352 case $cross_compiling:$ac_tool_warned in
3353 yes:)
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3355 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3356 ac_tool_warned=yes ;;
3357 esac
3358 STRIP=$ac_ct_STRIP
3360 else
3361 STRIP="$ac_cv_prog_STRIP"
3365 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3368 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3369 if test -z "$MKDIR_P"; then
3370 if test "${ac_cv_path_mkdir+set}" = set; then :
3371 $as_echo_n "(cached) " >&6
3372 else
3373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3374 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3376 IFS=$as_save_IFS
3377 test -z "$as_dir" && as_dir=.
3378 for ac_prog in mkdir gmkdir; do
3379 for ac_exec_ext in '' $ac_executable_extensions; do
3380 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3381 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3382 'mkdir (GNU coreutils) '* | \
3383 'mkdir (coreutils) '* | \
3384 'mkdir (fileutils) '4.1*)
3385 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3386 break 3;;
3387 esac
3388 done
3389 done
3390 done
3391 IFS=$as_save_IFS
3395 if test "${ac_cv_path_mkdir+set}" = set; then
3396 MKDIR_P="$ac_cv_path_mkdir -p"
3397 else
3398 # As a last resort, use the slow shell script. Don't cache a
3399 # value for MKDIR_P within a source directory, because that will
3400 # break other packages using the cache if that directory is
3401 # removed, or if the value is a relative name.
3402 test -d ./--version && rmdir ./--version
3403 MKDIR_P="$ac_install_sh -d"
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3407 $as_echo "$MKDIR_P" >&6; }
3409 mkdir_p="$MKDIR_P"
3410 case $mkdir_p in
3411 [\\/$]* | ?:[\\/]*) ;;
3412 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3413 esac
3415 for ac_prog in gawk mawk nawk awk
3417 # Extract the first word of "$ac_prog", so it can be a program name with args.
3418 set dummy $ac_prog; ac_word=$2
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3420 $as_echo_n "checking for $ac_word... " >&6; }
3421 if test "${ac_cv_prog_AWK+set}" = set; then :
3422 $as_echo_n "(cached) " >&6
3423 else
3424 if test -n "$AWK"; then
3425 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3426 else
3427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3428 for as_dir in $PATH
3430 IFS=$as_save_IFS
3431 test -z "$as_dir" && as_dir=.
3432 for ac_exec_ext in '' $ac_executable_extensions; do
3433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3434 ac_cv_prog_AWK="$ac_prog"
3435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3436 break 2
3438 done
3439 done
3440 IFS=$as_save_IFS
3444 AWK=$ac_cv_prog_AWK
3445 if test -n "$AWK"; then
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3447 $as_echo "$AWK" >&6; }
3448 else
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3450 $as_echo "no" >&6; }
3454 test -n "$AWK" && break
3455 done
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3458 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3459 set x ${MAKE-make}
3460 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3461 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3462 $as_echo_n "(cached) " >&6
3463 else
3464 cat >conftest.make <<\_ACEOF
3465 SHELL = /bin/sh
3466 all:
3467 @echo '@@@%%%=$(MAKE)=@@@%%%'
3468 _ACEOF
3469 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3470 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3471 *@@@%%%=?*=@@@%%%*)
3472 eval ac_cv_prog_make_${ac_make}_set=yes;;
3474 eval ac_cv_prog_make_${ac_make}_set=no;;
3475 esac
3476 rm -f conftest.make
3478 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3480 $as_echo "yes" >&6; }
3481 SET_MAKE=
3482 else
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3484 $as_echo "no" >&6; }
3485 SET_MAKE="MAKE=${MAKE-make}"
3488 rm -rf .tst 2>/dev/null
3489 mkdir .tst 2>/dev/null
3490 if test -d .tst; then
3491 am__leading_dot=.
3492 else
3493 am__leading_dot=_
3495 rmdir .tst 2>/dev/null
3497 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3498 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3499 # is not polluted with repeated "-I."
3500 am__isrc=' -I$(srcdir)'
3501 # test to see if srcdir already configured
3502 if test -f $srcdir/config.status; then
3503 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3507 # test whether we have cygpath
3508 if test -z "$CYGPATH_W"; then
3509 if (cygpath --version) >/dev/null 2>/dev/null; then
3510 CYGPATH_W='cygpath -w'
3511 else
3512 CYGPATH_W=echo
3517 # Define the identity of the package.
3518 PACKAGE='libstdc++'
3519 VERSION='version-unused'
3522 # Some tools Automake needs.
3524 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3527 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3530 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3533 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3536 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3538 # We need awk for the "check" target. The system "awk" is bad on
3539 # some platforms.
3540 # Always define AMTAR for backward compatibility.
3542 AMTAR=${AMTAR-"${am_missing_run}tar"}
3544 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3553 # -fno-builtin must be present here so that a non-conflicting form of
3554 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3556 save_CXXFLAGS="$CXXFLAGS"
3557 CXXFLAGS="$CXXFLAGS -fno-builtin"
3558 ac_ext=c
3559 ac_cpp='$CPP $CPPFLAGS'
3560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3563 if test -n "$ac_tool_prefix"; then
3564 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3565 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3567 $as_echo_n "checking for $ac_word... " >&6; }
3568 if test "${ac_cv_prog_CC+set}" = set; then :
3569 $as_echo_n "(cached) " >&6
3570 else
3571 if test -n "$CC"; then
3572 ac_cv_prog_CC="$CC" # Let the user override the test.
3573 else
3574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3575 for as_dir in $PATH
3577 IFS=$as_save_IFS
3578 test -z "$as_dir" && as_dir=.
3579 for ac_exec_ext in '' $ac_executable_extensions; do
3580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3581 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3583 break 2
3585 done
3586 done
3587 IFS=$as_save_IFS
3591 CC=$ac_cv_prog_CC
3592 if test -n "$CC"; then
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3594 $as_echo "$CC" >&6; }
3595 else
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3597 $as_echo "no" >&6; }
3602 if test -z "$ac_cv_prog_CC"; then
3603 ac_ct_CC=$CC
3604 # Extract the first word of "gcc", so it can be a program name with args.
3605 set dummy gcc; ac_word=$2
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3607 $as_echo_n "checking for $ac_word... " >&6; }
3608 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3609 $as_echo_n "(cached) " >&6
3610 else
3611 if test -n "$ac_ct_CC"; then
3612 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3613 else
3614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3615 for as_dir in $PATH
3617 IFS=$as_save_IFS
3618 test -z "$as_dir" && as_dir=.
3619 for ac_exec_ext in '' $ac_executable_extensions; do
3620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3621 ac_cv_prog_ac_ct_CC="gcc"
3622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3623 break 2
3625 done
3626 done
3627 IFS=$as_save_IFS
3631 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3632 if test -n "$ac_ct_CC"; then
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3634 $as_echo "$ac_ct_CC" >&6; }
3635 else
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3637 $as_echo "no" >&6; }
3640 if test "x$ac_ct_CC" = x; then
3641 CC=""
3642 else
3643 case $cross_compiling:$ac_tool_warned in
3644 yes:)
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3646 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3647 ac_tool_warned=yes ;;
3648 esac
3649 CC=$ac_ct_CC
3651 else
3652 CC="$ac_cv_prog_CC"
3655 if test -z "$CC"; then
3656 if test -n "$ac_tool_prefix"; then
3657 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3658 set dummy ${ac_tool_prefix}cc; ac_word=$2
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3660 $as_echo_n "checking for $ac_word... " >&6; }
3661 if test "${ac_cv_prog_CC+set}" = set; then :
3662 $as_echo_n "(cached) " >&6
3663 else
3664 if test -n "$CC"; then
3665 ac_cv_prog_CC="$CC" # Let the user override the test.
3666 else
3667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3668 for as_dir in $PATH
3670 IFS=$as_save_IFS
3671 test -z "$as_dir" && as_dir=.
3672 for ac_exec_ext in '' $ac_executable_extensions; do
3673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3674 ac_cv_prog_CC="${ac_tool_prefix}cc"
3675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3676 break 2
3678 done
3679 done
3680 IFS=$as_save_IFS
3684 CC=$ac_cv_prog_CC
3685 if test -n "$CC"; then
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3687 $as_echo "$CC" >&6; }
3688 else
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3690 $as_echo "no" >&6; }
3696 if test -z "$CC"; then
3697 # Extract the first word of "cc", so it can be a program name with args.
3698 set dummy cc; ac_word=$2
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3700 $as_echo_n "checking for $ac_word... " >&6; }
3701 if test "${ac_cv_prog_CC+set}" = set; then :
3702 $as_echo_n "(cached) " >&6
3703 else
3704 if test -n "$CC"; then
3705 ac_cv_prog_CC="$CC" # Let the user override the test.
3706 else
3707 ac_prog_rejected=no
3708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3709 for as_dir in $PATH
3711 IFS=$as_save_IFS
3712 test -z "$as_dir" && as_dir=.
3713 for ac_exec_ext in '' $ac_executable_extensions; do
3714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3715 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3716 ac_prog_rejected=yes
3717 continue
3719 ac_cv_prog_CC="cc"
3720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3721 break 2
3723 done
3724 done
3725 IFS=$as_save_IFS
3727 if test $ac_prog_rejected = yes; then
3728 # We found a bogon in the path, so make sure we never use it.
3729 set dummy $ac_cv_prog_CC
3730 shift
3731 if test $# != 0; then
3732 # We chose a different compiler from the bogus one.
3733 # However, it has the same basename, so the bogon will be chosen
3734 # first if we set CC to just the basename; use the full file name.
3735 shift
3736 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3741 CC=$ac_cv_prog_CC
3742 if test -n "$CC"; then
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3744 $as_echo "$CC" >&6; }
3745 else
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3747 $as_echo "no" >&6; }
3752 if test -z "$CC"; then
3753 if test -n "$ac_tool_prefix"; then
3754 for ac_prog in cl.exe
3756 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3757 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3759 $as_echo_n "checking for $ac_word... " >&6; }
3760 if test "${ac_cv_prog_CC+set}" = set; then :
3761 $as_echo_n "(cached) " >&6
3762 else
3763 if test -n "$CC"; then
3764 ac_cv_prog_CC="$CC" # Let the user override the test.
3765 else
3766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3767 for as_dir in $PATH
3769 IFS=$as_save_IFS
3770 test -z "$as_dir" && as_dir=.
3771 for ac_exec_ext in '' $ac_executable_extensions; do
3772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3773 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3775 break 2
3777 done
3778 done
3779 IFS=$as_save_IFS
3783 CC=$ac_cv_prog_CC
3784 if test -n "$CC"; then
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3786 $as_echo "$CC" >&6; }
3787 else
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3789 $as_echo "no" >&6; }
3793 test -n "$CC" && break
3794 done
3796 if test -z "$CC"; then
3797 ac_ct_CC=$CC
3798 for ac_prog in cl.exe
3800 # Extract the first word of "$ac_prog", so it can be a program name with args.
3801 set dummy $ac_prog; ac_word=$2
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3803 $as_echo_n "checking for $ac_word... " >&6; }
3804 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3805 $as_echo_n "(cached) " >&6
3806 else
3807 if test -n "$ac_ct_CC"; then
3808 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3809 else
3810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3811 for as_dir in $PATH
3813 IFS=$as_save_IFS
3814 test -z "$as_dir" && as_dir=.
3815 for ac_exec_ext in '' $ac_executable_extensions; do
3816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3817 ac_cv_prog_ac_ct_CC="$ac_prog"
3818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3819 break 2
3821 done
3822 done
3823 IFS=$as_save_IFS
3827 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3828 if test -n "$ac_ct_CC"; then
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3830 $as_echo "$ac_ct_CC" >&6; }
3831 else
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3833 $as_echo "no" >&6; }
3837 test -n "$ac_ct_CC" && break
3838 done
3840 if test "x$ac_ct_CC" = x; then
3841 CC=""
3842 else
3843 case $cross_compiling:$ac_tool_warned in
3844 yes:)
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3846 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3847 ac_tool_warned=yes ;;
3848 esac
3849 CC=$ac_ct_CC
3856 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3858 as_fn_error "no acceptable C compiler found in \$PATH
3859 See \`config.log' for more details." "$LINENO" 5; }
3861 # Provide some information about the compiler.
3862 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3863 set X $ac_compile
3864 ac_compiler=$2
3865 for ac_option in --version -v -V -qversion; do
3866 { { ac_try="$ac_compiler $ac_option >&5"
3867 case "(($ac_try" in
3868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3869 *) ac_try_echo=$ac_try;;
3870 esac
3871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3872 $as_echo "$ac_try_echo"; } >&5
3873 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3874 ac_status=$?
3875 if test -s conftest.err; then
3876 sed '10a\
3877 ... rest of stderr output deleted ...
3878 10q' conftest.err >conftest.er1
3879 cat conftest.er1 >&5
3880 rm -f conftest.er1 conftest.err
3882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3883 test $ac_status = 0; }
3884 done
3886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3887 /* end confdefs.h. */
3890 main ()
3894 return 0;
3896 _ACEOF
3897 # FIXME: Cleanup?
3898 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3899 (eval $ac_link) 2>&5
3900 ac_status=$?
3901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3902 test $ac_status = 0; }; then :
3903 gcc_no_link=no
3904 else
3905 gcc_no_link=yes
3907 if test x$gcc_no_link = xyes; then
3908 # Setting cross_compile will disable run tests; it will
3909 # also disable AC_CHECK_FILE but that's generally
3910 # correct if we can't link.
3911 cross_compiling=yes
3912 EXEEXT=
3913 else
3914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3915 /* end confdefs.h. */
3918 main ()
3922 return 0;
3924 _ACEOF
3925 ac_clean_files_save=$ac_clean_files
3926 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3927 # Try to create an executable without -o first, disregard a.out.
3928 # It will help us diagnose broken compilers, and finding out an intuition
3929 # of exeext.
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3931 $as_echo_n "checking for C compiler default output file name... " >&6; }
3932 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3934 # The possible output files:
3935 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3937 ac_rmfiles=
3938 for ac_file in $ac_files
3940 case $ac_file in
3941 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3942 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3943 esac
3944 done
3945 rm -f $ac_rmfiles
3947 if { { ac_try="$ac_link_default"
3948 case "(($ac_try" in
3949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3950 *) ac_try_echo=$ac_try;;
3951 esac
3952 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3953 $as_echo "$ac_try_echo"; } >&5
3954 (eval "$ac_link_default") 2>&5
3955 ac_status=$?
3956 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3957 test $ac_status = 0; }; then :
3958 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3959 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3960 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3961 # so that the user can short-circuit this test for compilers unknown to
3962 # Autoconf.
3963 for ac_file in $ac_files ''
3965 test -f "$ac_file" || continue
3966 case $ac_file in
3967 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3969 [ab].out )
3970 # We found the default executable, but exeext='' is most
3971 # certainly right.
3972 break;;
3973 *.* )
3974 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3975 then :; else
3976 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3978 # We set ac_cv_exeext here because the later test for it is not
3979 # safe: cross compilers may not add the suffix if given an `-o'
3980 # argument, so we may need to know it at that point already.
3981 # Even if this section looks crufty: it has the advantage of
3982 # actually working.
3983 break;;
3985 break;;
3986 esac
3987 done
3988 test "$ac_cv_exeext" = no && ac_cv_exeext=
3990 else
3991 ac_file=''
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3994 $as_echo "$ac_file" >&6; }
3995 if test -z "$ac_file"; then :
3996 $as_echo "$as_me: failed program was:" >&5
3997 sed 's/^/| /' conftest.$ac_ext >&5
3999 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4000 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4001 { as_fn_set_status 77
4002 as_fn_error "C compiler cannot create executables
4003 See \`config.log' for more details." "$LINENO" 5; }; }
4005 ac_exeext=$ac_cv_exeext
4007 # Check that the compiler produces executables we can run. If not, either
4008 # the compiler is broken, or we cross compile.
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4010 $as_echo_n "checking whether the C compiler works... " >&6; }
4011 # If not cross compiling, check that we can run a simple program.
4012 if test "$cross_compiling" != yes; then
4013 if { ac_try='./$ac_file'
4014 { { case "(($ac_try" in
4015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4016 *) ac_try_echo=$ac_try;;
4017 esac
4018 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4019 $as_echo "$ac_try_echo"; } >&5
4020 (eval "$ac_try") 2>&5
4021 ac_status=$?
4022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4023 test $ac_status = 0; }; }; then
4024 cross_compiling=no
4025 else
4026 if test "$cross_compiling" = maybe; then
4027 cross_compiling=yes
4028 else
4029 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4030 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4031 as_fn_error "cannot run C compiled programs.
4032 If you meant to cross compile, use \`--host'.
4033 See \`config.log' for more details." "$LINENO" 5; }
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4038 $as_echo "yes" >&6; }
4040 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4041 ac_clean_files=$ac_clean_files_save
4042 # Check that the compiler produces executables we can run. If not, either
4043 # the compiler is broken, or we cross compile.
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4045 $as_echo_n "checking whether we are cross compiling... " >&6; }
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4047 $as_echo "$cross_compiling" >&6; }
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4050 $as_echo_n "checking for suffix of executables... " >&6; }
4051 if { { ac_try="$ac_link"
4052 case "(($ac_try" in
4053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4054 *) ac_try_echo=$ac_try;;
4055 esac
4056 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4057 $as_echo "$ac_try_echo"; } >&5
4058 (eval "$ac_link") 2>&5
4059 ac_status=$?
4060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4061 test $ac_status = 0; }; then :
4062 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4063 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4064 # work properly (i.e., refer to `conftest.exe'), while it won't with
4065 # `rm'.
4066 for ac_file in conftest.exe conftest conftest.*; do
4067 test -f "$ac_file" || continue
4068 case $ac_file in
4069 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4070 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4071 break;;
4072 * ) break;;
4073 esac
4074 done
4075 else
4076 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4077 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4078 as_fn_error "cannot compute suffix of executables: cannot compile and link
4079 See \`config.log' for more details." "$LINENO" 5; }
4081 rm -f conftest$ac_cv_exeext
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4083 $as_echo "$ac_cv_exeext" >&6; }
4085 rm -f conftest.$ac_ext
4086 EXEEXT=$ac_cv_exeext
4087 ac_exeext=$EXEEXT
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4090 $as_echo_n "checking for suffix of object files... " >&6; }
4091 if test "${ac_cv_objext+set}" = set; then :
4092 $as_echo_n "(cached) " >&6
4093 else
4094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4095 /* end confdefs.h. */
4098 main ()
4102 return 0;
4104 _ACEOF
4105 rm -f conftest.o conftest.obj
4106 if { { ac_try="$ac_compile"
4107 case "(($ac_try" in
4108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4109 *) ac_try_echo=$ac_try;;
4110 esac
4111 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4112 $as_echo "$ac_try_echo"; } >&5
4113 (eval "$ac_compile") 2>&5
4114 ac_status=$?
4115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4116 test $ac_status = 0; }; then :
4117 for ac_file in conftest.o conftest.obj conftest.*; do
4118 test -f "$ac_file" || continue;
4119 case $ac_file in
4120 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4121 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4122 break;;
4123 esac
4124 done
4125 else
4126 $as_echo "$as_me: failed program was:" >&5
4127 sed 's/^/| /' conftest.$ac_ext >&5
4129 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4130 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4131 as_fn_error "cannot compute suffix of object files: cannot compile
4132 See \`config.log' for more details." "$LINENO" 5; }
4134 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4137 $as_echo "$ac_cv_objext" >&6; }
4138 OBJEXT=$ac_cv_objext
4139 ac_objext=$OBJEXT
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4141 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4142 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4143 $as_echo_n "(cached) " >&6
4144 else
4145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4146 /* end confdefs.h. */
4149 main ()
4151 #ifndef __GNUC__
4152 choke me
4153 #endif
4156 return 0;
4158 _ACEOF
4159 if ac_fn_c_try_compile "$LINENO"; then :
4160 ac_compiler_gnu=yes
4161 else
4162 ac_compiler_gnu=no
4164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4165 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4169 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4170 if test $ac_compiler_gnu = yes; then
4171 GCC=yes
4172 else
4173 GCC=
4175 ac_test_CFLAGS=${CFLAGS+set}
4176 ac_save_CFLAGS=$CFLAGS
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4178 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4179 if test "${ac_cv_prog_cc_g+set}" = set; then :
4180 $as_echo_n "(cached) " >&6
4181 else
4182 ac_save_c_werror_flag=$ac_c_werror_flag
4183 ac_c_werror_flag=yes
4184 ac_cv_prog_cc_g=no
4185 CFLAGS="-g"
4186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4187 /* end confdefs.h. */
4190 main ()
4194 return 0;
4196 _ACEOF
4197 if ac_fn_c_try_compile "$LINENO"; then :
4198 ac_cv_prog_cc_g=yes
4199 else
4200 CFLAGS=""
4201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4202 /* end confdefs.h. */
4205 main ()
4209 return 0;
4211 _ACEOF
4212 if ac_fn_c_try_compile "$LINENO"; then :
4214 else
4215 ac_c_werror_flag=$ac_save_c_werror_flag
4216 CFLAGS="-g"
4217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4218 /* end confdefs.h. */
4221 main ()
4225 return 0;
4227 _ACEOF
4228 if ac_fn_c_try_compile "$LINENO"; then :
4229 ac_cv_prog_cc_g=yes
4231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4236 ac_c_werror_flag=$ac_save_c_werror_flag
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4239 $as_echo "$ac_cv_prog_cc_g" >&6; }
4240 if test "$ac_test_CFLAGS" = set; then
4241 CFLAGS=$ac_save_CFLAGS
4242 elif test $ac_cv_prog_cc_g = yes; then
4243 if test "$GCC" = yes; then
4244 CFLAGS="-g -O2"
4245 else
4246 CFLAGS="-g"
4248 else
4249 if test "$GCC" = yes; then
4250 CFLAGS="-O2"
4251 else
4252 CFLAGS=
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4256 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4257 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4258 $as_echo_n "(cached) " >&6
4259 else
4260 ac_cv_prog_cc_c89=no
4261 ac_save_CC=$CC
4262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4263 /* end confdefs.h. */
4264 #include <stdarg.h>
4265 #include <stdio.h>
4266 #include <sys/types.h>
4267 #include <sys/stat.h>
4268 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4269 struct buf { int x; };
4270 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4271 static char *e (p, i)
4272 char **p;
4273 int i;
4275 return p[i];
4277 static char *f (char * (*g) (char **, int), char **p, ...)
4279 char *s;
4280 va_list v;
4281 va_start (v,p);
4282 s = g (p, va_arg (v,int));
4283 va_end (v);
4284 return s;
4287 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4288 function prototypes and stuff, but not '\xHH' hex character constants.
4289 These don't provoke an error unfortunately, instead are silently treated
4290 as 'x'. The following induces an error, until -std is added to get
4291 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4292 array size at least. It's necessary to write '\x00'==0 to get something
4293 that's true only with -std. */
4294 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4296 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4297 inside strings and character constants. */
4298 #define FOO(x) 'x'
4299 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4301 int test (int i, double x);
4302 struct s1 {int (*f) (int a);};
4303 struct s2 {int (*f) (double a);};
4304 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4305 int argc;
4306 char **argv;
4308 main ()
4310 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4312 return 0;
4314 _ACEOF
4315 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4316 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4318 CC="$ac_save_CC $ac_arg"
4319 if ac_fn_c_try_compile "$LINENO"; then :
4320 ac_cv_prog_cc_c89=$ac_arg
4322 rm -f core conftest.err conftest.$ac_objext
4323 test "x$ac_cv_prog_cc_c89" != "xno" && break
4324 done
4325 rm -f conftest.$ac_ext
4326 CC=$ac_save_CC
4329 # AC_CACHE_VAL
4330 case "x$ac_cv_prog_cc_c89" in
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4333 $as_echo "none needed" >&6; } ;;
4334 xno)
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4336 $as_echo "unsupported" >&6; } ;;
4338 CC="$CC $ac_cv_prog_cc_c89"
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4340 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4341 esac
4342 if test "x$ac_cv_prog_cc_c89" != xno; then :
4346 ac_ext=c
4347 ac_cpp='$CPP $CPPFLAGS'
4348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4352 ac_ext=cpp
4353 ac_cpp='$CXXCPP $CPPFLAGS'
4354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4357 if test -z "$CXX"; then
4358 if test -n "$CCC"; then
4359 CXX=$CCC
4360 else
4361 if test -n "$ac_tool_prefix"; then
4362 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4364 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4365 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4367 $as_echo_n "checking for $ac_word... " >&6; }
4368 if test "${ac_cv_prog_CXX+set}" = set; then :
4369 $as_echo_n "(cached) " >&6
4370 else
4371 if test -n "$CXX"; then
4372 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4373 else
4374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4375 for as_dir in $PATH
4377 IFS=$as_save_IFS
4378 test -z "$as_dir" && as_dir=.
4379 for ac_exec_ext in '' $ac_executable_extensions; do
4380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4381 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4383 break 2
4385 done
4386 done
4387 IFS=$as_save_IFS
4391 CXX=$ac_cv_prog_CXX
4392 if test -n "$CXX"; then
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4394 $as_echo "$CXX" >&6; }
4395 else
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4397 $as_echo "no" >&6; }
4401 test -n "$CXX" && break
4402 done
4404 if test -z "$CXX"; then
4405 ac_ct_CXX=$CXX
4406 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4408 # Extract the first word of "$ac_prog", so it can be a program name with args.
4409 set dummy $ac_prog; ac_word=$2
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4411 $as_echo_n "checking for $ac_word... " >&6; }
4412 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4413 $as_echo_n "(cached) " >&6
4414 else
4415 if test -n "$ac_ct_CXX"; then
4416 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4417 else
4418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4419 for as_dir in $PATH
4421 IFS=$as_save_IFS
4422 test -z "$as_dir" && as_dir=.
4423 for ac_exec_ext in '' $ac_executable_extensions; do
4424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4425 ac_cv_prog_ac_ct_CXX="$ac_prog"
4426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4427 break 2
4429 done
4430 done
4431 IFS=$as_save_IFS
4435 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4436 if test -n "$ac_ct_CXX"; then
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4438 $as_echo "$ac_ct_CXX" >&6; }
4439 else
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4441 $as_echo "no" >&6; }
4445 test -n "$ac_ct_CXX" && break
4446 done
4448 if test "x$ac_ct_CXX" = x; then
4449 CXX="g++"
4450 else
4451 case $cross_compiling:$ac_tool_warned in
4452 yes:)
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4455 ac_tool_warned=yes ;;
4456 esac
4457 CXX=$ac_ct_CXX
4463 # Provide some information about the compiler.
4464 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4465 set X $ac_compile
4466 ac_compiler=$2
4467 for ac_option in --version -v -V -qversion; do
4468 { { ac_try="$ac_compiler $ac_option >&5"
4469 case "(($ac_try" in
4470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4471 *) ac_try_echo=$ac_try;;
4472 esac
4473 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4474 $as_echo "$ac_try_echo"; } >&5
4475 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4476 ac_status=$?
4477 if test -s conftest.err; then
4478 sed '10a\
4479 ... rest of stderr output deleted ...
4480 10q' conftest.err >conftest.er1
4481 cat conftest.er1 >&5
4482 rm -f conftest.er1 conftest.err
4484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4485 test $ac_status = 0; }
4486 done
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4489 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4490 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4491 $as_echo_n "(cached) " >&6
4492 else
4493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4494 /* end confdefs.h. */
4497 main ()
4499 #ifndef __GNUC__
4500 choke me
4501 #endif
4504 return 0;
4506 _ACEOF
4507 if ac_fn_cxx_try_compile "$LINENO"; then :
4508 ac_compiler_gnu=yes
4509 else
4510 ac_compiler_gnu=no
4512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4513 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4517 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4518 if test $ac_compiler_gnu = yes; then
4519 GXX=yes
4520 else
4521 GXX=
4523 ac_test_CXXFLAGS=${CXXFLAGS+set}
4524 ac_save_CXXFLAGS=$CXXFLAGS
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4526 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4527 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4528 $as_echo_n "(cached) " >&6
4529 else
4530 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4531 ac_cxx_werror_flag=yes
4532 ac_cv_prog_cxx_g=no
4533 CXXFLAGS="-g"
4534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4535 /* end confdefs.h. */
4538 main ()
4542 return 0;
4544 _ACEOF
4545 if ac_fn_cxx_try_compile "$LINENO"; then :
4546 ac_cv_prog_cxx_g=yes
4547 else
4548 CXXFLAGS=""
4549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4550 /* end confdefs.h. */
4553 main ()
4557 return 0;
4559 _ACEOF
4560 if ac_fn_cxx_try_compile "$LINENO"; then :
4562 else
4563 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4564 CXXFLAGS="-g"
4565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4566 /* end confdefs.h. */
4569 main ()
4573 return 0;
4575 _ACEOF
4576 if ac_fn_cxx_try_compile "$LINENO"; then :
4577 ac_cv_prog_cxx_g=yes
4579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4584 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4587 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4588 if test "$ac_test_CXXFLAGS" = set; then
4589 CXXFLAGS=$ac_save_CXXFLAGS
4590 elif test $ac_cv_prog_cxx_g = yes; then
4591 if test "$GXX" = yes; then
4592 CXXFLAGS="-g -O2"
4593 else
4594 CXXFLAGS="-g"
4596 else
4597 if test "$GXX" = yes; then
4598 CXXFLAGS="-O2"
4599 else
4600 CXXFLAGS=
4603 ac_ext=c
4604 ac_cpp='$CPP $CPPFLAGS'
4605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4609 CXXFLAGS="$save_CXXFLAGS"
4611 # Runs configure.host, and assorted other critical bits. Sets
4612 # up critical shell variables.
4614 ac_ext=c
4615 ac_cpp='$CPP $CPPFLAGS'
4616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4620 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4621 # On Suns, sometimes $CPP names a directory.
4622 if test -n "$CPP" && test -d "$CPP"; then
4623 CPP=
4625 if test -z "$CPP"; then
4626 if test "${ac_cv_prog_CPP+set}" = set; then :
4627 $as_echo_n "(cached) " >&6
4628 else
4629 # Double quotes because CPP needs to be expanded
4630 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4632 ac_preproc_ok=false
4633 for ac_c_preproc_warn_flag in '' yes
4635 # Use a header file that comes with gcc, so configuring glibc
4636 # with a fresh cross-compiler works.
4637 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4638 # <limits.h> exists even on freestanding compilers.
4639 # On the NeXT, cc -E runs the code through the compiler's parser,
4640 # not just through cpp. "Syntax error" is here to catch this case.
4641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4642 /* end confdefs.h. */
4643 #ifdef __STDC__
4644 # include <limits.h>
4645 #else
4646 # include <assert.h>
4647 #endif
4648 Syntax error
4649 _ACEOF
4650 if ac_fn_c_try_cpp "$LINENO"; then :
4652 else
4653 # Broken: fails on valid input.
4654 continue
4656 rm -f conftest.err conftest.$ac_ext
4658 # OK, works on sane cases. Now check whether nonexistent headers
4659 # can be detected and how.
4660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4661 /* end confdefs.h. */
4662 #include <ac_nonexistent.h>
4663 _ACEOF
4664 if ac_fn_c_try_cpp "$LINENO"; then :
4665 # Broken: success on invalid input.
4666 continue
4667 else
4668 # Passes both tests.
4669 ac_preproc_ok=:
4670 break
4672 rm -f conftest.err conftest.$ac_ext
4674 done
4675 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4676 rm -f conftest.err conftest.$ac_ext
4677 if $ac_preproc_ok; then :
4678 break
4681 done
4682 ac_cv_prog_CPP=$CPP
4685 CPP=$ac_cv_prog_CPP
4686 else
4687 ac_cv_prog_CPP=$CPP
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4690 $as_echo "$CPP" >&6; }
4691 ac_preproc_ok=false
4692 for ac_c_preproc_warn_flag in '' yes
4694 # Use a header file that comes with gcc, so configuring glibc
4695 # with a fresh cross-compiler works.
4696 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4697 # <limits.h> exists even on freestanding compilers.
4698 # On the NeXT, cc -E runs the code through the compiler's parser,
4699 # not just through cpp. "Syntax error" is here to catch this case.
4700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4701 /* end confdefs.h. */
4702 #ifdef __STDC__
4703 # include <limits.h>
4704 #else
4705 # include <assert.h>
4706 #endif
4707 Syntax error
4708 _ACEOF
4709 if ac_fn_c_try_cpp "$LINENO"; then :
4711 else
4712 # Broken: fails on valid input.
4713 continue
4715 rm -f conftest.err conftest.$ac_ext
4717 # OK, works on sane cases. Now check whether nonexistent headers
4718 # can be detected and how.
4719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4720 /* end confdefs.h. */
4721 #include <ac_nonexistent.h>
4722 _ACEOF
4723 if ac_fn_c_try_cpp "$LINENO"; then :
4724 # Broken: success on invalid input.
4725 continue
4726 else
4727 # Passes both tests.
4728 ac_preproc_ok=:
4729 break
4731 rm -f conftest.err conftest.$ac_ext
4733 done
4734 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4735 rm -f conftest.err conftest.$ac_ext
4736 if $ac_preproc_ok; then :
4738 else
4739 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4740 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4741 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4742 See \`config.log' for more details." "$LINENO" 5; }
4745 ac_ext=c
4746 ac_cpp='$CPP $CPPFLAGS'
4747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4753 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4754 if test "${ac_cv_path_GREP+set}" = set; then :
4755 $as_echo_n "(cached) " >&6
4756 else
4757 if test -z "$GREP"; then
4758 ac_path_GREP_found=false
4759 # Loop through the user's path and test for each of PROGNAME-LIST
4760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4761 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4763 IFS=$as_save_IFS
4764 test -z "$as_dir" && as_dir=.
4765 for ac_prog in grep ggrep; do
4766 for ac_exec_ext in '' $ac_executable_extensions; do
4767 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4768 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4769 # Check for GNU ac_path_GREP and select it if it is found.
4770 # Check for GNU $ac_path_GREP
4771 case `"$ac_path_GREP" --version 2>&1` in
4772 *GNU*)
4773 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4775 ac_count=0
4776 $as_echo_n 0123456789 >"conftest.in"
4777 while :
4779 cat "conftest.in" "conftest.in" >"conftest.tmp"
4780 mv "conftest.tmp" "conftest.in"
4781 cp "conftest.in" "conftest.nl"
4782 $as_echo 'GREP' >> "conftest.nl"
4783 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4784 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4785 as_fn_arith $ac_count + 1 && ac_count=$as_val
4786 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4787 # Best one so far, save it but keep looking for a better one
4788 ac_cv_path_GREP="$ac_path_GREP"
4789 ac_path_GREP_max=$ac_count
4791 # 10*(2^10) chars as input seems more than enough
4792 test $ac_count -gt 10 && break
4793 done
4794 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4795 esac
4797 $ac_path_GREP_found && break 3
4798 done
4799 done
4800 done
4801 IFS=$as_save_IFS
4802 if test -z "$ac_cv_path_GREP"; then
4803 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4805 else
4806 ac_cv_path_GREP=$GREP
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4811 $as_echo "$ac_cv_path_GREP" >&6; }
4812 GREP="$ac_cv_path_GREP"
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4816 $as_echo_n "checking for egrep... " >&6; }
4817 if test "${ac_cv_path_EGREP+set}" = set; then :
4818 $as_echo_n "(cached) " >&6
4819 else
4820 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4821 then ac_cv_path_EGREP="$GREP -E"
4822 else
4823 if test -z "$EGREP"; then
4824 ac_path_EGREP_found=false
4825 # Loop through the user's path and test for each of PROGNAME-LIST
4826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4827 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4829 IFS=$as_save_IFS
4830 test -z "$as_dir" && as_dir=.
4831 for ac_prog in egrep; do
4832 for ac_exec_ext in '' $ac_executable_extensions; do
4833 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4834 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4835 # Check for GNU ac_path_EGREP and select it if it is found.
4836 # Check for GNU $ac_path_EGREP
4837 case `"$ac_path_EGREP" --version 2>&1` in
4838 *GNU*)
4839 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4841 ac_count=0
4842 $as_echo_n 0123456789 >"conftest.in"
4843 while :
4845 cat "conftest.in" "conftest.in" >"conftest.tmp"
4846 mv "conftest.tmp" "conftest.in"
4847 cp "conftest.in" "conftest.nl"
4848 $as_echo 'EGREP' >> "conftest.nl"
4849 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4850 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4851 as_fn_arith $ac_count + 1 && ac_count=$as_val
4852 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4853 # Best one so far, save it but keep looking for a better one
4854 ac_cv_path_EGREP="$ac_path_EGREP"
4855 ac_path_EGREP_max=$ac_count
4857 # 10*(2^10) chars as input seems more than enough
4858 test $ac_count -gt 10 && break
4859 done
4860 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4861 esac
4863 $ac_path_EGREP_found && break 3
4864 done
4865 done
4866 done
4867 IFS=$as_save_IFS
4868 if test -z "$ac_cv_path_EGREP"; then
4869 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4871 else
4872 ac_cv_path_EGREP=$EGREP
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4878 $as_echo "$ac_cv_path_EGREP" >&6; }
4879 EGREP="$ac_cv_path_EGREP"
4883 # Keep these sync'd with the list in Makefile.am. The first provides an
4884 # expandable list at autoconf time; the second provides an expandable list
4885 # (i.e., shell variable) at configure time.
4887 SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4889 # These need to be absolute paths, yet at the same time need to
4890 # canonicalize only relative paths, because then amd will not unmount
4891 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4892 glibcxx_builddir=`${PWDCMD-pwd}`
4893 case $srcdir in
4894 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4895 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4896 esac
4897 toplevel_builddir=${glibcxx_builddir}/..
4898 toplevel_srcdir=${glibcxx_srcdir}/..
4904 # We use these options to decide which functions to include. They are
4905 # set from the top level.
4907 # Check whether --with-target-subdir was given.
4908 if test "${with_target_subdir+set}" = set; then :
4909 withval=$with_target_subdir;
4914 # Check whether --with-cross-host was given.
4915 if test "${with_cross_host+set}" = set; then :
4916 withval=$with_cross_host;
4921 # Check whether --with-newlib was given.
4922 if test "${with_newlib+set}" = set; then :
4923 withval=$with_newlib;
4927 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4928 # available). Uncomment the next line to force a particular method.
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4930 $as_echo_n "checking whether ln -s works... " >&6; }
4931 LN_S=$as_ln_s
4932 if test "$LN_S" = "ln -s"; then
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4934 $as_echo "yes" >&6; }
4935 else
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4937 $as_echo "no, using $LN_S" >&6; }
4940 #LN_S='cp -p'
4942 if test -n "$ac_tool_prefix"; then
4943 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4944 set dummy ${ac_tool_prefix}as; ac_word=$2
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4946 $as_echo_n "checking for $ac_word... " >&6; }
4947 if test "${ac_cv_prog_AS+set}" = set; then :
4948 $as_echo_n "(cached) " >&6
4949 else
4950 if test -n "$AS"; then
4951 ac_cv_prog_AS="$AS" # Let the user override the test.
4952 else
4953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4954 for as_dir in $PATH
4956 IFS=$as_save_IFS
4957 test -z "$as_dir" && as_dir=.
4958 for ac_exec_ext in '' $ac_executable_extensions; do
4959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4960 ac_cv_prog_AS="${ac_tool_prefix}as"
4961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4962 break 2
4964 done
4965 done
4966 IFS=$as_save_IFS
4970 AS=$ac_cv_prog_AS
4971 if test -n "$AS"; then
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4973 $as_echo "$AS" >&6; }
4974 else
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4976 $as_echo "no" >&6; }
4981 if test -z "$ac_cv_prog_AS"; then
4982 ac_ct_AS=$AS
4983 # Extract the first word of "as", so it can be a program name with args.
4984 set dummy as; ac_word=$2
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4986 $as_echo_n "checking for $ac_word... " >&6; }
4987 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4988 $as_echo_n "(cached) " >&6
4989 else
4990 if test -n "$ac_ct_AS"; then
4991 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4992 else
4993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4994 for as_dir in $PATH
4996 IFS=$as_save_IFS
4997 test -z "$as_dir" && as_dir=.
4998 for ac_exec_ext in '' $ac_executable_extensions; do
4999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5000 ac_cv_prog_ac_ct_AS="as"
5001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5002 break 2
5004 done
5005 done
5006 IFS=$as_save_IFS
5010 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5011 if test -n "$ac_ct_AS"; then
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5013 $as_echo "$ac_ct_AS" >&6; }
5014 else
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5016 $as_echo "no" >&6; }
5019 if test "x$ac_ct_AS" = x; then
5020 AS=""
5021 else
5022 case $cross_compiling:$ac_tool_warned in
5023 yes:)
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5025 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5026 ac_tool_warned=yes ;;
5027 esac
5028 AS=$ac_ct_AS
5030 else
5031 AS="$ac_cv_prog_AS"
5034 if test -n "$ac_tool_prefix"; then
5035 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5036 set dummy ${ac_tool_prefix}ar; ac_word=$2
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5038 $as_echo_n "checking for $ac_word... " >&6; }
5039 if test "${ac_cv_prog_AR+set}" = set; then :
5040 $as_echo_n "(cached) " >&6
5041 else
5042 if test -n "$AR"; then
5043 ac_cv_prog_AR="$AR" # Let the user override the test.
5044 else
5045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5046 for as_dir in $PATH
5048 IFS=$as_save_IFS
5049 test -z "$as_dir" && as_dir=.
5050 for ac_exec_ext in '' $ac_executable_extensions; do
5051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5052 ac_cv_prog_AR="${ac_tool_prefix}ar"
5053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5054 break 2
5056 done
5057 done
5058 IFS=$as_save_IFS
5062 AR=$ac_cv_prog_AR
5063 if test -n "$AR"; then
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5065 $as_echo "$AR" >&6; }
5066 else
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5068 $as_echo "no" >&6; }
5073 if test -z "$ac_cv_prog_AR"; then
5074 ac_ct_AR=$AR
5075 # Extract the first word of "ar", so it can be a program name with args.
5076 set dummy ar; ac_word=$2
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5078 $as_echo_n "checking for $ac_word... " >&6; }
5079 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5080 $as_echo_n "(cached) " >&6
5081 else
5082 if test -n "$ac_ct_AR"; then
5083 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5084 else
5085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5086 for as_dir in $PATH
5088 IFS=$as_save_IFS
5089 test -z "$as_dir" && as_dir=.
5090 for ac_exec_ext in '' $ac_executable_extensions; do
5091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5092 ac_cv_prog_ac_ct_AR="ar"
5093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5094 break 2
5096 done
5097 done
5098 IFS=$as_save_IFS
5102 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5103 if test -n "$ac_ct_AR"; then
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5105 $as_echo "$ac_ct_AR" >&6; }
5106 else
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5108 $as_echo "no" >&6; }
5111 if test "x$ac_ct_AR" = x; then
5112 AR=""
5113 else
5114 case $cross_compiling:$ac_tool_warned in
5115 yes:)
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5118 ac_tool_warned=yes ;;
5119 esac
5120 AR=$ac_ct_AR
5122 else
5123 AR="$ac_cv_prog_AR"
5126 if test -n "$ac_tool_prefix"; then
5127 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5128 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5130 $as_echo_n "checking for $ac_word... " >&6; }
5131 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5132 $as_echo_n "(cached) " >&6
5133 else
5134 if test -n "$RANLIB"; then
5135 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5136 else
5137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5138 for as_dir in $PATH
5140 IFS=$as_save_IFS
5141 test -z "$as_dir" && as_dir=.
5142 for ac_exec_ext in '' $ac_executable_extensions; do
5143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5144 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5146 break 2
5148 done
5149 done
5150 IFS=$as_save_IFS
5154 RANLIB=$ac_cv_prog_RANLIB
5155 if test -n "$RANLIB"; then
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5157 $as_echo "$RANLIB" >&6; }
5158 else
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5160 $as_echo "no" >&6; }
5165 if test -z "$ac_cv_prog_RANLIB"; then
5166 ac_ct_RANLIB=$RANLIB
5167 # Extract the first word of "ranlib", so it can be a program name with args.
5168 set dummy ranlib; ac_word=$2
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5170 $as_echo_n "checking for $ac_word... " >&6; }
5171 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5172 $as_echo_n "(cached) " >&6
5173 else
5174 if test -n "$ac_ct_RANLIB"; then
5175 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5176 else
5177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5178 for as_dir in $PATH
5180 IFS=$as_save_IFS
5181 test -z "$as_dir" && as_dir=.
5182 for ac_exec_ext in '' $ac_executable_extensions; do
5183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5184 ac_cv_prog_ac_ct_RANLIB="ranlib"
5185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5186 break 2
5188 done
5189 done
5190 IFS=$as_save_IFS
5194 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5195 if test -n "$ac_ct_RANLIB"; then
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5197 $as_echo "$ac_ct_RANLIB" >&6; }
5198 else
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5200 $as_echo "no" >&6; }
5203 if test "x$ac_ct_RANLIB" = x; then
5204 RANLIB="ranlib-not-found-in-path-error"
5205 else
5206 case $cross_compiling:$ac_tool_warned in
5207 yes:)
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5209 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5210 ac_tool_warned=yes ;;
5211 esac
5212 RANLIB=$ac_ct_RANLIB
5214 else
5215 RANLIB="$ac_cv_prog_RANLIB"
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5221 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5222 # Check whether --enable-maintainer-mode was given.
5223 if test "${enable_maintainer_mode+set}" = set; then :
5224 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5225 else
5226 USE_MAINTAINER_MODE=no
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5230 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5231 if test $USE_MAINTAINER_MODE = yes; then
5232 MAINTAINER_MODE_TRUE=
5233 MAINTAINER_MODE_FALSE='#'
5234 else
5235 MAINTAINER_MODE_TRUE='#'
5236 MAINTAINER_MODE_FALSE=
5239 MAINT=$MAINTAINER_MODE_TRUE
5243 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5244 # which are themselves conditionally expanded.
5245 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5246 ## other macros from doing the same. This should be automated.) -pme
5248 # Check for C library flavor since GNU/Linux platforms use different
5249 # configuration directories depending on the C library in use.
5250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5251 /* end confdefs.h. */
5253 #include <stdio.h>
5254 #if __UCLIBC__
5255 _using_uclibc
5256 #endif
5258 _ACEOF
5259 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5260 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5261 uclibc=yes
5262 else
5263 uclibc=no
5265 rm -f conftest*
5268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5269 /* end confdefs.h. */
5271 #include <stdio.h>
5272 #if __BIONIC__
5273 _using_bionic
5274 #endif
5276 _ACEOF
5277 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5278 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5279 bionic=yes
5280 else
5281 bionic=no
5283 rm -f conftest*
5286 # Find platform-specific directories containing configuration info.
5287 # Also possibly modify flags used elsewhere, as needed by the platform.
5289 . $glibcxx_srcdir/configure.host
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5291 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5293 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5297 # Libtool setup.
5298 if test "x${with_newlib}" != "xyes"; then
5299 enable_dlopen=yes
5304 case `pwd` in
5305 *\ * | *\ *)
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5307 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5308 esac
5312 macro_version='2.2.7a'
5313 macro_revision='1.3134'
5327 ltmain="$ac_aux_dir/ltmain.sh"
5329 # Backslashify metacharacters that are still active within
5330 # double-quoted strings.
5331 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5333 # Same as above, but do not quote variable references.
5334 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5336 # Sed substitution to delay expansion of an escaped shell variable in a
5337 # double_quote_subst'ed string.
5338 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5340 # Sed substitution to delay expansion of an escaped single quote.
5341 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5343 # Sed substitution to avoid accidental globbing in evaled expressions
5344 no_glob_subst='s/\*/\\\*/g'
5346 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5347 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5348 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5351 $as_echo_n "checking how to print strings... " >&6; }
5352 # Test print first, because it will be a builtin if present.
5353 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5354 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5355 ECHO='print -r --'
5356 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5357 ECHO='printf %s\n'
5358 else
5359 # Use this function as a fallback that always works.
5360 func_fallback_echo ()
5362 eval 'cat <<_LTECHO_EOF
5364 _LTECHO_EOF'
5366 ECHO='func_fallback_echo'
5369 # func_echo_all arg...
5370 # Invoke $ECHO with all args, space-separated.
5371 func_echo_all ()
5373 $ECHO ""
5376 case "$ECHO" in
5377 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5378 $as_echo "printf" >&6; } ;;
5379 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5380 $as_echo "print -r" >&6; } ;;
5381 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5382 $as_echo "cat" >&6; } ;;
5383 esac
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5399 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5400 if test "${ac_cv_path_SED+set}" = set; then :
5401 $as_echo_n "(cached) " >&6
5402 else
5403 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5404 for ac_i in 1 2 3 4 5 6 7; do
5405 ac_script="$ac_script$as_nl$ac_script"
5406 done
5407 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5408 { ac_script=; unset ac_script;}
5409 if test -z "$SED"; then
5410 ac_path_SED_found=false
5411 # Loop through the user's path and test for each of PROGNAME-LIST
5412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5413 for as_dir in $PATH
5415 IFS=$as_save_IFS
5416 test -z "$as_dir" && as_dir=.
5417 for ac_prog in sed gsed; do
5418 for ac_exec_ext in '' $ac_executable_extensions; do
5419 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5420 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5421 # Check for GNU ac_path_SED and select it if it is found.
5422 # Check for GNU $ac_path_SED
5423 case `"$ac_path_SED" --version 2>&1` in
5424 *GNU*)
5425 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5427 ac_count=0
5428 $as_echo_n 0123456789 >"conftest.in"
5429 while :
5431 cat "conftest.in" "conftest.in" >"conftest.tmp"
5432 mv "conftest.tmp" "conftest.in"
5433 cp "conftest.in" "conftest.nl"
5434 $as_echo '' >> "conftest.nl"
5435 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5436 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5437 as_fn_arith $ac_count + 1 && ac_count=$as_val
5438 if test $ac_count -gt ${ac_path_SED_max-0}; then
5439 # Best one so far, save it but keep looking for a better one
5440 ac_cv_path_SED="$ac_path_SED"
5441 ac_path_SED_max=$ac_count
5443 # 10*(2^10) chars as input seems more than enough
5444 test $ac_count -gt 10 && break
5445 done
5446 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5447 esac
5449 $ac_path_SED_found && break 3
5450 done
5451 done
5452 done
5453 IFS=$as_save_IFS
5454 if test -z "$ac_cv_path_SED"; then
5455 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5457 else
5458 ac_cv_path_SED=$SED
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5463 $as_echo "$ac_cv_path_SED" >&6; }
5464 SED="$ac_cv_path_SED"
5465 rm -f conftest.sed
5467 test -z "$SED" && SED=sed
5468 Xsed="$SED -e 1s/^X//"
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5481 $as_echo_n "checking for fgrep... " >&6; }
5482 if test "${ac_cv_path_FGREP+set}" = set; then :
5483 $as_echo_n "(cached) " >&6
5484 else
5485 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5486 then ac_cv_path_FGREP="$GREP -F"
5487 else
5488 if test -z "$FGREP"; then
5489 ac_path_FGREP_found=false
5490 # Loop through the user's path and test for each of PROGNAME-LIST
5491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5492 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5494 IFS=$as_save_IFS
5495 test -z "$as_dir" && as_dir=.
5496 for ac_prog in fgrep; do
5497 for ac_exec_ext in '' $ac_executable_extensions; do
5498 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5499 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5500 # Check for GNU ac_path_FGREP and select it if it is found.
5501 # Check for GNU $ac_path_FGREP
5502 case `"$ac_path_FGREP" --version 2>&1` in
5503 *GNU*)
5504 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5506 ac_count=0
5507 $as_echo_n 0123456789 >"conftest.in"
5508 while :
5510 cat "conftest.in" "conftest.in" >"conftest.tmp"
5511 mv "conftest.tmp" "conftest.in"
5512 cp "conftest.in" "conftest.nl"
5513 $as_echo 'FGREP' >> "conftest.nl"
5514 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5515 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5516 as_fn_arith $ac_count + 1 && ac_count=$as_val
5517 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5518 # Best one so far, save it but keep looking for a better one
5519 ac_cv_path_FGREP="$ac_path_FGREP"
5520 ac_path_FGREP_max=$ac_count
5522 # 10*(2^10) chars as input seems more than enough
5523 test $ac_count -gt 10 && break
5524 done
5525 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5526 esac
5528 $ac_path_FGREP_found && break 3
5529 done
5530 done
5531 done
5532 IFS=$as_save_IFS
5533 if test -z "$ac_cv_path_FGREP"; then
5534 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5536 else
5537 ac_cv_path_FGREP=$FGREP
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5543 $as_echo "$ac_cv_path_FGREP" >&6; }
5544 FGREP="$ac_cv_path_FGREP"
5547 test -z "$GREP" && GREP=grep
5567 # Check whether --with-gnu-ld was given.
5568 if test "${with_gnu_ld+set}" = set; then :
5569 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5570 else
5571 with_gnu_ld=no
5574 ac_prog=ld
5575 if test "$GCC" = yes; then
5576 # Check if gcc -print-prog-name=ld gives a path.
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5578 $as_echo_n "checking for ld used by $CC... " >&6; }
5579 case $host in
5580 *-*-mingw*)
5581 # gcc leaves a trailing carriage return which upsets mingw
5582 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5584 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5585 esac
5586 case $ac_prog in
5587 # Accept absolute paths.
5588 [\\/]* | ?:[\\/]*)
5589 re_direlt='/[^/][^/]*/\.\./'
5590 # Canonicalize the pathname of ld
5591 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5592 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5593 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5594 done
5595 test -z "$LD" && LD="$ac_prog"
5598 # If it fails, then pretend we aren't using GCC.
5599 ac_prog=ld
5602 # If it is relative, then search for the first ld in PATH.
5603 with_gnu_ld=unknown
5605 esac
5606 elif test "$with_gnu_ld" = yes; then
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5608 $as_echo_n "checking for GNU ld... " >&6; }
5609 else
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5611 $as_echo_n "checking for non-GNU ld... " >&6; }
5613 if test "${lt_cv_path_LD+set}" = set; then :
5614 $as_echo_n "(cached) " >&6
5615 else
5616 if test -z "$LD"; then
5617 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5618 for ac_dir in $PATH; do
5619 IFS="$lt_save_ifs"
5620 test -z "$ac_dir" && ac_dir=.
5621 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5622 lt_cv_path_LD="$ac_dir/$ac_prog"
5623 # Check to see if the program is GNU ld. I'd rather use --version,
5624 # but apparently some variants of GNU ld only accept -v.
5625 # Break only if it was the GNU/non-GNU ld that we prefer.
5626 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5627 *GNU* | *'with BFD'*)
5628 test "$with_gnu_ld" != no && break
5631 test "$with_gnu_ld" != yes && break
5633 esac
5635 done
5636 IFS="$lt_save_ifs"
5637 else
5638 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5642 LD="$lt_cv_path_LD"
5643 if test -n "$LD"; then
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5645 $as_echo "$LD" >&6; }
5646 else
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5648 $as_echo "no" >&6; }
5650 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5652 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5653 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5654 $as_echo_n "(cached) " >&6
5655 else
5656 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5657 case `$LD -v 2>&1 </dev/null` in
5658 *GNU* | *'with BFD'*)
5659 lt_cv_prog_gnu_ld=yes
5662 lt_cv_prog_gnu_ld=no
5664 esac
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5667 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5668 with_gnu_ld=$lt_cv_prog_gnu_ld
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5679 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5680 if test "${lt_cv_path_NM+set}" = set; then :
5681 $as_echo_n "(cached) " >&6
5682 else
5683 if test -n "$NM"; then
5684 # Let the user override the test.
5685 lt_cv_path_NM="$NM"
5686 else
5687 lt_nm_to_check="${ac_tool_prefix}nm"
5688 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5689 lt_nm_to_check="$lt_nm_to_check nm"
5691 for lt_tmp_nm in $lt_nm_to_check; do
5692 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5693 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5694 IFS="$lt_save_ifs"
5695 test -z "$ac_dir" && ac_dir=.
5696 tmp_nm="$ac_dir/$lt_tmp_nm"
5697 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5698 # Check to see if the nm accepts a BSD-compat flag.
5699 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5700 # nm: unknown option "B" ignored
5701 # Tru64's nm complains that /dev/null is an invalid object file
5702 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5703 */dev/null* | *'Invalid file or object type'*)
5704 lt_cv_path_NM="$tmp_nm -B"
5705 break
5708 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5709 */dev/null*)
5710 lt_cv_path_NM="$tmp_nm -p"
5711 break
5714 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5715 continue # so that we can try to find one that supports BSD flags
5717 esac
5719 esac
5721 done
5722 IFS="$lt_save_ifs"
5723 done
5724 : ${lt_cv_path_NM=no}
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5728 $as_echo "$lt_cv_path_NM" >&6; }
5729 if test "$lt_cv_path_NM" != "no"; then
5730 NM="$lt_cv_path_NM"
5731 else
5732 # Didn't find any BSD compatible name lister, look for dumpbin.
5733 if test -n "$DUMPBIN"; then :
5734 # Let the user override the test.
5735 else
5736 if test -n "$ac_tool_prefix"; then
5737 for ac_prog in dumpbin "link -dump"
5739 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5740 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5742 $as_echo_n "checking for $ac_word... " >&6; }
5743 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5744 $as_echo_n "(cached) " >&6
5745 else
5746 if test -n "$DUMPBIN"; then
5747 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5748 else
5749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5750 for as_dir in $PATH
5752 IFS=$as_save_IFS
5753 test -z "$as_dir" && as_dir=.
5754 for ac_exec_ext in '' $ac_executable_extensions; do
5755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5756 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5758 break 2
5760 done
5761 done
5762 IFS=$as_save_IFS
5766 DUMPBIN=$ac_cv_prog_DUMPBIN
5767 if test -n "$DUMPBIN"; then
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5769 $as_echo "$DUMPBIN" >&6; }
5770 else
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5772 $as_echo "no" >&6; }
5776 test -n "$DUMPBIN" && break
5777 done
5779 if test -z "$DUMPBIN"; then
5780 ac_ct_DUMPBIN=$DUMPBIN
5781 for ac_prog in dumpbin "link -dump"
5783 # Extract the first word of "$ac_prog", so it can be a program name with args.
5784 set dummy $ac_prog; ac_word=$2
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5786 $as_echo_n "checking for $ac_word... " >&6; }
5787 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5788 $as_echo_n "(cached) " >&6
5789 else
5790 if test -n "$ac_ct_DUMPBIN"; then
5791 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5792 else
5793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5794 for as_dir in $PATH
5796 IFS=$as_save_IFS
5797 test -z "$as_dir" && as_dir=.
5798 for ac_exec_ext in '' $ac_executable_extensions; do
5799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5800 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5802 break 2
5804 done
5805 done
5806 IFS=$as_save_IFS
5810 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5811 if test -n "$ac_ct_DUMPBIN"; then
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5813 $as_echo "$ac_ct_DUMPBIN" >&6; }
5814 else
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5816 $as_echo "no" >&6; }
5820 test -n "$ac_ct_DUMPBIN" && break
5821 done
5823 if test "x$ac_ct_DUMPBIN" = x; then
5824 DUMPBIN=":"
5825 else
5826 case $cross_compiling:$ac_tool_warned in
5827 yes:)
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5829 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5830 ac_tool_warned=yes ;;
5831 esac
5832 DUMPBIN=$ac_ct_DUMPBIN
5836 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5837 *COFF*)
5838 DUMPBIN="$DUMPBIN -symbols"
5841 DUMPBIN=:
5843 esac
5846 if test "$DUMPBIN" != ":"; then
5847 NM="$DUMPBIN"
5850 test -z "$NM" && NM=nm
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5858 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5859 if test "${lt_cv_nm_interface+set}" = set; then :
5860 $as_echo_n "(cached) " >&6
5861 else
5862 lt_cv_nm_interface="BSD nm"
5863 echo "int some_variable = 0;" > conftest.$ac_ext
5864 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5865 (eval "$ac_compile" 2>conftest.err)
5866 cat conftest.err >&5
5867 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5868 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5869 cat conftest.err >&5
5870 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5871 cat conftest.out >&5
5872 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5873 lt_cv_nm_interface="MS dumpbin"
5875 rm -f conftest*
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5878 $as_echo "$lt_cv_nm_interface" >&6; }
5880 # find the maximum length of command line arguments
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5882 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5883 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5884 $as_echo_n "(cached) " >&6
5885 else
5887 teststring="ABCD"
5889 case $build_os in
5890 msdosdjgpp*)
5891 # On DJGPP, this test can blow up pretty badly due to problems in libc
5892 # (any single argument exceeding 2000 bytes causes a buffer overrun
5893 # during glob expansion). Even if it were fixed, the result of this
5894 # check would be larger than it should be.
5895 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5898 gnu*)
5899 # Under GNU Hurd, this test is not required because there is
5900 # no limit to the length of command line arguments.
5901 # Libtool will interpret -1 as no limit whatsoever
5902 lt_cv_sys_max_cmd_len=-1;
5905 cygwin* | mingw* | cegcc*)
5906 # On Win9x/ME, this test blows up -- it succeeds, but takes
5907 # about 5 minutes as the teststring grows exponentially.
5908 # Worse, since 9x/ME are not pre-emptively multitasking,
5909 # you end up with a "frozen" computer, even though with patience
5910 # the test eventually succeeds (with a max line length of 256k).
5911 # Instead, let's just punt: use the minimum linelength reported by
5912 # all of the supported platforms: 8192 (on NT/2K/XP).
5913 lt_cv_sys_max_cmd_len=8192;
5916 mint*)
5917 # On MiNT this can take a long time and run out of memory.
5918 lt_cv_sys_max_cmd_len=8192;
5921 amigaos*)
5922 # On AmigaOS with pdksh, this test takes hours, literally.
5923 # So we just punt and use a minimum line length of 8192.
5924 lt_cv_sys_max_cmd_len=8192;
5927 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5928 # This has been around since 386BSD, at least. Likely further.
5929 if test -x /sbin/sysctl; then
5930 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5931 elif test -x /usr/sbin/sysctl; then
5932 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5933 else
5934 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5936 # And add a safety zone
5937 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5938 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5941 interix*)
5942 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5943 lt_cv_sys_max_cmd_len=196608
5946 osf*)
5947 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5948 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5949 # nice to cause kernel panics so lets avoid the loop below.
5950 # First set a reasonable default.
5951 lt_cv_sys_max_cmd_len=16384
5953 if test -x /sbin/sysconfig; then
5954 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5955 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5956 esac
5959 sco3.2v5*)
5960 lt_cv_sys_max_cmd_len=102400
5962 sysv5* | sco5v6* | sysv4.2uw2*)
5963 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5964 if test -n "$kargmax"; then
5965 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5966 else
5967 lt_cv_sys_max_cmd_len=32768
5971 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5972 if test -n "$lt_cv_sys_max_cmd_len"; then
5973 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5974 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5975 else
5976 # Make teststring a little bigger before we do anything with it.
5977 # a 1K string should be a reasonable start.
5978 for i in 1 2 3 4 5 6 7 8 ; do
5979 teststring=$teststring$teststring
5980 done
5981 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5982 # If test is not a shell built-in, we'll probably end up computing a
5983 # maximum length that is only half of the actual maximum length, but
5984 # we can't tell.
5985 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5986 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5987 test $i != 17 # 1/2 MB should be enough
5989 i=`expr $i + 1`
5990 teststring=$teststring$teststring
5991 done
5992 # Only check the string length outside the loop.
5993 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5994 teststring=
5995 # Add a significant safety factor because C++ compilers can tack on
5996 # massive amounts of additional arguments before passing them to the
5997 # linker. It appears as though 1/2 is a usable value.
5998 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6001 esac
6005 if test -n $lt_cv_sys_max_cmd_len ; then
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6007 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6008 else
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6010 $as_echo "none" >&6; }
6012 max_cmd_len=$lt_cv_sys_max_cmd_len
6019 : ${CP="cp -f"}
6020 : ${MV="mv -f"}
6021 : ${RM="rm -f"}
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6024 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6025 # Try some XSI features
6026 xsi_shell=no
6027 ( _lt_dummy="a/b/c"
6028 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6029 = c,a/b,, \
6030 && eval 'test $(( 1 + 1 )) -eq 2 \
6031 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6032 && xsi_shell=yes
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6034 $as_echo "$xsi_shell" >&6; }
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6038 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6039 lt_shell_append=no
6040 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6041 >/dev/null 2>&1 \
6042 && lt_shell_append=yes
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6044 $as_echo "$lt_shell_append" >&6; }
6047 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6048 lt_unset=unset
6049 else
6050 lt_unset=false
6057 # test EBCDIC or ASCII
6058 case `echo X|tr X '\101'` in
6059 A) # ASCII based system
6060 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6061 lt_SP2NL='tr \040 \012'
6062 lt_NL2SP='tr \015\012 \040\040'
6064 *) # EBCDIC based system
6065 lt_SP2NL='tr \100 \n'
6066 lt_NL2SP='tr \r\n \100\100'
6068 esac
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6079 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6080 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6081 $as_echo_n "(cached) " >&6
6082 else
6083 lt_cv_ld_reload_flag='-r'
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6086 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6087 reload_flag=$lt_cv_ld_reload_flag
6088 case $reload_flag in
6089 "" | " "*) ;;
6090 *) reload_flag=" $reload_flag" ;;
6091 esac
6092 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6093 case $host_os in
6094 darwin*)
6095 if test "$GCC" = yes; then
6096 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6097 else
6098 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6101 esac
6111 if test -n "$ac_tool_prefix"; then
6112 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6113 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6115 $as_echo_n "checking for $ac_word... " >&6; }
6116 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6117 $as_echo_n "(cached) " >&6
6118 else
6119 if test -n "$OBJDUMP"; then
6120 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6121 else
6122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6123 for as_dir in $PATH
6125 IFS=$as_save_IFS
6126 test -z "$as_dir" && as_dir=.
6127 for ac_exec_ext in '' $ac_executable_extensions; do
6128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6129 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6131 break 2
6133 done
6134 done
6135 IFS=$as_save_IFS
6139 OBJDUMP=$ac_cv_prog_OBJDUMP
6140 if test -n "$OBJDUMP"; then
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6142 $as_echo "$OBJDUMP" >&6; }
6143 else
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6145 $as_echo "no" >&6; }
6150 if test -z "$ac_cv_prog_OBJDUMP"; then
6151 ac_ct_OBJDUMP=$OBJDUMP
6152 # Extract the first word of "objdump", so it can be a program name with args.
6153 set dummy objdump; ac_word=$2
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6155 $as_echo_n "checking for $ac_word... " >&6; }
6156 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6157 $as_echo_n "(cached) " >&6
6158 else
6159 if test -n "$ac_ct_OBJDUMP"; then
6160 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6161 else
6162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6163 for as_dir in $PATH
6165 IFS=$as_save_IFS
6166 test -z "$as_dir" && as_dir=.
6167 for ac_exec_ext in '' $ac_executable_extensions; do
6168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6169 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6171 break 2
6173 done
6174 done
6175 IFS=$as_save_IFS
6179 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6180 if test -n "$ac_ct_OBJDUMP"; then
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6182 $as_echo "$ac_ct_OBJDUMP" >&6; }
6183 else
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6185 $as_echo "no" >&6; }
6188 if test "x$ac_ct_OBJDUMP" = x; then
6189 OBJDUMP="false"
6190 else
6191 case $cross_compiling:$ac_tool_warned in
6192 yes:)
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6194 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6195 ac_tool_warned=yes ;;
6196 esac
6197 OBJDUMP=$ac_ct_OBJDUMP
6199 else
6200 OBJDUMP="$ac_cv_prog_OBJDUMP"
6203 test -z "$OBJDUMP" && OBJDUMP=objdump
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6214 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6215 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6216 $as_echo_n "(cached) " >&6
6217 else
6218 lt_cv_file_magic_cmd='$MAGIC_CMD'
6219 lt_cv_file_magic_test_file=
6220 lt_cv_deplibs_check_method='unknown'
6221 # Need to set the preceding variable on all platforms that support
6222 # interlibrary dependencies.
6223 # 'none' -- dependencies not supported.
6224 # `unknown' -- same as none, but documents that we really don't know.
6225 # 'pass_all' -- all dependencies passed with no checks.
6226 # 'test_compile' -- check by making test program.
6227 # 'file_magic [[regex]]' -- check by looking for files in library path
6228 # which responds to the $file_magic_cmd with a given extended regex.
6229 # If you have `file' or equivalent on your system and you're not sure
6230 # whether `pass_all' will *always* work, you probably want this one.
6232 case $host_os in
6233 aix[4-9]*)
6234 lt_cv_deplibs_check_method=pass_all
6237 beos*)
6238 lt_cv_deplibs_check_method=pass_all
6241 bsdi[45]*)
6242 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6243 lt_cv_file_magic_cmd='/usr/bin/file -L'
6244 lt_cv_file_magic_test_file=/shlib/libc.so
6247 cygwin*)
6248 # func_win32_libid is a shell function defined in ltmain.sh
6249 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6250 lt_cv_file_magic_cmd='func_win32_libid'
6253 mingw* | pw32*)
6254 # Base MSYS/MinGW do not provide the 'file' command needed by
6255 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6256 # unless we find 'file', for example because we are cross-compiling.
6257 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6258 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6259 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6260 lt_cv_file_magic_cmd='func_win32_libid'
6261 else
6262 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6263 lt_cv_file_magic_cmd='$OBJDUMP -f'
6267 cegcc*)
6268 # use the weaker test based on 'objdump'. See mingw*.
6269 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6270 lt_cv_file_magic_cmd='$OBJDUMP -f'
6273 darwin* | rhapsody*)
6274 lt_cv_deplibs_check_method=pass_all
6277 freebsd* | dragonfly*)
6278 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6279 case $host_cpu in
6280 i*86 )
6281 # Not sure whether the presence of OpenBSD here was a mistake.
6282 # Let's accept both of them until this is cleared up.
6283 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6284 lt_cv_file_magic_cmd=/usr/bin/file
6285 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6287 esac
6288 else
6289 lt_cv_deplibs_check_method=pass_all
6293 gnu*)
6294 lt_cv_deplibs_check_method=pass_all
6297 haiku*)
6298 lt_cv_deplibs_check_method=pass_all
6301 hpux10.20* | hpux11*)
6302 lt_cv_file_magic_cmd=/usr/bin/file
6303 case $host_cpu in
6304 ia64*)
6305 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6306 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6308 hppa*64*)
6309 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6310 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6313 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6314 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6316 esac
6319 interix[3-9]*)
6320 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6321 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6324 irix5* | irix6* | nonstopux*)
6325 case $LD in
6326 *-32|*"-32 ") libmagic=32-bit;;
6327 *-n32|*"-n32 ") libmagic=N32;;
6328 *-64|*"-64 ") libmagic=64-bit;;
6329 *) libmagic=never-match;;
6330 esac
6331 lt_cv_deplibs_check_method=pass_all
6334 # This must be Linux ELF.
6335 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6336 lt_cv_deplibs_check_method=pass_all
6339 netbsd*)
6340 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6341 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6342 else
6343 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6347 newos6*)
6348 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6349 lt_cv_file_magic_cmd=/usr/bin/file
6350 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6353 *nto* | *qnx*)
6354 lt_cv_deplibs_check_method=pass_all
6357 openbsd*)
6358 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6359 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6360 else
6361 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6365 osf3* | osf4* | osf5*)
6366 lt_cv_deplibs_check_method=pass_all
6369 rdos*)
6370 lt_cv_deplibs_check_method=pass_all
6373 solaris*)
6374 lt_cv_deplibs_check_method=pass_all
6377 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6378 lt_cv_deplibs_check_method=pass_all
6381 sysv4 | sysv4.3*)
6382 case $host_vendor in
6383 motorola)
6384 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
6385 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6387 ncr)
6388 lt_cv_deplibs_check_method=pass_all
6390 sequent)
6391 lt_cv_file_magic_cmd='/bin/file'
6392 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6394 sni)
6395 lt_cv_file_magic_cmd='/bin/file'
6396 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6397 lt_cv_file_magic_test_file=/lib/libc.so
6399 siemens)
6400 lt_cv_deplibs_check_method=pass_all
6403 lt_cv_deplibs_check_method=pass_all
6405 esac
6408 tpf*)
6409 lt_cv_deplibs_check_method=pass_all
6411 esac
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6415 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6416 file_magic_cmd=$lt_cv_file_magic_cmd
6417 deplibs_check_method=$lt_cv_deplibs_check_method
6418 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6431 if test -n "$ac_tool_prefix"; then
6432 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6433 set dummy ${ac_tool_prefix}ar; ac_word=$2
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6435 $as_echo_n "checking for $ac_word... " >&6; }
6436 if test "${ac_cv_prog_AR+set}" = set; then :
6437 $as_echo_n "(cached) " >&6
6438 else
6439 if test -n "$AR"; then
6440 ac_cv_prog_AR="$AR" # Let the user override the test.
6441 else
6442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6443 for as_dir in $PATH
6445 IFS=$as_save_IFS
6446 test -z "$as_dir" && as_dir=.
6447 for ac_exec_ext in '' $ac_executable_extensions; do
6448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6449 ac_cv_prog_AR="${ac_tool_prefix}ar"
6450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6451 break 2
6453 done
6454 done
6455 IFS=$as_save_IFS
6459 AR=$ac_cv_prog_AR
6460 if test -n "$AR"; then
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6462 $as_echo "$AR" >&6; }
6463 else
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6465 $as_echo "no" >&6; }
6470 if test -z "$ac_cv_prog_AR"; then
6471 ac_ct_AR=$AR
6472 # Extract the first word of "ar", so it can be a program name with args.
6473 set dummy ar; ac_word=$2
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6475 $as_echo_n "checking for $ac_word... " >&6; }
6476 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6477 $as_echo_n "(cached) " >&6
6478 else
6479 if test -n "$ac_ct_AR"; then
6480 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6481 else
6482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6483 for as_dir in $PATH
6485 IFS=$as_save_IFS
6486 test -z "$as_dir" && as_dir=.
6487 for ac_exec_ext in '' $ac_executable_extensions; do
6488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6489 ac_cv_prog_ac_ct_AR="ar"
6490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6491 break 2
6493 done
6494 done
6495 IFS=$as_save_IFS
6499 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6500 if test -n "$ac_ct_AR"; then
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6502 $as_echo "$ac_ct_AR" >&6; }
6503 else
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6505 $as_echo "no" >&6; }
6508 if test "x$ac_ct_AR" = x; then
6509 AR="false"
6510 else
6511 case $cross_compiling:$ac_tool_warned in
6512 yes:)
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6514 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6515 ac_tool_warned=yes ;;
6516 esac
6517 AR=$ac_ct_AR
6519 else
6520 AR="$ac_cv_prog_AR"
6523 test -z "$AR" && AR=ar
6524 test -z "$AR_FLAGS" && AR_FLAGS=cru
6536 if test -n "$ac_tool_prefix"; then
6537 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6538 set dummy ${ac_tool_prefix}strip; ac_word=$2
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6540 $as_echo_n "checking for $ac_word... " >&6; }
6541 if test "${ac_cv_prog_STRIP+set}" = set; then :
6542 $as_echo_n "(cached) " >&6
6543 else
6544 if test -n "$STRIP"; then
6545 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6546 else
6547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6548 for as_dir in $PATH
6550 IFS=$as_save_IFS
6551 test -z "$as_dir" && as_dir=.
6552 for ac_exec_ext in '' $ac_executable_extensions; do
6553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6554 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6556 break 2
6558 done
6559 done
6560 IFS=$as_save_IFS
6564 STRIP=$ac_cv_prog_STRIP
6565 if test -n "$STRIP"; then
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6567 $as_echo "$STRIP" >&6; }
6568 else
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6570 $as_echo "no" >&6; }
6575 if test -z "$ac_cv_prog_STRIP"; then
6576 ac_ct_STRIP=$STRIP
6577 # Extract the first word of "strip", so it can be a program name with args.
6578 set dummy strip; ac_word=$2
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6580 $as_echo_n "checking for $ac_word... " >&6; }
6581 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6582 $as_echo_n "(cached) " >&6
6583 else
6584 if test -n "$ac_ct_STRIP"; then
6585 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6586 else
6587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6588 for as_dir in $PATH
6590 IFS=$as_save_IFS
6591 test -z "$as_dir" && as_dir=.
6592 for ac_exec_ext in '' $ac_executable_extensions; do
6593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6594 ac_cv_prog_ac_ct_STRIP="strip"
6595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6596 break 2
6598 done
6599 done
6600 IFS=$as_save_IFS
6604 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6605 if test -n "$ac_ct_STRIP"; then
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6607 $as_echo "$ac_ct_STRIP" >&6; }
6608 else
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6610 $as_echo "no" >&6; }
6613 if test "x$ac_ct_STRIP" = x; then
6614 STRIP=":"
6615 else
6616 case $cross_compiling:$ac_tool_warned in
6617 yes:)
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6619 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6620 ac_tool_warned=yes ;;
6621 esac
6622 STRIP=$ac_ct_STRIP
6624 else
6625 STRIP="$ac_cv_prog_STRIP"
6628 test -z "$STRIP" && STRIP=:
6635 if test -n "$ac_tool_prefix"; then
6636 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6637 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6639 $as_echo_n "checking for $ac_word... " >&6; }
6640 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6641 $as_echo_n "(cached) " >&6
6642 else
6643 if test -n "$RANLIB"; then
6644 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6645 else
6646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6647 for as_dir in $PATH
6649 IFS=$as_save_IFS
6650 test -z "$as_dir" && as_dir=.
6651 for ac_exec_ext in '' $ac_executable_extensions; do
6652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6653 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6655 break 2
6657 done
6658 done
6659 IFS=$as_save_IFS
6663 RANLIB=$ac_cv_prog_RANLIB
6664 if test -n "$RANLIB"; then
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6666 $as_echo "$RANLIB" >&6; }
6667 else
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6669 $as_echo "no" >&6; }
6674 if test -z "$ac_cv_prog_RANLIB"; then
6675 ac_ct_RANLIB=$RANLIB
6676 # Extract the first word of "ranlib", so it can be a program name with args.
6677 set dummy ranlib; ac_word=$2
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6679 $as_echo_n "checking for $ac_word... " >&6; }
6680 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6681 $as_echo_n "(cached) " >&6
6682 else
6683 if test -n "$ac_ct_RANLIB"; then
6684 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6685 else
6686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6687 for as_dir in $PATH
6689 IFS=$as_save_IFS
6690 test -z "$as_dir" && as_dir=.
6691 for ac_exec_ext in '' $ac_executable_extensions; do
6692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6693 ac_cv_prog_ac_ct_RANLIB="ranlib"
6694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6695 break 2
6697 done
6698 done
6699 IFS=$as_save_IFS
6703 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6704 if test -n "$ac_ct_RANLIB"; then
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6706 $as_echo "$ac_ct_RANLIB" >&6; }
6707 else
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6709 $as_echo "no" >&6; }
6712 if test "x$ac_ct_RANLIB" = x; then
6713 RANLIB=":"
6714 else
6715 case $cross_compiling:$ac_tool_warned in
6716 yes:)
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6719 ac_tool_warned=yes ;;
6720 esac
6721 RANLIB=$ac_ct_RANLIB
6723 else
6724 RANLIB="$ac_cv_prog_RANLIB"
6727 test -z "$RANLIB" && RANLIB=:
6734 # Determine commands to create old-style static archives.
6735 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6736 old_postinstall_cmds='chmod 644 $oldlib'
6737 old_postuninstall_cmds=
6739 if test -n "$RANLIB"; then
6740 case $host_os in
6741 openbsd*)
6742 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6745 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6747 esac
6748 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6751 case $host_os in
6752 darwin*)
6753 lock_old_archive_extraction=yes ;;
6755 lock_old_archive_extraction=no ;;
6756 esac
6796 # If no C compiler was specified, use CC.
6797 LTCC=${LTCC-"$CC"}
6799 # If no C compiler flags were specified, use CFLAGS.
6800 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6802 # Allow CC to be a program name with arguments.
6803 compiler=$CC
6806 # Check for command to grab the raw symbol name followed by C symbol from nm.
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6808 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6809 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6810 $as_echo_n "(cached) " >&6
6811 else
6813 # These are sane defaults that work on at least a few old systems.
6814 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6816 # Character class describing NM global symbol codes.
6817 symcode='[BCDEGRST]'
6819 # Regexp to match symbols that can be accessed directly from C.
6820 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6822 # Define system-specific variables.
6823 case $host_os in
6824 aix*)
6825 symcode='[BCDT]'
6827 cygwin* | mingw* | pw32* | cegcc*)
6828 symcode='[ABCDGISTW]'
6830 hpux*)
6831 if test "$host_cpu" = ia64; then
6832 symcode='[ABCDEGRST]'
6835 irix* | nonstopux*)
6836 symcode='[BCDEGRST]'
6838 osf*)
6839 symcode='[BCDEGQRST]'
6841 solaris*)
6842 symcode='[BDRT]'
6844 sco3.2v5*)
6845 symcode='[DT]'
6847 sysv4.2uw2*)
6848 symcode='[DT]'
6850 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6851 symcode='[ABDT]'
6853 sysv4)
6854 symcode='[DFNSTU]'
6856 esac
6858 # If we're using GNU nm, then use its standard symbol codes.
6859 case `$NM -V 2>&1` in
6860 *GNU* | *'with BFD'*)
6861 symcode='[ABCDGIRSTW]' ;;
6862 esac
6864 # Transform an extracted symbol line into a proper C declaration.
6865 # Some systems (esp. on ia64) link data and code symbols differently,
6866 # so use this general approach.
6867 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6869 # Transform an extracted symbol line into symbol name and symbol address
6870 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6871 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6873 # Handle CRLF in mingw tool chain
6874 opt_cr=
6875 case $build_os in
6876 mingw*)
6877 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6879 esac
6881 # Try without a prefix underscore, then with it.
6882 for ac_symprfx in "" "_"; do
6884 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6885 symxfrm="\\1 $ac_symprfx\\2 \\2"
6887 # Write the raw and C identifiers.
6888 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6889 # Fake it for dumpbin and say T for any non-static function
6890 # and D for any global variable.
6891 # Also find C++ and __fastcall symbols from MSVC++,
6892 # which start with @ or ?.
6893 lt_cv_sys_global_symbol_pipe="$AWK '"\
6894 " {last_section=section; section=\$ 3};"\
6895 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6896 " \$ 0!~/External *\|/{next};"\
6897 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6898 " {if(hide[section]) next};"\
6899 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6900 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6901 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6902 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6903 " ' prfx=^$ac_symprfx"
6904 else
6905 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6908 # Check to see that the pipe works correctly.
6909 pipe_works=no
6911 rm -f conftest*
6912 cat > conftest.$ac_ext <<_LT_EOF
6913 #ifdef __cplusplus
6914 extern "C" {
6915 #endif
6916 char nm_test_var;
6917 void nm_test_func(void);
6918 void nm_test_func(void){}
6919 #ifdef __cplusplus
6921 #endif
6922 int main(){nm_test_var='a';nm_test_func();return(0);}
6923 _LT_EOF
6925 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6926 (eval $ac_compile) 2>&5
6927 ac_status=$?
6928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6929 test $ac_status = 0; }; then
6930 # Now try to grab the symbols.
6931 nlist=conftest.nm
6932 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6933 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6934 ac_status=$?
6935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6936 test $ac_status = 0; } && test -s "$nlist"; then
6937 # Try sorting and uniquifying the output.
6938 if sort "$nlist" | uniq > "$nlist"T; then
6939 mv -f "$nlist"T "$nlist"
6940 else
6941 rm -f "$nlist"T
6944 # Make sure that we snagged all the symbols we need.
6945 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6946 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6947 cat <<_LT_EOF > conftest.$ac_ext
6948 #ifdef __cplusplus
6949 extern "C" {
6950 #endif
6952 _LT_EOF
6953 # Now generate the symbol file.
6954 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6956 cat <<_LT_EOF >> conftest.$ac_ext
6958 /* The mapping between symbol names and symbols. */
6959 const struct {
6960 const char *name;
6961 void *address;
6963 lt__PROGRAM__LTX_preloaded_symbols[] =
6965 { "@PROGRAM@", (void *) 0 },
6966 _LT_EOF
6967 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6968 cat <<\_LT_EOF >> conftest.$ac_ext
6969 {0, (void *) 0}
6972 /* This works around a problem in FreeBSD linker */
6973 #ifdef FREEBSD_WORKAROUND
6974 static const void *lt_preloaded_setup() {
6975 return lt__PROGRAM__LTX_preloaded_symbols;
6977 #endif
6979 #ifdef __cplusplus
6981 #endif
6982 _LT_EOF
6983 # Now try linking the two files.
6984 mv conftest.$ac_objext conftstm.$ac_objext
6985 lt_save_LIBS="$LIBS"
6986 lt_save_CFLAGS="$CFLAGS"
6987 LIBS="conftstm.$ac_objext"
6988 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6989 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6990 (eval $ac_link) 2>&5
6991 ac_status=$?
6992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6993 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6994 pipe_works=yes
6996 LIBS="$lt_save_LIBS"
6997 CFLAGS="$lt_save_CFLAGS"
6998 else
6999 echo "cannot find nm_test_func in $nlist" >&5
7001 else
7002 echo "cannot find nm_test_var in $nlist" >&5
7004 else
7005 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7007 else
7008 echo "$progname: failed program was:" >&5
7009 cat conftest.$ac_ext >&5
7011 rm -rf conftest* conftst*
7013 # Do not use the global_symbol_pipe unless it works.
7014 if test "$pipe_works" = yes; then
7015 break
7016 else
7017 lt_cv_sys_global_symbol_pipe=
7019 done
7023 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7024 lt_cv_sys_global_symbol_to_cdecl=
7026 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7028 $as_echo "failed" >&6; }
7029 else
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7031 $as_echo "ok" >&6; }
7055 # Check whether --enable-libtool-lock was given.
7056 if test "${enable_libtool_lock+set}" = set; then :
7057 enableval=$enable_libtool_lock;
7060 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7062 # Some flags need to be propagated to the compiler or linker for good
7063 # libtool support.
7064 case $host in
7065 ia64-*-hpux*)
7066 # Find out which ABI we are using.
7067 echo 'int i;' > conftest.$ac_ext
7068 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7069 (eval $ac_compile) 2>&5
7070 ac_status=$?
7071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7072 test $ac_status = 0; }; then
7073 case `/usr/bin/file conftest.$ac_objext` in
7074 *ELF-32*)
7075 HPUX_IA64_MODE="32"
7077 *ELF-64*)
7078 HPUX_IA64_MODE="64"
7080 esac
7082 rm -rf conftest*
7084 *-*-irix6*)
7085 # Find out which ABI we are using.
7086 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7087 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7088 (eval $ac_compile) 2>&5
7089 ac_status=$?
7090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7091 test $ac_status = 0; }; then
7092 if test "$lt_cv_prog_gnu_ld" = yes; then
7093 case `/usr/bin/file conftest.$ac_objext` in
7094 *32-bit*)
7095 LD="${LD-ld} -melf32bsmip"
7097 *N32*)
7098 LD="${LD-ld} -melf32bmipn32"
7100 *64-bit*)
7101 LD="${LD-ld} -melf64bmip"
7103 esac
7104 else
7105 case `/usr/bin/file conftest.$ac_objext` in
7106 *32-bit*)
7107 LD="${LD-ld} -32"
7109 *N32*)
7110 LD="${LD-ld} -n32"
7112 *64-bit*)
7113 LD="${LD-ld} -64"
7115 esac
7118 rm -rf conftest*
7121 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7122 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7123 # Find out which ABI we are using.
7124 echo 'int i;' > conftest.$ac_ext
7125 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7126 (eval $ac_compile) 2>&5
7127 ac_status=$?
7128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7129 test $ac_status = 0; }; then
7130 case `/usr/bin/file conftest.o` in
7131 *32-bit*)
7132 case $host in
7133 x86_64-*kfreebsd*-gnu)
7134 LD="${LD-ld} -m elf_i386_fbsd"
7136 x86_64-*linux*)
7137 case `/usr/bin/file conftest.o` in
7138 *x86-64*)
7139 LD="${LD-ld} -m elf32_x86_64"
7142 LD="${LD-ld} -m elf_i386"
7144 esac
7146 powerpc64le-*linux*)
7147 LD="${LD-ld} -m elf32lppclinux"
7149 powerpc64-*linux*)
7150 LD="${LD-ld} -m elf32ppclinux"
7152 s390x-*linux*)
7153 LD="${LD-ld} -m elf_s390"
7155 sparc64-*linux*)
7156 LD="${LD-ld} -m elf32_sparc"
7158 esac
7160 *64-bit*)
7161 case $host in
7162 x86_64-*kfreebsd*-gnu)
7163 LD="${LD-ld} -m elf_x86_64_fbsd"
7165 x86_64-*linux*)
7166 LD="${LD-ld} -m elf_x86_64"
7168 powerpcle-*linux*)
7169 LD="${LD-ld} -m elf64lppc"
7171 powerpc-*linux*)
7172 LD="${LD-ld} -m elf64ppc"
7174 s390*-*linux*|s390*-*tpf*)
7175 LD="${LD-ld} -m elf64_s390"
7177 sparc*-*linux*)
7178 LD="${LD-ld} -m elf64_sparc"
7180 esac
7182 esac
7184 rm -rf conftest*
7187 *-*-sco3.2v5*)
7188 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7189 SAVE_CFLAGS="$CFLAGS"
7190 CFLAGS="$CFLAGS -belf"
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7192 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7193 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7194 $as_echo_n "(cached) " >&6
7195 else
7196 ac_ext=c
7197 ac_cpp='$CPP $CPPFLAGS'
7198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7202 if test x$gcc_no_link = xyes; then
7203 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7206 /* end confdefs.h. */
7209 main ()
7213 return 0;
7215 _ACEOF
7216 if ac_fn_c_try_link "$LINENO"; then :
7217 lt_cv_cc_needs_belf=yes
7218 else
7219 lt_cv_cc_needs_belf=no
7221 rm -f core conftest.err conftest.$ac_objext \
7222 conftest$ac_exeext conftest.$ac_ext
7223 ac_ext=c
7224 ac_cpp='$CPP $CPPFLAGS'
7225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7231 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7232 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7233 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7234 CFLAGS="$SAVE_CFLAGS"
7237 sparc*-*solaris*)
7238 # Find out which ABI we are using.
7239 echo 'int i;' > conftest.$ac_ext
7240 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7241 (eval $ac_compile) 2>&5
7242 ac_status=$?
7243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7244 test $ac_status = 0; }; then
7245 case `/usr/bin/file conftest.o` in
7246 *64-bit*)
7247 case $lt_cv_prog_gnu_ld in
7248 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7250 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7251 LD="${LD-ld} -64"
7254 esac
7256 esac
7258 rm -rf conftest*
7260 esac
7262 need_locks="$enable_libtool_lock"
7265 case $host_os in
7266 rhapsody* | darwin*)
7267 if test -n "$ac_tool_prefix"; then
7268 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7269 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7271 $as_echo_n "checking for $ac_word... " >&6; }
7272 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7273 $as_echo_n "(cached) " >&6
7274 else
7275 if test -n "$DSYMUTIL"; then
7276 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7277 else
7278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7279 for as_dir in $PATH
7281 IFS=$as_save_IFS
7282 test -z "$as_dir" && as_dir=.
7283 for ac_exec_ext in '' $ac_executable_extensions; do
7284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7285 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7287 break 2
7289 done
7290 done
7291 IFS=$as_save_IFS
7295 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7296 if test -n "$DSYMUTIL"; then
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7298 $as_echo "$DSYMUTIL" >&6; }
7299 else
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7301 $as_echo "no" >&6; }
7306 if test -z "$ac_cv_prog_DSYMUTIL"; then
7307 ac_ct_DSYMUTIL=$DSYMUTIL
7308 # Extract the first word of "dsymutil", so it can be a program name with args.
7309 set dummy dsymutil; ac_word=$2
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7311 $as_echo_n "checking for $ac_word... " >&6; }
7312 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7313 $as_echo_n "(cached) " >&6
7314 else
7315 if test -n "$ac_ct_DSYMUTIL"; then
7316 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7317 else
7318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7319 for as_dir in $PATH
7321 IFS=$as_save_IFS
7322 test -z "$as_dir" && as_dir=.
7323 for ac_exec_ext in '' $ac_executable_extensions; do
7324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7325 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7327 break 2
7329 done
7330 done
7331 IFS=$as_save_IFS
7335 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7336 if test -n "$ac_ct_DSYMUTIL"; then
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7338 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7339 else
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7341 $as_echo "no" >&6; }
7344 if test "x$ac_ct_DSYMUTIL" = x; then
7345 DSYMUTIL=":"
7346 else
7347 case $cross_compiling:$ac_tool_warned in
7348 yes:)
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7350 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7351 ac_tool_warned=yes ;;
7352 esac
7353 DSYMUTIL=$ac_ct_DSYMUTIL
7355 else
7356 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7359 if test -n "$ac_tool_prefix"; then
7360 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7361 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7363 $as_echo_n "checking for $ac_word... " >&6; }
7364 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7365 $as_echo_n "(cached) " >&6
7366 else
7367 if test -n "$NMEDIT"; then
7368 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7369 else
7370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7371 for as_dir in $PATH
7373 IFS=$as_save_IFS
7374 test -z "$as_dir" && as_dir=.
7375 for ac_exec_ext in '' $ac_executable_extensions; do
7376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7377 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7379 break 2
7381 done
7382 done
7383 IFS=$as_save_IFS
7387 NMEDIT=$ac_cv_prog_NMEDIT
7388 if test -n "$NMEDIT"; then
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7390 $as_echo "$NMEDIT" >&6; }
7391 else
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7393 $as_echo "no" >&6; }
7398 if test -z "$ac_cv_prog_NMEDIT"; then
7399 ac_ct_NMEDIT=$NMEDIT
7400 # Extract the first word of "nmedit", so it can be a program name with args.
7401 set dummy nmedit; ac_word=$2
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7403 $as_echo_n "checking for $ac_word... " >&6; }
7404 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7405 $as_echo_n "(cached) " >&6
7406 else
7407 if test -n "$ac_ct_NMEDIT"; then
7408 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7409 else
7410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7411 for as_dir in $PATH
7413 IFS=$as_save_IFS
7414 test -z "$as_dir" && as_dir=.
7415 for ac_exec_ext in '' $ac_executable_extensions; do
7416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7417 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7419 break 2
7421 done
7422 done
7423 IFS=$as_save_IFS
7427 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7428 if test -n "$ac_ct_NMEDIT"; then
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7430 $as_echo "$ac_ct_NMEDIT" >&6; }
7431 else
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7433 $as_echo "no" >&6; }
7436 if test "x$ac_ct_NMEDIT" = x; then
7437 NMEDIT=":"
7438 else
7439 case $cross_compiling:$ac_tool_warned in
7440 yes:)
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7443 ac_tool_warned=yes ;;
7444 esac
7445 NMEDIT=$ac_ct_NMEDIT
7447 else
7448 NMEDIT="$ac_cv_prog_NMEDIT"
7451 if test -n "$ac_tool_prefix"; then
7452 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7453 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7455 $as_echo_n "checking for $ac_word... " >&6; }
7456 if test "${ac_cv_prog_LIPO+set}" = set; then :
7457 $as_echo_n "(cached) " >&6
7458 else
7459 if test -n "$LIPO"; then
7460 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7461 else
7462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7463 for as_dir in $PATH
7465 IFS=$as_save_IFS
7466 test -z "$as_dir" && as_dir=.
7467 for ac_exec_ext in '' $ac_executable_extensions; do
7468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7469 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7471 break 2
7473 done
7474 done
7475 IFS=$as_save_IFS
7479 LIPO=$ac_cv_prog_LIPO
7480 if test -n "$LIPO"; then
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7482 $as_echo "$LIPO" >&6; }
7483 else
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7485 $as_echo "no" >&6; }
7490 if test -z "$ac_cv_prog_LIPO"; then
7491 ac_ct_LIPO=$LIPO
7492 # Extract the first word of "lipo", so it can be a program name with args.
7493 set dummy lipo; ac_word=$2
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7495 $as_echo_n "checking for $ac_word... " >&6; }
7496 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7497 $as_echo_n "(cached) " >&6
7498 else
7499 if test -n "$ac_ct_LIPO"; then
7500 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7501 else
7502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7503 for as_dir in $PATH
7505 IFS=$as_save_IFS
7506 test -z "$as_dir" && as_dir=.
7507 for ac_exec_ext in '' $ac_executable_extensions; do
7508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7509 ac_cv_prog_ac_ct_LIPO="lipo"
7510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7511 break 2
7513 done
7514 done
7515 IFS=$as_save_IFS
7519 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7520 if test -n "$ac_ct_LIPO"; then
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7522 $as_echo "$ac_ct_LIPO" >&6; }
7523 else
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7525 $as_echo "no" >&6; }
7528 if test "x$ac_ct_LIPO" = x; then
7529 LIPO=":"
7530 else
7531 case $cross_compiling:$ac_tool_warned in
7532 yes:)
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7534 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7535 ac_tool_warned=yes ;;
7536 esac
7537 LIPO=$ac_ct_LIPO
7539 else
7540 LIPO="$ac_cv_prog_LIPO"
7543 if test -n "$ac_tool_prefix"; then
7544 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7545 set dummy ${ac_tool_prefix}otool; ac_word=$2
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7547 $as_echo_n "checking for $ac_word... " >&6; }
7548 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7549 $as_echo_n "(cached) " >&6
7550 else
7551 if test -n "$OTOOL"; then
7552 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7553 else
7554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7555 for as_dir in $PATH
7557 IFS=$as_save_IFS
7558 test -z "$as_dir" && as_dir=.
7559 for ac_exec_ext in '' $ac_executable_extensions; do
7560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7561 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7563 break 2
7565 done
7566 done
7567 IFS=$as_save_IFS
7571 OTOOL=$ac_cv_prog_OTOOL
7572 if test -n "$OTOOL"; then
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7574 $as_echo "$OTOOL" >&6; }
7575 else
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7577 $as_echo "no" >&6; }
7582 if test -z "$ac_cv_prog_OTOOL"; then
7583 ac_ct_OTOOL=$OTOOL
7584 # Extract the first word of "otool", so it can be a program name with args.
7585 set dummy otool; ac_word=$2
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7587 $as_echo_n "checking for $ac_word... " >&6; }
7588 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7589 $as_echo_n "(cached) " >&6
7590 else
7591 if test -n "$ac_ct_OTOOL"; then
7592 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7593 else
7594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7595 for as_dir in $PATH
7597 IFS=$as_save_IFS
7598 test -z "$as_dir" && as_dir=.
7599 for ac_exec_ext in '' $ac_executable_extensions; do
7600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7601 ac_cv_prog_ac_ct_OTOOL="otool"
7602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7603 break 2
7605 done
7606 done
7607 IFS=$as_save_IFS
7611 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7612 if test -n "$ac_ct_OTOOL"; then
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7614 $as_echo "$ac_ct_OTOOL" >&6; }
7615 else
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7617 $as_echo "no" >&6; }
7620 if test "x$ac_ct_OTOOL" = x; then
7621 OTOOL=":"
7622 else
7623 case $cross_compiling:$ac_tool_warned in
7624 yes:)
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7627 ac_tool_warned=yes ;;
7628 esac
7629 OTOOL=$ac_ct_OTOOL
7631 else
7632 OTOOL="$ac_cv_prog_OTOOL"
7635 if test -n "$ac_tool_prefix"; then
7636 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7637 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7639 $as_echo_n "checking for $ac_word... " >&6; }
7640 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7641 $as_echo_n "(cached) " >&6
7642 else
7643 if test -n "$OTOOL64"; then
7644 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7645 else
7646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7647 for as_dir in $PATH
7649 IFS=$as_save_IFS
7650 test -z "$as_dir" && as_dir=.
7651 for ac_exec_ext in '' $ac_executable_extensions; do
7652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7653 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7655 break 2
7657 done
7658 done
7659 IFS=$as_save_IFS
7663 OTOOL64=$ac_cv_prog_OTOOL64
7664 if test -n "$OTOOL64"; then
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7666 $as_echo "$OTOOL64" >&6; }
7667 else
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7669 $as_echo "no" >&6; }
7674 if test -z "$ac_cv_prog_OTOOL64"; then
7675 ac_ct_OTOOL64=$OTOOL64
7676 # Extract the first word of "otool64", so it can be a program name with args.
7677 set dummy otool64; ac_word=$2
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7679 $as_echo_n "checking for $ac_word... " >&6; }
7680 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7681 $as_echo_n "(cached) " >&6
7682 else
7683 if test -n "$ac_ct_OTOOL64"; then
7684 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7685 else
7686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7687 for as_dir in $PATH
7689 IFS=$as_save_IFS
7690 test -z "$as_dir" && as_dir=.
7691 for ac_exec_ext in '' $ac_executable_extensions; do
7692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7693 ac_cv_prog_ac_ct_OTOOL64="otool64"
7694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7695 break 2
7697 done
7698 done
7699 IFS=$as_save_IFS
7703 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7704 if test -n "$ac_ct_OTOOL64"; then
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7706 $as_echo "$ac_ct_OTOOL64" >&6; }
7707 else
7708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7709 $as_echo "no" >&6; }
7712 if test "x$ac_ct_OTOOL64" = x; then
7713 OTOOL64=":"
7714 else
7715 case $cross_compiling:$ac_tool_warned in
7716 yes:)
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7719 ac_tool_warned=yes ;;
7720 esac
7721 OTOOL64=$ac_ct_OTOOL64
7723 else
7724 OTOOL64="$ac_cv_prog_OTOOL64"
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7754 $as_echo_n "checking for -single_module linker flag... " >&6; }
7755 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7756 $as_echo_n "(cached) " >&6
7757 else
7758 lt_cv_apple_cc_single_mod=no
7759 if test -z "${LT_MULTI_MODULE}"; then
7760 # By default we will add the -single_module flag. You can override
7761 # by either setting the environment variable LT_MULTI_MODULE
7762 # non-empty at configure time, or by adding -multi_module to the
7763 # link flags.
7764 rm -rf libconftest.dylib*
7765 echo "int foo(void){return 1;}" > conftest.c
7766 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7767 -dynamiclib -Wl,-single_module conftest.c" >&5
7768 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7769 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7770 _lt_result=$?
7771 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7772 lt_cv_apple_cc_single_mod=yes
7773 else
7774 cat conftest.err >&5
7776 rm -rf libconftest.dylib*
7777 rm -f conftest.*
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7781 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7783 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7784 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7785 $as_echo_n "(cached) " >&6
7786 else
7787 lt_cv_ld_exported_symbols_list=no
7788 save_LDFLAGS=$LDFLAGS
7789 echo "_main" > conftest.sym
7790 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7791 if test x$gcc_no_link = xyes; then
7792 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7795 /* end confdefs.h. */
7798 main ()
7802 return 0;
7804 _ACEOF
7805 if ac_fn_c_try_link "$LINENO"; then :
7806 lt_cv_ld_exported_symbols_list=yes
7807 else
7808 lt_cv_ld_exported_symbols_list=no
7810 rm -f core conftest.err conftest.$ac_objext \
7811 conftest$ac_exeext conftest.$ac_ext
7812 LDFLAGS="$save_LDFLAGS"
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7816 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7818 $as_echo_n "checking for -force_load linker flag... " >&6; }
7819 if test "${lt_cv_ld_force_load+set}" = set; then :
7820 $as_echo_n "(cached) " >&6
7821 else
7822 lt_cv_ld_force_load=no
7823 cat > conftest.c << _LT_EOF
7824 int forced_loaded() { return 2;}
7825 _LT_EOF
7826 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7827 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7828 echo "$AR cru libconftest.a conftest.o" >&5
7829 $AR cru libconftest.a conftest.o 2>&5
7830 cat > conftest.c << _LT_EOF
7831 int main() { return 0;}
7832 _LT_EOF
7833 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7834 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7835 _lt_result=$?
7836 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7837 lt_cv_ld_force_load=yes
7838 else
7839 cat conftest.err >&5
7841 rm -f conftest.err libconftest.a conftest conftest.c
7842 rm -rf conftest.dSYM
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7846 $as_echo "$lt_cv_ld_force_load" >&6; }
7847 case $host_os in
7848 rhapsody* | darwin1.[012])
7849 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7850 darwin1.*)
7851 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7852 darwin*) # darwin 5.x on
7853 # if running on 10.5 or later, the deployment target defaults
7854 # to the OS version, if on x86, and 10.4, the deployment
7855 # target defaults to 10.4. Don't you love it?
7856 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7857 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7858 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7859 10.[012]*)
7860 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7861 10.*)
7862 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7863 esac
7865 esac
7866 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7867 _lt_dar_single_mod='$single_module'
7869 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7870 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7871 else
7872 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7874 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7875 _lt_dsymutil='~$DSYMUTIL $lib || :'
7876 else
7877 _lt_dsymutil=
7880 esac
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7883 $as_echo_n "checking for ANSI C header files... " >&6; }
7884 if test "${ac_cv_header_stdc+set}" = set; then :
7885 $as_echo_n "(cached) " >&6
7886 else
7887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7888 /* end confdefs.h. */
7889 #include <stdlib.h>
7890 #include <stdarg.h>
7891 #include <string.h>
7892 #include <float.h>
7895 main ()
7899 return 0;
7901 _ACEOF
7902 if ac_fn_c_try_compile "$LINENO"; then :
7903 ac_cv_header_stdc=yes
7904 else
7905 ac_cv_header_stdc=no
7907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7909 if test $ac_cv_header_stdc = yes; then
7910 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7912 /* end confdefs.h. */
7913 #include <string.h>
7915 _ACEOF
7916 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7917 $EGREP "memchr" >/dev/null 2>&1; then :
7919 else
7920 ac_cv_header_stdc=no
7922 rm -f conftest*
7926 if test $ac_cv_header_stdc = yes; then
7927 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7929 /* end confdefs.h. */
7930 #include <stdlib.h>
7932 _ACEOF
7933 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7934 $EGREP "free" >/dev/null 2>&1; then :
7936 else
7937 ac_cv_header_stdc=no
7939 rm -f conftest*
7943 if test $ac_cv_header_stdc = yes; then
7944 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7945 if test "$cross_compiling" = yes; then :
7947 else
7948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7949 /* end confdefs.h. */
7950 #include <ctype.h>
7951 #include <stdlib.h>
7952 #if ((' ' & 0x0FF) == 0x020)
7953 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7954 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7955 #else
7956 # define ISLOWER(c) \
7957 (('a' <= (c) && (c) <= 'i') \
7958 || ('j' <= (c) && (c) <= 'r') \
7959 || ('s' <= (c) && (c) <= 'z'))
7960 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7961 #endif
7963 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7965 main ()
7967 int i;
7968 for (i = 0; i < 256; i++)
7969 if (XOR (islower (i), ISLOWER (i))
7970 || toupper (i) != TOUPPER (i))
7971 return 2;
7972 return 0;
7974 _ACEOF
7975 if ac_fn_c_try_run "$LINENO"; then :
7977 else
7978 ac_cv_header_stdc=no
7980 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7981 conftest.$ac_objext conftest.beam conftest.$ac_ext
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7987 $as_echo "$ac_cv_header_stdc" >&6; }
7988 if test $ac_cv_header_stdc = yes; then
7990 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7994 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7995 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7996 inttypes.h stdint.h unistd.h
7997 do :
7998 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7999 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8001 eval as_val=\$$as_ac_Header
8002 if test "x$as_val" = x""yes; then :
8003 cat >>confdefs.h <<_ACEOF
8004 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8005 _ACEOF
8009 done
8012 for ac_header in dlfcn.h
8013 do :
8014 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8016 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8017 cat >>confdefs.h <<_ACEOF
8018 #define HAVE_DLFCN_H 1
8019 _ACEOF
8023 done
8030 # Set options
8035 enable_win32_dll=no
8038 # Check whether --enable-shared was given.
8039 if test "${enable_shared+set}" = set; then :
8040 enableval=$enable_shared; p=${PACKAGE-default}
8041 case $enableval in
8042 yes) enable_shared=yes ;;
8043 no) enable_shared=no ;;
8045 enable_shared=no
8046 # Look at the argument we got. We use all the common list separators.
8047 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8048 for pkg in $enableval; do
8049 IFS="$lt_save_ifs"
8050 if test "X$pkg" = "X$p"; then
8051 enable_shared=yes
8053 done
8054 IFS="$lt_save_ifs"
8056 esac
8057 else
8058 enable_shared=yes
8069 # Check whether --enable-static was given.
8070 if test "${enable_static+set}" = set; then :
8071 enableval=$enable_static; p=${PACKAGE-default}
8072 case $enableval in
8073 yes) enable_static=yes ;;
8074 no) enable_static=no ;;
8076 enable_static=no
8077 # Look at the argument we got. We use all the common list separators.
8078 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8079 for pkg in $enableval; do
8080 IFS="$lt_save_ifs"
8081 if test "X$pkg" = "X$p"; then
8082 enable_static=yes
8084 done
8085 IFS="$lt_save_ifs"
8087 esac
8088 else
8089 enable_static=yes
8101 # Check whether --with-pic was given.
8102 if test "${with_pic+set}" = set; then :
8103 withval=$with_pic; pic_mode="$withval"
8104 else
8105 pic_mode=default
8109 test -z "$pic_mode" && pic_mode=default
8117 # Check whether --enable-fast-install was given.
8118 if test "${enable_fast_install+set}" = set; then :
8119 enableval=$enable_fast_install; p=${PACKAGE-default}
8120 case $enableval in
8121 yes) enable_fast_install=yes ;;
8122 no) enable_fast_install=no ;;
8124 enable_fast_install=no
8125 # Look at the argument we got. We use all the common list separators.
8126 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8127 for pkg in $enableval; do
8128 IFS="$lt_save_ifs"
8129 if test "X$pkg" = "X$p"; then
8130 enable_fast_install=yes
8132 done
8133 IFS="$lt_save_ifs"
8135 esac
8136 else
8137 enable_fast_install=yes
8150 # This can be used to rebuild libtool when needed
8151 LIBTOOL_DEPS="$ltmain"
8153 # Always use our own libtool.
8154 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8181 test -z "$LN_S" && LN_S="ln -s"
8196 if test -n "${ZSH_VERSION+set}" ; then
8197 setopt NO_GLOB_SUBST
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8201 $as_echo_n "checking for objdir... " >&6; }
8202 if test "${lt_cv_objdir+set}" = set; then :
8203 $as_echo_n "(cached) " >&6
8204 else
8205 rm -f .libs 2>/dev/null
8206 mkdir .libs 2>/dev/null
8207 if test -d .libs; then
8208 lt_cv_objdir=.libs
8209 else
8210 # MS-DOS does not allow filenames that begin with a dot.
8211 lt_cv_objdir=_libs
8213 rmdir .libs 2>/dev/null
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8216 $as_echo "$lt_cv_objdir" >&6; }
8217 objdir=$lt_cv_objdir
8223 cat >>confdefs.h <<_ACEOF
8224 #define LT_OBJDIR "$lt_cv_objdir/"
8225 _ACEOF
8230 case $host_os in
8231 aix3*)
8232 # AIX sometimes has problems with the GCC collect2 program. For some
8233 # reason, if we set the COLLECT_NAMES environment variable, the problems
8234 # vanish in a puff of smoke.
8235 if test "X${COLLECT_NAMES+set}" != Xset; then
8236 COLLECT_NAMES=
8237 export COLLECT_NAMES
8240 esac
8242 # Global variables:
8243 ofile=libtool
8244 can_build_shared=yes
8246 # All known linkers require a `.a' archive for static linking (except MSVC,
8247 # which needs '.lib').
8248 libext=a
8250 with_gnu_ld="$lt_cv_prog_gnu_ld"
8252 old_CC="$CC"
8253 old_CFLAGS="$CFLAGS"
8255 # Set sane defaults for various variables
8256 test -z "$CC" && CC=cc
8257 test -z "$LTCC" && LTCC=$CC
8258 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8259 test -z "$LD" && LD=ld
8260 test -z "$ac_objext" && ac_objext=o
8262 for cc_temp in $compiler""; do
8263 case $cc_temp in
8264 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8265 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8266 \-*) ;;
8267 *) break;;
8268 esac
8269 done
8270 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8273 # Only perform the check for file, if the check method requires it
8274 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8275 case $deplibs_check_method in
8276 file_magic*)
8277 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8279 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8280 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8281 $as_echo_n "(cached) " >&6
8282 else
8283 case $MAGIC_CMD in
8284 [\\/*] | ?:[\\/]*)
8285 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8288 lt_save_MAGIC_CMD="$MAGIC_CMD"
8289 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8290 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8291 for ac_dir in $ac_dummy; do
8292 IFS="$lt_save_ifs"
8293 test -z "$ac_dir" && ac_dir=.
8294 if test -f $ac_dir/${ac_tool_prefix}file; then
8295 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8296 if test -n "$file_magic_test_file"; then
8297 case $deplibs_check_method in
8298 "file_magic "*)
8299 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8300 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8301 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8302 $EGREP "$file_magic_regex" > /dev/null; then
8304 else
8305 cat <<_LT_EOF 1>&2
8307 *** Warning: the command libtool uses to detect shared libraries,
8308 *** $file_magic_cmd, produces output that libtool cannot recognize.
8309 *** The result is that libtool may fail to recognize shared libraries
8310 *** as such. This will affect the creation of libtool libraries that
8311 *** depend on shared libraries, but programs linked with such libtool
8312 *** libraries will work regardless of this problem. Nevertheless, you
8313 *** may want to report the problem to your system manager and/or to
8314 *** bug-libtool@gnu.org
8316 _LT_EOF
8317 fi ;;
8318 esac
8320 break
8322 done
8323 IFS="$lt_save_ifs"
8324 MAGIC_CMD="$lt_save_MAGIC_CMD"
8326 esac
8329 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8330 if test -n "$MAGIC_CMD"; then
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8332 $as_echo "$MAGIC_CMD" >&6; }
8333 else
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8335 $as_echo "no" >&6; }
8342 if test -z "$lt_cv_path_MAGIC_CMD"; then
8343 if test -n "$ac_tool_prefix"; then
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8345 $as_echo_n "checking for file... " >&6; }
8346 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8347 $as_echo_n "(cached) " >&6
8348 else
8349 case $MAGIC_CMD in
8350 [\\/*] | ?:[\\/]*)
8351 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8354 lt_save_MAGIC_CMD="$MAGIC_CMD"
8355 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8356 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8357 for ac_dir in $ac_dummy; do
8358 IFS="$lt_save_ifs"
8359 test -z "$ac_dir" && ac_dir=.
8360 if test -f $ac_dir/file; then
8361 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8362 if test -n "$file_magic_test_file"; then
8363 case $deplibs_check_method in
8364 "file_magic "*)
8365 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8366 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8367 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8368 $EGREP "$file_magic_regex" > /dev/null; then
8370 else
8371 cat <<_LT_EOF 1>&2
8373 *** Warning: the command libtool uses to detect shared libraries,
8374 *** $file_magic_cmd, produces output that libtool cannot recognize.
8375 *** The result is that libtool may fail to recognize shared libraries
8376 *** as such. This will affect the creation of libtool libraries that
8377 *** depend on shared libraries, but programs linked with such libtool
8378 *** libraries will work regardless of this problem. Nevertheless, you
8379 *** may want to report the problem to your system manager and/or to
8380 *** bug-libtool@gnu.org
8382 _LT_EOF
8383 fi ;;
8384 esac
8386 break
8388 done
8389 IFS="$lt_save_ifs"
8390 MAGIC_CMD="$lt_save_MAGIC_CMD"
8392 esac
8395 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8396 if test -n "$MAGIC_CMD"; then
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8398 $as_echo "$MAGIC_CMD" >&6; }
8399 else
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8401 $as_echo "no" >&6; }
8405 else
8406 MAGIC_CMD=:
8412 esac
8414 # Use C for the default configuration in the libtool script
8416 lt_save_CC="$CC"
8417 ac_ext=c
8418 ac_cpp='$CPP $CPPFLAGS'
8419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8424 # Source file extension for C test sources.
8425 ac_ext=c
8427 # Object file extension for compiled C test sources.
8428 objext=o
8429 objext=$objext
8431 # Code to be used in simple compile tests
8432 lt_simple_compile_test_code="int some_variable = 0;"
8434 # Code to be used in simple link tests
8435 lt_simple_link_test_code='int main(){return(0);}'
8443 # If no C compiler was specified, use CC.
8444 LTCC=${LTCC-"$CC"}
8446 # If no C compiler flags were specified, use CFLAGS.
8447 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8449 # Allow CC to be a program name with arguments.
8450 compiler=$CC
8452 # Save the default compiler, since it gets overwritten when the other
8453 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8454 compiler_DEFAULT=$CC
8456 # save warnings/boilerplate of simple test code
8457 ac_outfile=conftest.$ac_objext
8458 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8459 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8460 _lt_compiler_boilerplate=`cat conftest.err`
8461 $RM conftest*
8463 ac_outfile=conftest.$ac_objext
8464 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8465 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8466 _lt_linker_boilerplate=`cat conftest.err`
8467 $RM -r conftest*
8470 ## CAVEAT EMPTOR:
8471 ## There is no encapsulation within the following macros, do not change
8472 ## the running order or otherwise move them around unless you know exactly
8473 ## what you are doing...
8474 if test -n "$compiler"; then
8476 lt_prog_compiler_no_builtin_flag=
8478 if test "$GCC" = yes; then
8479 case $cc_basename in
8480 nvcc*)
8481 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8483 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8484 esac
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8487 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8488 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8489 $as_echo_n "(cached) " >&6
8490 else
8491 lt_cv_prog_compiler_rtti_exceptions=no
8492 ac_outfile=conftest.$ac_objext
8493 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8494 lt_compiler_flag="-fno-rtti -fno-exceptions"
8495 # Insert the option either (1) after the last *FLAGS variable, or
8496 # (2) before a word containing "conftest.", or (3) at the end.
8497 # Note that $ac_compile itself does not contain backslashes and begins
8498 # with a dollar sign (not a hyphen), so the echo should work correctly.
8499 # The option is referenced via a variable to avoid confusing sed.
8500 lt_compile=`echo "$ac_compile" | $SED \
8501 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8502 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8503 -e 's:$: $lt_compiler_flag:'`
8504 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8505 (eval "$lt_compile" 2>conftest.err)
8506 ac_status=$?
8507 cat conftest.err >&5
8508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8509 if (exit $ac_status) && test -s "$ac_outfile"; then
8510 # The compiler can only warn and ignore the option if not recognized
8511 # So say no if there are warnings other than the usual output.
8512 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8513 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8514 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8515 lt_cv_prog_compiler_rtti_exceptions=yes
8518 $RM conftest*
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8522 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8524 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8525 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8526 else
8537 lt_prog_compiler_wl=
8538 lt_prog_compiler_pic=
8539 lt_prog_compiler_static=
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8542 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8544 if test "$GCC" = yes; then
8545 lt_prog_compiler_wl='-Wl,'
8546 lt_prog_compiler_static='-static'
8548 case $host_os in
8549 aix*)
8550 # All AIX code is PIC.
8551 if test "$host_cpu" = ia64; then
8552 # AIX 5 now supports IA64 processor
8553 lt_prog_compiler_static='-Bstatic'
8555 lt_prog_compiler_pic='-fPIC'
8558 amigaos*)
8559 case $host_cpu in
8560 powerpc)
8561 # see comment about AmigaOS4 .so support
8562 lt_prog_compiler_pic='-fPIC'
8564 m68k)
8565 # FIXME: we need at least 68020 code to build shared libraries, but
8566 # adding the `-m68020' flag to GCC prevents building anything better,
8567 # like `-m68040'.
8568 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8570 esac
8573 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8574 # PIC is the default for these OSes.
8577 mingw* | cygwin* | pw32* | os2* | cegcc*)
8578 # This hack is so that the source file can tell whether it is being
8579 # built for inclusion in a dll (and should export symbols for example).
8580 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8581 # (--disable-auto-import) libraries
8582 lt_prog_compiler_pic='-DDLL_EXPORT'
8585 darwin* | rhapsody*)
8586 # PIC is the default on this platform
8587 # Common symbols not allowed in MH_DYLIB files
8588 lt_prog_compiler_pic='-fno-common'
8591 haiku*)
8592 # PIC is the default for Haiku.
8593 # The "-static" flag exists, but is broken.
8594 lt_prog_compiler_static=
8597 hpux*)
8598 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8599 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8600 # sets the default TLS model and affects inlining.
8601 case $host_cpu in
8602 hppa*64*)
8603 # +Z the default
8606 lt_prog_compiler_pic='-fPIC'
8608 esac
8611 interix[3-9]*)
8612 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8613 # Instead, we relocate shared libraries at runtime.
8616 msdosdjgpp*)
8617 # Just because we use GCC doesn't mean we suddenly get shared libraries
8618 # on systems that don't support them.
8619 lt_prog_compiler_can_build_shared=no
8620 enable_shared=no
8623 *nto* | *qnx*)
8624 # QNX uses GNU C++, but need to define -shared option too, otherwise
8625 # it will coredump.
8626 lt_prog_compiler_pic='-fPIC -shared'
8629 sysv4*MP*)
8630 if test -d /usr/nec; then
8631 lt_prog_compiler_pic=-Kconform_pic
8636 lt_prog_compiler_pic='-fPIC'
8638 esac
8640 case $cc_basename in
8641 nvcc*) # Cuda Compiler Driver 2.2
8642 lt_prog_compiler_wl='-Xlinker '
8643 lt_prog_compiler_pic='-Xcompiler -fPIC'
8645 esac
8646 else
8647 # PORTME Check for flag to pass linker flags through the system compiler.
8648 case $host_os in
8649 aix*)
8650 lt_prog_compiler_wl='-Wl,'
8651 if test "$host_cpu" = ia64; then
8652 # AIX 5 now supports IA64 processor
8653 lt_prog_compiler_static='-Bstatic'
8654 else
8655 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8659 mingw* | cygwin* | pw32* | os2* | cegcc*)
8660 # This hack is so that the source file can tell whether it is being
8661 # built for inclusion in a dll (and should export symbols for example).
8662 lt_prog_compiler_pic='-DDLL_EXPORT'
8665 hpux9* | hpux10* | hpux11*)
8666 lt_prog_compiler_wl='-Wl,'
8667 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8668 # not for PA HP-UX.
8669 case $host_cpu in
8670 hppa*64*|ia64*)
8671 # +Z the default
8674 lt_prog_compiler_pic='+Z'
8676 esac
8677 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8678 lt_prog_compiler_static='${wl}-a ${wl}archive'
8681 irix5* | irix6* | nonstopux*)
8682 lt_prog_compiler_wl='-Wl,'
8683 # PIC (with -KPIC) is the default.
8684 lt_prog_compiler_static='-non_shared'
8687 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8688 case $cc_basename in
8689 # old Intel for x86_64 which still supported -KPIC.
8690 ecc*)
8691 lt_prog_compiler_wl='-Wl,'
8692 lt_prog_compiler_pic='-KPIC'
8693 lt_prog_compiler_static='-static'
8695 # icc used to be incompatible with GCC.
8696 # ICC 10 doesn't accept -KPIC any more.
8697 icc* | ifort*)
8698 lt_prog_compiler_wl='-Wl,'
8699 lt_prog_compiler_pic='-fPIC'
8700 lt_prog_compiler_static='-static'
8702 # Lahey Fortran 8.1.
8703 lf95*)
8704 lt_prog_compiler_wl='-Wl,'
8705 lt_prog_compiler_pic='--shared'
8706 lt_prog_compiler_static='--static'
8708 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8709 # Portland Group compilers (*not* the Pentium gcc compiler,
8710 # which looks to be a dead project)
8711 lt_prog_compiler_wl='-Wl,'
8712 lt_prog_compiler_pic='-fpic'
8713 lt_prog_compiler_static='-Bstatic'
8715 ccc*)
8716 lt_prog_compiler_wl='-Wl,'
8717 # All Alpha code is PIC.
8718 lt_prog_compiler_static='-non_shared'
8720 xl* | bgxl* | bgf* | mpixl*)
8721 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8722 lt_prog_compiler_wl='-Wl,'
8723 lt_prog_compiler_pic='-qpic'
8724 lt_prog_compiler_static='-qstaticlink'
8727 case `$CC -V 2>&1 | sed 5q` in
8728 *Sun\ F* | *Sun*Fortran*)
8729 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8730 lt_prog_compiler_pic='-KPIC'
8731 lt_prog_compiler_static='-Bstatic'
8732 lt_prog_compiler_wl=''
8734 *Sun\ C*)
8735 # Sun C 5.9
8736 lt_prog_compiler_pic='-KPIC'
8737 lt_prog_compiler_static='-Bstatic'
8738 lt_prog_compiler_wl='-Wl,'
8740 esac
8742 esac
8745 newsos6)
8746 lt_prog_compiler_pic='-KPIC'
8747 lt_prog_compiler_static='-Bstatic'
8750 *nto* | *qnx*)
8751 # QNX uses GNU C++, but need to define -shared option too, otherwise
8752 # it will coredump.
8753 lt_prog_compiler_pic='-fPIC -shared'
8756 osf3* | osf4* | osf5*)
8757 lt_prog_compiler_wl='-Wl,'
8758 # All OSF/1 code is PIC.
8759 lt_prog_compiler_static='-non_shared'
8762 rdos*)
8763 lt_prog_compiler_static='-non_shared'
8766 solaris*)
8767 lt_prog_compiler_pic='-KPIC'
8768 lt_prog_compiler_static='-Bstatic'
8769 case $cc_basename in
8770 f77* | f90* | f95*)
8771 lt_prog_compiler_wl='-Qoption ld ';;
8773 lt_prog_compiler_wl='-Wl,';;
8774 esac
8777 sunos4*)
8778 lt_prog_compiler_wl='-Qoption ld '
8779 lt_prog_compiler_pic='-PIC'
8780 lt_prog_compiler_static='-Bstatic'
8783 sysv4 | sysv4.2uw2* | sysv4.3*)
8784 lt_prog_compiler_wl='-Wl,'
8785 lt_prog_compiler_pic='-KPIC'
8786 lt_prog_compiler_static='-Bstatic'
8789 sysv4*MP*)
8790 if test -d /usr/nec ;then
8791 lt_prog_compiler_pic='-Kconform_pic'
8792 lt_prog_compiler_static='-Bstatic'
8796 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8797 lt_prog_compiler_wl='-Wl,'
8798 lt_prog_compiler_pic='-KPIC'
8799 lt_prog_compiler_static='-Bstatic'
8802 unicos*)
8803 lt_prog_compiler_wl='-Wl,'
8804 lt_prog_compiler_can_build_shared=no
8807 uts4*)
8808 lt_prog_compiler_pic='-pic'
8809 lt_prog_compiler_static='-Bstatic'
8813 lt_prog_compiler_can_build_shared=no
8815 esac
8818 case $host_os in
8819 # For platforms which do not support PIC, -DPIC is meaningless:
8820 *djgpp*)
8821 lt_prog_compiler_pic=
8824 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8826 esac
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8828 $as_echo "$lt_prog_compiler_pic" >&6; }
8836 # Check to make sure the PIC flag actually works.
8838 if test -n "$lt_prog_compiler_pic"; then
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8840 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8841 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8842 $as_echo_n "(cached) " >&6
8843 else
8844 lt_cv_prog_compiler_pic_works=no
8845 ac_outfile=conftest.$ac_objext
8846 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8847 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8848 # Insert the option either (1) after the last *FLAGS variable, or
8849 # (2) before a word containing "conftest.", or (3) at the end.
8850 # Note that $ac_compile itself does not contain backslashes and begins
8851 # with a dollar sign (not a hyphen), so the echo should work correctly.
8852 # The option is referenced via a variable to avoid confusing sed.
8853 lt_compile=`echo "$ac_compile" | $SED \
8854 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8855 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8856 -e 's:$: $lt_compiler_flag:'`
8857 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8858 (eval "$lt_compile" 2>conftest.err)
8859 ac_status=$?
8860 cat conftest.err >&5
8861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8862 if (exit $ac_status) && test -s "$ac_outfile"; then
8863 # The compiler can only warn and ignore the option if not recognized
8864 # So say no if there are warnings other than the usual output.
8865 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8866 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8867 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8868 lt_cv_prog_compiler_pic_works=yes
8871 $RM conftest*
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8875 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8877 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8878 case $lt_prog_compiler_pic in
8879 "" | " "*) ;;
8880 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8881 esac
8882 else
8883 lt_prog_compiler_pic=
8884 lt_prog_compiler_can_build_shared=no
8895 # Check to make sure the static flag actually works.
8897 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8899 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8900 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8901 $as_echo_n "(cached) " >&6
8902 else
8903 lt_cv_prog_compiler_static_works=no
8904 save_LDFLAGS="$LDFLAGS"
8905 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8906 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8907 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8908 # The linker can only warn and ignore the option if not recognized
8909 # So say no if there are warnings
8910 if test -s conftest.err; then
8911 # Append any errors to the config.log.
8912 cat conftest.err 1>&5
8913 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8914 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8915 if diff conftest.exp conftest.er2 >/dev/null; then
8916 lt_cv_prog_compiler_static_works=yes
8918 else
8919 lt_cv_prog_compiler_static_works=yes
8922 $RM -r conftest*
8923 LDFLAGS="$save_LDFLAGS"
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8927 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8929 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8931 else
8932 lt_prog_compiler_static=
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8942 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8943 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8944 $as_echo_n "(cached) " >&6
8945 else
8946 lt_cv_prog_compiler_c_o=no
8947 $RM -r conftest 2>/dev/null
8948 mkdir conftest
8949 cd conftest
8950 mkdir out
8951 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8953 lt_compiler_flag="-o out/conftest2.$ac_objext"
8954 # Insert the option either (1) after the last *FLAGS variable, or
8955 # (2) before a word containing "conftest.", or (3) at the end.
8956 # Note that $ac_compile itself does not contain backslashes and begins
8957 # with a dollar sign (not a hyphen), so the echo should work correctly.
8958 lt_compile=`echo "$ac_compile" | $SED \
8959 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8960 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8961 -e 's:$: $lt_compiler_flag:'`
8962 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8963 (eval "$lt_compile" 2>out/conftest.err)
8964 ac_status=$?
8965 cat out/conftest.err >&5
8966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8967 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8968 then
8969 # The compiler can only warn and ignore the option if not recognized
8970 # So say no if there are warnings
8971 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8972 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8973 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8974 lt_cv_prog_compiler_c_o=yes
8977 chmod u+w . 2>&5
8978 $RM conftest*
8979 # SGI C++ compiler will create directory out/ii_files/ for
8980 # template instantiation
8981 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8982 $RM out/* && rmdir out
8983 cd ..
8984 $RM -r conftest
8985 $RM conftest*
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8989 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8997 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8998 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8999 $as_echo_n "(cached) " >&6
9000 else
9001 lt_cv_prog_compiler_c_o=no
9002 $RM -r conftest 2>/dev/null
9003 mkdir conftest
9004 cd conftest
9005 mkdir out
9006 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9008 lt_compiler_flag="-o out/conftest2.$ac_objext"
9009 # Insert the option either (1) after the last *FLAGS variable, or
9010 # (2) before a word containing "conftest.", or (3) at the end.
9011 # Note that $ac_compile itself does not contain backslashes and begins
9012 # with a dollar sign (not a hyphen), so the echo should work correctly.
9013 lt_compile=`echo "$ac_compile" | $SED \
9014 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9015 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9016 -e 's:$: $lt_compiler_flag:'`
9017 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9018 (eval "$lt_compile" 2>out/conftest.err)
9019 ac_status=$?
9020 cat out/conftest.err >&5
9021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9022 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9023 then
9024 # The compiler can only warn and ignore the option if not recognized
9025 # So say no if there are warnings
9026 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9027 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9028 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9029 lt_cv_prog_compiler_c_o=yes
9032 chmod u+w . 2>&5
9033 $RM conftest*
9034 # SGI C++ compiler will create directory out/ii_files/ for
9035 # template instantiation
9036 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9037 $RM out/* && rmdir out
9038 cd ..
9039 $RM -r conftest
9040 $RM conftest*
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9044 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9049 hard_links="nottested"
9050 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9051 # do not overwrite the value of need_locks provided by the user
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9053 $as_echo_n "checking if we can lock with hard links... " >&6; }
9054 hard_links=yes
9055 $RM conftest*
9056 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9057 touch conftest.a
9058 ln conftest.a conftest.b 2>&5 || hard_links=no
9059 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9061 $as_echo "$hard_links" >&6; }
9062 if test "$hard_links" = no; then
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9064 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9065 need_locks=warn
9067 else
9068 need_locks=no
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9077 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9079 runpath_var=
9080 allow_undefined_flag=
9081 always_export_symbols=no
9082 archive_cmds=
9083 archive_expsym_cmds=
9084 compiler_needs_object=no
9085 enable_shared_with_static_runtimes=no
9086 export_dynamic_flag_spec=
9087 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9088 hardcode_automatic=no
9089 hardcode_direct=no
9090 hardcode_direct_absolute=no
9091 hardcode_libdir_flag_spec=
9092 hardcode_libdir_flag_spec_ld=
9093 hardcode_libdir_separator=
9094 hardcode_minus_L=no
9095 hardcode_shlibpath_var=unsupported
9096 inherit_rpath=no
9097 link_all_deplibs=unknown
9098 module_cmds=
9099 module_expsym_cmds=
9100 old_archive_from_new_cmds=
9101 old_archive_from_expsyms_cmds=
9102 thread_safe_flag_spec=
9103 whole_archive_flag_spec=
9104 # include_expsyms should be a list of space-separated symbols to be *always*
9105 # included in the symbol list
9106 include_expsyms=
9107 # exclude_expsyms can be an extended regexp of symbols to exclude
9108 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9109 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9110 # as well as any symbol that contains `d'.
9111 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9112 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9113 # platforms (ab)use it in PIC code, but their linkers get confused if
9114 # the symbol is explicitly referenced. Since portable code cannot
9115 # rely on this symbol name, it's probably fine to never include it in
9116 # preloaded symbol tables.
9117 # Exclude shared library initialization/finalization symbols.
9118 extract_expsyms_cmds=
9120 case $host_os in
9121 cygwin* | mingw* | pw32* | cegcc*)
9122 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9123 # When not using gcc, we currently assume that we are using
9124 # Microsoft Visual C++.
9125 if test "$GCC" != yes; then
9126 with_gnu_ld=no
9129 interix*)
9130 # we just hope/assume this is gcc and not c89 (= MSVC++)
9131 with_gnu_ld=yes
9133 openbsd*)
9134 with_gnu_ld=no
9136 esac
9138 ld_shlibs=yes
9140 # On some targets, GNU ld is compatible enough with the native linker
9141 # that we're better off using the native interface for both.
9142 lt_use_gnu_ld_interface=no
9143 if test "$with_gnu_ld" = yes; then
9144 case $host_os in
9145 aix*)
9146 # The AIX port of GNU ld has always aspired to compatibility
9147 # with the native linker. However, as the warning in the GNU ld
9148 # block says, versions before 2.19.5* couldn't really create working
9149 # shared libraries, regardless of the interface used.
9150 case `$LD -v 2>&1` in
9151 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9152 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9153 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9155 lt_use_gnu_ld_interface=yes
9157 esac
9160 lt_use_gnu_ld_interface=yes
9162 esac
9165 if test "$lt_use_gnu_ld_interface" = yes; then
9166 # If archive_cmds runs LD, not CC, wlarc should be empty
9167 wlarc='${wl}'
9169 # Set some defaults for GNU ld with shared library support. These
9170 # are reset later if shared libraries are not supported. Putting them
9171 # here allows them to be overridden if necessary.
9172 runpath_var=LD_RUN_PATH
9173 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9174 export_dynamic_flag_spec='${wl}--export-dynamic'
9175 # ancient GNU ld didn't support --whole-archive et. al.
9176 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9177 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9178 else
9179 whole_archive_flag_spec=
9181 supports_anon_versioning=no
9182 case `$LD -v 2>&1` in
9183 *GNU\ gold*) supports_anon_versioning=yes ;;
9184 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9185 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9186 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9187 *\ 2.11.*) ;; # other 2.11 versions
9188 *) supports_anon_versioning=yes ;;
9189 esac
9191 # See if GNU ld supports shared libraries.
9192 case $host_os in
9193 aix[3-9]*)
9194 # On AIX/PPC, the GNU linker is very broken
9195 if test "$host_cpu" != ia64; then
9196 ld_shlibs=no
9197 cat <<_LT_EOF 1>&2
9199 *** Warning: the GNU linker, at least up to release 2.19, is reported
9200 *** to be unable to reliably create shared libraries on AIX.
9201 *** Therefore, libtool is disabling shared libraries support. If you
9202 *** really care for shared libraries, you may want to install binutils
9203 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9204 *** You will then need to restart the configuration process.
9206 _LT_EOF
9210 amigaos*)
9211 case $host_cpu in
9212 powerpc)
9213 # see comment about AmigaOS4 .so support
9214 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9215 archive_expsym_cmds=''
9217 m68k)
9218 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9219 hardcode_libdir_flag_spec='-L$libdir'
9220 hardcode_minus_L=yes
9222 esac
9225 beos*)
9226 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9227 allow_undefined_flag=unsupported
9228 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9229 # support --undefined. This deserves some investigation. FIXME
9230 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9231 else
9232 ld_shlibs=no
9236 cygwin* | mingw* | pw32* | cegcc*)
9237 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9238 # as there is no search path for DLLs.
9239 hardcode_libdir_flag_spec='-L$libdir'
9240 export_dynamic_flag_spec='${wl}--export-all-symbols'
9241 allow_undefined_flag=unsupported
9242 always_export_symbols=no
9243 enable_shared_with_static_runtimes=yes
9244 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9246 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9247 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9248 # If the export-symbols file already is a .def file (1st line
9249 # is EXPORTS), use it as is; otherwise, prepend...
9250 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9251 cp $export_symbols $output_objdir/$soname.def;
9252 else
9253 echo EXPORTS > $output_objdir/$soname.def;
9254 cat $export_symbols >> $output_objdir/$soname.def;
9256 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9257 else
9258 ld_shlibs=no
9262 haiku*)
9263 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9264 link_all_deplibs=yes
9267 interix[3-9]*)
9268 hardcode_direct=no
9269 hardcode_shlibpath_var=no
9270 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9271 export_dynamic_flag_spec='${wl}-E'
9272 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9273 # Instead, shared libraries are loaded at an image base (0x10000000 by
9274 # default) and relocated if they conflict, which is a slow very memory
9275 # consuming and fragmenting process. To avoid this, we pick a random,
9276 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9277 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9278 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9279 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9282 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9283 tmp_diet=no
9284 if test "$host_os" = linux-dietlibc; then
9285 case $cc_basename in
9286 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9287 esac
9289 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9290 && test "$tmp_diet" = no
9291 then
9292 tmp_addflag=
9293 tmp_sharedflag='-shared'
9294 case $cc_basename,$host_cpu in
9295 pgcc*) # Portland Group C compiler
9296 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9297 tmp_addflag=' $pic_flag'
9299 pgf77* | pgf90* | pgf95* | pgfortran*)
9300 # Portland Group f77 and f90 compilers
9301 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9302 tmp_addflag=' $pic_flag -Mnomain' ;;
9303 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9304 tmp_addflag=' -i_dynamic' ;;
9305 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9306 tmp_addflag=' -i_dynamic -nofor_main' ;;
9307 ifc* | ifort*) # Intel Fortran compiler
9308 tmp_addflag=' -nofor_main' ;;
9309 lf95*) # Lahey Fortran 8.1
9310 whole_archive_flag_spec=
9311 tmp_sharedflag='--shared' ;;
9312 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9313 tmp_sharedflag='-qmkshrobj'
9314 tmp_addflag= ;;
9315 nvcc*) # Cuda Compiler Driver 2.2
9316 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9317 compiler_needs_object=yes
9319 esac
9320 case `$CC -V 2>&1 | sed 5q` in
9321 *Sun\ C*) # Sun C 5.9
9322 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9323 compiler_needs_object=yes
9324 tmp_sharedflag='-G' ;;
9325 *Sun\ F*) # Sun Fortran 8.3
9326 tmp_sharedflag='-G' ;;
9327 esac
9328 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9330 if test "x$supports_anon_versioning" = xyes; then
9331 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9332 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9333 echo "local: *; };" >> $output_objdir/$libname.ver~
9334 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9337 case $cc_basename in
9338 xlf* | bgf* | bgxlf* | mpixlf*)
9339 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9340 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9341 hardcode_libdir_flag_spec=
9342 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9343 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9344 if test "x$supports_anon_versioning" = xyes; then
9345 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9346 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9347 echo "local: *; };" >> $output_objdir/$libname.ver~
9348 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9351 esac
9352 else
9353 ld_shlibs=no
9357 netbsd*)
9358 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9359 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9360 wlarc=
9361 else
9362 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9363 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9367 solaris*)
9368 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9369 ld_shlibs=no
9370 cat <<_LT_EOF 1>&2
9372 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9373 *** create shared libraries on Solaris systems. Therefore, libtool
9374 *** is disabling shared libraries support. We urge you to upgrade GNU
9375 *** binutils to release 2.9.1 or newer. Another option is to modify
9376 *** your PATH or compiler configuration so that the native linker is
9377 *** used, and then restart.
9379 _LT_EOF
9380 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9381 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9382 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9383 else
9384 ld_shlibs=no
9388 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9389 case `$LD -v 2>&1` in
9390 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9391 ld_shlibs=no
9392 cat <<_LT_EOF 1>&2
9394 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9395 *** reliably create shared libraries on SCO systems. Therefore, libtool
9396 *** is disabling shared libraries support. We urge you to upgrade GNU
9397 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9398 *** your PATH or compiler configuration so that the native linker is
9399 *** used, and then restart.
9401 _LT_EOF
9404 # For security reasons, it is highly recommended that you always
9405 # use absolute paths for naming shared libraries, and exclude the
9406 # DT_RUNPATH tag from executables and libraries. But doing so
9407 # requires that you compile everything twice, which is a pain.
9408 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9409 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9410 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9411 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9412 else
9413 ld_shlibs=no
9416 esac
9419 sunos4*)
9420 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9421 wlarc=
9422 hardcode_direct=yes
9423 hardcode_shlibpath_var=no
9427 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9428 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9429 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9430 else
9431 ld_shlibs=no
9434 esac
9436 if test "$ld_shlibs" = no; then
9437 runpath_var=
9438 hardcode_libdir_flag_spec=
9439 export_dynamic_flag_spec=
9440 whole_archive_flag_spec=
9442 else
9443 # PORTME fill in a description of your system's linker (not GNU ld)
9444 case $host_os in
9445 aix3*)
9446 allow_undefined_flag=unsupported
9447 always_export_symbols=yes
9448 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9449 # Note: this linker hardcodes the directories in LIBPATH if there
9450 # are no directories specified by -L.
9451 hardcode_minus_L=yes
9452 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9453 # Neither direct hardcoding nor static linking is supported with a
9454 # broken collect2.
9455 hardcode_direct=unsupported
9459 aix[4-9]*)
9460 if test "$host_cpu" = ia64; then
9461 # On IA64, the linker does run time linking by default, so we don't
9462 # have to do anything special.
9463 aix_use_runtimelinking=no
9464 exp_sym_flag='-Bexport'
9465 no_entry_flag=""
9466 else
9467 # If we're using GNU nm, then we don't want the "-C" option.
9468 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9469 # Also, AIX nm treats weak defined symbols like other global
9470 # defined symbols, whereas GNU nm marks them as "W".
9471 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9472 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9473 else
9474 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9476 aix_use_runtimelinking=no
9478 # Test if we are trying to use run time linking or normal
9479 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9480 # need to do runtime linking.
9481 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9482 for ld_flag in $LDFLAGS; do
9483 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9484 aix_use_runtimelinking=yes
9485 break
9487 done
9489 esac
9491 exp_sym_flag='-bexport'
9492 no_entry_flag='-bnoentry'
9495 # When large executables or shared objects are built, AIX ld can
9496 # have problems creating the table of contents. If linking a library
9497 # or program results in "error TOC overflow" add -mminimal-toc to
9498 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9499 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9501 archive_cmds=''
9502 hardcode_direct=yes
9503 hardcode_direct_absolute=yes
9504 hardcode_libdir_separator=':'
9505 link_all_deplibs=yes
9506 file_list_spec='${wl}-f,'
9508 if test "$GCC" = yes; then
9509 case $host_os in aix4.[012]|aix4.[012].*)
9510 # We only want to do this on AIX 4.2 and lower, the check
9511 # below for broken collect2 doesn't work under 4.3+
9512 collect2name=`${CC} -print-prog-name=collect2`
9513 if test -f "$collect2name" &&
9514 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9515 then
9516 # We have reworked collect2
9518 else
9519 # We have old collect2
9520 hardcode_direct=unsupported
9521 # It fails to find uninstalled libraries when the uninstalled
9522 # path is not listed in the libpath. Setting hardcode_minus_L
9523 # to unsupported forces relinking
9524 hardcode_minus_L=yes
9525 hardcode_libdir_flag_spec='-L$libdir'
9526 hardcode_libdir_separator=
9529 esac
9530 shared_flag='-shared'
9531 if test "$aix_use_runtimelinking" = yes; then
9532 shared_flag="$shared_flag "'${wl}-G'
9534 else
9535 # not using gcc
9536 if test "$host_cpu" = ia64; then
9537 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9538 # chokes on -Wl,-G. The following line is correct:
9539 shared_flag='-G'
9540 else
9541 if test "$aix_use_runtimelinking" = yes; then
9542 shared_flag='${wl}-G'
9543 else
9544 shared_flag='${wl}-bM:SRE'
9549 export_dynamic_flag_spec='${wl}-bexpall'
9550 # It seems that -bexpall does not export symbols beginning with
9551 # underscore (_), so it is better to generate a list of symbols to export.
9552 always_export_symbols=yes
9553 if test "$aix_use_runtimelinking" = yes; then
9554 # Warning - without using the other runtime loading flags (-brtl),
9555 # -berok will link without error, but may produce a broken library.
9556 allow_undefined_flag='-berok'
9557 # Determine the default libpath from the value encoded in an
9558 # empty executable.
9559 if test x$gcc_no_link = xyes; then
9560 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9563 /* end confdefs.h. */
9566 main ()
9570 return 0;
9572 _ACEOF
9573 if ac_fn_c_try_link "$LINENO"; then :
9575 lt_aix_libpath_sed='
9576 /Import File Strings/,/^$/ {
9577 /^0/ {
9578 s/^0 *\(.*\)$/\1/
9582 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9583 # Check for a 64-bit object if we didn't find anything.
9584 if test -z "$aix_libpath"; then
9585 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9588 rm -f core conftest.err conftest.$ac_objext \
9589 conftest$ac_exeext conftest.$ac_ext
9590 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9592 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9593 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9594 else
9595 if test "$host_cpu" = ia64; then
9596 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9597 allow_undefined_flag="-z nodefs"
9598 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9599 else
9600 # Determine the default libpath from the value encoded in an
9601 # empty executable.
9602 if test x$gcc_no_link = xyes; then
9603 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9606 /* end confdefs.h. */
9609 main ()
9613 return 0;
9615 _ACEOF
9616 if ac_fn_c_try_link "$LINENO"; then :
9618 lt_aix_libpath_sed='
9619 /Import File Strings/,/^$/ {
9620 /^0/ {
9621 s/^0 *\(.*\)$/\1/
9625 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9626 # Check for a 64-bit object if we didn't find anything.
9627 if test -z "$aix_libpath"; then
9628 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9631 rm -f core conftest.err conftest.$ac_objext \
9632 conftest$ac_exeext conftest.$ac_ext
9633 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9635 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9636 # Warning - without using the other run time loading flags,
9637 # -berok will link without error, but may produce a broken library.
9638 no_undefined_flag=' ${wl}-bernotok'
9639 allow_undefined_flag=' ${wl}-berok'
9640 if test "$with_gnu_ld" = yes; then
9641 # We only use this code for GNU lds that support --whole-archive.
9642 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9643 else
9644 # Exported symbols can be pulled into shared objects from archives
9645 whole_archive_flag_spec='$convenience'
9647 archive_cmds_need_lc=yes
9648 # This is similar to how AIX traditionally builds its shared libraries.
9649 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9654 amigaos*)
9655 case $host_cpu in
9656 powerpc)
9657 # see comment about AmigaOS4 .so support
9658 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9659 archive_expsym_cmds=''
9661 m68k)
9662 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9663 hardcode_libdir_flag_spec='-L$libdir'
9664 hardcode_minus_L=yes
9666 esac
9669 bsdi[45]*)
9670 export_dynamic_flag_spec=-rdynamic
9673 cygwin* | mingw* | pw32* | cegcc*)
9674 # When not using gcc, we currently assume that we are using
9675 # Microsoft Visual C++.
9676 # hardcode_libdir_flag_spec is actually meaningless, as there is
9677 # no search path for DLLs.
9678 hardcode_libdir_flag_spec=' '
9679 allow_undefined_flag=unsupported
9680 # Tell ltmain to make .lib files, not .a files.
9681 libext=lib
9682 # Tell ltmain to make .dll files, not .so files.
9683 shrext_cmds=".dll"
9684 # FIXME: Setting linknames here is a bad hack.
9685 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9686 # The linker will automatically build a .lib file if we build a DLL.
9687 old_archive_from_new_cmds='true'
9688 # FIXME: Should let the user specify the lib program.
9689 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9690 fix_srcfile_path='`cygpath -w "$srcfile"`'
9691 enable_shared_with_static_runtimes=yes
9694 darwin* | rhapsody*)
9697 archive_cmds_need_lc=no
9698 hardcode_direct=no
9699 hardcode_automatic=yes
9700 hardcode_shlibpath_var=unsupported
9701 if test "$lt_cv_ld_force_load" = "yes"; then
9702 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9703 else
9704 whole_archive_flag_spec=''
9706 link_all_deplibs=yes
9707 allow_undefined_flag="$_lt_dar_allow_undefined"
9708 case $cc_basename in
9709 ifort*) _lt_dar_can_shared=yes ;;
9710 *) _lt_dar_can_shared=$GCC ;;
9711 esac
9712 if test "$_lt_dar_can_shared" = "yes"; then
9713 output_verbose_link_cmd=func_echo_all
9714 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9715 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9716 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9717 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9719 else
9720 ld_shlibs=no
9725 dgux*)
9726 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9727 hardcode_libdir_flag_spec='-L$libdir'
9728 hardcode_shlibpath_var=no
9731 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9732 # support. Future versions do this automatically, but an explicit c++rt0.o
9733 # does not break anything, and helps significantly (at the cost of a little
9734 # extra space).
9735 freebsd2.2*)
9736 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9737 hardcode_libdir_flag_spec='-R$libdir'
9738 hardcode_direct=yes
9739 hardcode_shlibpath_var=no
9742 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9743 freebsd2.*)
9744 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9745 hardcode_direct=yes
9746 hardcode_minus_L=yes
9747 hardcode_shlibpath_var=no
9750 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9751 freebsd* | dragonfly*)
9752 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9753 hardcode_libdir_flag_spec='-R$libdir'
9754 hardcode_direct=yes
9755 hardcode_shlibpath_var=no
9758 hpux9*)
9759 if test "$GCC" = yes; then
9760 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9761 else
9762 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9764 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9765 hardcode_libdir_separator=:
9766 hardcode_direct=yes
9768 # hardcode_minus_L: Not really in the search PATH,
9769 # but as the default location of the library.
9770 hardcode_minus_L=yes
9771 export_dynamic_flag_spec='${wl}-E'
9774 hpux10*)
9775 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9776 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9777 else
9778 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9780 if test "$with_gnu_ld" = no; then
9781 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9782 hardcode_libdir_flag_spec_ld='+b $libdir'
9783 hardcode_libdir_separator=:
9784 hardcode_direct=yes
9785 hardcode_direct_absolute=yes
9786 export_dynamic_flag_spec='${wl}-E'
9787 # hardcode_minus_L: Not really in the search PATH,
9788 # but as the default location of the library.
9789 hardcode_minus_L=yes
9793 hpux11*)
9794 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9795 case $host_cpu in
9796 hppa*64*)
9797 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9799 ia64*)
9800 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9803 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9805 esac
9806 else
9807 case $host_cpu in
9808 hppa*64*)
9809 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9811 ia64*)
9812 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9816 # Older versions of the 11.00 compiler do not understand -b yet
9817 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9819 $as_echo_n "checking if $CC understands -b... " >&6; }
9820 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9821 $as_echo_n "(cached) " >&6
9822 else
9823 lt_cv_prog_compiler__b=no
9824 save_LDFLAGS="$LDFLAGS"
9825 LDFLAGS="$LDFLAGS -b"
9826 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9827 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9828 # The linker can only warn and ignore the option if not recognized
9829 # So say no if there are warnings
9830 if test -s conftest.err; then
9831 # Append any errors to the config.log.
9832 cat conftest.err 1>&5
9833 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9834 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9835 if diff conftest.exp conftest.er2 >/dev/null; then
9836 lt_cv_prog_compiler__b=yes
9838 else
9839 lt_cv_prog_compiler__b=yes
9842 $RM -r conftest*
9843 LDFLAGS="$save_LDFLAGS"
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9847 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9849 if test x"$lt_cv_prog_compiler__b" = xyes; then
9850 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9851 else
9852 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9856 esac
9858 if test "$with_gnu_ld" = no; then
9859 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9860 hardcode_libdir_separator=:
9862 case $host_cpu in
9863 hppa*64*|ia64*)
9864 hardcode_direct=no
9865 hardcode_shlibpath_var=no
9868 hardcode_direct=yes
9869 hardcode_direct_absolute=yes
9870 export_dynamic_flag_spec='${wl}-E'
9872 # hardcode_minus_L: Not really in the search PATH,
9873 # but as the default location of the library.
9874 hardcode_minus_L=yes
9876 esac
9880 irix5* | irix6* | nonstopux*)
9881 if test "$GCC" = yes; then
9882 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9883 # Try to use the -exported_symbol ld option, if it does not
9884 # work, assume that -exports_file does not work either and
9885 # implicitly export all symbols.
9886 save_LDFLAGS="$LDFLAGS"
9887 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9888 if test x$gcc_no_link = xyes; then
9889 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9892 /* end confdefs.h. */
9893 int foo(void) {}
9894 _ACEOF
9895 if ac_fn_c_try_link "$LINENO"; then :
9896 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9899 rm -f core conftest.err conftest.$ac_objext \
9900 conftest$ac_exeext conftest.$ac_ext
9901 LDFLAGS="$save_LDFLAGS"
9902 else
9903 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9904 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9906 archive_cmds_need_lc='no'
9907 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9908 hardcode_libdir_separator=:
9909 inherit_rpath=yes
9910 link_all_deplibs=yes
9913 netbsd*)
9914 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9915 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9916 else
9917 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9919 hardcode_libdir_flag_spec='-R$libdir'
9920 hardcode_direct=yes
9921 hardcode_shlibpath_var=no
9924 newsos6)
9925 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9926 hardcode_direct=yes
9927 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9928 hardcode_libdir_separator=:
9929 hardcode_shlibpath_var=no
9932 *nto* | *qnx*)
9935 openbsd*)
9936 if test -f /usr/libexec/ld.so; then
9937 hardcode_direct=yes
9938 hardcode_shlibpath_var=no
9939 hardcode_direct_absolute=yes
9940 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9941 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9942 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9943 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9944 export_dynamic_flag_spec='${wl}-E'
9945 else
9946 case $host_os in
9947 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9948 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9949 hardcode_libdir_flag_spec='-R$libdir'
9952 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9953 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9955 esac
9957 else
9958 ld_shlibs=no
9962 os2*)
9963 hardcode_libdir_flag_spec='-L$libdir'
9964 hardcode_minus_L=yes
9965 allow_undefined_flag=unsupported
9966 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9967 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9970 osf3*)
9971 if test "$GCC" = yes; then
9972 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9973 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9974 else
9975 allow_undefined_flag=' -expect_unresolved \*'
9976 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9978 archive_cmds_need_lc='no'
9979 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9980 hardcode_libdir_separator=:
9983 osf4* | osf5*) # as osf3* with the addition of -msym flag
9984 if test "$GCC" = yes; then
9985 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9986 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9987 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9988 else
9989 allow_undefined_flag=' -expect_unresolved \*'
9990 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9991 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9992 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9994 # Both c and cxx compiler support -rpath directly
9995 hardcode_libdir_flag_spec='-rpath $libdir'
9997 archive_cmds_need_lc='no'
9998 hardcode_libdir_separator=:
10001 solaris*)
10002 no_undefined_flag=' -z defs'
10003 if test "$GCC" = yes; then
10004 wlarc='${wl}'
10005 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10006 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10007 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10008 else
10009 case `$CC -V 2>&1` in
10010 *"Compilers 5.0"*)
10011 wlarc=''
10012 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10013 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10014 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10017 wlarc='${wl}'
10018 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10019 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10020 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10022 esac
10024 hardcode_libdir_flag_spec='-R$libdir'
10025 hardcode_shlibpath_var=no
10026 case $host_os in
10027 solaris2.[0-5] | solaris2.[0-5].*) ;;
10029 # The compiler driver will combine and reorder linker options,
10030 # but understands `-z linker_flag'. GCC discards it without `$wl',
10031 # but is careful enough not to reorder.
10032 # Supported since Solaris 2.6 (maybe 2.5.1?)
10033 if test "$GCC" = yes; then
10034 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10035 else
10036 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10039 esac
10040 link_all_deplibs=yes
10043 sunos4*)
10044 if test "x$host_vendor" = xsequent; then
10045 # Use $CC to link under sequent, because it throws in some extra .o
10046 # files that make .init and .fini sections work.
10047 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10048 else
10049 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10051 hardcode_libdir_flag_spec='-L$libdir'
10052 hardcode_direct=yes
10053 hardcode_minus_L=yes
10054 hardcode_shlibpath_var=no
10057 sysv4)
10058 case $host_vendor in
10059 sni)
10060 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10061 hardcode_direct=yes # is this really true???
10063 siemens)
10064 ## LD is ld it makes a PLAMLIB
10065 ## CC just makes a GrossModule.
10066 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10067 reload_cmds='$CC -r -o $output$reload_objs'
10068 hardcode_direct=no
10070 motorola)
10071 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10072 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10074 esac
10075 runpath_var='LD_RUN_PATH'
10076 hardcode_shlibpath_var=no
10079 sysv4.3*)
10080 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10081 hardcode_shlibpath_var=no
10082 export_dynamic_flag_spec='-Bexport'
10085 sysv4*MP*)
10086 if test -d /usr/nec; then
10087 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10088 hardcode_shlibpath_var=no
10089 runpath_var=LD_RUN_PATH
10090 hardcode_runpath_var=yes
10091 ld_shlibs=yes
10095 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10096 no_undefined_flag='${wl}-z,text'
10097 archive_cmds_need_lc=no
10098 hardcode_shlibpath_var=no
10099 runpath_var='LD_RUN_PATH'
10101 if test "$GCC" = yes; then
10102 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10103 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10104 else
10105 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10106 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10110 sysv5* | sco3.2v5* | sco5v6*)
10111 # Note: We can NOT use -z defs as we might desire, because we do not
10112 # link with -lc, and that would cause any symbols used from libc to
10113 # always be unresolved, which means just about no library would
10114 # ever link correctly. If we're not using GNU ld we use -z text
10115 # though, which does catch some bad symbols but isn't as heavy-handed
10116 # as -z defs.
10117 no_undefined_flag='${wl}-z,text'
10118 allow_undefined_flag='${wl}-z,nodefs'
10119 archive_cmds_need_lc=no
10120 hardcode_shlibpath_var=no
10121 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10122 hardcode_libdir_separator=':'
10123 link_all_deplibs=yes
10124 export_dynamic_flag_spec='${wl}-Bexport'
10125 runpath_var='LD_RUN_PATH'
10127 if test "$GCC" = yes; then
10128 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10129 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10130 else
10131 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10132 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10136 uts4*)
10137 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10138 hardcode_libdir_flag_spec='-L$libdir'
10139 hardcode_shlibpath_var=no
10143 ld_shlibs=no
10145 esac
10147 if test x$host_vendor = xsni; then
10148 case $host in
10149 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10150 export_dynamic_flag_spec='${wl}-Blargedynsym'
10152 esac
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10157 $as_echo "$ld_shlibs" >&6; }
10158 test "$ld_shlibs" = no && can_build_shared=no
10160 with_gnu_ld=$with_gnu_ld
10177 # Do we need to explicitly link libc?
10179 case "x$archive_cmds_need_lc" in
10180 x|xyes)
10181 # Assume -lc should be added
10182 archive_cmds_need_lc=yes
10184 if test "$enable_shared" = yes && test "$GCC" = yes; then
10185 case $archive_cmds in
10186 *'~'*)
10187 # FIXME: we may have to deal with multi-command sequences.
10189 '$CC '*)
10190 # Test whether the compiler implicitly links with -lc since on some
10191 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10192 # to ld, don't add -lc before -lgcc.
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10194 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10195 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10196 $as_echo_n "(cached) " >&6
10197 else
10198 $RM conftest*
10199 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10201 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10202 (eval $ac_compile) 2>&5
10203 ac_status=$?
10204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10205 test $ac_status = 0; } 2>conftest.err; then
10206 soname=conftest
10207 lib=conftest
10208 libobjs=conftest.$ac_objext
10209 deplibs=
10210 wl=$lt_prog_compiler_wl
10211 pic_flag=$lt_prog_compiler_pic
10212 compiler_flags=-v
10213 linker_flags=-v
10214 verstring=
10215 output_objdir=.
10216 libname=conftest
10217 lt_save_allow_undefined_flag=$allow_undefined_flag
10218 allow_undefined_flag=
10219 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10220 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10221 ac_status=$?
10222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10223 test $ac_status = 0; }
10224 then
10225 lt_cv_archive_cmds_need_lc=no
10226 else
10227 lt_cv_archive_cmds_need_lc=yes
10229 allow_undefined_flag=$lt_save_allow_undefined_flag
10230 else
10231 cat conftest.err 1>&5
10233 $RM conftest*
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10237 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10238 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10240 esac
10243 esac
10401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10402 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10404 if test "$GCC" = yes; then
10405 case $host_os in
10406 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10407 *) lt_awk_arg="/^libraries:/" ;;
10408 esac
10409 case $host_os in
10410 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10411 *) lt_sed_strip_eq="s,=/,/,g" ;;
10412 esac
10413 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10414 case $lt_search_path_spec in
10415 *\;*)
10416 # if the path contains ";" then we assume it to be the separator
10417 # otherwise default to the standard path separator (i.e. ":") - it is
10418 # assumed that no part of a normal pathname contains ";" but that should
10419 # okay in the real world where ";" in dirpaths is itself problematic.
10420 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10423 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10425 esac
10426 # Ok, now we have the path, separated by spaces, we can step through it
10427 # and add multilib dir if necessary.
10428 lt_tmp_lt_search_path_spec=
10429 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10430 for lt_sys_path in $lt_search_path_spec; do
10431 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10432 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10433 else
10434 test -d "$lt_sys_path" && \
10435 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10437 done
10438 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10439 BEGIN {RS=" "; FS="/|\n";} {
10440 lt_foo="";
10441 lt_count=0;
10442 for (lt_i = NF; lt_i > 0; lt_i--) {
10443 if ($lt_i != "" && $lt_i != ".") {
10444 if ($lt_i == "..") {
10445 lt_count++;
10446 } else {
10447 if (lt_count == 0) {
10448 lt_foo="/" $lt_i lt_foo;
10449 } else {
10450 lt_count--;
10455 if (lt_foo != "") { lt_freq[lt_foo]++; }
10456 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10458 # AWK program above erroneously prepends '/' to C:/dos/paths
10459 # for these hosts.
10460 case $host_os in
10461 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10462 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10463 esac
10464 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10465 else
10466 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10468 library_names_spec=
10469 libname_spec='lib$name'
10470 soname_spec=
10471 shrext_cmds=".so"
10472 postinstall_cmds=
10473 postuninstall_cmds=
10474 finish_cmds=
10475 finish_eval=
10476 shlibpath_var=
10477 shlibpath_overrides_runpath=unknown
10478 version_type=none
10479 dynamic_linker="$host_os ld.so"
10480 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10481 need_lib_prefix=unknown
10482 hardcode_into_libs=no
10484 # when you set need_version to no, make sure it does not cause -set_version
10485 # flags to be left without arguments
10486 need_version=unknown
10488 case $host_os in
10489 aix3*)
10490 version_type=linux
10491 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10492 shlibpath_var=LIBPATH
10494 # AIX 3 has no versioning support, so we append a major version to the name.
10495 soname_spec='${libname}${release}${shared_ext}$major'
10498 aix[4-9]*)
10499 version_type=linux
10500 need_lib_prefix=no
10501 need_version=no
10502 hardcode_into_libs=yes
10503 if test "$host_cpu" = ia64; then
10504 # AIX 5 supports IA64
10505 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10506 shlibpath_var=LD_LIBRARY_PATH
10507 else
10508 # With GCC up to 2.95.x, collect2 would create an import file
10509 # for dependence libraries. The import file would start with
10510 # the line `#! .'. This would cause the generated library to
10511 # depend on `.', always an invalid library. This was fixed in
10512 # development snapshots of GCC prior to 3.0.
10513 case $host_os in
10514 aix4 | aix4.[01] | aix4.[01].*)
10515 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10516 echo ' yes '
10517 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10519 else
10520 can_build_shared=no
10523 esac
10524 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10525 # soname into executable. Probably we can add versioning support to
10526 # collect2, so additional links can be useful in future.
10527 if test "$aix_use_runtimelinking" = yes; then
10528 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10529 # instead of lib<name>.a to let people know that these are not
10530 # typical AIX shared libraries.
10531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10532 else
10533 # We preserve .a as extension for shared libraries through AIX4.2
10534 # and later when we are not doing run time linking.
10535 library_names_spec='${libname}${release}.a $libname.a'
10536 soname_spec='${libname}${release}${shared_ext}$major'
10538 shlibpath_var=LIBPATH
10542 amigaos*)
10543 case $host_cpu in
10544 powerpc)
10545 # Since July 2007 AmigaOS4 officially supports .so libraries.
10546 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10547 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10549 m68k)
10550 library_names_spec='$libname.ixlibrary $libname.a'
10551 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10552 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10554 esac
10557 beos*)
10558 library_names_spec='${libname}${shared_ext}'
10559 dynamic_linker="$host_os ld.so"
10560 shlibpath_var=LIBRARY_PATH
10563 bsdi[45]*)
10564 version_type=linux
10565 need_version=no
10566 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10567 soname_spec='${libname}${release}${shared_ext}$major'
10568 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10569 shlibpath_var=LD_LIBRARY_PATH
10570 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10571 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10572 # the default ld.so.conf also contains /usr/contrib/lib and
10573 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10574 # libtool to hard-code these into programs
10577 cygwin* | mingw* | pw32* | cegcc*)
10578 version_type=windows
10579 shrext_cmds=".dll"
10580 need_version=no
10581 need_lib_prefix=no
10583 case $GCC,$host_os in
10584 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10585 library_names_spec='$libname.dll.a'
10586 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10587 postinstall_cmds='base_file=`basename \${file}`~
10588 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10589 dldir=$destdir/`dirname \$dlpath`~
10590 test -d \$dldir || mkdir -p \$dldir~
10591 $install_prog $dir/$dlname \$dldir/$dlname~
10592 chmod a+x \$dldir/$dlname~
10593 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10594 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10596 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10597 dlpath=$dir/\$dldll~
10598 $RM \$dlpath'
10599 shlibpath_overrides_runpath=yes
10601 case $host_os in
10602 cygwin*)
10603 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10604 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10606 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10608 mingw* | cegcc*)
10609 # MinGW DLLs use traditional 'lib' prefix
10610 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10612 pw32*)
10613 # pw32 DLLs use 'pw' prefix rather than 'lib'
10614 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10616 esac
10620 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10622 esac
10623 dynamic_linker='Win32 ld.exe'
10624 # FIXME: first we should search . and the directory the executable is in
10625 shlibpath_var=PATH
10628 darwin* | rhapsody*)
10629 dynamic_linker="$host_os dyld"
10630 version_type=darwin
10631 need_lib_prefix=no
10632 need_version=no
10633 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10634 soname_spec='${libname}${release}${major}$shared_ext'
10635 shlibpath_overrides_runpath=yes
10636 shlibpath_var=DYLD_LIBRARY_PATH
10637 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10639 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10640 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10643 dgux*)
10644 version_type=linux
10645 need_lib_prefix=no
10646 need_version=no
10647 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10648 soname_spec='${libname}${release}${shared_ext}$major'
10649 shlibpath_var=LD_LIBRARY_PATH
10652 freebsd* | dragonfly*)
10653 # DragonFly does not have aout. When/if they implement a new
10654 # versioning mechanism, adjust this.
10655 if test -x /usr/bin/objformat; then
10656 objformat=`/usr/bin/objformat`
10657 else
10658 case $host_os in
10659 freebsd[23].*) objformat=aout ;;
10660 *) objformat=elf ;;
10661 esac
10663 version_type=freebsd-$objformat
10664 case $version_type in
10665 freebsd-elf*)
10666 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10667 need_version=no
10668 need_lib_prefix=no
10670 freebsd-*)
10671 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10672 need_version=yes
10674 esac
10675 shlibpath_var=LD_LIBRARY_PATH
10676 case $host_os in
10677 freebsd2.*)
10678 shlibpath_overrides_runpath=yes
10680 freebsd3.[01]* | freebsdelf3.[01]*)
10681 shlibpath_overrides_runpath=yes
10682 hardcode_into_libs=yes
10684 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10685 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10686 shlibpath_overrides_runpath=no
10687 hardcode_into_libs=yes
10689 *) # from 4.6 on, and DragonFly
10690 shlibpath_overrides_runpath=yes
10691 hardcode_into_libs=yes
10693 esac
10696 gnu*)
10697 version_type=linux
10698 need_lib_prefix=no
10699 need_version=no
10700 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10701 soname_spec='${libname}${release}${shared_ext}$major'
10702 shlibpath_var=LD_LIBRARY_PATH
10703 hardcode_into_libs=yes
10706 haiku*)
10707 version_type=linux
10708 need_lib_prefix=no
10709 need_version=no
10710 dynamic_linker="$host_os runtime_loader"
10711 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10712 soname_spec='${libname}${release}${shared_ext}$major'
10713 shlibpath_var=LIBRARY_PATH
10714 shlibpath_overrides_runpath=yes
10715 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10716 hardcode_into_libs=yes
10719 hpux9* | hpux10* | hpux11*)
10720 # Give a soname corresponding to the major version so that dld.sl refuses to
10721 # link against other versions.
10722 version_type=sunos
10723 need_lib_prefix=no
10724 need_version=no
10725 case $host_cpu in
10726 ia64*)
10727 shrext_cmds='.so'
10728 hardcode_into_libs=yes
10729 dynamic_linker="$host_os dld.so"
10730 shlibpath_var=LD_LIBRARY_PATH
10731 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10733 soname_spec='${libname}${release}${shared_ext}$major'
10734 if test "X$HPUX_IA64_MODE" = X32; then
10735 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10736 else
10737 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10739 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10741 hppa*64*)
10742 shrext_cmds='.sl'
10743 hardcode_into_libs=yes
10744 dynamic_linker="$host_os dld.sl"
10745 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10746 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10747 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10748 soname_spec='${libname}${release}${shared_ext}$major'
10749 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10750 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10753 shrext_cmds='.sl'
10754 dynamic_linker="$host_os dld.sl"
10755 shlibpath_var=SHLIB_PATH
10756 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10757 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10758 soname_spec='${libname}${release}${shared_ext}$major'
10760 esac
10761 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10762 postinstall_cmds='chmod 555 $lib'
10763 # or fails outright, so override atomically:
10764 install_override_mode=555
10767 interix[3-9]*)
10768 version_type=linux
10769 need_lib_prefix=no
10770 need_version=no
10771 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10772 soname_spec='${libname}${release}${shared_ext}$major'
10773 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10774 shlibpath_var=LD_LIBRARY_PATH
10775 shlibpath_overrides_runpath=no
10776 hardcode_into_libs=yes
10779 irix5* | irix6* | nonstopux*)
10780 case $host_os in
10781 nonstopux*) version_type=nonstopux ;;
10783 if test "$lt_cv_prog_gnu_ld" = yes; then
10784 version_type=linux
10785 else
10786 version_type=irix
10787 fi ;;
10788 esac
10789 need_lib_prefix=no
10790 need_version=no
10791 soname_spec='${libname}${release}${shared_ext}$major'
10792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10793 case $host_os in
10794 irix5* | nonstopux*)
10795 libsuff= shlibsuff=
10798 case $LD in # libtool.m4 will add one of these switches to LD
10799 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10800 libsuff= shlibsuff= libmagic=32-bit;;
10801 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10802 libsuff=32 shlibsuff=N32 libmagic=N32;;
10803 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10804 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10805 *) libsuff= shlibsuff= libmagic=never-match;;
10806 esac
10808 esac
10809 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10810 shlibpath_overrides_runpath=no
10811 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10812 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10813 hardcode_into_libs=yes
10816 # No shared lib support for Linux oldld, aout, or coff.
10817 linux*oldld* | linux*aout* | linux*coff*)
10818 dynamic_linker=no
10821 # This must be Linux ELF.
10822 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10823 version_type=linux
10824 need_lib_prefix=no
10825 need_version=no
10826 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10827 soname_spec='${libname}${release}${shared_ext}$major'
10828 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10829 shlibpath_var=LD_LIBRARY_PATH
10830 shlibpath_overrides_runpath=no
10832 # Some binutils ld are patched to set DT_RUNPATH
10833 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10834 $as_echo_n "(cached) " >&6
10835 else
10836 lt_cv_shlibpath_overrides_runpath=no
10837 save_LDFLAGS=$LDFLAGS
10838 save_libdir=$libdir
10839 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10840 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10841 if test x$gcc_no_link = xyes; then
10842 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10845 /* end confdefs.h. */
10848 main ()
10852 return 0;
10854 _ACEOF
10855 if ac_fn_c_try_link "$LINENO"; then :
10856 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10857 lt_cv_shlibpath_overrides_runpath=yes
10860 rm -f core conftest.err conftest.$ac_objext \
10861 conftest$ac_exeext conftest.$ac_ext
10862 LDFLAGS=$save_LDFLAGS
10863 libdir=$save_libdir
10867 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10869 # This implies no fast_install, which is unacceptable.
10870 # Some rework will be needed to allow for fast_install
10871 # before this can be enabled.
10872 hardcode_into_libs=yes
10874 # Append ld.so.conf contents to the search path
10875 if test -f /etc/ld.so.conf; then
10876 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10877 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10880 # We used to test for /lib/ld.so.1 and disable shared libraries on
10881 # powerpc, because MkLinux only supported shared libraries with the
10882 # GNU dynamic linker. Since this was broken with cross compilers,
10883 # most powerpc-linux boxes support dynamic linking these days and
10884 # people can always --disable-shared, the test was removed, and we
10885 # assume the GNU/Linux dynamic linker is in use.
10886 dynamic_linker='GNU/Linux ld.so'
10889 netbsd*)
10890 version_type=sunos
10891 need_lib_prefix=no
10892 need_version=no
10893 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10894 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10895 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10896 dynamic_linker='NetBSD (a.out) ld.so'
10897 else
10898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10899 soname_spec='${libname}${release}${shared_ext}$major'
10900 dynamic_linker='NetBSD ld.elf_so'
10902 shlibpath_var=LD_LIBRARY_PATH
10903 shlibpath_overrides_runpath=yes
10904 hardcode_into_libs=yes
10907 newsos6)
10908 version_type=linux
10909 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10910 shlibpath_var=LD_LIBRARY_PATH
10911 shlibpath_overrides_runpath=yes
10914 *nto* | *qnx*)
10915 version_type=qnx
10916 need_lib_prefix=no
10917 need_version=no
10918 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10919 soname_spec='${libname}${release}${shared_ext}$major'
10920 shlibpath_var=LD_LIBRARY_PATH
10921 shlibpath_overrides_runpath=no
10922 hardcode_into_libs=yes
10923 dynamic_linker='ldqnx.so'
10926 openbsd*)
10927 version_type=sunos
10928 sys_lib_dlsearch_path_spec="/usr/lib"
10929 need_lib_prefix=no
10930 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10931 case $host_os in
10932 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10933 *) need_version=no ;;
10934 esac
10935 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10936 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10937 shlibpath_var=LD_LIBRARY_PATH
10938 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10939 case $host_os in
10940 openbsd2.[89] | openbsd2.[89].*)
10941 shlibpath_overrides_runpath=no
10944 shlibpath_overrides_runpath=yes
10946 esac
10947 else
10948 shlibpath_overrides_runpath=yes
10952 os2*)
10953 libname_spec='$name'
10954 shrext_cmds=".dll"
10955 need_lib_prefix=no
10956 library_names_spec='$libname${shared_ext} $libname.a'
10957 dynamic_linker='OS/2 ld.exe'
10958 shlibpath_var=LIBPATH
10961 osf3* | osf4* | osf5*)
10962 version_type=osf
10963 need_lib_prefix=no
10964 need_version=no
10965 soname_spec='${libname}${release}${shared_ext}$major'
10966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10967 shlibpath_var=LD_LIBRARY_PATH
10968 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10969 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10972 rdos*)
10973 dynamic_linker=no
10976 solaris*)
10977 version_type=linux
10978 need_lib_prefix=no
10979 need_version=no
10980 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10981 soname_spec='${libname}${release}${shared_ext}$major'
10982 shlibpath_var=LD_LIBRARY_PATH
10983 shlibpath_overrides_runpath=yes
10984 hardcode_into_libs=yes
10985 # ldd complains unless libraries are executable
10986 postinstall_cmds='chmod +x $lib'
10989 sunos4*)
10990 version_type=sunos
10991 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10992 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10993 shlibpath_var=LD_LIBRARY_PATH
10994 shlibpath_overrides_runpath=yes
10995 if test "$with_gnu_ld" = yes; then
10996 need_lib_prefix=no
10998 need_version=yes
11001 sysv4 | sysv4.3*)
11002 version_type=linux
11003 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11004 soname_spec='${libname}${release}${shared_ext}$major'
11005 shlibpath_var=LD_LIBRARY_PATH
11006 case $host_vendor in
11007 sni)
11008 shlibpath_overrides_runpath=no
11009 need_lib_prefix=no
11010 runpath_var=LD_RUN_PATH
11012 siemens)
11013 need_lib_prefix=no
11015 motorola)
11016 need_lib_prefix=no
11017 need_version=no
11018 shlibpath_overrides_runpath=no
11019 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11021 esac
11024 sysv4*MP*)
11025 if test -d /usr/nec ;then
11026 version_type=linux
11027 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11028 soname_spec='$libname${shared_ext}.$major'
11029 shlibpath_var=LD_LIBRARY_PATH
11033 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11034 version_type=freebsd-elf
11035 need_lib_prefix=no
11036 need_version=no
11037 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11038 soname_spec='${libname}${release}${shared_ext}$major'
11039 shlibpath_var=LD_LIBRARY_PATH
11040 shlibpath_overrides_runpath=yes
11041 hardcode_into_libs=yes
11042 if test "$with_gnu_ld" = yes; then
11043 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11044 else
11045 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11046 case $host_os in
11047 sco3.2v5*)
11048 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11050 esac
11052 sys_lib_dlsearch_path_spec='/usr/lib'
11055 tpf*)
11056 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11057 version_type=linux
11058 need_lib_prefix=no
11059 need_version=no
11060 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11061 shlibpath_var=LD_LIBRARY_PATH
11062 shlibpath_overrides_runpath=no
11063 hardcode_into_libs=yes
11066 uts4*)
11067 version_type=linux
11068 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11069 soname_spec='${libname}${release}${shared_ext}$major'
11070 shlibpath_var=LD_LIBRARY_PATH
11074 dynamic_linker=no
11076 esac
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11078 $as_echo "$dynamic_linker" >&6; }
11079 test "$dynamic_linker" = no && can_build_shared=no
11081 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11082 if test "$GCC" = yes; then
11083 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11086 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11087 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11089 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11090 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11185 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11186 hardcode_action=
11187 if test -n "$hardcode_libdir_flag_spec" ||
11188 test -n "$runpath_var" ||
11189 test "X$hardcode_automatic" = "Xyes" ; then
11191 # We can hardcode non-existent directories.
11192 if test "$hardcode_direct" != no &&
11193 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11194 # have to relink, otherwise we might link with an installed library
11195 # when we should be linking with a yet-to-be-installed one
11196 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11197 test "$hardcode_minus_L" != no; then
11198 # Linking always hardcodes the temporary library directory.
11199 hardcode_action=relink
11200 else
11201 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11202 hardcode_action=immediate
11204 else
11205 # We cannot hardcode anything, or else we can only hardcode existing
11206 # directories.
11207 hardcode_action=unsupported
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11210 $as_echo "$hardcode_action" >&6; }
11212 if test "$hardcode_action" = relink ||
11213 test "$inherit_rpath" = yes; then
11214 # Fast installation is not supported
11215 enable_fast_install=no
11216 elif test "$shlibpath_overrides_runpath" = yes ||
11217 test "$enable_shared" = no; then
11218 # Fast installation is not necessary
11219 enable_fast_install=needless
11227 if test "x$enable_dlopen" != xyes; then
11228 enable_dlopen=unknown
11229 enable_dlopen_self=unknown
11230 enable_dlopen_self_static=unknown
11231 else
11232 lt_cv_dlopen=no
11233 lt_cv_dlopen_libs=
11235 case $host_os in
11236 beos*)
11237 lt_cv_dlopen="load_add_on"
11238 lt_cv_dlopen_libs=
11239 lt_cv_dlopen_self=yes
11242 mingw* | pw32* | cegcc*)
11243 lt_cv_dlopen="LoadLibrary"
11244 lt_cv_dlopen_libs=
11247 cygwin*)
11248 lt_cv_dlopen="dlopen"
11249 lt_cv_dlopen_libs=
11252 darwin*)
11253 # if libdl is installed we need to link against it
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11255 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11256 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11257 $as_echo_n "(cached) " >&6
11258 else
11259 ac_check_lib_save_LIBS=$LIBS
11260 LIBS="-ldl $LIBS"
11261 if test x$gcc_no_link = xyes; then
11262 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11265 /* end confdefs.h. */
11267 /* Override any GCC internal prototype to avoid an error.
11268 Use char because int might match the return type of a GCC
11269 builtin and then its argument prototype would still apply. */
11270 #ifdef __cplusplus
11271 extern "C"
11272 #endif
11273 char dlopen ();
11275 main ()
11277 return dlopen ();
11279 return 0;
11281 _ACEOF
11282 if ac_fn_c_try_link "$LINENO"; then :
11283 ac_cv_lib_dl_dlopen=yes
11284 else
11285 ac_cv_lib_dl_dlopen=no
11287 rm -f core conftest.err conftest.$ac_objext \
11288 conftest$ac_exeext conftest.$ac_ext
11289 LIBS=$ac_check_lib_save_LIBS
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11292 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11293 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11294 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11295 else
11297 lt_cv_dlopen="dyld"
11298 lt_cv_dlopen_libs=
11299 lt_cv_dlopen_self=yes
11306 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11307 if test "x$ac_cv_func_shl_load" = x""yes; then :
11308 lt_cv_dlopen="shl_load"
11309 else
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11311 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11312 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11313 $as_echo_n "(cached) " >&6
11314 else
11315 ac_check_lib_save_LIBS=$LIBS
11316 LIBS="-ldld $LIBS"
11317 if test x$gcc_no_link = xyes; then
11318 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11321 /* end confdefs.h. */
11323 /* Override any GCC internal prototype to avoid an error.
11324 Use char because int might match the return type of a GCC
11325 builtin and then its argument prototype would still apply. */
11326 #ifdef __cplusplus
11327 extern "C"
11328 #endif
11329 char shl_load ();
11331 main ()
11333 return shl_load ();
11335 return 0;
11337 _ACEOF
11338 if ac_fn_c_try_link "$LINENO"; then :
11339 ac_cv_lib_dld_shl_load=yes
11340 else
11341 ac_cv_lib_dld_shl_load=no
11343 rm -f core conftest.err conftest.$ac_objext \
11344 conftest$ac_exeext conftest.$ac_ext
11345 LIBS=$ac_check_lib_save_LIBS
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11348 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11349 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11350 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11351 else
11352 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11353 if test "x$ac_cv_func_dlopen" = x""yes; then :
11354 lt_cv_dlopen="dlopen"
11355 else
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11357 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11358 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11359 $as_echo_n "(cached) " >&6
11360 else
11361 ac_check_lib_save_LIBS=$LIBS
11362 LIBS="-ldl $LIBS"
11363 if test x$gcc_no_link = xyes; then
11364 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11367 /* end confdefs.h. */
11369 /* Override any GCC internal prototype to avoid an error.
11370 Use char because int might match the return type of a GCC
11371 builtin and then its argument prototype would still apply. */
11372 #ifdef __cplusplus
11373 extern "C"
11374 #endif
11375 char dlopen ();
11377 main ()
11379 return dlopen ();
11381 return 0;
11383 _ACEOF
11384 if ac_fn_c_try_link "$LINENO"; then :
11385 ac_cv_lib_dl_dlopen=yes
11386 else
11387 ac_cv_lib_dl_dlopen=no
11389 rm -f core conftest.err conftest.$ac_objext \
11390 conftest$ac_exeext conftest.$ac_ext
11391 LIBS=$ac_check_lib_save_LIBS
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11394 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11395 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11396 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11397 else
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11399 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11400 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11401 $as_echo_n "(cached) " >&6
11402 else
11403 ac_check_lib_save_LIBS=$LIBS
11404 LIBS="-lsvld $LIBS"
11405 if test x$gcc_no_link = xyes; then
11406 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11409 /* end confdefs.h. */
11411 /* Override any GCC internal prototype to avoid an error.
11412 Use char because int might match the return type of a GCC
11413 builtin and then its argument prototype would still apply. */
11414 #ifdef __cplusplus
11415 extern "C"
11416 #endif
11417 char dlopen ();
11419 main ()
11421 return dlopen ();
11423 return 0;
11425 _ACEOF
11426 if ac_fn_c_try_link "$LINENO"; then :
11427 ac_cv_lib_svld_dlopen=yes
11428 else
11429 ac_cv_lib_svld_dlopen=no
11431 rm -f core conftest.err conftest.$ac_objext \
11432 conftest$ac_exeext conftest.$ac_ext
11433 LIBS=$ac_check_lib_save_LIBS
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11436 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11437 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11438 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11439 else
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11441 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11442 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11443 $as_echo_n "(cached) " >&6
11444 else
11445 ac_check_lib_save_LIBS=$LIBS
11446 LIBS="-ldld $LIBS"
11447 if test x$gcc_no_link = xyes; then
11448 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11451 /* end confdefs.h. */
11453 /* Override any GCC internal prototype to avoid an error.
11454 Use char because int might match the return type of a GCC
11455 builtin and then its argument prototype would still apply. */
11456 #ifdef __cplusplus
11457 extern "C"
11458 #endif
11459 char dld_link ();
11461 main ()
11463 return dld_link ();
11465 return 0;
11467 _ACEOF
11468 if ac_fn_c_try_link "$LINENO"; then :
11469 ac_cv_lib_dld_dld_link=yes
11470 else
11471 ac_cv_lib_dld_dld_link=no
11473 rm -f core conftest.err conftest.$ac_objext \
11474 conftest$ac_exeext conftest.$ac_ext
11475 LIBS=$ac_check_lib_save_LIBS
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11478 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11479 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11480 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11499 esac
11501 if test "x$lt_cv_dlopen" != xno; then
11502 enable_dlopen=yes
11503 else
11504 enable_dlopen=no
11507 case $lt_cv_dlopen in
11508 dlopen)
11509 save_CPPFLAGS="$CPPFLAGS"
11510 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11512 save_LDFLAGS="$LDFLAGS"
11513 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11515 save_LIBS="$LIBS"
11516 LIBS="$lt_cv_dlopen_libs $LIBS"
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11519 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11520 if test "${lt_cv_dlopen_self+set}" = set; then :
11521 $as_echo_n "(cached) " >&6
11522 else
11523 if test "$cross_compiling" = yes; then :
11524 lt_cv_dlopen_self=cross
11525 else
11526 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11527 lt_status=$lt_dlunknown
11528 cat > conftest.$ac_ext <<_LT_EOF
11529 #line 11529 "configure"
11530 #include "confdefs.h"
11532 #if HAVE_DLFCN_H
11533 #include <dlfcn.h>
11534 #endif
11536 #include <stdio.h>
11538 #ifdef RTLD_GLOBAL
11539 # define LT_DLGLOBAL RTLD_GLOBAL
11540 #else
11541 # ifdef DL_GLOBAL
11542 # define LT_DLGLOBAL DL_GLOBAL
11543 # else
11544 # define LT_DLGLOBAL 0
11545 # endif
11546 #endif
11548 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11549 find out it does not work in some platform. */
11550 #ifndef LT_DLLAZY_OR_NOW
11551 # ifdef RTLD_LAZY
11552 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11553 # else
11554 # ifdef DL_LAZY
11555 # define LT_DLLAZY_OR_NOW DL_LAZY
11556 # else
11557 # ifdef RTLD_NOW
11558 # define LT_DLLAZY_OR_NOW RTLD_NOW
11559 # else
11560 # ifdef DL_NOW
11561 # define LT_DLLAZY_OR_NOW DL_NOW
11562 # else
11563 # define LT_DLLAZY_OR_NOW 0
11564 # endif
11565 # endif
11566 # endif
11567 # endif
11568 #endif
11570 /* When -fvisbility=hidden is used, assume the code has been annotated
11571 correspondingly for the symbols needed. */
11572 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11573 void fnord () __attribute__((visibility("default")));
11574 #endif
11576 void fnord () { int i=42; }
11577 int main ()
11579 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11580 int status = $lt_dlunknown;
11582 if (self)
11584 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11585 else
11587 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11588 else puts (dlerror ());
11590 /* dlclose (self); */
11592 else
11593 puts (dlerror ());
11595 return status;
11597 _LT_EOF
11598 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11599 (eval $ac_link) 2>&5
11600 ac_status=$?
11601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11602 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11603 (./conftest; exit; ) >&5 2>/dev/null
11604 lt_status=$?
11605 case x$lt_status in
11606 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11607 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11608 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11609 esac
11610 else :
11611 # compilation failed
11612 lt_cv_dlopen_self=no
11615 rm -fr conftest*
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11620 $as_echo "$lt_cv_dlopen_self" >&6; }
11622 if test "x$lt_cv_dlopen_self" = xyes; then
11623 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11625 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11626 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11627 $as_echo_n "(cached) " >&6
11628 else
11629 if test "$cross_compiling" = yes; then :
11630 lt_cv_dlopen_self_static=cross
11631 else
11632 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11633 lt_status=$lt_dlunknown
11634 cat > conftest.$ac_ext <<_LT_EOF
11635 #line 11635 "configure"
11636 #include "confdefs.h"
11638 #if HAVE_DLFCN_H
11639 #include <dlfcn.h>
11640 #endif
11642 #include <stdio.h>
11644 #ifdef RTLD_GLOBAL
11645 # define LT_DLGLOBAL RTLD_GLOBAL
11646 #else
11647 # ifdef DL_GLOBAL
11648 # define LT_DLGLOBAL DL_GLOBAL
11649 # else
11650 # define LT_DLGLOBAL 0
11651 # endif
11652 #endif
11654 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11655 find out it does not work in some platform. */
11656 #ifndef LT_DLLAZY_OR_NOW
11657 # ifdef RTLD_LAZY
11658 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11659 # else
11660 # ifdef DL_LAZY
11661 # define LT_DLLAZY_OR_NOW DL_LAZY
11662 # else
11663 # ifdef RTLD_NOW
11664 # define LT_DLLAZY_OR_NOW RTLD_NOW
11665 # else
11666 # ifdef DL_NOW
11667 # define LT_DLLAZY_OR_NOW DL_NOW
11668 # else
11669 # define LT_DLLAZY_OR_NOW 0
11670 # endif
11671 # endif
11672 # endif
11673 # endif
11674 #endif
11676 /* When -fvisbility=hidden is used, assume the code has been annotated
11677 correspondingly for the symbols needed. */
11678 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11679 void fnord () __attribute__((visibility("default")));
11680 #endif
11682 void fnord () { int i=42; }
11683 int main ()
11685 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11686 int status = $lt_dlunknown;
11688 if (self)
11690 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11691 else
11693 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11694 else puts (dlerror ());
11696 /* dlclose (self); */
11698 else
11699 puts (dlerror ());
11701 return status;
11703 _LT_EOF
11704 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11705 (eval $ac_link) 2>&5
11706 ac_status=$?
11707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11708 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11709 (./conftest; exit; ) >&5 2>/dev/null
11710 lt_status=$?
11711 case x$lt_status in
11712 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11713 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11714 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11715 esac
11716 else :
11717 # compilation failed
11718 lt_cv_dlopen_self_static=no
11721 rm -fr conftest*
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11726 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11729 CPPFLAGS="$save_CPPFLAGS"
11730 LDFLAGS="$save_LDFLAGS"
11731 LIBS="$save_LIBS"
11733 esac
11735 case $lt_cv_dlopen_self in
11736 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11737 *) enable_dlopen_self=unknown ;;
11738 esac
11740 case $lt_cv_dlopen_self_static in
11741 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11742 *) enable_dlopen_self_static=unknown ;;
11743 esac
11762 striplib=
11763 old_striplib=
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11765 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11766 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11767 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11768 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11770 $as_echo "yes" >&6; }
11771 else
11772 # FIXME - insert some real tests, host_os isn't really good enough
11773 case $host_os in
11774 darwin*)
11775 if test -n "$STRIP" ; then
11776 striplib="$STRIP -x"
11777 old_striplib="$STRIP -S"
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11779 $as_echo "yes" >&6; }
11780 else
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11782 $as_echo "no" >&6; }
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11787 $as_echo "no" >&6; }
11789 esac
11803 # Report which library types will actually be built
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11805 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11807 $as_echo "$can_build_shared" >&6; }
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11810 $as_echo_n "checking whether to build shared libraries... " >&6; }
11811 test "$can_build_shared" = "no" && enable_shared=no
11813 # On AIX, shared libraries and static libraries use the same namespace, and
11814 # are all built from PIC.
11815 case $host_os in
11816 aix3*)
11817 test "$enable_shared" = yes && enable_static=no
11818 if test -n "$RANLIB"; then
11819 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11820 postinstall_cmds='$RANLIB $lib'
11824 aix[4-9]*)
11825 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11826 test "$enable_shared" = yes && enable_static=no
11829 esac
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11831 $as_echo "$enable_shared" >&6; }
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11834 $as_echo_n "checking whether to build static libraries... " >&6; }
11835 # Make sure either enable_shared or enable_static is yes.
11836 test "$enable_shared" = yes || enable_static=yes
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11838 $as_echo "$enable_static" >&6; }
11844 ac_ext=c
11845 ac_cpp='$CPP $CPPFLAGS'
11846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11850 CC="$lt_save_CC"
11852 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11853 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11854 (test "X$CXX" != "Xg++"))) ; then
11855 ac_ext=cpp
11856 ac_cpp='$CXXCPP $CPPFLAGS'
11857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11861 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11862 if test -z "$CXXCPP"; then
11863 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11864 $as_echo_n "(cached) " >&6
11865 else
11866 # Double quotes because CXXCPP needs to be expanded
11867 for CXXCPP in "$CXX -E" "/lib/cpp"
11869 ac_preproc_ok=false
11870 for ac_cxx_preproc_warn_flag in '' yes
11872 # Use a header file that comes with gcc, so configuring glibc
11873 # with a fresh cross-compiler works.
11874 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11875 # <limits.h> exists even on freestanding compilers.
11876 # On the NeXT, cc -E runs the code through the compiler's parser,
11877 # not just through cpp. "Syntax error" is here to catch this case.
11878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11879 /* end confdefs.h. */
11880 #ifdef __STDC__
11881 # include <limits.h>
11882 #else
11883 # include <assert.h>
11884 #endif
11885 Syntax error
11886 _ACEOF
11887 if ac_fn_cxx_try_cpp "$LINENO"; then :
11889 else
11890 # Broken: fails on valid input.
11891 continue
11893 rm -f conftest.err conftest.$ac_ext
11895 # OK, works on sane cases. Now check whether nonexistent headers
11896 # can be detected and how.
11897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11898 /* end confdefs.h. */
11899 #include <ac_nonexistent.h>
11900 _ACEOF
11901 if ac_fn_cxx_try_cpp "$LINENO"; then :
11902 # Broken: success on invalid input.
11903 continue
11904 else
11905 # Passes both tests.
11906 ac_preproc_ok=:
11907 break
11909 rm -f conftest.err conftest.$ac_ext
11911 done
11912 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11913 rm -f conftest.err conftest.$ac_ext
11914 if $ac_preproc_ok; then :
11915 break
11918 done
11919 ac_cv_prog_CXXCPP=$CXXCPP
11922 CXXCPP=$ac_cv_prog_CXXCPP
11923 else
11924 ac_cv_prog_CXXCPP=$CXXCPP
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11927 $as_echo "$CXXCPP" >&6; }
11928 ac_preproc_ok=false
11929 for ac_cxx_preproc_warn_flag in '' yes
11931 # Use a header file that comes with gcc, so configuring glibc
11932 # with a fresh cross-compiler works.
11933 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11934 # <limits.h> exists even on freestanding compilers.
11935 # On the NeXT, cc -E runs the code through the compiler's parser,
11936 # not just through cpp. "Syntax error" is here to catch this case.
11937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11938 /* end confdefs.h. */
11939 #ifdef __STDC__
11940 # include <limits.h>
11941 #else
11942 # include <assert.h>
11943 #endif
11944 Syntax error
11945 _ACEOF
11946 if ac_fn_cxx_try_cpp "$LINENO"; then :
11948 else
11949 # Broken: fails on valid input.
11950 continue
11952 rm -f conftest.err conftest.$ac_ext
11954 # OK, works on sane cases. Now check whether nonexistent headers
11955 # can be detected and how.
11956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11957 /* end confdefs.h. */
11958 #include <ac_nonexistent.h>
11959 _ACEOF
11960 if ac_fn_cxx_try_cpp "$LINENO"; then :
11961 # Broken: success on invalid input.
11962 continue
11963 else
11964 # Passes both tests.
11965 ac_preproc_ok=:
11966 break
11968 rm -f conftest.err conftest.$ac_ext
11970 done
11971 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11972 rm -f conftest.err conftest.$ac_ext
11973 if $ac_preproc_ok; then :
11975 else
11976 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11977 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11978 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11979 See \`config.log' for more details." "$LINENO" 5; }
11982 ac_ext=c
11983 ac_cpp='$CPP $CPPFLAGS'
11984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11988 else
11989 _lt_caught_CXX_error=yes
11992 ac_ext=cpp
11993 ac_cpp='$CXXCPP $CPPFLAGS'
11994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11998 archive_cmds_need_lc_CXX=no
11999 allow_undefined_flag_CXX=
12000 always_export_symbols_CXX=no
12001 archive_expsym_cmds_CXX=
12002 compiler_needs_object_CXX=no
12003 export_dynamic_flag_spec_CXX=
12004 hardcode_direct_CXX=no
12005 hardcode_direct_absolute_CXX=no
12006 hardcode_libdir_flag_spec_CXX=
12007 hardcode_libdir_flag_spec_ld_CXX=
12008 hardcode_libdir_separator_CXX=
12009 hardcode_minus_L_CXX=no
12010 hardcode_shlibpath_var_CXX=unsupported
12011 hardcode_automatic_CXX=no
12012 inherit_rpath_CXX=no
12013 module_cmds_CXX=
12014 module_expsym_cmds_CXX=
12015 link_all_deplibs_CXX=unknown
12016 old_archive_cmds_CXX=$old_archive_cmds
12017 reload_flag_CXX=$reload_flag
12018 reload_cmds_CXX=$reload_cmds
12019 no_undefined_flag_CXX=
12020 whole_archive_flag_spec_CXX=
12021 enable_shared_with_static_runtimes_CXX=no
12023 # Source file extension for C++ test sources.
12024 ac_ext=cpp
12026 # Object file extension for compiled C++ test sources.
12027 objext=o
12028 objext_CXX=$objext
12030 # No sense in running all these tests if we already determined that
12031 # the CXX compiler isn't working. Some variables (like enable_shared)
12032 # are currently assumed to apply to all compilers on this platform,
12033 # and will be corrupted by setting them based on a non-working compiler.
12034 if test "$_lt_caught_CXX_error" != yes; then
12035 # Code to be used in simple compile tests
12036 lt_simple_compile_test_code="int some_variable = 0;"
12038 # Code to be used in simple link tests
12039 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12041 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12048 # If no C compiler was specified, use CC.
12049 LTCC=${LTCC-"$CC"}
12051 # If no C compiler flags were specified, use CFLAGS.
12052 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12054 # Allow CC to be a program name with arguments.
12055 compiler=$CC
12058 # save warnings/boilerplate of simple test code
12059 ac_outfile=conftest.$ac_objext
12060 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12061 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12062 _lt_compiler_boilerplate=`cat conftest.err`
12063 $RM conftest*
12065 ac_outfile=conftest.$ac_objext
12066 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12067 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12068 _lt_linker_boilerplate=`cat conftest.err`
12069 $RM -r conftest*
12072 # Allow CC to be a program name with arguments.
12073 lt_save_CC=$CC
12074 lt_save_LD=$LD
12075 lt_save_GCC=$GCC
12076 GCC=$GXX
12077 lt_save_with_gnu_ld=$with_gnu_ld
12078 lt_save_path_LD=$lt_cv_path_LD
12079 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12080 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12081 else
12082 $as_unset lt_cv_prog_gnu_ld
12084 if test -n "${lt_cv_path_LDCXX+set}"; then
12085 lt_cv_path_LD=$lt_cv_path_LDCXX
12086 else
12087 $as_unset lt_cv_path_LD
12089 test -z "${LDCXX+set}" || LD=$LDCXX
12090 CC=${CXX-"c++"}
12091 compiler=$CC
12092 compiler_CXX=$CC
12093 for cc_temp in $compiler""; do
12094 case $cc_temp in
12095 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12096 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12097 \-*) ;;
12098 *) break;;
12099 esac
12100 done
12101 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12104 if test -n "$compiler"; then
12105 # We don't want -fno-exception when compiling C++ code, so set the
12106 # no_builtin_flag separately
12107 if test "$GXX" = yes; then
12108 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12109 else
12110 lt_prog_compiler_no_builtin_flag_CXX=
12113 if test "$GXX" = yes; then
12114 # Set up default GNU C++ configuration
12118 # Check whether --with-gnu-ld was given.
12119 if test "${with_gnu_ld+set}" = set; then :
12120 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12121 else
12122 with_gnu_ld=no
12125 ac_prog=ld
12126 if test "$GCC" = yes; then
12127 # Check if gcc -print-prog-name=ld gives a path.
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12129 $as_echo_n "checking for ld used by $CC... " >&6; }
12130 case $host in
12131 *-*-mingw*)
12132 # gcc leaves a trailing carriage return which upsets mingw
12133 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12135 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12136 esac
12137 case $ac_prog in
12138 # Accept absolute paths.
12139 [\\/]* | ?:[\\/]*)
12140 re_direlt='/[^/][^/]*/\.\./'
12141 # Canonicalize the pathname of ld
12142 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12143 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12144 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12145 done
12146 test -z "$LD" && LD="$ac_prog"
12149 # If it fails, then pretend we aren't using GCC.
12150 ac_prog=ld
12153 # If it is relative, then search for the first ld in PATH.
12154 with_gnu_ld=unknown
12156 esac
12157 elif test "$with_gnu_ld" = yes; then
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12159 $as_echo_n "checking for GNU ld... " >&6; }
12160 else
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12162 $as_echo_n "checking for non-GNU ld... " >&6; }
12164 if test "${lt_cv_path_LD+set}" = set; then :
12165 $as_echo_n "(cached) " >&6
12166 else
12167 if test -z "$LD"; then
12168 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12169 for ac_dir in $PATH; do
12170 IFS="$lt_save_ifs"
12171 test -z "$ac_dir" && ac_dir=.
12172 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12173 lt_cv_path_LD="$ac_dir/$ac_prog"
12174 # Check to see if the program is GNU ld. I'd rather use --version,
12175 # but apparently some variants of GNU ld only accept -v.
12176 # Break only if it was the GNU/non-GNU ld that we prefer.
12177 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12178 *GNU* | *'with BFD'*)
12179 test "$with_gnu_ld" != no && break
12182 test "$with_gnu_ld" != yes && break
12184 esac
12186 done
12187 IFS="$lt_save_ifs"
12188 else
12189 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12193 LD="$lt_cv_path_LD"
12194 if test -n "$LD"; then
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12196 $as_echo "$LD" >&6; }
12197 else
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12199 $as_echo "no" >&6; }
12201 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12203 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12204 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12205 $as_echo_n "(cached) " >&6
12206 else
12207 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12208 case `$LD -v 2>&1 </dev/null` in
12209 *GNU* | *'with BFD'*)
12210 lt_cv_prog_gnu_ld=yes
12213 lt_cv_prog_gnu_ld=no
12215 esac
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12218 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12219 with_gnu_ld=$lt_cv_prog_gnu_ld
12227 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12228 # archiving commands below assume that GNU ld is being used.
12229 if test "$with_gnu_ld" = yes; then
12230 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12231 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12233 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12234 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12236 # If archive_cmds runs LD, not CC, wlarc should be empty
12237 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12238 # investigate it a little bit more. (MM)
12239 wlarc='${wl}'
12241 # ancient GNU ld didn't support --whole-archive et. al.
12242 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12243 $GREP 'no-whole-archive' > /dev/null; then
12244 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12245 else
12246 whole_archive_flag_spec_CXX=
12248 else
12249 with_gnu_ld=no
12250 wlarc=
12252 # A generic and very simple default shared library creation
12253 # command for GNU C++ for the case where it uses the native
12254 # linker, instead of GNU ld. If possible, this setting should
12255 # overridden to take advantage of the native linker features on
12256 # the platform it is being used on.
12257 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12260 # Commands to make compiler produce verbose output that lists
12261 # what "hidden" libraries, object files and flags are used when
12262 # linking a shared library.
12263 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12265 else
12266 GXX=no
12267 with_gnu_ld=no
12268 wlarc=
12271 # PORTME: fill in a description of your system's C++ link characteristics
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12273 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12274 ld_shlibs_CXX=yes
12275 case $host_os in
12276 aix3*)
12277 # FIXME: insert proper C++ library support
12278 ld_shlibs_CXX=no
12280 aix[4-9]*)
12281 if test "$host_cpu" = ia64; then
12282 # On IA64, the linker does run time linking by default, so we don't
12283 # have to do anything special.
12284 aix_use_runtimelinking=no
12285 exp_sym_flag='-Bexport'
12286 no_entry_flag=""
12287 else
12288 aix_use_runtimelinking=no
12290 # Test if we are trying to use run time linking or normal
12291 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12292 # need to do runtime linking.
12293 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12294 for ld_flag in $LDFLAGS; do
12295 case $ld_flag in
12296 *-brtl*)
12297 aix_use_runtimelinking=yes
12298 break
12300 esac
12301 done
12303 esac
12305 exp_sym_flag='-bexport'
12306 no_entry_flag='-bnoentry'
12309 # When large executables or shared objects are built, AIX ld can
12310 # have problems creating the table of contents. If linking a library
12311 # or program results in "error TOC overflow" add -mminimal-toc to
12312 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12313 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12315 archive_cmds_CXX=''
12316 hardcode_direct_CXX=yes
12317 hardcode_direct_absolute_CXX=yes
12318 hardcode_libdir_separator_CXX=':'
12319 link_all_deplibs_CXX=yes
12320 file_list_spec_CXX='${wl}-f,'
12322 if test "$GXX" = yes; then
12323 case $host_os in aix4.[012]|aix4.[012].*)
12324 # We only want to do this on AIX 4.2 and lower, the check
12325 # below for broken collect2 doesn't work under 4.3+
12326 collect2name=`${CC} -print-prog-name=collect2`
12327 if test -f "$collect2name" &&
12328 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12329 then
12330 # We have reworked collect2
12332 else
12333 # We have old collect2
12334 hardcode_direct_CXX=unsupported
12335 # It fails to find uninstalled libraries when the uninstalled
12336 # path is not listed in the libpath. Setting hardcode_minus_L
12337 # to unsupported forces relinking
12338 hardcode_minus_L_CXX=yes
12339 hardcode_libdir_flag_spec_CXX='-L$libdir'
12340 hardcode_libdir_separator_CXX=
12342 esac
12343 shared_flag='-shared'
12344 if test "$aix_use_runtimelinking" = yes; then
12345 shared_flag="$shared_flag "'${wl}-G'
12347 else
12348 # not using gcc
12349 if test "$host_cpu" = ia64; then
12350 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12351 # chokes on -Wl,-G. The following line is correct:
12352 shared_flag='-G'
12353 else
12354 if test "$aix_use_runtimelinking" = yes; then
12355 shared_flag='${wl}-G'
12356 else
12357 shared_flag='${wl}-bM:SRE'
12362 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12363 # It seems that -bexpall does not export symbols beginning with
12364 # underscore (_), so it is better to generate a list of symbols to
12365 # export.
12366 always_export_symbols_CXX=yes
12367 if test "$aix_use_runtimelinking" = yes; then
12368 # Warning - without using the other runtime loading flags (-brtl),
12369 # -berok will link without error, but may produce a broken library.
12370 allow_undefined_flag_CXX='-berok'
12371 # Determine the default libpath from the value encoded in an empty
12372 # executable.
12373 if test x$gcc_no_link = xyes; then
12374 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12377 /* end confdefs.h. */
12380 main ()
12384 return 0;
12386 _ACEOF
12387 if ac_fn_cxx_try_link "$LINENO"; then :
12389 lt_aix_libpath_sed='
12390 /Import File Strings/,/^$/ {
12391 /^0/ {
12392 s/^0 *\(.*\)$/\1/
12396 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12397 # Check for a 64-bit object if we didn't find anything.
12398 if test -z "$aix_libpath"; then
12399 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12402 rm -f core conftest.err conftest.$ac_objext \
12403 conftest$ac_exeext conftest.$ac_ext
12404 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12406 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12408 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12409 else
12410 if test "$host_cpu" = ia64; then
12411 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12412 allow_undefined_flag_CXX="-z nodefs"
12413 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12414 else
12415 # Determine the default libpath from the value encoded in an
12416 # empty executable.
12417 if test x$gcc_no_link = xyes; then
12418 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12421 /* end confdefs.h. */
12424 main ()
12428 return 0;
12430 _ACEOF
12431 if ac_fn_cxx_try_link "$LINENO"; then :
12433 lt_aix_libpath_sed='
12434 /Import File Strings/,/^$/ {
12435 /^0/ {
12436 s/^0 *\(.*\)$/\1/
12440 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12441 # Check for a 64-bit object if we didn't find anything.
12442 if test -z "$aix_libpath"; then
12443 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12446 rm -f core conftest.err conftest.$ac_objext \
12447 conftest$ac_exeext conftest.$ac_ext
12448 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12450 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12451 # Warning - without using the other run time loading flags,
12452 # -berok will link without error, but may produce a broken library.
12453 no_undefined_flag_CXX=' ${wl}-bernotok'
12454 allow_undefined_flag_CXX=' ${wl}-berok'
12455 if test "$with_gnu_ld" = yes; then
12456 # We only use this code for GNU lds that support --whole-archive.
12457 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12458 else
12459 # Exported symbols can be pulled into shared objects from archives
12460 whole_archive_flag_spec_CXX='$convenience'
12462 archive_cmds_need_lc_CXX=yes
12463 # This is similar to how AIX traditionally builds its shared
12464 # libraries.
12465 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12470 beos*)
12471 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12472 allow_undefined_flag_CXX=unsupported
12473 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12474 # support --undefined. This deserves some investigation. FIXME
12475 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12476 else
12477 ld_shlibs_CXX=no
12481 chorus*)
12482 case $cc_basename in
12484 # FIXME: insert proper C++ library support
12485 ld_shlibs_CXX=no
12487 esac
12490 cygwin* | mingw* | pw32* | cegcc*)
12491 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12492 # as there is no search path for DLLs.
12493 hardcode_libdir_flag_spec_CXX='-L$libdir'
12494 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12495 allow_undefined_flag_CXX=unsupported
12496 always_export_symbols_CXX=no
12497 enable_shared_with_static_runtimes_CXX=yes
12499 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12500 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12501 # If the export-symbols file already is a .def file (1st line
12502 # is EXPORTS), use it as is; otherwise, prepend...
12503 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12504 cp $export_symbols $output_objdir/$soname.def;
12505 else
12506 echo EXPORTS > $output_objdir/$soname.def;
12507 cat $export_symbols >> $output_objdir/$soname.def;
12509 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12510 else
12511 ld_shlibs_CXX=no
12514 darwin* | rhapsody*)
12517 archive_cmds_need_lc_CXX=no
12518 hardcode_direct_CXX=no
12519 hardcode_automatic_CXX=yes
12520 hardcode_shlibpath_var_CXX=unsupported
12521 if test "$lt_cv_ld_force_load" = "yes"; then
12522 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12523 else
12524 whole_archive_flag_spec_CXX=''
12526 link_all_deplibs_CXX=yes
12527 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12528 case $cc_basename in
12529 ifort*) _lt_dar_can_shared=yes ;;
12530 *) _lt_dar_can_shared=$GCC ;;
12531 esac
12532 if test "$_lt_dar_can_shared" = "yes"; then
12533 output_verbose_link_cmd=func_echo_all
12534 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12535 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12536 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12537 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12538 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12539 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12540 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12543 else
12544 ld_shlibs_CXX=no
12549 dgux*)
12550 case $cc_basename in
12551 ec++*)
12552 # FIXME: insert proper C++ library support
12553 ld_shlibs_CXX=no
12555 ghcx*)
12556 # Green Hills C++ Compiler
12557 # FIXME: insert proper C++ library support
12558 ld_shlibs_CXX=no
12561 # FIXME: insert proper C++ library support
12562 ld_shlibs_CXX=no
12564 esac
12567 freebsd2.*)
12568 # C++ shared libraries reported to be fairly broken before
12569 # switch to ELF
12570 ld_shlibs_CXX=no
12573 freebsd-elf*)
12574 archive_cmds_need_lc_CXX=no
12577 freebsd* | dragonfly*)
12578 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12579 # conventions
12580 ld_shlibs_CXX=yes
12583 gnu*)
12586 haiku*)
12587 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12588 link_all_deplibs_CXX=yes
12591 hpux9*)
12592 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12593 hardcode_libdir_separator_CXX=:
12594 export_dynamic_flag_spec_CXX='${wl}-E'
12595 hardcode_direct_CXX=yes
12596 hardcode_minus_L_CXX=yes # Not in the search PATH,
12597 # but as the default
12598 # location of the library.
12600 case $cc_basename in
12601 CC*)
12602 # FIXME: insert proper C++ library support
12603 ld_shlibs_CXX=no
12605 aCC*)
12606 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12607 # Commands to make compiler produce verbose output that lists
12608 # what "hidden" libraries, object files and flags are used when
12609 # linking a shared library.
12611 # There doesn't appear to be a way to prevent this compiler from
12612 # explicitly linking system object files so we need to strip them
12613 # from the output so that they don't get included in the library
12614 # dependencies.
12615 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12618 if test "$GXX" = yes; then
12619 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12620 else
12621 # FIXME: insert proper C++ library support
12622 ld_shlibs_CXX=no
12625 esac
12628 hpux10*|hpux11*)
12629 if test $with_gnu_ld = no; then
12630 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12631 hardcode_libdir_separator_CXX=:
12633 case $host_cpu in
12634 hppa*64*|ia64*)
12637 export_dynamic_flag_spec_CXX='${wl}-E'
12639 esac
12641 case $host_cpu in
12642 hppa*64*|ia64*)
12643 hardcode_direct_CXX=no
12644 hardcode_shlibpath_var_CXX=no
12647 hardcode_direct_CXX=yes
12648 hardcode_direct_absolute_CXX=yes
12649 hardcode_minus_L_CXX=yes # Not in the search PATH,
12650 # but as the default
12651 # location of the library.
12653 esac
12655 case $cc_basename in
12656 CC*)
12657 # FIXME: insert proper C++ library support
12658 ld_shlibs_CXX=no
12660 aCC*)
12661 case $host_cpu in
12662 hppa*64*)
12663 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12665 ia64*)
12666 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12669 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12671 esac
12672 # Commands to make compiler produce verbose output that lists
12673 # what "hidden" libraries, object files and flags are used when
12674 # linking a shared library.
12676 # There doesn't appear to be a way to prevent this compiler from
12677 # explicitly linking system object files so we need to strip them
12678 # from the output so that they don't get included in the library
12679 # dependencies.
12680 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12683 if test "$GXX" = yes; then
12684 if test $with_gnu_ld = no; then
12685 case $host_cpu in
12686 hppa*64*)
12687 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12689 ia64*)
12690 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12693 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12695 esac
12697 else
12698 # FIXME: insert proper C++ library support
12699 ld_shlibs_CXX=no
12702 esac
12705 interix[3-9]*)
12706 hardcode_direct_CXX=no
12707 hardcode_shlibpath_var_CXX=no
12708 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12709 export_dynamic_flag_spec_CXX='${wl}-E'
12710 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12711 # Instead, shared libraries are loaded at an image base (0x10000000 by
12712 # default) and relocated if they conflict, which is a slow very memory
12713 # consuming and fragmenting process. To avoid this, we pick a random,
12714 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12715 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12716 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12717 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12719 irix5* | irix6*)
12720 case $cc_basename in
12721 CC*)
12722 # SGI C++
12723 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12725 # Archives containing C++ object files must be created using
12726 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12727 # necessary to make sure instantiated templates are included
12728 # in the archive.
12729 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12732 if test "$GXX" = yes; then
12733 if test "$with_gnu_ld" = no; then
12734 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12735 else
12736 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
12739 link_all_deplibs_CXX=yes
12741 esac
12742 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12743 hardcode_libdir_separator_CXX=:
12744 inherit_rpath_CXX=yes
12747 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12748 case $cc_basename in
12749 KCC*)
12750 # Kuck and Associates, Inc. (KAI) C++ Compiler
12752 # KCC will only create a shared library if the output file
12753 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12754 # to its proper name (with version) after linking.
12755 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12756 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12757 # Commands to make compiler produce verbose output that lists
12758 # what "hidden" libraries, object files and flags are used when
12759 # linking a shared library.
12761 # There doesn't appear to be a way to prevent this compiler from
12762 # explicitly linking system object files so we need to strip them
12763 # from the output so that they don't get included in the library
12764 # dependencies.
12765 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12767 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12768 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12770 # Archives containing C++ object files must be created using
12771 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12772 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12774 icpc* | ecpc* )
12775 # Intel C++
12776 with_gnu_ld=yes
12777 # version 8.0 and above of icpc choke on multiply defined symbols
12778 # if we add $predep_objects and $postdep_objects, however 7.1 and
12779 # earlier do not add the objects themselves.
12780 case `$CC -V 2>&1` in
12781 *"Version 7."*)
12782 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12783 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12785 *) # Version 8.0 or newer
12786 tmp_idyn=
12787 case $host_cpu in
12788 ia64*) tmp_idyn=' -i_dynamic';;
12789 esac
12790 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12791 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12793 esac
12794 archive_cmds_need_lc_CXX=no
12795 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12796 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12797 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12799 pgCC* | pgcpp*)
12800 # Portland Group C++ compiler
12801 case `$CC -V` in
12802 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12803 prelink_cmds_CXX='tpldir=Template.dir~
12804 rm -rf $tpldir~
12805 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12806 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12807 old_archive_cmds_CXX='tpldir=Template.dir~
12808 rm -rf $tpldir~
12809 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12810 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12811 $RANLIB $oldlib'
12812 archive_cmds_CXX='tpldir=Template.dir~
12813 rm -rf $tpldir~
12814 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12815 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12816 archive_expsym_cmds_CXX='tpldir=Template.dir~
12817 rm -rf $tpldir~
12818 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12819 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12821 *) # Version 6 and above use weak symbols
12822 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12823 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12825 esac
12827 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12828 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12829 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12831 cxx*)
12832 # Compaq C++
12833 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12834 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12836 runpath_var=LD_RUN_PATH
12837 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12838 hardcode_libdir_separator_CXX=:
12840 # Commands to make compiler produce verbose output that lists
12841 # what "hidden" libraries, object files and flags are used when
12842 # linking a shared library.
12844 # There doesn't appear to be a way to prevent this compiler from
12845 # explicitly linking system object files so we need to strip them
12846 # from the output so that they don't get included in the library
12847 # dependencies.
12848 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
12850 xl* | mpixl* | bgxl*)
12851 # IBM XL 8.0 on PPC, with GNU ld
12852 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12853 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12854 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12855 if test "x$supports_anon_versioning" = xyes; then
12856 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12857 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12858 echo "local: *; };" >> $output_objdir/$libname.ver~
12859 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12863 case `$CC -V 2>&1 | sed 5q` in
12864 *Sun\ C*)
12865 # Sun C++ 5.9
12866 no_undefined_flag_CXX=' -zdefs'
12867 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12868 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12869 hardcode_libdir_flag_spec_CXX='-R$libdir'
12870 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12871 compiler_needs_object_CXX=yes
12873 # Not sure whether something based on
12874 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12875 # would be better.
12876 output_verbose_link_cmd='func_echo_all'
12878 # Archives containing C++ object files must be created using
12879 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12880 # necessary to make sure instantiated templates are included
12881 # in the archive.
12882 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12884 esac
12886 esac
12889 lynxos*)
12890 # FIXME: insert proper C++ library support
12891 ld_shlibs_CXX=no
12894 m88k*)
12895 # FIXME: insert proper C++ library support
12896 ld_shlibs_CXX=no
12899 mvs*)
12900 case $cc_basename in
12901 cxx*)
12902 # FIXME: insert proper C++ library support
12903 ld_shlibs_CXX=no
12906 # FIXME: insert proper C++ library support
12907 ld_shlibs_CXX=no
12909 esac
12912 netbsd*)
12913 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12914 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12915 wlarc=
12916 hardcode_libdir_flag_spec_CXX='-R$libdir'
12917 hardcode_direct_CXX=yes
12918 hardcode_shlibpath_var_CXX=no
12920 # Workaround some broken pre-1.5 toolchains
12921 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12924 *nto* | *qnx*)
12925 ld_shlibs_CXX=yes
12928 openbsd2*)
12929 # C++ shared libraries are fairly broken
12930 ld_shlibs_CXX=no
12933 openbsd*)
12934 if test -f /usr/libexec/ld.so; then
12935 hardcode_direct_CXX=yes
12936 hardcode_shlibpath_var_CXX=no
12937 hardcode_direct_absolute_CXX=yes
12938 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12939 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12940 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12941 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12942 export_dynamic_flag_spec_CXX='${wl}-E'
12943 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12945 output_verbose_link_cmd=func_echo_all
12946 else
12947 ld_shlibs_CXX=no
12951 osf3* | osf4* | osf5*)
12952 case $cc_basename in
12953 KCC*)
12954 # Kuck and Associates, Inc. (KAI) C++ Compiler
12956 # KCC will only create a shared library if the output file
12957 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12958 # to its proper name (with version) after linking.
12959 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12961 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12962 hardcode_libdir_separator_CXX=:
12964 # Archives containing C++ object files must be created using
12965 # the KAI C++ compiler.
12966 case $host in
12967 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12968 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12969 esac
12971 RCC*)
12972 # Rational C++ 2.4.1
12973 # FIXME: insert proper C++ library support
12974 ld_shlibs_CXX=no
12976 cxx*)
12977 case $host in
12978 osf3*)
12979 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12980 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12981 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12984 allow_undefined_flag_CXX=' -expect_unresolved \*'
12985 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12986 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12987 echo "-hidden">> $lib.exp~
12988 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
12989 $RM $lib.exp'
12990 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12992 esac
12994 hardcode_libdir_separator_CXX=:
12996 # Commands to make compiler produce verbose output that lists
12997 # what "hidden" libraries, object files and flags are used when
12998 # linking a shared library.
13000 # There doesn't appear to be a way to prevent this compiler from
13001 # explicitly linking system object files so we need to strip them
13002 # from the output so that they don't get included in the library
13003 # dependencies.
13004 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13007 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13008 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13009 case $host in
13010 osf3*)
13011 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13014 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13016 esac
13018 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13019 hardcode_libdir_separator_CXX=:
13021 # Commands to make compiler produce verbose output that lists
13022 # what "hidden" libraries, object files and flags are used when
13023 # linking a shared library.
13024 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13026 else
13027 # FIXME: insert proper C++ library support
13028 ld_shlibs_CXX=no
13031 esac
13034 psos*)
13035 # FIXME: insert proper C++ library support
13036 ld_shlibs_CXX=no
13039 sunos4*)
13040 case $cc_basename in
13041 CC*)
13042 # Sun C++ 4.x
13043 # FIXME: insert proper C++ library support
13044 ld_shlibs_CXX=no
13046 lcc*)
13047 # Lucid
13048 # FIXME: insert proper C++ library support
13049 ld_shlibs_CXX=no
13052 # FIXME: insert proper C++ library support
13053 ld_shlibs_CXX=no
13055 esac
13058 solaris*)
13059 case $cc_basename in
13060 CC*)
13061 # Sun C++ 4.2, 5.x and Centerline C++
13062 archive_cmds_need_lc_CXX=yes
13063 no_undefined_flag_CXX=' -zdefs'
13064 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13065 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13066 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13068 hardcode_libdir_flag_spec_CXX='-R$libdir'
13069 hardcode_shlibpath_var_CXX=no
13070 case $host_os in
13071 solaris2.[0-5] | solaris2.[0-5].*) ;;
13073 # The compiler driver will combine and reorder linker options,
13074 # but understands `-z linker_flag'.
13075 # Supported since Solaris 2.6 (maybe 2.5.1?)
13076 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13078 esac
13079 link_all_deplibs_CXX=yes
13081 output_verbose_link_cmd='func_echo_all'
13083 # Archives containing C++ object files must be created using
13084 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13085 # necessary to make sure instantiated templates are included
13086 # in the archive.
13087 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13089 gcx*)
13090 # Green Hills C++ Compiler
13091 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13093 # The C++ compiler must be used to create the archive.
13094 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13097 # GNU C++ compiler with Solaris linker
13098 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13099 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13100 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13101 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13102 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13103 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13105 # Commands to make compiler produce verbose output that lists
13106 # what "hidden" libraries, object files and flags are used when
13107 # linking a shared library.
13108 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13109 else
13110 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13111 # platform.
13112 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13113 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13114 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13116 # Commands to make compiler produce verbose output that lists
13117 # what "hidden" libraries, object files and flags are used when
13118 # linking a shared library.
13119 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13122 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13123 case $host_os in
13124 solaris2.[0-5] | solaris2.[0-5].*) ;;
13126 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13128 esac
13131 esac
13134 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13135 no_undefined_flag_CXX='${wl}-z,text'
13136 archive_cmds_need_lc_CXX=no
13137 hardcode_shlibpath_var_CXX=no
13138 runpath_var='LD_RUN_PATH'
13140 case $cc_basename in
13141 CC*)
13142 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13143 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13146 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13147 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13149 esac
13152 sysv5* | sco3.2v5* | sco5v6*)
13153 # Note: We can NOT use -z defs as we might desire, because we do not
13154 # link with -lc, and that would cause any symbols used from libc to
13155 # always be unresolved, which means just about no library would
13156 # ever link correctly. If we're not using GNU ld we use -z text
13157 # though, which does catch some bad symbols but isn't as heavy-handed
13158 # as -z defs.
13159 no_undefined_flag_CXX='${wl}-z,text'
13160 allow_undefined_flag_CXX='${wl}-z,nodefs'
13161 archive_cmds_need_lc_CXX=no
13162 hardcode_shlibpath_var_CXX=no
13163 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13164 hardcode_libdir_separator_CXX=':'
13165 link_all_deplibs_CXX=yes
13166 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13167 runpath_var='LD_RUN_PATH'
13169 case $cc_basename in
13170 CC*)
13171 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13172 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13173 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13174 '"$old_archive_cmds_CXX"
13175 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13176 '"$reload_cmds_CXX"
13179 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13180 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13182 esac
13185 tandem*)
13186 case $cc_basename in
13187 NCC*)
13188 # NonStop-UX NCC 3.20
13189 # FIXME: insert proper C++ library support
13190 ld_shlibs_CXX=no
13193 # FIXME: insert proper C++ library support
13194 ld_shlibs_CXX=no
13196 esac
13199 vxworks*)
13200 # FIXME: insert proper C++ library support
13201 ld_shlibs_CXX=no
13205 # FIXME: insert proper C++ library support
13206 ld_shlibs_CXX=no
13208 esac
13210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13211 $as_echo "$ld_shlibs_CXX" >&6; }
13212 test "$ld_shlibs_CXX" = no && can_build_shared=no
13214 GCC_CXX="$GXX"
13215 LD_CXX="$LD"
13217 ## CAVEAT EMPTOR:
13218 ## There is no encapsulation within the following macros, do not change
13219 ## the running order or otherwise move them around unless you know exactly
13220 ## what you are doing...
13221 # Dependencies to place before and after the object being linked:
13222 predep_objects_CXX=
13223 postdep_objects_CXX=
13224 predeps_CXX=
13225 postdeps_CXX=
13226 compiler_lib_search_path_CXX=
13228 cat > conftest.$ac_ext <<_LT_EOF
13229 class Foo
13231 public:
13232 Foo (void) { a = 0; }
13233 private:
13234 int a;
13236 _LT_EOF
13238 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13239 (eval $ac_compile) 2>&5
13240 ac_status=$?
13241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13242 test $ac_status = 0; }; then
13243 # Parse the compiler output and extract the necessary
13244 # objects, libraries and library flags.
13246 # Sentinel used to keep track of whether or not we are before
13247 # the conftest object file.
13248 pre_test_object_deps_done=no
13250 for p in `eval "$output_verbose_link_cmd"`; do
13251 case $p in
13253 -L* | -R* | -l*)
13254 # Some compilers place space between "-{L,R}" and the path.
13255 # Remove the space.
13256 if test $p = "-L" ||
13257 test $p = "-R"; then
13258 prev=$p
13259 continue
13260 else
13261 prev=
13264 if test "$pre_test_object_deps_done" = no; then
13265 case $p in
13266 -L* | -R*)
13267 # Internal compiler library paths should come after those
13268 # provided the user. The postdeps already come after the
13269 # user supplied libs so there is no need to process them.
13270 if test -z "$compiler_lib_search_path_CXX"; then
13271 compiler_lib_search_path_CXX="${prev}${p}"
13272 else
13273 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13276 # The "-l" case would never come before the object being
13277 # linked, so don't bother handling this case.
13278 esac
13279 else
13280 if test -z "$postdeps_CXX"; then
13281 postdeps_CXX="${prev}${p}"
13282 else
13283 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13288 *.$objext)
13289 # This assumes that the test object file only shows up
13290 # once in the compiler output.
13291 if test "$p" = "conftest.$objext"; then
13292 pre_test_object_deps_done=yes
13293 continue
13296 if test "$pre_test_object_deps_done" = no; then
13297 if test -z "$predep_objects_CXX"; then
13298 predep_objects_CXX="$p"
13299 else
13300 predep_objects_CXX="$predep_objects_CXX $p"
13302 else
13303 if test -z "$postdep_objects_CXX"; then
13304 postdep_objects_CXX="$p"
13305 else
13306 postdep_objects_CXX="$postdep_objects_CXX $p"
13311 *) ;; # Ignore the rest.
13313 esac
13314 done
13316 # Clean up.
13317 rm -f a.out a.exe
13318 else
13319 echo "libtool.m4: error: problem compiling CXX test program"
13322 $RM -f confest.$objext
13324 # PORTME: override above test on systems where it is broken
13325 case $host_os in
13326 interix[3-9]*)
13327 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13328 # hack all around it, let's just trust "g++" to DTRT.
13329 predep_objects_CXX=
13330 postdep_objects_CXX=
13331 postdeps_CXX=
13334 linux*)
13335 case `$CC -V 2>&1 | sed 5q` in
13336 *Sun\ C*)
13337 # Sun C++ 5.9
13339 # The more standards-conforming stlport4 library is
13340 # incompatible with the Cstd library. Avoid specifying
13341 # it if it's in CXXFLAGS. Ignore libCrun as
13342 # -library=stlport4 depends on it.
13343 case " $CXX $CXXFLAGS " in
13344 *" -library=stlport4 "*)
13345 solaris_use_stlport4=yes
13347 esac
13349 if test "$solaris_use_stlport4" != yes; then
13350 postdeps_CXX='-library=Cstd -library=Crun'
13353 esac
13356 solaris*)
13357 case $cc_basename in
13358 CC*)
13359 # The more standards-conforming stlport4 library is
13360 # incompatible with the Cstd library. Avoid specifying
13361 # it if it's in CXXFLAGS. Ignore libCrun as
13362 # -library=stlport4 depends on it.
13363 case " $CXX $CXXFLAGS " in
13364 *" -library=stlport4 "*)
13365 solaris_use_stlport4=yes
13367 esac
13369 # Adding this requires a known-good setup of shared libraries for
13370 # Sun compiler versions before 5.6, else PIC objects from an old
13371 # archive will be linked into the output, leading to subtle bugs.
13372 if test "$solaris_use_stlport4" != yes; then
13373 postdeps_CXX='-library=Cstd -library=Crun'
13376 esac
13378 esac
13381 case " $postdeps_CXX " in
13382 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13383 esac
13384 compiler_lib_search_dirs_CXX=
13385 if test -n "${compiler_lib_search_path_CXX}"; then
13386 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13419 lt_prog_compiler_wl_CXX=
13420 lt_prog_compiler_pic_CXX=
13421 lt_prog_compiler_static_CXX=
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13424 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13426 # C++ specific cases for pic, static, wl, etc.
13427 if test "$GXX" = yes; then
13428 lt_prog_compiler_wl_CXX='-Wl,'
13429 lt_prog_compiler_static_CXX='-static'
13431 case $host_os in
13432 aix*)
13433 # All AIX code is PIC.
13434 if test "$host_cpu" = ia64; then
13435 # AIX 5 now supports IA64 processor
13436 lt_prog_compiler_static_CXX='-Bstatic'
13438 lt_prog_compiler_pic_CXX='-fPIC'
13441 amigaos*)
13442 case $host_cpu in
13443 powerpc)
13444 # see comment about AmigaOS4 .so support
13445 lt_prog_compiler_pic_CXX='-fPIC'
13447 m68k)
13448 # FIXME: we need at least 68020 code to build shared libraries, but
13449 # adding the `-m68020' flag to GCC prevents building anything better,
13450 # like `-m68040'.
13451 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13453 esac
13456 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13457 # PIC is the default for these OSes.
13459 mingw* | cygwin* | os2* | pw32* | cegcc*)
13460 # This hack is so that the source file can tell whether it is being
13461 # built for inclusion in a dll (and should export symbols for example).
13462 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13463 # (--disable-auto-import) libraries
13464 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13466 darwin* | rhapsody*)
13467 # PIC is the default on this platform
13468 # Common symbols not allowed in MH_DYLIB files
13469 lt_prog_compiler_pic_CXX='-fno-common'
13471 *djgpp*)
13472 # DJGPP does not support shared libraries at all
13473 lt_prog_compiler_pic_CXX=
13475 haiku*)
13476 # PIC is the default for Haiku.
13477 # The "-static" flag exists, but is broken.
13478 lt_prog_compiler_static_CXX=
13480 interix[3-9]*)
13481 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13482 # Instead, we relocate shared libraries at runtime.
13484 sysv4*MP*)
13485 if test -d /usr/nec; then
13486 lt_prog_compiler_pic_CXX=-Kconform_pic
13489 hpux*)
13490 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13491 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13492 # sets the default TLS model and affects inlining.
13493 case $host_cpu in
13494 hppa*64*)
13497 lt_prog_compiler_pic_CXX='-fPIC'
13499 esac
13501 *qnx* | *nto*)
13502 # QNX uses GNU C++, but need to define -shared option too, otherwise
13503 # it will coredump.
13504 lt_prog_compiler_pic_CXX='-fPIC -shared'
13507 lt_prog_compiler_pic_CXX='-fPIC'
13509 esac
13510 else
13511 case $host_os in
13512 aix[4-9]*)
13513 # All AIX code is PIC.
13514 if test "$host_cpu" = ia64; then
13515 # AIX 5 now supports IA64 processor
13516 lt_prog_compiler_static_CXX='-Bstatic'
13517 else
13518 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13521 chorus*)
13522 case $cc_basename in
13523 cxch68*)
13524 # Green Hills C++ Compiler
13525 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13527 esac
13529 dgux*)
13530 case $cc_basename in
13531 ec++*)
13532 lt_prog_compiler_pic_CXX='-KPIC'
13534 ghcx*)
13535 # Green Hills C++ Compiler
13536 lt_prog_compiler_pic_CXX='-pic'
13540 esac
13542 freebsd* | dragonfly*)
13543 # FreeBSD uses GNU C++
13545 hpux9* | hpux10* | hpux11*)
13546 case $cc_basename in
13547 CC*)
13548 lt_prog_compiler_wl_CXX='-Wl,'
13549 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13550 if test "$host_cpu" != ia64; then
13551 lt_prog_compiler_pic_CXX='+Z'
13554 aCC*)
13555 lt_prog_compiler_wl_CXX='-Wl,'
13556 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13557 case $host_cpu in
13558 hppa*64*|ia64*)
13559 # +Z the default
13562 lt_prog_compiler_pic_CXX='+Z'
13564 esac
13568 esac
13570 interix*)
13571 # This is c89, which is MS Visual C++ (no shared libs)
13572 # Anyone wants to do a port?
13574 irix5* | irix6* | nonstopux*)
13575 case $cc_basename in
13576 CC*)
13577 lt_prog_compiler_wl_CXX='-Wl,'
13578 lt_prog_compiler_static_CXX='-non_shared'
13579 # CC pic flag -KPIC is the default.
13583 esac
13585 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13586 case $cc_basename in
13587 KCC*)
13588 # KAI C++ Compiler
13589 lt_prog_compiler_wl_CXX='--backend -Wl,'
13590 lt_prog_compiler_pic_CXX='-fPIC'
13592 ecpc* )
13593 # old Intel C++ for x86_64 which still supported -KPIC.
13594 lt_prog_compiler_wl_CXX='-Wl,'
13595 lt_prog_compiler_pic_CXX='-KPIC'
13596 lt_prog_compiler_static_CXX='-static'
13598 icpc* )
13599 # Intel C++, used to be incompatible with GCC.
13600 # ICC 10 doesn't accept -KPIC any more.
13601 lt_prog_compiler_wl_CXX='-Wl,'
13602 lt_prog_compiler_pic_CXX='-fPIC'
13603 lt_prog_compiler_static_CXX='-static'
13605 pgCC* | pgcpp*)
13606 # Portland Group C++ compiler
13607 lt_prog_compiler_wl_CXX='-Wl,'
13608 lt_prog_compiler_pic_CXX='-fpic'
13609 lt_prog_compiler_static_CXX='-Bstatic'
13611 cxx*)
13612 # Compaq C++
13613 # Make sure the PIC flag is empty. It appears that all Alpha
13614 # Linux and Compaq Tru64 Unix objects are PIC.
13615 lt_prog_compiler_pic_CXX=
13616 lt_prog_compiler_static_CXX='-non_shared'
13618 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13619 # IBM XL 8.0, 9.0 on PPC and BlueGene
13620 lt_prog_compiler_wl_CXX='-Wl,'
13621 lt_prog_compiler_pic_CXX='-qpic'
13622 lt_prog_compiler_static_CXX='-qstaticlink'
13625 case `$CC -V 2>&1 | sed 5q` in
13626 *Sun\ C*)
13627 # Sun C++ 5.9
13628 lt_prog_compiler_pic_CXX='-KPIC'
13629 lt_prog_compiler_static_CXX='-Bstatic'
13630 lt_prog_compiler_wl_CXX='-Qoption ld '
13632 esac
13634 esac
13636 lynxos*)
13638 m88k*)
13640 mvs*)
13641 case $cc_basename in
13642 cxx*)
13643 lt_prog_compiler_pic_CXX='-W c,exportall'
13647 esac
13649 netbsd*)
13651 *qnx* | *nto*)
13652 # QNX uses GNU C++, but need to define -shared option too, otherwise
13653 # it will coredump.
13654 lt_prog_compiler_pic_CXX='-fPIC -shared'
13656 osf3* | osf4* | osf5*)
13657 case $cc_basename in
13658 KCC*)
13659 lt_prog_compiler_wl_CXX='--backend -Wl,'
13661 RCC*)
13662 # Rational C++ 2.4.1
13663 lt_prog_compiler_pic_CXX='-pic'
13665 cxx*)
13666 # Digital/Compaq C++
13667 lt_prog_compiler_wl_CXX='-Wl,'
13668 # Make sure the PIC flag is empty. It appears that all Alpha
13669 # Linux and Compaq Tru64 Unix objects are PIC.
13670 lt_prog_compiler_pic_CXX=
13671 lt_prog_compiler_static_CXX='-non_shared'
13675 esac
13677 psos*)
13679 solaris*)
13680 case $cc_basename in
13681 CC*)
13682 # Sun C++ 4.2, 5.x and Centerline C++
13683 lt_prog_compiler_pic_CXX='-KPIC'
13684 lt_prog_compiler_static_CXX='-Bstatic'
13685 lt_prog_compiler_wl_CXX='-Qoption ld '
13687 gcx*)
13688 # Green Hills C++ Compiler
13689 lt_prog_compiler_pic_CXX='-PIC'
13693 esac
13695 sunos4*)
13696 case $cc_basename in
13697 CC*)
13698 # Sun C++ 4.x
13699 lt_prog_compiler_pic_CXX='-pic'
13700 lt_prog_compiler_static_CXX='-Bstatic'
13702 lcc*)
13703 # Lucid
13704 lt_prog_compiler_pic_CXX='-pic'
13708 esac
13710 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13711 case $cc_basename in
13712 CC*)
13713 lt_prog_compiler_wl_CXX='-Wl,'
13714 lt_prog_compiler_pic_CXX='-KPIC'
13715 lt_prog_compiler_static_CXX='-Bstatic'
13717 esac
13719 tandem*)
13720 case $cc_basename in
13721 NCC*)
13722 # NonStop-UX NCC 3.20
13723 lt_prog_compiler_pic_CXX='-KPIC'
13727 esac
13729 vxworks*)
13732 lt_prog_compiler_can_build_shared_CXX=no
13734 esac
13737 case $host_os in
13738 # For platforms which do not support PIC, -DPIC is meaningless:
13739 *djgpp*)
13740 lt_prog_compiler_pic_CXX=
13743 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13745 esac
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13747 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13752 # Check to make sure the PIC flag actually works.
13754 if test -n "$lt_prog_compiler_pic_CXX"; then
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13756 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13757 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13758 $as_echo_n "(cached) " >&6
13759 else
13760 lt_cv_prog_compiler_pic_works_CXX=no
13761 ac_outfile=conftest.$ac_objext
13762 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13763 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13764 # Insert the option either (1) after the last *FLAGS variable, or
13765 # (2) before a word containing "conftest.", or (3) at the end.
13766 # Note that $ac_compile itself does not contain backslashes and begins
13767 # with a dollar sign (not a hyphen), so the echo should work correctly.
13768 # The option is referenced via a variable to avoid confusing sed.
13769 lt_compile=`echo "$ac_compile" | $SED \
13770 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13771 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13772 -e 's:$: $lt_compiler_flag:'`
13773 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13774 (eval "$lt_compile" 2>conftest.err)
13775 ac_status=$?
13776 cat conftest.err >&5
13777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13778 if (exit $ac_status) && test -s "$ac_outfile"; then
13779 # The compiler can only warn and ignore the option if not recognized
13780 # So say no if there are warnings other than the usual output.
13781 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13782 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13783 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13784 lt_cv_prog_compiler_pic_works_CXX=yes
13787 $RM conftest*
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13791 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13793 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13794 case $lt_prog_compiler_pic_CXX in
13795 "" | " "*) ;;
13796 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13797 esac
13798 else
13799 lt_prog_compiler_pic_CXX=
13800 lt_prog_compiler_can_build_shared_CXX=no
13808 # Check to make sure the static flag actually works.
13810 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13812 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13813 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13814 $as_echo_n "(cached) " >&6
13815 else
13816 lt_cv_prog_compiler_static_works_CXX=no
13817 save_LDFLAGS="$LDFLAGS"
13818 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13819 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13820 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13821 # The linker can only warn and ignore the option if not recognized
13822 # So say no if there are warnings
13823 if test -s conftest.err; then
13824 # Append any errors to the config.log.
13825 cat conftest.err 1>&5
13826 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13827 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13828 if diff conftest.exp conftest.er2 >/dev/null; then
13829 lt_cv_prog_compiler_static_works_CXX=yes
13831 else
13832 lt_cv_prog_compiler_static_works_CXX=yes
13835 $RM -r conftest*
13836 LDFLAGS="$save_LDFLAGS"
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13840 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13842 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13844 else
13845 lt_prog_compiler_static_CXX=
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13852 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13853 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13854 $as_echo_n "(cached) " >&6
13855 else
13856 lt_cv_prog_compiler_c_o_CXX=no
13857 $RM -r conftest 2>/dev/null
13858 mkdir conftest
13859 cd conftest
13860 mkdir out
13861 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13863 lt_compiler_flag="-o out/conftest2.$ac_objext"
13864 # Insert the option either (1) after the last *FLAGS variable, or
13865 # (2) before a word containing "conftest.", or (3) at the end.
13866 # Note that $ac_compile itself does not contain backslashes and begins
13867 # with a dollar sign (not a hyphen), so the echo should work correctly.
13868 lt_compile=`echo "$ac_compile" | $SED \
13869 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13870 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13871 -e 's:$: $lt_compiler_flag:'`
13872 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13873 (eval "$lt_compile" 2>out/conftest.err)
13874 ac_status=$?
13875 cat out/conftest.err >&5
13876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13877 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13878 then
13879 # The compiler can only warn and ignore the option if not recognized
13880 # So say no if there are warnings
13881 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13882 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13883 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13884 lt_cv_prog_compiler_c_o_CXX=yes
13887 chmod u+w . 2>&5
13888 $RM conftest*
13889 # SGI C++ compiler will create directory out/ii_files/ for
13890 # template instantiation
13891 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13892 $RM out/* && rmdir out
13893 cd ..
13894 $RM -r conftest
13895 $RM conftest*
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13899 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13904 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13905 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13906 $as_echo_n "(cached) " >&6
13907 else
13908 lt_cv_prog_compiler_c_o_CXX=no
13909 $RM -r conftest 2>/dev/null
13910 mkdir conftest
13911 cd conftest
13912 mkdir out
13913 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13915 lt_compiler_flag="-o out/conftest2.$ac_objext"
13916 # Insert the option either (1) after the last *FLAGS variable, or
13917 # (2) before a word containing "conftest.", or (3) at the end.
13918 # Note that $ac_compile itself does not contain backslashes and begins
13919 # with a dollar sign (not a hyphen), so the echo should work correctly.
13920 lt_compile=`echo "$ac_compile" | $SED \
13921 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13922 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13923 -e 's:$: $lt_compiler_flag:'`
13924 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13925 (eval "$lt_compile" 2>out/conftest.err)
13926 ac_status=$?
13927 cat out/conftest.err >&5
13928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13929 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13930 then
13931 # The compiler can only warn and ignore the option if not recognized
13932 # So say no if there are warnings
13933 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13934 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13935 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13936 lt_cv_prog_compiler_c_o_CXX=yes
13939 chmod u+w . 2>&5
13940 $RM conftest*
13941 # SGI C++ compiler will create directory out/ii_files/ for
13942 # template instantiation
13943 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13944 $RM out/* && rmdir out
13945 cd ..
13946 $RM -r conftest
13947 $RM conftest*
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13951 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13956 hard_links="nottested"
13957 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13958 # do not overwrite the value of need_locks provided by the user
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13960 $as_echo_n "checking if we can lock with hard links... " >&6; }
13961 hard_links=yes
13962 $RM conftest*
13963 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13964 touch conftest.a
13965 ln conftest.a conftest.b 2>&5 || hard_links=no
13966 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13968 $as_echo "$hard_links" >&6; }
13969 if test "$hard_links" = no; then
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13971 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13972 need_locks=warn
13974 else
13975 need_locks=no
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13981 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13983 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13984 case $host_os in
13985 aix[4-9]*)
13986 # If we're using GNU nm, then we don't want the "-C" option.
13987 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13988 # Also, AIX nm treats weak defined symbols like other global defined
13989 # symbols, whereas GNU nm marks them as "W".
13990 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13991 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13992 else
13993 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13996 pw32*)
13997 export_symbols_cmds_CXX="$ltdll_cmds"
13999 cygwin* | mingw* | cegcc*)
14000 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14003 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14005 esac
14006 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14009 $as_echo "$ld_shlibs_CXX" >&6; }
14010 test "$ld_shlibs_CXX" = no && can_build_shared=no
14012 with_gnu_ld_CXX=$with_gnu_ld
14020 # Do we need to explicitly link libc?
14022 case "x$archive_cmds_need_lc_CXX" in
14023 x|xyes)
14024 # Assume -lc should be added
14025 archive_cmds_need_lc_CXX=yes
14027 if test "$enable_shared" = yes && test "$GCC" = yes; then
14028 case $archive_cmds_CXX in
14029 *'~'*)
14030 # FIXME: we may have to deal with multi-command sequences.
14032 '$CC '*)
14033 # Test whether the compiler implicitly links with -lc since on some
14034 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14035 # to ld, don't add -lc before -lgcc.
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14037 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14038 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14039 $as_echo_n "(cached) " >&6
14040 else
14041 $RM conftest*
14042 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14044 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14045 (eval $ac_compile) 2>&5
14046 ac_status=$?
14047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14048 test $ac_status = 0; } 2>conftest.err; then
14049 soname=conftest
14050 lib=conftest
14051 libobjs=conftest.$ac_objext
14052 deplibs=
14053 wl=$lt_prog_compiler_wl_CXX
14054 pic_flag=$lt_prog_compiler_pic_CXX
14055 compiler_flags=-v
14056 linker_flags=-v
14057 verstring=
14058 output_objdir=.
14059 libname=conftest
14060 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14061 allow_undefined_flag_CXX=
14062 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14063 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14064 ac_status=$?
14065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14066 test $ac_status = 0; }
14067 then
14068 lt_cv_archive_cmds_need_lc_CXX=no
14069 else
14070 lt_cv_archive_cmds_need_lc_CXX=yes
14072 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14073 else
14074 cat conftest.err 1>&5
14076 $RM conftest*
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14080 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14081 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14083 esac
14086 esac
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14152 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14154 library_names_spec=
14155 libname_spec='lib$name'
14156 soname_spec=
14157 shrext_cmds=".so"
14158 postinstall_cmds=
14159 postuninstall_cmds=
14160 finish_cmds=
14161 finish_eval=
14162 shlibpath_var=
14163 shlibpath_overrides_runpath=unknown
14164 version_type=none
14165 dynamic_linker="$host_os ld.so"
14166 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14167 need_lib_prefix=unknown
14168 hardcode_into_libs=no
14170 # when you set need_version to no, make sure it does not cause -set_version
14171 # flags to be left without arguments
14172 need_version=unknown
14174 case $host_os in
14175 aix3*)
14176 version_type=linux
14177 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14178 shlibpath_var=LIBPATH
14180 # AIX 3 has no versioning support, so we append a major version to the name.
14181 soname_spec='${libname}${release}${shared_ext}$major'
14184 aix[4-9]*)
14185 version_type=linux
14186 need_lib_prefix=no
14187 need_version=no
14188 hardcode_into_libs=yes
14189 if test "$host_cpu" = ia64; then
14190 # AIX 5 supports IA64
14191 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14192 shlibpath_var=LD_LIBRARY_PATH
14193 else
14194 # With GCC up to 2.95.x, collect2 would create an import file
14195 # for dependence libraries. The import file would start with
14196 # the line `#! .'. This would cause the generated library to
14197 # depend on `.', always an invalid library. This was fixed in
14198 # development snapshots of GCC prior to 3.0.
14199 case $host_os in
14200 aix4 | aix4.[01] | aix4.[01].*)
14201 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14202 echo ' yes '
14203 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14205 else
14206 can_build_shared=no
14209 esac
14210 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14211 # soname into executable. Probably we can add versioning support to
14212 # collect2, so additional links can be useful in future.
14213 if test "$aix_use_runtimelinking" = yes; then
14214 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14215 # instead of lib<name>.a to let people know that these are not
14216 # typical AIX shared libraries.
14217 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14218 else
14219 # We preserve .a as extension for shared libraries through AIX4.2
14220 # and later when we are not doing run time linking.
14221 library_names_spec='${libname}${release}.a $libname.a'
14222 soname_spec='${libname}${release}${shared_ext}$major'
14224 shlibpath_var=LIBPATH
14228 amigaos*)
14229 case $host_cpu in
14230 powerpc)
14231 # Since July 2007 AmigaOS4 officially supports .so libraries.
14232 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14233 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14235 m68k)
14236 library_names_spec='$libname.ixlibrary $libname.a'
14237 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14238 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14240 esac
14243 beos*)
14244 library_names_spec='${libname}${shared_ext}'
14245 dynamic_linker="$host_os ld.so"
14246 shlibpath_var=LIBRARY_PATH
14249 bsdi[45]*)
14250 version_type=linux
14251 need_version=no
14252 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14253 soname_spec='${libname}${release}${shared_ext}$major'
14254 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14255 shlibpath_var=LD_LIBRARY_PATH
14256 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14257 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14258 # the default ld.so.conf also contains /usr/contrib/lib and
14259 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14260 # libtool to hard-code these into programs
14263 cygwin* | mingw* | pw32* | cegcc*)
14264 version_type=windows
14265 shrext_cmds=".dll"
14266 need_version=no
14267 need_lib_prefix=no
14269 case $GCC,$host_os in
14270 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14271 library_names_spec='$libname.dll.a'
14272 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14273 postinstall_cmds='base_file=`basename \${file}`~
14274 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14275 dldir=$destdir/`dirname \$dlpath`~
14276 test -d \$dldir || mkdir -p \$dldir~
14277 $install_prog $dir/$dlname \$dldir/$dlname~
14278 chmod a+x \$dldir/$dlname~
14279 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14280 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14282 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14283 dlpath=$dir/\$dldll~
14284 $RM \$dlpath'
14285 shlibpath_overrides_runpath=yes
14287 case $host_os in
14288 cygwin*)
14289 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14290 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14293 mingw* | cegcc*)
14294 # MinGW DLLs use traditional 'lib' prefix
14295 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14297 pw32*)
14298 # pw32 DLLs use 'pw' prefix rather than 'lib'
14299 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14301 esac
14305 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14307 esac
14308 dynamic_linker='Win32 ld.exe'
14309 # FIXME: first we should search . and the directory the executable is in
14310 shlibpath_var=PATH
14313 darwin* | rhapsody*)
14314 dynamic_linker="$host_os dyld"
14315 version_type=darwin
14316 need_lib_prefix=no
14317 need_version=no
14318 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14319 soname_spec='${libname}${release}${major}$shared_ext'
14320 shlibpath_overrides_runpath=yes
14321 shlibpath_var=DYLD_LIBRARY_PATH
14322 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14324 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14327 dgux*)
14328 version_type=linux
14329 need_lib_prefix=no
14330 need_version=no
14331 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14332 soname_spec='${libname}${release}${shared_ext}$major'
14333 shlibpath_var=LD_LIBRARY_PATH
14336 freebsd* | dragonfly*)
14337 # DragonFly does not have aout. When/if they implement a new
14338 # versioning mechanism, adjust this.
14339 if test -x /usr/bin/objformat; then
14340 objformat=`/usr/bin/objformat`
14341 else
14342 case $host_os in
14343 freebsd[23].*) objformat=aout ;;
14344 *) objformat=elf ;;
14345 esac
14347 version_type=freebsd-$objformat
14348 case $version_type in
14349 freebsd-elf*)
14350 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14351 need_version=no
14352 need_lib_prefix=no
14354 freebsd-*)
14355 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14356 need_version=yes
14358 esac
14359 shlibpath_var=LD_LIBRARY_PATH
14360 case $host_os in
14361 freebsd2.*)
14362 shlibpath_overrides_runpath=yes
14364 freebsd3.[01]* | freebsdelf3.[01]*)
14365 shlibpath_overrides_runpath=yes
14366 hardcode_into_libs=yes
14368 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14369 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14370 shlibpath_overrides_runpath=no
14371 hardcode_into_libs=yes
14373 *) # from 4.6 on, and DragonFly
14374 shlibpath_overrides_runpath=yes
14375 hardcode_into_libs=yes
14377 esac
14380 gnu*)
14381 version_type=linux
14382 need_lib_prefix=no
14383 need_version=no
14384 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14385 soname_spec='${libname}${release}${shared_ext}$major'
14386 shlibpath_var=LD_LIBRARY_PATH
14387 hardcode_into_libs=yes
14390 haiku*)
14391 version_type=linux
14392 need_lib_prefix=no
14393 need_version=no
14394 dynamic_linker="$host_os runtime_loader"
14395 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14396 soname_spec='${libname}${release}${shared_ext}$major'
14397 shlibpath_var=LIBRARY_PATH
14398 shlibpath_overrides_runpath=yes
14399 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14400 hardcode_into_libs=yes
14403 hpux9* | hpux10* | hpux11*)
14404 # Give a soname corresponding to the major version so that dld.sl refuses to
14405 # link against other versions.
14406 version_type=sunos
14407 need_lib_prefix=no
14408 need_version=no
14409 case $host_cpu in
14410 ia64*)
14411 shrext_cmds='.so'
14412 hardcode_into_libs=yes
14413 dynamic_linker="$host_os dld.so"
14414 shlibpath_var=LD_LIBRARY_PATH
14415 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14416 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14417 soname_spec='${libname}${release}${shared_ext}$major'
14418 if test "X$HPUX_IA64_MODE" = X32; then
14419 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14420 else
14421 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14423 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14425 hppa*64*)
14426 shrext_cmds='.sl'
14427 hardcode_into_libs=yes
14428 dynamic_linker="$host_os dld.sl"
14429 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14430 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14431 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14432 soname_spec='${libname}${release}${shared_ext}$major'
14433 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14434 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14437 shrext_cmds='.sl'
14438 dynamic_linker="$host_os dld.sl"
14439 shlibpath_var=SHLIB_PATH
14440 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14441 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14442 soname_spec='${libname}${release}${shared_ext}$major'
14444 esac
14445 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14446 postinstall_cmds='chmod 555 $lib'
14447 # or fails outright, so override atomically:
14448 install_override_mode=555
14451 interix[3-9]*)
14452 version_type=linux
14453 need_lib_prefix=no
14454 need_version=no
14455 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14456 soname_spec='${libname}${release}${shared_ext}$major'
14457 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14458 shlibpath_var=LD_LIBRARY_PATH
14459 shlibpath_overrides_runpath=no
14460 hardcode_into_libs=yes
14463 irix5* | irix6* | nonstopux*)
14464 case $host_os in
14465 nonstopux*) version_type=nonstopux ;;
14467 if test "$lt_cv_prog_gnu_ld" = yes; then
14468 version_type=linux
14469 else
14470 version_type=irix
14471 fi ;;
14472 esac
14473 need_lib_prefix=no
14474 need_version=no
14475 soname_spec='${libname}${release}${shared_ext}$major'
14476 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14477 case $host_os in
14478 irix5* | nonstopux*)
14479 libsuff= shlibsuff=
14482 case $LD in # libtool.m4 will add one of these switches to LD
14483 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14484 libsuff= shlibsuff= libmagic=32-bit;;
14485 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14486 libsuff=32 shlibsuff=N32 libmagic=N32;;
14487 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14488 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14489 *) libsuff= shlibsuff= libmagic=never-match;;
14490 esac
14492 esac
14493 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14494 shlibpath_overrides_runpath=no
14495 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14496 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14497 hardcode_into_libs=yes
14500 # No shared lib support for Linux oldld, aout, or coff.
14501 linux*oldld* | linux*aout* | linux*coff*)
14502 dynamic_linker=no
14505 # This must be Linux ELF.
14506 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14507 version_type=linux
14508 need_lib_prefix=no
14509 need_version=no
14510 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14511 soname_spec='${libname}${release}${shared_ext}$major'
14512 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14513 shlibpath_var=LD_LIBRARY_PATH
14514 shlibpath_overrides_runpath=no
14516 # Some binutils ld are patched to set DT_RUNPATH
14517 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14518 $as_echo_n "(cached) " >&6
14519 else
14520 lt_cv_shlibpath_overrides_runpath=no
14521 save_LDFLAGS=$LDFLAGS
14522 save_libdir=$libdir
14523 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14524 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14525 if test x$gcc_no_link = xyes; then
14526 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14529 /* end confdefs.h. */
14532 main ()
14536 return 0;
14538 _ACEOF
14539 if ac_fn_cxx_try_link "$LINENO"; then :
14540 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14541 lt_cv_shlibpath_overrides_runpath=yes
14544 rm -f core conftest.err conftest.$ac_objext \
14545 conftest$ac_exeext conftest.$ac_ext
14546 LDFLAGS=$save_LDFLAGS
14547 libdir=$save_libdir
14551 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14553 # This implies no fast_install, which is unacceptable.
14554 # Some rework will be needed to allow for fast_install
14555 # before this can be enabled.
14556 hardcode_into_libs=yes
14558 # Append ld.so.conf contents to the search path
14559 if test -f /etc/ld.so.conf; then
14560 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
14561 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14564 # We used to test for /lib/ld.so.1 and disable shared libraries on
14565 # powerpc, because MkLinux only supported shared libraries with the
14566 # GNU dynamic linker. Since this was broken with cross compilers,
14567 # most powerpc-linux boxes support dynamic linking these days and
14568 # people can always --disable-shared, the test was removed, and we
14569 # assume the GNU/Linux dynamic linker is in use.
14570 dynamic_linker='GNU/Linux ld.so'
14573 netbsd*)
14574 version_type=sunos
14575 need_lib_prefix=no
14576 need_version=no
14577 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14578 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14579 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14580 dynamic_linker='NetBSD (a.out) ld.so'
14581 else
14582 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14583 soname_spec='${libname}${release}${shared_ext}$major'
14584 dynamic_linker='NetBSD ld.elf_so'
14586 shlibpath_var=LD_LIBRARY_PATH
14587 shlibpath_overrides_runpath=yes
14588 hardcode_into_libs=yes
14591 newsos6)
14592 version_type=linux
14593 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14594 shlibpath_var=LD_LIBRARY_PATH
14595 shlibpath_overrides_runpath=yes
14598 *nto* | *qnx*)
14599 version_type=qnx
14600 need_lib_prefix=no
14601 need_version=no
14602 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14603 soname_spec='${libname}${release}${shared_ext}$major'
14604 shlibpath_var=LD_LIBRARY_PATH
14605 shlibpath_overrides_runpath=no
14606 hardcode_into_libs=yes
14607 dynamic_linker='ldqnx.so'
14610 openbsd*)
14611 version_type=sunos
14612 sys_lib_dlsearch_path_spec="/usr/lib"
14613 need_lib_prefix=no
14614 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14615 case $host_os in
14616 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14617 *) need_version=no ;;
14618 esac
14619 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14620 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14621 shlibpath_var=LD_LIBRARY_PATH
14622 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14623 case $host_os in
14624 openbsd2.[89] | openbsd2.[89].*)
14625 shlibpath_overrides_runpath=no
14628 shlibpath_overrides_runpath=yes
14630 esac
14631 else
14632 shlibpath_overrides_runpath=yes
14636 os2*)
14637 libname_spec='$name'
14638 shrext_cmds=".dll"
14639 need_lib_prefix=no
14640 library_names_spec='$libname${shared_ext} $libname.a'
14641 dynamic_linker='OS/2 ld.exe'
14642 shlibpath_var=LIBPATH
14645 osf3* | osf4* | osf5*)
14646 version_type=osf
14647 need_lib_prefix=no
14648 need_version=no
14649 soname_spec='${libname}${release}${shared_ext}$major'
14650 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14651 shlibpath_var=LD_LIBRARY_PATH
14652 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14653 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14656 rdos*)
14657 dynamic_linker=no
14660 solaris*)
14661 version_type=linux
14662 need_lib_prefix=no
14663 need_version=no
14664 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14665 soname_spec='${libname}${release}${shared_ext}$major'
14666 shlibpath_var=LD_LIBRARY_PATH
14667 shlibpath_overrides_runpath=yes
14668 hardcode_into_libs=yes
14669 # ldd complains unless libraries are executable
14670 postinstall_cmds='chmod +x $lib'
14673 sunos4*)
14674 version_type=sunos
14675 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14676 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14677 shlibpath_var=LD_LIBRARY_PATH
14678 shlibpath_overrides_runpath=yes
14679 if test "$with_gnu_ld" = yes; then
14680 need_lib_prefix=no
14682 need_version=yes
14685 sysv4 | sysv4.3*)
14686 version_type=linux
14687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14688 soname_spec='${libname}${release}${shared_ext}$major'
14689 shlibpath_var=LD_LIBRARY_PATH
14690 case $host_vendor in
14691 sni)
14692 shlibpath_overrides_runpath=no
14693 need_lib_prefix=no
14694 runpath_var=LD_RUN_PATH
14696 siemens)
14697 need_lib_prefix=no
14699 motorola)
14700 need_lib_prefix=no
14701 need_version=no
14702 shlibpath_overrides_runpath=no
14703 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14705 esac
14708 sysv4*MP*)
14709 if test -d /usr/nec ;then
14710 version_type=linux
14711 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14712 soname_spec='$libname${shared_ext}.$major'
14713 shlibpath_var=LD_LIBRARY_PATH
14717 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14718 version_type=freebsd-elf
14719 need_lib_prefix=no
14720 need_version=no
14721 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14722 soname_spec='${libname}${release}${shared_ext}$major'
14723 shlibpath_var=LD_LIBRARY_PATH
14724 shlibpath_overrides_runpath=yes
14725 hardcode_into_libs=yes
14726 if test "$with_gnu_ld" = yes; then
14727 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14728 else
14729 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14730 case $host_os in
14731 sco3.2v5*)
14732 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14734 esac
14736 sys_lib_dlsearch_path_spec='/usr/lib'
14739 tpf*)
14740 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14741 version_type=linux
14742 need_lib_prefix=no
14743 need_version=no
14744 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14745 shlibpath_var=LD_LIBRARY_PATH
14746 shlibpath_overrides_runpath=no
14747 hardcode_into_libs=yes
14750 uts4*)
14751 version_type=linux
14752 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14753 soname_spec='${libname}${release}${shared_ext}$major'
14754 shlibpath_var=LD_LIBRARY_PATH
14758 dynamic_linker=no
14760 esac
14761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14762 $as_echo "$dynamic_linker" >&6; }
14763 test "$dynamic_linker" = no && can_build_shared=no
14765 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14766 if test "$GCC" = yes; then
14767 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14770 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14771 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14773 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14774 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14815 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14816 hardcode_action_CXX=
14817 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14818 test -n "$runpath_var_CXX" ||
14819 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14821 # We can hardcode non-existent directories.
14822 if test "$hardcode_direct_CXX" != no &&
14823 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14824 # have to relink, otherwise we might link with an installed library
14825 # when we should be linking with a yet-to-be-installed one
14826 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14827 test "$hardcode_minus_L_CXX" != no; then
14828 # Linking always hardcodes the temporary library directory.
14829 hardcode_action_CXX=relink
14830 else
14831 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14832 hardcode_action_CXX=immediate
14834 else
14835 # We cannot hardcode anything, or else we can only hardcode existing
14836 # directories.
14837 hardcode_action_CXX=unsupported
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14840 $as_echo "$hardcode_action_CXX" >&6; }
14842 if test "$hardcode_action_CXX" = relink ||
14843 test "$inherit_rpath_CXX" = yes; then
14844 # Fast installation is not supported
14845 enable_fast_install=no
14846 elif test "$shlibpath_overrides_runpath" = yes ||
14847 test "$enable_shared" = no; then
14848 # Fast installation is not necessary
14849 enable_fast_install=needless
14858 fi # test -n "$compiler"
14860 CC=$lt_save_CC
14861 LDCXX=$LD
14862 LD=$lt_save_LD
14863 GCC=$lt_save_GCC
14864 with_gnu_ld=$lt_save_with_gnu_ld
14865 lt_cv_path_LDCXX=$lt_cv_path_LD
14866 lt_cv_path_LD=$lt_save_path_LD
14867 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14868 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14869 fi # test "$_lt_caught_CXX_error" != yes
14871 ac_ext=c
14872 ac_cpp='$CPP $CPPFLAGS'
14873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14889 ac_config_commands="$ac_config_commands libtool"
14894 # Only expand once:
14900 case $host in
14901 *-cygwin* | *-mingw*)
14902 # 'host' will be top-level target in the case of a target lib,
14903 # we must compare to with_cross_host to decide if this is a native
14904 # or cross-compiler and select where to install dlls appropriately.
14905 if test -n "$with_cross_host" &&
14906 test x"$with_cross_host" != x"no"; then
14907 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14908 else
14909 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14913 lt_host_flags=
14915 esac
14922 if test "$enable_vtable_verify" = yes; then
14923 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
14924 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
14928 # libtool variables for C++ shared and position-independent compiles.
14930 # Use glibcxx_lt_pic_flag to designate the automake variable
14931 # used to encapsulate the default libtool approach to creating objects
14932 # with position-independent code. Default: -prefer-pic.
14934 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
14935 # creating shared objects. Default: -D_GLIBCXX_SHARED.
14937 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
14938 # creating position-independent objects. This varies with the target
14939 # hardware and operating system, but is often: -DPIC -fPIC.
14940 if test "$enable_shared" = yes; then
14941 glibcxx_lt_pic_flag="-prefer-pic"
14942 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
14943 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
14945 else
14946 glibcxx_lt_pic_flag=
14947 glibcxx_compiler_pic_flag=
14948 glibcxx_compiler_shared_flag=
14954 # Override the libtool's pic_flag and pic_mode.
14955 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
14956 # NB: this impacts --with-pic and --without-pic.
14957 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
14958 pic_mode='default'
14960 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14961 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14963 # Possibly disable most of the library.
14964 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14965 ## than just ignoring the results. Faster /and/ more correct, win win.
14967 # Check whether --enable-hosted-libstdcxx was given.
14968 if test "${enable_hosted_libstdcxx+set}" = set; then :
14969 enableval=$enable_hosted_libstdcxx;
14970 else
14971 case "$host" in
14972 arm*-*-symbianelf*)
14973 enable_hosted_libstdcxx=no
14976 enable_hosted_libstdcxx=yes
14978 esac
14981 if test "$enable_hosted_libstdcxx" = no; then
14982 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14983 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14984 is_hosted=no
14985 hosted_define=0
14986 enable_abi_check=no
14987 enable_libstdcxx_pch=no
14988 else
14989 is_hosted=yes
14990 hosted_define=1
14994 cat >>confdefs.h <<_ACEOF
14995 #define _GLIBCXX_HOSTED $hosted_define
14996 _ACEOF
15000 # Enable descriptive messages to standard output on termination.
15002 # Check whether --enable-libstdcxx-verbose was given.
15003 if test "${enable_libstdcxx_verbose+set}" = set; then :
15004 enableval=$enable_libstdcxx_verbose;
15005 else
15006 enable_libstdcxx_verbose=yes
15009 if test x"$enable_libstdcxx_verbose" = xyes; then
15010 verbose_define=1
15011 else
15012 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15013 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15014 verbose_define=0
15017 cat >>confdefs.h <<_ACEOF
15018 #define _GLIBCXX_VERBOSE $verbose_define
15019 _ACEOF
15023 # Enable compiler support that doesn't require linking.
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
15026 $as_echo_n "checking for exception model to use... " >&6; }
15028 ac_ext=cpp
15029 ac_cpp='$CXXCPP $CPPFLAGS'
15030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15034 # Check whether --enable-sjlj-exceptions was given.
15035 if test "${enable_sjlj_exceptions+set}" = set; then :
15036 enableval=$enable_sjlj_exceptions;
15037 case "$enableval" in
15038 yes|no|auto) ;;
15039 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
15040 esac
15042 else
15043 enable_sjlj_exceptions=auto
15048 if test $enable_sjlj_exceptions = auto; then
15049 # Botheration. Now we've got to detect the exception model. Link tests
15050 # against libgcc.a are problematic since we've not been given proper -L
15051 # bits for single-tree newlib and libgloss.
15053 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
15054 cat > conftest.$ac_ext << EOF
15055 #line 15055 "configure"
15056 struct S { ~S(); };
15057 void bar();
15058 void foo()
15060 S s;
15061 bar();
15064 old_CXXFLAGS="$CXXFLAGS"
15065 CXXFLAGS=-S
15066 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15067 (eval $ac_compile) 2>&5
15068 ac_status=$?
15069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15070 test $ac_status = 0; }; then
15071 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15072 enable_sjlj_exceptions=yes
15073 elif grep _Unwind_SjLj_Register conftest.s >/dev/null 2>&1 ; then
15074 enable_sjlj_exceptions=yes
15075 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15076 enable_sjlj_exceptions=no
15077 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15078 enable_sjlj_exceptions=no
15081 CXXFLAGS="$old_CXXFLAGS"
15082 rm -f conftest*
15085 # This is a tad weird, for hysterical raisins. We have to map
15086 # enable/disable to two different models.
15087 case $enable_sjlj_exceptions in
15088 yes)
15090 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15092 ac_exception_model_name=sjlj
15095 ac_exception_model_name="call frame"
15098 as_fn_error "unable to detect exception model" "$LINENO" 5
15100 esac
15101 ac_ext=c
15102 ac_cpp='$CPP $CPPFLAGS'
15103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15108 $as_echo "$ac_exception_model_name" >&6; }
15111 # Check whether --enable-libstdcxx-pch was given.
15112 if test "${enable_libstdcxx_pch+set}" = set; then :
15113 enableval=$enable_libstdcxx_pch;
15114 case "$enableval" in
15115 yes|no) ;;
15116 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15117 esac
15119 else
15120 enable_libstdcxx_pch=$is_hosted
15124 if test $enable_libstdcxx_pch = yes; then
15125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15126 $as_echo_n "checking for compiler with PCH support... " >&6; }
15127 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15128 $as_echo_n "(cached) " >&6
15129 else
15130 ac_save_CXXFLAGS="$CXXFLAGS"
15131 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15133 ac_ext=cpp
15134 ac_cpp='$CXXCPP $CPPFLAGS'
15135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15139 echo '#include <math.h>' > conftest.h
15140 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15141 -o conftest.h.gch 1>&5 2>&1 &&
15142 echo '#error "pch failed"' > conftest.h &&
15143 echo '#include "conftest.h"' > conftest.cc &&
15144 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15145 then
15146 glibcxx_cv_prog_CXX_pch=yes
15147 else
15148 glibcxx_cv_prog_CXX_pch=no
15150 rm -f conftest*
15151 CXXFLAGS=$ac_save_CXXFLAGS
15152 ac_ext=c
15153 ac_cpp='$CPP $CPPFLAGS'
15154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15161 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15162 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15166 $as_echo_n "checking for enabled PCH... " >&6; }
15167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15168 $as_echo "$enable_libstdcxx_pch" >&6; }
15171 if test $enable_libstdcxx_pch = yes; then
15172 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15173 else
15174 glibcxx_PCHFLAGS=""
15179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15180 $as_echo_n "checking for thread model used by GCC... " >&6; }
15181 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15183 $as_echo "$target_thread_file" >&6; }
15185 case $target_thread_file in
15186 aix) thread_header=config/rs6000/gthr-aix.h ;;
15187 dce) thread_header=config/pa/gthr-dce.h ;;
15188 lynx) thread_header=config/gthr-lynx.h ;;
15189 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15190 posix) thread_header=gthr-posix.h ;;
15191 rtems) thread_header=config/gthr-rtems.h ;;
15192 single) thread_header=gthr-single.h ;;
15193 tpf) thread_header=config/s390/gthr-tpf.h ;;
15194 vxworks) thread_header=config/gthr-vxworks.h ;;
15195 win32) thread_header=config/i386/gthr-win32.h ;;
15196 esac
15202 ac_ext=cpp
15203 ac_cpp='$CXXCPP $CPPFLAGS'
15204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15208 old_CXXFLAGS="$CXXFLAGS"
15210 # Do link tests if possible, instead asm tests, limited to some platforms
15211 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15212 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15213 atomic_builtins_link_tests=no
15214 if test x$gcc_no_link != xyes; then
15215 # Can do link tests. Limit to some tested platforms
15216 case "$host" in
15217 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15218 atomic_builtins_link_tests=yes
15220 esac
15223 if test x$atomic_builtins_link_tests = xyes; then
15225 # Do link tests.
15227 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15230 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15231 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15232 $as_echo_n "(cached) " >&6
15233 else
15235 if test x$gcc_no_link = xyes; then
15236 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15239 /* end confdefs.h. */
15242 main ()
15244 typedef bool atomic_type;
15245 atomic_type c1;
15246 atomic_type c2;
15247 atomic_type c3(0);
15248 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15249 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15250 __ATOMIC_RELAXED);
15251 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15252 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15255 return 0;
15257 _ACEOF
15258 if ac_fn_cxx_try_link "$LINENO"; then :
15259 glibcxx_cv_atomic_bool=yes
15260 else
15261 glibcxx_cv_atomic_bool=no
15263 rm -f core conftest.err conftest.$ac_objext \
15264 conftest$ac_exeext conftest.$ac_ext
15268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15269 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15272 $as_echo_n "checking for atomic builtins for short... " >&6; }
15273 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15274 $as_echo_n "(cached) " >&6
15275 else
15277 if test x$gcc_no_link = xyes; then
15278 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15281 /* end confdefs.h. */
15284 main ()
15286 typedef short atomic_type;
15287 atomic_type c1;
15288 atomic_type c2;
15289 atomic_type c3(0);
15290 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15291 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15292 __ATOMIC_RELAXED);
15293 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15294 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15297 return 0;
15299 _ACEOF
15300 if ac_fn_cxx_try_link "$LINENO"; then :
15301 glibcxx_cv_atomic_short=yes
15302 else
15303 glibcxx_cv_atomic_short=no
15305 rm -f core conftest.err conftest.$ac_objext \
15306 conftest$ac_exeext conftest.$ac_ext
15310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15311 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15314 $as_echo_n "checking for atomic builtins for int... " >&6; }
15315 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15316 $as_echo_n "(cached) " >&6
15317 else
15319 if test x$gcc_no_link = xyes; then
15320 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15323 /* end confdefs.h. */
15326 main ()
15328 typedef int atomic_type;
15329 atomic_type c1;
15330 atomic_type c2;
15331 atomic_type c3(0);
15332 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15333 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15334 __ATOMIC_RELAXED);
15335 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15336 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15339 return 0;
15341 _ACEOF
15342 if ac_fn_cxx_try_link "$LINENO"; then :
15343 glibcxx_cv_atomic_int=yes
15344 else
15345 glibcxx_cv_atomic_int=no
15347 rm -f core conftest.err conftest.$ac_objext \
15348 conftest$ac_exeext conftest.$ac_ext
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15353 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15356 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15357 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15358 $as_echo_n "(cached) " >&6
15359 else
15361 if test x$gcc_no_link = xyes; then
15362 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15365 /* end confdefs.h. */
15368 main ()
15370 typedef long long atomic_type;
15371 atomic_type c1;
15372 atomic_type c2;
15373 atomic_type c3(0);
15374 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15375 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15376 __ATOMIC_RELAXED);
15377 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15378 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15381 return 0;
15383 _ACEOF
15384 if ac_fn_cxx_try_link "$LINENO"; then :
15385 glibcxx_cv_atomic_long_long=yes
15386 else
15387 glibcxx_cv_atomic_long_long=no
15389 rm -f core conftest.err conftest.$ac_objext \
15390 conftest$ac_exeext conftest.$ac_ext
15394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15395 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15397 else
15399 # Do asm tests.
15401 # Compile unoptimized.
15402 CXXFLAGS='-O0 -S'
15404 # Fake what AC_TRY_COMPILE does.
15406 cat > conftest.$ac_ext << EOF
15407 #line 15407 "configure"
15408 int main()
15410 typedef bool atomic_type;
15411 atomic_type c1;
15412 atomic_type c2;
15413 atomic_type c3(0);
15414 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15415 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15416 __ATOMIC_RELAXED);
15417 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15418 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15420 return 0;
15424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15425 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15426 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15427 (eval $ac_compile) 2>&5
15428 ac_status=$?
15429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15430 test $ac_status = 0; }; then
15431 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15432 glibcxx_cv_atomic_bool=no
15433 else
15434 glibcxx_cv_atomic_bool=yes
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15438 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15439 rm -f conftest*
15441 cat > conftest.$ac_ext << EOF
15442 #line 15442 "configure"
15443 int main()
15445 typedef short atomic_type;
15446 atomic_type c1;
15447 atomic_type c2;
15448 atomic_type c3(0);
15449 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15450 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15451 __ATOMIC_RELAXED);
15452 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15453 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15455 return 0;
15459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15460 $as_echo_n "checking for atomic builtins for short... " >&6; }
15461 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15462 (eval $ac_compile) 2>&5
15463 ac_status=$?
15464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15465 test $ac_status = 0; }; then
15466 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15467 glibcxx_cv_atomic_short=no
15468 else
15469 glibcxx_cv_atomic_short=yes
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15473 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15474 rm -f conftest*
15476 cat > conftest.$ac_ext << EOF
15477 #line 15477 "configure"
15478 int main()
15480 // NB: _Atomic_word not necessarily int.
15481 typedef int atomic_type;
15482 atomic_type c1;
15483 atomic_type c2;
15484 atomic_type c3(0);
15485 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15486 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15487 __ATOMIC_RELAXED);
15488 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15489 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15491 return 0;
15495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15496 $as_echo_n "checking for atomic builtins for int... " >&6; }
15497 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15498 (eval $ac_compile) 2>&5
15499 ac_status=$?
15500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15501 test $ac_status = 0; }; then
15502 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15503 glibcxx_cv_atomic_int=no
15504 else
15505 glibcxx_cv_atomic_int=yes
15508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15509 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15510 rm -f conftest*
15512 cat > conftest.$ac_ext << EOF
15513 #line 15513 "configure"
15514 int main()
15516 typedef long long atomic_type;
15517 atomic_type c1;
15518 atomic_type c2;
15519 atomic_type c3(0);
15520 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15521 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15522 __ATOMIC_RELAXED);
15523 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15524 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15526 return 0;
15530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15531 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15532 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15533 (eval $ac_compile) 2>&5
15534 ac_status=$?
15535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15536 test $ac_status = 0; }; then
15537 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15538 glibcxx_cv_atomic_long_long=no
15539 else
15540 glibcxx_cv_atomic_long_long=yes
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15544 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15545 rm -f conftest*
15549 CXXFLAGS="$old_CXXFLAGS"
15550 ac_ext=c
15551 ac_cpp='$CPP $CPPFLAGS'
15552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15557 # Set atomicity_dir to builtins if all but the long long test above passes.
15558 if test $glibcxx_cv_atomic_bool = yes \
15559 && test $glibcxx_cv_atomic_short = yes \
15560 && test $glibcxx_cv_atomic_int = yes; then
15562 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15564 atomicity_dir=cpu/generic/atomicity_builtins
15567 # If still generic, set to mutex.
15568 if test $atomicity_dir = "cpu/generic" ; then
15569 atomicity_dir=cpu/generic/atomicity_mutex
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15571 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15572 if test "x$target_thread_file" = xsingle; then
15573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15574 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15576 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15577 else
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15579 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15581 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15588 # Fake what AC_TRY_COMPILE does, without linking as this is
15589 # unnecessary for this test.
15591 cat > conftest.$ac_ext << EOF
15592 #line 15592 "configure"
15593 int main()
15595 _Decimal32 d1;
15596 _Decimal64 d2;
15597 _Decimal128 d3;
15598 return 0;
15602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15603 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15604 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15605 (eval $ac_compile) 2>&5
15606 ac_status=$?
15607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15608 test $ac_status = 0; }; then
15610 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15612 enable_dfp=yes
15613 else
15614 enable_dfp=no
15616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15617 $as_echo "$enable_dfp" >&6; }
15618 rm -f conftest*
15623 ac_ext=cpp
15624 ac_cpp='$CXXCPP $CPPFLAGS'
15625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15630 # Fake what AC_TRY_COMPILE does, without linking as this is
15631 # unnecessary for this test.
15633 cat > conftest.$ac_ext << EOF
15634 #line 15634 "configure"
15635 template<typename T1, typename T2>
15636 struct same
15637 { typedef T2 type; };
15639 template<typename T>
15640 struct same<T, T>;
15642 int main()
15644 typename same<long, __int128>::type i1;
15645 typename same<long long, __int128>::type i2;
15649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15650 $as_echo_n "checking for __int128... " >&6; }
15651 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15652 (eval $ac_compile) 2>&5
15653 ac_status=$?
15654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15655 test $ac_status = 0; }; then
15657 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15659 enable_int128=yes
15660 else
15661 enable_int128=no
15663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15664 $as_echo "$enable_int128" >&6; }
15665 rm -f conftest*
15667 cat > conftest.$ac_ext << EOF
15668 #line 15668 "configure"
15669 template<typename T1, typename T2>
15670 struct same
15671 { typedef T2 type; };
15673 template<typename T>
15674 struct same<T, T>;
15676 int main()
15678 typename same<double, __float128>::type f1;
15679 typename same<long double, __float128>::type f2;
15683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15684 $as_echo_n "checking for __float128... " >&6; }
15685 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15686 (eval $ac_compile) 2>&5
15687 ac_status=$?
15688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15689 test $ac_status = 0; }; then
15691 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15693 enable_float128=yes
15694 else
15695 enable_float128=no
15697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15698 $as_echo "$enable_float128" >&6; }
15699 rm -f conftest*
15701 ac_ext=c
15702 ac_cpp='$CPP $CPPFLAGS'
15703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15709 # Checks for compiler support that doesn't require linking.
15711 # All these tests are for C++; save the language and the compiler flags.
15712 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15713 # found in GLIBCXX_CONFIGURE.
15715 ac_ext=cpp
15716 ac_cpp='$CXXCPP $CPPFLAGS'
15717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15721 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15722 ac_save_CXXFLAGS="$CXXFLAGS"
15724 # Check for maintainer-mode bits.
15725 if test x"$USE_MAINTAINER_MODE" = xno; then
15726 WERROR=''
15727 else
15728 WERROR='-Werror'
15731 # Check for -ffunction-sections -fdata-sections
15732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15733 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15734 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15736 /* end confdefs.h. */
15737 int foo; void bar() { };
15739 main ()
15743 return 0;
15745 _ACEOF
15746 if ac_fn_cxx_try_compile "$LINENO"; then :
15747 ac_fdsections=yes
15748 else
15749 ac_fdsections=no
15751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15752 if test "$ac_test_CXXFLAGS" = set; then
15753 CXXFLAGS="$ac_save_CXXFLAGS"
15754 else
15755 # this is the suspicious part
15756 CXXFLAGS=''
15758 if test x"$ac_fdsections" = x"yes"; then
15759 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15762 $as_echo "$ac_fdsections" >&6; }
15764 ac_ext=c
15765 ac_cpp='$CPP $CPPFLAGS'
15766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15774 # Enable all the variable C++ runtime options that don't require linking.
15776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15777 $as_echo_n "checking for underlying I/O to use... " >&6; }
15778 # Check whether --enable-cstdio was given.
15779 if test "${enable_cstdio+set}" = set; then :
15780 enableval=$enable_cstdio;
15781 case "$enableval" in
15782 stdio) ;;
15783 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15784 esac
15786 else
15787 enable_cstdio=stdio
15792 # Now that libio has been removed, you can have any color you want as long
15793 # as it's black. This is one big no-op until other packages are added, but
15794 # showing the framework never hurts.
15795 case ${enable_cstdio} in
15796 stdio)
15797 CSTDIO_H=config/io/c_io_stdio.h
15798 BASIC_FILE_H=config/io/basic_file_stdio.h
15799 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15801 $as_echo "stdio" >&6; }
15803 esac
15810 # Check whether --enable-clocale was given.
15811 if test "${enable_clocale+set}" = set; then :
15812 enableval=$enable_clocale;
15813 case "$enableval" in
15814 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15815 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15816 esac
15818 else
15819 enable_clocale=auto
15824 # Deal with gettext issues. Default to not using it (=no) until we detect
15825 # support for it later. Let the user turn it off via --e/d, but let that
15826 # default to on for easier handling.
15827 USE_NLS=no
15828 # Check whether --enable-nls was given.
15829 if test "${enable_nls+set}" = set; then :
15830 enableval=$enable_nls;
15831 else
15832 enable_nls=yes
15836 # Either a known package, or "auto"
15837 if test $enable_clocale = no || test $enable_clocale = yes; then
15838 enable_clocale=auto
15840 enable_clocale_flag=$enable_clocale
15842 # Probe for locale model to use if none specified.
15843 # Default to "generic".
15844 if test $enable_clocale_flag = auto; then
15845 case ${target_os} in
15846 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15847 enable_clocale_flag=gnu
15849 darwin* | freebsd*)
15850 enable_clocale_flag=darwin
15852 openbsd*)
15853 enable_clocale_flag=newlib
15856 if test x"$with_newlib" = x"yes"; then
15857 enable_clocale_flag=newlib
15858 else
15859 enable_clocale_flag=generic
15862 esac
15865 # Sanity check model, and test for special functionality.
15866 if test $enable_clocale_flag = gnu; then
15867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15868 /* end confdefs.h. */
15870 #include <features.h>
15871 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15872 _GLIBCXX_ok
15873 #endif
15875 _ACEOF
15876 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15877 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15878 enable_clocale_flag=gnu
15879 else
15880 enable_clocale_flag=generic
15882 rm -f conftest*
15885 # Set it to scream when it hurts.
15886 ac_save_CFLAGS="$CFLAGS"
15887 CFLAGS="-Wimplicit-function-declaration -Werror"
15889 # Use strxfrm_l if available.
15890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15891 /* end confdefs.h. */
15892 #define _GNU_SOURCE 1
15893 #include <string.h>
15894 #include <locale.h>
15896 main ()
15898 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15900 return 0;
15902 _ACEOF
15903 if ac_fn_c_try_compile "$LINENO"; then :
15905 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15910 # Use strerror_l if available.
15911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15912 /* end confdefs.h. */
15913 #define _GNU_SOURCE 1
15914 #include <string.h>
15915 #include <locale.h>
15917 main ()
15919 __locale_t loc; strerror_l(5, loc);
15921 return 0;
15923 _ACEOF
15924 if ac_fn_c_try_compile "$LINENO"; then :
15926 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15931 CFLAGS="$ac_save_CFLAGS"
15934 # Perhaps use strerror_r if available, and strerror_l isn't.
15935 ac_save_CFLAGS="$CFLAGS"
15936 CFLAGS="-Wimplicit-function-declaration -Werror"
15937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15938 /* end confdefs.h. */
15939 #define _GNU_SOURCE 1
15940 #include <string.h>
15941 #include <locale.h>
15943 main ()
15945 char s[128]; strerror_r(5, s, 128);
15947 return 0;
15949 _ACEOF
15950 if ac_fn_c_try_compile "$LINENO"; then :
15952 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15956 CFLAGS="$ac_save_CFLAGS"
15958 # Set configure bits for specified locale package
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15960 $as_echo_n "checking for C locale to use... " >&6; }
15961 case ${enable_clocale_flag} in
15962 generic)
15963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15964 $as_echo "generic" >&6; }
15966 CLOCALE_H=config/locale/generic/c_locale.h
15967 CLOCALE_CC=config/locale/generic/c_locale.cc
15968 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15969 CCOLLATE_CC=config/locale/generic/collate_members.cc
15970 CCTYPE_CC=config/locale/generic/ctype_members.cc
15971 CMESSAGES_H=config/locale/generic/messages_members.h
15972 CMESSAGES_CC=config/locale/generic/messages_members.cc
15973 CMONEY_CC=config/locale/generic/monetary_members.cc
15974 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15975 CTIME_H=config/locale/generic/time_members.h
15976 CTIME_CC=config/locale/generic/time_members.cc
15977 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15979 darwin)
15980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15981 $as_echo "darwin or freebsd" >&6; }
15983 CLOCALE_H=config/locale/generic/c_locale.h
15984 CLOCALE_CC=config/locale/generic/c_locale.cc
15985 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15986 CCOLLATE_CC=config/locale/generic/collate_members.cc
15987 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15988 CMESSAGES_H=config/locale/generic/messages_members.h
15989 CMESSAGES_CC=config/locale/generic/messages_members.cc
15990 CMONEY_CC=config/locale/generic/monetary_members.cc
15991 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15992 CTIME_H=config/locale/generic/time_members.h
15993 CTIME_CC=config/locale/generic/time_members.cc
15994 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15997 gnu)
15998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15999 $as_echo "gnu" >&6; }
16001 # Declare intention to use gettext, and add support for specific
16002 # languages.
16003 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16004 ALL_LINGUAS="de fr"
16006 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16007 # Extract the first word of "msgfmt", so it can be a program name with args.
16008 set dummy msgfmt; ac_word=$2
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16010 $as_echo_n "checking for $ac_word... " >&6; }
16011 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16012 $as_echo_n "(cached) " >&6
16013 else
16014 if test -n "$check_msgfmt"; then
16015 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16016 else
16017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16018 for as_dir in $PATH
16020 IFS=$as_save_IFS
16021 test -z "$as_dir" && as_dir=.
16022 for ac_exec_ext in '' $ac_executable_extensions; do
16023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16024 ac_cv_prog_check_msgfmt="yes"
16025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16026 break 2
16028 done
16029 done
16030 IFS=$as_save_IFS
16032 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16035 check_msgfmt=$ac_cv_prog_check_msgfmt
16036 if test -n "$check_msgfmt"; then
16037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16038 $as_echo "$check_msgfmt" >&6; }
16039 else
16040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16041 $as_echo "no" >&6; }
16045 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16046 USE_NLS=yes
16048 # Export the build objects.
16049 for ling in $ALL_LINGUAS; do \
16050 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16051 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16052 done
16056 CLOCALE_H=config/locale/gnu/c_locale.h
16057 CLOCALE_CC=config/locale/gnu/c_locale.cc
16058 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16059 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16060 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16061 CMESSAGES_H=config/locale/gnu/messages_members.h
16062 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16063 CMONEY_CC=config/locale/gnu/monetary_members.cc
16064 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16065 CTIME_H=config/locale/gnu/time_members.h
16066 CTIME_CC=config/locale/gnu/time_members.cc
16067 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16069 ieee_1003.1-2001)
16070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16071 $as_echo "IEEE 1003.1" >&6; }
16073 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16074 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16075 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16076 CCOLLATE_CC=config/locale/generic/collate_members.cc
16077 CCTYPE_CC=config/locale/generic/ctype_members.cc
16078 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16079 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16080 CMONEY_CC=config/locale/generic/monetary_members.cc
16081 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16082 CTIME_H=config/locale/generic/time_members.h
16083 CTIME_CC=config/locale/generic/time_members.cc
16084 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16086 newlib)
16087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16088 $as_echo "newlib" >&6; }
16090 CLOCALE_H=config/locale/generic/c_locale.h
16091 CLOCALE_CC=config/locale/generic/c_locale.cc
16092 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16093 CCOLLATE_CC=config/locale/generic/collate_members.cc
16094 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16095 CMESSAGES_H=config/locale/generic/messages_members.h
16096 CMESSAGES_CC=config/locale/generic/messages_members.cc
16097 CMONEY_CC=config/locale/generic/monetary_members.cc
16098 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16099 CTIME_H=config/locale/generic/time_members.h
16100 CTIME_CC=config/locale/generic/time_members.cc
16101 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16103 esac
16105 # This is where the testsuite looks for locale catalogs, using the
16106 # -DLOCALEDIR define during testsuite compilation.
16107 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16110 # A standalone libintl (e.g., GNU libintl) may be in use.
16111 if test $USE_NLS = yes; then
16112 for ac_header in libintl.h
16113 do :
16114 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16115 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16116 cat >>confdefs.h <<_ACEOF
16117 #define HAVE_LIBINTL_H 1
16118 _ACEOF
16120 else
16121 USE_NLS=no
16124 done
16126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16127 $as_echo_n "checking for library containing gettext... " >&6; }
16128 if test "${ac_cv_search_gettext+set}" = set; then :
16129 $as_echo_n "(cached) " >&6
16130 else
16131 ac_func_search_save_LIBS=$LIBS
16132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16133 /* end confdefs.h. */
16135 /* Override any GCC internal prototype to avoid an error.
16136 Use char because int might match the return type of a GCC
16137 builtin and then its argument prototype would still apply. */
16138 #ifdef __cplusplus
16139 extern "C"
16140 #endif
16141 char gettext ();
16143 main ()
16145 return gettext ();
16147 return 0;
16149 _ACEOF
16150 for ac_lib in '' intl; do
16151 if test -z "$ac_lib"; then
16152 ac_res="none required"
16153 else
16154 ac_res=-l$ac_lib
16155 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16157 if test x$gcc_no_link = xyes; then
16158 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16160 if ac_fn_c_try_link "$LINENO"; then :
16161 ac_cv_search_gettext=$ac_res
16163 rm -f core conftest.err conftest.$ac_objext \
16164 conftest$ac_exeext
16165 if test "${ac_cv_search_gettext+set}" = set; then :
16166 break
16168 done
16169 if test "${ac_cv_search_gettext+set}" = set; then :
16171 else
16172 ac_cv_search_gettext=no
16174 rm conftest.$ac_ext
16175 LIBS=$ac_func_search_save_LIBS
16177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16178 $as_echo "$ac_cv_search_gettext" >&6; }
16179 ac_res=$ac_cv_search_gettext
16180 if test "$ac_res" != no; then :
16181 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16183 else
16184 USE_NLS=no
16188 if test $USE_NLS = yes; then
16190 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16210 $as_echo_n "checking for std::allocator base class... " >&6; }
16211 # Check whether --enable-libstdcxx-allocator was given.
16212 if test "${enable_libstdcxx_allocator+set}" = set; then :
16213 enableval=$enable_libstdcxx_allocator;
16214 case "$enableval" in
16215 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16216 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16217 esac
16219 else
16220 enable_libstdcxx_allocator=auto
16225 # If they didn't use this option switch, or if they specified --enable
16226 # with no specific model, we'll have to look for one. If they
16227 # specified --disable (???), do likewise.
16228 if test $enable_libstdcxx_allocator = no ||
16229 test $enable_libstdcxx_allocator = yes;
16230 then
16231 enable_libstdcxx_allocator=auto
16234 # Either a known package, or "auto". Auto implies the default choice
16235 # for a particular platform.
16236 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16238 # Probe for host-specific support if no specific model is specified.
16239 # Default to "new".
16240 if test $enable_libstdcxx_allocator_flag = auto; then
16241 case ${target_os} in
16242 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16243 enable_libstdcxx_allocator_flag=new
16246 enable_libstdcxx_allocator_flag=new
16248 esac
16250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16251 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16254 # Set configure bits for specified locale package
16255 case ${enable_libstdcxx_allocator_flag} in
16256 bitmap)
16257 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16258 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16260 malloc)
16261 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16262 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16265 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16266 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16268 new)
16269 ALLOCATOR_H=config/allocator/new_allocator_base.h
16270 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16272 pool)
16273 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16274 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16276 esac
16282 # Check whether --enable-cheaders was given.
16283 if test "${enable_cheaders+set}" = set; then :
16284 enableval=$enable_cheaders;
16285 case "$enableval" in
16286 c|c_std|c_global) ;;
16287 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16288 esac
16290 else
16291 enable_cheaders=$c_model
16295 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16296 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16298 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16300 # Allow overrides to configure.host here.
16301 if test $enable_cheaders = c_global; then
16302 c_compatibility=yes
16311 # Check whether --enable-long-long was given.
16312 if test "${enable_long_long+set}" = set; then :
16313 enableval=$enable_long_long;
16314 case "$enableval" in
16315 yes|no) ;;
16316 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16317 esac
16319 else
16320 enable_long_long=yes
16324 if test $enable_long_long = yes; then
16326 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16330 $as_echo_n "checking for enabled long long specializations... " >&6; }
16331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16332 $as_echo "$enable_long_long" >&6; }
16335 # Check whether --enable-wchar_t was given.
16336 if test "${enable_wchar_t+set}" = set; then :
16337 enableval=$enable_wchar_t;
16338 case "$enableval" in
16339 yes|no) ;;
16340 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16341 esac
16343 else
16344 enable_wchar_t=yes
16349 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16350 for ac_header in wchar.h
16351 do :
16352 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16353 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16354 cat >>confdefs.h <<_ACEOF
16355 #define HAVE_WCHAR_H 1
16356 _ACEOF
16357 ac_has_wchar_h=yes
16358 else
16359 ac_has_wchar_h=no
16362 done
16364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16365 $as_echo_n "checking for mbstate_t... " >&6; }
16366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16367 /* end confdefs.h. */
16368 #include <wchar.h>
16370 main ()
16372 mbstate_t teststate;
16374 return 0;
16376 _ACEOF
16377 if ac_fn_c_try_compile "$LINENO"; then :
16378 have_mbstate_t=yes
16379 else
16380 have_mbstate_t=no
16382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16384 $as_echo "$have_mbstate_t" >&6; }
16385 if test x"$have_mbstate_t" = xyes; then
16387 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16391 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16392 # ac_has_wchar_h.
16393 for ac_header in wctype.h
16394 do :
16395 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16396 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16397 cat >>confdefs.h <<_ACEOF
16398 #define HAVE_WCTYPE_H 1
16399 _ACEOF
16400 ac_has_wctype_h=yes
16401 else
16402 ac_has_wctype_h=no
16405 done
16408 if test x"$enable_wchar_t" = x"yes"; then
16411 ac_ext=cpp
16412 ac_cpp='$CXXCPP $CPPFLAGS'
16413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16418 if test x"$ac_has_wchar_h" = xyes &&
16419 test x"$ac_has_wctype_h" = xyes; then
16420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16421 /* end confdefs.h. */
16422 #include <wchar.h>
16423 #include <stddef.h>
16424 wint_t i;
16425 long l = WEOF;
16426 long j = WCHAR_MIN;
16427 long k = WCHAR_MAX;
16428 namespace test
16430 using ::btowc;
16431 using ::fgetwc;
16432 using ::fgetws;
16433 using ::fputwc;
16434 using ::fputws;
16435 using ::fwide;
16436 using ::fwprintf;
16437 using ::fwscanf;
16438 using ::getwc;
16439 using ::getwchar;
16440 using ::mbrlen;
16441 using ::mbrtowc;
16442 using ::mbsinit;
16443 using ::mbsrtowcs;
16444 using ::putwc;
16445 using ::putwchar;
16446 using ::swprintf;
16447 using ::swscanf;
16448 using ::ungetwc;
16449 using ::vfwprintf;
16450 using ::vswprintf;
16451 using ::vwprintf;
16452 using ::wcrtomb;
16453 using ::wcscat;
16454 using ::wcschr;
16455 using ::wcscmp;
16456 using ::wcscoll;
16457 using ::wcscpy;
16458 using ::wcscspn;
16459 using ::wcsftime;
16460 using ::wcslen;
16461 using ::wcsncat;
16462 using ::wcsncmp;
16463 using ::wcsncpy;
16464 using ::wcspbrk;
16465 using ::wcsrchr;
16466 using ::wcsrtombs;
16467 using ::wcsspn;
16468 using ::wcsstr;
16469 using ::wcstod;
16470 using ::wcstok;
16471 using ::wcstol;
16472 using ::wcstoul;
16473 using ::wcsxfrm;
16474 using ::wctob;
16475 using ::wmemchr;
16476 using ::wmemcmp;
16477 using ::wmemcpy;
16478 using ::wmemmove;
16479 using ::wmemset;
16480 using ::wprintf;
16481 using ::wscanf;
16485 main ()
16489 return 0;
16491 _ACEOF
16492 if ac_fn_cxx_try_compile "$LINENO"; then :
16494 else
16495 enable_wchar_t=no
16497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16498 else
16499 enable_wchar_t=no
16502 ac_ext=c
16503 ac_cpp='$CPP $CPPFLAGS'
16504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16510 if test x"$enable_wchar_t" = x"yes"; then
16512 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16517 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16519 $as_echo "$enable_wchar_t" >&6; }
16523 # Check whether --enable-c99 was given.
16524 if test "${enable_c99+set}" = set; then :
16525 enableval=$enable_c99;
16526 case "$enableval" in
16527 yes|no) ;;
16528 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16529 esac
16531 else
16532 enable_c99=yes
16537 if test x"$enable_c99" = x"yes"; then
16540 ac_ext=cpp
16541 ac_cpp='$CXXCPP $CPPFLAGS'
16542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16547 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16548 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16549 # spuriously enabled.
16550 # Long term, -std=c++0x could be even better, could manage to explicitly
16551 # request C99 facilities to the underlying C headers.
16552 ac_save_CXXFLAGS="$CXXFLAGS"
16553 CXXFLAGS="$CXXFLAGS -std=c++98"
16554 ac_save_LIBS="$LIBS"
16555 ac_save_gcc_no_link="$gcc_no_link"
16557 if test x$gcc_no_link != xyes; then
16558 # Use -fno-exceptions to that the C driver can link these tests without
16559 # hitting undefined references to personality routines.
16560 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16562 $as_echo_n "checking for sin in -lm... " >&6; }
16563 if test "${ac_cv_lib_m_sin+set}" = set; then :
16564 $as_echo_n "(cached) " >&6
16565 else
16566 ac_check_lib_save_LIBS=$LIBS
16567 LIBS="-lm $LIBS"
16568 if test x$gcc_no_link = xyes; then
16569 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16572 /* end confdefs.h. */
16574 /* Override any GCC internal prototype to avoid an error.
16575 Use char because int might match the return type of a GCC
16576 builtin and then its argument prototype would still apply. */
16577 #ifdef __cplusplus
16578 extern "C"
16579 #endif
16580 char sin ();
16582 main ()
16584 return sin ();
16586 return 0;
16588 _ACEOF
16589 if ac_fn_cxx_try_link "$LINENO"; then :
16590 ac_cv_lib_m_sin=yes
16591 else
16592 ac_cv_lib_m_sin=no
16594 rm -f core conftest.err conftest.$ac_objext \
16595 conftest$ac_exeext conftest.$ac_ext
16596 LIBS=$ac_check_lib_save_LIBS
16598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16599 $as_echo "$ac_cv_lib_m_sin" >&6; }
16600 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16602 LIBS="$LIBS -lm"
16604 else
16606 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16607 gcc_no_link=yes
16613 # Check for the existence of <math.h> functions used if C99 is enabled.
16614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16615 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16616 if test "${glibcxx_cv_c99_math+set}" = set; then :
16617 $as_echo_n "(cached) " >&6
16618 else
16620 if test x$gcc_no_link = xyes; then
16621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16622 /* end confdefs.h. */
16623 #include <math.h>
16624 volatile double d1, d2;
16625 volatile int i;
16627 main ()
16629 i = fpclassify(d1);
16630 i = isfinite(d1);
16631 i = isinf(d1);
16632 i = isnan(d1);
16633 i = isnormal(d1);
16634 i = signbit(d1);
16635 i = isgreater(d1, d2);
16636 i = isgreaterequal(d1, d2);
16637 i = isless(d1, d2);
16638 i = islessequal(d1, d2);
16639 i = islessgreater(d1, d2);
16640 i = islessgreater(d1, d2);
16641 i = isunordered(d1, d2);
16644 return 0;
16646 _ACEOF
16647 if ac_fn_cxx_try_compile "$LINENO"; then :
16648 glibcxx_cv_c99_math=yes
16649 else
16650 glibcxx_cv_c99_math=no
16652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16653 else
16654 if test x$gcc_no_link = xyes; then
16655 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16658 /* end confdefs.h. */
16659 #include <math.h>
16660 volatile double d1, d2;
16661 volatile int i;
16663 main ()
16665 i = fpclassify(d1);
16666 i = isfinite(d1);
16667 i = isinf(d1);
16668 i = isnan(d1);
16669 i = isnormal(d1);
16670 i = signbit(d1);
16671 i = isgreater(d1, d2);
16672 i = isgreaterequal(d1, d2);
16673 i = isless(d1, d2);
16674 i = islessequal(d1, d2);
16675 i = islessgreater(d1, d2);
16676 i = islessgreater(d1, d2);
16677 i = isunordered(d1, d2);
16680 return 0;
16682 _ACEOF
16683 if ac_fn_cxx_try_link "$LINENO"; then :
16684 glibcxx_cv_c99_math=yes
16685 else
16686 glibcxx_cv_c99_math=no
16688 rm -f core conftest.err conftest.$ac_objext \
16689 conftest$ac_exeext conftest.$ac_ext
16694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16695 $as_echo "$glibcxx_cv_c99_math" >&6; }
16696 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16698 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16702 # Check for the existence of <complex.h> complex math functions.
16703 # This is necessary even though libstdc++ uses the builtin versions
16704 # of these functions, because if the builtin cannot be used, a reference
16705 # to the library function is emitted.
16706 for ac_header in tgmath.h
16707 do :
16708 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16709 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16710 cat >>confdefs.h <<_ACEOF
16711 #define HAVE_TGMATH_H 1
16712 _ACEOF
16713 ac_has_tgmath_h=yes
16714 else
16715 ac_has_tgmath_h=no
16718 done
16720 for ac_header in complex.h
16721 do :
16722 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16723 if test "x$ac_cv_header_complex_h" = x""yes; then :
16724 cat >>confdefs.h <<_ACEOF
16725 #define HAVE_COMPLEX_H 1
16726 _ACEOF
16727 ac_has_complex_h=yes
16728 else
16729 ac_has_complex_h=no
16732 done
16734 glibcxx_cv_c99_complex=no;
16735 if test x"$ac_has_complex_h" = x"yes"; then
16736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16737 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16738 if test x$gcc_no_link = xyes; then
16739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16740 /* end confdefs.h. */
16741 #include <complex.h>
16742 typedef __complex__ float float_type;
16743 typedef __complex__ double double_type;
16744 typedef __complex__ long double ld_type;
16745 volatile float_type tmpf;
16746 volatile double_type tmpd;
16747 volatile ld_type tmpld;
16748 volatile float f;
16749 volatile double d;
16750 volatile long double ld;
16752 main ()
16754 f = cabsf(tmpf);
16755 f = cargf(tmpf);
16756 tmpf = ccosf(tmpf);
16757 tmpf = ccoshf(tmpf);
16758 tmpf = cexpf(tmpf);
16759 tmpf = clogf(tmpf);
16760 tmpf = csinf(tmpf);
16761 tmpf = csinhf(tmpf);
16762 tmpf = csqrtf(tmpf);
16763 tmpf = ctanf(tmpf);
16764 tmpf = ctanhf(tmpf);
16765 tmpf = cpowf(tmpf, tmpf);
16766 tmpf = cprojf(tmpf);
16767 d = cabs(tmpd);
16768 d = carg(tmpd);
16769 tmpd = ccos(tmpd);
16770 tmpd = ccosh(tmpd);
16771 tmpd = cexp(tmpd);
16772 tmpd = clog(tmpd);
16773 tmpd = csin(tmpd);
16774 tmpd = csinh(tmpd);
16775 tmpd = csqrt(tmpd);
16776 tmpd = ctan(tmpd);
16777 tmpd = ctanh(tmpd);
16778 tmpd = cpow(tmpd, tmpd);
16779 tmpd = cproj(tmpd);
16780 ld = cabsl(tmpld);
16781 ld = cargl(tmpld);
16782 tmpld = ccosl(tmpld);
16783 tmpld = ccoshl(tmpld);
16784 tmpld = cexpl(tmpld);
16785 tmpld = clogl(tmpld);
16786 tmpld = csinl(tmpld);
16787 tmpld = csinhl(tmpld);
16788 tmpld = csqrtl(tmpld);
16789 tmpld = ctanl(tmpld);
16790 tmpld = ctanhl(tmpld);
16791 tmpld = cpowl(tmpld, tmpld);
16792 tmpld = cprojl(tmpld);
16795 return 0;
16797 _ACEOF
16798 if ac_fn_cxx_try_compile "$LINENO"; then :
16799 glibcxx_cv_c99_complex=yes
16800 else
16801 glibcxx_cv_c99_complex=no
16803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16804 else
16805 if test x$gcc_no_link = xyes; then
16806 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16809 /* end confdefs.h. */
16810 #include <complex.h>
16811 typedef __complex__ float float_type;
16812 typedef __complex__ double double_type;
16813 typedef __complex__ long double ld_type;
16814 volatile float_type tmpf;
16815 volatile double_type tmpd;
16816 volatile ld_type tmpld;
16817 volatile float f;
16818 volatile double d;
16819 volatile long double ld;
16821 main ()
16823 f = cabsf(tmpf);
16824 f = cargf(tmpf);
16825 tmpf = ccosf(tmpf);
16826 tmpf = ccoshf(tmpf);
16827 tmpf = cexpf(tmpf);
16828 tmpf = clogf(tmpf);
16829 tmpf = csinf(tmpf);
16830 tmpf = csinhf(tmpf);
16831 tmpf = csqrtf(tmpf);
16832 tmpf = ctanf(tmpf);
16833 tmpf = ctanhf(tmpf);
16834 tmpf = cpowf(tmpf, tmpf);
16835 tmpf = cprojf(tmpf);
16836 d = cabs(tmpd);
16837 d = carg(tmpd);
16838 tmpd = ccos(tmpd);
16839 tmpd = ccosh(tmpd);
16840 tmpd = cexp(tmpd);
16841 tmpd = clog(tmpd);
16842 tmpd = csin(tmpd);
16843 tmpd = csinh(tmpd);
16844 tmpd = csqrt(tmpd);
16845 tmpd = ctan(tmpd);
16846 tmpd = ctanh(tmpd);
16847 tmpd = cpow(tmpd, tmpd);
16848 tmpd = cproj(tmpd);
16849 ld = cabsl(tmpld);
16850 ld = cargl(tmpld);
16851 tmpld = ccosl(tmpld);
16852 tmpld = ccoshl(tmpld);
16853 tmpld = cexpl(tmpld);
16854 tmpld = clogl(tmpld);
16855 tmpld = csinl(tmpld);
16856 tmpld = csinhl(tmpld);
16857 tmpld = csqrtl(tmpld);
16858 tmpld = ctanl(tmpld);
16859 tmpld = ctanhl(tmpld);
16860 tmpld = cpowl(tmpld, tmpld);
16861 tmpld = cprojl(tmpld);
16864 return 0;
16866 _ACEOF
16867 if ac_fn_cxx_try_link "$LINENO"; then :
16868 glibcxx_cv_c99_complex=yes
16869 else
16870 glibcxx_cv_c99_complex=no
16872 rm -f core conftest.err conftest.$ac_objext \
16873 conftest$ac_exeext conftest.$ac_ext
16876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16877 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16878 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16880 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16884 # Check for the existence in <stdio.h> of vscanf, et. al.
16885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16886 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16887 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16888 $as_echo_n "(cached) " >&6
16889 else
16891 if test x$gcc_no_link = xyes; then
16892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16893 /* end confdefs.h. */
16894 #include <stdio.h>
16895 #include <stdarg.h>
16896 void foo(char* fmt, ...)
16898 va_list args; va_start(args, fmt);
16899 vfscanf(stderr, "%i", args);
16900 vscanf("%i", args);
16901 vsnprintf(fmt, 0, "%i", args);
16902 vsscanf(fmt, "%i", args);
16905 main ()
16907 snprintf("12", 0, "%i");
16909 return 0;
16911 _ACEOF
16912 if ac_fn_cxx_try_compile "$LINENO"; then :
16913 glibcxx_cv_c99_stdio=yes
16914 else
16915 glibcxx_cv_c99_stdio=no
16917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16918 else
16919 if test x$gcc_no_link = xyes; then
16920 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16923 /* end confdefs.h. */
16924 #include <stdio.h>
16925 #include <stdarg.h>
16926 void foo(char* fmt, ...)
16928 va_list args; va_start(args, fmt);
16929 vfscanf(stderr, "%i", args);
16930 vscanf("%i", args);
16931 vsnprintf(fmt, 0, "%i", args);
16932 vsscanf(fmt, "%i", args);
16935 main ()
16937 snprintf("12", 0, "%i");
16939 return 0;
16941 _ACEOF
16942 if ac_fn_cxx_try_link "$LINENO"; then :
16943 glibcxx_cv_c99_stdio=yes
16944 else
16945 glibcxx_cv_c99_stdio=no
16947 rm -f core conftest.err conftest.$ac_objext \
16948 conftest$ac_exeext conftest.$ac_ext
16953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16954 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16956 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16958 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16959 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16960 $as_echo_n "(cached) " >&6
16961 else
16963 if test x$gcc_no_link = xyes; then
16964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16965 /* end confdefs.h. */
16966 #include <stdlib.h>
16967 volatile float f;
16968 volatile long double ld;
16969 volatile unsigned long long ll;
16970 lldiv_t mydivt;
16972 main ()
16974 char* tmp;
16975 f = strtof("gnu", &tmp);
16976 ld = strtold("gnu", &tmp);
16977 ll = strtoll("gnu", &tmp, 10);
16978 ll = strtoull("gnu", &tmp, 10);
16979 ll = llabs(10);
16980 mydivt = lldiv(10,1);
16981 ll = mydivt.quot;
16982 ll = mydivt.rem;
16983 ll = atoll("10");
16984 _Exit(0);
16987 return 0;
16989 _ACEOF
16990 if ac_fn_cxx_try_compile "$LINENO"; then :
16991 glibcxx_cv_c99_stdlib=yes
16992 else
16993 glibcxx_cv_c99_stdlib=no
16995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16996 else
16997 if test x$gcc_no_link = xyes; then
16998 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17001 /* end confdefs.h. */
17002 #include <stdlib.h>
17003 volatile float f;
17004 volatile long double ld;
17005 volatile unsigned long long ll;
17006 lldiv_t mydivt;
17008 main ()
17010 char* tmp;
17011 f = strtof("gnu", &tmp);
17012 ld = strtold("gnu", &tmp);
17013 ll = strtoll("gnu", &tmp, 10);
17014 ll = strtoull("gnu", &tmp, 10);
17015 ll = llabs(10);
17016 mydivt = lldiv(10,1);
17017 ll = mydivt.quot;
17018 ll = mydivt.rem;
17019 ll = atoll("10");
17020 _Exit(0);
17023 return 0;
17025 _ACEOF
17026 if ac_fn_cxx_try_link "$LINENO"; then :
17027 glibcxx_cv_c99_stdlib=yes
17028 else
17029 glibcxx_cv_c99_stdlib=no
17031 rm -f core conftest.err conftest.$ac_objext \
17032 conftest$ac_exeext conftest.$ac_ext
17037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17038 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17040 # Check for the existence in <wchar.h> of wcstold, etc.
17041 glibcxx_cv_c99_wchar=no;
17042 if test x"$ac_has_wchar_h" = xyes &&
17043 test x"$ac_has_wctype_h" = xyes; then
17044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17045 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17047 /* end confdefs.h. */
17048 #include <wchar.h>
17049 namespace test
17051 using ::wcstold;
17052 using ::wcstoll;
17053 using ::wcstoull;
17057 main ()
17061 return 0;
17063 _ACEOF
17064 if ac_fn_cxx_try_compile "$LINENO"; then :
17065 glibcxx_cv_c99_wchar=yes
17066 else
17067 glibcxx_cv_c99_wchar=no
17069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17071 # Checks for wide character functions that may not be present.
17072 # Injection of these is wrapped with guard macros.
17073 # NB: only put functions here, instead of immediately above, if
17074 # absolutely necessary.
17075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17076 /* end confdefs.h. */
17077 #include <wchar.h>
17078 namespace test { using ::vfwscanf; }
17080 main ()
17084 return 0;
17086 _ACEOF
17087 if ac_fn_cxx_try_compile "$LINENO"; then :
17089 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17095 /* end confdefs.h. */
17096 #include <wchar.h>
17097 namespace test { using ::vswscanf; }
17099 main ()
17103 return 0;
17105 _ACEOF
17106 if ac_fn_cxx_try_compile "$LINENO"; then :
17108 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17114 /* end confdefs.h. */
17115 #include <wchar.h>
17116 namespace test { using ::vwscanf; }
17118 main ()
17122 return 0;
17124 _ACEOF
17125 if ac_fn_cxx_try_compile "$LINENO"; then :
17127 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17133 /* end confdefs.h. */
17134 #include <wchar.h>
17135 namespace test { using ::wcstof; }
17137 main ()
17141 return 0;
17143 _ACEOF
17144 if ac_fn_cxx_try_compile "$LINENO"; then :
17146 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17152 /* end confdefs.h. */
17153 #include <wctype.h>
17155 main ()
17157 wint_t t; int i = iswblank(t);
17159 return 0;
17161 _ACEOF
17162 if ac_fn_cxx_try_compile "$LINENO"; then :
17164 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17170 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17173 # Option parsed, now set things appropriately.
17174 if test x"$glibcxx_cv_c99_math" = x"no" ||
17175 test x"$glibcxx_cv_c99_complex" = x"no" ||
17176 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17177 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17178 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17179 enable_c99=no;
17180 else
17182 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17186 gcc_no_link="$ac_save_gcc_no_link"
17187 LIBS="$ac_save_LIBS"
17188 CXXFLAGS="$ac_save_CXXFLAGS"
17189 ac_ext=c
17190 ac_cpp='$CPP $CPPFLAGS'
17191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17198 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17200 $as_echo "$enable_c99" >&6; }
17203 # Check whether --enable-concept-checks was given.
17204 if test "${enable_concept_checks+set}" = set; then :
17205 enableval=$enable_concept_checks;
17206 case "$enableval" in
17207 yes|no) ;;
17208 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17209 esac
17211 else
17212 enable_concept_checks=no
17216 if test $enable_concept_checks = yes; then
17218 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17223 # Check whether --enable-libstdcxx-debug-flags was given.
17224 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17225 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17226 xno | x) enable_libstdcxx_debug_flags= ;;
17227 x-*) ;;
17228 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17229 esac
17230 else
17231 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17236 # Option parsed, now set things appropriately
17237 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17240 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17241 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17245 $as_echo_n "checking for additional debug build... " >&6; }
17246 # Check whether --enable-libstdcxx-debug was given.
17247 if test "${enable_libstdcxx_debug+set}" = set; then :
17248 enableval=$enable_libstdcxx_debug;
17249 case "$enableval" in
17250 yes|no) ;;
17251 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17252 esac
17254 else
17255 enable_libstdcxx_debug=no
17259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17260 $as_echo "$enable_libstdcxx_debug" >&6; }
17265 enable_parallel=no;
17267 # See if configured libgomp/omp.h exists. (libgomp may be in
17268 # noconfigdirs but not explicitly disabled.)
17269 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17270 enable_parallel=yes;
17271 else
17272 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17273 $as_echo "$as_me: target-libgomp not built" >&6;}
17276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17277 $as_echo_n "checking for parallel mode support... " >&6; }
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17279 $as_echo "$enable_parallel" >&6; }
17281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17282 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17283 # Check whether --enable-cxx-flags was given.
17284 if test "${enable_cxx_flags+set}" = set; then :
17285 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17286 xno | x) enable_cxx_flags= ;;
17287 x-*) ;;
17288 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17289 esac
17290 else
17291 enable_cxx_flags=
17296 # Run through flags (either default or command-line) and set anything
17297 # extra (e.g., #defines) that must accompany particular g++ options.
17298 if test -n "$enable_cxx_flags"; then
17299 for f in $enable_cxx_flags; do
17300 case "$f" in
17301 -fhonor-std) ;;
17302 -*) ;;
17303 *) # and we're trying to pass /what/ exactly?
17304 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17305 esac
17306 done
17309 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17311 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17315 # Check whether --enable-fully-dynamic-string was given.
17316 if test "${enable_fully_dynamic_string+set}" = set; then :
17317 enableval=$enable_fully_dynamic_string;
17318 case "$enableval" in
17319 yes|no) ;;
17320 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17321 esac
17323 else
17324 enable_fully_dynamic_string=no
17328 if test $enable_fully_dynamic_string = yes; then
17329 enable_fully_dynamic_string_def=1
17330 else
17331 enable_fully_dynamic_string_def=0
17334 cat >>confdefs.h <<_ACEOF
17335 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17336 _ACEOF
17341 # Check whether --enable-extern-template was given.
17342 if test "${enable_extern_template+set}" = set; then :
17343 enableval=$enable_extern_template;
17344 case "$enableval" in
17345 yes|no) ;;
17346 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17347 esac
17349 else
17350 enable_extern_template=yes
17355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17356 $as_echo_n "checking for extern template support... " >&6; }
17357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17358 $as_echo "$enable_extern_template" >&6; }
17364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17365 $as_echo_n "checking for custom python install directory... " >&6; }
17367 # Check whether --with-python-dir was given.
17368 if test "${with_python_dir+set}" = set; then :
17369 withval=$with_python_dir; with_python_dir=$withval
17370 else
17371 with_python_dir="no"
17374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17375 $as_echo "${with_python_dir}" >&6; }
17377 # Needed for installing Python modules during make install.
17378 python_mod_dir="${with_python_dir}"
17383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17384 $as_echo_n "checking for -Werror... " >&6; }
17385 # Check whether --enable-werror was given.
17386 if test "${enable_werror+set}" = set; then :
17387 enableval=$enable_werror;
17388 case "$enableval" in
17389 yes|no) ;;
17390 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17391 esac
17393 else
17394 enable_werror=yes
17398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17399 $as_echo "$enable_werror" >&6; }
17404 # Check whether --enable-vtable-verify was given.
17405 if test "${enable_vtable_verify+set}" = set; then :
17406 enableval=$enable_vtable_verify;
17407 case "$enableval" in
17408 yes|no) ;;
17409 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
17410 esac
17412 else
17413 enable_vtable_verify=no
17418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
17419 $as_echo_n "checking for vtable verify support... " >&6; }
17420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
17421 $as_echo "$enable_vtable_verify" >&6; }
17423 if test $enable_vtable_verify = yes; then
17424 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17425 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
17426 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
17427 else
17428 VTV_CXXFLAGS=
17429 VTV_PCH_CXXFLAGS=
17430 VTV_CXXLINKFLAGS=
17439 # Checks for operating systems support that doesn't require linking.
17443 ac_ext=cpp
17444 ac_cpp='$CXXCPP $CPPFLAGS'
17445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17451 $as_echo_n "checking for gets declaration... " >&6; }
17452 if test "${glibcxx_cv_gets+set}" = set; then :
17453 $as_echo_n "(cached) " >&6
17454 else
17456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17457 /* end confdefs.h. */
17458 #include <stdio.h>
17459 namespace test
17461 using ::gets;
17464 _ACEOF
17465 if ac_fn_cxx_try_compile "$LINENO"; then :
17466 glibcxx_cv_gets=yes
17467 else
17468 glibcxx_cv_gets=no
17471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17475 if test $glibcxx_cv_gets = yes; then
17477 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17481 $as_echo "$glibcxx_cv_gets" >&6; }
17483 ac_ext=c
17484 ac_cpp='$CPP $CPPFLAGS'
17485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17493 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17494 if test "${glibcxx_cv_system_error1+set}" = set; then :
17495 $as_echo_n "(cached) " >&6
17496 else
17498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17499 /* end confdefs.h. */
17500 #include <errno.h>
17502 main ()
17504 int i = EOWNERDEAD;
17506 return 0;
17508 _ACEOF
17509 if ac_fn_c_try_compile "$LINENO"; then :
17510 glibcxx_cv_system_error1=yes
17511 else
17512 glibcxx_cv_system_error1=no
17514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17519 $as_echo "$glibcxx_cv_system_error1" >&6; }
17520 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17522 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17526 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17527 if test "${glibcxx_cv_system_error2+set}" = set; then :
17528 $as_echo_n "(cached) " >&6
17529 else
17531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17532 /* end confdefs.h. */
17533 #include <errno.h>
17535 main ()
17537 int i = ENOTRECOVERABLE;
17539 return 0;
17541 _ACEOF
17542 if ac_fn_c_try_compile "$LINENO"; then :
17543 glibcxx_cv_system_error2=yes
17544 else
17545 glibcxx_cv_system_error2=no
17547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17552 $as_echo "$glibcxx_cv_system_error2" >&6; }
17553 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17555 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17559 $as_echo_n "checking for ENOLINK... " >&6; }
17560 if test "${glibcxx_cv_system_error3+set}" = set; then :
17561 $as_echo_n "(cached) " >&6
17562 else
17564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17565 /* end confdefs.h. */
17566 #include <errno.h>
17568 main ()
17570 int i = ENOLINK;
17572 return 0;
17574 _ACEOF
17575 if ac_fn_c_try_compile "$LINENO"; then :
17576 glibcxx_cv_system_error3=yes
17577 else
17578 glibcxx_cv_system_error3=no
17580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17585 $as_echo "$glibcxx_cv_system_error3" >&6; }
17586 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17588 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17592 $as_echo_n "checking for EPROTO... " >&6; }
17593 if test "${glibcxx_cv_system_error4+set}" = set; then :
17594 $as_echo_n "(cached) " >&6
17595 else
17597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17598 /* end confdefs.h. */
17599 #include <errno.h>
17601 main ()
17603 int i = EPROTO;
17605 return 0;
17607 _ACEOF
17608 if ac_fn_c_try_compile "$LINENO"; then :
17609 glibcxx_cv_system_error4=yes
17610 else
17611 glibcxx_cv_system_error4=no
17613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17618 $as_echo "$glibcxx_cv_system_error4" >&6; }
17619 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17621 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17625 $as_echo_n "checking for ENODATA... " >&6; }
17626 if test "${glibcxx_cv_system_error5+set}" = set; then :
17627 $as_echo_n "(cached) " >&6
17628 else
17630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17631 /* end confdefs.h. */
17632 #include <errno.h>
17634 main ()
17636 int i = ENODATA;
17638 return 0;
17640 _ACEOF
17641 if ac_fn_c_try_compile "$LINENO"; then :
17642 glibcxx_cv_system_error5=yes
17643 else
17644 glibcxx_cv_system_error5=no
17646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17651 $as_echo "$glibcxx_cv_system_error5" >&6; }
17652 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17654 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17658 $as_echo_n "checking for ENOSR... " >&6; }
17659 if test "${glibcxx_cv_system_error6+set}" = set; then :
17660 $as_echo_n "(cached) " >&6
17661 else
17663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17664 /* end confdefs.h. */
17665 #include <errno.h>
17667 main ()
17669 int i = ENOSR;
17671 return 0;
17673 _ACEOF
17674 if ac_fn_c_try_compile "$LINENO"; then :
17675 glibcxx_cv_system_error6=yes
17676 else
17677 glibcxx_cv_system_error6=no
17679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17684 $as_echo "$glibcxx_cv_system_error6" >&6; }
17685 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17687 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17691 $as_echo_n "checking for ENOSTR... " >&6; }
17692 if test "${glibcxx_cv_system_error7+set}" = set; then :
17693 $as_echo_n "(cached) " >&6
17694 else
17696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17697 /* end confdefs.h. */
17698 #include <errno.h>
17700 main ()
17702 int i = ENOSTR;
17704 return 0;
17706 _ACEOF
17707 if ac_fn_c_try_compile "$LINENO"; then :
17708 glibcxx_cv_system_error7=yes
17709 else
17710 glibcxx_cv_system_error7=no
17712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17717 $as_echo "$glibcxx_cv_system_error7" >&6; }
17718 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17720 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17724 $as_echo_n "checking for ETIME... " >&6; }
17725 if test "${glibcxx_cv_system_error8+set}" = set; then :
17726 $as_echo_n "(cached) " >&6
17727 else
17729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17730 /* end confdefs.h. */
17731 #include <errno.h>
17733 main ()
17735 int i = ETIME;
17737 return 0;
17739 _ACEOF
17740 if ac_fn_c_try_compile "$LINENO"; then :
17741 glibcxx_cv_system_error8=yes
17742 else
17743 glibcxx_cv_system_error8=no
17745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17750 $as_echo "$glibcxx_cv_system_error8" >&6; }
17751 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17753 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17757 $as_echo_n "checking for EBADMSG... " >&6; }
17758 if test "${glibcxx_cv_system_error9+set}" = set; then :
17759 $as_echo_n "(cached) " >&6
17760 else
17762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17763 /* end confdefs.h. */
17764 #include <errno.h>
17766 main ()
17768 int i = EBADMSG;
17770 return 0;
17772 _ACEOF
17773 if ac_fn_c_try_compile "$LINENO"; then :
17774 glibcxx_cv_system_error9=yes
17775 else
17776 glibcxx_cv_system_error9=no
17778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17783 $as_echo "$glibcxx_cv_system_error9" >&6; }
17784 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17786 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17790 $as_echo_n "checking for ECANCELED... " >&6; }
17791 if test "${glibcxx_cv_system_error10+set}" = set; then :
17792 $as_echo_n "(cached) " >&6
17793 else
17795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17796 /* end confdefs.h. */
17797 #include <errno.h>
17799 main ()
17801 int i = ECANCELED;
17803 return 0;
17805 _ACEOF
17806 if ac_fn_c_try_compile "$LINENO"; then :
17807 glibcxx_cv_system_error10=yes
17808 else
17809 glibcxx_cv_system_error10=no
17811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17816 $as_echo "$glibcxx_cv_system_error10" >&6; }
17817 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17819 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17823 $as_echo_n "checking for EOVERFLOW... " >&6; }
17824 if test "${glibcxx_cv_system_error11+set}" = set; then :
17825 $as_echo_n "(cached) " >&6
17826 else
17828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17829 /* end confdefs.h. */
17830 #include <errno.h>
17832 main ()
17834 int i = EOVERFLOW;
17836 return 0;
17838 _ACEOF
17839 if ac_fn_c_try_compile "$LINENO"; then :
17840 glibcxx_cv_system_error11=yes
17841 else
17842 glibcxx_cv_system_error11=no
17844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17849 $as_echo "$glibcxx_cv_system_error11" >&6; }
17850 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17852 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17856 $as_echo_n "checking for ENOTSUP... " >&6; }
17857 if test "${glibcxx_cv_system_error12+set}" = set; then :
17858 $as_echo_n "(cached) " >&6
17859 else
17861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17862 /* end confdefs.h. */
17863 #include <errno.h>
17865 main ()
17867 int i = ENOTSUP;
17869 return 0;
17871 _ACEOF
17872 if ac_fn_c_try_compile "$LINENO"; then :
17873 glibcxx_cv_system_error12=yes
17874 else
17875 glibcxx_cv_system_error12=no
17877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17882 $as_echo "$glibcxx_cv_system_error12" >&6; }
17883 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17885 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17889 $as_echo_n "checking for EIDRM... " >&6; }
17890 if test "${glibcxx_cv_system_error13+set}" = set; then :
17891 $as_echo_n "(cached) " >&6
17892 else
17894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17895 /* end confdefs.h. */
17896 #include <errno.h>
17898 main ()
17900 int i = EIDRM;
17902 return 0;
17904 _ACEOF
17905 if ac_fn_c_try_compile "$LINENO"; then :
17906 glibcxx_cv_system_error13=yes
17907 else
17908 glibcxx_cv_system_error13=no
17910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17915 $as_echo "$glibcxx_cv_system_error13" >&6; }
17916 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17918 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17922 $as_echo_n "checking for ETXTBSY... " >&6; }
17923 if test "${glibcxx_cv_system_error14+set}" = set; then :
17924 $as_echo_n "(cached) " >&6
17925 else
17927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17928 /* end confdefs.h. */
17929 #include <errno.h>
17931 main ()
17933 int i = ETXTBSY;
17935 return 0;
17937 _ACEOF
17938 if ac_fn_c_try_compile "$LINENO"; then :
17939 glibcxx_cv_system_error14=yes
17940 else
17941 glibcxx_cv_system_error14=no
17943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17948 $as_echo "$glibcxx_cv_system_error14" >&6; }
17949 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17951 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17955 $as_echo_n "checking for ECHILD... " >&6; }
17956 if test "${glibcxx_cv_system_error15+set}" = set; then :
17957 $as_echo_n "(cached) " >&6
17958 else
17960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17961 /* end confdefs.h. */
17962 #include <errno.h>
17964 main ()
17966 int i = ECHILD;
17968 return 0;
17970 _ACEOF
17971 if ac_fn_c_try_compile "$LINENO"; then :
17972 glibcxx_cv_system_error15=yes
17973 else
17974 glibcxx_cv_system_error15=no
17976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17981 $as_echo "$glibcxx_cv_system_error15" >&6; }
17982 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17984 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17988 $as_echo_n "checking for ENOSPC... " >&6; }
17989 if test "${glibcxx_cv_system_error16+set}" = set; then :
17990 $as_echo_n "(cached) " >&6
17991 else
17993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17994 /* end confdefs.h. */
17995 #include <errno.h>
17997 main ()
17999 int i = ENOSPC;
18001 return 0;
18003 _ACEOF
18004 if ac_fn_c_try_compile "$LINENO"; then :
18005 glibcxx_cv_system_error16=yes
18006 else
18007 glibcxx_cv_system_error16=no
18009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18014 $as_echo "$glibcxx_cv_system_error16" >&6; }
18015 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18017 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18021 $as_echo_n "checking for EPERM... " >&6; }
18022 if test "${glibcxx_cv_system_error17+set}" = set; then :
18023 $as_echo_n "(cached) " >&6
18024 else
18026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18027 /* end confdefs.h. */
18028 #include <errno.h>
18030 main ()
18032 int i = EPERM;
18034 return 0;
18036 _ACEOF
18037 if ac_fn_c_try_compile "$LINENO"; then :
18038 glibcxx_cv_system_error17=yes
18039 else
18040 glibcxx_cv_system_error17=no
18042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18047 $as_echo "$glibcxx_cv_system_error17" >&6; }
18048 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18050 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18054 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18055 if test "${glibcxx_cv_system_error18+set}" = set; then :
18056 $as_echo_n "(cached) " >&6
18057 else
18059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18060 /* end confdefs.h. */
18061 #include <errno.h>
18063 main ()
18065 int i = ETIMEDOUT;
18067 return 0;
18069 _ACEOF
18070 if ac_fn_c_try_compile "$LINENO"; then :
18071 glibcxx_cv_system_error18=yes
18072 else
18073 glibcxx_cv_system_error18=no
18075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18080 $as_echo "$glibcxx_cv_system_error18" >&6; }
18081 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18083 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18087 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18088 if test "${glibcxx_cv_system_error19+set}" = set; then :
18089 $as_echo_n "(cached) " >&6
18090 else
18092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18093 /* end confdefs.h. */
18094 #include <errno.h>
18096 main ()
18098 int i = EWOULDBLOCK;
18100 return 0;
18102 _ACEOF
18103 if ac_fn_c_try_compile "$LINENO"; then :
18104 glibcxx_cv_system_error19=yes
18105 else
18106 glibcxx_cv_system_error19=no
18108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18113 $as_echo "$glibcxx_cv_system_error19" >&6; }
18114 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18116 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18122 # For the streamoff typedef.
18126 ac_ext=cpp
18127 ac_cpp='$CXXCPP $CPPFLAGS'
18128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18134 $as_echo_n "checking for int64_t... " >&6; }
18135 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18136 $as_echo_n "(cached) " >&6
18137 else
18139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18140 /* end confdefs.h. */
18141 #include <stdint.h>
18143 main ()
18145 int64_t var;
18147 return 0;
18149 _ACEOF
18150 if ac_fn_cxx_try_compile "$LINENO"; then :
18151 glibcxx_cv_INT64_T=yes
18152 else
18153 glibcxx_cv_INT64_T=no
18155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18160 if test $glibcxx_cv_INT64_T = yes; then
18162 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18165 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18168 $as_echo_n "checking for int64_t as long... " >&6; }
18169 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18170 $as_echo_n "(cached) " >&6
18171 else
18173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18174 /* end confdefs.h. */
18175 #include <stdint.h>
18176 template<typename, typename> struct same { enum { value = -1 }; };
18177 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18178 int array[same<int64_t, long>::value];
18180 main ()
18184 return 0;
18186 _ACEOF
18187 if ac_fn_cxx_try_compile "$LINENO"; then :
18188 glibcxx_cv_int64_t_long=yes
18189 else
18190 glibcxx_cv_int64_t_long=no
18192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18197 if test $glibcxx_cv_int64_t_long = yes; then
18199 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18202 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18206 $as_echo_n "checking for int64_t as long long... " >&6; }
18207 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18208 $as_echo_n "(cached) " >&6
18209 else
18211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18212 /* end confdefs.h. */
18213 #include <stdint.h>
18214 template<typename, typename> struct same { enum { value = -1 }; };
18215 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18216 int array[same<int64_t, long long>::value];
18218 main ()
18222 return 0;
18224 _ACEOF
18225 if ac_fn_cxx_try_compile "$LINENO"; then :
18226 glibcxx_cv_int64_t_long_long=yes
18227 else
18228 glibcxx_cv_int64_t_long_long=no
18230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18235 if test $glibcxx_cv_int64_t_long_long = yes; then
18237 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18240 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18244 ac_ext=c
18245 ac_cpp='$CPP $CPPFLAGS'
18246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18252 # For LFS support.
18255 ac_ext=cpp
18256 ac_cpp='$CXXCPP $CPPFLAGS'
18257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18261 ac_save_CXXFLAGS="$CXXFLAGS"
18262 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18264 $as_echo_n "checking for LFS support... " >&6; }
18265 if test "${glibcxx_cv_LFS+set}" = set; then :
18266 $as_echo_n "(cached) " >&6
18267 else
18269 if test x$gcc_no_link = xyes; then
18270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18271 /* end confdefs.h. */
18272 #include <unistd.h>
18273 #include <stdio.h>
18274 #include <sys/stat.h>
18277 main ()
18279 FILE* fp;
18280 fopen64("t", "w");
18281 fseeko64(fp, 0, SEEK_CUR);
18282 ftello64(fp);
18283 lseek64(1, 0, SEEK_CUR);
18284 struct stat64 buf;
18285 fstat64(1, &buf);
18287 return 0;
18289 _ACEOF
18290 if ac_fn_cxx_try_compile "$LINENO"; then :
18291 glibcxx_cv_LFS=yes
18292 else
18293 glibcxx_cv_LFS=no
18295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18296 else
18297 if test x$gcc_no_link = xyes; then
18298 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18301 /* end confdefs.h. */
18302 #include <unistd.h>
18303 #include <stdio.h>
18304 #include <sys/stat.h>
18307 main ()
18309 FILE* fp;
18310 fopen64("t", "w");
18311 fseeko64(fp, 0, SEEK_CUR);
18312 ftello64(fp);
18313 lseek64(1, 0, SEEK_CUR);
18314 struct stat64 buf;
18315 fstat64(1, &buf);
18317 return 0;
18319 _ACEOF
18320 if ac_fn_cxx_try_link "$LINENO"; then :
18321 glibcxx_cv_LFS=yes
18322 else
18323 glibcxx_cv_LFS=no
18325 rm -f core conftest.err conftest.$ac_objext \
18326 conftest$ac_exeext conftest.$ac_ext
18331 if test $glibcxx_cv_LFS = yes; then
18333 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18337 $as_echo "$glibcxx_cv_LFS" >&6; }
18338 CXXFLAGS="$ac_save_CXXFLAGS"
18339 ac_ext=c
18340 ac_cpp='$CPP $CPPFLAGS'
18341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18347 # For showmanyc_helper().
18348 for ac_header in sys/ioctl.h sys/filio.h
18349 do :
18350 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18351 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18352 eval as_val=\$$as_ac_Header
18353 if test "x$as_val" = x""yes; then :
18354 cat >>confdefs.h <<_ACEOF
18355 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18356 _ACEOF
18360 done
18365 ac_ext=cpp
18366 ac_cpp='$CXXCPP $CPPFLAGS'
18367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18371 ac_save_CXXFLAGS="$CXXFLAGS"
18372 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18375 $as_echo_n "checking for poll... " >&6; }
18376 if test "${glibcxx_cv_POLL+set}" = set; then :
18377 $as_echo_n "(cached) " >&6
18378 else
18380 if test x$gcc_no_link = xyes; then
18381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18382 /* end confdefs.h. */
18383 #include <poll.h>
18385 main ()
18387 struct pollfd pfd[1];
18388 pfd[0].events = POLLIN;
18389 poll(pfd, 1, 0);
18391 return 0;
18393 _ACEOF
18394 if ac_fn_cxx_try_compile "$LINENO"; then :
18395 glibcxx_cv_POLL=yes
18396 else
18397 glibcxx_cv_POLL=no
18399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18400 else
18401 if test x$gcc_no_link = xyes; then
18402 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18405 /* end confdefs.h. */
18406 #include <poll.h>
18408 main ()
18410 struct pollfd pfd[1];
18411 pfd[0].events = POLLIN;
18412 poll(pfd, 1, 0);
18414 return 0;
18416 _ACEOF
18417 if ac_fn_cxx_try_link "$LINENO"; then :
18418 glibcxx_cv_POLL=yes
18419 else
18420 glibcxx_cv_POLL=no
18422 rm -f core conftest.err conftest.$ac_objext \
18423 conftest$ac_exeext conftest.$ac_ext
18428 if test $glibcxx_cv_POLL = yes; then
18430 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18434 $as_echo "$glibcxx_cv_POLL" >&6; }
18436 CXXFLAGS="$ac_save_CXXFLAGS"
18437 ac_ext=c
18438 ac_cpp='$CPP $CPPFLAGS'
18439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18447 ac_ext=cpp
18448 ac_cpp='$CXXCPP $CPPFLAGS'
18449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18453 ac_save_CXXFLAGS="$CXXFLAGS"
18454 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18457 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18458 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18459 $as_echo_n "(cached) " >&6
18460 else
18462 if test x$gcc_no_link = xyes; then
18463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18464 /* end confdefs.h. */
18465 #include <sys/stat.h>
18467 main ()
18469 struct stat buffer;
18470 fstat(0, &buffer);
18471 S_ISREG(buffer.st_mode);
18473 return 0;
18475 _ACEOF
18476 if ac_fn_cxx_try_compile "$LINENO"; then :
18477 glibcxx_cv_S_ISREG=yes
18478 else
18479 glibcxx_cv_S_ISREG=no
18481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18482 else
18483 if test x$gcc_no_link = xyes; then
18484 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18487 /* end confdefs.h. */
18488 #include <sys/stat.h>
18490 main ()
18492 struct stat buffer;
18493 fstat(0, &buffer);
18494 S_ISREG(buffer.st_mode);
18496 return 0;
18498 _ACEOF
18499 if ac_fn_cxx_try_link "$LINENO"; then :
18500 glibcxx_cv_S_ISREG=yes
18501 else
18502 glibcxx_cv_S_ISREG=no
18504 rm -f core conftest.err conftest.$ac_objext \
18505 conftest$ac_exeext conftest.$ac_ext
18510 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18511 $as_echo_n "(cached) " >&6
18512 else
18514 if test x$gcc_no_link = xyes; then
18515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18516 /* end confdefs.h. */
18517 #include <sys/stat.h>
18519 main ()
18521 struct stat buffer;
18522 fstat(0, &buffer);
18523 S_IFREG & buffer.st_mode;
18525 return 0;
18527 _ACEOF
18528 if ac_fn_cxx_try_compile "$LINENO"; then :
18529 glibcxx_cv_S_IFREG=yes
18530 else
18531 glibcxx_cv_S_IFREG=no
18533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18534 else
18535 if test x$gcc_no_link = xyes; then
18536 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18539 /* end confdefs.h. */
18540 #include <sys/stat.h>
18542 main ()
18544 struct stat buffer;
18545 fstat(0, &buffer);
18546 S_IFREG & buffer.st_mode;
18548 return 0;
18550 _ACEOF
18551 if ac_fn_cxx_try_link "$LINENO"; then :
18552 glibcxx_cv_S_IFREG=yes
18553 else
18554 glibcxx_cv_S_IFREG=no
18556 rm -f core conftest.err conftest.$ac_objext \
18557 conftest$ac_exeext conftest.$ac_ext
18562 res=no
18563 if test $glibcxx_cv_S_ISREG = yes; then
18565 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18567 res=S_ISREG
18568 elif test $glibcxx_cv_S_IFREG = yes; then
18570 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18572 res=S_IFREG
18574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18575 $as_echo "$res" >&6; }
18577 CXXFLAGS="$ac_save_CXXFLAGS"
18578 ac_ext=c
18579 ac_cpp='$CPP $CPPFLAGS'
18580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18586 # For xsputn_2().
18587 for ac_header in sys/uio.h
18588 do :
18589 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18590 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18591 cat >>confdefs.h <<_ACEOF
18592 #define HAVE_SYS_UIO_H 1
18593 _ACEOF
18597 done
18602 ac_ext=cpp
18603 ac_cpp='$CXXCPP $CPPFLAGS'
18604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18608 ac_save_CXXFLAGS="$CXXFLAGS"
18609 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18612 $as_echo_n "checking for writev... " >&6; }
18613 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18614 $as_echo_n "(cached) " >&6
18615 else
18617 if test x$gcc_no_link = xyes; then
18618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18619 /* end confdefs.h. */
18620 #include <sys/uio.h>
18622 main ()
18624 struct iovec iov[2];
18625 writev(0, iov, 0);
18627 return 0;
18629 _ACEOF
18630 if ac_fn_cxx_try_compile "$LINENO"; then :
18631 glibcxx_cv_WRITEV=yes
18632 else
18633 glibcxx_cv_WRITEV=no
18635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18636 else
18637 if test x$gcc_no_link = xyes; then
18638 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18641 /* end confdefs.h. */
18642 #include <sys/uio.h>
18644 main ()
18646 struct iovec iov[2];
18647 writev(0, iov, 0);
18649 return 0;
18651 _ACEOF
18652 if ac_fn_cxx_try_link "$LINENO"; then :
18653 glibcxx_cv_WRITEV=yes
18654 else
18655 glibcxx_cv_WRITEV=no
18657 rm -f core conftest.err conftest.$ac_objext \
18658 conftest$ac_exeext conftest.$ac_ext
18663 if test $glibcxx_cv_WRITEV = yes; then
18665 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18669 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18671 CXXFLAGS="$ac_save_CXXFLAGS"
18672 ac_ext=c
18673 ac_cpp='$CPP $CPPFLAGS'
18674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18680 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
18681 # so that the check is done with the C compiler (not C++).
18682 # Checking with C++ can break a canadian cross build if either
18683 # file does not exist in C but does in C++.
18684 for ac_header in fenv.h complex.h
18685 do :
18686 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18687 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18688 eval as_val=\$$as_ac_Header
18689 if test "x$as_val" = x""yes; then :
18690 cat >>confdefs.h <<_ACEOF
18691 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18692 _ACEOF
18696 done
18699 # For C99 support to TR1.
18703 ac_ext=cpp
18704 ac_cpp='$CXXCPP $CPPFLAGS'
18705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18710 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18711 # undefined and fake C99 facilities may be spuriously enabled.
18712 ac_save_CXXFLAGS="$CXXFLAGS"
18713 CXXFLAGS="$CXXFLAGS -std=c++98"
18715 # Check for the existence of <complex.h> complex math functions used
18716 # by tr1/complex.
18717 for ac_header in complex.h
18718 do :
18719 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18720 if test "x$ac_cv_header_complex_h" = x""yes; then :
18721 cat >>confdefs.h <<_ACEOF
18722 #define HAVE_COMPLEX_H 1
18723 _ACEOF
18724 ac_has_complex_h=yes
18725 else
18726 ac_has_complex_h=no
18729 done
18731 ac_c99_complex_tr1=no;
18732 if test x"$ac_has_complex_h" = x"yes"; then
18733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18734 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18736 /* end confdefs.h. */
18737 #include <complex.h>
18739 main ()
18741 typedef __complex__ float float_type; float_type tmpf;
18742 cacosf(tmpf);
18743 casinf(tmpf);
18744 catanf(tmpf);
18745 cacoshf(tmpf);
18746 casinhf(tmpf);
18747 catanhf(tmpf);
18748 typedef __complex__ double double_type; double_type tmpd;
18749 cacos(tmpd);
18750 casin(tmpd);
18751 catan(tmpd);
18752 cacosh(tmpd);
18753 casinh(tmpd);
18754 catanh(tmpd);
18755 typedef __complex__ long double ld_type; ld_type tmpld;
18756 cacosl(tmpld);
18757 casinl(tmpld);
18758 catanl(tmpld);
18759 cacoshl(tmpld);
18760 casinhl(tmpld);
18761 catanhl(tmpld);
18764 return 0;
18766 _ACEOF
18767 if ac_fn_cxx_try_compile "$LINENO"; then :
18768 ac_c99_complex_tr1=yes
18769 else
18770 ac_c99_complex_tr1=no
18772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18775 $as_echo "$ac_c99_complex_tr1" >&6; }
18776 if test x"$ac_c99_complex_tr1" = x"yes"; then
18778 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18782 # Check for the existence of <ctype.h> functions.
18783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18784 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18785 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18786 $as_echo_n "(cached) " >&6
18787 else
18789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18790 /* end confdefs.h. */
18791 #include <ctype.h>
18793 main ()
18795 int ch;
18796 int ret;
18797 ret = isblank(ch);
18800 return 0;
18802 _ACEOF
18803 if ac_fn_cxx_try_compile "$LINENO"; then :
18804 glibcxx_cv_c99_ctype_tr1=yes
18805 else
18806 glibcxx_cv_c99_ctype_tr1=no
18808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18813 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18814 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18816 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18820 # Check for the existence of <fenv.h> functions.
18821 for ac_header in fenv.h
18822 do :
18823 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18824 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18825 cat >>confdefs.h <<_ACEOF
18826 #define HAVE_FENV_H 1
18827 _ACEOF
18828 ac_has_fenv_h=yes
18829 else
18830 ac_has_fenv_h=no
18833 done
18835 ac_c99_fenv_tr1=no;
18836 if test x"$ac_has_fenv_h" = x"yes"; then
18837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18838 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18840 /* end confdefs.h. */
18841 #include <fenv.h>
18843 main ()
18845 int except, mode;
18846 fexcept_t* pflag;
18847 fenv_t* penv;
18848 int ret;
18849 ret = feclearexcept(except);
18850 ret = fegetexceptflag(pflag, except);
18851 ret = feraiseexcept(except);
18852 ret = fesetexceptflag(pflag, except);
18853 ret = fetestexcept(except);
18854 ret = fegetround();
18855 ret = fesetround(mode);
18856 ret = fegetenv(penv);
18857 ret = feholdexcept(penv);
18858 ret = fesetenv(penv);
18859 ret = feupdateenv(penv);
18862 return 0;
18864 _ACEOF
18865 if ac_fn_cxx_try_compile "$LINENO"; then :
18866 ac_c99_fenv_tr1=yes
18867 else
18868 ac_c99_fenv_tr1=no
18870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18873 $as_echo "$ac_c99_fenv_tr1" >&6; }
18874 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18876 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18880 # Check for the existence of <stdint.h> types.
18881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18882 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18883 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18884 $as_echo_n "(cached) " >&6
18885 else
18887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18888 /* end confdefs.h. */
18889 #define __STDC_LIMIT_MACROS
18890 #define __STDC_CONSTANT_MACROS
18891 #include <stdint.h>
18893 main ()
18895 typedef int8_t my_int8_t;
18896 my_int8_t i8 = INT8_MIN;
18897 i8 = INT8_MAX;
18898 typedef int16_t my_int16_t;
18899 my_int16_t i16 = INT16_MIN;
18900 i16 = INT16_MAX;
18901 typedef int32_t my_int32_t;
18902 my_int32_t i32 = INT32_MIN;
18903 i32 = INT32_MAX;
18904 typedef int64_t my_int64_t;
18905 my_int64_t i64 = INT64_MIN;
18906 i64 = INT64_MAX;
18907 typedef int_fast8_t my_int_fast8_t;
18908 my_int_fast8_t if8 = INT_FAST8_MIN;
18909 if8 = INT_FAST8_MAX;
18910 typedef int_fast16_t my_int_fast16_t;
18911 my_int_fast16_t if16 = INT_FAST16_MIN;
18912 if16 = INT_FAST16_MAX;
18913 typedef int_fast32_t my_int_fast32_t;
18914 my_int_fast32_t if32 = INT_FAST32_MIN;
18915 if32 = INT_FAST32_MAX;
18916 typedef int_fast64_t my_int_fast64_t;
18917 my_int_fast64_t if64 = INT_FAST64_MIN;
18918 if64 = INT_FAST64_MAX;
18919 typedef int_least8_t my_int_least8_t;
18920 my_int_least8_t il8 = INT_LEAST8_MIN;
18921 il8 = INT_LEAST8_MAX;
18922 typedef int_least16_t my_int_least16_t;
18923 my_int_least16_t il16 = INT_LEAST16_MIN;
18924 il16 = INT_LEAST16_MAX;
18925 typedef int_least32_t my_int_least32_t;
18926 my_int_least32_t il32 = INT_LEAST32_MIN;
18927 il32 = INT_LEAST32_MAX;
18928 typedef int_least64_t my_int_least64_t;
18929 my_int_least64_t il64 = INT_LEAST64_MIN;
18930 il64 = INT_LEAST64_MAX;
18931 typedef intmax_t my_intmax_t;
18932 my_intmax_t im = INTMAX_MAX;
18933 im = INTMAX_MIN;
18934 typedef intptr_t my_intptr_t;
18935 my_intptr_t ip = INTPTR_MAX;
18936 ip = INTPTR_MIN;
18937 typedef uint8_t my_uint8_t;
18938 my_uint8_t ui8 = UINT8_MAX;
18939 ui8 = UINT8_MAX;
18940 typedef uint16_t my_uint16_t;
18941 my_uint16_t ui16 = UINT16_MAX;
18942 ui16 = UINT16_MAX;
18943 typedef uint32_t my_uint32_t;
18944 my_uint32_t ui32 = UINT32_MAX;
18945 ui32 = UINT32_MAX;
18946 typedef uint64_t my_uint64_t;
18947 my_uint64_t ui64 = UINT64_MAX;
18948 ui64 = UINT64_MAX;
18949 typedef uint_fast8_t my_uint_fast8_t;
18950 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18951 uif8 = UINT_FAST8_MAX;
18952 typedef uint_fast16_t my_uint_fast16_t;
18953 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18954 uif16 = UINT_FAST16_MAX;
18955 typedef uint_fast32_t my_uint_fast32_t;
18956 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18957 uif32 = UINT_FAST32_MAX;
18958 typedef uint_fast64_t my_uint_fast64_t;
18959 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18960 uif64 = UINT_FAST64_MAX;
18961 typedef uint_least8_t my_uint_least8_t;
18962 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18963 uil8 = UINT_LEAST8_MAX;
18964 typedef uint_least16_t my_uint_least16_t;
18965 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18966 uil16 = UINT_LEAST16_MAX;
18967 typedef uint_least32_t my_uint_least32_t;
18968 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18969 uil32 = UINT_LEAST32_MAX;
18970 typedef uint_least64_t my_uint_least64_t;
18971 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18972 uil64 = UINT_LEAST64_MAX;
18973 typedef uintmax_t my_uintmax_t;
18974 my_uintmax_t uim = UINTMAX_MAX;
18975 uim = UINTMAX_MAX;
18976 typedef uintptr_t my_uintptr_t;
18977 my_uintptr_t uip = UINTPTR_MAX;
18978 uip = UINTPTR_MAX;
18981 return 0;
18983 _ACEOF
18984 if ac_fn_cxx_try_compile "$LINENO"; then :
18985 glibcxx_cv_c99_stdint_tr1=yes
18986 else
18987 glibcxx_cv_c99_stdint_tr1=no
18989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18994 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18995 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18997 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19001 # Check for the existence of <math.h> functions.
19002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19003 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19004 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
19005 $as_echo_n "(cached) " >&6
19006 else
19008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19009 /* end confdefs.h. */
19010 #include <math.h>
19012 main ()
19014 typedef double_t my_double_t;
19015 typedef float_t my_float_t;
19016 acosh(0.0);
19017 acoshf(0.0f);
19018 acoshl(0.0l);
19019 asinh(0.0);
19020 asinhf(0.0f);
19021 asinhl(0.0l);
19022 atanh(0.0);
19023 atanhf(0.0f);
19024 atanhl(0.0l);
19025 cbrt(0.0);
19026 cbrtf(0.0f);
19027 cbrtl(0.0l);
19028 copysign(0.0, 0.0);
19029 copysignf(0.0f, 0.0f);
19030 copysignl(0.0l, 0.0l);
19031 erf(0.0);
19032 erff(0.0f);
19033 erfl(0.0l);
19034 erfc(0.0);
19035 erfcf(0.0f);
19036 erfcl(0.0l);
19037 exp2(0.0);
19038 exp2f(0.0f);
19039 exp2l(0.0l);
19040 expm1(0.0);
19041 expm1f(0.0f);
19042 expm1l(0.0l);
19043 fdim(0.0, 0.0);
19044 fdimf(0.0f, 0.0f);
19045 fdiml(0.0l, 0.0l);
19046 fma(0.0, 0.0, 0.0);
19047 fmaf(0.0f, 0.0f, 0.0f);
19048 fmal(0.0l, 0.0l, 0.0l);
19049 fmax(0.0, 0.0);
19050 fmaxf(0.0f, 0.0f);
19051 fmaxl(0.0l, 0.0l);
19052 fmin(0.0, 0.0);
19053 fminf(0.0f, 0.0f);
19054 fminl(0.0l, 0.0l);
19055 hypot(0.0, 0.0);
19056 hypotf(0.0f, 0.0f);
19057 hypotl(0.0l, 0.0l);
19058 ilogb(0.0);
19059 ilogbf(0.0f);
19060 ilogbl(0.0l);
19061 lgamma(0.0);
19062 lgammaf(0.0f);
19063 lgammal(0.0l);
19064 llrint(0.0);
19065 llrintf(0.0f);
19066 llrintl(0.0l);
19067 llround(0.0);
19068 llroundf(0.0f);
19069 llroundl(0.0l);
19070 log1p(0.0);
19071 log1pf(0.0f);
19072 log1pl(0.0l);
19073 log2(0.0);
19074 log2f(0.0f);
19075 log2l(0.0l);
19076 logb(0.0);
19077 logbf(0.0f);
19078 logbl(0.0l);
19079 lrint(0.0);
19080 lrintf(0.0f);
19081 lrintl(0.0l);
19082 lround(0.0);
19083 lroundf(0.0f);
19084 lroundl(0.0l);
19085 nan(0);
19086 nanf(0);
19087 nanl(0);
19088 nearbyint(0.0);
19089 nearbyintf(0.0f);
19090 nearbyintl(0.0l);
19091 nextafter(0.0, 0.0);
19092 nextafterf(0.0f, 0.0f);
19093 nextafterl(0.0l, 0.0l);
19094 nexttoward(0.0, 0.0);
19095 nexttowardf(0.0f, 0.0f);
19096 nexttowardl(0.0l, 0.0l);
19097 remainder(0.0, 0.0);
19098 remainderf(0.0f, 0.0f);
19099 remainderl(0.0l, 0.0l);
19100 remquo(0.0, 0.0, 0);
19101 remquof(0.0f, 0.0f, 0);
19102 remquol(0.0l, 0.0l, 0);
19103 rint(0.0);
19104 rintf(0.0f);
19105 rintl(0.0l);
19106 round(0.0);
19107 roundf(0.0f);
19108 roundl(0.0l);
19109 scalbln(0.0, 0l);
19110 scalblnf(0.0f, 0l);
19111 scalblnl(0.0l, 0l);
19112 scalbn(0.0, 0);
19113 scalbnf(0.0f, 0);
19114 scalbnl(0.0l, 0);
19115 tgamma(0.0);
19116 tgammaf(0.0f);
19117 tgammal(0.0l);
19118 trunc(0.0);
19119 truncf(0.0f);
19120 truncl(0.0l);
19123 return 0;
19125 _ACEOF
19126 if ac_fn_cxx_try_compile "$LINENO"; then :
19127 glibcxx_cv_c99_math_tr1=yes
19128 else
19129 glibcxx_cv_c99_math_tr1=no
19131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19136 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19137 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19139 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19143 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19144 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19145 ac_c99_inttypes_tr1=no;
19146 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19148 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19150 /* end confdefs.h. */
19151 #include <inttypes.h>
19153 main ()
19155 intmax_t i, numer, denom, base;
19156 const char* s;
19157 char** endptr;
19158 intmax_t ret = imaxabs(i);
19159 imaxdiv_t dret = imaxdiv(numer, denom);
19160 ret = strtoimax(s, endptr, base);
19161 uintmax_t uret = strtoumax(s, endptr, base);
19164 return 0;
19166 _ACEOF
19167 if ac_fn_cxx_try_compile "$LINENO"; then :
19168 ac_c99_inttypes_tr1=yes
19169 else
19170 ac_c99_inttypes_tr1=no
19172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19175 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19176 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19178 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19182 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19183 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19184 ac_c99_inttypes_wchar_t_tr1=no;
19185 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19187 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19189 /* end confdefs.h. */
19190 #include <inttypes.h>
19192 main ()
19194 intmax_t base;
19195 const wchar_t* s;
19196 wchar_t** endptr;
19197 intmax_t ret = wcstoimax(s, endptr, base);
19198 uintmax_t uret = wcstoumax(s, endptr, base);
19201 return 0;
19203 _ACEOF
19204 if ac_fn_cxx_try_compile "$LINENO"; then :
19205 ac_c99_inttypes_wchar_t_tr1=yes
19206 else
19207 ac_c99_inttypes_wchar_t_tr1=no
19209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19212 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19213 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19215 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19219 # Check for the existence of the <stdbool.h> header.
19220 for ac_header in stdbool.h
19221 do :
19222 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19223 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19224 cat >>confdefs.h <<_ACEOF
19225 #define HAVE_STDBOOL_H 1
19226 _ACEOF
19230 done
19233 # Check for the existence of the <stdalign.h> header.
19234 for ac_header in stdalign.h
19235 do :
19236 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19237 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19238 cat >>confdefs.h <<_ACEOF
19239 #define HAVE_STDALIGN_H 1
19240 _ACEOF
19244 done
19247 CXXFLAGS="$ac_save_CXXFLAGS"
19248 ac_ext=c
19249 ac_cpp='$CPP $CPPFLAGS'
19250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19256 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19260 $as_echo_n "checking for the value of EOF... " >&6; }
19261 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19262 $as_echo_n "(cached) " >&6
19263 else
19265 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19267 else
19268 as_fn_error "computing EOF failed" "$LINENO" 5
19273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19274 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19276 cat >>confdefs.h <<_ACEOF
19277 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19278 _ACEOF
19281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19282 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19283 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19284 $as_echo_n "(cached) " >&6
19285 else
19287 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19289 else
19290 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19296 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19298 cat >>confdefs.h <<_ACEOF
19299 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19300 _ACEOF
19303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19304 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19305 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19306 $as_echo_n "(cached) " >&6
19307 else
19309 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19311 else
19312 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19318 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19320 cat >>confdefs.h <<_ACEOF
19321 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19322 _ACEOF
19326 # For gettimeofday support.
19329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19330 $as_echo_n "checking for gettimeofday... " >&6; }
19333 ac_ext=cpp
19334 ac_cpp='$CXXCPP $CPPFLAGS'
19335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19339 ac_save_CXXFLAGS="$CXXFLAGS"
19340 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19342 ac_has_gettimeofday=no;
19343 for ac_header in sys/time.h
19344 do :
19345 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19346 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19347 cat >>confdefs.h <<_ACEOF
19348 #define HAVE_SYS_TIME_H 1
19349 _ACEOF
19350 ac_has_sys_time_h=yes
19351 else
19352 ac_has_sys_time_h=no
19355 done
19357 if test x"$ac_has_sys_time_h" = x"yes"; then
19358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19359 $as_echo_n "checking for gettimeofday... " >&6; }
19360 if test x$gcc_no_link = xyes; then
19361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19362 /* end confdefs.h. */
19363 #include <sys/time.h>
19365 main ()
19367 timeval tv; gettimeofday(&tv, 0);
19369 return 0;
19371 _ACEOF
19372 if ac_fn_cxx_try_compile "$LINENO"; then :
19373 ac_has_gettimeofday=yes
19374 else
19375 ac_has_gettimeofday=no
19377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19378 else
19379 if test x$gcc_no_link = xyes; then
19380 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19383 /* end confdefs.h. */
19384 #include <sys/time.h>
19386 main ()
19388 timeval tv; gettimeofday(&tv, 0);
19390 return 0;
19392 _ACEOF
19393 if ac_fn_cxx_try_link "$LINENO"; then :
19394 ac_has_gettimeofday=yes
19395 else
19396 ac_has_gettimeofday=no
19398 rm -f core conftest.err conftest.$ac_objext \
19399 conftest$ac_exeext conftest.$ac_ext
19402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19403 $as_echo "$ac_has_gettimeofday" >&6; }
19406 if test x"$ac_has_gettimeofday" = x"yes"; then
19408 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19412 CXXFLAGS="$ac_save_CXXFLAGS"
19413 ac_ext=c
19414 ac_cpp='$CPP $CPPFLAGS'
19415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19421 # For clock_gettime, nanosleep and sched_yield support.
19424 # Check whether --enable-libstdcxx-time was given.
19425 if test "${enable_libstdcxx_time+set}" = set; then :
19426 enableval=$enable_libstdcxx_time;
19427 case "$enableval" in
19428 yes|no|rt) ;;
19429 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19430 esac
19432 else
19433 enable_libstdcxx_time=auto
19439 ac_ext=cpp
19440 ac_cpp='$CXXCPP $CPPFLAGS'
19441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19445 ac_save_CXXFLAGS="$CXXFLAGS"
19446 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19447 ac_save_LIBS="$LIBS"
19449 ac_has_clock_monotonic=no
19450 ac_has_clock_realtime=no
19451 ac_has_nanosleep=no
19452 ac_has_sched_yield=no
19454 if test x"$enable_libstdcxx_time" = x"auto"; then
19456 case "${target_os}" in
19457 cygwin*)
19458 ac_has_nanosleep=yes
19460 darwin*)
19461 ac_has_nanosleep=yes
19462 ac_has_sched_yield=yes
19464 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
19465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
19466 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
19467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19468 /* end confdefs.h. */
19469 #include <features.h>
19471 main ()
19474 #if ! __GLIBC_PREREQ(2, 17)
19475 #error
19476 #endif
19479 return 0;
19481 _ACEOF
19482 if ac_fn_cxx_try_compile "$LINENO"; then :
19483 glibcxx_glibc217=yes
19484 else
19485 glibcxx_glibc217=no
19487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
19489 $as_echo "$glibcxx_glibc217" >&6; }
19491 if test x"$glibcxx_glibc217" = x"yes"; then
19492 ac_has_clock_monotonic=yes
19493 ac_has_clock_realtime=yes
19495 ac_has_nanosleep=yes
19496 ac_has_sched_yield=yes
19498 freebsd*|netbsd*)
19499 ac_has_clock_monotonic=yes
19500 ac_has_clock_realtime=yes
19501 ac_has_nanosleep=yes
19502 ac_has_sched_yield=yes
19504 openbsd*)
19505 ac_has_clock_monotonic=yes
19506 ac_has_clock_realtime=yes
19507 ac_has_nanosleep=yes
19509 solaris*)
19510 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
19511 ac_has_clock_monotonic=yes
19512 ac_has_clock_realtime=yes
19513 ac_has_nanosleep=yes
19514 ac_has_sched_yield=yes
19516 esac
19518 elif test x"$enable_libstdcxx_time" != x"no"; then
19520 if test x"$enable_libstdcxx_time" = x"rt"; then
19521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19522 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19523 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19524 $as_echo_n "(cached) " >&6
19525 else
19526 ac_func_search_save_LIBS=$LIBS
19527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19528 /* end confdefs.h. */
19530 /* Override any GCC internal prototype to avoid an error.
19531 Use char because int might match the return type of a GCC
19532 builtin and then its argument prototype would still apply. */
19533 #ifdef __cplusplus
19534 extern "C"
19535 #endif
19536 char clock_gettime ();
19538 main ()
19540 return clock_gettime ();
19542 return 0;
19544 _ACEOF
19545 for ac_lib in '' rt posix4; do
19546 if test -z "$ac_lib"; then
19547 ac_res="none required"
19548 else
19549 ac_res=-l$ac_lib
19550 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19552 if test x$gcc_no_link = xyes; then
19553 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19555 if ac_fn_cxx_try_link "$LINENO"; then :
19556 ac_cv_search_clock_gettime=$ac_res
19558 rm -f core conftest.err conftest.$ac_objext \
19559 conftest$ac_exeext
19560 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19561 break
19563 done
19564 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19566 else
19567 ac_cv_search_clock_gettime=no
19569 rm conftest.$ac_ext
19570 LIBS=$ac_func_search_save_LIBS
19572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19573 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19574 ac_res=$ac_cv_search_clock_gettime
19575 if test "$ac_res" != no; then :
19576 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19581 $as_echo_n "checking for library containing nanosleep... " >&6; }
19582 if test "${ac_cv_search_nanosleep+set}" = set; then :
19583 $as_echo_n "(cached) " >&6
19584 else
19585 ac_func_search_save_LIBS=$LIBS
19586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19587 /* end confdefs.h. */
19589 /* Override any GCC internal prototype to avoid an error.
19590 Use char because int might match the return type of a GCC
19591 builtin and then its argument prototype would still apply. */
19592 #ifdef __cplusplus
19593 extern "C"
19594 #endif
19595 char nanosleep ();
19597 main ()
19599 return nanosleep ();
19601 return 0;
19603 _ACEOF
19604 for ac_lib in '' rt posix4; do
19605 if test -z "$ac_lib"; then
19606 ac_res="none required"
19607 else
19608 ac_res=-l$ac_lib
19609 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19611 if test x$gcc_no_link = xyes; then
19612 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19614 if ac_fn_cxx_try_link "$LINENO"; then :
19615 ac_cv_search_nanosleep=$ac_res
19617 rm -f core conftest.err conftest.$ac_objext \
19618 conftest$ac_exeext
19619 if test "${ac_cv_search_nanosleep+set}" = set; then :
19620 break
19622 done
19623 if test "${ac_cv_search_nanosleep+set}" = set; then :
19625 else
19626 ac_cv_search_nanosleep=no
19628 rm conftest.$ac_ext
19629 LIBS=$ac_func_search_save_LIBS
19631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19632 $as_echo "$ac_cv_search_nanosleep" >&6; }
19633 ac_res=$ac_cv_search_nanosleep
19634 if test "$ac_res" != no; then :
19635 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19639 else
19640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19641 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19642 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19643 $as_echo_n "(cached) " >&6
19644 else
19645 ac_func_search_save_LIBS=$LIBS
19646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19647 /* end confdefs.h. */
19649 /* Override any GCC internal prototype to avoid an error.
19650 Use char because int might match the return type of a GCC
19651 builtin and then its argument prototype would still apply. */
19652 #ifdef __cplusplus
19653 extern "C"
19654 #endif
19655 char clock_gettime ();
19657 main ()
19659 return clock_gettime ();
19661 return 0;
19663 _ACEOF
19664 for ac_lib in '' posix4; do
19665 if test -z "$ac_lib"; then
19666 ac_res="none required"
19667 else
19668 ac_res=-l$ac_lib
19669 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19671 if test x$gcc_no_link = xyes; then
19672 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19674 if ac_fn_cxx_try_link "$LINENO"; then :
19675 ac_cv_search_clock_gettime=$ac_res
19677 rm -f core conftest.err conftest.$ac_objext \
19678 conftest$ac_exeext
19679 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19680 break
19682 done
19683 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19685 else
19686 ac_cv_search_clock_gettime=no
19688 rm conftest.$ac_ext
19689 LIBS=$ac_func_search_save_LIBS
19691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19692 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19693 ac_res=$ac_cv_search_clock_gettime
19694 if test "$ac_res" != no; then :
19695 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19700 $as_echo_n "checking for library containing nanosleep... " >&6; }
19701 if test "${ac_cv_search_nanosleep+set}" = set; then :
19702 $as_echo_n "(cached) " >&6
19703 else
19704 ac_func_search_save_LIBS=$LIBS
19705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19706 /* end confdefs.h. */
19708 /* Override any GCC internal prototype to avoid an error.
19709 Use char because int might match the return type of a GCC
19710 builtin and then its argument prototype would still apply. */
19711 #ifdef __cplusplus
19712 extern "C"
19713 #endif
19714 char nanosleep ();
19716 main ()
19718 return nanosleep ();
19720 return 0;
19722 _ACEOF
19723 for ac_lib in '' posix4; do
19724 if test -z "$ac_lib"; then
19725 ac_res="none required"
19726 else
19727 ac_res=-l$ac_lib
19728 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19730 if test x$gcc_no_link = xyes; then
19731 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19733 if ac_fn_cxx_try_link "$LINENO"; then :
19734 ac_cv_search_nanosleep=$ac_res
19736 rm -f core conftest.err conftest.$ac_objext \
19737 conftest$ac_exeext
19738 if test "${ac_cv_search_nanosleep+set}" = set; then :
19739 break
19741 done
19742 if test "${ac_cv_search_nanosleep+set}" = set; then :
19744 else
19745 ac_cv_search_nanosleep=no
19747 rm conftest.$ac_ext
19748 LIBS=$ac_func_search_save_LIBS
19750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19751 $as_echo "$ac_cv_search_nanosleep" >&6; }
19752 ac_res=$ac_cv_search_nanosleep
19753 if test "$ac_res" != no; then :
19754 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19760 case "$ac_cv_search_clock_gettime" in
19761 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19763 esac
19764 case "$ac_cv_search_nanosleep" in
19765 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19767 esac
19769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19770 $as_echo_n "checking for library containing sched_yield... " >&6; }
19771 if test "${ac_cv_search_sched_yield+set}" = set; then :
19772 $as_echo_n "(cached) " >&6
19773 else
19774 ac_func_search_save_LIBS=$LIBS
19775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19776 /* end confdefs.h. */
19778 /* Override any GCC internal prototype to avoid an error.
19779 Use char because int might match the return type of a GCC
19780 builtin and then its argument prototype would still apply. */
19781 #ifdef __cplusplus
19782 extern "C"
19783 #endif
19784 char sched_yield ();
19786 main ()
19788 return sched_yield ();
19790 return 0;
19792 _ACEOF
19793 for ac_lib in '' rt posix4; do
19794 if test -z "$ac_lib"; then
19795 ac_res="none required"
19796 else
19797 ac_res=-l$ac_lib
19798 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19800 if test x$gcc_no_link = xyes; then
19801 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19803 if ac_fn_cxx_try_link "$LINENO"; then :
19804 ac_cv_search_sched_yield=$ac_res
19806 rm -f core conftest.err conftest.$ac_objext \
19807 conftest$ac_exeext
19808 if test "${ac_cv_search_sched_yield+set}" = set; then :
19809 break
19811 done
19812 if test "${ac_cv_search_sched_yield+set}" = set; then :
19814 else
19815 ac_cv_search_sched_yield=no
19817 rm conftest.$ac_ext
19818 LIBS=$ac_func_search_save_LIBS
19820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19821 $as_echo "$ac_cv_search_sched_yield" >&6; }
19822 ac_res=$ac_cv_search_sched_yield
19823 if test "$ac_res" != no; then :
19824 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19829 case "$ac_cv_search_sched_yield" in
19830 -lposix4*)
19831 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19832 ac_has_sched_yield=yes
19834 -lrt*)
19835 if test x"$enable_libstdcxx_time" = x"rt"; then
19836 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19837 ac_has_sched_yield=yes
19841 ac_has_sched_yield=yes
19843 esac
19845 for ac_header in unistd.h
19846 do :
19847 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19848 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19849 cat >>confdefs.h <<_ACEOF
19850 #define HAVE_UNISTD_H 1
19851 _ACEOF
19852 ac_has_unistd_h=yes
19853 else
19854 ac_has_unistd_h=no
19857 done
19860 if test x"$ac_has_unistd_h" = x"yes"; then
19861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19862 $as_echo_n "checking for monotonic clock... " >&6; }
19863 if test x$gcc_no_link = xyes; then
19864 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19867 /* end confdefs.h. */
19868 #include <unistd.h>
19869 #include <time.h>
19872 main ()
19874 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19875 timespec tp;
19876 #endif
19877 clock_gettime(CLOCK_MONOTONIC, &tp);
19880 return 0;
19882 _ACEOF
19883 if ac_fn_cxx_try_link "$LINENO"; then :
19884 ac_has_clock_monotonic=yes
19885 else
19886 ac_has_clock_monotonic=no
19888 rm -f core conftest.err conftest.$ac_objext \
19889 conftest$ac_exeext conftest.$ac_ext
19891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19892 $as_echo "$ac_has_clock_monotonic" >&6; }
19894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19895 $as_echo_n "checking for realtime clock... " >&6; }
19896 if test x$gcc_no_link = xyes; then
19897 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19900 /* end confdefs.h. */
19901 #include <unistd.h>
19902 #include <time.h>
19905 main ()
19907 #if _POSIX_TIMERS > 0
19908 timespec tp;
19909 #endif
19910 clock_gettime(CLOCK_REALTIME, &tp);
19913 return 0;
19915 _ACEOF
19916 if ac_fn_cxx_try_link "$LINENO"; then :
19917 ac_has_clock_realtime=yes
19918 else
19919 ac_has_clock_realtime=no
19921 rm -f core conftest.err conftest.$ac_objext \
19922 conftest$ac_exeext conftest.$ac_ext
19924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19925 $as_echo "$ac_has_clock_realtime" >&6; }
19927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19928 $as_echo_n "checking for nanosleep... " >&6; }
19929 if test x$gcc_no_link = xyes; then
19930 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19933 /* end confdefs.h. */
19934 #include <unistd.h>
19935 #include <time.h>
19938 main ()
19940 #if _POSIX_TIMERS > 0
19941 timespec tp;
19942 #endif
19943 nanosleep(&tp, 0);
19946 return 0;
19948 _ACEOF
19949 if ac_fn_cxx_try_link "$LINENO"; then :
19950 ac_has_nanosleep=yes
19951 else
19952 ac_has_nanosleep=no
19954 rm -f core conftest.err conftest.$ac_objext \
19955 conftest$ac_exeext conftest.$ac_ext
19957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19958 $as_echo "$ac_has_nanosleep" >&6; }
19962 if test x"$ac_has_clock_monotonic" != x"yes"; then
19963 case ${target_os} in
19964 linux*)
19965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
19966 $as_echo_n "checking for clock_gettime syscall... " >&6; }
19967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19968 /* end confdefs.h. */
19969 #include <unistd.h>
19970 #include <time.h>
19971 #include <sys/syscall.h>
19974 main ()
19976 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19977 timespec tp;
19978 #endif
19979 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
19980 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
19983 return 0;
19985 _ACEOF
19986 if ac_fn_cxx_try_compile "$LINENO"; then :
19987 ac_has_clock_monotonic_syscall=yes
19988 else
19989 ac_has_clock_monotonic_syscall=no
19991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
19993 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
19994 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
19996 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
19998 ac_has_clock_monotonic=yes
19999 ac_has_clock_realtime=yes
20000 fi;;
20001 esac
20004 if test x"$ac_has_clock_monotonic" = x"yes"; then
20006 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
20010 if test x"$ac_has_clock_realtime" = x"yes"; then
20012 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
20016 if test x"$ac_has_sched_yield" = x"yes"; then
20018 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20022 if test x"$ac_has_nanosleep" = x"yes"; then
20024 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20026 else
20027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20028 $as_echo_n "checking for sleep... " >&6; }
20029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20030 /* end confdefs.h. */
20031 #include <unistd.h>
20033 main ()
20035 sleep(1)
20037 return 0;
20039 _ACEOF
20040 if ac_fn_cxx_try_compile "$LINENO"; then :
20041 ac_has_sleep=yes
20042 else
20043 ac_has_sleep=no
20045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20046 if test x"$ac_has_sleep" = x"yes"; then
20048 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
20051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
20052 $as_echo "$ac_has_sleep" >&6; }
20053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
20054 $as_echo_n "checking for usleep... " >&6; }
20055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20056 /* end confdefs.h. */
20057 #include <unistd.h>
20059 main ()
20061 sleep(1);
20062 usleep(100);
20064 return 0;
20066 _ACEOF
20067 if ac_fn_cxx_try_compile "$LINENO"; then :
20068 ac_has_usleep=yes
20069 else
20070 ac_has_usleep=no
20072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20073 if test x"$ac_has_usleep" = x"yes"; then
20075 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
20078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
20079 $as_echo "$ac_has_usleep" >&6; }
20082 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
20083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
20084 $as_echo_n "checking for Sleep... " >&6; }
20085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20086 /* end confdefs.h. */
20087 #include <windows.h>
20089 main ()
20091 Sleep(1)
20093 return 0;
20095 _ACEOF
20096 if ac_fn_cxx_try_compile "$LINENO"; then :
20097 ac_has_win32_sleep=yes
20098 else
20099 ac_has_win32_sleep=no
20101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20102 if test x"$ac_has_win32_sleep" = x"yes"; then
20104 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
20107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
20108 $as_echo "$ac_has_win32_sleep" >&6; }
20113 CXXFLAGS="$ac_save_CXXFLAGS"
20114 LIBS="$ac_save_LIBS"
20115 ac_ext=c
20116 ac_cpp='$CPP $CPPFLAGS'
20117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20123 # Check for tmpnam which is obsolescent in POSIX.1-2008
20125 ac_ext=cpp
20126 ac_cpp='$CXXCPP $CPPFLAGS'
20127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20131 ac_save_CXXFLAGS="$CXXFLAGS"
20132 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
20134 $as_echo_n "checking for tmpnam... " >&6; }
20135 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
20136 $as_echo_n "(cached) " >&6
20137 else
20138 if test x$gcc_no_link = xyes; then
20139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20140 /* end confdefs.h. */
20141 #include <stdio.h>
20143 main ()
20145 char *tmp = tmpnam(NULL);
20147 return 0;
20149 _ACEOF
20150 if ac_fn_cxx_try_compile "$LINENO"; then :
20151 glibcxx_cv_TMPNAM=yes
20152 else
20153 glibcxx_cv_TMPNAM=no
20155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20156 else
20157 if test x$gcc_no_link = xyes; then
20158 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20161 /* end confdefs.h. */
20162 #include <stdio.h>
20164 main ()
20166 char *tmp = tmpnam(NULL);
20168 return 0;
20170 _ACEOF
20171 if ac_fn_cxx_try_link "$LINENO"; then :
20172 glibcxx_cv_TMPNAM=yes
20173 else
20174 glibcxx_cv_TMPNAM=no
20176 rm -f core conftest.err conftest.$ac_objext \
20177 conftest$ac_exeext conftest.$ac_ext
20182 if test $glibcxx_cv_TMPNAM = yes; then
20184 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
20187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
20188 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
20189 CXXFLAGS="$ac_save_CXXFLAGS"
20190 ac_ext=c
20191 ac_cpp='$CPP $CPPFLAGS'
20192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20199 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
20200 if test "x$ac_cv_header_locale_h" = x""yes; then :
20202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
20203 $as_echo_n "checking for LC_MESSAGES... " >&6; }
20204 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
20205 $as_echo_n "(cached) " >&6
20206 else
20207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20208 /* end confdefs.h. */
20209 #include <locale.h>
20211 main ()
20213 return LC_MESSAGES
20215 return 0;
20217 _ACEOF
20218 if ac_fn_c_try_compile "$LINENO"; then :
20219 ac_cv_val_LC_MESSAGES=yes
20220 else
20221 ac_cv_val_LC_MESSAGES=no
20223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
20226 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
20227 if test $ac_cv_val_LC_MESSAGES = yes; then
20229 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
20238 # For hardware_concurrency
20239 for ac_header in sys/sysinfo.h
20240 do :
20241 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
20242 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
20243 cat >>confdefs.h <<_ACEOF
20244 #define HAVE_SYS_SYSINFO_H 1
20245 _ACEOF
20249 done
20254 ac_ext=cpp
20255 ac_cpp='$CXXCPP $CPPFLAGS'
20256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20260 ac_save_CXXFLAGS="$CXXFLAGS"
20261 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
20264 $as_echo_n "checking for get_nprocs... " >&6; }
20265 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
20266 $as_echo_n "(cached) " >&6
20267 else
20269 if test x$gcc_no_link = xyes; then
20270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20271 /* end confdefs.h. */
20272 #include <sys/sysinfo.h>
20274 main ()
20276 int n = get_nprocs();
20278 return 0;
20280 _ACEOF
20281 if ac_fn_cxx_try_compile "$LINENO"; then :
20282 glibcxx_cv_GET_NPROCS=yes
20283 else
20284 glibcxx_cv_GET_NPROCS=no
20286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20287 else
20288 if test x$gcc_no_link = xyes; then
20289 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20292 /* end confdefs.h. */
20293 #include <sys/sysinfo.h>
20295 main ()
20297 int n = get_nprocs();
20299 return 0;
20301 _ACEOF
20302 if ac_fn_cxx_try_link "$LINENO"; then :
20303 glibcxx_cv_GET_NPROCS=yes
20304 else
20305 glibcxx_cv_GET_NPROCS=no
20307 rm -f core conftest.err conftest.$ac_objext \
20308 conftest$ac_exeext conftest.$ac_ext
20313 if test $glibcxx_cv_GET_NPROCS = yes; then
20315 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20319 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
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
20329 for ac_header in unistd.h
20330 do :
20331 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20332 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20333 cat >>confdefs.h <<_ACEOF
20334 #define HAVE_UNISTD_H 1
20335 _ACEOF
20339 done
20344 ac_ext=cpp
20345 ac_cpp='$CXXCPP $CPPFLAGS'
20346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20350 ac_save_CXXFLAGS="$CXXFLAGS"
20351 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20354 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20355 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20356 $as_echo_n "(cached) " >&6
20357 else
20359 if test x$gcc_no_link = xyes; then
20360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20361 /* end confdefs.h. */
20362 #include <unistd.h>
20364 main ()
20366 int n = sysconf(_SC_NPROCESSORS_ONLN);
20368 return 0;
20370 _ACEOF
20371 if ac_fn_cxx_try_compile "$LINENO"; then :
20372 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20373 else
20374 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20377 else
20378 if test x$gcc_no_link = xyes; then
20379 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20382 /* end confdefs.h. */
20383 #include <unistd.h>
20385 main ()
20387 int n = sysconf(_SC_NPROCESSORS_ONLN);
20389 return 0;
20391 _ACEOF
20392 if ac_fn_cxx_try_link "$LINENO"; then :
20393 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20394 else
20395 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20397 rm -f core conftest.err conftest.$ac_objext \
20398 conftest$ac_exeext conftest.$ac_ext
20403 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20405 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20409 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20411 CXXFLAGS="$ac_save_CXXFLAGS"
20412 ac_ext=c
20413 ac_cpp='$CPP $CPPFLAGS'
20414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20422 ac_ext=cpp
20423 ac_cpp='$CXXCPP $CPPFLAGS'
20424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20428 ac_save_CXXFLAGS="$CXXFLAGS"
20429 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20432 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20433 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20434 $as_echo_n "(cached) " >&6
20435 else
20437 if test x$gcc_no_link = xyes; then
20438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20439 /* end confdefs.h. */
20440 #include <unistd.h>
20442 main ()
20444 int n = sysconf(_SC_NPROC_ONLN);
20446 return 0;
20448 _ACEOF
20449 if ac_fn_cxx_try_compile "$LINENO"; then :
20450 glibcxx_cv_SC_NPROC_ONLN=yes
20451 else
20452 glibcxx_cv_SC_NPROC_ONLN=no
20454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20455 else
20456 if test x$gcc_no_link = xyes; then
20457 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20460 /* end confdefs.h. */
20461 #include <unistd.h>
20463 main ()
20465 int n = sysconf(_SC_NPROC_ONLN);
20467 return 0;
20469 _ACEOF
20470 if ac_fn_cxx_try_link "$LINENO"; then :
20471 glibcxx_cv_SC_NPROC_ONLN=yes
20472 else
20473 glibcxx_cv_SC_NPROC_ONLN=no
20475 rm -f core conftest.err conftest.$ac_objext \
20476 conftest$ac_exeext conftest.$ac_ext
20481 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20483 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20487 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20489 CXXFLAGS="$ac_save_CXXFLAGS"
20490 ac_ext=c
20491 ac_cpp='$CPP $CPPFLAGS'
20492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20500 ac_ext=cpp
20501 ac_cpp='$CXXCPP $CPPFLAGS'
20502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20506 ac_save_CXXFLAGS="$CXXFLAGS"
20507 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20510 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20511 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20512 $as_echo_n "(cached) " >&6
20513 else
20515 if test x$gcc_no_link = xyes; then
20516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20517 /* end confdefs.h. */
20518 #include <pthread.h>
20520 main ()
20522 int n = pthread_num_processors_np();
20524 return 0;
20526 _ACEOF
20527 if ac_fn_cxx_try_compile "$LINENO"; then :
20528 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20529 else
20530 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20533 else
20534 if test x$gcc_no_link = xyes; then
20535 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20538 /* end confdefs.h. */
20539 #include <pthread.h>
20541 main ()
20543 int n = pthread_num_processors_np();
20545 return 0;
20547 _ACEOF
20548 if ac_fn_cxx_try_link "$LINENO"; then :
20549 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20550 else
20551 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20553 rm -f core conftest.err conftest.$ac_objext \
20554 conftest$ac_exeext conftest.$ac_ext
20559 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20561 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20565 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20567 CXXFLAGS="$ac_save_CXXFLAGS"
20568 ac_ext=c
20569 ac_cpp='$CPP $CPPFLAGS'
20570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20578 ac_ext=cpp
20579 ac_cpp='$CXXCPP $CPPFLAGS'
20580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20584 ac_save_CXXFLAGS="$CXXFLAGS"
20585 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20588 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20589 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20590 $as_echo_n "(cached) " >&6
20591 else
20593 if test x$gcc_no_link = xyes; then
20594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20595 /* end confdefs.h. */
20597 #include <stddef.h>
20598 #include <sys/sysctl.h>
20601 main ()
20604 int count;
20605 size_t size = sizeof(count);
20606 int mib[] = { CTL_HW, HW_NCPU };
20607 sysctl(mib, 2, &count, &size, NULL, 0);
20610 return 0;
20612 _ACEOF
20613 if ac_fn_cxx_try_compile "$LINENO"; then :
20614 glibcxx_cv_SYSCTL_HW_NCPU=yes
20615 else
20616 glibcxx_cv_SYSCTL_HW_NCPU=no
20618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20619 else
20620 if test x$gcc_no_link = xyes; then
20621 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20624 /* end confdefs.h. */
20626 #include <stddef.h>
20627 #include <sys/sysctl.h>
20630 main ()
20633 int count;
20634 size_t size = sizeof(count);
20635 int mib[] = { CTL_HW, HW_NCPU };
20636 sysctl(mib, 2, &count, &size, NULL, 0);
20639 return 0;
20641 _ACEOF
20642 if ac_fn_cxx_try_link "$LINENO"; then :
20643 glibcxx_cv_SYSCTL_HW_NCPU=yes
20644 else
20645 glibcxx_cv_SYSCTL_HW_NCPU=no
20647 rm -f core conftest.err conftest.$ac_objext \
20648 conftest$ac_exeext conftest.$ac_ext
20653 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20655 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20659 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20661 CXXFLAGS="$ac_save_CXXFLAGS"
20662 ac_ext=c
20663 ac_cpp='$CPP $CPPFLAGS'
20664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: for suitable sys/sdt.h" >&5
20671 $as_echo "for suitable sys/sdt.h" >&6; }
20672 # Note that this test has to be run with the C language.
20673 # Otherwise, sdt.h will try to include some headers from
20674 # libstdc++ itself.
20676 ac_ext=c
20677 ac_cpp='$CPP $CPPFLAGS'
20678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20682 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
20683 $as_echo_n "(cached) " >&6
20684 else
20686 # Because we have to run the test in C, we use grep rather
20687 # than the compiler to check for the bug. The bug is that
20688 # were strings without trailing whitespace, causing g++
20689 # to look for operator"". The pattern searches for the fixed
20690 # output.
20691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20692 /* end confdefs.h. */
20694 #include <sys/sdt.h>
20695 int f() { STAP_PROBE(hi, bob); }
20697 _ACEOF
20698 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20699 $EGREP " \",\" " >/dev/null 2>&1; then :
20700 glibcxx_cv_sys_sdt_h=yes
20701 else
20702 glibcxx_cv_sys_sdt_h=no
20704 rm -f conftest*
20709 ac_ext=c
20710 ac_cpp='$CPP $CPPFLAGS'
20711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20715 if test $glibcxx_cv_sys_sdt_h = yes; then
20717 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
20720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
20721 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
20724 # Check for available headers.
20725 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20726 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20727 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20728 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20729 wchar.h wctype.h
20730 do :
20731 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20732 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20733 eval as_val=\$$as_ac_Header
20734 if test "x$as_val" = x""yes; then :
20735 cat >>confdefs.h <<_ACEOF
20736 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20737 _ACEOF
20741 done
20744 # Only do link tests if native. Else, hardcode.
20745 if $GLIBCXX_IS_NATIVE; then
20747 # We can do more elaborate tests that assume a working linker.
20748 CANADIAN=no
20752 # Check whether --with-gnu-ld was given.
20753 if test "${with_gnu_ld+set}" = set; then :
20754 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20755 else
20756 with_gnu_ld=no
20759 ac_prog=ld
20760 if test "$GCC" = yes; then
20761 # Check if gcc -print-prog-name=ld gives a path.
20762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20763 $as_echo_n "checking for ld used by $CC... " >&6; }
20764 case $host in
20765 *-*-mingw*)
20766 # gcc leaves a trailing carriage return which upsets mingw
20767 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20769 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20770 esac
20771 case $ac_prog in
20772 # Accept absolute paths.
20773 [\\/]* | ?:[\\/]*)
20774 re_direlt='/[^/][^/]*/\.\./'
20775 # Canonicalize the pathname of ld
20776 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20777 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20778 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20779 done
20780 test -z "$LD" && LD="$ac_prog"
20783 # If it fails, then pretend we aren't using GCC.
20784 ac_prog=ld
20787 # If it is relative, then search for the first ld in PATH.
20788 with_gnu_ld=unknown
20790 esac
20791 elif test "$with_gnu_ld" = yes; then
20792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20793 $as_echo_n "checking for GNU ld... " >&6; }
20794 else
20795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20796 $as_echo_n "checking for non-GNU ld... " >&6; }
20798 if test "${lt_cv_path_LD+set}" = set; then :
20799 $as_echo_n "(cached) " >&6
20800 else
20801 if test -z "$LD"; then
20802 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20803 for ac_dir in $PATH; do
20804 IFS="$lt_save_ifs"
20805 test -z "$ac_dir" && ac_dir=.
20806 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20807 lt_cv_path_LD="$ac_dir/$ac_prog"
20808 # Check to see if the program is GNU ld. I'd rather use --version,
20809 # but apparently some variants of GNU ld only accept -v.
20810 # Break only if it was the GNU/non-GNU ld that we prefer.
20811 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20812 *GNU* | *'with BFD'*)
20813 test "$with_gnu_ld" != no && break
20816 test "$with_gnu_ld" != yes && break
20818 esac
20820 done
20821 IFS="$lt_save_ifs"
20822 else
20823 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20827 LD="$lt_cv_path_LD"
20828 if test -n "$LD"; then
20829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20830 $as_echo "$LD" >&6; }
20831 else
20832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20833 $as_echo "no" >&6; }
20835 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20837 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20838 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20839 $as_echo_n "(cached) " >&6
20840 else
20841 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20842 case `$LD -v 2>&1 </dev/null` in
20843 *GNU* | *'with BFD'*)
20844 lt_cv_prog_gnu_ld=yes
20847 lt_cv_prog_gnu_ld=no
20849 esac
20851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20852 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20853 with_gnu_ld=$lt_cv_prog_gnu_ld
20861 # If we're not using GNU ld, then there's no point in even trying these
20862 # tests. Check for that first. We should have already tested for gld
20863 # by now (in libtool), but require it now just to be safe...
20864 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20865 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20869 # The name set by libtool depends on the version of libtool. Shame on us
20870 # for depending on an impl detail, but c'est la vie. Older versions used
20871 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20872 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20873 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20874 # set (hence we're using an older libtool), then set it.
20875 if test x${with_gnu_ld+set} != xset; then
20876 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20877 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20878 with_gnu_ld=no
20879 else
20880 with_gnu_ld=$ac_cv_prog_gnu_ld
20884 # Start by getting the version number. I think the libtool test already
20885 # does some of this, but throws away the result.
20886 glibcxx_ld_is_gold=no
20887 if test x"$with_gnu_ld" = x"yes"; then
20888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20889 $as_echo_n "checking for ld version... " >&6; }
20891 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20892 glibcxx_ld_is_gold=yes
20894 ldver=`$LD --version 2>/dev/null |
20895 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'`
20897 glibcxx_gnu_ld_version=`echo $ldver | \
20898 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20900 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20903 # Set --gc-sections.
20904 glibcxx_have_gc_sections=no
20905 if test "$glibcxx_ld_is_gold" = "yes"; then
20906 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20907 glibcxx_have_gc_sections=yes
20909 else
20910 glibcxx_gcsections_min_ld=21602
20911 if test x"$with_gnu_ld" = x"yes" &&
20912 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20913 glibcxx_have_gc_sections=yes
20916 if test "$glibcxx_have_gc_sections" = "yes"; then
20917 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20918 # NB: This flag only works reliably after 2.16.1. Configure tests
20919 # for this are difficult, so hard wire a value that should work.
20921 ac_test_CFLAGS="${CFLAGS+set}"
20922 ac_save_CFLAGS="$CFLAGS"
20923 CFLAGS='-Wl,--gc-sections'
20925 # Check for -Wl,--gc-sections
20926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20927 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20928 if test x$gcc_no_link = xyes; then
20929 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20932 /* end confdefs.h. */
20933 int one(void) { return 1; }
20934 int two(void) { return 2; }
20937 main ()
20939 two();
20941 return 0;
20943 _ACEOF
20944 if ac_fn_c_try_link "$LINENO"; then :
20945 ac_gcsections=yes
20946 else
20947 ac_gcsections=no
20949 rm -f core conftest.err conftest.$ac_objext \
20950 conftest$ac_exeext conftest.$ac_ext
20951 if test "$ac_gcsections" = "yes"; then
20952 rm -f conftest.c
20953 touch conftest.c
20954 if $CC -c conftest.c; then
20955 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20956 grep "Warning: gc-sections option ignored" > /dev/null; then
20957 ac_gcsections=no
20960 rm -f conftest.c conftest.o conftest
20962 if test "$ac_gcsections" = "yes"; then
20963 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20966 $as_echo "$ac_gcsections" >&6; }
20968 if test "$ac_test_CFLAGS" = set; then
20969 CFLAGS="$ac_save_CFLAGS"
20970 else
20971 # this is the suspicious part
20972 CFLAGS=''
20976 # Set -z,relro.
20977 # Note this is only for shared objects.
20978 ac_ld_relro=no
20979 if test x"$with_gnu_ld" = x"yes"; then
20980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20981 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20982 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20983 if test -n "$cxx_z_relo"; then
20984 OPT_LDFLAGS="-Wl,-z,relro"
20985 ac_ld_relro=yes
20987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20988 $as_echo "$ac_ld_relro" >&6; }
20991 # Set linker optimization flags.
20992 if test x"$with_gnu_ld" = x"yes"; then
20993 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
21000 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21001 ac_save_CXXFLAGS="$CXXFLAGS"
21002 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
21004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
21005 $as_echo_n "checking for sin in -lm... " >&6; }
21006 if test "${ac_cv_lib_m_sin+set}" = set; then :
21007 $as_echo_n "(cached) " >&6
21008 else
21009 ac_check_lib_save_LIBS=$LIBS
21010 LIBS="-lm $LIBS"
21011 if test x$gcc_no_link = xyes; then
21012 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21015 /* end confdefs.h. */
21017 /* Override any GCC internal prototype to avoid an error.
21018 Use char because int might match the return type of a GCC
21019 builtin and then its argument prototype would still apply. */
21020 #ifdef __cplusplus
21021 extern "C"
21022 #endif
21023 char sin ();
21025 main ()
21027 return sin ();
21029 return 0;
21031 _ACEOF
21032 if ac_fn_c_try_link "$LINENO"; then :
21033 ac_cv_lib_m_sin=yes
21034 else
21035 ac_cv_lib_m_sin=no
21037 rm -f core conftest.err conftest.$ac_objext \
21038 conftest$ac_exeext conftest.$ac_ext
21039 LIBS=$ac_check_lib_save_LIBS
21041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
21042 $as_echo "$ac_cv_lib_m_sin" >&6; }
21043 if test "x$ac_cv_lib_m_sin" = x""yes; then :
21044 libm="-lm"
21047 ac_save_LIBS="$LIBS"
21048 LIBS="$LIBS $libm"
21052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
21053 $as_echo_n "checking for isinf declaration... " >&6; }
21054 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
21055 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
21056 $as_echo_n "(cached) " >&6
21057 else
21060 ac_ext=cpp
21061 ac_cpp='$CXXCPP $CPPFLAGS'
21062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21067 /* end confdefs.h. */
21068 #include <math.h>
21069 #ifdef HAVE_IEEEFP_H
21070 #include <ieeefp.h>
21071 #endif
21074 main ()
21076 isinf(0);
21078 return 0;
21080 _ACEOF
21081 if ac_fn_cxx_try_compile "$LINENO"; then :
21082 glibcxx_cv_func_isinf_use=yes
21083 else
21084 glibcxx_cv_func_isinf_use=no
21086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21087 ac_ext=c
21088 ac_cpp='$CPP $CPPFLAGS'
21089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
21098 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
21100 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
21101 for ac_func in isinf
21102 do :
21103 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
21104 if test "x$ac_cv_func_isinf" = x""yes; then :
21105 cat >>confdefs.h <<_ACEOF
21106 #define HAVE_ISINF 1
21107 _ACEOF
21110 done
21112 else
21114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
21115 $as_echo_n "checking for _isinf declaration... " >&6; }
21116 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
21117 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
21118 $as_echo_n "(cached) " >&6
21119 else
21122 ac_ext=cpp
21123 ac_cpp='$CXXCPP $CPPFLAGS'
21124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21129 /* end confdefs.h. */
21130 #include <math.h>
21131 #ifdef HAVE_IEEEFP_H
21132 #include <ieeefp.h>
21133 #endif
21136 main ()
21138 _isinf(0);
21140 return 0;
21142 _ACEOF
21143 if ac_fn_cxx_try_compile "$LINENO"; then :
21144 glibcxx_cv_func__isinf_use=yes
21145 else
21146 glibcxx_cv_func__isinf_use=no
21148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21149 ac_ext=c
21150 ac_cpp='$CPP $CPPFLAGS'
21151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
21160 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
21162 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
21163 for ac_func in _isinf
21164 do :
21165 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
21166 if test "x$ac_cv_func__isinf" = x""yes; then :
21167 cat >>confdefs.h <<_ACEOF
21168 #define HAVE__ISINF 1
21169 _ACEOF
21172 done
21181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
21182 $as_echo_n "checking for isnan declaration... " >&6; }
21183 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
21184 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
21185 $as_echo_n "(cached) " >&6
21186 else
21189 ac_ext=cpp
21190 ac_cpp='$CXXCPP $CPPFLAGS'
21191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21196 /* end confdefs.h. */
21197 #include <math.h>
21198 #ifdef HAVE_IEEEFP_H
21199 #include <ieeefp.h>
21200 #endif
21203 main ()
21205 isnan(0);
21207 return 0;
21209 _ACEOF
21210 if ac_fn_cxx_try_compile "$LINENO"; then :
21211 glibcxx_cv_func_isnan_use=yes
21212 else
21213 glibcxx_cv_func_isnan_use=no
21215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21216 ac_ext=c
21217 ac_cpp='$CPP $CPPFLAGS'
21218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
21227 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
21229 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
21230 for ac_func in isnan
21231 do :
21232 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
21233 if test "x$ac_cv_func_isnan" = x""yes; then :
21234 cat >>confdefs.h <<_ACEOF
21235 #define HAVE_ISNAN 1
21236 _ACEOF
21239 done
21241 else
21243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
21244 $as_echo_n "checking for _isnan declaration... " >&6; }
21245 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
21246 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
21247 $as_echo_n "(cached) " >&6
21248 else
21251 ac_ext=cpp
21252 ac_cpp='$CXXCPP $CPPFLAGS'
21253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21258 /* end confdefs.h. */
21259 #include <math.h>
21260 #ifdef HAVE_IEEEFP_H
21261 #include <ieeefp.h>
21262 #endif
21265 main ()
21267 _isnan(0);
21269 return 0;
21271 _ACEOF
21272 if ac_fn_cxx_try_compile "$LINENO"; then :
21273 glibcxx_cv_func__isnan_use=yes
21274 else
21275 glibcxx_cv_func__isnan_use=no
21277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21278 ac_ext=c
21279 ac_cpp='$CPP $CPPFLAGS'
21280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
21289 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
21291 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
21292 for ac_func in _isnan
21293 do :
21294 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
21295 if test "x$ac_cv_func__isnan" = x""yes; then :
21296 cat >>confdefs.h <<_ACEOF
21297 #define HAVE__ISNAN 1
21298 _ACEOF
21301 done
21310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
21311 $as_echo_n "checking for finite declaration... " >&6; }
21312 if test x${glibcxx_cv_func_finite_use+set} != xset; then
21313 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
21314 $as_echo_n "(cached) " >&6
21315 else
21318 ac_ext=cpp
21319 ac_cpp='$CXXCPP $CPPFLAGS'
21320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21325 /* end confdefs.h. */
21326 #include <math.h>
21327 #ifdef HAVE_IEEEFP_H
21328 #include <ieeefp.h>
21329 #endif
21332 main ()
21334 finite(0);
21336 return 0;
21338 _ACEOF
21339 if ac_fn_cxx_try_compile "$LINENO"; then :
21340 glibcxx_cv_func_finite_use=yes
21341 else
21342 glibcxx_cv_func_finite_use=no
21344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21345 ac_ext=c
21346 ac_cpp='$CPP $CPPFLAGS'
21347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21356 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21358 if test x$glibcxx_cv_func_finite_use = x"yes"; then
21359 for ac_func in finite
21360 do :
21361 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21362 if test "x$ac_cv_func_finite" = x""yes; then :
21363 cat >>confdefs.h <<_ACEOF
21364 #define HAVE_FINITE 1
21365 _ACEOF
21368 done
21370 else
21372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21373 $as_echo_n "checking for _finite declaration... " >&6; }
21374 if test x${glibcxx_cv_func__finite_use+set} != xset; then
21375 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21376 $as_echo_n "(cached) " >&6
21377 else
21380 ac_ext=cpp
21381 ac_cpp='$CXXCPP $CPPFLAGS'
21382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21387 /* end confdefs.h. */
21388 #include <math.h>
21389 #ifdef HAVE_IEEEFP_H
21390 #include <ieeefp.h>
21391 #endif
21394 main ()
21396 _finite(0);
21398 return 0;
21400 _ACEOF
21401 if ac_fn_cxx_try_compile "$LINENO"; then :
21402 glibcxx_cv_func__finite_use=yes
21403 else
21404 glibcxx_cv_func__finite_use=no
21406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21407 ac_ext=c
21408 ac_cpp='$CPP $CPPFLAGS'
21409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21418 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21420 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21421 for ac_func in _finite
21422 do :
21423 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21424 if test "x$ac_cv_func__finite" = x""yes; then :
21425 cat >>confdefs.h <<_ACEOF
21426 #define HAVE__FINITE 1
21427 _ACEOF
21430 done
21439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21440 $as_echo_n "checking for sincos declaration... " >&6; }
21441 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21442 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21443 $as_echo_n "(cached) " >&6
21444 else
21447 ac_ext=cpp
21448 ac_cpp='$CXXCPP $CPPFLAGS'
21449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21454 /* end confdefs.h. */
21455 #include <math.h>
21457 main ()
21459 sincos(0, 0, 0);
21461 return 0;
21463 _ACEOF
21464 if ac_fn_cxx_try_compile "$LINENO"; then :
21465 glibcxx_cv_func_sincos_use=yes
21466 else
21467 glibcxx_cv_func_sincos_use=no
21469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21470 ac_ext=c
21471 ac_cpp='$CPP $CPPFLAGS'
21472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21481 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21483 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21484 for ac_func in sincos
21485 do :
21486 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21487 if test "x$ac_cv_func_sincos" = x""yes; then :
21488 cat >>confdefs.h <<_ACEOF
21489 #define HAVE_SINCOS 1
21490 _ACEOF
21493 done
21495 else
21497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21498 $as_echo_n "checking for _sincos declaration... " >&6; }
21499 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21500 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21501 $as_echo_n "(cached) " >&6
21502 else
21505 ac_ext=cpp
21506 ac_cpp='$CXXCPP $CPPFLAGS'
21507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21512 /* end confdefs.h. */
21513 #include <math.h>
21515 main ()
21517 _sincos(0, 0, 0);
21519 return 0;
21521 _ACEOF
21522 if ac_fn_cxx_try_compile "$LINENO"; then :
21523 glibcxx_cv_func__sincos_use=yes
21524 else
21525 glibcxx_cv_func__sincos_use=no
21527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21528 ac_ext=c
21529 ac_cpp='$CPP $CPPFLAGS'
21530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21539 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21541 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21542 for ac_func in _sincos
21543 do :
21544 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21545 if test "x$ac_cv_func__sincos" = x""yes; then :
21546 cat >>confdefs.h <<_ACEOF
21547 #define HAVE__SINCOS 1
21548 _ACEOF
21551 done
21560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21561 $as_echo_n "checking for fpclass declaration... " >&6; }
21562 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21563 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21564 $as_echo_n "(cached) " >&6
21565 else
21568 ac_ext=cpp
21569 ac_cpp='$CXXCPP $CPPFLAGS'
21570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21575 /* end confdefs.h. */
21576 #include <math.h>
21577 #ifdef HAVE_IEEEFP_H
21578 #include <ieeefp.h>
21579 #endif
21582 main ()
21584 fpclass(0);
21586 return 0;
21588 _ACEOF
21589 if ac_fn_cxx_try_compile "$LINENO"; then :
21590 glibcxx_cv_func_fpclass_use=yes
21591 else
21592 glibcxx_cv_func_fpclass_use=no
21594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21595 ac_ext=c
21596 ac_cpp='$CPP $CPPFLAGS'
21597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21606 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21608 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21609 for ac_func in fpclass
21610 do :
21611 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21612 if test "x$ac_cv_func_fpclass" = x""yes; then :
21613 cat >>confdefs.h <<_ACEOF
21614 #define HAVE_FPCLASS 1
21615 _ACEOF
21618 done
21620 else
21622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21623 $as_echo_n "checking for _fpclass declaration... " >&6; }
21624 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21625 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21626 $as_echo_n "(cached) " >&6
21627 else
21630 ac_ext=cpp
21631 ac_cpp='$CXXCPP $CPPFLAGS'
21632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21637 /* end confdefs.h. */
21638 #include <math.h>
21639 #ifdef HAVE_IEEEFP_H
21640 #include <ieeefp.h>
21641 #endif
21644 main ()
21646 _fpclass(0);
21648 return 0;
21650 _ACEOF
21651 if ac_fn_cxx_try_compile "$LINENO"; then :
21652 glibcxx_cv_func__fpclass_use=yes
21653 else
21654 glibcxx_cv_func__fpclass_use=no
21656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21657 ac_ext=c
21658 ac_cpp='$CPP $CPPFLAGS'
21659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21668 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21670 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21671 for ac_func in _fpclass
21672 do :
21673 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21674 if test "x$ac_cv_func__fpclass" = x""yes; then :
21675 cat >>confdefs.h <<_ACEOF
21676 #define HAVE__FPCLASS 1
21677 _ACEOF
21680 done
21689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21690 $as_echo_n "checking for qfpclass declaration... " >&6; }
21691 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21692 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21693 $as_echo_n "(cached) " >&6
21694 else
21697 ac_ext=cpp
21698 ac_cpp='$CXXCPP $CPPFLAGS'
21699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21704 /* end confdefs.h. */
21705 #include <math.h>
21706 #ifdef HAVE_IEEEFP_H
21707 #include <ieeefp.h>
21708 #endif
21711 main ()
21713 qfpclass(0);
21715 return 0;
21717 _ACEOF
21718 if ac_fn_cxx_try_compile "$LINENO"; then :
21719 glibcxx_cv_func_qfpclass_use=yes
21720 else
21721 glibcxx_cv_func_qfpclass_use=no
21723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21724 ac_ext=c
21725 ac_cpp='$CPP $CPPFLAGS'
21726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21735 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21737 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21738 for ac_func in qfpclass
21739 do :
21740 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21741 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21742 cat >>confdefs.h <<_ACEOF
21743 #define HAVE_QFPCLASS 1
21744 _ACEOF
21747 done
21749 else
21751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21752 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21753 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21754 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21755 $as_echo_n "(cached) " >&6
21756 else
21759 ac_ext=cpp
21760 ac_cpp='$CXXCPP $CPPFLAGS'
21761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21766 /* end confdefs.h. */
21767 #include <math.h>
21768 #ifdef HAVE_IEEEFP_H
21769 #include <ieeefp.h>
21770 #endif
21773 main ()
21775 _qfpclass(0);
21777 return 0;
21779 _ACEOF
21780 if ac_fn_cxx_try_compile "$LINENO"; then :
21781 glibcxx_cv_func__qfpclass_use=yes
21782 else
21783 glibcxx_cv_func__qfpclass_use=no
21785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21786 ac_ext=c
21787 ac_cpp='$CPP $CPPFLAGS'
21788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21797 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21799 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21800 for ac_func in _qfpclass
21801 do :
21802 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21803 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21804 cat >>confdefs.h <<_ACEOF
21805 #define HAVE__QFPCLASS 1
21806 _ACEOF
21809 done
21818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21819 $as_echo_n "checking for hypot declaration... " >&6; }
21820 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21821 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21822 $as_echo_n "(cached) " >&6
21823 else
21826 ac_ext=cpp
21827 ac_cpp='$CXXCPP $CPPFLAGS'
21828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21833 /* end confdefs.h. */
21834 #include <math.h>
21836 main ()
21838 hypot(0, 0);
21840 return 0;
21842 _ACEOF
21843 if ac_fn_cxx_try_compile "$LINENO"; then :
21844 glibcxx_cv_func_hypot_use=yes
21845 else
21846 glibcxx_cv_func_hypot_use=no
21848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21849 ac_ext=c
21850 ac_cpp='$CPP $CPPFLAGS'
21851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21860 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21862 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21863 for ac_func in hypot
21864 do :
21865 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21866 if test "x$ac_cv_func_hypot" = x""yes; then :
21867 cat >>confdefs.h <<_ACEOF
21868 #define HAVE_HYPOT 1
21869 _ACEOF
21872 done
21874 else
21876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21877 $as_echo_n "checking for _hypot declaration... " >&6; }
21878 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21879 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21880 $as_echo_n "(cached) " >&6
21881 else
21884 ac_ext=cpp
21885 ac_cpp='$CXXCPP $CPPFLAGS'
21886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21891 /* end confdefs.h. */
21892 #include <math.h>
21894 main ()
21896 _hypot(0, 0);
21898 return 0;
21900 _ACEOF
21901 if ac_fn_cxx_try_compile "$LINENO"; then :
21902 glibcxx_cv_func__hypot_use=yes
21903 else
21904 glibcxx_cv_func__hypot_use=no
21906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21907 ac_ext=c
21908 ac_cpp='$CPP $CPPFLAGS'
21909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21918 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21920 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21921 for ac_func in _hypot
21922 do :
21923 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21924 if test "x$ac_cv_func__hypot" = x""yes; then :
21925 cat >>confdefs.h <<_ACEOF
21926 #define HAVE__HYPOT 1
21927 _ACEOF
21930 done
21939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21940 $as_echo_n "checking for float trig functions... " >&6; }
21941 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21942 $as_echo_n "(cached) " >&6
21943 else
21946 ac_ext=cpp
21947 ac_cpp='$CXXCPP $CPPFLAGS'
21948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21953 /* end confdefs.h. */
21954 #include <math.h>
21956 main ()
21958 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21960 return 0;
21962 _ACEOF
21963 if ac_fn_cxx_try_compile "$LINENO"; then :
21964 glibcxx_cv_func_float_trig_use=yes
21965 else
21966 glibcxx_cv_func_float_trig_use=no
21968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21969 ac_ext=c
21970 ac_cpp='$CPP $CPPFLAGS'
21971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21978 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21979 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21980 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21981 do :
21982 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21983 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21984 eval as_val=\$$as_ac_var
21985 if test "x$as_val" = x""yes; then :
21986 cat >>confdefs.h <<_ACEOF
21987 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21988 _ACEOF
21991 done
21993 else
21994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21995 $as_echo_n "checking for _float trig functions... " >&6; }
21996 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21997 $as_echo_n "(cached) " >&6
21998 else
22001 ac_ext=cpp
22002 ac_cpp='$CXXCPP $CPPFLAGS'
22003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22008 /* end confdefs.h. */
22009 #include <math.h>
22011 main ()
22013 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22015 return 0;
22017 _ACEOF
22018 if ac_fn_cxx_try_compile "$LINENO"; then :
22019 glibcxx_cv_func__float_trig_use=yes
22020 else
22021 glibcxx_cv_func__float_trig_use=no
22023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22024 ac_ext=c
22025 ac_cpp='$CPP $CPPFLAGS'
22026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
22033 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
22034 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22035 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22036 do :
22037 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22038 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22039 eval as_val=\$$as_ac_var
22040 if test "x$as_val" = x""yes; then :
22041 cat >>confdefs.h <<_ACEOF
22042 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22043 _ACEOF
22046 done
22055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
22056 $as_echo_n "checking for float round functions... " >&6; }
22057 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
22058 $as_echo_n "(cached) " >&6
22059 else
22062 ac_ext=cpp
22063 ac_cpp='$CXXCPP $CPPFLAGS'
22064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22069 /* end confdefs.h. */
22070 #include <math.h>
22072 main ()
22074 ceilf (0); floorf (0);
22076 return 0;
22078 _ACEOF
22079 if ac_fn_cxx_try_compile "$LINENO"; then :
22080 glibcxx_cv_func_float_round_use=yes
22081 else
22082 glibcxx_cv_func_float_round_use=no
22084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22085 ac_ext=c
22086 ac_cpp='$CPP $CPPFLAGS'
22087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
22094 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
22095 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22096 for ac_func in ceilf floorf
22097 do :
22098 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22099 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22100 eval as_val=\$$as_ac_var
22101 if test "x$as_val" = x""yes; then :
22102 cat >>confdefs.h <<_ACEOF
22103 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22104 _ACEOF
22107 done
22109 else
22110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
22111 $as_echo_n "checking for _float round functions... " >&6; }
22112 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
22113 $as_echo_n "(cached) " >&6
22114 else
22117 ac_ext=cpp
22118 ac_cpp='$CXXCPP $CPPFLAGS'
22119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22124 /* end confdefs.h. */
22125 #include <math.h>
22127 main ()
22129 _ceilf (0); _floorf (0);
22131 return 0;
22133 _ACEOF
22134 if ac_fn_cxx_try_compile "$LINENO"; then :
22135 glibcxx_cv_func__float_round_use=yes
22136 else
22137 glibcxx_cv_func__float_round_use=no
22139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22140 ac_ext=c
22141 ac_cpp='$CPP $CPPFLAGS'
22142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
22149 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
22150 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22151 for ac_func in _ceilf _floorf
22152 do :
22153 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22154 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22155 eval as_val=\$$as_ac_var
22156 if test "x$as_val" = x""yes; then :
22157 cat >>confdefs.h <<_ACEOF
22158 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22159 _ACEOF
22162 done
22172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
22173 $as_echo_n "checking for expf declaration... " >&6; }
22174 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22175 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
22176 $as_echo_n "(cached) " >&6
22177 else
22180 ac_ext=cpp
22181 ac_cpp='$CXXCPP $CPPFLAGS'
22182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22187 /* end confdefs.h. */
22188 #include <math.h>
22189 #ifdef HAVE_IEEEFP_H
22190 #include <ieeefp.h>
22191 #endif
22194 main ()
22196 expf(0);
22198 return 0;
22200 _ACEOF
22201 if ac_fn_cxx_try_compile "$LINENO"; then :
22202 glibcxx_cv_func_expf_use=yes
22203 else
22204 glibcxx_cv_func_expf_use=no
22206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22207 ac_ext=c
22208 ac_cpp='$CPP $CPPFLAGS'
22209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
22218 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
22220 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22221 for ac_func in expf
22222 do :
22223 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
22224 if test "x$ac_cv_func_expf" = x""yes; then :
22225 cat >>confdefs.h <<_ACEOF
22226 #define HAVE_EXPF 1
22227 _ACEOF
22230 done
22232 else
22234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
22235 $as_echo_n "checking for _expf declaration... " >&6; }
22236 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22237 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
22238 $as_echo_n "(cached) " >&6
22239 else
22242 ac_ext=cpp
22243 ac_cpp='$CXXCPP $CPPFLAGS'
22244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22249 /* end confdefs.h. */
22250 #include <math.h>
22251 #ifdef HAVE_IEEEFP_H
22252 #include <ieeefp.h>
22253 #endif
22256 main ()
22258 _expf(0);
22260 return 0;
22262 _ACEOF
22263 if ac_fn_cxx_try_compile "$LINENO"; then :
22264 glibcxx_cv_func__expf_use=yes
22265 else
22266 glibcxx_cv_func__expf_use=no
22268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22269 ac_ext=c
22270 ac_cpp='$CPP $CPPFLAGS'
22271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
22280 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
22282 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22283 for ac_func in _expf
22284 do :
22285 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
22286 if test "x$ac_cv_func__expf" = x""yes; then :
22287 cat >>confdefs.h <<_ACEOF
22288 #define HAVE__EXPF 1
22289 _ACEOF
22292 done
22301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
22302 $as_echo_n "checking for isnanf declaration... " >&6; }
22303 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22304 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
22305 $as_echo_n "(cached) " >&6
22306 else
22309 ac_ext=cpp
22310 ac_cpp='$CXXCPP $CPPFLAGS'
22311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22316 /* end confdefs.h. */
22317 #include <math.h>
22318 #ifdef HAVE_IEEEFP_H
22319 #include <ieeefp.h>
22320 #endif
22323 main ()
22325 isnanf(0);
22327 return 0;
22329 _ACEOF
22330 if ac_fn_cxx_try_compile "$LINENO"; then :
22331 glibcxx_cv_func_isnanf_use=yes
22332 else
22333 glibcxx_cv_func_isnanf_use=no
22335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22336 ac_ext=c
22337 ac_cpp='$CPP $CPPFLAGS'
22338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22347 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22349 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22350 for ac_func in isnanf
22351 do :
22352 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22353 if test "x$ac_cv_func_isnanf" = x""yes; then :
22354 cat >>confdefs.h <<_ACEOF
22355 #define HAVE_ISNANF 1
22356 _ACEOF
22359 done
22361 else
22363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22364 $as_echo_n "checking for _isnanf declaration... " >&6; }
22365 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22366 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22367 $as_echo_n "(cached) " >&6
22368 else
22371 ac_ext=cpp
22372 ac_cpp='$CXXCPP $CPPFLAGS'
22373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22378 /* end confdefs.h. */
22379 #include <math.h>
22380 #ifdef HAVE_IEEEFP_H
22381 #include <ieeefp.h>
22382 #endif
22385 main ()
22387 _isnanf(0);
22389 return 0;
22391 _ACEOF
22392 if ac_fn_cxx_try_compile "$LINENO"; then :
22393 glibcxx_cv_func__isnanf_use=yes
22394 else
22395 glibcxx_cv_func__isnanf_use=no
22397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22398 ac_ext=c
22399 ac_cpp='$CPP $CPPFLAGS'
22400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22409 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22411 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22412 for ac_func in _isnanf
22413 do :
22414 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22415 if test "x$ac_cv_func__isnanf" = x""yes; then :
22416 cat >>confdefs.h <<_ACEOF
22417 #define HAVE__ISNANF 1
22418 _ACEOF
22421 done
22430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22431 $as_echo_n "checking for isinff declaration... " >&6; }
22432 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22433 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22434 $as_echo_n "(cached) " >&6
22435 else
22438 ac_ext=cpp
22439 ac_cpp='$CXXCPP $CPPFLAGS'
22440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22445 /* end confdefs.h. */
22446 #include <math.h>
22447 #ifdef HAVE_IEEEFP_H
22448 #include <ieeefp.h>
22449 #endif
22452 main ()
22454 isinff(0);
22456 return 0;
22458 _ACEOF
22459 if ac_fn_cxx_try_compile "$LINENO"; then :
22460 glibcxx_cv_func_isinff_use=yes
22461 else
22462 glibcxx_cv_func_isinff_use=no
22464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22465 ac_ext=c
22466 ac_cpp='$CPP $CPPFLAGS'
22467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22476 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22478 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22479 for ac_func in isinff
22480 do :
22481 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22482 if test "x$ac_cv_func_isinff" = x""yes; then :
22483 cat >>confdefs.h <<_ACEOF
22484 #define HAVE_ISINFF 1
22485 _ACEOF
22488 done
22490 else
22492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22493 $as_echo_n "checking for _isinff declaration... " >&6; }
22494 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22495 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22496 $as_echo_n "(cached) " >&6
22497 else
22500 ac_ext=cpp
22501 ac_cpp='$CXXCPP $CPPFLAGS'
22502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22507 /* end confdefs.h. */
22508 #include <math.h>
22509 #ifdef HAVE_IEEEFP_H
22510 #include <ieeefp.h>
22511 #endif
22514 main ()
22516 _isinff(0);
22518 return 0;
22520 _ACEOF
22521 if ac_fn_cxx_try_compile "$LINENO"; then :
22522 glibcxx_cv_func__isinff_use=yes
22523 else
22524 glibcxx_cv_func__isinff_use=no
22526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22527 ac_ext=c
22528 ac_cpp='$CPP $CPPFLAGS'
22529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22538 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22540 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22541 for ac_func in _isinff
22542 do :
22543 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22544 if test "x$ac_cv_func__isinff" = x""yes; then :
22545 cat >>confdefs.h <<_ACEOF
22546 #define HAVE__ISINFF 1
22547 _ACEOF
22550 done
22559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22560 $as_echo_n "checking for atan2f declaration... " >&6; }
22561 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22562 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22563 $as_echo_n "(cached) " >&6
22564 else
22567 ac_ext=cpp
22568 ac_cpp='$CXXCPP $CPPFLAGS'
22569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22574 /* end confdefs.h. */
22575 #include <math.h>
22577 main ()
22579 atan2f(0, 0);
22581 return 0;
22583 _ACEOF
22584 if ac_fn_cxx_try_compile "$LINENO"; then :
22585 glibcxx_cv_func_atan2f_use=yes
22586 else
22587 glibcxx_cv_func_atan2f_use=no
22589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22590 ac_ext=c
22591 ac_cpp='$CPP $CPPFLAGS'
22592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22601 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22603 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22604 for ac_func in atan2f
22605 do :
22606 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22607 if test "x$ac_cv_func_atan2f" = x""yes; then :
22608 cat >>confdefs.h <<_ACEOF
22609 #define HAVE_ATAN2F 1
22610 _ACEOF
22613 done
22615 else
22617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22618 $as_echo_n "checking for _atan2f declaration... " >&6; }
22619 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22620 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22621 $as_echo_n "(cached) " >&6
22622 else
22625 ac_ext=cpp
22626 ac_cpp='$CXXCPP $CPPFLAGS'
22627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22632 /* end confdefs.h. */
22633 #include <math.h>
22635 main ()
22637 _atan2f(0, 0);
22639 return 0;
22641 _ACEOF
22642 if ac_fn_cxx_try_compile "$LINENO"; then :
22643 glibcxx_cv_func__atan2f_use=yes
22644 else
22645 glibcxx_cv_func__atan2f_use=no
22647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22648 ac_ext=c
22649 ac_cpp='$CPP $CPPFLAGS'
22650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22659 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22661 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22662 for ac_func in _atan2f
22663 do :
22664 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22665 if test "x$ac_cv_func__atan2f" = x""yes; then :
22666 cat >>confdefs.h <<_ACEOF
22667 #define HAVE__ATAN2F 1
22668 _ACEOF
22671 done
22680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22681 $as_echo_n "checking for fabsf declaration... " >&6; }
22682 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22683 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22684 $as_echo_n "(cached) " >&6
22685 else
22688 ac_ext=cpp
22689 ac_cpp='$CXXCPP $CPPFLAGS'
22690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22695 /* end confdefs.h. */
22696 #include <math.h>
22697 #ifdef HAVE_IEEEFP_H
22698 #include <ieeefp.h>
22699 #endif
22702 main ()
22704 fabsf(0);
22706 return 0;
22708 _ACEOF
22709 if ac_fn_cxx_try_compile "$LINENO"; then :
22710 glibcxx_cv_func_fabsf_use=yes
22711 else
22712 glibcxx_cv_func_fabsf_use=no
22714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22715 ac_ext=c
22716 ac_cpp='$CPP $CPPFLAGS'
22717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22726 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22728 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22729 for ac_func in fabsf
22730 do :
22731 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22732 if test "x$ac_cv_func_fabsf" = x""yes; then :
22733 cat >>confdefs.h <<_ACEOF
22734 #define HAVE_FABSF 1
22735 _ACEOF
22738 done
22740 else
22742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22743 $as_echo_n "checking for _fabsf declaration... " >&6; }
22744 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22745 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22746 $as_echo_n "(cached) " >&6
22747 else
22750 ac_ext=cpp
22751 ac_cpp='$CXXCPP $CPPFLAGS'
22752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22757 /* end confdefs.h. */
22758 #include <math.h>
22759 #ifdef HAVE_IEEEFP_H
22760 #include <ieeefp.h>
22761 #endif
22764 main ()
22766 _fabsf(0);
22768 return 0;
22770 _ACEOF
22771 if ac_fn_cxx_try_compile "$LINENO"; then :
22772 glibcxx_cv_func__fabsf_use=yes
22773 else
22774 glibcxx_cv_func__fabsf_use=no
22776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22777 ac_ext=c
22778 ac_cpp='$CPP $CPPFLAGS'
22779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22788 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22790 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22791 for ac_func in _fabsf
22792 do :
22793 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22794 if test "x$ac_cv_func__fabsf" = x""yes; then :
22795 cat >>confdefs.h <<_ACEOF
22796 #define HAVE__FABSF 1
22797 _ACEOF
22800 done
22809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22810 $as_echo_n "checking for fmodf declaration... " >&6; }
22811 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22812 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22813 $as_echo_n "(cached) " >&6
22814 else
22817 ac_ext=cpp
22818 ac_cpp='$CXXCPP $CPPFLAGS'
22819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22824 /* end confdefs.h. */
22825 #include <math.h>
22827 main ()
22829 fmodf(0, 0);
22831 return 0;
22833 _ACEOF
22834 if ac_fn_cxx_try_compile "$LINENO"; then :
22835 glibcxx_cv_func_fmodf_use=yes
22836 else
22837 glibcxx_cv_func_fmodf_use=no
22839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22840 ac_ext=c
22841 ac_cpp='$CPP $CPPFLAGS'
22842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22851 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22853 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22854 for ac_func in fmodf
22855 do :
22856 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22857 if test "x$ac_cv_func_fmodf" = x""yes; then :
22858 cat >>confdefs.h <<_ACEOF
22859 #define HAVE_FMODF 1
22860 _ACEOF
22863 done
22865 else
22867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22868 $as_echo_n "checking for _fmodf declaration... " >&6; }
22869 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22870 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22871 $as_echo_n "(cached) " >&6
22872 else
22875 ac_ext=cpp
22876 ac_cpp='$CXXCPP $CPPFLAGS'
22877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22882 /* end confdefs.h. */
22883 #include <math.h>
22885 main ()
22887 _fmodf(0, 0);
22889 return 0;
22891 _ACEOF
22892 if ac_fn_cxx_try_compile "$LINENO"; then :
22893 glibcxx_cv_func__fmodf_use=yes
22894 else
22895 glibcxx_cv_func__fmodf_use=no
22897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22898 ac_ext=c
22899 ac_cpp='$CPP $CPPFLAGS'
22900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22909 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22911 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22912 for ac_func in _fmodf
22913 do :
22914 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22915 if test "x$ac_cv_func__fmodf" = x""yes; then :
22916 cat >>confdefs.h <<_ACEOF
22917 #define HAVE__FMODF 1
22918 _ACEOF
22921 done
22930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22931 $as_echo_n "checking for frexpf declaration... " >&6; }
22932 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22933 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22934 $as_echo_n "(cached) " >&6
22935 else
22938 ac_ext=cpp
22939 ac_cpp='$CXXCPP $CPPFLAGS'
22940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22945 /* end confdefs.h. */
22946 #include <math.h>
22948 main ()
22950 frexpf(0, 0);
22952 return 0;
22954 _ACEOF
22955 if ac_fn_cxx_try_compile "$LINENO"; then :
22956 glibcxx_cv_func_frexpf_use=yes
22957 else
22958 glibcxx_cv_func_frexpf_use=no
22960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22961 ac_ext=c
22962 ac_cpp='$CPP $CPPFLAGS'
22963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22972 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22974 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22975 for ac_func in frexpf
22976 do :
22977 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22978 if test "x$ac_cv_func_frexpf" = x""yes; then :
22979 cat >>confdefs.h <<_ACEOF
22980 #define HAVE_FREXPF 1
22981 _ACEOF
22984 done
22986 else
22988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22989 $as_echo_n "checking for _frexpf declaration... " >&6; }
22990 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22991 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22992 $as_echo_n "(cached) " >&6
22993 else
22996 ac_ext=cpp
22997 ac_cpp='$CXXCPP $CPPFLAGS'
22998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23003 /* end confdefs.h. */
23004 #include <math.h>
23006 main ()
23008 _frexpf(0, 0);
23010 return 0;
23012 _ACEOF
23013 if ac_fn_cxx_try_compile "$LINENO"; then :
23014 glibcxx_cv_func__frexpf_use=yes
23015 else
23016 glibcxx_cv_func__frexpf_use=no
23018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23019 ac_ext=c
23020 ac_cpp='$CPP $CPPFLAGS'
23021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
23030 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
23032 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
23033 for ac_func in _frexpf
23034 do :
23035 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
23036 if test "x$ac_cv_func__frexpf" = x""yes; then :
23037 cat >>confdefs.h <<_ACEOF
23038 #define HAVE__FREXPF 1
23039 _ACEOF
23042 done
23051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
23052 $as_echo_n "checking for hypotf declaration... " >&6; }
23053 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
23054 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
23055 $as_echo_n "(cached) " >&6
23056 else
23059 ac_ext=cpp
23060 ac_cpp='$CXXCPP $CPPFLAGS'
23061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23066 /* end confdefs.h. */
23067 #include <math.h>
23069 main ()
23071 hypotf(0, 0);
23073 return 0;
23075 _ACEOF
23076 if ac_fn_cxx_try_compile "$LINENO"; then :
23077 glibcxx_cv_func_hypotf_use=yes
23078 else
23079 glibcxx_cv_func_hypotf_use=no
23081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23082 ac_ext=c
23083 ac_cpp='$CPP $CPPFLAGS'
23084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
23093 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
23095 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
23096 for ac_func in hypotf
23097 do :
23098 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
23099 if test "x$ac_cv_func_hypotf" = x""yes; then :
23100 cat >>confdefs.h <<_ACEOF
23101 #define HAVE_HYPOTF 1
23102 _ACEOF
23105 done
23107 else
23109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
23110 $as_echo_n "checking for _hypotf declaration... " >&6; }
23111 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
23112 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
23113 $as_echo_n "(cached) " >&6
23114 else
23117 ac_ext=cpp
23118 ac_cpp='$CXXCPP $CPPFLAGS'
23119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23124 /* end confdefs.h. */
23125 #include <math.h>
23127 main ()
23129 _hypotf(0, 0);
23131 return 0;
23133 _ACEOF
23134 if ac_fn_cxx_try_compile "$LINENO"; then :
23135 glibcxx_cv_func__hypotf_use=yes
23136 else
23137 glibcxx_cv_func__hypotf_use=no
23139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23140 ac_ext=c
23141 ac_cpp='$CPP $CPPFLAGS'
23142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
23151 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
23153 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
23154 for ac_func in _hypotf
23155 do :
23156 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
23157 if test "x$ac_cv_func__hypotf" = x""yes; then :
23158 cat >>confdefs.h <<_ACEOF
23159 #define HAVE__HYPOTF 1
23160 _ACEOF
23163 done
23172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
23173 $as_echo_n "checking for ldexpf declaration... " >&6; }
23174 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
23175 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
23176 $as_echo_n "(cached) " >&6
23177 else
23180 ac_ext=cpp
23181 ac_cpp='$CXXCPP $CPPFLAGS'
23182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23187 /* end confdefs.h. */
23188 #include <math.h>
23190 main ()
23192 ldexpf(0, 0);
23194 return 0;
23196 _ACEOF
23197 if ac_fn_cxx_try_compile "$LINENO"; then :
23198 glibcxx_cv_func_ldexpf_use=yes
23199 else
23200 glibcxx_cv_func_ldexpf_use=no
23202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23203 ac_ext=c
23204 ac_cpp='$CPP $CPPFLAGS'
23205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
23214 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
23216 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
23217 for ac_func in ldexpf
23218 do :
23219 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
23220 if test "x$ac_cv_func_ldexpf" = x""yes; then :
23221 cat >>confdefs.h <<_ACEOF
23222 #define HAVE_LDEXPF 1
23223 _ACEOF
23226 done
23228 else
23230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
23231 $as_echo_n "checking for _ldexpf declaration... " >&6; }
23232 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
23233 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
23234 $as_echo_n "(cached) " >&6
23235 else
23238 ac_ext=cpp
23239 ac_cpp='$CXXCPP $CPPFLAGS'
23240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23245 /* end confdefs.h. */
23246 #include <math.h>
23248 main ()
23250 _ldexpf(0, 0);
23252 return 0;
23254 _ACEOF
23255 if ac_fn_cxx_try_compile "$LINENO"; then :
23256 glibcxx_cv_func__ldexpf_use=yes
23257 else
23258 glibcxx_cv_func__ldexpf_use=no
23260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23261 ac_ext=c
23262 ac_cpp='$CPP $CPPFLAGS'
23263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
23272 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
23274 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
23275 for ac_func in _ldexpf
23276 do :
23277 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
23278 if test "x$ac_cv_func__ldexpf" = x""yes; then :
23279 cat >>confdefs.h <<_ACEOF
23280 #define HAVE__LDEXPF 1
23281 _ACEOF
23284 done
23293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
23294 $as_echo_n "checking for logf declaration... " >&6; }
23295 if test x${glibcxx_cv_func_logf_use+set} != xset; then
23296 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
23297 $as_echo_n "(cached) " >&6
23298 else
23301 ac_ext=cpp
23302 ac_cpp='$CXXCPP $CPPFLAGS'
23303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23308 /* end confdefs.h. */
23309 #include <math.h>
23310 #ifdef HAVE_IEEEFP_H
23311 #include <ieeefp.h>
23312 #endif
23315 main ()
23317 logf(0);
23319 return 0;
23321 _ACEOF
23322 if ac_fn_cxx_try_compile "$LINENO"; then :
23323 glibcxx_cv_func_logf_use=yes
23324 else
23325 glibcxx_cv_func_logf_use=no
23327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23328 ac_ext=c
23329 ac_cpp='$CPP $CPPFLAGS'
23330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23339 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23341 if test x$glibcxx_cv_func_logf_use = x"yes"; then
23342 for ac_func in logf
23343 do :
23344 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23345 if test "x$ac_cv_func_logf" = x""yes; then :
23346 cat >>confdefs.h <<_ACEOF
23347 #define HAVE_LOGF 1
23348 _ACEOF
23351 done
23353 else
23355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23356 $as_echo_n "checking for _logf declaration... " >&6; }
23357 if test x${glibcxx_cv_func__logf_use+set} != xset; then
23358 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23359 $as_echo_n "(cached) " >&6
23360 else
23363 ac_ext=cpp
23364 ac_cpp='$CXXCPP $CPPFLAGS'
23365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23370 /* end confdefs.h. */
23371 #include <math.h>
23372 #ifdef HAVE_IEEEFP_H
23373 #include <ieeefp.h>
23374 #endif
23377 main ()
23379 _logf(0);
23381 return 0;
23383 _ACEOF
23384 if ac_fn_cxx_try_compile "$LINENO"; then :
23385 glibcxx_cv_func__logf_use=yes
23386 else
23387 glibcxx_cv_func__logf_use=no
23389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23390 ac_ext=c
23391 ac_cpp='$CPP $CPPFLAGS'
23392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23401 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23403 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23404 for ac_func in _logf
23405 do :
23406 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23407 if test "x$ac_cv_func__logf" = x""yes; then :
23408 cat >>confdefs.h <<_ACEOF
23409 #define HAVE__LOGF 1
23410 _ACEOF
23413 done
23422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23423 $as_echo_n "checking for log10f declaration... " >&6; }
23424 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23425 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23426 $as_echo_n "(cached) " >&6
23427 else
23430 ac_ext=cpp
23431 ac_cpp='$CXXCPP $CPPFLAGS'
23432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23437 /* end confdefs.h. */
23438 #include <math.h>
23439 #ifdef HAVE_IEEEFP_H
23440 #include <ieeefp.h>
23441 #endif
23444 main ()
23446 log10f(0);
23448 return 0;
23450 _ACEOF
23451 if ac_fn_cxx_try_compile "$LINENO"; then :
23452 glibcxx_cv_func_log10f_use=yes
23453 else
23454 glibcxx_cv_func_log10f_use=no
23456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23457 ac_ext=c
23458 ac_cpp='$CPP $CPPFLAGS'
23459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23468 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23470 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23471 for ac_func in log10f
23472 do :
23473 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23474 if test "x$ac_cv_func_log10f" = x""yes; then :
23475 cat >>confdefs.h <<_ACEOF
23476 #define HAVE_LOG10F 1
23477 _ACEOF
23480 done
23482 else
23484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23485 $as_echo_n "checking for _log10f declaration... " >&6; }
23486 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23487 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23488 $as_echo_n "(cached) " >&6
23489 else
23492 ac_ext=cpp
23493 ac_cpp='$CXXCPP $CPPFLAGS'
23494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23499 /* end confdefs.h. */
23500 #include <math.h>
23501 #ifdef HAVE_IEEEFP_H
23502 #include <ieeefp.h>
23503 #endif
23506 main ()
23508 _log10f(0);
23510 return 0;
23512 _ACEOF
23513 if ac_fn_cxx_try_compile "$LINENO"; then :
23514 glibcxx_cv_func__log10f_use=yes
23515 else
23516 glibcxx_cv_func__log10f_use=no
23518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23519 ac_ext=c
23520 ac_cpp='$CPP $CPPFLAGS'
23521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23530 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23532 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23533 for ac_func in _log10f
23534 do :
23535 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23536 if test "x$ac_cv_func__log10f" = x""yes; then :
23537 cat >>confdefs.h <<_ACEOF
23538 #define HAVE__LOG10F 1
23539 _ACEOF
23542 done
23551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23552 $as_echo_n "checking for modff declaration... " >&6; }
23553 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23554 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23555 $as_echo_n "(cached) " >&6
23556 else
23559 ac_ext=cpp
23560 ac_cpp='$CXXCPP $CPPFLAGS'
23561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23566 /* end confdefs.h. */
23567 #include <math.h>
23569 main ()
23571 modff(0, 0);
23573 return 0;
23575 _ACEOF
23576 if ac_fn_cxx_try_compile "$LINENO"; then :
23577 glibcxx_cv_func_modff_use=yes
23578 else
23579 glibcxx_cv_func_modff_use=no
23581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23582 ac_ext=c
23583 ac_cpp='$CPP $CPPFLAGS'
23584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23593 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23595 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23596 for ac_func in modff
23597 do :
23598 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23599 if test "x$ac_cv_func_modff" = x""yes; then :
23600 cat >>confdefs.h <<_ACEOF
23601 #define HAVE_MODFF 1
23602 _ACEOF
23605 done
23607 else
23609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23610 $as_echo_n "checking for _modff declaration... " >&6; }
23611 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23612 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23613 $as_echo_n "(cached) " >&6
23614 else
23617 ac_ext=cpp
23618 ac_cpp='$CXXCPP $CPPFLAGS'
23619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23624 /* end confdefs.h. */
23625 #include <math.h>
23627 main ()
23629 _modff(0, 0);
23631 return 0;
23633 _ACEOF
23634 if ac_fn_cxx_try_compile "$LINENO"; then :
23635 glibcxx_cv_func__modff_use=yes
23636 else
23637 glibcxx_cv_func__modff_use=no
23639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23640 ac_ext=c
23641 ac_cpp='$CPP $CPPFLAGS'
23642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23651 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23653 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23654 for ac_func in _modff
23655 do :
23656 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23657 if test "x$ac_cv_func__modff" = x""yes; then :
23658 cat >>confdefs.h <<_ACEOF
23659 #define HAVE__MODFF 1
23660 _ACEOF
23663 done
23672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23673 $as_echo_n "checking for modf declaration... " >&6; }
23674 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23675 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23676 $as_echo_n "(cached) " >&6
23677 else
23680 ac_ext=cpp
23681 ac_cpp='$CXXCPP $CPPFLAGS'
23682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23687 /* end confdefs.h. */
23688 #include <math.h>
23690 main ()
23692 modf(0, 0);
23694 return 0;
23696 _ACEOF
23697 if ac_fn_cxx_try_compile "$LINENO"; then :
23698 glibcxx_cv_func_modf_use=yes
23699 else
23700 glibcxx_cv_func_modf_use=no
23702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23703 ac_ext=c
23704 ac_cpp='$CPP $CPPFLAGS'
23705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23714 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23716 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23717 for ac_func in modf
23718 do :
23719 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23720 if test "x$ac_cv_func_modf" = x""yes; then :
23721 cat >>confdefs.h <<_ACEOF
23722 #define HAVE_MODF 1
23723 _ACEOF
23726 done
23728 else
23730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23731 $as_echo_n "checking for _modf declaration... " >&6; }
23732 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23733 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23734 $as_echo_n "(cached) " >&6
23735 else
23738 ac_ext=cpp
23739 ac_cpp='$CXXCPP $CPPFLAGS'
23740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23745 /* end confdefs.h. */
23746 #include <math.h>
23748 main ()
23750 _modf(0, 0);
23752 return 0;
23754 _ACEOF
23755 if ac_fn_cxx_try_compile "$LINENO"; then :
23756 glibcxx_cv_func__modf_use=yes
23757 else
23758 glibcxx_cv_func__modf_use=no
23760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23761 ac_ext=c
23762 ac_cpp='$CPP $CPPFLAGS'
23763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23772 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23774 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23775 for ac_func in _modf
23776 do :
23777 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23778 if test "x$ac_cv_func__modf" = x""yes; then :
23779 cat >>confdefs.h <<_ACEOF
23780 #define HAVE__MODF 1
23781 _ACEOF
23784 done
23793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23794 $as_echo_n "checking for powf declaration... " >&6; }
23795 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23796 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23797 $as_echo_n "(cached) " >&6
23798 else
23801 ac_ext=cpp
23802 ac_cpp='$CXXCPP $CPPFLAGS'
23803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23808 /* end confdefs.h. */
23809 #include <math.h>
23811 main ()
23813 powf(0, 0);
23815 return 0;
23817 _ACEOF
23818 if ac_fn_cxx_try_compile "$LINENO"; then :
23819 glibcxx_cv_func_powf_use=yes
23820 else
23821 glibcxx_cv_func_powf_use=no
23823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23824 ac_ext=c
23825 ac_cpp='$CPP $CPPFLAGS'
23826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23835 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23837 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23838 for ac_func in powf
23839 do :
23840 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23841 if test "x$ac_cv_func_powf" = x""yes; then :
23842 cat >>confdefs.h <<_ACEOF
23843 #define HAVE_POWF 1
23844 _ACEOF
23847 done
23849 else
23851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23852 $as_echo_n "checking for _powf declaration... " >&6; }
23853 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23854 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23855 $as_echo_n "(cached) " >&6
23856 else
23859 ac_ext=cpp
23860 ac_cpp='$CXXCPP $CPPFLAGS'
23861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23866 /* end confdefs.h. */
23867 #include <math.h>
23869 main ()
23871 _powf(0, 0);
23873 return 0;
23875 _ACEOF
23876 if ac_fn_cxx_try_compile "$LINENO"; then :
23877 glibcxx_cv_func__powf_use=yes
23878 else
23879 glibcxx_cv_func__powf_use=no
23881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23882 ac_ext=c
23883 ac_cpp='$CPP $CPPFLAGS'
23884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23893 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23895 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23896 for ac_func in _powf
23897 do :
23898 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23899 if test "x$ac_cv_func__powf" = x""yes; then :
23900 cat >>confdefs.h <<_ACEOF
23901 #define HAVE__POWF 1
23902 _ACEOF
23905 done
23914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23915 $as_echo_n "checking for sqrtf declaration... " >&6; }
23916 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23917 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23918 $as_echo_n "(cached) " >&6
23919 else
23922 ac_ext=cpp
23923 ac_cpp='$CXXCPP $CPPFLAGS'
23924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23929 /* end confdefs.h. */
23930 #include <math.h>
23931 #ifdef HAVE_IEEEFP_H
23932 #include <ieeefp.h>
23933 #endif
23936 main ()
23938 sqrtf(0);
23940 return 0;
23942 _ACEOF
23943 if ac_fn_cxx_try_compile "$LINENO"; then :
23944 glibcxx_cv_func_sqrtf_use=yes
23945 else
23946 glibcxx_cv_func_sqrtf_use=no
23948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23949 ac_ext=c
23950 ac_cpp='$CPP $CPPFLAGS'
23951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23960 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23962 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23963 for ac_func in sqrtf
23964 do :
23965 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23966 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23967 cat >>confdefs.h <<_ACEOF
23968 #define HAVE_SQRTF 1
23969 _ACEOF
23972 done
23974 else
23976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23977 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23978 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23979 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23980 $as_echo_n "(cached) " >&6
23981 else
23984 ac_ext=cpp
23985 ac_cpp='$CXXCPP $CPPFLAGS'
23986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23991 /* end confdefs.h. */
23992 #include <math.h>
23993 #ifdef HAVE_IEEEFP_H
23994 #include <ieeefp.h>
23995 #endif
23998 main ()
24000 _sqrtf(0);
24002 return 0;
24004 _ACEOF
24005 if ac_fn_cxx_try_compile "$LINENO"; then :
24006 glibcxx_cv_func__sqrtf_use=yes
24007 else
24008 glibcxx_cv_func__sqrtf_use=no
24010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24011 ac_ext=c
24012 ac_cpp='$CPP $CPPFLAGS'
24013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
24022 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
24024 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
24025 for ac_func in _sqrtf
24026 do :
24027 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
24028 if test "x$ac_cv_func__sqrtf" = x""yes; then :
24029 cat >>confdefs.h <<_ACEOF
24030 #define HAVE__SQRTF 1
24031 _ACEOF
24034 done
24043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
24044 $as_echo_n "checking for sincosf declaration... " >&6; }
24045 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
24046 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
24047 $as_echo_n "(cached) " >&6
24048 else
24051 ac_ext=cpp
24052 ac_cpp='$CXXCPP $CPPFLAGS'
24053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24058 /* end confdefs.h. */
24059 #include <math.h>
24061 main ()
24063 sincosf(0, 0, 0);
24065 return 0;
24067 _ACEOF
24068 if ac_fn_cxx_try_compile "$LINENO"; then :
24069 glibcxx_cv_func_sincosf_use=yes
24070 else
24071 glibcxx_cv_func_sincosf_use=no
24073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24074 ac_ext=c
24075 ac_cpp='$CPP $CPPFLAGS'
24076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
24085 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
24087 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
24088 for ac_func in sincosf
24089 do :
24090 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
24091 if test "x$ac_cv_func_sincosf" = x""yes; then :
24092 cat >>confdefs.h <<_ACEOF
24093 #define HAVE_SINCOSF 1
24094 _ACEOF
24097 done
24099 else
24101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
24102 $as_echo_n "checking for _sincosf declaration... " >&6; }
24103 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
24104 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
24105 $as_echo_n "(cached) " >&6
24106 else
24109 ac_ext=cpp
24110 ac_cpp='$CXXCPP $CPPFLAGS'
24111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24116 /* end confdefs.h. */
24117 #include <math.h>
24119 main ()
24121 _sincosf(0, 0, 0);
24123 return 0;
24125 _ACEOF
24126 if ac_fn_cxx_try_compile "$LINENO"; then :
24127 glibcxx_cv_func__sincosf_use=yes
24128 else
24129 glibcxx_cv_func__sincosf_use=no
24131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24132 ac_ext=c
24133 ac_cpp='$CPP $CPPFLAGS'
24134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
24143 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
24145 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
24146 for ac_func in _sincosf
24147 do :
24148 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
24149 if test "x$ac_cv_func__sincosf" = x""yes; then :
24150 cat >>confdefs.h <<_ACEOF
24151 #define HAVE__SINCOSF 1
24152 _ACEOF
24155 done
24164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
24165 $as_echo_n "checking for finitef declaration... " >&6; }
24166 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
24167 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
24168 $as_echo_n "(cached) " >&6
24169 else
24172 ac_ext=cpp
24173 ac_cpp='$CXXCPP $CPPFLAGS'
24174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24179 /* end confdefs.h. */
24180 #include <math.h>
24181 #ifdef HAVE_IEEEFP_H
24182 #include <ieeefp.h>
24183 #endif
24186 main ()
24188 finitef(0);
24190 return 0;
24192 _ACEOF
24193 if ac_fn_cxx_try_compile "$LINENO"; then :
24194 glibcxx_cv_func_finitef_use=yes
24195 else
24196 glibcxx_cv_func_finitef_use=no
24198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24199 ac_ext=c
24200 ac_cpp='$CPP $CPPFLAGS'
24201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
24210 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
24212 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
24213 for ac_func in finitef
24214 do :
24215 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
24216 if test "x$ac_cv_func_finitef" = x""yes; then :
24217 cat >>confdefs.h <<_ACEOF
24218 #define HAVE_FINITEF 1
24219 _ACEOF
24222 done
24224 else
24226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
24227 $as_echo_n "checking for _finitef declaration... " >&6; }
24228 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
24229 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
24230 $as_echo_n "(cached) " >&6
24231 else
24234 ac_ext=cpp
24235 ac_cpp='$CXXCPP $CPPFLAGS'
24236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24241 /* end confdefs.h. */
24242 #include <math.h>
24243 #ifdef HAVE_IEEEFP_H
24244 #include <ieeefp.h>
24245 #endif
24248 main ()
24250 _finitef(0);
24252 return 0;
24254 _ACEOF
24255 if ac_fn_cxx_try_compile "$LINENO"; then :
24256 glibcxx_cv_func__finitef_use=yes
24257 else
24258 glibcxx_cv_func__finitef_use=no
24260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24261 ac_ext=c
24262 ac_cpp='$CPP $CPPFLAGS'
24263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
24272 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
24274 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
24275 for ac_func in _finitef
24276 do :
24277 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
24278 if test "x$ac_cv_func__finitef" = x""yes; then :
24279 cat >>confdefs.h <<_ACEOF
24280 #define HAVE__FINITEF 1
24281 _ACEOF
24284 done
24293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
24294 $as_echo_n "checking for long double trig functions... " >&6; }
24295 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
24296 $as_echo_n "(cached) " >&6
24297 else
24300 ac_ext=cpp
24301 ac_cpp='$CXXCPP $CPPFLAGS'
24302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24307 /* end confdefs.h. */
24308 #include <math.h>
24310 main ()
24312 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
24314 return 0;
24316 _ACEOF
24317 if ac_fn_cxx_try_compile "$LINENO"; then :
24318 glibcxx_cv_func_long_double_trig_use=yes
24319 else
24320 glibcxx_cv_func_long_double_trig_use=no
24322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24323 ac_ext=c
24324 ac_cpp='$CPP $CPPFLAGS'
24325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24332 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24333 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24334 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24335 do :
24336 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24337 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24338 eval as_val=\$$as_ac_var
24339 if test "x$as_val" = x""yes; then :
24340 cat >>confdefs.h <<_ACEOF
24341 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24342 _ACEOF
24345 done
24347 else
24348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24349 $as_echo_n "checking for _long double trig functions... " >&6; }
24350 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24351 $as_echo_n "(cached) " >&6
24352 else
24355 ac_ext=cpp
24356 ac_cpp='$CXXCPP $CPPFLAGS'
24357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24362 /* end confdefs.h. */
24363 #include <math.h>
24365 main ()
24367 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24369 return 0;
24371 _ACEOF
24372 if ac_fn_cxx_try_compile "$LINENO"; then :
24373 glibcxx_cv_func__long_double_trig_use=yes
24374 else
24375 glibcxx_cv_func__long_double_trig_use=no
24377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24378 ac_ext=c
24379 ac_cpp='$CPP $CPPFLAGS'
24380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24387 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24388 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24389 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24390 do :
24391 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24392 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24393 eval as_val=\$$as_ac_var
24394 if test "x$as_val" = x""yes; then :
24395 cat >>confdefs.h <<_ACEOF
24396 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24397 _ACEOF
24400 done
24409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24410 $as_echo_n "checking for long double round functions... " >&6; }
24411 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24412 $as_echo_n "(cached) " >&6
24413 else
24416 ac_ext=cpp
24417 ac_cpp='$CXXCPP $CPPFLAGS'
24418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24423 /* end confdefs.h. */
24424 #include <math.h>
24426 main ()
24428 ceill (0); floorl (0);
24430 return 0;
24432 _ACEOF
24433 if ac_fn_cxx_try_compile "$LINENO"; then :
24434 glibcxx_cv_func_long_double_round_use=yes
24435 else
24436 glibcxx_cv_func_long_double_round_use=no
24438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24439 ac_ext=c
24440 ac_cpp='$CPP $CPPFLAGS'
24441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24448 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24449 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24450 for ac_func in ceill floorl
24451 do :
24452 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24453 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24454 eval as_val=\$$as_ac_var
24455 if test "x$as_val" = x""yes; then :
24456 cat >>confdefs.h <<_ACEOF
24457 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24458 _ACEOF
24461 done
24463 else
24464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24465 $as_echo_n "checking for _long double round functions... " >&6; }
24466 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24467 $as_echo_n "(cached) " >&6
24468 else
24471 ac_ext=cpp
24472 ac_cpp='$CXXCPP $CPPFLAGS'
24473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24478 /* end confdefs.h. */
24479 #include <math.h>
24481 main ()
24483 _ceill (0); _floorl (0);
24485 return 0;
24487 _ACEOF
24488 if ac_fn_cxx_try_compile "$LINENO"; then :
24489 glibcxx_cv_func__long_double_round_use=yes
24490 else
24491 glibcxx_cv_func__long_double_round_use=no
24493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24494 ac_ext=c
24495 ac_cpp='$CPP $CPPFLAGS'
24496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24503 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24504 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24505 for ac_func in _ceill _floorl
24506 do :
24507 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24508 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24509 eval as_val=\$$as_ac_var
24510 if test "x$as_val" = x""yes; then :
24511 cat >>confdefs.h <<_ACEOF
24512 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24513 _ACEOF
24516 done
24526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24527 $as_echo_n "checking for isnanl declaration... " >&6; }
24528 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24529 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24530 $as_echo_n "(cached) " >&6
24531 else
24534 ac_ext=cpp
24535 ac_cpp='$CXXCPP $CPPFLAGS'
24536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24541 /* end confdefs.h. */
24542 #include <math.h>
24543 #ifdef HAVE_IEEEFP_H
24544 #include <ieeefp.h>
24545 #endif
24548 main ()
24550 isnanl(0);
24552 return 0;
24554 _ACEOF
24555 if ac_fn_cxx_try_compile "$LINENO"; then :
24556 glibcxx_cv_func_isnanl_use=yes
24557 else
24558 glibcxx_cv_func_isnanl_use=no
24560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24561 ac_ext=c
24562 ac_cpp='$CPP $CPPFLAGS'
24563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24572 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24574 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24575 for ac_func in isnanl
24576 do :
24577 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24578 if test "x$ac_cv_func_isnanl" = x""yes; then :
24579 cat >>confdefs.h <<_ACEOF
24580 #define HAVE_ISNANL 1
24581 _ACEOF
24584 done
24586 else
24588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24589 $as_echo_n "checking for _isnanl declaration... " >&6; }
24590 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24591 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24592 $as_echo_n "(cached) " >&6
24593 else
24596 ac_ext=cpp
24597 ac_cpp='$CXXCPP $CPPFLAGS'
24598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24603 /* end confdefs.h. */
24604 #include <math.h>
24605 #ifdef HAVE_IEEEFP_H
24606 #include <ieeefp.h>
24607 #endif
24610 main ()
24612 _isnanl(0);
24614 return 0;
24616 _ACEOF
24617 if ac_fn_cxx_try_compile "$LINENO"; then :
24618 glibcxx_cv_func__isnanl_use=yes
24619 else
24620 glibcxx_cv_func__isnanl_use=no
24622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24623 ac_ext=c
24624 ac_cpp='$CPP $CPPFLAGS'
24625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24634 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24636 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24637 for ac_func in _isnanl
24638 do :
24639 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24640 if test "x$ac_cv_func__isnanl" = x""yes; then :
24641 cat >>confdefs.h <<_ACEOF
24642 #define HAVE__ISNANL 1
24643 _ACEOF
24646 done
24655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24656 $as_echo_n "checking for isinfl declaration... " >&6; }
24657 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24658 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24659 $as_echo_n "(cached) " >&6
24660 else
24663 ac_ext=cpp
24664 ac_cpp='$CXXCPP $CPPFLAGS'
24665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24670 /* end confdefs.h. */
24671 #include <math.h>
24672 #ifdef HAVE_IEEEFP_H
24673 #include <ieeefp.h>
24674 #endif
24677 main ()
24679 isinfl(0);
24681 return 0;
24683 _ACEOF
24684 if ac_fn_cxx_try_compile "$LINENO"; then :
24685 glibcxx_cv_func_isinfl_use=yes
24686 else
24687 glibcxx_cv_func_isinfl_use=no
24689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24690 ac_ext=c
24691 ac_cpp='$CPP $CPPFLAGS'
24692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24701 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24703 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24704 for ac_func in isinfl
24705 do :
24706 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24707 if test "x$ac_cv_func_isinfl" = x""yes; then :
24708 cat >>confdefs.h <<_ACEOF
24709 #define HAVE_ISINFL 1
24710 _ACEOF
24713 done
24715 else
24717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24718 $as_echo_n "checking for _isinfl declaration... " >&6; }
24719 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24720 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24721 $as_echo_n "(cached) " >&6
24722 else
24725 ac_ext=cpp
24726 ac_cpp='$CXXCPP $CPPFLAGS'
24727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24732 /* end confdefs.h. */
24733 #include <math.h>
24734 #ifdef HAVE_IEEEFP_H
24735 #include <ieeefp.h>
24736 #endif
24739 main ()
24741 _isinfl(0);
24743 return 0;
24745 _ACEOF
24746 if ac_fn_cxx_try_compile "$LINENO"; then :
24747 glibcxx_cv_func__isinfl_use=yes
24748 else
24749 glibcxx_cv_func__isinfl_use=no
24751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24752 ac_ext=c
24753 ac_cpp='$CPP $CPPFLAGS'
24754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24763 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24765 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24766 for ac_func in _isinfl
24767 do :
24768 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24769 if test "x$ac_cv_func__isinfl" = x""yes; then :
24770 cat >>confdefs.h <<_ACEOF
24771 #define HAVE__ISINFL 1
24772 _ACEOF
24775 done
24784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24785 $as_echo_n "checking for atan2l declaration... " >&6; }
24786 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24787 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24788 $as_echo_n "(cached) " >&6
24789 else
24792 ac_ext=cpp
24793 ac_cpp='$CXXCPP $CPPFLAGS'
24794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24799 /* end confdefs.h. */
24800 #include <math.h>
24802 main ()
24804 atan2l(0, 0);
24806 return 0;
24808 _ACEOF
24809 if ac_fn_cxx_try_compile "$LINENO"; then :
24810 glibcxx_cv_func_atan2l_use=yes
24811 else
24812 glibcxx_cv_func_atan2l_use=no
24814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24815 ac_ext=c
24816 ac_cpp='$CPP $CPPFLAGS'
24817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24826 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24828 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24829 for ac_func in atan2l
24830 do :
24831 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24832 if test "x$ac_cv_func_atan2l" = x""yes; then :
24833 cat >>confdefs.h <<_ACEOF
24834 #define HAVE_ATAN2L 1
24835 _ACEOF
24838 done
24840 else
24842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24843 $as_echo_n "checking for _atan2l declaration... " >&6; }
24844 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24845 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24846 $as_echo_n "(cached) " >&6
24847 else
24850 ac_ext=cpp
24851 ac_cpp='$CXXCPP $CPPFLAGS'
24852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24857 /* end confdefs.h. */
24858 #include <math.h>
24860 main ()
24862 _atan2l(0, 0);
24864 return 0;
24866 _ACEOF
24867 if ac_fn_cxx_try_compile "$LINENO"; then :
24868 glibcxx_cv_func__atan2l_use=yes
24869 else
24870 glibcxx_cv_func__atan2l_use=no
24872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24873 ac_ext=c
24874 ac_cpp='$CPP $CPPFLAGS'
24875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24884 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24886 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24887 for ac_func in _atan2l
24888 do :
24889 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24890 if test "x$ac_cv_func__atan2l" = x""yes; then :
24891 cat >>confdefs.h <<_ACEOF
24892 #define HAVE__ATAN2L 1
24893 _ACEOF
24896 done
24905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24906 $as_echo_n "checking for expl declaration... " >&6; }
24907 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24908 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24909 $as_echo_n "(cached) " >&6
24910 else
24913 ac_ext=cpp
24914 ac_cpp='$CXXCPP $CPPFLAGS'
24915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24920 /* end confdefs.h. */
24921 #include <math.h>
24922 #ifdef HAVE_IEEEFP_H
24923 #include <ieeefp.h>
24924 #endif
24927 main ()
24929 expl(0);
24931 return 0;
24933 _ACEOF
24934 if ac_fn_cxx_try_compile "$LINENO"; then :
24935 glibcxx_cv_func_expl_use=yes
24936 else
24937 glibcxx_cv_func_expl_use=no
24939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24940 ac_ext=c
24941 ac_cpp='$CPP $CPPFLAGS'
24942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24951 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24953 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24954 for ac_func in expl
24955 do :
24956 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24957 if test "x$ac_cv_func_expl" = x""yes; then :
24958 cat >>confdefs.h <<_ACEOF
24959 #define HAVE_EXPL 1
24960 _ACEOF
24963 done
24965 else
24967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24968 $as_echo_n "checking for _expl declaration... " >&6; }
24969 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24970 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24971 $as_echo_n "(cached) " >&6
24972 else
24975 ac_ext=cpp
24976 ac_cpp='$CXXCPP $CPPFLAGS'
24977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24982 /* end confdefs.h. */
24983 #include <math.h>
24984 #ifdef HAVE_IEEEFP_H
24985 #include <ieeefp.h>
24986 #endif
24989 main ()
24991 _expl(0);
24993 return 0;
24995 _ACEOF
24996 if ac_fn_cxx_try_compile "$LINENO"; then :
24997 glibcxx_cv_func__expl_use=yes
24998 else
24999 glibcxx_cv_func__expl_use=no
25001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25002 ac_ext=c
25003 ac_cpp='$CPP $CPPFLAGS'
25004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
25013 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
25015 if test x$glibcxx_cv_func__expl_use = x"yes"; then
25016 for ac_func in _expl
25017 do :
25018 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
25019 if test "x$ac_cv_func__expl" = x""yes; then :
25020 cat >>confdefs.h <<_ACEOF
25021 #define HAVE__EXPL 1
25022 _ACEOF
25025 done
25034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
25035 $as_echo_n "checking for fabsl declaration... " >&6; }
25036 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
25037 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
25038 $as_echo_n "(cached) " >&6
25039 else
25042 ac_ext=cpp
25043 ac_cpp='$CXXCPP $CPPFLAGS'
25044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25049 /* end confdefs.h. */
25050 #include <math.h>
25051 #ifdef HAVE_IEEEFP_H
25052 #include <ieeefp.h>
25053 #endif
25056 main ()
25058 fabsl(0);
25060 return 0;
25062 _ACEOF
25063 if ac_fn_cxx_try_compile "$LINENO"; then :
25064 glibcxx_cv_func_fabsl_use=yes
25065 else
25066 glibcxx_cv_func_fabsl_use=no
25068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25069 ac_ext=c
25070 ac_cpp='$CPP $CPPFLAGS'
25071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
25080 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
25082 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
25083 for ac_func in fabsl
25084 do :
25085 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
25086 if test "x$ac_cv_func_fabsl" = x""yes; then :
25087 cat >>confdefs.h <<_ACEOF
25088 #define HAVE_FABSL 1
25089 _ACEOF
25092 done
25094 else
25096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
25097 $as_echo_n "checking for _fabsl declaration... " >&6; }
25098 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
25099 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
25100 $as_echo_n "(cached) " >&6
25101 else
25104 ac_ext=cpp
25105 ac_cpp='$CXXCPP $CPPFLAGS'
25106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25111 /* end confdefs.h. */
25112 #include <math.h>
25113 #ifdef HAVE_IEEEFP_H
25114 #include <ieeefp.h>
25115 #endif
25118 main ()
25120 _fabsl(0);
25122 return 0;
25124 _ACEOF
25125 if ac_fn_cxx_try_compile "$LINENO"; then :
25126 glibcxx_cv_func__fabsl_use=yes
25127 else
25128 glibcxx_cv_func__fabsl_use=no
25130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25131 ac_ext=c
25132 ac_cpp='$CPP $CPPFLAGS'
25133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
25142 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
25144 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
25145 for ac_func in _fabsl
25146 do :
25147 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
25148 if test "x$ac_cv_func__fabsl" = x""yes; then :
25149 cat >>confdefs.h <<_ACEOF
25150 #define HAVE__FABSL 1
25151 _ACEOF
25154 done
25163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
25164 $as_echo_n "checking for fmodl declaration... " >&6; }
25165 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
25166 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
25167 $as_echo_n "(cached) " >&6
25168 else
25171 ac_ext=cpp
25172 ac_cpp='$CXXCPP $CPPFLAGS'
25173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25178 /* end confdefs.h. */
25179 #include <math.h>
25181 main ()
25183 fmodl(0, 0);
25185 return 0;
25187 _ACEOF
25188 if ac_fn_cxx_try_compile "$LINENO"; then :
25189 glibcxx_cv_func_fmodl_use=yes
25190 else
25191 glibcxx_cv_func_fmodl_use=no
25193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25194 ac_ext=c
25195 ac_cpp='$CPP $CPPFLAGS'
25196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
25205 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
25207 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
25208 for ac_func in fmodl
25209 do :
25210 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
25211 if test "x$ac_cv_func_fmodl" = x""yes; then :
25212 cat >>confdefs.h <<_ACEOF
25213 #define HAVE_FMODL 1
25214 _ACEOF
25217 done
25219 else
25221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
25222 $as_echo_n "checking for _fmodl declaration... " >&6; }
25223 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
25224 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
25225 $as_echo_n "(cached) " >&6
25226 else
25229 ac_ext=cpp
25230 ac_cpp='$CXXCPP $CPPFLAGS'
25231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25236 /* end confdefs.h. */
25237 #include <math.h>
25239 main ()
25241 _fmodl(0, 0);
25243 return 0;
25245 _ACEOF
25246 if ac_fn_cxx_try_compile "$LINENO"; then :
25247 glibcxx_cv_func__fmodl_use=yes
25248 else
25249 glibcxx_cv_func__fmodl_use=no
25251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25252 ac_ext=c
25253 ac_cpp='$CPP $CPPFLAGS'
25254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
25263 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
25265 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
25266 for ac_func in _fmodl
25267 do :
25268 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
25269 if test "x$ac_cv_func__fmodl" = x""yes; then :
25270 cat >>confdefs.h <<_ACEOF
25271 #define HAVE__FMODL 1
25272 _ACEOF
25275 done
25284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
25285 $as_echo_n "checking for frexpl declaration... " >&6; }
25286 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
25287 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
25288 $as_echo_n "(cached) " >&6
25289 else
25292 ac_ext=cpp
25293 ac_cpp='$CXXCPP $CPPFLAGS'
25294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25299 /* end confdefs.h. */
25300 #include <math.h>
25302 main ()
25304 frexpl(0, 0);
25306 return 0;
25308 _ACEOF
25309 if ac_fn_cxx_try_compile "$LINENO"; then :
25310 glibcxx_cv_func_frexpl_use=yes
25311 else
25312 glibcxx_cv_func_frexpl_use=no
25314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25315 ac_ext=c
25316 ac_cpp='$CPP $CPPFLAGS'
25317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25326 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25328 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
25329 for ac_func in frexpl
25330 do :
25331 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25332 if test "x$ac_cv_func_frexpl" = x""yes; then :
25333 cat >>confdefs.h <<_ACEOF
25334 #define HAVE_FREXPL 1
25335 _ACEOF
25338 done
25340 else
25342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25343 $as_echo_n "checking for _frexpl declaration... " >&6; }
25344 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25345 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25346 $as_echo_n "(cached) " >&6
25347 else
25350 ac_ext=cpp
25351 ac_cpp='$CXXCPP $CPPFLAGS'
25352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25357 /* end confdefs.h. */
25358 #include <math.h>
25360 main ()
25362 _frexpl(0, 0);
25364 return 0;
25366 _ACEOF
25367 if ac_fn_cxx_try_compile "$LINENO"; then :
25368 glibcxx_cv_func__frexpl_use=yes
25369 else
25370 glibcxx_cv_func__frexpl_use=no
25372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25373 ac_ext=c
25374 ac_cpp='$CPP $CPPFLAGS'
25375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25384 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25386 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25387 for ac_func in _frexpl
25388 do :
25389 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25390 if test "x$ac_cv_func__frexpl" = x""yes; then :
25391 cat >>confdefs.h <<_ACEOF
25392 #define HAVE__FREXPL 1
25393 _ACEOF
25396 done
25405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25406 $as_echo_n "checking for hypotl declaration... " >&6; }
25407 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25408 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25409 $as_echo_n "(cached) " >&6
25410 else
25413 ac_ext=cpp
25414 ac_cpp='$CXXCPP $CPPFLAGS'
25415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25420 /* end confdefs.h. */
25421 #include <math.h>
25423 main ()
25425 hypotl(0, 0);
25427 return 0;
25429 _ACEOF
25430 if ac_fn_cxx_try_compile "$LINENO"; then :
25431 glibcxx_cv_func_hypotl_use=yes
25432 else
25433 glibcxx_cv_func_hypotl_use=no
25435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25436 ac_ext=c
25437 ac_cpp='$CPP $CPPFLAGS'
25438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25447 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25449 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25450 for ac_func in hypotl
25451 do :
25452 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25453 if test "x$ac_cv_func_hypotl" = x""yes; then :
25454 cat >>confdefs.h <<_ACEOF
25455 #define HAVE_HYPOTL 1
25456 _ACEOF
25459 done
25461 else
25463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25464 $as_echo_n "checking for _hypotl declaration... " >&6; }
25465 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25466 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25467 $as_echo_n "(cached) " >&6
25468 else
25471 ac_ext=cpp
25472 ac_cpp='$CXXCPP $CPPFLAGS'
25473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25478 /* end confdefs.h. */
25479 #include <math.h>
25481 main ()
25483 _hypotl(0, 0);
25485 return 0;
25487 _ACEOF
25488 if ac_fn_cxx_try_compile "$LINENO"; then :
25489 glibcxx_cv_func__hypotl_use=yes
25490 else
25491 glibcxx_cv_func__hypotl_use=no
25493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25494 ac_ext=c
25495 ac_cpp='$CPP $CPPFLAGS'
25496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25505 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25507 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25508 for ac_func in _hypotl
25509 do :
25510 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25511 if test "x$ac_cv_func__hypotl" = x""yes; then :
25512 cat >>confdefs.h <<_ACEOF
25513 #define HAVE__HYPOTL 1
25514 _ACEOF
25517 done
25526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25527 $as_echo_n "checking for ldexpl declaration... " >&6; }
25528 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25529 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25530 $as_echo_n "(cached) " >&6
25531 else
25534 ac_ext=cpp
25535 ac_cpp='$CXXCPP $CPPFLAGS'
25536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25541 /* end confdefs.h. */
25542 #include <math.h>
25544 main ()
25546 ldexpl(0, 0);
25548 return 0;
25550 _ACEOF
25551 if ac_fn_cxx_try_compile "$LINENO"; then :
25552 glibcxx_cv_func_ldexpl_use=yes
25553 else
25554 glibcxx_cv_func_ldexpl_use=no
25556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25557 ac_ext=c
25558 ac_cpp='$CPP $CPPFLAGS'
25559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25568 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25570 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25571 for ac_func in ldexpl
25572 do :
25573 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25574 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25575 cat >>confdefs.h <<_ACEOF
25576 #define HAVE_LDEXPL 1
25577 _ACEOF
25580 done
25582 else
25584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25585 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25586 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25587 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25588 $as_echo_n "(cached) " >&6
25589 else
25592 ac_ext=cpp
25593 ac_cpp='$CXXCPP $CPPFLAGS'
25594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25599 /* end confdefs.h. */
25600 #include <math.h>
25602 main ()
25604 _ldexpl(0, 0);
25606 return 0;
25608 _ACEOF
25609 if ac_fn_cxx_try_compile "$LINENO"; then :
25610 glibcxx_cv_func__ldexpl_use=yes
25611 else
25612 glibcxx_cv_func__ldexpl_use=no
25614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25615 ac_ext=c
25616 ac_cpp='$CPP $CPPFLAGS'
25617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25626 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25628 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25629 for ac_func in _ldexpl
25630 do :
25631 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25632 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25633 cat >>confdefs.h <<_ACEOF
25634 #define HAVE__LDEXPL 1
25635 _ACEOF
25638 done
25647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25648 $as_echo_n "checking for logl declaration... " >&6; }
25649 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25650 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25651 $as_echo_n "(cached) " >&6
25652 else
25655 ac_ext=cpp
25656 ac_cpp='$CXXCPP $CPPFLAGS'
25657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25662 /* end confdefs.h. */
25663 #include <math.h>
25664 #ifdef HAVE_IEEEFP_H
25665 #include <ieeefp.h>
25666 #endif
25669 main ()
25671 logl(0);
25673 return 0;
25675 _ACEOF
25676 if ac_fn_cxx_try_compile "$LINENO"; then :
25677 glibcxx_cv_func_logl_use=yes
25678 else
25679 glibcxx_cv_func_logl_use=no
25681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25682 ac_ext=c
25683 ac_cpp='$CPP $CPPFLAGS'
25684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25693 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25695 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25696 for ac_func in logl
25697 do :
25698 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25699 if test "x$ac_cv_func_logl" = x""yes; then :
25700 cat >>confdefs.h <<_ACEOF
25701 #define HAVE_LOGL 1
25702 _ACEOF
25705 done
25707 else
25709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25710 $as_echo_n "checking for _logl declaration... " >&6; }
25711 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25712 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25713 $as_echo_n "(cached) " >&6
25714 else
25717 ac_ext=cpp
25718 ac_cpp='$CXXCPP $CPPFLAGS'
25719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25724 /* end confdefs.h. */
25725 #include <math.h>
25726 #ifdef HAVE_IEEEFP_H
25727 #include <ieeefp.h>
25728 #endif
25731 main ()
25733 _logl(0);
25735 return 0;
25737 _ACEOF
25738 if ac_fn_cxx_try_compile "$LINENO"; then :
25739 glibcxx_cv_func__logl_use=yes
25740 else
25741 glibcxx_cv_func__logl_use=no
25743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25744 ac_ext=c
25745 ac_cpp='$CPP $CPPFLAGS'
25746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25755 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25757 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25758 for ac_func in _logl
25759 do :
25760 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25761 if test "x$ac_cv_func__logl" = x""yes; then :
25762 cat >>confdefs.h <<_ACEOF
25763 #define HAVE__LOGL 1
25764 _ACEOF
25767 done
25776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25777 $as_echo_n "checking for log10l declaration... " >&6; }
25778 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25779 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25780 $as_echo_n "(cached) " >&6
25781 else
25784 ac_ext=cpp
25785 ac_cpp='$CXXCPP $CPPFLAGS'
25786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25791 /* end confdefs.h. */
25792 #include <math.h>
25793 #ifdef HAVE_IEEEFP_H
25794 #include <ieeefp.h>
25795 #endif
25798 main ()
25800 log10l(0);
25802 return 0;
25804 _ACEOF
25805 if ac_fn_cxx_try_compile "$LINENO"; then :
25806 glibcxx_cv_func_log10l_use=yes
25807 else
25808 glibcxx_cv_func_log10l_use=no
25810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25811 ac_ext=c
25812 ac_cpp='$CPP $CPPFLAGS'
25813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25822 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25824 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25825 for ac_func in log10l
25826 do :
25827 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25828 if test "x$ac_cv_func_log10l" = x""yes; then :
25829 cat >>confdefs.h <<_ACEOF
25830 #define HAVE_LOG10L 1
25831 _ACEOF
25834 done
25836 else
25838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25839 $as_echo_n "checking for _log10l declaration... " >&6; }
25840 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25841 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25842 $as_echo_n "(cached) " >&6
25843 else
25846 ac_ext=cpp
25847 ac_cpp='$CXXCPP $CPPFLAGS'
25848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25853 /* end confdefs.h. */
25854 #include <math.h>
25855 #ifdef HAVE_IEEEFP_H
25856 #include <ieeefp.h>
25857 #endif
25860 main ()
25862 _log10l(0);
25864 return 0;
25866 _ACEOF
25867 if ac_fn_cxx_try_compile "$LINENO"; then :
25868 glibcxx_cv_func__log10l_use=yes
25869 else
25870 glibcxx_cv_func__log10l_use=no
25872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25873 ac_ext=c
25874 ac_cpp='$CPP $CPPFLAGS'
25875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25884 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25886 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25887 for ac_func in _log10l
25888 do :
25889 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25890 if test "x$ac_cv_func__log10l" = x""yes; then :
25891 cat >>confdefs.h <<_ACEOF
25892 #define HAVE__LOG10L 1
25893 _ACEOF
25896 done
25905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25906 $as_echo_n "checking for modfl declaration... " >&6; }
25907 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25908 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25909 $as_echo_n "(cached) " >&6
25910 else
25913 ac_ext=cpp
25914 ac_cpp='$CXXCPP $CPPFLAGS'
25915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25920 /* end confdefs.h. */
25921 #include <math.h>
25923 main ()
25925 modfl(0, 0);
25927 return 0;
25929 _ACEOF
25930 if ac_fn_cxx_try_compile "$LINENO"; then :
25931 glibcxx_cv_func_modfl_use=yes
25932 else
25933 glibcxx_cv_func_modfl_use=no
25935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25936 ac_ext=c
25937 ac_cpp='$CPP $CPPFLAGS'
25938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25947 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25949 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25950 for ac_func in modfl
25951 do :
25952 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25953 if test "x$ac_cv_func_modfl" = x""yes; then :
25954 cat >>confdefs.h <<_ACEOF
25955 #define HAVE_MODFL 1
25956 _ACEOF
25959 done
25961 else
25963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25964 $as_echo_n "checking for _modfl declaration... " >&6; }
25965 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25966 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25967 $as_echo_n "(cached) " >&6
25968 else
25971 ac_ext=cpp
25972 ac_cpp='$CXXCPP $CPPFLAGS'
25973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25978 /* end confdefs.h. */
25979 #include <math.h>
25981 main ()
25983 _modfl(0, 0);
25985 return 0;
25987 _ACEOF
25988 if ac_fn_cxx_try_compile "$LINENO"; then :
25989 glibcxx_cv_func__modfl_use=yes
25990 else
25991 glibcxx_cv_func__modfl_use=no
25993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25994 ac_ext=c
25995 ac_cpp='$CPP $CPPFLAGS'
25996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
26005 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
26007 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
26008 for ac_func in _modfl
26009 do :
26010 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
26011 if test "x$ac_cv_func__modfl" = x""yes; then :
26012 cat >>confdefs.h <<_ACEOF
26013 #define HAVE__MODFL 1
26014 _ACEOF
26017 done
26026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
26027 $as_echo_n "checking for powl declaration... " >&6; }
26028 if test x${glibcxx_cv_func_powl_use+set} != xset; then
26029 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
26030 $as_echo_n "(cached) " >&6
26031 else
26034 ac_ext=cpp
26035 ac_cpp='$CXXCPP $CPPFLAGS'
26036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26041 /* end confdefs.h. */
26042 #include <math.h>
26044 main ()
26046 powl(0, 0);
26048 return 0;
26050 _ACEOF
26051 if ac_fn_cxx_try_compile "$LINENO"; then :
26052 glibcxx_cv_func_powl_use=yes
26053 else
26054 glibcxx_cv_func_powl_use=no
26056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26057 ac_ext=c
26058 ac_cpp='$CPP $CPPFLAGS'
26059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
26068 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
26070 if test x$glibcxx_cv_func_powl_use = x"yes"; then
26071 for ac_func in powl
26072 do :
26073 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
26074 if test "x$ac_cv_func_powl" = x""yes; then :
26075 cat >>confdefs.h <<_ACEOF
26076 #define HAVE_POWL 1
26077 _ACEOF
26080 done
26082 else
26084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
26085 $as_echo_n "checking for _powl declaration... " >&6; }
26086 if test x${glibcxx_cv_func__powl_use+set} != xset; then
26087 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
26088 $as_echo_n "(cached) " >&6
26089 else
26092 ac_ext=cpp
26093 ac_cpp='$CXXCPP $CPPFLAGS'
26094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26099 /* end confdefs.h. */
26100 #include <math.h>
26102 main ()
26104 _powl(0, 0);
26106 return 0;
26108 _ACEOF
26109 if ac_fn_cxx_try_compile "$LINENO"; then :
26110 glibcxx_cv_func__powl_use=yes
26111 else
26112 glibcxx_cv_func__powl_use=no
26114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26115 ac_ext=c
26116 ac_cpp='$CPP $CPPFLAGS'
26117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
26126 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
26128 if test x$glibcxx_cv_func__powl_use = x"yes"; then
26129 for ac_func in _powl
26130 do :
26131 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
26132 if test "x$ac_cv_func__powl" = x""yes; then :
26133 cat >>confdefs.h <<_ACEOF
26134 #define HAVE__POWL 1
26135 _ACEOF
26138 done
26147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
26148 $as_echo_n "checking for sqrtl declaration... " >&6; }
26149 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
26150 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
26151 $as_echo_n "(cached) " >&6
26152 else
26155 ac_ext=cpp
26156 ac_cpp='$CXXCPP $CPPFLAGS'
26157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26162 /* end confdefs.h. */
26163 #include <math.h>
26164 #ifdef HAVE_IEEEFP_H
26165 #include <ieeefp.h>
26166 #endif
26169 main ()
26171 sqrtl(0);
26173 return 0;
26175 _ACEOF
26176 if ac_fn_cxx_try_compile "$LINENO"; then :
26177 glibcxx_cv_func_sqrtl_use=yes
26178 else
26179 glibcxx_cv_func_sqrtl_use=no
26181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26182 ac_ext=c
26183 ac_cpp='$CPP $CPPFLAGS'
26184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
26193 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
26195 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
26196 for ac_func in sqrtl
26197 do :
26198 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
26199 if test "x$ac_cv_func_sqrtl" = x""yes; then :
26200 cat >>confdefs.h <<_ACEOF
26201 #define HAVE_SQRTL 1
26202 _ACEOF
26205 done
26207 else
26209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
26210 $as_echo_n "checking for _sqrtl declaration... " >&6; }
26211 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
26212 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
26213 $as_echo_n "(cached) " >&6
26214 else
26217 ac_ext=cpp
26218 ac_cpp='$CXXCPP $CPPFLAGS'
26219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26224 /* end confdefs.h. */
26225 #include <math.h>
26226 #ifdef HAVE_IEEEFP_H
26227 #include <ieeefp.h>
26228 #endif
26231 main ()
26233 _sqrtl(0);
26235 return 0;
26237 _ACEOF
26238 if ac_fn_cxx_try_compile "$LINENO"; then :
26239 glibcxx_cv_func__sqrtl_use=yes
26240 else
26241 glibcxx_cv_func__sqrtl_use=no
26243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26244 ac_ext=c
26245 ac_cpp='$CPP $CPPFLAGS'
26246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
26255 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
26257 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
26258 for ac_func in _sqrtl
26259 do :
26260 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
26261 if test "x$ac_cv_func__sqrtl" = x""yes; then :
26262 cat >>confdefs.h <<_ACEOF
26263 #define HAVE__SQRTL 1
26264 _ACEOF
26267 done
26276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
26277 $as_echo_n "checking for sincosl declaration... " >&6; }
26278 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
26279 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
26280 $as_echo_n "(cached) " >&6
26281 else
26284 ac_ext=cpp
26285 ac_cpp='$CXXCPP $CPPFLAGS'
26286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26291 /* end confdefs.h. */
26292 #include <math.h>
26294 main ()
26296 sincosl(0, 0, 0);
26298 return 0;
26300 _ACEOF
26301 if ac_fn_cxx_try_compile "$LINENO"; then :
26302 glibcxx_cv_func_sincosl_use=yes
26303 else
26304 glibcxx_cv_func_sincosl_use=no
26306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26307 ac_ext=c
26308 ac_cpp='$CPP $CPPFLAGS'
26309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
26318 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
26320 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
26321 for ac_func in sincosl
26322 do :
26323 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
26324 if test "x$ac_cv_func_sincosl" = x""yes; then :
26325 cat >>confdefs.h <<_ACEOF
26326 #define HAVE_SINCOSL 1
26327 _ACEOF
26330 done
26332 else
26334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26335 $as_echo_n "checking for _sincosl declaration... " >&6; }
26336 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26337 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26338 $as_echo_n "(cached) " >&6
26339 else
26342 ac_ext=cpp
26343 ac_cpp='$CXXCPP $CPPFLAGS'
26344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26349 /* end confdefs.h. */
26350 #include <math.h>
26352 main ()
26354 _sincosl(0, 0, 0);
26356 return 0;
26358 _ACEOF
26359 if ac_fn_cxx_try_compile "$LINENO"; then :
26360 glibcxx_cv_func__sincosl_use=yes
26361 else
26362 glibcxx_cv_func__sincosl_use=no
26364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26365 ac_ext=c
26366 ac_cpp='$CPP $CPPFLAGS'
26367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26376 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26378 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26379 for ac_func in _sincosl
26380 do :
26381 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26382 if test "x$ac_cv_func__sincosl" = x""yes; then :
26383 cat >>confdefs.h <<_ACEOF
26384 #define HAVE__SINCOSL 1
26385 _ACEOF
26388 done
26397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26398 $as_echo_n "checking for finitel declaration... " >&6; }
26399 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26400 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26401 $as_echo_n "(cached) " >&6
26402 else
26405 ac_ext=cpp
26406 ac_cpp='$CXXCPP $CPPFLAGS'
26407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26412 /* end confdefs.h. */
26413 #include <math.h>
26414 #ifdef HAVE_IEEEFP_H
26415 #include <ieeefp.h>
26416 #endif
26419 main ()
26421 finitel(0);
26423 return 0;
26425 _ACEOF
26426 if ac_fn_cxx_try_compile "$LINENO"; then :
26427 glibcxx_cv_func_finitel_use=yes
26428 else
26429 glibcxx_cv_func_finitel_use=no
26431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26432 ac_ext=c
26433 ac_cpp='$CPP $CPPFLAGS'
26434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26443 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26445 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26446 for ac_func in finitel
26447 do :
26448 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26449 if test "x$ac_cv_func_finitel" = x""yes; then :
26450 cat >>confdefs.h <<_ACEOF
26451 #define HAVE_FINITEL 1
26452 _ACEOF
26455 done
26457 else
26459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26460 $as_echo_n "checking for _finitel declaration... " >&6; }
26461 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26462 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26463 $as_echo_n "(cached) " >&6
26464 else
26467 ac_ext=cpp
26468 ac_cpp='$CXXCPP $CPPFLAGS'
26469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26474 /* end confdefs.h. */
26475 #include <math.h>
26476 #ifdef HAVE_IEEEFP_H
26477 #include <ieeefp.h>
26478 #endif
26481 main ()
26483 _finitel(0);
26485 return 0;
26487 _ACEOF
26488 if ac_fn_cxx_try_compile "$LINENO"; then :
26489 glibcxx_cv_func__finitel_use=yes
26490 else
26491 glibcxx_cv_func__finitel_use=no
26493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26494 ac_ext=c
26495 ac_cpp='$CPP $CPPFLAGS'
26496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26505 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26507 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26508 for ac_func in _finitel
26509 do :
26510 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26511 if test "x$ac_cv_func__finitel" = x""yes; then :
26512 cat >>confdefs.h <<_ACEOF
26513 #define HAVE__FINITEL 1
26514 _ACEOF
26517 done
26525 LIBS="$ac_save_LIBS"
26526 CXXFLAGS="$ac_save_CXXFLAGS"
26529 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26530 ac_save_CXXFLAGS="$CXXFLAGS"
26531 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
26535 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
26536 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
26537 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
26538 $as_echo_n "(cached) " >&6
26539 else
26542 ac_ext=cpp
26543 ac_cpp='$CXXCPP $CPPFLAGS'
26544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26549 /* end confdefs.h. */
26550 #include <stdlib.h>
26552 main ()
26554 at_quick_exit(0);
26556 return 0;
26558 _ACEOF
26559 if ac_fn_cxx_try_compile "$LINENO"; then :
26560 glibcxx_cv_func_at_quick_exit_use=yes
26561 else
26562 glibcxx_cv_func_at_quick_exit_use=no
26564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26565 ac_ext=c
26566 ac_cpp='$CPP $CPPFLAGS'
26567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
26576 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
26577 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
26578 for ac_func in at_quick_exit
26579 do :
26580 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
26581 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
26582 cat >>confdefs.h <<_ACEOF
26583 #define HAVE_AT_QUICK_EXIT 1
26584 _ACEOF
26587 done
26592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
26593 $as_echo_n "checking for quick_exit declaration... " >&6; }
26594 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
26595 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
26596 $as_echo_n "(cached) " >&6
26597 else
26600 ac_ext=cpp
26601 ac_cpp='$CXXCPP $CPPFLAGS'
26602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26607 /* end confdefs.h. */
26608 #include <stdlib.h>
26610 main ()
26612 quick_exit(0);
26614 return 0;
26616 _ACEOF
26617 if ac_fn_cxx_try_compile "$LINENO"; then :
26618 glibcxx_cv_func_quick_exit_use=yes
26619 else
26620 glibcxx_cv_func_quick_exit_use=no
26622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26623 ac_ext=c
26624 ac_cpp='$CPP $CPPFLAGS'
26625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
26634 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
26635 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
26636 for ac_func in quick_exit
26637 do :
26638 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
26639 if test "x$ac_cv_func_quick_exit" = x""yes; then :
26640 cat >>confdefs.h <<_ACEOF
26641 #define HAVE_QUICK_EXIT 1
26642 _ACEOF
26645 done
26650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26651 $as_echo_n "checking for strtold declaration... " >&6; }
26652 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26653 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26654 $as_echo_n "(cached) " >&6
26655 else
26658 ac_ext=cpp
26659 ac_cpp='$CXXCPP $CPPFLAGS'
26660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26665 /* end confdefs.h. */
26666 #include <stdlib.h>
26668 main ()
26670 strtold(0, 0);
26672 return 0;
26674 _ACEOF
26675 if ac_fn_cxx_try_compile "$LINENO"; then :
26676 glibcxx_cv_func_strtold_use=yes
26677 else
26678 glibcxx_cv_func_strtold_use=no
26680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26681 ac_ext=c
26682 ac_cpp='$CPP $CPPFLAGS'
26683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26692 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26693 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26694 for ac_func in strtold
26695 do :
26696 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26697 if test "x$ac_cv_func_strtold" = x""yes; then :
26698 cat >>confdefs.h <<_ACEOF
26699 #define HAVE_STRTOLD 1
26700 _ACEOF
26703 done
26710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26711 $as_echo_n "checking for strtof declaration... " >&6; }
26712 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26713 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26714 $as_echo_n "(cached) " >&6
26715 else
26718 ac_ext=cpp
26719 ac_cpp='$CXXCPP $CPPFLAGS'
26720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26725 /* end confdefs.h. */
26726 #include <stdlib.h>
26728 main ()
26730 strtof(0, 0);
26732 return 0;
26734 _ACEOF
26735 if ac_fn_cxx_try_compile "$LINENO"; then :
26736 glibcxx_cv_func_strtof_use=yes
26737 else
26738 glibcxx_cv_func_strtof_use=no
26740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26741 ac_ext=c
26742 ac_cpp='$CPP $CPPFLAGS'
26743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26752 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26753 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26754 for ac_func in strtof
26755 do :
26756 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26757 if test "x$ac_cv_func_strtof" = x""yes; then :
26758 cat >>confdefs.h <<_ACEOF
26759 #define HAVE_STRTOF 1
26760 _ACEOF
26763 done
26770 CXXFLAGS="$ac_save_CXXFLAGS"
26773 # For /dev/random and /dev/urandom for TR1.
26776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26777 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26778 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26779 $as_echo_n "(cached) " >&6
26780 else
26782 if test -r /dev/random && test -r /dev/urandom; then
26783 ## For MSys environment the test above is detect as false-positive
26784 ## on mingw-targets. So disable it explicit for them.
26785 case ${target_os} in
26786 *mingw*) glibcxx_cv_random_tr1=no ;;
26787 *) glibcxx_cv_random_tr1=yes ;;
26788 esac
26789 else
26790 glibcxx_cv_random_tr1=no;
26795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26796 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26798 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26800 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26806 # For TLS support.
26809 # Check whether --enable-tls was given.
26810 if test "${enable_tls+set}" = set; then :
26811 enableval=$enable_tls;
26812 case "$enableval" in
26813 yes|no) ;;
26814 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26815 esac
26817 else
26818 enable_tls=yes
26822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26823 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26824 if test "${gcc_cv_have_tls+set}" = set; then :
26825 $as_echo_n "(cached) " >&6
26826 else
26828 if test "$cross_compiling" = yes; then :
26829 if test x$gcc_no_link = xyes; then
26830 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26833 /* end confdefs.h. */
26834 __thread int a; int b; int main() { return a = b; }
26835 _ACEOF
26836 if ac_fn_c_try_link "$LINENO"; then :
26837 chktls_save_LDFLAGS="$LDFLAGS"
26838 case $host in
26839 *-*-linux*)
26840 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26842 esac
26843 chktls_save_CFLAGS="$CFLAGS"
26844 CFLAGS="-fPIC $CFLAGS"
26845 if test x$gcc_no_link = xyes; then
26846 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26849 /* end confdefs.h. */
26850 int f() { return 0; }
26851 _ACEOF
26852 if ac_fn_c_try_link "$LINENO"; then :
26853 if test x$gcc_no_link = xyes; then
26854 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26857 /* end confdefs.h. */
26858 __thread int a; int b; int f() { return a = b; }
26859 _ACEOF
26860 if ac_fn_c_try_link "$LINENO"; then :
26861 gcc_cv_have_tls=yes
26862 else
26863 gcc_cv_have_tls=no
26865 rm -f core conftest.err conftest.$ac_objext \
26866 conftest$ac_exeext conftest.$ac_ext
26867 else
26868 gcc_cv_have_tls=yes
26870 rm -f core conftest.err conftest.$ac_objext \
26871 conftest$ac_exeext conftest.$ac_ext
26872 CFLAGS="$chktls_save_CFLAGS"
26873 LDFLAGS="$chktls_save_LDFLAGS"
26874 else
26875 gcc_cv_have_tls=no
26877 rm -f core conftest.err conftest.$ac_objext \
26878 conftest$ac_exeext conftest.$ac_ext
26881 else
26882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26883 /* end confdefs.h. */
26884 __thread int a; int b; int main() { return a = b; }
26885 _ACEOF
26886 if ac_fn_c_try_run "$LINENO"; then :
26887 chktls_save_LDFLAGS="$LDFLAGS"
26888 LDFLAGS="-static $LDFLAGS"
26889 if test x$gcc_no_link = xyes; then
26890 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26893 /* end confdefs.h. */
26894 int main() { return 0; }
26895 _ACEOF
26896 if ac_fn_c_try_link "$LINENO"; then :
26897 if test "$cross_compiling" = yes; then :
26898 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26899 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26900 as_fn_error "cannot run test program while cross compiling
26901 See \`config.log' for more details." "$LINENO" 5; }
26902 else
26903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26904 /* end confdefs.h. */
26905 __thread int a; int b; int main() { return a = b; }
26906 _ACEOF
26907 if ac_fn_c_try_run "$LINENO"; then :
26908 gcc_cv_have_tls=yes
26909 else
26910 gcc_cv_have_tls=no
26912 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26913 conftest.$ac_objext conftest.beam conftest.$ac_ext
26916 else
26917 gcc_cv_have_tls=yes
26919 rm -f core conftest.err conftest.$ac_objext \
26920 conftest$ac_exeext conftest.$ac_ext
26921 LDFLAGS="$chktls_save_LDFLAGS"
26922 if test $gcc_cv_have_tls = yes; then
26923 chktls_save_CFLAGS="$CFLAGS"
26924 thread_CFLAGS=failed
26925 for flag in '' '-pthread' '-lpthread'; do
26926 CFLAGS="$flag $chktls_save_CFLAGS"
26927 if test x$gcc_no_link = xyes; then
26928 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26931 /* end confdefs.h. */
26932 #include <pthread.h>
26933 void *g(void *d) { return NULL; }
26935 main ()
26937 pthread_t t; pthread_create(&t,NULL,g,NULL);
26939 return 0;
26941 _ACEOF
26942 if ac_fn_c_try_link "$LINENO"; then :
26943 thread_CFLAGS="$flag"
26945 rm -f core conftest.err conftest.$ac_objext \
26946 conftest$ac_exeext conftest.$ac_ext
26947 if test "X$thread_CFLAGS" != Xfailed; then
26948 break
26950 done
26951 CFLAGS="$chktls_save_CFLAGS"
26952 if test "X$thread_CFLAGS" != Xfailed; then
26953 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26954 if test "$cross_compiling" = yes; then :
26955 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26956 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26957 as_fn_error "cannot run test program while cross compiling
26958 See \`config.log' for more details." "$LINENO" 5; }
26959 else
26960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26961 /* end confdefs.h. */
26962 #include <pthread.h>
26963 __thread int a;
26964 static int *volatile a_in_other_thread;
26965 static void *
26966 thread_func (void *arg)
26968 a_in_other_thread = &a;
26969 return (void *)0;
26972 main ()
26974 pthread_t thread;
26975 void *thread_retval;
26976 int *volatile a_in_main_thread;
26977 a_in_main_thread = &a;
26978 if (pthread_create (&thread, (pthread_attr_t *)0,
26979 thread_func, (void *)0))
26980 return 0;
26981 if (pthread_join (thread, &thread_retval))
26982 return 0;
26983 return (a_in_other_thread == a_in_main_thread);
26985 return 0;
26987 _ACEOF
26988 if ac_fn_c_try_run "$LINENO"; then :
26989 gcc_cv_have_tls=yes
26990 else
26991 gcc_cv_have_tls=no
26993 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26994 conftest.$ac_objext conftest.beam conftest.$ac_ext
26997 CFLAGS="$chktls_save_CFLAGS"
27000 else
27001 gcc_cv_have_tls=no
27003 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27004 conftest.$ac_objext conftest.beam conftest.$ac_ext
27008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
27009 $as_echo "$gcc_cv_have_tls" >&6; }
27010 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27012 $as_echo "#define HAVE_TLS 1" >>confdefs.h
27016 for ac_func in __cxa_thread_atexit_impl
27017 do :
27018 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
27019 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
27020 cat >>confdefs.h <<_ACEOF
27021 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
27022 _ACEOF
27025 done
27028 # For iconv support.
27030 if test "X$prefix" = "XNONE"; then
27031 acl_final_prefix="$ac_default_prefix"
27032 else
27033 acl_final_prefix="$prefix"
27035 if test "X$exec_prefix" = "XNONE"; then
27036 acl_final_exec_prefix='${prefix}'
27037 else
27038 acl_final_exec_prefix="$exec_prefix"
27040 acl_save_prefix="$prefix"
27041 prefix="$acl_final_prefix"
27042 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
27043 prefix="$acl_save_prefix"
27046 # Check whether --with-gnu-ld was given.
27047 if test "${with_gnu_ld+set}" = set; then :
27048 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
27049 else
27050 with_gnu_ld=no
27053 # Prepare PATH_SEPARATOR.
27054 # The user is always right.
27055 if test "${PATH_SEPARATOR+set}" != set; then
27056 echo "#! /bin/sh" >conf$$.sh
27057 echo "exit 0" >>conf$$.sh
27058 chmod +x conf$$.sh
27059 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
27060 PATH_SEPARATOR=';'
27061 else
27062 PATH_SEPARATOR=:
27064 rm -f conf$$.sh
27066 ac_prog=ld
27067 if test "$GCC" = yes; then
27068 # Check if gcc -print-prog-name=ld gives a path.
27069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
27070 $as_echo_n "checking for ld used by GCC... " >&6; }
27071 case $host in
27072 *-*-mingw*)
27073 # gcc leaves a trailing carriage return which upsets mingw
27074 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
27076 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
27077 esac
27078 case $ac_prog in
27079 # Accept absolute paths.
27080 [\\/]* | [A-Za-z]:[\\/]*)
27081 re_direlt='/[^/][^/]*/\.\./'
27082 # Canonicalize the path of ld
27083 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
27084 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
27085 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
27086 done
27087 test -z "$LD" && LD="$ac_prog"
27090 # If it fails, then pretend we aren't using GCC.
27091 ac_prog=ld
27094 # If it is relative, then search for the first ld in PATH.
27095 with_gnu_ld=unknown
27097 esac
27098 elif test "$with_gnu_ld" = yes; then
27099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
27100 $as_echo_n "checking for GNU ld... " >&6; }
27101 else
27102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
27103 $as_echo_n "checking for non-GNU ld... " >&6; }
27105 if test "${acl_cv_path_LD+set}" = set; then :
27106 $as_echo_n "(cached) " >&6
27107 else
27108 if test -z "$LD"; then
27109 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
27110 for ac_dir in $PATH; do
27111 test -z "$ac_dir" && ac_dir=.
27112 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
27113 acl_cv_path_LD="$ac_dir/$ac_prog"
27114 # Check to see if the program is GNU ld. I'd rather use --version,
27115 # but apparently some GNU ld's only accept -v.
27116 # Break only if it was the GNU/non-GNU ld that we prefer.
27117 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
27118 test "$with_gnu_ld" != no && break
27119 else
27120 test "$with_gnu_ld" != yes && break
27123 done
27124 IFS="$ac_save_ifs"
27125 else
27126 acl_cv_path_LD="$LD" # Let the user override the test with a path.
27130 LD="$acl_cv_path_LD"
27131 if test -n "$LD"; then
27132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
27133 $as_echo "$LD" >&6; }
27134 else
27135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27136 $as_echo "no" >&6; }
27138 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
27139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
27140 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
27141 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
27142 $as_echo_n "(cached) " >&6
27143 else
27144 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
27145 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
27146 acl_cv_prog_gnu_ld=yes
27147 else
27148 acl_cv_prog_gnu_ld=no
27151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
27152 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
27153 with_gnu_ld=$acl_cv_prog_gnu_ld
27157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
27158 $as_echo_n "checking for shared library run path origin... " >&6; }
27159 if test "${acl_cv_rpath+set}" = set; then :
27160 $as_echo_n "(cached) " >&6
27161 else
27163 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
27164 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
27165 . ./conftest.sh
27166 rm -f ./conftest.sh
27167 acl_cv_rpath=done
27170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
27171 $as_echo "$acl_cv_rpath" >&6; }
27172 wl="$acl_cv_wl"
27173 libext="$acl_cv_libext"
27174 shlibext="$acl_cv_shlibext"
27175 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
27176 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
27177 hardcode_direct="$acl_cv_hardcode_direct"
27178 hardcode_minus_L="$acl_cv_hardcode_minus_L"
27179 # Check whether --enable-rpath was given.
27180 if test "${enable_rpath+set}" = set; then :
27181 enableval=$enable_rpath; :
27182 else
27183 enable_rpath=yes
27193 use_additional=yes
27195 acl_save_prefix="$prefix"
27196 prefix="$acl_final_prefix"
27197 acl_save_exec_prefix="$exec_prefix"
27198 exec_prefix="$acl_final_exec_prefix"
27200 eval additional_includedir=\"$includedir\"
27201 eval additional_libdir=\"$libdir\"
27203 exec_prefix="$acl_save_exec_prefix"
27204 prefix="$acl_save_prefix"
27207 # Check whether --with-libiconv-prefix was given.
27208 if test "${with_libiconv_prefix+set}" = set; then :
27209 withval=$with_libiconv_prefix;
27210 if test "X$withval" = "Xno"; then
27211 use_additional=no
27212 else
27213 if test "X$withval" = "X"; then
27215 acl_save_prefix="$prefix"
27216 prefix="$acl_final_prefix"
27217 acl_save_exec_prefix="$exec_prefix"
27218 exec_prefix="$acl_final_exec_prefix"
27220 eval additional_includedir=\"$includedir\"
27221 eval additional_libdir=\"$libdir\"
27223 exec_prefix="$acl_save_exec_prefix"
27224 prefix="$acl_save_prefix"
27226 else
27227 additional_includedir="$withval/include"
27228 additional_libdir="$withval/lib"
27234 LIBICONV=
27235 LTLIBICONV=
27236 INCICONV=
27237 rpathdirs=
27238 ltrpathdirs=
27239 names_already_handled=
27240 names_next_round='iconv '
27241 while test -n "$names_next_round"; do
27242 names_this_round="$names_next_round"
27243 names_next_round=
27244 for name in $names_this_round; do
27245 already_handled=
27246 for n in $names_already_handled; do
27247 if test "$n" = "$name"; then
27248 already_handled=yes
27249 break
27251 done
27252 if test -z "$already_handled"; then
27253 names_already_handled="$names_already_handled $name"
27254 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
27255 eval value=\"\$HAVE_LIB$uppername\"
27256 if test -n "$value"; then
27257 if test "$value" = yes; then
27258 eval value=\"\$LIB$uppername\"
27259 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
27260 eval value=\"\$LTLIB$uppername\"
27261 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
27262 else
27265 else
27266 found_dir=
27267 found_la=
27268 found_so=
27269 found_a=
27270 if test $use_additional = yes; then
27271 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
27272 found_dir="$additional_libdir"
27273 found_so="$additional_libdir/lib$name.$shlibext"
27274 if test -f "$additional_libdir/lib$name.la"; then
27275 found_la="$additional_libdir/lib$name.la"
27277 else
27278 if test -f "$additional_libdir/lib$name.$libext"; then
27279 found_dir="$additional_libdir"
27280 found_a="$additional_libdir/lib$name.$libext"
27281 if test -f "$additional_libdir/lib$name.la"; then
27282 found_la="$additional_libdir/lib$name.la"
27287 if test "X$found_dir" = "X"; then
27288 for x in $LDFLAGS $LTLIBICONV; do
27290 acl_save_prefix="$prefix"
27291 prefix="$acl_final_prefix"
27292 acl_save_exec_prefix="$exec_prefix"
27293 exec_prefix="$acl_final_exec_prefix"
27294 eval x=\"$x\"
27295 exec_prefix="$acl_save_exec_prefix"
27296 prefix="$acl_save_prefix"
27298 case "$x" in
27299 -L*)
27300 dir=`echo "X$x" | sed -e 's/^X-L//'`
27301 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
27302 found_dir="$dir"
27303 found_so="$dir/lib$name.$shlibext"
27304 if test -f "$dir/lib$name.la"; then
27305 found_la="$dir/lib$name.la"
27307 else
27308 if test -f "$dir/lib$name.$libext"; then
27309 found_dir="$dir"
27310 found_a="$dir/lib$name.$libext"
27311 if test -f "$dir/lib$name.la"; then
27312 found_la="$dir/lib$name.la"
27317 esac
27318 if test "X$found_dir" != "X"; then
27319 break
27321 done
27323 if test "X$found_dir" != "X"; then
27324 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
27325 if test "X$found_so" != "X"; then
27326 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
27327 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27328 else
27329 haveit=
27330 for x in $ltrpathdirs; do
27331 if test "X$x" = "X$found_dir"; then
27332 haveit=yes
27333 break
27335 done
27336 if test -z "$haveit"; then
27337 ltrpathdirs="$ltrpathdirs $found_dir"
27339 if test "$hardcode_direct" = yes; then
27340 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27341 else
27342 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
27343 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27344 haveit=
27345 for x in $rpathdirs; do
27346 if test "X$x" = "X$found_dir"; then
27347 haveit=yes
27348 break
27350 done
27351 if test -z "$haveit"; then
27352 rpathdirs="$rpathdirs $found_dir"
27354 else
27355 haveit=
27356 for x in $LDFLAGS $LIBICONV; do
27358 acl_save_prefix="$prefix"
27359 prefix="$acl_final_prefix"
27360 acl_save_exec_prefix="$exec_prefix"
27361 exec_prefix="$acl_final_exec_prefix"
27362 eval x=\"$x\"
27363 exec_prefix="$acl_save_exec_prefix"
27364 prefix="$acl_save_prefix"
27366 if test "X$x" = "X-L$found_dir"; then
27367 haveit=yes
27368 break
27370 done
27371 if test -z "$haveit"; then
27372 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
27374 if test "$hardcode_minus_L" != no; then
27375 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27376 else
27377 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27382 else
27383 if test "X$found_a" != "X"; then
27384 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
27385 else
27386 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
27389 additional_includedir=
27390 case "$found_dir" in
27391 */lib | */lib/)
27392 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
27393 additional_includedir="$basedir/include"
27395 esac
27396 if test "X$additional_includedir" != "X"; then
27397 if test "X$additional_includedir" != "X/usr/include"; then
27398 haveit=
27399 if test "X$additional_includedir" = "X/usr/local/include"; then
27400 if test -n "$GCC"; then
27401 case $host_os in
27402 linux*) haveit=yes;;
27403 esac
27406 if test -z "$haveit"; then
27407 for x in $CPPFLAGS $INCICONV; do
27409 acl_save_prefix="$prefix"
27410 prefix="$acl_final_prefix"
27411 acl_save_exec_prefix="$exec_prefix"
27412 exec_prefix="$acl_final_exec_prefix"
27413 eval x=\"$x\"
27414 exec_prefix="$acl_save_exec_prefix"
27415 prefix="$acl_save_prefix"
27417 if test "X$x" = "X-I$additional_includedir"; then
27418 haveit=yes
27419 break
27421 done
27422 if test -z "$haveit"; then
27423 if test -d "$additional_includedir"; then
27424 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
27430 if test -n "$found_la"; then
27431 save_libdir="$libdir"
27432 case "$found_la" in
27433 */* | *\\*) . "$found_la" ;;
27434 *) . "./$found_la" ;;
27435 esac
27436 libdir="$save_libdir"
27437 for dep in $dependency_libs; do
27438 case "$dep" in
27439 -L*)
27440 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
27441 if test "X$additional_libdir" != "X/usr/lib"; then
27442 haveit=
27443 if test "X$additional_libdir" = "X/usr/local/lib"; then
27444 if test -n "$GCC"; then
27445 case $host_os in
27446 linux*) haveit=yes;;
27447 esac
27450 if test -z "$haveit"; then
27451 haveit=
27452 for x in $LDFLAGS $LIBICONV; do
27454 acl_save_prefix="$prefix"
27455 prefix="$acl_final_prefix"
27456 acl_save_exec_prefix="$exec_prefix"
27457 exec_prefix="$acl_final_exec_prefix"
27458 eval x=\"$x\"
27459 exec_prefix="$acl_save_exec_prefix"
27460 prefix="$acl_save_prefix"
27462 if test "X$x" = "X-L$additional_libdir"; then
27463 haveit=yes
27464 break
27466 done
27467 if test -z "$haveit"; then
27468 if test -d "$additional_libdir"; then
27469 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27472 haveit=
27473 for x in $LDFLAGS $LTLIBICONV; do
27475 acl_save_prefix="$prefix"
27476 prefix="$acl_final_prefix"
27477 acl_save_exec_prefix="$exec_prefix"
27478 exec_prefix="$acl_final_exec_prefix"
27479 eval x=\"$x\"
27480 exec_prefix="$acl_save_exec_prefix"
27481 prefix="$acl_save_prefix"
27483 if test "X$x" = "X-L$additional_libdir"; then
27484 haveit=yes
27485 break
27487 done
27488 if test -z "$haveit"; then
27489 if test -d "$additional_libdir"; then
27490 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27496 -R*)
27497 dir=`echo "X$dep" | sed -e 's/^X-R//'`
27498 if test "$enable_rpath" != no; then
27499 haveit=
27500 for x in $rpathdirs; do
27501 if test "X$x" = "X$dir"; then
27502 haveit=yes
27503 break
27505 done
27506 if test -z "$haveit"; then
27507 rpathdirs="$rpathdirs $dir"
27509 haveit=
27510 for x in $ltrpathdirs; do
27511 if test "X$x" = "X$dir"; then
27512 haveit=yes
27513 break
27515 done
27516 if test -z "$haveit"; then
27517 ltrpathdirs="$ltrpathdirs $dir"
27521 -l*)
27522 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27524 *.la)
27525 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27528 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27529 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27531 esac
27532 done
27534 else
27535 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27536 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27540 done
27541 done
27542 if test "X$rpathdirs" != "X"; then
27543 if test -n "$hardcode_libdir_separator"; then
27544 alldirs=
27545 for found_dir in $rpathdirs; do
27546 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27547 done
27548 acl_save_libdir="$libdir"
27549 libdir="$alldirs"
27550 eval flag=\"$hardcode_libdir_flag_spec\"
27551 libdir="$acl_save_libdir"
27552 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27553 else
27554 for found_dir in $rpathdirs; do
27555 acl_save_libdir="$libdir"
27556 libdir="$found_dir"
27557 eval flag=\"$hardcode_libdir_flag_spec\"
27558 libdir="$acl_save_libdir"
27559 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27560 done
27563 if test "X$ltrpathdirs" != "X"; then
27564 for found_dir in $ltrpathdirs; do
27565 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27566 done
27575 am_save_CPPFLAGS="$CPPFLAGS"
27577 for element in $INCICONV; do
27578 haveit=
27579 for x in $CPPFLAGS; do
27581 acl_save_prefix="$prefix"
27582 prefix="$acl_final_prefix"
27583 acl_save_exec_prefix="$exec_prefix"
27584 exec_prefix="$acl_final_exec_prefix"
27585 eval x=\"$x\"
27586 exec_prefix="$acl_save_exec_prefix"
27587 prefix="$acl_save_prefix"
27589 if test "X$x" = "X$element"; then
27590 haveit=yes
27591 break
27593 done
27594 if test -z "$haveit"; then
27595 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27597 done
27600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27601 $as_echo_n "checking for iconv... " >&6; }
27602 if test "${am_cv_func_iconv+set}" = set; then :
27603 $as_echo_n "(cached) " >&6
27604 else
27606 am_cv_func_iconv="no, consider installing GNU libiconv"
27607 am_cv_lib_iconv=no
27608 if test x$gcc_no_link = xyes; then
27609 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27612 /* end confdefs.h. */
27613 #include <stdlib.h>
27614 #include <iconv.h>
27616 main ()
27618 iconv_t cd = iconv_open("","");
27619 iconv(cd,NULL,NULL,NULL,NULL);
27620 iconv_close(cd);
27622 return 0;
27624 _ACEOF
27625 if ac_fn_c_try_link "$LINENO"; then :
27626 am_cv_func_iconv=yes
27628 rm -f core conftest.err conftest.$ac_objext \
27629 conftest$ac_exeext conftest.$ac_ext
27630 if test "$am_cv_func_iconv" != yes; then
27631 am_save_LIBS="$LIBS"
27632 LIBS="$LIBS $LIBICONV"
27633 if test x$gcc_no_link = xyes; then
27634 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27637 /* end confdefs.h. */
27638 #include <stdlib.h>
27639 #include <iconv.h>
27641 main ()
27643 iconv_t cd = iconv_open("","");
27644 iconv(cd,NULL,NULL,NULL,NULL);
27645 iconv_close(cd);
27647 return 0;
27649 _ACEOF
27650 if ac_fn_c_try_link "$LINENO"; then :
27651 am_cv_lib_iconv=yes
27652 am_cv_func_iconv=yes
27654 rm -f core conftest.err conftest.$ac_objext \
27655 conftest$ac_exeext conftest.$ac_ext
27656 LIBS="$am_save_LIBS"
27660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27661 $as_echo "$am_cv_func_iconv" >&6; }
27662 if test "$am_cv_func_iconv" = yes; then
27664 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27667 if test "$am_cv_lib_iconv" = yes; then
27668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27669 $as_echo_n "checking how to link with libiconv... " >&6; }
27670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27671 $as_echo "$LIBICONV" >&6; }
27672 else
27673 CPPFLAGS="$am_save_CPPFLAGS"
27674 LIBICONV=
27675 LTLIBICONV=
27680 if test "$am_cv_func_iconv" = yes; then
27681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27682 $as_echo_n "checking for iconv declaration... " >&6; }
27683 if test "${am_cv_proto_iconv+set}" = set; then :
27684 $as_echo_n "(cached) " >&6
27685 else
27687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27688 /* end confdefs.h. */
27690 #include <stdlib.h>
27691 #include <iconv.h>
27692 extern
27693 #ifdef __cplusplus
27695 #endif
27696 #if defined(__STDC__) || defined(__cplusplus)
27697 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27698 #else
27699 size_t iconv();
27700 #endif
27703 main ()
27707 return 0;
27709 _ACEOF
27710 if ac_fn_c_try_compile "$LINENO"; then :
27711 am_cv_proto_iconv_arg1=""
27712 else
27713 am_cv_proto_iconv_arg1="const"
27715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27716 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);"
27719 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27721 }$am_cv_proto_iconv" >&5
27722 $as_echo "${ac_t:-
27723 }$am_cv_proto_iconv" >&6; }
27725 cat >>confdefs.h <<_ACEOF
27726 #define ICONV_CONST $am_cv_proto_iconv_arg1
27727 _ACEOF
27732 else
27734 # This lets us hard-code the functionality we know we'll have in the cross
27735 # target environment. "Let" is a sugar-coated word placed on an especially
27736 # dull and tedious hack, actually.
27738 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27739 # that involve linking, can't be used:
27740 # "cannot open sim-crt0.o"
27741 # "cannot open crt0.o"
27742 # etc. All this is because there currently exists no unified, consistent
27743 # way for top level CC information to be passed down to target directories:
27744 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27745 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27746 # crosses can be removed.
27748 # If Canadian cross, then don't pick up tools from the build directory.
27749 # Used only in GLIBCXX_EXPORT_INCLUDES.
27750 if test -n "$with_cross_host" &&
27751 test x"$build_alias" != x"$with_cross_host" &&
27752 test x"$build" != x"$target";
27753 then
27754 CANADIAN=yes
27755 else
27756 CANADIAN=no
27759 # Construct crosses by hand, eliminating bits that need ld...
27760 # GLIBCXX_CHECK_MATH_SUPPORT
27762 # First, test for "known" system libraries. We may be using newlib even
27763 # on a hosted environment.
27764 if test "x${with_newlib}" = "xyes"; then
27765 os_include_dir="os/newlib"
27766 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27769 # GLIBCXX_CHECK_STDLIB_SUPPORT
27770 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27773 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27775 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27777 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27779 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27781 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27783 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27785 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27787 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27789 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27791 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27793 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27795 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27797 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27799 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27801 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27803 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27805 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27807 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27809 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27811 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27813 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27815 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27818 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27820 else
27822 # Base decisions on target environment.
27823 case "${host}" in
27824 arm*-*-symbianelf*)
27825 # This is a freestanding configuration; there is nothing to do here.
27828 mips*-sde-elf*)
27829 # These definitions are for the SDE C library rather than newlib.
27830 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27833 # All these tests are for C++; save the language and the compiler flags.
27834 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27835 # found in GLIBCXX_CONFIGURE.
27837 ac_ext=cpp
27838 ac_cpp='$CXXCPP $CPPFLAGS'
27839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27843 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27844 ac_save_CXXFLAGS="$CXXFLAGS"
27846 # Check for maintainer-mode bits.
27847 if test x"$USE_MAINTAINER_MODE" = xno; then
27848 WERROR=''
27849 else
27850 WERROR='-Werror'
27853 # Check for -ffunction-sections -fdata-sections
27854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27855 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27856 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27858 /* end confdefs.h. */
27859 int foo; void bar() { };
27861 main ()
27865 return 0;
27867 _ACEOF
27868 if ac_fn_cxx_try_compile "$LINENO"; then :
27869 ac_fdsections=yes
27870 else
27871 ac_fdsections=no
27873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27874 if test "$ac_test_CXXFLAGS" = set; then
27875 CXXFLAGS="$ac_save_CXXFLAGS"
27876 else
27877 # this is the suspicious part
27878 CXXFLAGS=''
27880 if test x"$ac_fdsections" = x"yes"; then
27881 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27884 $as_echo "$ac_fdsections" >&6; }
27886 ac_ext=c
27887 ac_cpp='$CPP $CPPFLAGS'
27888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27896 # If we're not using GNU ld, then there's no point in even trying these
27897 # tests. Check for that first. We should have already tested for gld
27898 # by now (in libtool), but require it now just to be safe...
27899 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27900 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27904 # The name set by libtool depends on the version of libtool. Shame on us
27905 # for depending on an impl detail, but c'est la vie. Older versions used
27906 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27907 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27908 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27909 # set (hence we're using an older libtool), then set it.
27910 if test x${with_gnu_ld+set} != xset; then
27911 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27912 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27913 with_gnu_ld=no
27914 else
27915 with_gnu_ld=$ac_cv_prog_gnu_ld
27919 # Start by getting the version number. I think the libtool test already
27920 # does some of this, but throws away the result.
27921 glibcxx_ld_is_gold=no
27922 if test x"$with_gnu_ld" = x"yes"; then
27923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27924 $as_echo_n "checking for ld version... " >&6; }
27926 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27927 glibcxx_ld_is_gold=yes
27929 ldver=`$LD --version 2>/dev/null |
27930 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'`
27932 glibcxx_gnu_ld_version=`echo $ldver | \
27933 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27935 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27938 # Set --gc-sections.
27939 glibcxx_have_gc_sections=no
27940 if test "$glibcxx_ld_is_gold" = "yes"; then
27941 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27942 glibcxx_have_gc_sections=yes
27944 else
27945 glibcxx_gcsections_min_ld=21602
27946 if test x"$with_gnu_ld" = x"yes" &&
27947 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27948 glibcxx_have_gc_sections=yes
27951 if test "$glibcxx_have_gc_sections" = "yes"; then
27952 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27953 # NB: This flag only works reliably after 2.16.1. Configure tests
27954 # for this are difficult, so hard wire a value that should work.
27956 ac_test_CFLAGS="${CFLAGS+set}"
27957 ac_save_CFLAGS="$CFLAGS"
27958 CFLAGS='-Wl,--gc-sections'
27960 # Check for -Wl,--gc-sections
27961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27962 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27963 if test x$gcc_no_link = xyes; then
27964 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27967 /* end confdefs.h. */
27968 int one(void) { return 1; }
27969 int two(void) { return 2; }
27972 main ()
27974 two();
27976 return 0;
27978 _ACEOF
27979 if ac_fn_c_try_link "$LINENO"; then :
27980 ac_gcsections=yes
27981 else
27982 ac_gcsections=no
27984 rm -f core conftest.err conftest.$ac_objext \
27985 conftest$ac_exeext conftest.$ac_ext
27986 if test "$ac_gcsections" = "yes"; then
27987 rm -f conftest.c
27988 touch conftest.c
27989 if $CC -c conftest.c; then
27990 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27991 grep "Warning: gc-sections option ignored" > /dev/null; then
27992 ac_gcsections=no
27995 rm -f conftest.c conftest.o conftest
27997 if test "$ac_gcsections" = "yes"; then
27998 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
28000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
28001 $as_echo "$ac_gcsections" >&6; }
28003 if test "$ac_test_CFLAGS" = set; then
28004 CFLAGS="$ac_save_CFLAGS"
28005 else
28006 # this is the suspicious part
28007 CFLAGS=''
28011 # Set -z,relro.
28012 # Note this is only for shared objects.
28013 ac_ld_relro=no
28014 if test x"$with_gnu_ld" = x"yes"; then
28015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
28016 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
28017 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
28018 if test -n "$cxx_z_relo"; then
28019 OPT_LDFLAGS="-Wl,-z,relro"
28020 ac_ld_relro=yes
28022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
28023 $as_echo "$ac_ld_relro" >&6; }
28026 # Set linker optimization flags.
28027 if test x"$with_gnu_ld" = x"yes"; then
28028 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
28035 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28036 ac_save_CXXFLAGS="$CXXFLAGS"
28037 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
28040 $as_echo_n "checking for sin in -lm... " >&6; }
28041 if test "${ac_cv_lib_m_sin+set}" = set; then :
28042 $as_echo_n "(cached) " >&6
28043 else
28044 ac_check_lib_save_LIBS=$LIBS
28045 LIBS="-lm $LIBS"
28046 if test x$gcc_no_link = xyes; then
28047 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28050 /* end confdefs.h. */
28052 /* Override any GCC internal prototype to avoid an error.
28053 Use char because int might match the return type of a GCC
28054 builtin and then its argument prototype would still apply. */
28055 #ifdef __cplusplus
28056 extern "C"
28057 #endif
28058 char sin ();
28060 main ()
28062 return sin ();
28064 return 0;
28066 _ACEOF
28067 if ac_fn_c_try_link "$LINENO"; then :
28068 ac_cv_lib_m_sin=yes
28069 else
28070 ac_cv_lib_m_sin=no
28072 rm -f core conftest.err conftest.$ac_objext \
28073 conftest$ac_exeext conftest.$ac_ext
28074 LIBS=$ac_check_lib_save_LIBS
28076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
28077 $as_echo "$ac_cv_lib_m_sin" >&6; }
28078 if test "x$ac_cv_lib_m_sin" = x""yes; then :
28079 libm="-lm"
28082 ac_save_LIBS="$LIBS"
28083 LIBS="$LIBS $libm"
28087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
28088 $as_echo_n "checking for isinf declaration... " >&6; }
28089 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
28090 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
28091 $as_echo_n "(cached) " >&6
28092 else
28095 ac_ext=cpp
28096 ac_cpp='$CXXCPP $CPPFLAGS'
28097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28102 /* end confdefs.h. */
28103 #include <math.h>
28104 #ifdef HAVE_IEEEFP_H
28105 #include <ieeefp.h>
28106 #endif
28109 main ()
28111 isinf(0);
28113 return 0;
28115 _ACEOF
28116 if ac_fn_cxx_try_compile "$LINENO"; then :
28117 glibcxx_cv_func_isinf_use=yes
28118 else
28119 glibcxx_cv_func_isinf_use=no
28121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28122 ac_ext=c
28123 ac_cpp='$CPP $CPPFLAGS'
28124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
28133 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
28135 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
28136 for ac_func in isinf
28137 do :
28138 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
28139 if test "x$ac_cv_func_isinf" = x""yes; then :
28140 cat >>confdefs.h <<_ACEOF
28141 #define HAVE_ISINF 1
28142 _ACEOF
28145 done
28147 else
28149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
28150 $as_echo_n "checking for _isinf declaration... " >&6; }
28151 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
28152 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
28153 $as_echo_n "(cached) " >&6
28154 else
28157 ac_ext=cpp
28158 ac_cpp='$CXXCPP $CPPFLAGS'
28159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28164 /* end confdefs.h. */
28165 #include <math.h>
28166 #ifdef HAVE_IEEEFP_H
28167 #include <ieeefp.h>
28168 #endif
28171 main ()
28173 _isinf(0);
28175 return 0;
28177 _ACEOF
28178 if ac_fn_cxx_try_compile "$LINENO"; then :
28179 glibcxx_cv_func__isinf_use=yes
28180 else
28181 glibcxx_cv_func__isinf_use=no
28183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28184 ac_ext=c
28185 ac_cpp='$CPP $CPPFLAGS'
28186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
28195 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
28197 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
28198 for ac_func in _isinf
28199 do :
28200 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
28201 if test "x$ac_cv_func__isinf" = x""yes; then :
28202 cat >>confdefs.h <<_ACEOF
28203 #define HAVE__ISINF 1
28204 _ACEOF
28207 done
28216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
28217 $as_echo_n "checking for isnan declaration... " >&6; }
28218 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28219 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
28220 $as_echo_n "(cached) " >&6
28221 else
28224 ac_ext=cpp
28225 ac_cpp='$CXXCPP $CPPFLAGS'
28226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28231 /* end confdefs.h. */
28232 #include <math.h>
28233 #ifdef HAVE_IEEEFP_H
28234 #include <ieeefp.h>
28235 #endif
28238 main ()
28240 isnan(0);
28242 return 0;
28244 _ACEOF
28245 if ac_fn_cxx_try_compile "$LINENO"; then :
28246 glibcxx_cv_func_isnan_use=yes
28247 else
28248 glibcxx_cv_func_isnan_use=no
28250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28251 ac_ext=c
28252 ac_cpp='$CPP $CPPFLAGS'
28253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
28262 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
28264 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28265 for ac_func in isnan
28266 do :
28267 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
28268 if test "x$ac_cv_func_isnan" = x""yes; then :
28269 cat >>confdefs.h <<_ACEOF
28270 #define HAVE_ISNAN 1
28271 _ACEOF
28274 done
28276 else
28278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
28279 $as_echo_n "checking for _isnan declaration... " >&6; }
28280 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28281 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
28282 $as_echo_n "(cached) " >&6
28283 else
28286 ac_ext=cpp
28287 ac_cpp='$CXXCPP $CPPFLAGS'
28288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28293 /* end confdefs.h. */
28294 #include <math.h>
28295 #ifdef HAVE_IEEEFP_H
28296 #include <ieeefp.h>
28297 #endif
28300 main ()
28302 _isnan(0);
28304 return 0;
28306 _ACEOF
28307 if ac_fn_cxx_try_compile "$LINENO"; then :
28308 glibcxx_cv_func__isnan_use=yes
28309 else
28310 glibcxx_cv_func__isnan_use=no
28312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28313 ac_ext=c
28314 ac_cpp='$CPP $CPPFLAGS'
28315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
28324 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
28326 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28327 for ac_func in _isnan
28328 do :
28329 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
28330 if test "x$ac_cv_func__isnan" = x""yes; then :
28331 cat >>confdefs.h <<_ACEOF
28332 #define HAVE__ISNAN 1
28333 _ACEOF
28336 done
28345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
28346 $as_echo_n "checking for finite declaration... " >&6; }
28347 if test x${glibcxx_cv_func_finite_use+set} != xset; then
28348 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
28349 $as_echo_n "(cached) " >&6
28350 else
28353 ac_ext=cpp
28354 ac_cpp='$CXXCPP $CPPFLAGS'
28355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28360 /* end confdefs.h. */
28361 #include <math.h>
28362 #ifdef HAVE_IEEEFP_H
28363 #include <ieeefp.h>
28364 #endif
28367 main ()
28369 finite(0);
28371 return 0;
28373 _ACEOF
28374 if ac_fn_cxx_try_compile "$LINENO"; then :
28375 glibcxx_cv_func_finite_use=yes
28376 else
28377 glibcxx_cv_func_finite_use=no
28379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28380 ac_ext=c
28381 ac_cpp='$CPP $CPPFLAGS'
28382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
28391 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
28393 if test x$glibcxx_cv_func_finite_use = x"yes"; then
28394 for ac_func in finite
28395 do :
28396 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
28397 if test "x$ac_cv_func_finite" = x""yes; then :
28398 cat >>confdefs.h <<_ACEOF
28399 #define HAVE_FINITE 1
28400 _ACEOF
28403 done
28405 else
28407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
28408 $as_echo_n "checking for _finite declaration... " >&6; }
28409 if test x${glibcxx_cv_func__finite_use+set} != xset; then
28410 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
28411 $as_echo_n "(cached) " >&6
28412 else
28415 ac_ext=cpp
28416 ac_cpp='$CXXCPP $CPPFLAGS'
28417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28422 /* end confdefs.h. */
28423 #include <math.h>
28424 #ifdef HAVE_IEEEFP_H
28425 #include <ieeefp.h>
28426 #endif
28429 main ()
28431 _finite(0);
28433 return 0;
28435 _ACEOF
28436 if ac_fn_cxx_try_compile "$LINENO"; then :
28437 glibcxx_cv_func__finite_use=yes
28438 else
28439 glibcxx_cv_func__finite_use=no
28441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28442 ac_ext=c
28443 ac_cpp='$CPP $CPPFLAGS'
28444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
28453 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
28455 if test x$glibcxx_cv_func__finite_use = x"yes"; then
28456 for ac_func in _finite
28457 do :
28458 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
28459 if test "x$ac_cv_func__finite" = x""yes; then :
28460 cat >>confdefs.h <<_ACEOF
28461 #define HAVE__FINITE 1
28462 _ACEOF
28465 done
28474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28475 $as_echo_n "checking for sincos declaration... " >&6; }
28476 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28477 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28478 $as_echo_n "(cached) " >&6
28479 else
28482 ac_ext=cpp
28483 ac_cpp='$CXXCPP $CPPFLAGS'
28484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28489 /* end confdefs.h. */
28490 #include <math.h>
28492 main ()
28494 sincos(0, 0, 0);
28496 return 0;
28498 _ACEOF
28499 if ac_fn_cxx_try_compile "$LINENO"; then :
28500 glibcxx_cv_func_sincos_use=yes
28501 else
28502 glibcxx_cv_func_sincos_use=no
28504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28505 ac_ext=c
28506 ac_cpp='$CPP $CPPFLAGS'
28507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28516 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28518 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28519 for ac_func in sincos
28520 do :
28521 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28522 if test "x$ac_cv_func_sincos" = x""yes; then :
28523 cat >>confdefs.h <<_ACEOF
28524 #define HAVE_SINCOS 1
28525 _ACEOF
28528 done
28530 else
28532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28533 $as_echo_n "checking for _sincos declaration... " >&6; }
28534 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28535 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28536 $as_echo_n "(cached) " >&6
28537 else
28540 ac_ext=cpp
28541 ac_cpp='$CXXCPP $CPPFLAGS'
28542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28547 /* end confdefs.h. */
28548 #include <math.h>
28550 main ()
28552 _sincos(0, 0, 0);
28554 return 0;
28556 _ACEOF
28557 if ac_fn_cxx_try_compile "$LINENO"; then :
28558 glibcxx_cv_func__sincos_use=yes
28559 else
28560 glibcxx_cv_func__sincos_use=no
28562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28563 ac_ext=c
28564 ac_cpp='$CPP $CPPFLAGS'
28565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28574 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28576 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28577 for ac_func in _sincos
28578 do :
28579 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28580 if test "x$ac_cv_func__sincos" = x""yes; then :
28581 cat >>confdefs.h <<_ACEOF
28582 #define HAVE__SINCOS 1
28583 _ACEOF
28586 done
28595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28596 $as_echo_n "checking for fpclass declaration... " >&6; }
28597 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28598 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28599 $as_echo_n "(cached) " >&6
28600 else
28603 ac_ext=cpp
28604 ac_cpp='$CXXCPP $CPPFLAGS'
28605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28610 /* end confdefs.h. */
28611 #include <math.h>
28612 #ifdef HAVE_IEEEFP_H
28613 #include <ieeefp.h>
28614 #endif
28617 main ()
28619 fpclass(0);
28621 return 0;
28623 _ACEOF
28624 if ac_fn_cxx_try_compile "$LINENO"; then :
28625 glibcxx_cv_func_fpclass_use=yes
28626 else
28627 glibcxx_cv_func_fpclass_use=no
28629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28630 ac_ext=c
28631 ac_cpp='$CPP $CPPFLAGS'
28632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28641 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28643 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28644 for ac_func in fpclass
28645 do :
28646 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28647 if test "x$ac_cv_func_fpclass" = x""yes; then :
28648 cat >>confdefs.h <<_ACEOF
28649 #define HAVE_FPCLASS 1
28650 _ACEOF
28653 done
28655 else
28657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28658 $as_echo_n "checking for _fpclass declaration... " >&6; }
28659 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28660 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28661 $as_echo_n "(cached) " >&6
28662 else
28665 ac_ext=cpp
28666 ac_cpp='$CXXCPP $CPPFLAGS'
28667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28672 /* end confdefs.h. */
28673 #include <math.h>
28674 #ifdef HAVE_IEEEFP_H
28675 #include <ieeefp.h>
28676 #endif
28679 main ()
28681 _fpclass(0);
28683 return 0;
28685 _ACEOF
28686 if ac_fn_cxx_try_compile "$LINENO"; then :
28687 glibcxx_cv_func__fpclass_use=yes
28688 else
28689 glibcxx_cv_func__fpclass_use=no
28691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28692 ac_ext=c
28693 ac_cpp='$CPP $CPPFLAGS'
28694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28703 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28705 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28706 for ac_func in _fpclass
28707 do :
28708 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28709 if test "x$ac_cv_func__fpclass" = x""yes; then :
28710 cat >>confdefs.h <<_ACEOF
28711 #define HAVE__FPCLASS 1
28712 _ACEOF
28715 done
28724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28725 $as_echo_n "checking for qfpclass declaration... " >&6; }
28726 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28727 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28728 $as_echo_n "(cached) " >&6
28729 else
28732 ac_ext=cpp
28733 ac_cpp='$CXXCPP $CPPFLAGS'
28734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28739 /* end confdefs.h. */
28740 #include <math.h>
28741 #ifdef HAVE_IEEEFP_H
28742 #include <ieeefp.h>
28743 #endif
28746 main ()
28748 qfpclass(0);
28750 return 0;
28752 _ACEOF
28753 if ac_fn_cxx_try_compile "$LINENO"; then :
28754 glibcxx_cv_func_qfpclass_use=yes
28755 else
28756 glibcxx_cv_func_qfpclass_use=no
28758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28759 ac_ext=c
28760 ac_cpp='$CPP $CPPFLAGS'
28761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28770 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28772 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28773 for ac_func in qfpclass
28774 do :
28775 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28776 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28777 cat >>confdefs.h <<_ACEOF
28778 #define HAVE_QFPCLASS 1
28779 _ACEOF
28782 done
28784 else
28786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28787 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28788 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28789 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28790 $as_echo_n "(cached) " >&6
28791 else
28794 ac_ext=cpp
28795 ac_cpp='$CXXCPP $CPPFLAGS'
28796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28801 /* end confdefs.h. */
28802 #include <math.h>
28803 #ifdef HAVE_IEEEFP_H
28804 #include <ieeefp.h>
28805 #endif
28808 main ()
28810 _qfpclass(0);
28812 return 0;
28814 _ACEOF
28815 if ac_fn_cxx_try_compile "$LINENO"; then :
28816 glibcxx_cv_func__qfpclass_use=yes
28817 else
28818 glibcxx_cv_func__qfpclass_use=no
28820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28821 ac_ext=c
28822 ac_cpp='$CPP $CPPFLAGS'
28823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28832 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28834 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28835 for ac_func in _qfpclass
28836 do :
28837 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28838 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28839 cat >>confdefs.h <<_ACEOF
28840 #define HAVE__QFPCLASS 1
28841 _ACEOF
28844 done
28853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28854 $as_echo_n "checking for hypot declaration... " >&6; }
28855 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28856 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28857 $as_echo_n "(cached) " >&6
28858 else
28861 ac_ext=cpp
28862 ac_cpp='$CXXCPP $CPPFLAGS'
28863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28868 /* end confdefs.h. */
28869 #include <math.h>
28871 main ()
28873 hypot(0, 0);
28875 return 0;
28877 _ACEOF
28878 if ac_fn_cxx_try_compile "$LINENO"; then :
28879 glibcxx_cv_func_hypot_use=yes
28880 else
28881 glibcxx_cv_func_hypot_use=no
28883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28884 ac_ext=c
28885 ac_cpp='$CPP $CPPFLAGS'
28886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28895 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28897 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28898 for ac_func in hypot
28899 do :
28900 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28901 if test "x$ac_cv_func_hypot" = x""yes; then :
28902 cat >>confdefs.h <<_ACEOF
28903 #define HAVE_HYPOT 1
28904 _ACEOF
28907 done
28909 else
28911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28912 $as_echo_n "checking for _hypot declaration... " >&6; }
28913 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28914 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28915 $as_echo_n "(cached) " >&6
28916 else
28919 ac_ext=cpp
28920 ac_cpp='$CXXCPP $CPPFLAGS'
28921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28926 /* end confdefs.h. */
28927 #include <math.h>
28929 main ()
28931 _hypot(0, 0);
28933 return 0;
28935 _ACEOF
28936 if ac_fn_cxx_try_compile "$LINENO"; then :
28937 glibcxx_cv_func__hypot_use=yes
28938 else
28939 glibcxx_cv_func__hypot_use=no
28941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28942 ac_ext=c
28943 ac_cpp='$CPP $CPPFLAGS'
28944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28953 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28955 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28956 for ac_func in _hypot
28957 do :
28958 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28959 if test "x$ac_cv_func__hypot" = x""yes; then :
28960 cat >>confdefs.h <<_ACEOF
28961 #define HAVE__HYPOT 1
28962 _ACEOF
28965 done
28974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28975 $as_echo_n "checking for float trig functions... " >&6; }
28976 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28977 $as_echo_n "(cached) " >&6
28978 else
28981 ac_ext=cpp
28982 ac_cpp='$CXXCPP $CPPFLAGS'
28983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28988 /* end confdefs.h. */
28989 #include <math.h>
28991 main ()
28993 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28995 return 0;
28997 _ACEOF
28998 if ac_fn_cxx_try_compile "$LINENO"; then :
28999 glibcxx_cv_func_float_trig_use=yes
29000 else
29001 glibcxx_cv_func_float_trig_use=no
29003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29004 ac_ext=c
29005 ac_cpp='$CPP $CPPFLAGS'
29006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
29013 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
29014 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
29015 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
29016 do :
29017 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29018 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29019 eval as_val=\$$as_ac_var
29020 if test "x$as_val" = x""yes; then :
29021 cat >>confdefs.h <<_ACEOF
29022 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29023 _ACEOF
29026 done
29028 else
29029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
29030 $as_echo_n "checking for _float trig functions... " >&6; }
29031 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
29032 $as_echo_n "(cached) " >&6
29033 else
29036 ac_ext=cpp
29037 ac_cpp='$CXXCPP $CPPFLAGS'
29038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29043 /* end confdefs.h. */
29044 #include <math.h>
29046 main ()
29048 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
29050 return 0;
29052 _ACEOF
29053 if ac_fn_cxx_try_compile "$LINENO"; then :
29054 glibcxx_cv_func__float_trig_use=yes
29055 else
29056 glibcxx_cv_func__float_trig_use=no
29058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29059 ac_ext=c
29060 ac_cpp='$CPP $CPPFLAGS'
29061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
29068 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
29069 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
29070 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
29071 do :
29072 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29073 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29074 eval as_val=\$$as_ac_var
29075 if test "x$as_val" = x""yes; then :
29076 cat >>confdefs.h <<_ACEOF
29077 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29078 _ACEOF
29081 done
29090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
29091 $as_echo_n "checking for float round functions... " >&6; }
29092 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
29093 $as_echo_n "(cached) " >&6
29094 else
29097 ac_ext=cpp
29098 ac_cpp='$CXXCPP $CPPFLAGS'
29099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29104 /* end confdefs.h. */
29105 #include <math.h>
29107 main ()
29109 ceilf (0); floorf (0);
29111 return 0;
29113 _ACEOF
29114 if ac_fn_cxx_try_compile "$LINENO"; then :
29115 glibcxx_cv_func_float_round_use=yes
29116 else
29117 glibcxx_cv_func_float_round_use=no
29119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29120 ac_ext=c
29121 ac_cpp='$CPP $CPPFLAGS'
29122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
29129 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
29130 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
29131 for ac_func in ceilf floorf
29132 do :
29133 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29134 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29135 eval as_val=\$$as_ac_var
29136 if test "x$as_val" = x""yes; then :
29137 cat >>confdefs.h <<_ACEOF
29138 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29139 _ACEOF
29142 done
29144 else
29145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
29146 $as_echo_n "checking for _float round functions... " >&6; }
29147 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
29148 $as_echo_n "(cached) " >&6
29149 else
29152 ac_ext=cpp
29153 ac_cpp='$CXXCPP $CPPFLAGS'
29154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29159 /* end confdefs.h. */
29160 #include <math.h>
29162 main ()
29164 _ceilf (0); _floorf (0);
29166 return 0;
29168 _ACEOF
29169 if ac_fn_cxx_try_compile "$LINENO"; then :
29170 glibcxx_cv_func__float_round_use=yes
29171 else
29172 glibcxx_cv_func__float_round_use=no
29174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29175 ac_ext=c
29176 ac_cpp='$CPP $CPPFLAGS'
29177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
29184 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
29185 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
29186 for ac_func in _ceilf _floorf
29187 do :
29188 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29189 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29190 eval as_val=\$$as_ac_var
29191 if test "x$as_val" = x""yes; then :
29192 cat >>confdefs.h <<_ACEOF
29193 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29194 _ACEOF
29197 done
29207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
29208 $as_echo_n "checking for expf declaration... " >&6; }
29209 if test x${glibcxx_cv_func_expf_use+set} != xset; then
29210 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
29211 $as_echo_n "(cached) " >&6
29212 else
29215 ac_ext=cpp
29216 ac_cpp='$CXXCPP $CPPFLAGS'
29217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29222 /* end confdefs.h. */
29223 #include <math.h>
29224 #ifdef HAVE_IEEEFP_H
29225 #include <ieeefp.h>
29226 #endif
29229 main ()
29231 expf(0);
29233 return 0;
29235 _ACEOF
29236 if ac_fn_cxx_try_compile "$LINENO"; then :
29237 glibcxx_cv_func_expf_use=yes
29238 else
29239 glibcxx_cv_func_expf_use=no
29241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29242 ac_ext=c
29243 ac_cpp='$CPP $CPPFLAGS'
29244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
29253 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
29255 if test x$glibcxx_cv_func_expf_use = x"yes"; then
29256 for ac_func in expf
29257 do :
29258 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
29259 if test "x$ac_cv_func_expf" = x""yes; then :
29260 cat >>confdefs.h <<_ACEOF
29261 #define HAVE_EXPF 1
29262 _ACEOF
29265 done
29267 else
29269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
29270 $as_echo_n "checking for _expf declaration... " >&6; }
29271 if test x${glibcxx_cv_func__expf_use+set} != xset; then
29272 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
29273 $as_echo_n "(cached) " >&6
29274 else
29277 ac_ext=cpp
29278 ac_cpp='$CXXCPP $CPPFLAGS'
29279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29284 /* end confdefs.h. */
29285 #include <math.h>
29286 #ifdef HAVE_IEEEFP_H
29287 #include <ieeefp.h>
29288 #endif
29291 main ()
29293 _expf(0);
29295 return 0;
29297 _ACEOF
29298 if ac_fn_cxx_try_compile "$LINENO"; then :
29299 glibcxx_cv_func__expf_use=yes
29300 else
29301 glibcxx_cv_func__expf_use=no
29303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29304 ac_ext=c
29305 ac_cpp='$CPP $CPPFLAGS'
29306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
29315 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
29317 if test x$glibcxx_cv_func__expf_use = x"yes"; then
29318 for ac_func in _expf
29319 do :
29320 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
29321 if test "x$ac_cv_func__expf" = x""yes; then :
29322 cat >>confdefs.h <<_ACEOF
29323 #define HAVE__EXPF 1
29324 _ACEOF
29327 done
29336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
29337 $as_echo_n "checking for isnanf declaration... " >&6; }
29338 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
29339 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
29340 $as_echo_n "(cached) " >&6
29341 else
29344 ac_ext=cpp
29345 ac_cpp='$CXXCPP $CPPFLAGS'
29346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29351 /* end confdefs.h. */
29352 #include <math.h>
29353 #ifdef HAVE_IEEEFP_H
29354 #include <ieeefp.h>
29355 #endif
29358 main ()
29360 isnanf(0);
29362 return 0;
29364 _ACEOF
29365 if ac_fn_cxx_try_compile "$LINENO"; then :
29366 glibcxx_cv_func_isnanf_use=yes
29367 else
29368 glibcxx_cv_func_isnanf_use=no
29370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29371 ac_ext=c
29372 ac_cpp='$CPP $CPPFLAGS'
29373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
29382 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
29384 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
29385 for ac_func in isnanf
29386 do :
29387 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
29388 if test "x$ac_cv_func_isnanf" = x""yes; then :
29389 cat >>confdefs.h <<_ACEOF
29390 #define HAVE_ISNANF 1
29391 _ACEOF
29394 done
29396 else
29398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
29399 $as_echo_n "checking for _isnanf declaration... " >&6; }
29400 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
29401 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
29402 $as_echo_n "(cached) " >&6
29403 else
29406 ac_ext=cpp
29407 ac_cpp='$CXXCPP $CPPFLAGS'
29408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29413 /* end confdefs.h. */
29414 #include <math.h>
29415 #ifdef HAVE_IEEEFP_H
29416 #include <ieeefp.h>
29417 #endif
29420 main ()
29422 _isnanf(0);
29424 return 0;
29426 _ACEOF
29427 if ac_fn_cxx_try_compile "$LINENO"; then :
29428 glibcxx_cv_func__isnanf_use=yes
29429 else
29430 glibcxx_cv_func__isnanf_use=no
29432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29433 ac_ext=c
29434 ac_cpp='$CPP $CPPFLAGS'
29435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
29444 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
29446 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
29447 for ac_func in _isnanf
29448 do :
29449 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
29450 if test "x$ac_cv_func__isnanf" = x""yes; then :
29451 cat >>confdefs.h <<_ACEOF
29452 #define HAVE__ISNANF 1
29453 _ACEOF
29456 done
29465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29466 $as_echo_n "checking for isinff declaration... " >&6; }
29467 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29468 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29469 $as_echo_n "(cached) " >&6
29470 else
29473 ac_ext=cpp
29474 ac_cpp='$CXXCPP $CPPFLAGS'
29475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29480 /* end confdefs.h. */
29481 #include <math.h>
29482 #ifdef HAVE_IEEEFP_H
29483 #include <ieeefp.h>
29484 #endif
29487 main ()
29489 isinff(0);
29491 return 0;
29493 _ACEOF
29494 if ac_fn_cxx_try_compile "$LINENO"; then :
29495 glibcxx_cv_func_isinff_use=yes
29496 else
29497 glibcxx_cv_func_isinff_use=no
29499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29500 ac_ext=c
29501 ac_cpp='$CPP $CPPFLAGS'
29502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29511 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29513 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29514 for ac_func in isinff
29515 do :
29516 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29517 if test "x$ac_cv_func_isinff" = x""yes; then :
29518 cat >>confdefs.h <<_ACEOF
29519 #define HAVE_ISINFF 1
29520 _ACEOF
29523 done
29525 else
29527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29528 $as_echo_n "checking for _isinff declaration... " >&6; }
29529 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29530 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29531 $as_echo_n "(cached) " >&6
29532 else
29535 ac_ext=cpp
29536 ac_cpp='$CXXCPP $CPPFLAGS'
29537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29542 /* end confdefs.h. */
29543 #include <math.h>
29544 #ifdef HAVE_IEEEFP_H
29545 #include <ieeefp.h>
29546 #endif
29549 main ()
29551 _isinff(0);
29553 return 0;
29555 _ACEOF
29556 if ac_fn_cxx_try_compile "$LINENO"; then :
29557 glibcxx_cv_func__isinff_use=yes
29558 else
29559 glibcxx_cv_func__isinff_use=no
29561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29562 ac_ext=c
29563 ac_cpp='$CPP $CPPFLAGS'
29564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29573 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29575 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29576 for ac_func in _isinff
29577 do :
29578 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29579 if test "x$ac_cv_func__isinff" = x""yes; then :
29580 cat >>confdefs.h <<_ACEOF
29581 #define HAVE__ISINFF 1
29582 _ACEOF
29585 done
29594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29595 $as_echo_n "checking for atan2f declaration... " >&6; }
29596 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29597 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29598 $as_echo_n "(cached) " >&6
29599 else
29602 ac_ext=cpp
29603 ac_cpp='$CXXCPP $CPPFLAGS'
29604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29609 /* end confdefs.h. */
29610 #include <math.h>
29612 main ()
29614 atan2f(0, 0);
29616 return 0;
29618 _ACEOF
29619 if ac_fn_cxx_try_compile "$LINENO"; then :
29620 glibcxx_cv_func_atan2f_use=yes
29621 else
29622 glibcxx_cv_func_atan2f_use=no
29624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29625 ac_ext=c
29626 ac_cpp='$CPP $CPPFLAGS'
29627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29636 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29638 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29639 for ac_func in atan2f
29640 do :
29641 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29642 if test "x$ac_cv_func_atan2f" = x""yes; then :
29643 cat >>confdefs.h <<_ACEOF
29644 #define HAVE_ATAN2F 1
29645 _ACEOF
29648 done
29650 else
29652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29653 $as_echo_n "checking for _atan2f declaration... " >&6; }
29654 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29655 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29656 $as_echo_n "(cached) " >&6
29657 else
29660 ac_ext=cpp
29661 ac_cpp='$CXXCPP $CPPFLAGS'
29662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29667 /* end confdefs.h. */
29668 #include <math.h>
29670 main ()
29672 _atan2f(0, 0);
29674 return 0;
29676 _ACEOF
29677 if ac_fn_cxx_try_compile "$LINENO"; then :
29678 glibcxx_cv_func__atan2f_use=yes
29679 else
29680 glibcxx_cv_func__atan2f_use=no
29682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29683 ac_ext=c
29684 ac_cpp='$CPP $CPPFLAGS'
29685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29694 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29696 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29697 for ac_func in _atan2f
29698 do :
29699 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29700 if test "x$ac_cv_func__atan2f" = x""yes; then :
29701 cat >>confdefs.h <<_ACEOF
29702 #define HAVE__ATAN2F 1
29703 _ACEOF
29706 done
29715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29716 $as_echo_n "checking for fabsf declaration... " >&6; }
29717 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29718 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29719 $as_echo_n "(cached) " >&6
29720 else
29723 ac_ext=cpp
29724 ac_cpp='$CXXCPP $CPPFLAGS'
29725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29730 /* end confdefs.h. */
29731 #include <math.h>
29732 #ifdef HAVE_IEEEFP_H
29733 #include <ieeefp.h>
29734 #endif
29737 main ()
29739 fabsf(0);
29741 return 0;
29743 _ACEOF
29744 if ac_fn_cxx_try_compile "$LINENO"; then :
29745 glibcxx_cv_func_fabsf_use=yes
29746 else
29747 glibcxx_cv_func_fabsf_use=no
29749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29750 ac_ext=c
29751 ac_cpp='$CPP $CPPFLAGS'
29752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29761 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29763 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29764 for ac_func in fabsf
29765 do :
29766 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29767 if test "x$ac_cv_func_fabsf" = x""yes; then :
29768 cat >>confdefs.h <<_ACEOF
29769 #define HAVE_FABSF 1
29770 _ACEOF
29773 done
29775 else
29777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29778 $as_echo_n "checking for _fabsf declaration... " >&6; }
29779 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29780 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29781 $as_echo_n "(cached) " >&6
29782 else
29785 ac_ext=cpp
29786 ac_cpp='$CXXCPP $CPPFLAGS'
29787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29792 /* end confdefs.h. */
29793 #include <math.h>
29794 #ifdef HAVE_IEEEFP_H
29795 #include <ieeefp.h>
29796 #endif
29799 main ()
29801 _fabsf(0);
29803 return 0;
29805 _ACEOF
29806 if ac_fn_cxx_try_compile "$LINENO"; then :
29807 glibcxx_cv_func__fabsf_use=yes
29808 else
29809 glibcxx_cv_func__fabsf_use=no
29811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29812 ac_ext=c
29813 ac_cpp='$CPP $CPPFLAGS'
29814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29823 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29825 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29826 for ac_func in _fabsf
29827 do :
29828 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29829 if test "x$ac_cv_func__fabsf" = x""yes; then :
29830 cat >>confdefs.h <<_ACEOF
29831 #define HAVE__FABSF 1
29832 _ACEOF
29835 done
29844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29845 $as_echo_n "checking for fmodf declaration... " >&6; }
29846 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29847 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29848 $as_echo_n "(cached) " >&6
29849 else
29852 ac_ext=cpp
29853 ac_cpp='$CXXCPP $CPPFLAGS'
29854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29859 /* end confdefs.h. */
29860 #include <math.h>
29862 main ()
29864 fmodf(0, 0);
29866 return 0;
29868 _ACEOF
29869 if ac_fn_cxx_try_compile "$LINENO"; then :
29870 glibcxx_cv_func_fmodf_use=yes
29871 else
29872 glibcxx_cv_func_fmodf_use=no
29874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29875 ac_ext=c
29876 ac_cpp='$CPP $CPPFLAGS'
29877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29886 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29888 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29889 for ac_func in fmodf
29890 do :
29891 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29892 if test "x$ac_cv_func_fmodf" = x""yes; then :
29893 cat >>confdefs.h <<_ACEOF
29894 #define HAVE_FMODF 1
29895 _ACEOF
29898 done
29900 else
29902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29903 $as_echo_n "checking for _fmodf declaration... " >&6; }
29904 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29905 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29906 $as_echo_n "(cached) " >&6
29907 else
29910 ac_ext=cpp
29911 ac_cpp='$CXXCPP $CPPFLAGS'
29912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29917 /* end confdefs.h. */
29918 #include <math.h>
29920 main ()
29922 _fmodf(0, 0);
29924 return 0;
29926 _ACEOF
29927 if ac_fn_cxx_try_compile "$LINENO"; then :
29928 glibcxx_cv_func__fmodf_use=yes
29929 else
29930 glibcxx_cv_func__fmodf_use=no
29932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29933 ac_ext=c
29934 ac_cpp='$CPP $CPPFLAGS'
29935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29944 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29946 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29947 for ac_func in _fmodf
29948 do :
29949 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29950 if test "x$ac_cv_func__fmodf" = x""yes; then :
29951 cat >>confdefs.h <<_ACEOF
29952 #define HAVE__FMODF 1
29953 _ACEOF
29956 done
29965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29966 $as_echo_n "checking for frexpf declaration... " >&6; }
29967 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29968 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29969 $as_echo_n "(cached) " >&6
29970 else
29973 ac_ext=cpp
29974 ac_cpp='$CXXCPP $CPPFLAGS'
29975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29980 /* end confdefs.h. */
29981 #include <math.h>
29983 main ()
29985 frexpf(0, 0);
29987 return 0;
29989 _ACEOF
29990 if ac_fn_cxx_try_compile "$LINENO"; then :
29991 glibcxx_cv_func_frexpf_use=yes
29992 else
29993 glibcxx_cv_func_frexpf_use=no
29995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29996 ac_ext=c
29997 ac_cpp='$CPP $CPPFLAGS'
29998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
30007 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
30009 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
30010 for ac_func in frexpf
30011 do :
30012 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
30013 if test "x$ac_cv_func_frexpf" = x""yes; then :
30014 cat >>confdefs.h <<_ACEOF
30015 #define HAVE_FREXPF 1
30016 _ACEOF
30019 done
30021 else
30023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
30024 $as_echo_n "checking for _frexpf declaration... " >&6; }
30025 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
30026 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
30027 $as_echo_n "(cached) " >&6
30028 else
30031 ac_ext=cpp
30032 ac_cpp='$CXXCPP $CPPFLAGS'
30033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30038 /* end confdefs.h. */
30039 #include <math.h>
30041 main ()
30043 _frexpf(0, 0);
30045 return 0;
30047 _ACEOF
30048 if ac_fn_cxx_try_compile "$LINENO"; then :
30049 glibcxx_cv_func__frexpf_use=yes
30050 else
30051 glibcxx_cv_func__frexpf_use=no
30053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30054 ac_ext=c
30055 ac_cpp='$CPP $CPPFLAGS'
30056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
30065 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
30067 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
30068 for ac_func in _frexpf
30069 do :
30070 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
30071 if test "x$ac_cv_func__frexpf" = x""yes; then :
30072 cat >>confdefs.h <<_ACEOF
30073 #define HAVE__FREXPF 1
30074 _ACEOF
30077 done
30086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
30087 $as_echo_n "checking for hypotf declaration... " >&6; }
30088 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
30089 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
30090 $as_echo_n "(cached) " >&6
30091 else
30094 ac_ext=cpp
30095 ac_cpp='$CXXCPP $CPPFLAGS'
30096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30101 /* end confdefs.h. */
30102 #include <math.h>
30104 main ()
30106 hypotf(0, 0);
30108 return 0;
30110 _ACEOF
30111 if ac_fn_cxx_try_compile "$LINENO"; then :
30112 glibcxx_cv_func_hypotf_use=yes
30113 else
30114 glibcxx_cv_func_hypotf_use=no
30116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30117 ac_ext=c
30118 ac_cpp='$CPP $CPPFLAGS'
30119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
30128 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
30130 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
30131 for ac_func in hypotf
30132 do :
30133 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
30134 if test "x$ac_cv_func_hypotf" = x""yes; then :
30135 cat >>confdefs.h <<_ACEOF
30136 #define HAVE_HYPOTF 1
30137 _ACEOF
30140 done
30142 else
30144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
30145 $as_echo_n "checking for _hypotf declaration... " >&6; }
30146 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
30147 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
30148 $as_echo_n "(cached) " >&6
30149 else
30152 ac_ext=cpp
30153 ac_cpp='$CXXCPP $CPPFLAGS'
30154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30159 /* end confdefs.h. */
30160 #include <math.h>
30162 main ()
30164 _hypotf(0, 0);
30166 return 0;
30168 _ACEOF
30169 if ac_fn_cxx_try_compile "$LINENO"; then :
30170 glibcxx_cv_func__hypotf_use=yes
30171 else
30172 glibcxx_cv_func__hypotf_use=no
30174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30175 ac_ext=c
30176 ac_cpp='$CPP $CPPFLAGS'
30177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
30186 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
30188 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
30189 for ac_func in _hypotf
30190 do :
30191 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
30192 if test "x$ac_cv_func__hypotf" = x""yes; then :
30193 cat >>confdefs.h <<_ACEOF
30194 #define HAVE__HYPOTF 1
30195 _ACEOF
30198 done
30207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
30208 $as_echo_n "checking for ldexpf declaration... " >&6; }
30209 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30210 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
30211 $as_echo_n "(cached) " >&6
30212 else
30215 ac_ext=cpp
30216 ac_cpp='$CXXCPP $CPPFLAGS'
30217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30222 /* end confdefs.h. */
30223 #include <math.h>
30225 main ()
30227 ldexpf(0, 0);
30229 return 0;
30231 _ACEOF
30232 if ac_fn_cxx_try_compile "$LINENO"; then :
30233 glibcxx_cv_func_ldexpf_use=yes
30234 else
30235 glibcxx_cv_func_ldexpf_use=no
30237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30238 ac_ext=c
30239 ac_cpp='$CPP $CPPFLAGS'
30240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
30249 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
30251 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30252 for ac_func in ldexpf
30253 do :
30254 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
30255 if test "x$ac_cv_func_ldexpf" = x""yes; then :
30256 cat >>confdefs.h <<_ACEOF
30257 #define HAVE_LDEXPF 1
30258 _ACEOF
30261 done
30263 else
30265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
30266 $as_echo_n "checking for _ldexpf declaration... " >&6; }
30267 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30268 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
30269 $as_echo_n "(cached) " >&6
30270 else
30273 ac_ext=cpp
30274 ac_cpp='$CXXCPP $CPPFLAGS'
30275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30280 /* end confdefs.h. */
30281 #include <math.h>
30283 main ()
30285 _ldexpf(0, 0);
30287 return 0;
30289 _ACEOF
30290 if ac_fn_cxx_try_compile "$LINENO"; then :
30291 glibcxx_cv_func__ldexpf_use=yes
30292 else
30293 glibcxx_cv_func__ldexpf_use=no
30295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30296 ac_ext=c
30297 ac_cpp='$CPP $CPPFLAGS'
30298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
30307 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
30309 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30310 for ac_func in _ldexpf
30311 do :
30312 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
30313 if test "x$ac_cv_func__ldexpf" = x""yes; then :
30314 cat >>confdefs.h <<_ACEOF
30315 #define HAVE__LDEXPF 1
30316 _ACEOF
30319 done
30328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
30329 $as_echo_n "checking for logf declaration... " >&6; }
30330 if test x${glibcxx_cv_func_logf_use+set} != xset; then
30331 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
30332 $as_echo_n "(cached) " >&6
30333 else
30336 ac_ext=cpp
30337 ac_cpp='$CXXCPP $CPPFLAGS'
30338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30343 /* end confdefs.h. */
30344 #include <math.h>
30345 #ifdef HAVE_IEEEFP_H
30346 #include <ieeefp.h>
30347 #endif
30350 main ()
30352 logf(0);
30354 return 0;
30356 _ACEOF
30357 if ac_fn_cxx_try_compile "$LINENO"; then :
30358 glibcxx_cv_func_logf_use=yes
30359 else
30360 glibcxx_cv_func_logf_use=no
30362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30363 ac_ext=c
30364 ac_cpp='$CPP $CPPFLAGS'
30365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
30374 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
30376 if test x$glibcxx_cv_func_logf_use = x"yes"; then
30377 for ac_func in logf
30378 do :
30379 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
30380 if test "x$ac_cv_func_logf" = x""yes; then :
30381 cat >>confdefs.h <<_ACEOF
30382 #define HAVE_LOGF 1
30383 _ACEOF
30386 done
30388 else
30390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
30391 $as_echo_n "checking for _logf declaration... " >&6; }
30392 if test x${glibcxx_cv_func__logf_use+set} != xset; then
30393 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
30394 $as_echo_n "(cached) " >&6
30395 else
30398 ac_ext=cpp
30399 ac_cpp='$CXXCPP $CPPFLAGS'
30400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30405 /* end confdefs.h. */
30406 #include <math.h>
30407 #ifdef HAVE_IEEEFP_H
30408 #include <ieeefp.h>
30409 #endif
30412 main ()
30414 _logf(0);
30416 return 0;
30418 _ACEOF
30419 if ac_fn_cxx_try_compile "$LINENO"; then :
30420 glibcxx_cv_func__logf_use=yes
30421 else
30422 glibcxx_cv_func__logf_use=no
30424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30425 ac_ext=c
30426 ac_cpp='$CPP $CPPFLAGS'
30427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
30436 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
30438 if test x$glibcxx_cv_func__logf_use = x"yes"; then
30439 for ac_func in _logf
30440 do :
30441 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
30442 if test "x$ac_cv_func__logf" = x""yes; then :
30443 cat >>confdefs.h <<_ACEOF
30444 #define HAVE__LOGF 1
30445 _ACEOF
30448 done
30457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30458 $as_echo_n "checking for log10f declaration... " >&6; }
30459 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30460 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
30461 $as_echo_n "(cached) " >&6
30462 else
30465 ac_ext=cpp
30466 ac_cpp='$CXXCPP $CPPFLAGS'
30467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30472 /* end confdefs.h. */
30473 #include <math.h>
30474 #ifdef HAVE_IEEEFP_H
30475 #include <ieeefp.h>
30476 #endif
30479 main ()
30481 log10f(0);
30483 return 0;
30485 _ACEOF
30486 if ac_fn_cxx_try_compile "$LINENO"; then :
30487 glibcxx_cv_func_log10f_use=yes
30488 else
30489 glibcxx_cv_func_log10f_use=no
30491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30492 ac_ext=c
30493 ac_cpp='$CPP $CPPFLAGS'
30494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30503 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30505 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30506 for ac_func in log10f
30507 do :
30508 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30509 if test "x$ac_cv_func_log10f" = x""yes; then :
30510 cat >>confdefs.h <<_ACEOF
30511 #define HAVE_LOG10F 1
30512 _ACEOF
30515 done
30517 else
30519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30520 $as_echo_n "checking for _log10f declaration... " >&6; }
30521 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30522 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30523 $as_echo_n "(cached) " >&6
30524 else
30527 ac_ext=cpp
30528 ac_cpp='$CXXCPP $CPPFLAGS'
30529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30534 /* end confdefs.h. */
30535 #include <math.h>
30536 #ifdef HAVE_IEEEFP_H
30537 #include <ieeefp.h>
30538 #endif
30541 main ()
30543 _log10f(0);
30545 return 0;
30547 _ACEOF
30548 if ac_fn_cxx_try_compile "$LINENO"; then :
30549 glibcxx_cv_func__log10f_use=yes
30550 else
30551 glibcxx_cv_func__log10f_use=no
30553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30554 ac_ext=c
30555 ac_cpp='$CPP $CPPFLAGS'
30556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30565 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30567 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30568 for ac_func in _log10f
30569 do :
30570 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30571 if test "x$ac_cv_func__log10f" = x""yes; then :
30572 cat >>confdefs.h <<_ACEOF
30573 #define HAVE__LOG10F 1
30574 _ACEOF
30577 done
30586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30587 $as_echo_n "checking for modff declaration... " >&6; }
30588 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30589 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30590 $as_echo_n "(cached) " >&6
30591 else
30594 ac_ext=cpp
30595 ac_cpp='$CXXCPP $CPPFLAGS'
30596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30601 /* end confdefs.h. */
30602 #include <math.h>
30604 main ()
30606 modff(0, 0);
30608 return 0;
30610 _ACEOF
30611 if ac_fn_cxx_try_compile "$LINENO"; then :
30612 glibcxx_cv_func_modff_use=yes
30613 else
30614 glibcxx_cv_func_modff_use=no
30616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30617 ac_ext=c
30618 ac_cpp='$CPP $CPPFLAGS'
30619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30628 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30630 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30631 for ac_func in modff
30632 do :
30633 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30634 if test "x$ac_cv_func_modff" = x""yes; then :
30635 cat >>confdefs.h <<_ACEOF
30636 #define HAVE_MODFF 1
30637 _ACEOF
30640 done
30642 else
30644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30645 $as_echo_n "checking for _modff declaration... " >&6; }
30646 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30647 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30648 $as_echo_n "(cached) " >&6
30649 else
30652 ac_ext=cpp
30653 ac_cpp='$CXXCPP $CPPFLAGS'
30654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30659 /* end confdefs.h. */
30660 #include <math.h>
30662 main ()
30664 _modff(0, 0);
30666 return 0;
30668 _ACEOF
30669 if ac_fn_cxx_try_compile "$LINENO"; then :
30670 glibcxx_cv_func__modff_use=yes
30671 else
30672 glibcxx_cv_func__modff_use=no
30674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30675 ac_ext=c
30676 ac_cpp='$CPP $CPPFLAGS'
30677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30686 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30688 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30689 for ac_func in _modff
30690 do :
30691 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30692 if test "x$ac_cv_func__modff" = x""yes; then :
30693 cat >>confdefs.h <<_ACEOF
30694 #define HAVE__MODFF 1
30695 _ACEOF
30698 done
30707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30708 $as_echo_n "checking for modf declaration... " >&6; }
30709 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30710 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30711 $as_echo_n "(cached) " >&6
30712 else
30715 ac_ext=cpp
30716 ac_cpp='$CXXCPP $CPPFLAGS'
30717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30722 /* end confdefs.h. */
30723 #include <math.h>
30725 main ()
30727 modf(0, 0);
30729 return 0;
30731 _ACEOF
30732 if ac_fn_cxx_try_compile "$LINENO"; then :
30733 glibcxx_cv_func_modf_use=yes
30734 else
30735 glibcxx_cv_func_modf_use=no
30737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30738 ac_ext=c
30739 ac_cpp='$CPP $CPPFLAGS'
30740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30749 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30751 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30752 for ac_func in modf
30753 do :
30754 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30755 if test "x$ac_cv_func_modf" = x""yes; then :
30756 cat >>confdefs.h <<_ACEOF
30757 #define HAVE_MODF 1
30758 _ACEOF
30761 done
30763 else
30765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30766 $as_echo_n "checking for _modf declaration... " >&6; }
30767 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30768 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30769 $as_echo_n "(cached) " >&6
30770 else
30773 ac_ext=cpp
30774 ac_cpp='$CXXCPP $CPPFLAGS'
30775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30780 /* end confdefs.h. */
30781 #include <math.h>
30783 main ()
30785 _modf(0, 0);
30787 return 0;
30789 _ACEOF
30790 if ac_fn_cxx_try_compile "$LINENO"; then :
30791 glibcxx_cv_func__modf_use=yes
30792 else
30793 glibcxx_cv_func__modf_use=no
30795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30796 ac_ext=c
30797 ac_cpp='$CPP $CPPFLAGS'
30798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30807 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30809 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30810 for ac_func in _modf
30811 do :
30812 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30813 if test "x$ac_cv_func__modf" = x""yes; then :
30814 cat >>confdefs.h <<_ACEOF
30815 #define HAVE__MODF 1
30816 _ACEOF
30819 done
30828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30829 $as_echo_n "checking for powf declaration... " >&6; }
30830 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30831 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30832 $as_echo_n "(cached) " >&6
30833 else
30836 ac_ext=cpp
30837 ac_cpp='$CXXCPP $CPPFLAGS'
30838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30843 /* end confdefs.h. */
30844 #include <math.h>
30846 main ()
30848 powf(0, 0);
30850 return 0;
30852 _ACEOF
30853 if ac_fn_cxx_try_compile "$LINENO"; then :
30854 glibcxx_cv_func_powf_use=yes
30855 else
30856 glibcxx_cv_func_powf_use=no
30858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30859 ac_ext=c
30860 ac_cpp='$CPP $CPPFLAGS'
30861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30870 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30872 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30873 for ac_func in powf
30874 do :
30875 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30876 if test "x$ac_cv_func_powf" = x""yes; then :
30877 cat >>confdefs.h <<_ACEOF
30878 #define HAVE_POWF 1
30879 _ACEOF
30882 done
30884 else
30886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30887 $as_echo_n "checking for _powf declaration... " >&6; }
30888 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30889 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30890 $as_echo_n "(cached) " >&6
30891 else
30894 ac_ext=cpp
30895 ac_cpp='$CXXCPP $CPPFLAGS'
30896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30901 /* end confdefs.h. */
30902 #include <math.h>
30904 main ()
30906 _powf(0, 0);
30908 return 0;
30910 _ACEOF
30911 if ac_fn_cxx_try_compile "$LINENO"; then :
30912 glibcxx_cv_func__powf_use=yes
30913 else
30914 glibcxx_cv_func__powf_use=no
30916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30917 ac_ext=c
30918 ac_cpp='$CPP $CPPFLAGS'
30919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30928 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30930 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30931 for ac_func in _powf
30932 do :
30933 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30934 if test "x$ac_cv_func__powf" = x""yes; then :
30935 cat >>confdefs.h <<_ACEOF
30936 #define HAVE__POWF 1
30937 _ACEOF
30940 done
30949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30950 $as_echo_n "checking for sqrtf declaration... " >&6; }
30951 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30952 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30953 $as_echo_n "(cached) " >&6
30954 else
30957 ac_ext=cpp
30958 ac_cpp='$CXXCPP $CPPFLAGS'
30959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30964 /* end confdefs.h. */
30965 #include <math.h>
30966 #ifdef HAVE_IEEEFP_H
30967 #include <ieeefp.h>
30968 #endif
30971 main ()
30973 sqrtf(0);
30975 return 0;
30977 _ACEOF
30978 if ac_fn_cxx_try_compile "$LINENO"; then :
30979 glibcxx_cv_func_sqrtf_use=yes
30980 else
30981 glibcxx_cv_func_sqrtf_use=no
30983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30984 ac_ext=c
30985 ac_cpp='$CPP $CPPFLAGS'
30986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30995 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30997 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30998 for ac_func in sqrtf
30999 do :
31000 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
31001 if test "x$ac_cv_func_sqrtf" = x""yes; then :
31002 cat >>confdefs.h <<_ACEOF
31003 #define HAVE_SQRTF 1
31004 _ACEOF
31007 done
31009 else
31011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
31012 $as_echo_n "checking for _sqrtf declaration... " >&6; }
31013 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
31014 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
31015 $as_echo_n "(cached) " >&6
31016 else
31019 ac_ext=cpp
31020 ac_cpp='$CXXCPP $CPPFLAGS'
31021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31026 /* end confdefs.h. */
31027 #include <math.h>
31028 #ifdef HAVE_IEEEFP_H
31029 #include <ieeefp.h>
31030 #endif
31033 main ()
31035 _sqrtf(0);
31037 return 0;
31039 _ACEOF
31040 if ac_fn_cxx_try_compile "$LINENO"; then :
31041 glibcxx_cv_func__sqrtf_use=yes
31042 else
31043 glibcxx_cv_func__sqrtf_use=no
31045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31046 ac_ext=c
31047 ac_cpp='$CPP $CPPFLAGS'
31048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
31057 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
31059 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
31060 for ac_func in _sqrtf
31061 do :
31062 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
31063 if test "x$ac_cv_func__sqrtf" = x""yes; then :
31064 cat >>confdefs.h <<_ACEOF
31065 #define HAVE__SQRTF 1
31066 _ACEOF
31069 done
31078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
31079 $as_echo_n "checking for sincosf declaration... " >&6; }
31080 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
31081 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
31082 $as_echo_n "(cached) " >&6
31083 else
31086 ac_ext=cpp
31087 ac_cpp='$CXXCPP $CPPFLAGS'
31088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31093 /* end confdefs.h. */
31094 #include <math.h>
31096 main ()
31098 sincosf(0, 0, 0);
31100 return 0;
31102 _ACEOF
31103 if ac_fn_cxx_try_compile "$LINENO"; then :
31104 glibcxx_cv_func_sincosf_use=yes
31105 else
31106 glibcxx_cv_func_sincosf_use=no
31108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31109 ac_ext=c
31110 ac_cpp='$CPP $CPPFLAGS'
31111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
31120 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
31122 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
31123 for ac_func in sincosf
31124 do :
31125 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
31126 if test "x$ac_cv_func_sincosf" = x""yes; then :
31127 cat >>confdefs.h <<_ACEOF
31128 #define HAVE_SINCOSF 1
31129 _ACEOF
31132 done
31134 else
31136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
31137 $as_echo_n "checking for _sincosf declaration... " >&6; }
31138 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
31139 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
31140 $as_echo_n "(cached) " >&6
31141 else
31144 ac_ext=cpp
31145 ac_cpp='$CXXCPP $CPPFLAGS'
31146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31151 /* end confdefs.h. */
31152 #include <math.h>
31154 main ()
31156 _sincosf(0, 0, 0);
31158 return 0;
31160 _ACEOF
31161 if ac_fn_cxx_try_compile "$LINENO"; then :
31162 glibcxx_cv_func__sincosf_use=yes
31163 else
31164 glibcxx_cv_func__sincosf_use=no
31166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31167 ac_ext=c
31168 ac_cpp='$CPP $CPPFLAGS'
31169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
31178 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
31180 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
31181 for ac_func in _sincosf
31182 do :
31183 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
31184 if test "x$ac_cv_func__sincosf" = x""yes; then :
31185 cat >>confdefs.h <<_ACEOF
31186 #define HAVE__SINCOSF 1
31187 _ACEOF
31190 done
31199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
31200 $as_echo_n "checking for finitef declaration... " >&6; }
31201 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
31202 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
31203 $as_echo_n "(cached) " >&6
31204 else
31207 ac_ext=cpp
31208 ac_cpp='$CXXCPP $CPPFLAGS'
31209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31214 /* end confdefs.h. */
31215 #include <math.h>
31216 #ifdef HAVE_IEEEFP_H
31217 #include <ieeefp.h>
31218 #endif
31221 main ()
31223 finitef(0);
31225 return 0;
31227 _ACEOF
31228 if ac_fn_cxx_try_compile "$LINENO"; then :
31229 glibcxx_cv_func_finitef_use=yes
31230 else
31231 glibcxx_cv_func_finitef_use=no
31233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31234 ac_ext=c
31235 ac_cpp='$CPP $CPPFLAGS'
31236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
31245 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
31247 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
31248 for ac_func in finitef
31249 do :
31250 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
31251 if test "x$ac_cv_func_finitef" = x""yes; then :
31252 cat >>confdefs.h <<_ACEOF
31253 #define HAVE_FINITEF 1
31254 _ACEOF
31257 done
31259 else
31261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
31262 $as_echo_n "checking for _finitef declaration... " >&6; }
31263 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
31264 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
31265 $as_echo_n "(cached) " >&6
31266 else
31269 ac_ext=cpp
31270 ac_cpp='$CXXCPP $CPPFLAGS'
31271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31276 /* end confdefs.h. */
31277 #include <math.h>
31278 #ifdef HAVE_IEEEFP_H
31279 #include <ieeefp.h>
31280 #endif
31283 main ()
31285 _finitef(0);
31287 return 0;
31289 _ACEOF
31290 if ac_fn_cxx_try_compile "$LINENO"; then :
31291 glibcxx_cv_func__finitef_use=yes
31292 else
31293 glibcxx_cv_func__finitef_use=no
31295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31296 ac_ext=c
31297 ac_cpp='$CPP $CPPFLAGS'
31298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
31307 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
31309 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
31310 for ac_func in _finitef
31311 do :
31312 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
31313 if test "x$ac_cv_func__finitef" = x""yes; then :
31314 cat >>confdefs.h <<_ACEOF
31315 #define HAVE__FINITEF 1
31316 _ACEOF
31319 done
31328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
31329 $as_echo_n "checking for long double trig functions... " >&6; }
31330 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
31331 $as_echo_n "(cached) " >&6
31332 else
31335 ac_ext=cpp
31336 ac_cpp='$CXXCPP $CPPFLAGS'
31337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31342 /* end confdefs.h. */
31343 #include <math.h>
31345 main ()
31347 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
31349 return 0;
31351 _ACEOF
31352 if ac_fn_cxx_try_compile "$LINENO"; then :
31353 glibcxx_cv_func_long_double_trig_use=yes
31354 else
31355 glibcxx_cv_func_long_double_trig_use=no
31357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31358 ac_ext=c
31359 ac_cpp='$CPP $CPPFLAGS'
31360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
31367 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
31368 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
31369 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
31370 do :
31371 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31372 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31373 eval as_val=\$$as_ac_var
31374 if test "x$as_val" = x""yes; then :
31375 cat >>confdefs.h <<_ACEOF
31376 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31377 _ACEOF
31380 done
31382 else
31383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
31384 $as_echo_n "checking for _long double trig functions... " >&6; }
31385 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
31386 $as_echo_n "(cached) " >&6
31387 else
31390 ac_ext=cpp
31391 ac_cpp='$CXXCPP $CPPFLAGS'
31392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31397 /* end confdefs.h. */
31398 #include <math.h>
31400 main ()
31402 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
31404 return 0;
31406 _ACEOF
31407 if ac_fn_cxx_try_compile "$LINENO"; then :
31408 glibcxx_cv_func__long_double_trig_use=yes
31409 else
31410 glibcxx_cv_func__long_double_trig_use=no
31412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31413 ac_ext=c
31414 ac_cpp='$CPP $CPPFLAGS'
31415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
31422 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
31423 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
31424 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
31425 do :
31426 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31427 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31428 eval as_val=\$$as_ac_var
31429 if test "x$as_val" = x""yes; then :
31430 cat >>confdefs.h <<_ACEOF
31431 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31432 _ACEOF
31435 done
31444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
31445 $as_echo_n "checking for long double round functions... " >&6; }
31446 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
31447 $as_echo_n "(cached) " >&6
31448 else
31451 ac_ext=cpp
31452 ac_cpp='$CXXCPP $CPPFLAGS'
31453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31458 /* end confdefs.h. */
31459 #include <math.h>
31461 main ()
31463 ceill (0); floorl (0);
31465 return 0;
31467 _ACEOF
31468 if ac_fn_cxx_try_compile "$LINENO"; then :
31469 glibcxx_cv_func_long_double_round_use=yes
31470 else
31471 glibcxx_cv_func_long_double_round_use=no
31473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31474 ac_ext=c
31475 ac_cpp='$CPP $CPPFLAGS'
31476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31483 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31484 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31485 for ac_func in ceill floorl
31486 do :
31487 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31488 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31489 eval as_val=\$$as_ac_var
31490 if test "x$as_val" = x""yes; then :
31491 cat >>confdefs.h <<_ACEOF
31492 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31493 _ACEOF
31496 done
31498 else
31499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31500 $as_echo_n "checking for _long double round functions... " >&6; }
31501 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31502 $as_echo_n "(cached) " >&6
31503 else
31506 ac_ext=cpp
31507 ac_cpp='$CXXCPP $CPPFLAGS'
31508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31513 /* end confdefs.h. */
31514 #include <math.h>
31516 main ()
31518 _ceill (0); _floorl (0);
31520 return 0;
31522 _ACEOF
31523 if ac_fn_cxx_try_compile "$LINENO"; then :
31524 glibcxx_cv_func__long_double_round_use=yes
31525 else
31526 glibcxx_cv_func__long_double_round_use=no
31528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31529 ac_ext=c
31530 ac_cpp='$CPP $CPPFLAGS'
31531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31538 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31539 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31540 for ac_func in _ceill _floorl
31541 do :
31542 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31543 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31544 eval as_val=\$$as_ac_var
31545 if test "x$as_val" = x""yes; then :
31546 cat >>confdefs.h <<_ACEOF
31547 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31548 _ACEOF
31551 done
31561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31562 $as_echo_n "checking for isnanl declaration... " >&6; }
31563 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31564 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31565 $as_echo_n "(cached) " >&6
31566 else
31569 ac_ext=cpp
31570 ac_cpp='$CXXCPP $CPPFLAGS'
31571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31576 /* end confdefs.h. */
31577 #include <math.h>
31578 #ifdef HAVE_IEEEFP_H
31579 #include <ieeefp.h>
31580 #endif
31583 main ()
31585 isnanl(0);
31587 return 0;
31589 _ACEOF
31590 if ac_fn_cxx_try_compile "$LINENO"; then :
31591 glibcxx_cv_func_isnanl_use=yes
31592 else
31593 glibcxx_cv_func_isnanl_use=no
31595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31596 ac_ext=c
31597 ac_cpp='$CPP $CPPFLAGS'
31598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31607 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31609 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31610 for ac_func in isnanl
31611 do :
31612 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31613 if test "x$ac_cv_func_isnanl" = x""yes; then :
31614 cat >>confdefs.h <<_ACEOF
31615 #define HAVE_ISNANL 1
31616 _ACEOF
31619 done
31621 else
31623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31624 $as_echo_n "checking for _isnanl declaration... " >&6; }
31625 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31626 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31627 $as_echo_n "(cached) " >&6
31628 else
31631 ac_ext=cpp
31632 ac_cpp='$CXXCPP $CPPFLAGS'
31633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31638 /* end confdefs.h. */
31639 #include <math.h>
31640 #ifdef HAVE_IEEEFP_H
31641 #include <ieeefp.h>
31642 #endif
31645 main ()
31647 _isnanl(0);
31649 return 0;
31651 _ACEOF
31652 if ac_fn_cxx_try_compile "$LINENO"; then :
31653 glibcxx_cv_func__isnanl_use=yes
31654 else
31655 glibcxx_cv_func__isnanl_use=no
31657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31658 ac_ext=c
31659 ac_cpp='$CPP $CPPFLAGS'
31660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31669 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31671 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31672 for ac_func in _isnanl
31673 do :
31674 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31675 if test "x$ac_cv_func__isnanl" = x""yes; then :
31676 cat >>confdefs.h <<_ACEOF
31677 #define HAVE__ISNANL 1
31678 _ACEOF
31681 done
31690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31691 $as_echo_n "checking for isinfl declaration... " >&6; }
31692 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31693 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31694 $as_echo_n "(cached) " >&6
31695 else
31698 ac_ext=cpp
31699 ac_cpp='$CXXCPP $CPPFLAGS'
31700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31705 /* end confdefs.h. */
31706 #include <math.h>
31707 #ifdef HAVE_IEEEFP_H
31708 #include <ieeefp.h>
31709 #endif
31712 main ()
31714 isinfl(0);
31716 return 0;
31718 _ACEOF
31719 if ac_fn_cxx_try_compile "$LINENO"; then :
31720 glibcxx_cv_func_isinfl_use=yes
31721 else
31722 glibcxx_cv_func_isinfl_use=no
31724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31725 ac_ext=c
31726 ac_cpp='$CPP $CPPFLAGS'
31727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31736 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31738 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31739 for ac_func in isinfl
31740 do :
31741 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31742 if test "x$ac_cv_func_isinfl" = x""yes; then :
31743 cat >>confdefs.h <<_ACEOF
31744 #define HAVE_ISINFL 1
31745 _ACEOF
31748 done
31750 else
31752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31753 $as_echo_n "checking for _isinfl declaration... " >&6; }
31754 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31755 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31756 $as_echo_n "(cached) " >&6
31757 else
31760 ac_ext=cpp
31761 ac_cpp='$CXXCPP $CPPFLAGS'
31762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31767 /* end confdefs.h. */
31768 #include <math.h>
31769 #ifdef HAVE_IEEEFP_H
31770 #include <ieeefp.h>
31771 #endif
31774 main ()
31776 _isinfl(0);
31778 return 0;
31780 _ACEOF
31781 if ac_fn_cxx_try_compile "$LINENO"; then :
31782 glibcxx_cv_func__isinfl_use=yes
31783 else
31784 glibcxx_cv_func__isinfl_use=no
31786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31787 ac_ext=c
31788 ac_cpp='$CPP $CPPFLAGS'
31789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31798 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31800 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31801 for ac_func in _isinfl
31802 do :
31803 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31804 if test "x$ac_cv_func__isinfl" = x""yes; then :
31805 cat >>confdefs.h <<_ACEOF
31806 #define HAVE__ISINFL 1
31807 _ACEOF
31810 done
31819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31820 $as_echo_n "checking for atan2l declaration... " >&6; }
31821 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31822 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31823 $as_echo_n "(cached) " >&6
31824 else
31827 ac_ext=cpp
31828 ac_cpp='$CXXCPP $CPPFLAGS'
31829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31834 /* end confdefs.h. */
31835 #include <math.h>
31837 main ()
31839 atan2l(0, 0);
31841 return 0;
31843 _ACEOF
31844 if ac_fn_cxx_try_compile "$LINENO"; then :
31845 glibcxx_cv_func_atan2l_use=yes
31846 else
31847 glibcxx_cv_func_atan2l_use=no
31849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31850 ac_ext=c
31851 ac_cpp='$CPP $CPPFLAGS'
31852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31861 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31863 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31864 for ac_func in atan2l
31865 do :
31866 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31867 if test "x$ac_cv_func_atan2l" = x""yes; then :
31868 cat >>confdefs.h <<_ACEOF
31869 #define HAVE_ATAN2L 1
31870 _ACEOF
31873 done
31875 else
31877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31878 $as_echo_n "checking for _atan2l declaration... " >&6; }
31879 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31880 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31881 $as_echo_n "(cached) " >&6
31882 else
31885 ac_ext=cpp
31886 ac_cpp='$CXXCPP $CPPFLAGS'
31887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31892 /* end confdefs.h. */
31893 #include <math.h>
31895 main ()
31897 _atan2l(0, 0);
31899 return 0;
31901 _ACEOF
31902 if ac_fn_cxx_try_compile "$LINENO"; then :
31903 glibcxx_cv_func__atan2l_use=yes
31904 else
31905 glibcxx_cv_func__atan2l_use=no
31907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31908 ac_ext=c
31909 ac_cpp='$CPP $CPPFLAGS'
31910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31919 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31921 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31922 for ac_func in _atan2l
31923 do :
31924 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31925 if test "x$ac_cv_func__atan2l" = x""yes; then :
31926 cat >>confdefs.h <<_ACEOF
31927 #define HAVE__ATAN2L 1
31928 _ACEOF
31931 done
31940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31941 $as_echo_n "checking for expl declaration... " >&6; }
31942 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31943 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31944 $as_echo_n "(cached) " >&6
31945 else
31948 ac_ext=cpp
31949 ac_cpp='$CXXCPP $CPPFLAGS'
31950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31955 /* end confdefs.h. */
31956 #include <math.h>
31957 #ifdef HAVE_IEEEFP_H
31958 #include <ieeefp.h>
31959 #endif
31962 main ()
31964 expl(0);
31966 return 0;
31968 _ACEOF
31969 if ac_fn_cxx_try_compile "$LINENO"; then :
31970 glibcxx_cv_func_expl_use=yes
31971 else
31972 glibcxx_cv_func_expl_use=no
31974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31975 ac_ext=c
31976 ac_cpp='$CPP $CPPFLAGS'
31977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31986 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31988 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31989 for ac_func in expl
31990 do :
31991 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31992 if test "x$ac_cv_func_expl" = x""yes; then :
31993 cat >>confdefs.h <<_ACEOF
31994 #define HAVE_EXPL 1
31995 _ACEOF
31998 done
32000 else
32002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
32003 $as_echo_n "checking for _expl declaration... " >&6; }
32004 if test x${glibcxx_cv_func__expl_use+set} != xset; then
32005 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
32006 $as_echo_n "(cached) " >&6
32007 else
32010 ac_ext=cpp
32011 ac_cpp='$CXXCPP $CPPFLAGS'
32012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32017 /* end confdefs.h. */
32018 #include <math.h>
32019 #ifdef HAVE_IEEEFP_H
32020 #include <ieeefp.h>
32021 #endif
32024 main ()
32026 _expl(0);
32028 return 0;
32030 _ACEOF
32031 if ac_fn_cxx_try_compile "$LINENO"; then :
32032 glibcxx_cv_func__expl_use=yes
32033 else
32034 glibcxx_cv_func__expl_use=no
32036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32037 ac_ext=c
32038 ac_cpp='$CPP $CPPFLAGS'
32039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
32048 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
32050 if test x$glibcxx_cv_func__expl_use = x"yes"; then
32051 for ac_func in _expl
32052 do :
32053 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
32054 if test "x$ac_cv_func__expl" = x""yes; then :
32055 cat >>confdefs.h <<_ACEOF
32056 #define HAVE__EXPL 1
32057 _ACEOF
32060 done
32069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
32070 $as_echo_n "checking for fabsl declaration... " >&6; }
32071 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
32072 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
32073 $as_echo_n "(cached) " >&6
32074 else
32077 ac_ext=cpp
32078 ac_cpp='$CXXCPP $CPPFLAGS'
32079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32084 /* end confdefs.h. */
32085 #include <math.h>
32086 #ifdef HAVE_IEEEFP_H
32087 #include <ieeefp.h>
32088 #endif
32091 main ()
32093 fabsl(0);
32095 return 0;
32097 _ACEOF
32098 if ac_fn_cxx_try_compile "$LINENO"; then :
32099 glibcxx_cv_func_fabsl_use=yes
32100 else
32101 glibcxx_cv_func_fabsl_use=no
32103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32104 ac_ext=c
32105 ac_cpp='$CPP $CPPFLAGS'
32106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
32115 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
32117 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
32118 for ac_func in fabsl
32119 do :
32120 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
32121 if test "x$ac_cv_func_fabsl" = x""yes; then :
32122 cat >>confdefs.h <<_ACEOF
32123 #define HAVE_FABSL 1
32124 _ACEOF
32127 done
32129 else
32131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
32132 $as_echo_n "checking for _fabsl declaration... " >&6; }
32133 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
32134 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
32135 $as_echo_n "(cached) " >&6
32136 else
32139 ac_ext=cpp
32140 ac_cpp='$CXXCPP $CPPFLAGS'
32141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32146 /* end confdefs.h. */
32147 #include <math.h>
32148 #ifdef HAVE_IEEEFP_H
32149 #include <ieeefp.h>
32150 #endif
32153 main ()
32155 _fabsl(0);
32157 return 0;
32159 _ACEOF
32160 if ac_fn_cxx_try_compile "$LINENO"; then :
32161 glibcxx_cv_func__fabsl_use=yes
32162 else
32163 glibcxx_cv_func__fabsl_use=no
32165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32166 ac_ext=c
32167 ac_cpp='$CPP $CPPFLAGS'
32168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
32177 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
32179 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
32180 for ac_func in _fabsl
32181 do :
32182 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
32183 if test "x$ac_cv_func__fabsl" = x""yes; then :
32184 cat >>confdefs.h <<_ACEOF
32185 #define HAVE__FABSL 1
32186 _ACEOF
32189 done
32198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
32199 $as_echo_n "checking for fmodl declaration... " >&6; }
32200 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
32201 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
32202 $as_echo_n "(cached) " >&6
32203 else
32206 ac_ext=cpp
32207 ac_cpp='$CXXCPP $CPPFLAGS'
32208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32213 /* end confdefs.h. */
32214 #include <math.h>
32216 main ()
32218 fmodl(0, 0);
32220 return 0;
32222 _ACEOF
32223 if ac_fn_cxx_try_compile "$LINENO"; then :
32224 glibcxx_cv_func_fmodl_use=yes
32225 else
32226 glibcxx_cv_func_fmodl_use=no
32228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32229 ac_ext=c
32230 ac_cpp='$CPP $CPPFLAGS'
32231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
32240 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
32242 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32243 for ac_func in fmodl
32244 do :
32245 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
32246 if test "x$ac_cv_func_fmodl" = x""yes; then :
32247 cat >>confdefs.h <<_ACEOF
32248 #define HAVE_FMODL 1
32249 _ACEOF
32252 done
32254 else
32256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
32257 $as_echo_n "checking for _fmodl declaration... " >&6; }
32258 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32259 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
32260 $as_echo_n "(cached) " >&6
32261 else
32264 ac_ext=cpp
32265 ac_cpp='$CXXCPP $CPPFLAGS'
32266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32271 /* end confdefs.h. */
32272 #include <math.h>
32274 main ()
32276 _fmodl(0, 0);
32278 return 0;
32280 _ACEOF
32281 if ac_fn_cxx_try_compile "$LINENO"; then :
32282 glibcxx_cv_func__fmodl_use=yes
32283 else
32284 glibcxx_cv_func__fmodl_use=no
32286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32287 ac_ext=c
32288 ac_cpp='$CPP $CPPFLAGS'
32289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
32298 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
32300 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32301 for ac_func in _fmodl
32302 do :
32303 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
32304 if test "x$ac_cv_func__fmodl" = x""yes; then :
32305 cat >>confdefs.h <<_ACEOF
32306 #define HAVE__FMODL 1
32307 _ACEOF
32310 done
32319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
32320 $as_echo_n "checking for frexpl declaration... " >&6; }
32321 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32322 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
32323 $as_echo_n "(cached) " >&6
32324 else
32327 ac_ext=cpp
32328 ac_cpp='$CXXCPP $CPPFLAGS'
32329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32334 /* end confdefs.h. */
32335 #include <math.h>
32337 main ()
32339 frexpl(0, 0);
32341 return 0;
32343 _ACEOF
32344 if ac_fn_cxx_try_compile "$LINENO"; then :
32345 glibcxx_cv_func_frexpl_use=yes
32346 else
32347 glibcxx_cv_func_frexpl_use=no
32349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32350 ac_ext=c
32351 ac_cpp='$CPP $CPPFLAGS'
32352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
32361 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
32363 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32364 for ac_func in frexpl
32365 do :
32366 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
32367 if test "x$ac_cv_func_frexpl" = x""yes; then :
32368 cat >>confdefs.h <<_ACEOF
32369 #define HAVE_FREXPL 1
32370 _ACEOF
32373 done
32375 else
32377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
32378 $as_echo_n "checking for _frexpl declaration... " >&6; }
32379 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32380 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
32381 $as_echo_n "(cached) " >&6
32382 else
32385 ac_ext=cpp
32386 ac_cpp='$CXXCPP $CPPFLAGS'
32387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32392 /* end confdefs.h. */
32393 #include <math.h>
32395 main ()
32397 _frexpl(0, 0);
32399 return 0;
32401 _ACEOF
32402 if ac_fn_cxx_try_compile "$LINENO"; then :
32403 glibcxx_cv_func__frexpl_use=yes
32404 else
32405 glibcxx_cv_func__frexpl_use=no
32407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32408 ac_ext=c
32409 ac_cpp='$CPP $CPPFLAGS'
32410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
32419 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
32421 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32422 for ac_func in _frexpl
32423 do :
32424 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
32425 if test "x$ac_cv_func__frexpl" = x""yes; then :
32426 cat >>confdefs.h <<_ACEOF
32427 #define HAVE__FREXPL 1
32428 _ACEOF
32431 done
32440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
32441 $as_echo_n "checking for hypotl declaration... " >&6; }
32442 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32443 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
32444 $as_echo_n "(cached) " >&6
32445 else
32448 ac_ext=cpp
32449 ac_cpp='$CXXCPP $CPPFLAGS'
32450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32455 /* end confdefs.h. */
32456 #include <math.h>
32458 main ()
32460 hypotl(0, 0);
32462 return 0;
32464 _ACEOF
32465 if ac_fn_cxx_try_compile "$LINENO"; then :
32466 glibcxx_cv_func_hypotl_use=yes
32467 else
32468 glibcxx_cv_func_hypotl_use=no
32470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32471 ac_ext=c
32472 ac_cpp='$CPP $CPPFLAGS'
32473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32482 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32484 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32485 for ac_func in hypotl
32486 do :
32487 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32488 if test "x$ac_cv_func_hypotl" = x""yes; then :
32489 cat >>confdefs.h <<_ACEOF
32490 #define HAVE_HYPOTL 1
32491 _ACEOF
32494 done
32496 else
32498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32499 $as_echo_n "checking for _hypotl declaration... " >&6; }
32500 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32501 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32502 $as_echo_n "(cached) " >&6
32503 else
32506 ac_ext=cpp
32507 ac_cpp='$CXXCPP $CPPFLAGS'
32508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32513 /* end confdefs.h. */
32514 #include <math.h>
32516 main ()
32518 _hypotl(0, 0);
32520 return 0;
32522 _ACEOF
32523 if ac_fn_cxx_try_compile "$LINENO"; then :
32524 glibcxx_cv_func__hypotl_use=yes
32525 else
32526 glibcxx_cv_func__hypotl_use=no
32528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32529 ac_ext=c
32530 ac_cpp='$CPP $CPPFLAGS'
32531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32540 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32542 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32543 for ac_func in _hypotl
32544 do :
32545 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32546 if test "x$ac_cv_func__hypotl" = x""yes; then :
32547 cat >>confdefs.h <<_ACEOF
32548 #define HAVE__HYPOTL 1
32549 _ACEOF
32552 done
32561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32562 $as_echo_n "checking for ldexpl declaration... " >&6; }
32563 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32564 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32565 $as_echo_n "(cached) " >&6
32566 else
32569 ac_ext=cpp
32570 ac_cpp='$CXXCPP $CPPFLAGS'
32571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32576 /* end confdefs.h. */
32577 #include <math.h>
32579 main ()
32581 ldexpl(0, 0);
32583 return 0;
32585 _ACEOF
32586 if ac_fn_cxx_try_compile "$LINENO"; then :
32587 glibcxx_cv_func_ldexpl_use=yes
32588 else
32589 glibcxx_cv_func_ldexpl_use=no
32591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32592 ac_ext=c
32593 ac_cpp='$CPP $CPPFLAGS'
32594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32603 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32605 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32606 for ac_func in ldexpl
32607 do :
32608 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32609 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32610 cat >>confdefs.h <<_ACEOF
32611 #define HAVE_LDEXPL 1
32612 _ACEOF
32615 done
32617 else
32619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32620 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32621 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32622 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32623 $as_echo_n "(cached) " >&6
32624 else
32627 ac_ext=cpp
32628 ac_cpp='$CXXCPP $CPPFLAGS'
32629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32634 /* end confdefs.h. */
32635 #include <math.h>
32637 main ()
32639 _ldexpl(0, 0);
32641 return 0;
32643 _ACEOF
32644 if ac_fn_cxx_try_compile "$LINENO"; then :
32645 glibcxx_cv_func__ldexpl_use=yes
32646 else
32647 glibcxx_cv_func__ldexpl_use=no
32649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32650 ac_ext=c
32651 ac_cpp='$CPP $CPPFLAGS'
32652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32661 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32663 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32664 for ac_func in _ldexpl
32665 do :
32666 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32667 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32668 cat >>confdefs.h <<_ACEOF
32669 #define HAVE__LDEXPL 1
32670 _ACEOF
32673 done
32682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32683 $as_echo_n "checking for logl declaration... " >&6; }
32684 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32685 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32686 $as_echo_n "(cached) " >&6
32687 else
32690 ac_ext=cpp
32691 ac_cpp='$CXXCPP $CPPFLAGS'
32692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32697 /* end confdefs.h. */
32698 #include <math.h>
32699 #ifdef HAVE_IEEEFP_H
32700 #include <ieeefp.h>
32701 #endif
32704 main ()
32706 logl(0);
32708 return 0;
32710 _ACEOF
32711 if ac_fn_cxx_try_compile "$LINENO"; then :
32712 glibcxx_cv_func_logl_use=yes
32713 else
32714 glibcxx_cv_func_logl_use=no
32716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32717 ac_ext=c
32718 ac_cpp='$CPP $CPPFLAGS'
32719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32728 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32730 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32731 for ac_func in logl
32732 do :
32733 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32734 if test "x$ac_cv_func_logl" = x""yes; then :
32735 cat >>confdefs.h <<_ACEOF
32736 #define HAVE_LOGL 1
32737 _ACEOF
32740 done
32742 else
32744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32745 $as_echo_n "checking for _logl declaration... " >&6; }
32746 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32747 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32748 $as_echo_n "(cached) " >&6
32749 else
32752 ac_ext=cpp
32753 ac_cpp='$CXXCPP $CPPFLAGS'
32754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32759 /* end confdefs.h. */
32760 #include <math.h>
32761 #ifdef HAVE_IEEEFP_H
32762 #include <ieeefp.h>
32763 #endif
32766 main ()
32768 _logl(0);
32770 return 0;
32772 _ACEOF
32773 if ac_fn_cxx_try_compile "$LINENO"; then :
32774 glibcxx_cv_func__logl_use=yes
32775 else
32776 glibcxx_cv_func__logl_use=no
32778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32779 ac_ext=c
32780 ac_cpp='$CPP $CPPFLAGS'
32781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32790 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32792 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32793 for ac_func in _logl
32794 do :
32795 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32796 if test "x$ac_cv_func__logl" = x""yes; then :
32797 cat >>confdefs.h <<_ACEOF
32798 #define HAVE__LOGL 1
32799 _ACEOF
32802 done
32811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32812 $as_echo_n "checking for log10l declaration... " >&6; }
32813 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32814 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32815 $as_echo_n "(cached) " >&6
32816 else
32819 ac_ext=cpp
32820 ac_cpp='$CXXCPP $CPPFLAGS'
32821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32826 /* end confdefs.h. */
32827 #include <math.h>
32828 #ifdef HAVE_IEEEFP_H
32829 #include <ieeefp.h>
32830 #endif
32833 main ()
32835 log10l(0);
32837 return 0;
32839 _ACEOF
32840 if ac_fn_cxx_try_compile "$LINENO"; then :
32841 glibcxx_cv_func_log10l_use=yes
32842 else
32843 glibcxx_cv_func_log10l_use=no
32845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32846 ac_ext=c
32847 ac_cpp='$CPP $CPPFLAGS'
32848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32857 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32859 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32860 for ac_func in log10l
32861 do :
32862 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32863 if test "x$ac_cv_func_log10l" = x""yes; then :
32864 cat >>confdefs.h <<_ACEOF
32865 #define HAVE_LOG10L 1
32866 _ACEOF
32869 done
32871 else
32873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32874 $as_echo_n "checking for _log10l declaration... " >&6; }
32875 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32876 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32877 $as_echo_n "(cached) " >&6
32878 else
32881 ac_ext=cpp
32882 ac_cpp='$CXXCPP $CPPFLAGS'
32883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32888 /* end confdefs.h. */
32889 #include <math.h>
32890 #ifdef HAVE_IEEEFP_H
32891 #include <ieeefp.h>
32892 #endif
32895 main ()
32897 _log10l(0);
32899 return 0;
32901 _ACEOF
32902 if ac_fn_cxx_try_compile "$LINENO"; then :
32903 glibcxx_cv_func__log10l_use=yes
32904 else
32905 glibcxx_cv_func__log10l_use=no
32907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32908 ac_ext=c
32909 ac_cpp='$CPP $CPPFLAGS'
32910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32919 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32921 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32922 for ac_func in _log10l
32923 do :
32924 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32925 if test "x$ac_cv_func__log10l" = x""yes; then :
32926 cat >>confdefs.h <<_ACEOF
32927 #define HAVE__LOG10L 1
32928 _ACEOF
32931 done
32940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32941 $as_echo_n "checking for modfl declaration... " >&6; }
32942 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32943 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32944 $as_echo_n "(cached) " >&6
32945 else
32948 ac_ext=cpp
32949 ac_cpp='$CXXCPP $CPPFLAGS'
32950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32955 /* end confdefs.h. */
32956 #include <math.h>
32958 main ()
32960 modfl(0, 0);
32962 return 0;
32964 _ACEOF
32965 if ac_fn_cxx_try_compile "$LINENO"; then :
32966 glibcxx_cv_func_modfl_use=yes
32967 else
32968 glibcxx_cv_func_modfl_use=no
32970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32971 ac_ext=c
32972 ac_cpp='$CPP $CPPFLAGS'
32973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32982 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32984 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32985 for ac_func in modfl
32986 do :
32987 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32988 if test "x$ac_cv_func_modfl" = x""yes; then :
32989 cat >>confdefs.h <<_ACEOF
32990 #define HAVE_MODFL 1
32991 _ACEOF
32994 done
32996 else
32998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32999 $as_echo_n "checking for _modfl declaration... " >&6; }
33000 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
33001 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
33002 $as_echo_n "(cached) " >&6
33003 else
33006 ac_ext=cpp
33007 ac_cpp='$CXXCPP $CPPFLAGS'
33008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33013 /* end confdefs.h. */
33014 #include <math.h>
33016 main ()
33018 _modfl(0, 0);
33020 return 0;
33022 _ACEOF
33023 if ac_fn_cxx_try_compile "$LINENO"; then :
33024 glibcxx_cv_func__modfl_use=yes
33025 else
33026 glibcxx_cv_func__modfl_use=no
33028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33029 ac_ext=c
33030 ac_cpp='$CPP $CPPFLAGS'
33031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
33040 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
33042 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
33043 for ac_func in _modfl
33044 do :
33045 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
33046 if test "x$ac_cv_func__modfl" = x""yes; then :
33047 cat >>confdefs.h <<_ACEOF
33048 #define HAVE__MODFL 1
33049 _ACEOF
33052 done
33061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
33062 $as_echo_n "checking for powl declaration... " >&6; }
33063 if test x${glibcxx_cv_func_powl_use+set} != xset; then
33064 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
33065 $as_echo_n "(cached) " >&6
33066 else
33069 ac_ext=cpp
33070 ac_cpp='$CXXCPP $CPPFLAGS'
33071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33076 /* end confdefs.h. */
33077 #include <math.h>
33079 main ()
33081 powl(0, 0);
33083 return 0;
33085 _ACEOF
33086 if ac_fn_cxx_try_compile "$LINENO"; then :
33087 glibcxx_cv_func_powl_use=yes
33088 else
33089 glibcxx_cv_func_powl_use=no
33091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33092 ac_ext=c
33093 ac_cpp='$CPP $CPPFLAGS'
33094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
33103 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
33105 if test x$glibcxx_cv_func_powl_use = x"yes"; then
33106 for ac_func in powl
33107 do :
33108 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
33109 if test "x$ac_cv_func_powl" = x""yes; then :
33110 cat >>confdefs.h <<_ACEOF
33111 #define HAVE_POWL 1
33112 _ACEOF
33115 done
33117 else
33119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
33120 $as_echo_n "checking for _powl declaration... " >&6; }
33121 if test x${glibcxx_cv_func__powl_use+set} != xset; then
33122 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
33123 $as_echo_n "(cached) " >&6
33124 else
33127 ac_ext=cpp
33128 ac_cpp='$CXXCPP $CPPFLAGS'
33129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33134 /* end confdefs.h. */
33135 #include <math.h>
33137 main ()
33139 _powl(0, 0);
33141 return 0;
33143 _ACEOF
33144 if ac_fn_cxx_try_compile "$LINENO"; then :
33145 glibcxx_cv_func__powl_use=yes
33146 else
33147 glibcxx_cv_func__powl_use=no
33149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33150 ac_ext=c
33151 ac_cpp='$CPP $CPPFLAGS'
33152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
33161 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
33163 if test x$glibcxx_cv_func__powl_use = x"yes"; then
33164 for ac_func in _powl
33165 do :
33166 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
33167 if test "x$ac_cv_func__powl" = x""yes; then :
33168 cat >>confdefs.h <<_ACEOF
33169 #define HAVE__POWL 1
33170 _ACEOF
33173 done
33182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
33183 $as_echo_n "checking for sqrtl declaration... " >&6; }
33184 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
33185 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
33186 $as_echo_n "(cached) " >&6
33187 else
33190 ac_ext=cpp
33191 ac_cpp='$CXXCPP $CPPFLAGS'
33192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33197 /* end confdefs.h. */
33198 #include <math.h>
33199 #ifdef HAVE_IEEEFP_H
33200 #include <ieeefp.h>
33201 #endif
33204 main ()
33206 sqrtl(0);
33208 return 0;
33210 _ACEOF
33211 if ac_fn_cxx_try_compile "$LINENO"; then :
33212 glibcxx_cv_func_sqrtl_use=yes
33213 else
33214 glibcxx_cv_func_sqrtl_use=no
33216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33217 ac_ext=c
33218 ac_cpp='$CPP $CPPFLAGS'
33219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
33228 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
33230 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
33231 for ac_func in sqrtl
33232 do :
33233 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
33234 if test "x$ac_cv_func_sqrtl" = x""yes; then :
33235 cat >>confdefs.h <<_ACEOF
33236 #define HAVE_SQRTL 1
33237 _ACEOF
33240 done
33242 else
33244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
33245 $as_echo_n "checking for _sqrtl declaration... " >&6; }
33246 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
33247 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
33248 $as_echo_n "(cached) " >&6
33249 else
33252 ac_ext=cpp
33253 ac_cpp='$CXXCPP $CPPFLAGS'
33254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33259 /* end confdefs.h. */
33260 #include <math.h>
33261 #ifdef HAVE_IEEEFP_H
33262 #include <ieeefp.h>
33263 #endif
33266 main ()
33268 _sqrtl(0);
33270 return 0;
33272 _ACEOF
33273 if ac_fn_cxx_try_compile "$LINENO"; then :
33274 glibcxx_cv_func__sqrtl_use=yes
33275 else
33276 glibcxx_cv_func__sqrtl_use=no
33278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33279 ac_ext=c
33280 ac_cpp='$CPP $CPPFLAGS'
33281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
33290 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
33292 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
33293 for ac_func in _sqrtl
33294 do :
33295 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
33296 if test "x$ac_cv_func__sqrtl" = x""yes; then :
33297 cat >>confdefs.h <<_ACEOF
33298 #define HAVE__SQRTL 1
33299 _ACEOF
33302 done
33311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
33312 $as_echo_n "checking for sincosl declaration... " >&6; }
33313 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
33314 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
33315 $as_echo_n "(cached) " >&6
33316 else
33319 ac_ext=cpp
33320 ac_cpp='$CXXCPP $CPPFLAGS'
33321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33326 /* end confdefs.h. */
33327 #include <math.h>
33329 main ()
33331 sincosl(0, 0, 0);
33333 return 0;
33335 _ACEOF
33336 if ac_fn_cxx_try_compile "$LINENO"; then :
33337 glibcxx_cv_func_sincosl_use=yes
33338 else
33339 glibcxx_cv_func_sincosl_use=no
33341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33342 ac_ext=c
33343 ac_cpp='$CPP $CPPFLAGS'
33344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
33353 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
33355 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
33356 for ac_func in sincosl
33357 do :
33358 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
33359 if test "x$ac_cv_func_sincosl" = x""yes; then :
33360 cat >>confdefs.h <<_ACEOF
33361 #define HAVE_SINCOSL 1
33362 _ACEOF
33365 done
33367 else
33369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
33370 $as_echo_n "checking for _sincosl declaration... " >&6; }
33371 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
33372 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
33373 $as_echo_n "(cached) " >&6
33374 else
33377 ac_ext=cpp
33378 ac_cpp='$CXXCPP $CPPFLAGS'
33379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33384 /* end confdefs.h. */
33385 #include <math.h>
33387 main ()
33389 _sincosl(0, 0, 0);
33391 return 0;
33393 _ACEOF
33394 if ac_fn_cxx_try_compile "$LINENO"; then :
33395 glibcxx_cv_func__sincosl_use=yes
33396 else
33397 glibcxx_cv_func__sincosl_use=no
33399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33400 ac_ext=c
33401 ac_cpp='$CPP $CPPFLAGS'
33402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
33411 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
33413 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
33414 for ac_func in _sincosl
33415 do :
33416 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
33417 if test "x$ac_cv_func__sincosl" = x""yes; then :
33418 cat >>confdefs.h <<_ACEOF
33419 #define HAVE__SINCOSL 1
33420 _ACEOF
33423 done
33432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
33433 $as_echo_n "checking for finitel declaration... " >&6; }
33434 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
33435 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
33436 $as_echo_n "(cached) " >&6
33437 else
33440 ac_ext=cpp
33441 ac_cpp='$CXXCPP $CPPFLAGS'
33442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33447 /* end confdefs.h. */
33448 #include <math.h>
33449 #ifdef HAVE_IEEEFP_H
33450 #include <ieeefp.h>
33451 #endif
33454 main ()
33456 finitel(0);
33458 return 0;
33460 _ACEOF
33461 if ac_fn_cxx_try_compile "$LINENO"; then :
33462 glibcxx_cv_func_finitel_use=yes
33463 else
33464 glibcxx_cv_func_finitel_use=no
33466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33467 ac_ext=c
33468 ac_cpp='$CPP $CPPFLAGS'
33469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33478 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33480 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33481 for ac_func in finitel
33482 do :
33483 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33484 if test "x$ac_cv_func_finitel" = x""yes; then :
33485 cat >>confdefs.h <<_ACEOF
33486 #define HAVE_FINITEL 1
33487 _ACEOF
33490 done
33492 else
33494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33495 $as_echo_n "checking for _finitel declaration... " >&6; }
33496 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33497 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33498 $as_echo_n "(cached) " >&6
33499 else
33502 ac_ext=cpp
33503 ac_cpp='$CXXCPP $CPPFLAGS'
33504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33509 /* end confdefs.h. */
33510 #include <math.h>
33511 #ifdef HAVE_IEEEFP_H
33512 #include <ieeefp.h>
33513 #endif
33516 main ()
33518 _finitel(0);
33520 return 0;
33522 _ACEOF
33523 if ac_fn_cxx_try_compile "$LINENO"; then :
33524 glibcxx_cv_func__finitel_use=yes
33525 else
33526 glibcxx_cv_func__finitel_use=no
33528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33529 ac_ext=c
33530 ac_cpp='$CPP $CPPFLAGS'
33531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33540 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33542 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33543 for ac_func in _finitel
33544 do :
33545 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33546 if test "x$ac_cv_func__finitel" = x""yes; then :
33547 cat >>confdefs.h <<_ACEOF
33548 #define HAVE__FINITEL 1
33549 _ACEOF
33552 done
33560 LIBS="$ac_save_LIBS"
33561 CXXFLAGS="$ac_save_CXXFLAGS"
33564 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33565 ac_save_CXXFLAGS="$CXXFLAGS"
33566 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
33570 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
33571 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
33572 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
33573 $as_echo_n "(cached) " >&6
33574 else
33577 ac_ext=cpp
33578 ac_cpp='$CXXCPP $CPPFLAGS'
33579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33584 /* end confdefs.h. */
33585 #include <stdlib.h>
33587 main ()
33589 at_quick_exit(0);
33591 return 0;
33593 _ACEOF
33594 if ac_fn_cxx_try_compile "$LINENO"; then :
33595 glibcxx_cv_func_at_quick_exit_use=yes
33596 else
33597 glibcxx_cv_func_at_quick_exit_use=no
33599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33600 ac_ext=c
33601 ac_cpp='$CPP $CPPFLAGS'
33602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
33611 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
33612 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
33613 for ac_func in at_quick_exit
33614 do :
33615 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
33616 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
33617 cat >>confdefs.h <<_ACEOF
33618 #define HAVE_AT_QUICK_EXIT 1
33619 _ACEOF
33622 done
33627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
33628 $as_echo_n "checking for quick_exit declaration... " >&6; }
33629 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
33630 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
33631 $as_echo_n "(cached) " >&6
33632 else
33635 ac_ext=cpp
33636 ac_cpp='$CXXCPP $CPPFLAGS'
33637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33642 /* end confdefs.h. */
33643 #include <stdlib.h>
33645 main ()
33647 quick_exit(0);
33649 return 0;
33651 _ACEOF
33652 if ac_fn_cxx_try_compile "$LINENO"; then :
33653 glibcxx_cv_func_quick_exit_use=yes
33654 else
33655 glibcxx_cv_func_quick_exit_use=no
33657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33658 ac_ext=c
33659 ac_cpp='$CPP $CPPFLAGS'
33660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
33669 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
33670 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
33671 for ac_func in quick_exit
33672 do :
33673 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
33674 if test "x$ac_cv_func_quick_exit" = x""yes; then :
33675 cat >>confdefs.h <<_ACEOF
33676 #define HAVE_QUICK_EXIT 1
33677 _ACEOF
33680 done
33685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33686 $as_echo_n "checking for strtold declaration... " >&6; }
33687 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33688 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33689 $as_echo_n "(cached) " >&6
33690 else
33693 ac_ext=cpp
33694 ac_cpp='$CXXCPP $CPPFLAGS'
33695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33700 /* end confdefs.h. */
33701 #include <stdlib.h>
33703 main ()
33705 strtold(0, 0);
33707 return 0;
33709 _ACEOF
33710 if ac_fn_cxx_try_compile "$LINENO"; then :
33711 glibcxx_cv_func_strtold_use=yes
33712 else
33713 glibcxx_cv_func_strtold_use=no
33715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33716 ac_ext=c
33717 ac_cpp='$CPP $CPPFLAGS'
33718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33727 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33728 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33729 for ac_func in strtold
33730 do :
33731 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33732 if test "x$ac_cv_func_strtold" = x""yes; then :
33733 cat >>confdefs.h <<_ACEOF
33734 #define HAVE_STRTOLD 1
33735 _ACEOF
33738 done
33745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33746 $as_echo_n "checking for strtof declaration... " >&6; }
33747 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33748 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33749 $as_echo_n "(cached) " >&6
33750 else
33753 ac_ext=cpp
33754 ac_cpp='$CXXCPP $CPPFLAGS'
33755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33760 /* end confdefs.h. */
33761 #include <stdlib.h>
33763 main ()
33765 strtof(0, 0);
33767 return 0;
33769 _ACEOF
33770 if ac_fn_cxx_try_compile "$LINENO"; then :
33771 glibcxx_cv_func_strtof_use=yes
33772 else
33773 glibcxx_cv_func_strtof_use=no
33775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33776 ac_ext=c
33777 ac_cpp='$CPP $CPPFLAGS'
33778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33787 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33788 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33789 for ac_func in strtof
33790 do :
33791 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33792 if test "x$ac_cv_func_strtof" = x""yes; then :
33793 cat >>confdefs.h <<_ACEOF
33794 #define HAVE_STRTOF 1
33795 _ACEOF
33798 done
33805 CXXFLAGS="$ac_save_CXXFLAGS"
33808 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33810 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33812 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33814 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33817 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33819 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33821 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33825 *-aix*)
33827 # If we're not using GNU ld, then there's no point in even trying these
33828 # tests. Check for that first. We should have already tested for gld
33829 # by now (in libtool), but require it now just to be safe...
33830 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33831 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33835 # The name set by libtool depends on the version of libtool. Shame on us
33836 # for depending on an impl detail, but c'est la vie. Older versions used
33837 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33838 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33839 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33840 # set (hence we're using an older libtool), then set it.
33841 if test x${with_gnu_ld+set} != xset; then
33842 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33843 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33844 with_gnu_ld=no
33845 else
33846 with_gnu_ld=$ac_cv_prog_gnu_ld
33850 # Start by getting the version number. I think the libtool test already
33851 # does some of this, but throws away the result.
33852 glibcxx_ld_is_gold=no
33853 if test x"$with_gnu_ld" = x"yes"; then
33854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33855 $as_echo_n "checking for ld version... " >&6; }
33857 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33858 glibcxx_ld_is_gold=yes
33860 ldver=`$LD --version 2>/dev/null |
33861 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'`
33863 glibcxx_gnu_ld_version=`echo $ldver | \
33864 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33866 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33869 # Set --gc-sections.
33870 glibcxx_have_gc_sections=no
33871 if test "$glibcxx_ld_is_gold" = "yes"; then
33872 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33873 glibcxx_have_gc_sections=yes
33875 else
33876 glibcxx_gcsections_min_ld=21602
33877 if test x"$with_gnu_ld" = x"yes" &&
33878 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33879 glibcxx_have_gc_sections=yes
33882 if test "$glibcxx_have_gc_sections" = "yes"; then
33883 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33884 # NB: This flag only works reliably after 2.16.1. Configure tests
33885 # for this are difficult, so hard wire a value that should work.
33887 ac_test_CFLAGS="${CFLAGS+set}"
33888 ac_save_CFLAGS="$CFLAGS"
33889 CFLAGS='-Wl,--gc-sections'
33891 # Check for -Wl,--gc-sections
33892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33893 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33894 if test x$gcc_no_link = xyes; then
33895 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33898 /* end confdefs.h. */
33899 int one(void) { return 1; }
33900 int two(void) { return 2; }
33903 main ()
33905 two();
33907 return 0;
33909 _ACEOF
33910 if ac_fn_c_try_link "$LINENO"; then :
33911 ac_gcsections=yes
33912 else
33913 ac_gcsections=no
33915 rm -f core conftest.err conftest.$ac_objext \
33916 conftest$ac_exeext conftest.$ac_ext
33917 if test "$ac_gcsections" = "yes"; then
33918 rm -f conftest.c
33919 touch conftest.c
33920 if $CC -c conftest.c; then
33921 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33922 grep "Warning: gc-sections option ignored" > /dev/null; then
33923 ac_gcsections=no
33926 rm -f conftest.c conftest.o conftest
33928 if test "$ac_gcsections" = "yes"; then
33929 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33932 $as_echo "$ac_gcsections" >&6; }
33934 if test "$ac_test_CFLAGS" = set; then
33935 CFLAGS="$ac_save_CFLAGS"
33936 else
33937 # this is the suspicious part
33938 CFLAGS=''
33942 # Set -z,relro.
33943 # Note this is only for shared objects.
33944 ac_ld_relro=no
33945 if test x"$with_gnu_ld" = x"yes"; then
33946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33947 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33948 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33949 if test -n "$cxx_z_relo"; then
33950 OPT_LDFLAGS="-Wl,-z,relro"
33951 ac_ld_relro=yes
33953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33954 $as_echo "$ac_ld_relro" >&6; }
33957 # Set linker optimization flags.
33958 if test x"$with_gnu_ld" = x"yes"; then
33959 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33966 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33967 ac_save_CXXFLAGS="$CXXFLAGS"
33968 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33971 $as_echo_n "checking for sin in -lm... " >&6; }
33972 if test "${ac_cv_lib_m_sin+set}" = set; then :
33973 $as_echo_n "(cached) " >&6
33974 else
33975 ac_check_lib_save_LIBS=$LIBS
33976 LIBS="-lm $LIBS"
33977 if test x$gcc_no_link = xyes; then
33978 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33981 /* end confdefs.h. */
33983 /* Override any GCC internal prototype to avoid an error.
33984 Use char because int might match the return type of a GCC
33985 builtin and then its argument prototype would still apply. */
33986 #ifdef __cplusplus
33987 extern "C"
33988 #endif
33989 char sin ();
33991 main ()
33993 return sin ();
33995 return 0;
33997 _ACEOF
33998 if ac_fn_c_try_link "$LINENO"; then :
33999 ac_cv_lib_m_sin=yes
34000 else
34001 ac_cv_lib_m_sin=no
34003 rm -f core conftest.err conftest.$ac_objext \
34004 conftest$ac_exeext conftest.$ac_ext
34005 LIBS=$ac_check_lib_save_LIBS
34007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
34008 $as_echo "$ac_cv_lib_m_sin" >&6; }
34009 if test "x$ac_cv_lib_m_sin" = x""yes; then :
34010 libm="-lm"
34013 ac_save_LIBS="$LIBS"
34014 LIBS="$LIBS $libm"
34018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
34019 $as_echo_n "checking for isinf declaration... " >&6; }
34020 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
34021 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
34022 $as_echo_n "(cached) " >&6
34023 else
34026 ac_ext=cpp
34027 ac_cpp='$CXXCPP $CPPFLAGS'
34028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34033 /* end confdefs.h. */
34034 #include <math.h>
34035 #ifdef HAVE_IEEEFP_H
34036 #include <ieeefp.h>
34037 #endif
34040 main ()
34042 isinf(0);
34044 return 0;
34046 _ACEOF
34047 if ac_fn_cxx_try_compile "$LINENO"; then :
34048 glibcxx_cv_func_isinf_use=yes
34049 else
34050 glibcxx_cv_func_isinf_use=no
34052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34053 ac_ext=c
34054 ac_cpp='$CPP $CPPFLAGS'
34055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
34064 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
34066 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
34067 for ac_func in isinf
34068 do :
34069 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
34070 if test "x$ac_cv_func_isinf" = x""yes; then :
34071 cat >>confdefs.h <<_ACEOF
34072 #define HAVE_ISINF 1
34073 _ACEOF
34076 done
34078 else
34080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
34081 $as_echo_n "checking for _isinf declaration... " >&6; }
34082 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
34083 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
34084 $as_echo_n "(cached) " >&6
34085 else
34088 ac_ext=cpp
34089 ac_cpp='$CXXCPP $CPPFLAGS'
34090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34095 /* end confdefs.h. */
34096 #include <math.h>
34097 #ifdef HAVE_IEEEFP_H
34098 #include <ieeefp.h>
34099 #endif
34102 main ()
34104 _isinf(0);
34106 return 0;
34108 _ACEOF
34109 if ac_fn_cxx_try_compile "$LINENO"; then :
34110 glibcxx_cv_func__isinf_use=yes
34111 else
34112 glibcxx_cv_func__isinf_use=no
34114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34115 ac_ext=c
34116 ac_cpp='$CPP $CPPFLAGS'
34117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
34126 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
34128 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
34129 for ac_func in _isinf
34130 do :
34131 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
34132 if test "x$ac_cv_func__isinf" = x""yes; then :
34133 cat >>confdefs.h <<_ACEOF
34134 #define HAVE__ISINF 1
34135 _ACEOF
34138 done
34147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
34148 $as_echo_n "checking for isnan declaration... " >&6; }
34149 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
34150 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
34151 $as_echo_n "(cached) " >&6
34152 else
34155 ac_ext=cpp
34156 ac_cpp='$CXXCPP $CPPFLAGS'
34157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34162 /* end confdefs.h. */
34163 #include <math.h>
34164 #ifdef HAVE_IEEEFP_H
34165 #include <ieeefp.h>
34166 #endif
34169 main ()
34171 isnan(0);
34173 return 0;
34175 _ACEOF
34176 if ac_fn_cxx_try_compile "$LINENO"; then :
34177 glibcxx_cv_func_isnan_use=yes
34178 else
34179 glibcxx_cv_func_isnan_use=no
34181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34182 ac_ext=c
34183 ac_cpp='$CPP $CPPFLAGS'
34184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
34193 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
34195 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
34196 for ac_func in isnan
34197 do :
34198 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
34199 if test "x$ac_cv_func_isnan" = x""yes; then :
34200 cat >>confdefs.h <<_ACEOF
34201 #define HAVE_ISNAN 1
34202 _ACEOF
34205 done
34207 else
34209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
34210 $as_echo_n "checking for _isnan declaration... " >&6; }
34211 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
34212 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
34213 $as_echo_n "(cached) " >&6
34214 else
34217 ac_ext=cpp
34218 ac_cpp='$CXXCPP $CPPFLAGS'
34219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34224 /* end confdefs.h. */
34225 #include <math.h>
34226 #ifdef HAVE_IEEEFP_H
34227 #include <ieeefp.h>
34228 #endif
34231 main ()
34233 _isnan(0);
34235 return 0;
34237 _ACEOF
34238 if ac_fn_cxx_try_compile "$LINENO"; then :
34239 glibcxx_cv_func__isnan_use=yes
34240 else
34241 glibcxx_cv_func__isnan_use=no
34243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34244 ac_ext=c
34245 ac_cpp='$CPP $CPPFLAGS'
34246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
34255 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
34257 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
34258 for ac_func in _isnan
34259 do :
34260 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
34261 if test "x$ac_cv_func__isnan" = x""yes; then :
34262 cat >>confdefs.h <<_ACEOF
34263 #define HAVE__ISNAN 1
34264 _ACEOF
34267 done
34276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
34277 $as_echo_n "checking for finite declaration... " >&6; }
34278 if test x${glibcxx_cv_func_finite_use+set} != xset; then
34279 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
34280 $as_echo_n "(cached) " >&6
34281 else
34284 ac_ext=cpp
34285 ac_cpp='$CXXCPP $CPPFLAGS'
34286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34291 /* end confdefs.h. */
34292 #include <math.h>
34293 #ifdef HAVE_IEEEFP_H
34294 #include <ieeefp.h>
34295 #endif
34298 main ()
34300 finite(0);
34302 return 0;
34304 _ACEOF
34305 if ac_fn_cxx_try_compile "$LINENO"; then :
34306 glibcxx_cv_func_finite_use=yes
34307 else
34308 glibcxx_cv_func_finite_use=no
34310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34311 ac_ext=c
34312 ac_cpp='$CPP $CPPFLAGS'
34313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
34322 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
34324 if test x$glibcxx_cv_func_finite_use = x"yes"; then
34325 for ac_func in finite
34326 do :
34327 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
34328 if test "x$ac_cv_func_finite" = x""yes; then :
34329 cat >>confdefs.h <<_ACEOF
34330 #define HAVE_FINITE 1
34331 _ACEOF
34334 done
34336 else
34338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
34339 $as_echo_n "checking for _finite declaration... " >&6; }
34340 if test x${glibcxx_cv_func__finite_use+set} != xset; then
34341 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
34342 $as_echo_n "(cached) " >&6
34343 else
34346 ac_ext=cpp
34347 ac_cpp='$CXXCPP $CPPFLAGS'
34348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34353 /* end confdefs.h. */
34354 #include <math.h>
34355 #ifdef HAVE_IEEEFP_H
34356 #include <ieeefp.h>
34357 #endif
34360 main ()
34362 _finite(0);
34364 return 0;
34366 _ACEOF
34367 if ac_fn_cxx_try_compile "$LINENO"; then :
34368 glibcxx_cv_func__finite_use=yes
34369 else
34370 glibcxx_cv_func__finite_use=no
34372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34373 ac_ext=c
34374 ac_cpp='$CPP $CPPFLAGS'
34375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
34384 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
34386 if test x$glibcxx_cv_func__finite_use = x"yes"; then
34387 for ac_func in _finite
34388 do :
34389 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
34390 if test "x$ac_cv_func__finite" = x""yes; then :
34391 cat >>confdefs.h <<_ACEOF
34392 #define HAVE__FINITE 1
34393 _ACEOF
34396 done
34405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
34406 $as_echo_n "checking for sincos declaration... " >&6; }
34407 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34408 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
34409 $as_echo_n "(cached) " >&6
34410 else
34413 ac_ext=cpp
34414 ac_cpp='$CXXCPP $CPPFLAGS'
34415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34420 /* end confdefs.h. */
34421 #include <math.h>
34423 main ()
34425 sincos(0, 0, 0);
34427 return 0;
34429 _ACEOF
34430 if ac_fn_cxx_try_compile "$LINENO"; then :
34431 glibcxx_cv_func_sincos_use=yes
34432 else
34433 glibcxx_cv_func_sincos_use=no
34435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34436 ac_ext=c
34437 ac_cpp='$CPP $CPPFLAGS'
34438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
34447 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
34449 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34450 for ac_func in sincos
34451 do :
34452 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
34453 if test "x$ac_cv_func_sincos" = x""yes; then :
34454 cat >>confdefs.h <<_ACEOF
34455 #define HAVE_SINCOS 1
34456 _ACEOF
34459 done
34461 else
34463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
34464 $as_echo_n "checking for _sincos declaration... " >&6; }
34465 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34466 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
34467 $as_echo_n "(cached) " >&6
34468 else
34471 ac_ext=cpp
34472 ac_cpp='$CXXCPP $CPPFLAGS'
34473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34478 /* end confdefs.h. */
34479 #include <math.h>
34481 main ()
34483 _sincos(0, 0, 0);
34485 return 0;
34487 _ACEOF
34488 if ac_fn_cxx_try_compile "$LINENO"; then :
34489 glibcxx_cv_func__sincos_use=yes
34490 else
34491 glibcxx_cv_func__sincos_use=no
34493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34494 ac_ext=c
34495 ac_cpp='$CPP $CPPFLAGS'
34496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
34505 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
34507 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34508 for ac_func in _sincos
34509 do :
34510 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
34511 if test "x$ac_cv_func__sincos" = x""yes; then :
34512 cat >>confdefs.h <<_ACEOF
34513 #define HAVE__SINCOS 1
34514 _ACEOF
34517 done
34526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
34527 $as_echo_n "checking for fpclass declaration... " >&6; }
34528 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34529 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
34530 $as_echo_n "(cached) " >&6
34531 else
34534 ac_ext=cpp
34535 ac_cpp='$CXXCPP $CPPFLAGS'
34536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34541 /* end confdefs.h. */
34542 #include <math.h>
34543 #ifdef HAVE_IEEEFP_H
34544 #include <ieeefp.h>
34545 #endif
34548 main ()
34550 fpclass(0);
34552 return 0;
34554 _ACEOF
34555 if ac_fn_cxx_try_compile "$LINENO"; then :
34556 glibcxx_cv_func_fpclass_use=yes
34557 else
34558 glibcxx_cv_func_fpclass_use=no
34560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34561 ac_ext=c
34562 ac_cpp='$CPP $CPPFLAGS'
34563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
34572 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
34574 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34575 for ac_func in fpclass
34576 do :
34577 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
34578 if test "x$ac_cv_func_fpclass" = x""yes; then :
34579 cat >>confdefs.h <<_ACEOF
34580 #define HAVE_FPCLASS 1
34581 _ACEOF
34584 done
34586 else
34588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34589 $as_echo_n "checking for _fpclass declaration... " >&6; }
34590 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34591 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34592 $as_echo_n "(cached) " >&6
34593 else
34596 ac_ext=cpp
34597 ac_cpp='$CXXCPP $CPPFLAGS'
34598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34603 /* end confdefs.h. */
34604 #include <math.h>
34605 #ifdef HAVE_IEEEFP_H
34606 #include <ieeefp.h>
34607 #endif
34610 main ()
34612 _fpclass(0);
34614 return 0;
34616 _ACEOF
34617 if ac_fn_cxx_try_compile "$LINENO"; then :
34618 glibcxx_cv_func__fpclass_use=yes
34619 else
34620 glibcxx_cv_func__fpclass_use=no
34622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34623 ac_ext=c
34624 ac_cpp='$CPP $CPPFLAGS'
34625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34634 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34636 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34637 for ac_func in _fpclass
34638 do :
34639 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34640 if test "x$ac_cv_func__fpclass" = x""yes; then :
34641 cat >>confdefs.h <<_ACEOF
34642 #define HAVE__FPCLASS 1
34643 _ACEOF
34646 done
34655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34656 $as_echo_n "checking for qfpclass declaration... " >&6; }
34657 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34658 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34659 $as_echo_n "(cached) " >&6
34660 else
34663 ac_ext=cpp
34664 ac_cpp='$CXXCPP $CPPFLAGS'
34665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34670 /* end confdefs.h. */
34671 #include <math.h>
34672 #ifdef HAVE_IEEEFP_H
34673 #include <ieeefp.h>
34674 #endif
34677 main ()
34679 qfpclass(0);
34681 return 0;
34683 _ACEOF
34684 if ac_fn_cxx_try_compile "$LINENO"; then :
34685 glibcxx_cv_func_qfpclass_use=yes
34686 else
34687 glibcxx_cv_func_qfpclass_use=no
34689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34690 ac_ext=c
34691 ac_cpp='$CPP $CPPFLAGS'
34692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34701 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34703 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34704 for ac_func in qfpclass
34705 do :
34706 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34707 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34708 cat >>confdefs.h <<_ACEOF
34709 #define HAVE_QFPCLASS 1
34710 _ACEOF
34713 done
34715 else
34717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34718 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34719 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34720 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34721 $as_echo_n "(cached) " >&6
34722 else
34725 ac_ext=cpp
34726 ac_cpp='$CXXCPP $CPPFLAGS'
34727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34732 /* end confdefs.h. */
34733 #include <math.h>
34734 #ifdef HAVE_IEEEFP_H
34735 #include <ieeefp.h>
34736 #endif
34739 main ()
34741 _qfpclass(0);
34743 return 0;
34745 _ACEOF
34746 if ac_fn_cxx_try_compile "$LINENO"; then :
34747 glibcxx_cv_func__qfpclass_use=yes
34748 else
34749 glibcxx_cv_func__qfpclass_use=no
34751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34752 ac_ext=c
34753 ac_cpp='$CPP $CPPFLAGS'
34754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34763 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34765 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34766 for ac_func in _qfpclass
34767 do :
34768 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34769 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34770 cat >>confdefs.h <<_ACEOF
34771 #define HAVE__QFPCLASS 1
34772 _ACEOF
34775 done
34784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34785 $as_echo_n "checking for hypot declaration... " >&6; }
34786 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34787 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34788 $as_echo_n "(cached) " >&6
34789 else
34792 ac_ext=cpp
34793 ac_cpp='$CXXCPP $CPPFLAGS'
34794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34799 /* end confdefs.h. */
34800 #include <math.h>
34802 main ()
34804 hypot(0, 0);
34806 return 0;
34808 _ACEOF
34809 if ac_fn_cxx_try_compile "$LINENO"; then :
34810 glibcxx_cv_func_hypot_use=yes
34811 else
34812 glibcxx_cv_func_hypot_use=no
34814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34815 ac_ext=c
34816 ac_cpp='$CPP $CPPFLAGS'
34817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34826 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34828 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34829 for ac_func in hypot
34830 do :
34831 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34832 if test "x$ac_cv_func_hypot" = x""yes; then :
34833 cat >>confdefs.h <<_ACEOF
34834 #define HAVE_HYPOT 1
34835 _ACEOF
34838 done
34840 else
34842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34843 $as_echo_n "checking for _hypot declaration... " >&6; }
34844 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34845 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34846 $as_echo_n "(cached) " >&6
34847 else
34850 ac_ext=cpp
34851 ac_cpp='$CXXCPP $CPPFLAGS'
34852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34857 /* end confdefs.h. */
34858 #include <math.h>
34860 main ()
34862 _hypot(0, 0);
34864 return 0;
34866 _ACEOF
34867 if ac_fn_cxx_try_compile "$LINENO"; then :
34868 glibcxx_cv_func__hypot_use=yes
34869 else
34870 glibcxx_cv_func__hypot_use=no
34872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34873 ac_ext=c
34874 ac_cpp='$CPP $CPPFLAGS'
34875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34884 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34886 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34887 for ac_func in _hypot
34888 do :
34889 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34890 if test "x$ac_cv_func__hypot" = x""yes; then :
34891 cat >>confdefs.h <<_ACEOF
34892 #define HAVE__HYPOT 1
34893 _ACEOF
34896 done
34905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34906 $as_echo_n "checking for float trig functions... " >&6; }
34907 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34908 $as_echo_n "(cached) " >&6
34909 else
34912 ac_ext=cpp
34913 ac_cpp='$CXXCPP $CPPFLAGS'
34914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34919 /* end confdefs.h. */
34920 #include <math.h>
34922 main ()
34924 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34926 return 0;
34928 _ACEOF
34929 if ac_fn_cxx_try_compile "$LINENO"; then :
34930 glibcxx_cv_func_float_trig_use=yes
34931 else
34932 glibcxx_cv_func_float_trig_use=no
34934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34935 ac_ext=c
34936 ac_cpp='$CPP $CPPFLAGS'
34937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34944 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34945 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34946 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34947 do :
34948 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34949 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34950 eval as_val=\$$as_ac_var
34951 if test "x$as_val" = x""yes; then :
34952 cat >>confdefs.h <<_ACEOF
34953 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34954 _ACEOF
34957 done
34959 else
34960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34961 $as_echo_n "checking for _float trig functions... " >&6; }
34962 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34963 $as_echo_n "(cached) " >&6
34964 else
34967 ac_ext=cpp
34968 ac_cpp='$CXXCPP $CPPFLAGS'
34969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34974 /* end confdefs.h. */
34975 #include <math.h>
34977 main ()
34979 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34981 return 0;
34983 _ACEOF
34984 if ac_fn_cxx_try_compile "$LINENO"; then :
34985 glibcxx_cv_func__float_trig_use=yes
34986 else
34987 glibcxx_cv_func__float_trig_use=no
34989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34990 ac_ext=c
34991 ac_cpp='$CPP $CPPFLAGS'
34992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34999 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
35000 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
35001 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
35002 do :
35003 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35004 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35005 eval as_val=\$$as_ac_var
35006 if test "x$as_val" = x""yes; then :
35007 cat >>confdefs.h <<_ACEOF
35008 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35009 _ACEOF
35012 done
35021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
35022 $as_echo_n "checking for float round functions... " >&6; }
35023 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
35024 $as_echo_n "(cached) " >&6
35025 else
35028 ac_ext=cpp
35029 ac_cpp='$CXXCPP $CPPFLAGS'
35030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35035 /* end confdefs.h. */
35036 #include <math.h>
35038 main ()
35040 ceilf (0); floorf (0);
35042 return 0;
35044 _ACEOF
35045 if ac_fn_cxx_try_compile "$LINENO"; then :
35046 glibcxx_cv_func_float_round_use=yes
35047 else
35048 glibcxx_cv_func_float_round_use=no
35050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35051 ac_ext=c
35052 ac_cpp='$CPP $CPPFLAGS'
35053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
35060 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
35061 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
35062 for ac_func in ceilf floorf
35063 do :
35064 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35065 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35066 eval as_val=\$$as_ac_var
35067 if test "x$as_val" = x""yes; then :
35068 cat >>confdefs.h <<_ACEOF
35069 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35070 _ACEOF
35073 done
35075 else
35076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
35077 $as_echo_n "checking for _float round functions... " >&6; }
35078 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
35079 $as_echo_n "(cached) " >&6
35080 else
35083 ac_ext=cpp
35084 ac_cpp='$CXXCPP $CPPFLAGS'
35085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35090 /* end confdefs.h. */
35091 #include <math.h>
35093 main ()
35095 _ceilf (0); _floorf (0);
35097 return 0;
35099 _ACEOF
35100 if ac_fn_cxx_try_compile "$LINENO"; then :
35101 glibcxx_cv_func__float_round_use=yes
35102 else
35103 glibcxx_cv_func__float_round_use=no
35105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35106 ac_ext=c
35107 ac_cpp='$CPP $CPPFLAGS'
35108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
35115 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
35116 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
35117 for ac_func in _ceilf _floorf
35118 do :
35119 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35120 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35121 eval as_val=\$$as_ac_var
35122 if test "x$as_val" = x""yes; then :
35123 cat >>confdefs.h <<_ACEOF
35124 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35125 _ACEOF
35128 done
35138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
35139 $as_echo_n "checking for expf declaration... " >&6; }
35140 if test x${glibcxx_cv_func_expf_use+set} != xset; then
35141 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
35142 $as_echo_n "(cached) " >&6
35143 else
35146 ac_ext=cpp
35147 ac_cpp='$CXXCPP $CPPFLAGS'
35148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35153 /* end confdefs.h. */
35154 #include <math.h>
35155 #ifdef HAVE_IEEEFP_H
35156 #include <ieeefp.h>
35157 #endif
35160 main ()
35162 expf(0);
35164 return 0;
35166 _ACEOF
35167 if ac_fn_cxx_try_compile "$LINENO"; then :
35168 glibcxx_cv_func_expf_use=yes
35169 else
35170 glibcxx_cv_func_expf_use=no
35172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35173 ac_ext=c
35174 ac_cpp='$CPP $CPPFLAGS'
35175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
35184 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
35186 if test x$glibcxx_cv_func_expf_use = x"yes"; then
35187 for ac_func in expf
35188 do :
35189 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
35190 if test "x$ac_cv_func_expf" = x""yes; then :
35191 cat >>confdefs.h <<_ACEOF
35192 #define HAVE_EXPF 1
35193 _ACEOF
35196 done
35198 else
35200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
35201 $as_echo_n "checking for _expf declaration... " >&6; }
35202 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35203 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
35204 $as_echo_n "(cached) " >&6
35205 else
35208 ac_ext=cpp
35209 ac_cpp='$CXXCPP $CPPFLAGS'
35210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35215 /* end confdefs.h. */
35216 #include <math.h>
35217 #ifdef HAVE_IEEEFP_H
35218 #include <ieeefp.h>
35219 #endif
35222 main ()
35224 _expf(0);
35226 return 0;
35228 _ACEOF
35229 if ac_fn_cxx_try_compile "$LINENO"; then :
35230 glibcxx_cv_func__expf_use=yes
35231 else
35232 glibcxx_cv_func__expf_use=no
35234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35235 ac_ext=c
35236 ac_cpp='$CPP $CPPFLAGS'
35237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
35246 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
35248 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35249 for ac_func in _expf
35250 do :
35251 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
35252 if test "x$ac_cv_func__expf" = x""yes; then :
35253 cat >>confdefs.h <<_ACEOF
35254 #define HAVE__EXPF 1
35255 _ACEOF
35258 done
35267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
35268 $as_echo_n "checking for isnanf declaration... " >&6; }
35269 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35270 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
35271 $as_echo_n "(cached) " >&6
35272 else
35275 ac_ext=cpp
35276 ac_cpp='$CXXCPP $CPPFLAGS'
35277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35282 /* end confdefs.h. */
35283 #include <math.h>
35284 #ifdef HAVE_IEEEFP_H
35285 #include <ieeefp.h>
35286 #endif
35289 main ()
35291 isnanf(0);
35293 return 0;
35295 _ACEOF
35296 if ac_fn_cxx_try_compile "$LINENO"; then :
35297 glibcxx_cv_func_isnanf_use=yes
35298 else
35299 glibcxx_cv_func_isnanf_use=no
35301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35302 ac_ext=c
35303 ac_cpp='$CPP $CPPFLAGS'
35304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
35313 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
35315 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35316 for ac_func in isnanf
35317 do :
35318 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
35319 if test "x$ac_cv_func_isnanf" = x""yes; then :
35320 cat >>confdefs.h <<_ACEOF
35321 #define HAVE_ISNANF 1
35322 _ACEOF
35325 done
35327 else
35329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
35330 $as_echo_n "checking for _isnanf declaration... " >&6; }
35331 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35332 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
35333 $as_echo_n "(cached) " >&6
35334 else
35337 ac_ext=cpp
35338 ac_cpp='$CXXCPP $CPPFLAGS'
35339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35344 /* end confdefs.h. */
35345 #include <math.h>
35346 #ifdef HAVE_IEEEFP_H
35347 #include <ieeefp.h>
35348 #endif
35351 main ()
35353 _isnanf(0);
35355 return 0;
35357 _ACEOF
35358 if ac_fn_cxx_try_compile "$LINENO"; then :
35359 glibcxx_cv_func__isnanf_use=yes
35360 else
35361 glibcxx_cv_func__isnanf_use=no
35363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35364 ac_ext=c
35365 ac_cpp='$CPP $CPPFLAGS'
35366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
35375 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
35377 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35378 for ac_func in _isnanf
35379 do :
35380 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
35381 if test "x$ac_cv_func__isnanf" = x""yes; then :
35382 cat >>confdefs.h <<_ACEOF
35383 #define HAVE__ISNANF 1
35384 _ACEOF
35387 done
35396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
35397 $as_echo_n "checking for isinff declaration... " >&6; }
35398 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35399 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
35400 $as_echo_n "(cached) " >&6
35401 else
35404 ac_ext=cpp
35405 ac_cpp='$CXXCPP $CPPFLAGS'
35406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35411 /* end confdefs.h. */
35412 #include <math.h>
35413 #ifdef HAVE_IEEEFP_H
35414 #include <ieeefp.h>
35415 #endif
35418 main ()
35420 isinff(0);
35422 return 0;
35424 _ACEOF
35425 if ac_fn_cxx_try_compile "$LINENO"; then :
35426 glibcxx_cv_func_isinff_use=yes
35427 else
35428 glibcxx_cv_func_isinff_use=no
35430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35431 ac_ext=c
35432 ac_cpp='$CPP $CPPFLAGS'
35433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
35442 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
35444 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35445 for ac_func in isinff
35446 do :
35447 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
35448 if test "x$ac_cv_func_isinff" = x""yes; then :
35449 cat >>confdefs.h <<_ACEOF
35450 #define HAVE_ISINFF 1
35451 _ACEOF
35454 done
35456 else
35458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
35459 $as_echo_n "checking for _isinff declaration... " >&6; }
35460 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35461 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
35462 $as_echo_n "(cached) " >&6
35463 else
35466 ac_ext=cpp
35467 ac_cpp='$CXXCPP $CPPFLAGS'
35468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35473 /* end confdefs.h. */
35474 #include <math.h>
35475 #ifdef HAVE_IEEEFP_H
35476 #include <ieeefp.h>
35477 #endif
35480 main ()
35482 _isinff(0);
35484 return 0;
35486 _ACEOF
35487 if ac_fn_cxx_try_compile "$LINENO"; then :
35488 glibcxx_cv_func__isinff_use=yes
35489 else
35490 glibcxx_cv_func__isinff_use=no
35492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35493 ac_ext=c
35494 ac_cpp='$CPP $CPPFLAGS'
35495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
35504 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
35506 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35507 for ac_func in _isinff
35508 do :
35509 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
35510 if test "x$ac_cv_func__isinff" = x""yes; then :
35511 cat >>confdefs.h <<_ACEOF
35512 #define HAVE__ISINFF 1
35513 _ACEOF
35516 done
35525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
35526 $as_echo_n "checking for atan2f declaration... " >&6; }
35527 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35528 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
35529 $as_echo_n "(cached) " >&6
35530 else
35533 ac_ext=cpp
35534 ac_cpp='$CXXCPP $CPPFLAGS'
35535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35540 /* end confdefs.h. */
35541 #include <math.h>
35543 main ()
35545 atan2f(0, 0);
35547 return 0;
35549 _ACEOF
35550 if ac_fn_cxx_try_compile "$LINENO"; then :
35551 glibcxx_cv_func_atan2f_use=yes
35552 else
35553 glibcxx_cv_func_atan2f_use=no
35555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35556 ac_ext=c
35557 ac_cpp='$CPP $CPPFLAGS'
35558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
35567 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
35569 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35570 for ac_func in atan2f
35571 do :
35572 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
35573 if test "x$ac_cv_func_atan2f" = x""yes; then :
35574 cat >>confdefs.h <<_ACEOF
35575 #define HAVE_ATAN2F 1
35576 _ACEOF
35579 done
35581 else
35583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35584 $as_echo_n "checking for _atan2f declaration... " >&6; }
35585 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35586 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35587 $as_echo_n "(cached) " >&6
35588 else
35591 ac_ext=cpp
35592 ac_cpp='$CXXCPP $CPPFLAGS'
35593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35598 /* end confdefs.h. */
35599 #include <math.h>
35601 main ()
35603 _atan2f(0, 0);
35605 return 0;
35607 _ACEOF
35608 if ac_fn_cxx_try_compile "$LINENO"; then :
35609 glibcxx_cv_func__atan2f_use=yes
35610 else
35611 glibcxx_cv_func__atan2f_use=no
35613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35614 ac_ext=c
35615 ac_cpp='$CPP $CPPFLAGS'
35616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35625 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35627 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35628 for ac_func in _atan2f
35629 do :
35630 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35631 if test "x$ac_cv_func__atan2f" = x""yes; then :
35632 cat >>confdefs.h <<_ACEOF
35633 #define HAVE__ATAN2F 1
35634 _ACEOF
35637 done
35646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35647 $as_echo_n "checking for fabsf declaration... " >&6; }
35648 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35649 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35650 $as_echo_n "(cached) " >&6
35651 else
35654 ac_ext=cpp
35655 ac_cpp='$CXXCPP $CPPFLAGS'
35656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35661 /* end confdefs.h. */
35662 #include <math.h>
35663 #ifdef HAVE_IEEEFP_H
35664 #include <ieeefp.h>
35665 #endif
35668 main ()
35670 fabsf(0);
35672 return 0;
35674 _ACEOF
35675 if ac_fn_cxx_try_compile "$LINENO"; then :
35676 glibcxx_cv_func_fabsf_use=yes
35677 else
35678 glibcxx_cv_func_fabsf_use=no
35680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35681 ac_ext=c
35682 ac_cpp='$CPP $CPPFLAGS'
35683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35692 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35694 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35695 for ac_func in fabsf
35696 do :
35697 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35698 if test "x$ac_cv_func_fabsf" = x""yes; then :
35699 cat >>confdefs.h <<_ACEOF
35700 #define HAVE_FABSF 1
35701 _ACEOF
35704 done
35706 else
35708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35709 $as_echo_n "checking for _fabsf declaration... " >&6; }
35710 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35711 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35712 $as_echo_n "(cached) " >&6
35713 else
35716 ac_ext=cpp
35717 ac_cpp='$CXXCPP $CPPFLAGS'
35718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35723 /* end confdefs.h. */
35724 #include <math.h>
35725 #ifdef HAVE_IEEEFP_H
35726 #include <ieeefp.h>
35727 #endif
35730 main ()
35732 _fabsf(0);
35734 return 0;
35736 _ACEOF
35737 if ac_fn_cxx_try_compile "$LINENO"; then :
35738 glibcxx_cv_func__fabsf_use=yes
35739 else
35740 glibcxx_cv_func__fabsf_use=no
35742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35743 ac_ext=c
35744 ac_cpp='$CPP $CPPFLAGS'
35745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35754 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35756 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35757 for ac_func in _fabsf
35758 do :
35759 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35760 if test "x$ac_cv_func__fabsf" = x""yes; then :
35761 cat >>confdefs.h <<_ACEOF
35762 #define HAVE__FABSF 1
35763 _ACEOF
35766 done
35775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35776 $as_echo_n "checking for fmodf declaration... " >&6; }
35777 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35778 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35779 $as_echo_n "(cached) " >&6
35780 else
35783 ac_ext=cpp
35784 ac_cpp='$CXXCPP $CPPFLAGS'
35785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35790 /* end confdefs.h. */
35791 #include <math.h>
35793 main ()
35795 fmodf(0, 0);
35797 return 0;
35799 _ACEOF
35800 if ac_fn_cxx_try_compile "$LINENO"; then :
35801 glibcxx_cv_func_fmodf_use=yes
35802 else
35803 glibcxx_cv_func_fmodf_use=no
35805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35806 ac_ext=c
35807 ac_cpp='$CPP $CPPFLAGS'
35808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35817 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35819 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35820 for ac_func in fmodf
35821 do :
35822 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35823 if test "x$ac_cv_func_fmodf" = x""yes; then :
35824 cat >>confdefs.h <<_ACEOF
35825 #define HAVE_FMODF 1
35826 _ACEOF
35829 done
35831 else
35833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35834 $as_echo_n "checking for _fmodf declaration... " >&6; }
35835 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35836 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35837 $as_echo_n "(cached) " >&6
35838 else
35841 ac_ext=cpp
35842 ac_cpp='$CXXCPP $CPPFLAGS'
35843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35848 /* end confdefs.h. */
35849 #include <math.h>
35851 main ()
35853 _fmodf(0, 0);
35855 return 0;
35857 _ACEOF
35858 if ac_fn_cxx_try_compile "$LINENO"; then :
35859 glibcxx_cv_func__fmodf_use=yes
35860 else
35861 glibcxx_cv_func__fmodf_use=no
35863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35864 ac_ext=c
35865 ac_cpp='$CPP $CPPFLAGS'
35866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35875 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35877 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35878 for ac_func in _fmodf
35879 do :
35880 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35881 if test "x$ac_cv_func__fmodf" = x""yes; then :
35882 cat >>confdefs.h <<_ACEOF
35883 #define HAVE__FMODF 1
35884 _ACEOF
35887 done
35896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35897 $as_echo_n "checking for frexpf declaration... " >&6; }
35898 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35899 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35900 $as_echo_n "(cached) " >&6
35901 else
35904 ac_ext=cpp
35905 ac_cpp='$CXXCPP $CPPFLAGS'
35906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35911 /* end confdefs.h. */
35912 #include <math.h>
35914 main ()
35916 frexpf(0, 0);
35918 return 0;
35920 _ACEOF
35921 if ac_fn_cxx_try_compile "$LINENO"; then :
35922 glibcxx_cv_func_frexpf_use=yes
35923 else
35924 glibcxx_cv_func_frexpf_use=no
35926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35927 ac_ext=c
35928 ac_cpp='$CPP $CPPFLAGS'
35929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35938 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35940 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35941 for ac_func in frexpf
35942 do :
35943 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35944 if test "x$ac_cv_func_frexpf" = x""yes; then :
35945 cat >>confdefs.h <<_ACEOF
35946 #define HAVE_FREXPF 1
35947 _ACEOF
35950 done
35952 else
35954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35955 $as_echo_n "checking for _frexpf declaration... " >&6; }
35956 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35957 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35958 $as_echo_n "(cached) " >&6
35959 else
35962 ac_ext=cpp
35963 ac_cpp='$CXXCPP $CPPFLAGS'
35964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35969 /* end confdefs.h. */
35970 #include <math.h>
35972 main ()
35974 _frexpf(0, 0);
35976 return 0;
35978 _ACEOF
35979 if ac_fn_cxx_try_compile "$LINENO"; then :
35980 glibcxx_cv_func__frexpf_use=yes
35981 else
35982 glibcxx_cv_func__frexpf_use=no
35984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35985 ac_ext=c
35986 ac_cpp='$CPP $CPPFLAGS'
35987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35996 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35998 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35999 for ac_func in _frexpf
36000 do :
36001 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
36002 if test "x$ac_cv_func__frexpf" = x""yes; then :
36003 cat >>confdefs.h <<_ACEOF
36004 #define HAVE__FREXPF 1
36005 _ACEOF
36008 done
36017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
36018 $as_echo_n "checking for hypotf declaration... " >&6; }
36019 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
36020 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
36021 $as_echo_n "(cached) " >&6
36022 else
36025 ac_ext=cpp
36026 ac_cpp='$CXXCPP $CPPFLAGS'
36027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36032 /* end confdefs.h. */
36033 #include <math.h>
36035 main ()
36037 hypotf(0, 0);
36039 return 0;
36041 _ACEOF
36042 if ac_fn_cxx_try_compile "$LINENO"; then :
36043 glibcxx_cv_func_hypotf_use=yes
36044 else
36045 glibcxx_cv_func_hypotf_use=no
36047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36048 ac_ext=c
36049 ac_cpp='$CPP $CPPFLAGS'
36050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
36059 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
36061 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
36062 for ac_func in hypotf
36063 do :
36064 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
36065 if test "x$ac_cv_func_hypotf" = x""yes; then :
36066 cat >>confdefs.h <<_ACEOF
36067 #define HAVE_HYPOTF 1
36068 _ACEOF
36071 done
36073 else
36075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
36076 $as_echo_n "checking for _hypotf declaration... " >&6; }
36077 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
36078 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
36079 $as_echo_n "(cached) " >&6
36080 else
36083 ac_ext=cpp
36084 ac_cpp='$CXXCPP $CPPFLAGS'
36085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36090 /* end confdefs.h. */
36091 #include <math.h>
36093 main ()
36095 _hypotf(0, 0);
36097 return 0;
36099 _ACEOF
36100 if ac_fn_cxx_try_compile "$LINENO"; then :
36101 glibcxx_cv_func__hypotf_use=yes
36102 else
36103 glibcxx_cv_func__hypotf_use=no
36105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36106 ac_ext=c
36107 ac_cpp='$CPP $CPPFLAGS'
36108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
36117 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
36119 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
36120 for ac_func in _hypotf
36121 do :
36122 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
36123 if test "x$ac_cv_func__hypotf" = x""yes; then :
36124 cat >>confdefs.h <<_ACEOF
36125 #define HAVE__HYPOTF 1
36126 _ACEOF
36129 done
36138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
36139 $as_echo_n "checking for ldexpf declaration... " >&6; }
36140 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
36141 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
36142 $as_echo_n "(cached) " >&6
36143 else
36146 ac_ext=cpp
36147 ac_cpp='$CXXCPP $CPPFLAGS'
36148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36153 /* end confdefs.h. */
36154 #include <math.h>
36156 main ()
36158 ldexpf(0, 0);
36160 return 0;
36162 _ACEOF
36163 if ac_fn_cxx_try_compile "$LINENO"; then :
36164 glibcxx_cv_func_ldexpf_use=yes
36165 else
36166 glibcxx_cv_func_ldexpf_use=no
36168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36169 ac_ext=c
36170 ac_cpp='$CPP $CPPFLAGS'
36171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
36180 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
36182 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
36183 for ac_func in ldexpf
36184 do :
36185 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
36186 if test "x$ac_cv_func_ldexpf" = x""yes; then :
36187 cat >>confdefs.h <<_ACEOF
36188 #define HAVE_LDEXPF 1
36189 _ACEOF
36192 done
36194 else
36196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
36197 $as_echo_n "checking for _ldexpf declaration... " >&6; }
36198 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
36199 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
36200 $as_echo_n "(cached) " >&6
36201 else
36204 ac_ext=cpp
36205 ac_cpp='$CXXCPP $CPPFLAGS'
36206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36211 /* end confdefs.h. */
36212 #include <math.h>
36214 main ()
36216 _ldexpf(0, 0);
36218 return 0;
36220 _ACEOF
36221 if ac_fn_cxx_try_compile "$LINENO"; then :
36222 glibcxx_cv_func__ldexpf_use=yes
36223 else
36224 glibcxx_cv_func__ldexpf_use=no
36226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36227 ac_ext=c
36228 ac_cpp='$CPP $CPPFLAGS'
36229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
36238 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
36240 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
36241 for ac_func in _ldexpf
36242 do :
36243 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
36244 if test "x$ac_cv_func__ldexpf" = x""yes; then :
36245 cat >>confdefs.h <<_ACEOF
36246 #define HAVE__LDEXPF 1
36247 _ACEOF
36250 done
36259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
36260 $as_echo_n "checking for logf declaration... " >&6; }
36261 if test x${glibcxx_cv_func_logf_use+set} != xset; then
36262 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
36263 $as_echo_n "(cached) " >&6
36264 else
36267 ac_ext=cpp
36268 ac_cpp='$CXXCPP $CPPFLAGS'
36269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36274 /* end confdefs.h. */
36275 #include <math.h>
36276 #ifdef HAVE_IEEEFP_H
36277 #include <ieeefp.h>
36278 #endif
36281 main ()
36283 logf(0);
36285 return 0;
36287 _ACEOF
36288 if ac_fn_cxx_try_compile "$LINENO"; then :
36289 glibcxx_cv_func_logf_use=yes
36290 else
36291 glibcxx_cv_func_logf_use=no
36293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36294 ac_ext=c
36295 ac_cpp='$CPP $CPPFLAGS'
36296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
36305 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
36307 if test x$glibcxx_cv_func_logf_use = x"yes"; then
36308 for ac_func in logf
36309 do :
36310 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
36311 if test "x$ac_cv_func_logf" = x""yes; then :
36312 cat >>confdefs.h <<_ACEOF
36313 #define HAVE_LOGF 1
36314 _ACEOF
36317 done
36319 else
36321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
36322 $as_echo_n "checking for _logf declaration... " >&6; }
36323 if test x${glibcxx_cv_func__logf_use+set} != xset; then
36324 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
36325 $as_echo_n "(cached) " >&6
36326 else
36329 ac_ext=cpp
36330 ac_cpp='$CXXCPP $CPPFLAGS'
36331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36336 /* end confdefs.h. */
36337 #include <math.h>
36338 #ifdef HAVE_IEEEFP_H
36339 #include <ieeefp.h>
36340 #endif
36343 main ()
36345 _logf(0);
36347 return 0;
36349 _ACEOF
36350 if ac_fn_cxx_try_compile "$LINENO"; then :
36351 glibcxx_cv_func__logf_use=yes
36352 else
36353 glibcxx_cv_func__logf_use=no
36355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36356 ac_ext=c
36357 ac_cpp='$CPP $CPPFLAGS'
36358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
36367 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
36369 if test x$glibcxx_cv_func__logf_use = x"yes"; then
36370 for ac_func in _logf
36371 do :
36372 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
36373 if test "x$ac_cv_func__logf" = x""yes; then :
36374 cat >>confdefs.h <<_ACEOF
36375 #define HAVE__LOGF 1
36376 _ACEOF
36379 done
36388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
36389 $as_echo_n "checking for log10f declaration... " >&6; }
36390 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
36391 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
36392 $as_echo_n "(cached) " >&6
36393 else
36396 ac_ext=cpp
36397 ac_cpp='$CXXCPP $CPPFLAGS'
36398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36403 /* end confdefs.h. */
36404 #include <math.h>
36405 #ifdef HAVE_IEEEFP_H
36406 #include <ieeefp.h>
36407 #endif
36410 main ()
36412 log10f(0);
36414 return 0;
36416 _ACEOF
36417 if ac_fn_cxx_try_compile "$LINENO"; then :
36418 glibcxx_cv_func_log10f_use=yes
36419 else
36420 glibcxx_cv_func_log10f_use=no
36422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36423 ac_ext=c
36424 ac_cpp='$CPP $CPPFLAGS'
36425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
36434 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
36436 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
36437 for ac_func in log10f
36438 do :
36439 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
36440 if test "x$ac_cv_func_log10f" = x""yes; then :
36441 cat >>confdefs.h <<_ACEOF
36442 #define HAVE_LOG10F 1
36443 _ACEOF
36446 done
36448 else
36450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
36451 $as_echo_n "checking for _log10f declaration... " >&6; }
36452 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
36453 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
36454 $as_echo_n "(cached) " >&6
36455 else
36458 ac_ext=cpp
36459 ac_cpp='$CXXCPP $CPPFLAGS'
36460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36465 /* end confdefs.h. */
36466 #include <math.h>
36467 #ifdef HAVE_IEEEFP_H
36468 #include <ieeefp.h>
36469 #endif
36472 main ()
36474 _log10f(0);
36476 return 0;
36478 _ACEOF
36479 if ac_fn_cxx_try_compile "$LINENO"; then :
36480 glibcxx_cv_func__log10f_use=yes
36481 else
36482 glibcxx_cv_func__log10f_use=no
36484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36485 ac_ext=c
36486 ac_cpp='$CPP $CPPFLAGS'
36487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
36496 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
36498 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
36499 for ac_func in _log10f
36500 do :
36501 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
36502 if test "x$ac_cv_func__log10f" = x""yes; then :
36503 cat >>confdefs.h <<_ACEOF
36504 #define HAVE__LOG10F 1
36505 _ACEOF
36508 done
36517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
36518 $as_echo_n "checking for modff declaration... " >&6; }
36519 if test x${glibcxx_cv_func_modff_use+set} != xset; then
36520 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
36521 $as_echo_n "(cached) " >&6
36522 else
36525 ac_ext=cpp
36526 ac_cpp='$CXXCPP $CPPFLAGS'
36527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36532 /* end confdefs.h. */
36533 #include <math.h>
36535 main ()
36537 modff(0, 0);
36539 return 0;
36541 _ACEOF
36542 if ac_fn_cxx_try_compile "$LINENO"; then :
36543 glibcxx_cv_func_modff_use=yes
36544 else
36545 glibcxx_cv_func_modff_use=no
36547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36548 ac_ext=c
36549 ac_cpp='$CPP $CPPFLAGS'
36550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
36559 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
36561 if test x$glibcxx_cv_func_modff_use = x"yes"; then
36562 for ac_func in modff
36563 do :
36564 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
36565 if test "x$ac_cv_func_modff" = x""yes; then :
36566 cat >>confdefs.h <<_ACEOF
36567 #define HAVE_MODFF 1
36568 _ACEOF
36571 done
36573 else
36575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
36576 $as_echo_n "checking for _modff declaration... " >&6; }
36577 if test x${glibcxx_cv_func__modff_use+set} != xset; then
36578 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
36579 $as_echo_n "(cached) " >&6
36580 else
36583 ac_ext=cpp
36584 ac_cpp='$CXXCPP $CPPFLAGS'
36585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36590 /* end confdefs.h. */
36591 #include <math.h>
36593 main ()
36595 _modff(0, 0);
36597 return 0;
36599 _ACEOF
36600 if ac_fn_cxx_try_compile "$LINENO"; then :
36601 glibcxx_cv_func__modff_use=yes
36602 else
36603 glibcxx_cv_func__modff_use=no
36605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36606 ac_ext=c
36607 ac_cpp='$CPP $CPPFLAGS'
36608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36617 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36619 if test x$glibcxx_cv_func__modff_use = x"yes"; then
36620 for ac_func in _modff
36621 do :
36622 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36623 if test "x$ac_cv_func__modff" = x""yes; then :
36624 cat >>confdefs.h <<_ACEOF
36625 #define HAVE__MODFF 1
36626 _ACEOF
36629 done
36638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36639 $as_echo_n "checking for modf declaration... " >&6; }
36640 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36641 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36642 $as_echo_n "(cached) " >&6
36643 else
36646 ac_ext=cpp
36647 ac_cpp='$CXXCPP $CPPFLAGS'
36648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36653 /* end confdefs.h. */
36654 #include <math.h>
36656 main ()
36658 modf(0, 0);
36660 return 0;
36662 _ACEOF
36663 if ac_fn_cxx_try_compile "$LINENO"; then :
36664 glibcxx_cv_func_modf_use=yes
36665 else
36666 glibcxx_cv_func_modf_use=no
36668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36669 ac_ext=c
36670 ac_cpp='$CPP $CPPFLAGS'
36671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36680 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36682 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36683 for ac_func in modf
36684 do :
36685 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36686 if test "x$ac_cv_func_modf" = x""yes; then :
36687 cat >>confdefs.h <<_ACEOF
36688 #define HAVE_MODF 1
36689 _ACEOF
36692 done
36694 else
36696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36697 $as_echo_n "checking for _modf declaration... " >&6; }
36698 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36699 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36700 $as_echo_n "(cached) " >&6
36701 else
36704 ac_ext=cpp
36705 ac_cpp='$CXXCPP $CPPFLAGS'
36706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36711 /* end confdefs.h. */
36712 #include <math.h>
36714 main ()
36716 _modf(0, 0);
36718 return 0;
36720 _ACEOF
36721 if ac_fn_cxx_try_compile "$LINENO"; then :
36722 glibcxx_cv_func__modf_use=yes
36723 else
36724 glibcxx_cv_func__modf_use=no
36726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36727 ac_ext=c
36728 ac_cpp='$CPP $CPPFLAGS'
36729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36738 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36740 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36741 for ac_func in _modf
36742 do :
36743 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36744 if test "x$ac_cv_func__modf" = x""yes; then :
36745 cat >>confdefs.h <<_ACEOF
36746 #define HAVE__MODF 1
36747 _ACEOF
36750 done
36759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36760 $as_echo_n "checking for powf declaration... " >&6; }
36761 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36762 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36763 $as_echo_n "(cached) " >&6
36764 else
36767 ac_ext=cpp
36768 ac_cpp='$CXXCPP $CPPFLAGS'
36769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36774 /* end confdefs.h. */
36775 #include <math.h>
36777 main ()
36779 powf(0, 0);
36781 return 0;
36783 _ACEOF
36784 if ac_fn_cxx_try_compile "$LINENO"; then :
36785 glibcxx_cv_func_powf_use=yes
36786 else
36787 glibcxx_cv_func_powf_use=no
36789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36790 ac_ext=c
36791 ac_cpp='$CPP $CPPFLAGS'
36792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36801 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36803 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36804 for ac_func in powf
36805 do :
36806 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36807 if test "x$ac_cv_func_powf" = x""yes; then :
36808 cat >>confdefs.h <<_ACEOF
36809 #define HAVE_POWF 1
36810 _ACEOF
36813 done
36815 else
36817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36818 $as_echo_n "checking for _powf declaration... " >&6; }
36819 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36820 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36821 $as_echo_n "(cached) " >&6
36822 else
36825 ac_ext=cpp
36826 ac_cpp='$CXXCPP $CPPFLAGS'
36827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36832 /* end confdefs.h. */
36833 #include <math.h>
36835 main ()
36837 _powf(0, 0);
36839 return 0;
36841 _ACEOF
36842 if ac_fn_cxx_try_compile "$LINENO"; then :
36843 glibcxx_cv_func__powf_use=yes
36844 else
36845 glibcxx_cv_func__powf_use=no
36847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36848 ac_ext=c
36849 ac_cpp='$CPP $CPPFLAGS'
36850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36859 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36861 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36862 for ac_func in _powf
36863 do :
36864 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36865 if test "x$ac_cv_func__powf" = x""yes; then :
36866 cat >>confdefs.h <<_ACEOF
36867 #define HAVE__POWF 1
36868 _ACEOF
36871 done
36880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36881 $as_echo_n "checking for sqrtf declaration... " >&6; }
36882 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36883 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36884 $as_echo_n "(cached) " >&6
36885 else
36888 ac_ext=cpp
36889 ac_cpp='$CXXCPP $CPPFLAGS'
36890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36895 /* end confdefs.h. */
36896 #include <math.h>
36897 #ifdef HAVE_IEEEFP_H
36898 #include <ieeefp.h>
36899 #endif
36902 main ()
36904 sqrtf(0);
36906 return 0;
36908 _ACEOF
36909 if ac_fn_cxx_try_compile "$LINENO"; then :
36910 glibcxx_cv_func_sqrtf_use=yes
36911 else
36912 glibcxx_cv_func_sqrtf_use=no
36914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36915 ac_ext=c
36916 ac_cpp='$CPP $CPPFLAGS'
36917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36926 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36928 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36929 for ac_func in sqrtf
36930 do :
36931 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36932 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36933 cat >>confdefs.h <<_ACEOF
36934 #define HAVE_SQRTF 1
36935 _ACEOF
36938 done
36940 else
36942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36943 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36944 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36945 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36946 $as_echo_n "(cached) " >&6
36947 else
36950 ac_ext=cpp
36951 ac_cpp='$CXXCPP $CPPFLAGS'
36952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36957 /* end confdefs.h. */
36958 #include <math.h>
36959 #ifdef HAVE_IEEEFP_H
36960 #include <ieeefp.h>
36961 #endif
36964 main ()
36966 _sqrtf(0);
36968 return 0;
36970 _ACEOF
36971 if ac_fn_cxx_try_compile "$LINENO"; then :
36972 glibcxx_cv_func__sqrtf_use=yes
36973 else
36974 glibcxx_cv_func__sqrtf_use=no
36976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36977 ac_ext=c
36978 ac_cpp='$CPP $CPPFLAGS'
36979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36988 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36990 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36991 for ac_func in _sqrtf
36992 do :
36993 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36994 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36995 cat >>confdefs.h <<_ACEOF
36996 #define HAVE__SQRTF 1
36997 _ACEOF
37000 done
37009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
37010 $as_echo_n "checking for sincosf declaration... " >&6; }
37011 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
37012 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
37013 $as_echo_n "(cached) " >&6
37014 else
37017 ac_ext=cpp
37018 ac_cpp='$CXXCPP $CPPFLAGS'
37019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37024 /* end confdefs.h. */
37025 #include <math.h>
37027 main ()
37029 sincosf(0, 0, 0);
37031 return 0;
37033 _ACEOF
37034 if ac_fn_cxx_try_compile "$LINENO"; then :
37035 glibcxx_cv_func_sincosf_use=yes
37036 else
37037 glibcxx_cv_func_sincosf_use=no
37039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37040 ac_ext=c
37041 ac_cpp='$CPP $CPPFLAGS'
37042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
37051 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
37053 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
37054 for ac_func in sincosf
37055 do :
37056 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
37057 if test "x$ac_cv_func_sincosf" = x""yes; then :
37058 cat >>confdefs.h <<_ACEOF
37059 #define HAVE_SINCOSF 1
37060 _ACEOF
37063 done
37065 else
37067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
37068 $as_echo_n "checking for _sincosf declaration... " >&6; }
37069 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
37070 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
37071 $as_echo_n "(cached) " >&6
37072 else
37075 ac_ext=cpp
37076 ac_cpp='$CXXCPP $CPPFLAGS'
37077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37082 /* end confdefs.h. */
37083 #include <math.h>
37085 main ()
37087 _sincosf(0, 0, 0);
37089 return 0;
37091 _ACEOF
37092 if ac_fn_cxx_try_compile "$LINENO"; then :
37093 glibcxx_cv_func__sincosf_use=yes
37094 else
37095 glibcxx_cv_func__sincosf_use=no
37097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37098 ac_ext=c
37099 ac_cpp='$CPP $CPPFLAGS'
37100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
37109 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
37111 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
37112 for ac_func in _sincosf
37113 do :
37114 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
37115 if test "x$ac_cv_func__sincosf" = x""yes; then :
37116 cat >>confdefs.h <<_ACEOF
37117 #define HAVE__SINCOSF 1
37118 _ACEOF
37121 done
37130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
37131 $as_echo_n "checking for finitef declaration... " >&6; }
37132 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
37133 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
37134 $as_echo_n "(cached) " >&6
37135 else
37138 ac_ext=cpp
37139 ac_cpp='$CXXCPP $CPPFLAGS'
37140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37145 /* end confdefs.h. */
37146 #include <math.h>
37147 #ifdef HAVE_IEEEFP_H
37148 #include <ieeefp.h>
37149 #endif
37152 main ()
37154 finitef(0);
37156 return 0;
37158 _ACEOF
37159 if ac_fn_cxx_try_compile "$LINENO"; then :
37160 glibcxx_cv_func_finitef_use=yes
37161 else
37162 glibcxx_cv_func_finitef_use=no
37164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37165 ac_ext=c
37166 ac_cpp='$CPP $CPPFLAGS'
37167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
37176 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
37178 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
37179 for ac_func in finitef
37180 do :
37181 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
37182 if test "x$ac_cv_func_finitef" = x""yes; then :
37183 cat >>confdefs.h <<_ACEOF
37184 #define HAVE_FINITEF 1
37185 _ACEOF
37188 done
37190 else
37192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
37193 $as_echo_n "checking for _finitef declaration... " >&6; }
37194 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
37195 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
37196 $as_echo_n "(cached) " >&6
37197 else
37200 ac_ext=cpp
37201 ac_cpp='$CXXCPP $CPPFLAGS'
37202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37207 /* end confdefs.h. */
37208 #include <math.h>
37209 #ifdef HAVE_IEEEFP_H
37210 #include <ieeefp.h>
37211 #endif
37214 main ()
37216 _finitef(0);
37218 return 0;
37220 _ACEOF
37221 if ac_fn_cxx_try_compile "$LINENO"; then :
37222 glibcxx_cv_func__finitef_use=yes
37223 else
37224 glibcxx_cv_func__finitef_use=no
37226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37227 ac_ext=c
37228 ac_cpp='$CPP $CPPFLAGS'
37229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
37238 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
37240 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
37241 for ac_func in _finitef
37242 do :
37243 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
37244 if test "x$ac_cv_func__finitef" = x""yes; then :
37245 cat >>confdefs.h <<_ACEOF
37246 #define HAVE__FINITEF 1
37247 _ACEOF
37250 done
37259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
37260 $as_echo_n "checking for long double trig functions... " >&6; }
37261 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
37262 $as_echo_n "(cached) " >&6
37263 else
37266 ac_ext=cpp
37267 ac_cpp='$CXXCPP $CPPFLAGS'
37268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37273 /* end confdefs.h. */
37274 #include <math.h>
37276 main ()
37278 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
37280 return 0;
37282 _ACEOF
37283 if ac_fn_cxx_try_compile "$LINENO"; then :
37284 glibcxx_cv_func_long_double_trig_use=yes
37285 else
37286 glibcxx_cv_func_long_double_trig_use=no
37288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37289 ac_ext=c
37290 ac_cpp='$CPP $CPPFLAGS'
37291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
37298 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
37299 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
37300 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
37301 do :
37302 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37303 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37304 eval as_val=\$$as_ac_var
37305 if test "x$as_val" = x""yes; then :
37306 cat >>confdefs.h <<_ACEOF
37307 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37308 _ACEOF
37311 done
37313 else
37314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
37315 $as_echo_n "checking for _long double trig functions... " >&6; }
37316 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
37317 $as_echo_n "(cached) " >&6
37318 else
37321 ac_ext=cpp
37322 ac_cpp='$CXXCPP $CPPFLAGS'
37323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37328 /* end confdefs.h. */
37329 #include <math.h>
37331 main ()
37333 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
37335 return 0;
37337 _ACEOF
37338 if ac_fn_cxx_try_compile "$LINENO"; then :
37339 glibcxx_cv_func__long_double_trig_use=yes
37340 else
37341 glibcxx_cv_func__long_double_trig_use=no
37343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37344 ac_ext=c
37345 ac_cpp='$CPP $CPPFLAGS'
37346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
37353 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
37354 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
37355 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
37356 do :
37357 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37358 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37359 eval as_val=\$$as_ac_var
37360 if test "x$as_val" = x""yes; then :
37361 cat >>confdefs.h <<_ACEOF
37362 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37363 _ACEOF
37366 done
37375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
37376 $as_echo_n "checking for long double round functions... " >&6; }
37377 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
37378 $as_echo_n "(cached) " >&6
37379 else
37382 ac_ext=cpp
37383 ac_cpp='$CXXCPP $CPPFLAGS'
37384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37389 /* end confdefs.h. */
37390 #include <math.h>
37392 main ()
37394 ceill (0); floorl (0);
37396 return 0;
37398 _ACEOF
37399 if ac_fn_cxx_try_compile "$LINENO"; then :
37400 glibcxx_cv_func_long_double_round_use=yes
37401 else
37402 glibcxx_cv_func_long_double_round_use=no
37404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37405 ac_ext=c
37406 ac_cpp='$CPP $CPPFLAGS'
37407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
37414 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
37415 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
37416 for ac_func in ceill floorl
37417 do :
37418 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37419 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37420 eval as_val=\$$as_ac_var
37421 if test "x$as_val" = x""yes; then :
37422 cat >>confdefs.h <<_ACEOF
37423 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37424 _ACEOF
37427 done
37429 else
37430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
37431 $as_echo_n "checking for _long double round functions... " >&6; }
37432 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
37433 $as_echo_n "(cached) " >&6
37434 else
37437 ac_ext=cpp
37438 ac_cpp='$CXXCPP $CPPFLAGS'
37439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37444 /* end confdefs.h. */
37445 #include <math.h>
37447 main ()
37449 _ceill (0); _floorl (0);
37451 return 0;
37453 _ACEOF
37454 if ac_fn_cxx_try_compile "$LINENO"; then :
37455 glibcxx_cv_func__long_double_round_use=yes
37456 else
37457 glibcxx_cv_func__long_double_round_use=no
37459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37460 ac_ext=c
37461 ac_cpp='$CPP $CPPFLAGS'
37462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
37469 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
37470 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
37471 for ac_func in _ceill _floorl
37472 do :
37473 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37474 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37475 eval as_val=\$$as_ac_var
37476 if test "x$as_val" = x""yes; then :
37477 cat >>confdefs.h <<_ACEOF
37478 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37479 _ACEOF
37482 done
37492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
37493 $as_echo_n "checking for isnanl declaration... " >&6; }
37494 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
37495 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
37496 $as_echo_n "(cached) " >&6
37497 else
37500 ac_ext=cpp
37501 ac_cpp='$CXXCPP $CPPFLAGS'
37502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37507 /* end confdefs.h. */
37508 #include <math.h>
37509 #ifdef HAVE_IEEEFP_H
37510 #include <ieeefp.h>
37511 #endif
37514 main ()
37516 isnanl(0);
37518 return 0;
37520 _ACEOF
37521 if ac_fn_cxx_try_compile "$LINENO"; then :
37522 glibcxx_cv_func_isnanl_use=yes
37523 else
37524 glibcxx_cv_func_isnanl_use=no
37526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37527 ac_ext=c
37528 ac_cpp='$CPP $CPPFLAGS'
37529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
37538 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
37540 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
37541 for ac_func in isnanl
37542 do :
37543 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
37544 if test "x$ac_cv_func_isnanl" = x""yes; then :
37545 cat >>confdefs.h <<_ACEOF
37546 #define HAVE_ISNANL 1
37547 _ACEOF
37550 done
37552 else
37554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
37555 $as_echo_n "checking for _isnanl declaration... " >&6; }
37556 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
37557 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
37558 $as_echo_n "(cached) " >&6
37559 else
37562 ac_ext=cpp
37563 ac_cpp='$CXXCPP $CPPFLAGS'
37564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37569 /* end confdefs.h. */
37570 #include <math.h>
37571 #ifdef HAVE_IEEEFP_H
37572 #include <ieeefp.h>
37573 #endif
37576 main ()
37578 _isnanl(0);
37580 return 0;
37582 _ACEOF
37583 if ac_fn_cxx_try_compile "$LINENO"; then :
37584 glibcxx_cv_func__isnanl_use=yes
37585 else
37586 glibcxx_cv_func__isnanl_use=no
37588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37589 ac_ext=c
37590 ac_cpp='$CPP $CPPFLAGS'
37591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37600 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37602 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37603 for ac_func in _isnanl
37604 do :
37605 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37606 if test "x$ac_cv_func__isnanl" = x""yes; then :
37607 cat >>confdefs.h <<_ACEOF
37608 #define HAVE__ISNANL 1
37609 _ACEOF
37612 done
37621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37622 $as_echo_n "checking for isinfl declaration... " >&6; }
37623 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37624 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37625 $as_echo_n "(cached) " >&6
37626 else
37629 ac_ext=cpp
37630 ac_cpp='$CXXCPP $CPPFLAGS'
37631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37636 /* end confdefs.h. */
37637 #include <math.h>
37638 #ifdef HAVE_IEEEFP_H
37639 #include <ieeefp.h>
37640 #endif
37643 main ()
37645 isinfl(0);
37647 return 0;
37649 _ACEOF
37650 if ac_fn_cxx_try_compile "$LINENO"; then :
37651 glibcxx_cv_func_isinfl_use=yes
37652 else
37653 glibcxx_cv_func_isinfl_use=no
37655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37656 ac_ext=c
37657 ac_cpp='$CPP $CPPFLAGS'
37658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37667 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37669 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37670 for ac_func in isinfl
37671 do :
37672 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37673 if test "x$ac_cv_func_isinfl" = x""yes; then :
37674 cat >>confdefs.h <<_ACEOF
37675 #define HAVE_ISINFL 1
37676 _ACEOF
37679 done
37681 else
37683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37684 $as_echo_n "checking for _isinfl declaration... " >&6; }
37685 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37686 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37687 $as_echo_n "(cached) " >&6
37688 else
37691 ac_ext=cpp
37692 ac_cpp='$CXXCPP $CPPFLAGS'
37693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37698 /* end confdefs.h. */
37699 #include <math.h>
37700 #ifdef HAVE_IEEEFP_H
37701 #include <ieeefp.h>
37702 #endif
37705 main ()
37707 _isinfl(0);
37709 return 0;
37711 _ACEOF
37712 if ac_fn_cxx_try_compile "$LINENO"; then :
37713 glibcxx_cv_func__isinfl_use=yes
37714 else
37715 glibcxx_cv_func__isinfl_use=no
37717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37718 ac_ext=c
37719 ac_cpp='$CPP $CPPFLAGS'
37720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37729 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37731 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37732 for ac_func in _isinfl
37733 do :
37734 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37735 if test "x$ac_cv_func__isinfl" = x""yes; then :
37736 cat >>confdefs.h <<_ACEOF
37737 #define HAVE__ISINFL 1
37738 _ACEOF
37741 done
37750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37751 $as_echo_n "checking for atan2l declaration... " >&6; }
37752 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37753 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37754 $as_echo_n "(cached) " >&6
37755 else
37758 ac_ext=cpp
37759 ac_cpp='$CXXCPP $CPPFLAGS'
37760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37765 /* end confdefs.h. */
37766 #include <math.h>
37768 main ()
37770 atan2l(0, 0);
37772 return 0;
37774 _ACEOF
37775 if ac_fn_cxx_try_compile "$LINENO"; then :
37776 glibcxx_cv_func_atan2l_use=yes
37777 else
37778 glibcxx_cv_func_atan2l_use=no
37780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37781 ac_ext=c
37782 ac_cpp='$CPP $CPPFLAGS'
37783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37792 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37794 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37795 for ac_func in atan2l
37796 do :
37797 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37798 if test "x$ac_cv_func_atan2l" = x""yes; then :
37799 cat >>confdefs.h <<_ACEOF
37800 #define HAVE_ATAN2L 1
37801 _ACEOF
37804 done
37806 else
37808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37809 $as_echo_n "checking for _atan2l declaration... " >&6; }
37810 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37811 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37812 $as_echo_n "(cached) " >&6
37813 else
37816 ac_ext=cpp
37817 ac_cpp='$CXXCPP $CPPFLAGS'
37818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37823 /* end confdefs.h. */
37824 #include <math.h>
37826 main ()
37828 _atan2l(0, 0);
37830 return 0;
37832 _ACEOF
37833 if ac_fn_cxx_try_compile "$LINENO"; then :
37834 glibcxx_cv_func__atan2l_use=yes
37835 else
37836 glibcxx_cv_func__atan2l_use=no
37838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37839 ac_ext=c
37840 ac_cpp='$CPP $CPPFLAGS'
37841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37850 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37852 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37853 for ac_func in _atan2l
37854 do :
37855 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37856 if test "x$ac_cv_func__atan2l" = x""yes; then :
37857 cat >>confdefs.h <<_ACEOF
37858 #define HAVE__ATAN2L 1
37859 _ACEOF
37862 done
37871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37872 $as_echo_n "checking for expl declaration... " >&6; }
37873 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37874 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37875 $as_echo_n "(cached) " >&6
37876 else
37879 ac_ext=cpp
37880 ac_cpp='$CXXCPP $CPPFLAGS'
37881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37886 /* end confdefs.h. */
37887 #include <math.h>
37888 #ifdef HAVE_IEEEFP_H
37889 #include <ieeefp.h>
37890 #endif
37893 main ()
37895 expl(0);
37897 return 0;
37899 _ACEOF
37900 if ac_fn_cxx_try_compile "$LINENO"; then :
37901 glibcxx_cv_func_expl_use=yes
37902 else
37903 glibcxx_cv_func_expl_use=no
37905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37906 ac_ext=c
37907 ac_cpp='$CPP $CPPFLAGS'
37908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37917 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37919 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37920 for ac_func in expl
37921 do :
37922 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37923 if test "x$ac_cv_func_expl" = x""yes; then :
37924 cat >>confdefs.h <<_ACEOF
37925 #define HAVE_EXPL 1
37926 _ACEOF
37929 done
37931 else
37933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37934 $as_echo_n "checking for _expl declaration... " >&6; }
37935 if test x${glibcxx_cv_func__expl_use+set} != xset; then
37936 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37937 $as_echo_n "(cached) " >&6
37938 else
37941 ac_ext=cpp
37942 ac_cpp='$CXXCPP $CPPFLAGS'
37943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37948 /* end confdefs.h. */
37949 #include <math.h>
37950 #ifdef HAVE_IEEEFP_H
37951 #include <ieeefp.h>
37952 #endif
37955 main ()
37957 _expl(0);
37959 return 0;
37961 _ACEOF
37962 if ac_fn_cxx_try_compile "$LINENO"; then :
37963 glibcxx_cv_func__expl_use=yes
37964 else
37965 glibcxx_cv_func__expl_use=no
37967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37968 ac_ext=c
37969 ac_cpp='$CPP $CPPFLAGS'
37970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37979 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37981 if test x$glibcxx_cv_func__expl_use = x"yes"; then
37982 for ac_func in _expl
37983 do :
37984 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37985 if test "x$ac_cv_func__expl" = x""yes; then :
37986 cat >>confdefs.h <<_ACEOF
37987 #define HAVE__EXPL 1
37988 _ACEOF
37991 done
38000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
38001 $as_echo_n "checking for fabsl declaration... " >&6; }
38002 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
38003 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
38004 $as_echo_n "(cached) " >&6
38005 else
38008 ac_ext=cpp
38009 ac_cpp='$CXXCPP $CPPFLAGS'
38010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38015 /* end confdefs.h. */
38016 #include <math.h>
38017 #ifdef HAVE_IEEEFP_H
38018 #include <ieeefp.h>
38019 #endif
38022 main ()
38024 fabsl(0);
38026 return 0;
38028 _ACEOF
38029 if ac_fn_cxx_try_compile "$LINENO"; then :
38030 glibcxx_cv_func_fabsl_use=yes
38031 else
38032 glibcxx_cv_func_fabsl_use=no
38034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38035 ac_ext=c
38036 ac_cpp='$CPP $CPPFLAGS'
38037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
38046 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
38048 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
38049 for ac_func in fabsl
38050 do :
38051 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
38052 if test "x$ac_cv_func_fabsl" = x""yes; then :
38053 cat >>confdefs.h <<_ACEOF
38054 #define HAVE_FABSL 1
38055 _ACEOF
38058 done
38060 else
38062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
38063 $as_echo_n "checking for _fabsl declaration... " >&6; }
38064 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
38065 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
38066 $as_echo_n "(cached) " >&6
38067 else
38070 ac_ext=cpp
38071 ac_cpp='$CXXCPP $CPPFLAGS'
38072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38077 /* end confdefs.h. */
38078 #include <math.h>
38079 #ifdef HAVE_IEEEFP_H
38080 #include <ieeefp.h>
38081 #endif
38084 main ()
38086 _fabsl(0);
38088 return 0;
38090 _ACEOF
38091 if ac_fn_cxx_try_compile "$LINENO"; then :
38092 glibcxx_cv_func__fabsl_use=yes
38093 else
38094 glibcxx_cv_func__fabsl_use=no
38096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38097 ac_ext=c
38098 ac_cpp='$CPP $CPPFLAGS'
38099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
38108 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
38110 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
38111 for ac_func in _fabsl
38112 do :
38113 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
38114 if test "x$ac_cv_func__fabsl" = x""yes; then :
38115 cat >>confdefs.h <<_ACEOF
38116 #define HAVE__FABSL 1
38117 _ACEOF
38120 done
38129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
38130 $as_echo_n "checking for fmodl declaration... " >&6; }
38131 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
38132 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
38133 $as_echo_n "(cached) " >&6
38134 else
38137 ac_ext=cpp
38138 ac_cpp='$CXXCPP $CPPFLAGS'
38139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38144 /* end confdefs.h. */
38145 #include <math.h>
38147 main ()
38149 fmodl(0, 0);
38151 return 0;
38153 _ACEOF
38154 if ac_fn_cxx_try_compile "$LINENO"; then :
38155 glibcxx_cv_func_fmodl_use=yes
38156 else
38157 glibcxx_cv_func_fmodl_use=no
38159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38160 ac_ext=c
38161 ac_cpp='$CPP $CPPFLAGS'
38162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
38171 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
38173 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
38174 for ac_func in fmodl
38175 do :
38176 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
38177 if test "x$ac_cv_func_fmodl" = x""yes; then :
38178 cat >>confdefs.h <<_ACEOF
38179 #define HAVE_FMODL 1
38180 _ACEOF
38183 done
38185 else
38187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
38188 $as_echo_n "checking for _fmodl declaration... " >&6; }
38189 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
38190 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
38191 $as_echo_n "(cached) " >&6
38192 else
38195 ac_ext=cpp
38196 ac_cpp='$CXXCPP $CPPFLAGS'
38197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38202 /* end confdefs.h. */
38203 #include <math.h>
38205 main ()
38207 _fmodl(0, 0);
38209 return 0;
38211 _ACEOF
38212 if ac_fn_cxx_try_compile "$LINENO"; then :
38213 glibcxx_cv_func__fmodl_use=yes
38214 else
38215 glibcxx_cv_func__fmodl_use=no
38217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38218 ac_ext=c
38219 ac_cpp='$CPP $CPPFLAGS'
38220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
38229 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
38231 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38232 for ac_func in _fmodl
38233 do :
38234 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
38235 if test "x$ac_cv_func__fmodl" = x""yes; then :
38236 cat >>confdefs.h <<_ACEOF
38237 #define HAVE__FMODL 1
38238 _ACEOF
38241 done
38250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
38251 $as_echo_n "checking for frexpl declaration... " >&6; }
38252 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38253 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
38254 $as_echo_n "(cached) " >&6
38255 else
38258 ac_ext=cpp
38259 ac_cpp='$CXXCPP $CPPFLAGS'
38260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38265 /* end confdefs.h. */
38266 #include <math.h>
38268 main ()
38270 frexpl(0, 0);
38272 return 0;
38274 _ACEOF
38275 if ac_fn_cxx_try_compile "$LINENO"; then :
38276 glibcxx_cv_func_frexpl_use=yes
38277 else
38278 glibcxx_cv_func_frexpl_use=no
38280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38281 ac_ext=c
38282 ac_cpp='$CPP $CPPFLAGS'
38283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
38292 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
38294 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38295 for ac_func in frexpl
38296 do :
38297 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
38298 if test "x$ac_cv_func_frexpl" = x""yes; then :
38299 cat >>confdefs.h <<_ACEOF
38300 #define HAVE_FREXPL 1
38301 _ACEOF
38304 done
38306 else
38308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
38309 $as_echo_n "checking for _frexpl declaration... " >&6; }
38310 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38311 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
38312 $as_echo_n "(cached) " >&6
38313 else
38316 ac_ext=cpp
38317 ac_cpp='$CXXCPP $CPPFLAGS'
38318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38323 /* end confdefs.h. */
38324 #include <math.h>
38326 main ()
38328 _frexpl(0, 0);
38330 return 0;
38332 _ACEOF
38333 if ac_fn_cxx_try_compile "$LINENO"; then :
38334 glibcxx_cv_func__frexpl_use=yes
38335 else
38336 glibcxx_cv_func__frexpl_use=no
38338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38339 ac_ext=c
38340 ac_cpp='$CPP $CPPFLAGS'
38341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
38350 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
38352 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38353 for ac_func in _frexpl
38354 do :
38355 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
38356 if test "x$ac_cv_func__frexpl" = x""yes; then :
38357 cat >>confdefs.h <<_ACEOF
38358 #define HAVE__FREXPL 1
38359 _ACEOF
38362 done
38371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
38372 $as_echo_n "checking for hypotl declaration... " >&6; }
38373 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38374 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
38375 $as_echo_n "(cached) " >&6
38376 else
38379 ac_ext=cpp
38380 ac_cpp='$CXXCPP $CPPFLAGS'
38381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38386 /* end confdefs.h. */
38387 #include <math.h>
38389 main ()
38391 hypotl(0, 0);
38393 return 0;
38395 _ACEOF
38396 if ac_fn_cxx_try_compile "$LINENO"; then :
38397 glibcxx_cv_func_hypotl_use=yes
38398 else
38399 glibcxx_cv_func_hypotl_use=no
38401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38402 ac_ext=c
38403 ac_cpp='$CPP $CPPFLAGS'
38404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
38413 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
38415 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38416 for ac_func in hypotl
38417 do :
38418 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
38419 if test "x$ac_cv_func_hypotl" = x""yes; then :
38420 cat >>confdefs.h <<_ACEOF
38421 #define HAVE_HYPOTL 1
38422 _ACEOF
38425 done
38427 else
38429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
38430 $as_echo_n "checking for _hypotl declaration... " >&6; }
38431 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38432 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
38433 $as_echo_n "(cached) " >&6
38434 else
38437 ac_ext=cpp
38438 ac_cpp='$CXXCPP $CPPFLAGS'
38439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38444 /* end confdefs.h. */
38445 #include <math.h>
38447 main ()
38449 _hypotl(0, 0);
38451 return 0;
38453 _ACEOF
38454 if ac_fn_cxx_try_compile "$LINENO"; then :
38455 glibcxx_cv_func__hypotl_use=yes
38456 else
38457 glibcxx_cv_func__hypotl_use=no
38459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38460 ac_ext=c
38461 ac_cpp='$CPP $CPPFLAGS'
38462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
38471 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
38473 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38474 for ac_func in _hypotl
38475 do :
38476 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
38477 if test "x$ac_cv_func__hypotl" = x""yes; then :
38478 cat >>confdefs.h <<_ACEOF
38479 #define HAVE__HYPOTL 1
38480 _ACEOF
38483 done
38492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
38493 $as_echo_n "checking for ldexpl declaration... " >&6; }
38494 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
38495 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
38496 $as_echo_n "(cached) " >&6
38497 else
38500 ac_ext=cpp
38501 ac_cpp='$CXXCPP $CPPFLAGS'
38502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38507 /* end confdefs.h. */
38508 #include <math.h>
38510 main ()
38512 ldexpl(0, 0);
38514 return 0;
38516 _ACEOF
38517 if ac_fn_cxx_try_compile "$LINENO"; then :
38518 glibcxx_cv_func_ldexpl_use=yes
38519 else
38520 glibcxx_cv_func_ldexpl_use=no
38522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38523 ac_ext=c
38524 ac_cpp='$CPP $CPPFLAGS'
38525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
38534 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
38536 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
38537 for ac_func in ldexpl
38538 do :
38539 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
38540 if test "x$ac_cv_func_ldexpl" = x""yes; then :
38541 cat >>confdefs.h <<_ACEOF
38542 #define HAVE_LDEXPL 1
38543 _ACEOF
38546 done
38548 else
38550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
38551 $as_echo_n "checking for _ldexpl declaration... " >&6; }
38552 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
38553 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
38554 $as_echo_n "(cached) " >&6
38555 else
38558 ac_ext=cpp
38559 ac_cpp='$CXXCPP $CPPFLAGS'
38560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38565 /* end confdefs.h. */
38566 #include <math.h>
38568 main ()
38570 _ldexpl(0, 0);
38572 return 0;
38574 _ACEOF
38575 if ac_fn_cxx_try_compile "$LINENO"; then :
38576 glibcxx_cv_func__ldexpl_use=yes
38577 else
38578 glibcxx_cv_func__ldexpl_use=no
38580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38581 ac_ext=c
38582 ac_cpp='$CPP $CPPFLAGS'
38583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38592 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38594 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38595 for ac_func in _ldexpl
38596 do :
38597 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38598 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38599 cat >>confdefs.h <<_ACEOF
38600 #define HAVE__LDEXPL 1
38601 _ACEOF
38604 done
38613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38614 $as_echo_n "checking for logl declaration... " >&6; }
38615 if test x${glibcxx_cv_func_logl_use+set} != xset; then
38616 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38617 $as_echo_n "(cached) " >&6
38618 else
38621 ac_ext=cpp
38622 ac_cpp='$CXXCPP $CPPFLAGS'
38623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38628 /* end confdefs.h. */
38629 #include <math.h>
38630 #ifdef HAVE_IEEEFP_H
38631 #include <ieeefp.h>
38632 #endif
38635 main ()
38637 logl(0);
38639 return 0;
38641 _ACEOF
38642 if ac_fn_cxx_try_compile "$LINENO"; then :
38643 glibcxx_cv_func_logl_use=yes
38644 else
38645 glibcxx_cv_func_logl_use=no
38647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38648 ac_ext=c
38649 ac_cpp='$CPP $CPPFLAGS'
38650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38659 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38661 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38662 for ac_func in logl
38663 do :
38664 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38665 if test "x$ac_cv_func_logl" = x""yes; then :
38666 cat >>confdefs.h <<_ACEOF
38667 #define HAVE_LOGL 1
38668 _ACEOF
38671 done
38673 else
38675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38676 $as_echo_n "checking for _logl declaration... " >&6; }
38677 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38678 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38679 $as_echo_n "(cached) " >&6
38680 else
38683 ac_ext=cpp
38684 ac_cpp='$CXXCPP $CPPFLAGS'
38685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38690 /* end confdefs.h. */
38691 #include <math.h>
38692 #ifdef HAVE_IEEEFP_H
38693 #include <ieeefp.h>
38694 #endif
38697 main ()
38699 _logl(0);
38701 return 0;
38703 _ACEOF
38704 if ac_fn_cxx_try_compile "$LINENO"; then :
38705 glibcxx_cv_func__logl_use=yes
38706 else
38707 glibcxx_cv_func__logl_use=no
38709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38710 ac_ext=c
38711 ac_cpp='$CPP $CPPFLAGS'
38712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38721 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38723 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38724 for ac_func in _logl
38725 do :
38726 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38727 if test "x$ac_cv_func__logl" = x""yes; then :
38728 cat >>confdefs.h <<_ACEOF
38729 #define HAVE__LOGL 1
38730 _ACEOF
38733 done
38742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38743 $as_echo_n "checking for log10l declaration... " >&6; }
38744 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38745 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38746 $as_echo_n "(cached) " >&6
38747 else
38750 ac_ext=cpp
38751 ac_cpp='$CXXCPP $CPPFLAGS'
38752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38757 /* end confdefs.h. */
38758 #include <math.h>
38759 #ifdef HAVE_IEEEFP_H
38760 #include <ieeefp.h>
38761 #endif
38764 main ()
38766 log10l(0);
38768 return 0;
38770 _ACEOF
38771 if ac_fn_cxx_try_compile "$LINENO"; then :
38772 glibcxx_cv_func_log10l_use=yes
38773 else
38774 glibcxx_cv_func_log10l_use=no
38776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38777 ac_ext=c
38778 ac_cpp='$CPP $CPPFLAGS'
38779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38788 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38790 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38791 for ac_func in log10l
38792 do :
38793 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38794 if test "x$ac_cv_func_log10l" = x""yes; then :
38795 cat >>confdefs.h <<_ACEOF
38796 #define HAVE_LOG10L 1
38797 _ACEOF
38800 done
38802 else
38804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38805 $as_echo_n "checking for _log10l declaration... " >&6; }
38806 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38807 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38808 $as_echo_n "(cached) " >&6
38809 else
38812 ac_ext=cpp
38813 ac_cpp='$CXXCPP $CPPFLAGS'
38814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38819 /* end confdefs.h. */
38820 #include <math.h>
38821 #ifdef HAVE_IEEEFP_H
38822 #include <ieeefp.h>
38823 #endif
38826 main ()
38828 _log10l(0);
38830 return 0;
38832 _ACEOF
38833 if ac_fn_cxx_try_compile "$LINENO"; then :
38834 glibcxx_cv_func__log10l_use=yes
38835 else
38836 glibcxx_cv_func__log10l_use=no
38838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38839 ac_ext=c
38840 ac_cpp='$CPP $CPPFLAGS'
38841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38850 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38852 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38853 for ac_func in _log10l
38854 do :
38855 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38856 if test "x$ac_cv_func__log10l" = x""yes; then :
38857 cat >>confdefs.h <<_ACEOF
38858 #define HAVE__LOG10L 1
38859 _ACEOF
38862 done
38871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38872 $as_echo_n "checking for modfl declaration... " >&6; }
38873 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38874 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38875 $as_echo_n "(cached) " >&6
38876 else
38879 ac_ext=cpp
38880 ac_cpp='$CXXCPP $CPPFLAGS'
38881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38886 /* end confdefs.h. */
38887 #include <math.h>
38889 main ()
38891 modfl(0, 0);
38893 return 0;
38895 _ACEOF
38896 if ac_fn_cxx_try_compile "$LINENO"; then :
38897 glibcxx_cv_func_modfl_use=yes
38898 else
38899 glibcxx_cv_func_modfl_use=no
38901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38902 ac_ext=c
38903 ac_cpp='$CPP $CPPFLAGS'
38904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38913 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38915 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38916 for ac_func in modfl
38917 do :
38918 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38919 if test "x$ac_cv_func_modfl" = x""yes; then :
38920 cat >>confdefs.h <<_ACEOF
38921 #define HAVE_MODFL 1
38922 _ACEOF
38925 done
38927 else
38929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38930 $as_echo_n "checking for _modfl declaration... " >&6; }
38931 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38932 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38933 $as_echo_n "(cached) " >&6
38934 else
38937 ac_ext=cpp
38938 ac_cpp='$CXXCPP $CPPFLAGS'
38939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38944 /* end confdefs.h. */
38945 #include <math.h>
38947 main ()
38949 _modfl(0, 0);
38951 return 0;
38953 _ACEOF
38954 if ac_fn_cxx_try_compile "$LINENO"; then :
38955 glibcxx_cv_func__modfl_use=yes
38956 else
38957 glibcxx_cv_func__modfl_use=no
38959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38960 ac_ext=c
38961 ac_cpp='$CPP $CPPFLAGS'
38962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38971 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38973 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38974 for ac_func in _modfl
38975 do :
38976 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38977 if test "x$ac_cv_func__modfl" = x""yes; then :
38978 cat >>confdefs.h <<_ACEOF
38979 #define HAVE__MODFL 1
38980 _ACEOF
38983 done
38992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38993 $as_echo_n "checking for powl declaration... " >&6; }
38994 if test x${glibcxx_cv_func_powl_use+set} != xset; then
38995 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38996 $as_echo_n "(cached) " >&6
38997 else
39000 ac_ext=cpp
39001 ac_cpp='$CXXCPP $CPPFLAGS'
39002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39007 /* end confdefs.h. */
39008 #include <math.h>
39010 main ()
39012 powl(0, 0);
39014 return 0;
39016 _ACEOF
39017 if ac_fn_cxx_try_compile "$LINENO"; then :
39018 glibcxx_cv_func_powl_use=yes
39019 else
39020 glibcxx_cv_func_powl_use=no
39022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39023 ac_ext=c
39024 ac_cpp='$CPP $CPPFLAGS'
39025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
39034 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
39036 if test x$glibcxx_cv_func_powl_use = x"yes"; then
39037 for ac_func in powl
39038 do :
39039 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
39040 if test "x$ac_cv_func_powl" = x""yes; then :
39041 cat >>confdefs.h <<_ACEOF
39042 #define HAVE_POWL 1
39043 _ACEOF
39046 done
39048 else
39050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
39051 $as_echo_n "checking for _powl declaration... " >&6; }
39052 if test x${glibcxx_cv_func__powl_use+set} != xset; then
39053 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
39054 $as_echo_n "(cached) " >&6
39055 else
39058 ac_ext=cpp
39059 ac_cpp='$CXXCPP $CPPFLAGS'
39060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39065 /* end confdefs.h. */
39066 #include <math.h>
39068 main ()
39070 _powl(0, 0);
39072 return 0;
39074 _ACEOF
39075 if ac_fn_cxx_try_compile "$LINENO"; then :
39076 glibcxx_cv_func__powl_use=yes
39077 else
39078 glibcxx_cv_func__powl_use=no
39080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39081 ac_ext=c
39082 ac_cpp='$CPP $CPPFLAGS'
39083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
39092 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
39094 if test x$glibcxx_cv_func__powl_use = x"yes"; then
39095 for ac_func in _powl
39096 do :
39097 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
39098 if test "x$ac_cv_func__powl" = x""yes; then :
39099 cat >>confdefs.h <<_ACEOF
39100 #define HAVE__POWL 1
39101 _ACEOF
39104 done
39113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
39114 $as_echo_n "checking for sqrtl declaration... " >&6; }
39115 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
39116 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
39117 $as_echo_n "(cached) " >&6
39118 else
39121 ac_ext=cpp
39122 ac_cpp='$CXXCPP $CPPFLAGS'
39123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39128 /* end confdefs.h. */
39129 #include <math.h>
39130 #ifdef HAVE_IEEEFP_H
39131 #include <ieeefp.h>
39132 #endif
39135 main ()
39137 sqrtl(0);
39139 return 0;
39141 _ACEOF
39142 if ac_fn_cxx_try_compile "$LINENO"; then :
39143 glibcxx_cv_func_sqrtl_use=yes
39144 else
39145 glibcxx_cv_func_sqrtl_use=no
39147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39148 ac_ext=c
39149 ac_cpp='$CPP $CPPFLAGS'
39150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
39159 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
39161 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
39162 for ac_func in sqrtl
39163 do :
39164 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
39165 if test "x$ac_cv_func_sqrtl" = x""yes; then :
39166 cat >>confdefs.h <<_ACEOF
39167 #define HAVE_SQRTL 1
39168 _ACEOF
39171 done
39173 else
39175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
39176 $as_echo_n "checking for _sqrtl declaration... " >&6; }
39177 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
39178 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
39179 $as_echo_n "(cached) " >&6
39180 else
39183 ac_ext=cpp
39184 ac_cpp='$CXXCPP $CPPFLAGS'
39185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39190 /* end confdefs.h. */
39191 #include <math.h>
39192 #ifdef HAVE_IEEEFP_H
39193 #include <ieeefp.h>
39194 #endif
39197 main ()
39199 _sqrtl(0);
39201 return 0;
39203 _ACEOF
39204 if ac_fn_cxx_try_compile "$LINENO"; then :
39205 glibcxx_cv_func__sqrtl_use=yes
39206 else
39207 glibcxx_cv_func__sqrtl_use=no
39209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39210 ac_ext=c
39211 ac_cpp='$CPP $CPPFLAGS'
39212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
39221 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
39223 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39224 for ac_func in _sqrtl
39225 do :
39226 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
39227 if test "x$ac_cv_func__sqrtl" = x""yes; then :
39228 cat >>confdefs.h <<_ACEOF
39229 #define HAVE__SQRTL 1
39230 _ACEOF
39233 done
39242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
39243 $as_echo_n "checking for sincosl declaration... " >&6; }
39244 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39245 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
39246 $as_echo_n "(cached) " >&6
39247 else
39250 ac_ext=cpp
39251 ac_cpp='$CXXCPP $CPPFLAGS'
39252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39257 /* end confdefs.h. */
39258 #include <math.h>
39260 main ()
39262 sincosl(0, 0, 0);
39264 return 0;
39266 _ACEOF
39267 if ac_fn_cxx_try_compile "$LINENO"; then :
39268 glibcxx_cv_func_sincosl_use=yes
39269 else
39270 glibcxx_cv_func_sincosl_use=no
39272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39273 ac_ext=c
39274 ac_cpp='$CPP $CPPFLAGS'
39275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
39284 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
39286 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39287 for ac_func in sincosl
39288 do :
39289 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
39290 if test "x$ac_cv_func_sincosl" = x""yes; then :
39291 cat >>confdefs.h <<_ACEOF
39292 #define HAVE_SINCOSL 1
39293 _ACEOF
39296 done
39298 else
39300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
39301 $as_echo_n "checking for _sincosl declaration... " >&6; }
39302 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
39303 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
39304 $as_echo_n "(cached) " >&6
39305 else
39308 ac_ext=cpp
39309 ac_cpp='$CXXCPP $CPPFLAGS'
39310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39315 /* end confdefs.h. */
39316 #include <math.h>
39318 main ()
39320 _sincosl(0, 0, 0);
39322 return 0;
39324 _ACEOF
39325 if ac_fn_cxx_try_compile "$LINENO"; then :
39326 glibcxx_cv_func__sincosl_use=yes
39327 else
39328 glibcxx_cv_func__sincosl_use=no
39330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39331 ac_ext=c
39332 ac_cpp='$CPP $CPPFLAGS'
39333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
39342 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
39344 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
39345 for ac_func in _sincosl
39346 do :
39347 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
39348 if test "x$ac_cv_func__sincosl" = x""yes; then :
39349 cat >>confdefs.h <<_ACEOF
39350 #define HAVE__SINCOSL 1
39351 _ACEOF
39354 done
39363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
39364 $as_echo_n "checking for finitel declaration... " >&6; }
39365 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
39366 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
39367 $as_echo_n "(cached) " >&6
39368 else
39371 ac_ext=cpp
39372 ac_cpp='$CXXCPP $CPPFLAGS'
39373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39378 /* end confdefs.h. */
39379 #include <math.h>
39380 #ifdef HAVE_IEEEFP_H
39381 #include <ieeefp.h>
39382 #endif
39385 main ()
39387 finitel(0);
39389 return 0;
39391 _ACEOF
39392 if ac_fn_cxx_try_compile "$LINENO"; then :
39393 glibcxx_cv_func_finitel_use=yes
39394 else
39395 glibcxx_cv_func_finitel_use=no
39397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39398 ac_ext=c
39399 ac_cpp='$CPP $CPPFLAGS'
39400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
39409 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
39411 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
39412 for ac_func in finitel
39413 do :
39414 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
39415 if test "x$ac_cv_func_finitel" = x""yes; then :
39416 cat >>confdefs.h <<_ACEOF
39417 #define HAVE_FINITEL 1
39418 _ACEOF
39421 done
39423 else
39425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
39426 $as_echo_n "checking for _finitel declaration... " >&6; }
39427 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
39428 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
39429 $as_echo_n "(cached) " >&6
39430 else
39433 ac_ext=cpp
39434 ac_cpp='$CXXCPP $CPPFLAGS'
39435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39440 /* end confdefs.h. */
39441 #include <math.h>
39442 #ifdef HAVE_IEEEFP_H
39443 #include <ieeefp.h>
39444 #endif
39447 main ()
39449 _finitel(0);
39451 return 0;
39453 _ACEOF
39454 if ac_fn_cxx_try_compile "$LINENO"; then :
39455 glibcxx_cv_func__finitel_use=yes
39456 else
39457 glibcxx_cv_func__finitel_use=no
39459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39460 ac_ext=c
39461 ac_cpp='$CPP $CPPFLAGS'
39462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
39471 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
39473 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
39474 for ac_func in _finitel
39475 do :
39476 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
39477 if test "x$ac_cv_func__finitel" = x""yes; then :
39478 cat >>confdefs.h <<_ACEOF
39479 #define HAVE__FINITEL 1
39480 _ACEOF
39483 done
39491 LIBS="$ac_save_LIBS"
39492 CXXFLAGS="$ac_save_CXXFLAGS"
39495 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39496 ac_save_CXXFLAGS="$CXXFLAGS"
39497 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
39501 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
39502 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
39503 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
39504 $as_echo_n "(cached) " >&6
39505 else
39508 ac_ext=cpp
39509 ac_cpp='$CXXCPP $CPPFLAGS'
39510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39515 /* end confdefs.h. */
39516 #include <stdlib.h>
39518 main ()
39520 at_quick_exit(0);
39522 return 0;
39524 _ACEOF
39525 if ac_fn_cxx_try_compile "$LINENO"; then :
39526 glibcxx_cv_func_at_quick_exit_use=yes
39527 else
39528 glibcxx_cv_func_at_quick_exit_use=no
39530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39531 ac_ext=c
39532 ac_cpp='$CPP $CPPFLAGS'
39533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
39542 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
39543 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
39544 for ac_func in at_quick_exit
39545 do :
39546 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
39547 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
39548 cat >>confdefs.h <<_ACEOF
39549 #define HAVE_AT_QUICK_EXIT 1
39550 _ACEOF
39553 done
39558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
39559 $as_echo_n "checking for quick_exit declaration... " >&6; }
39560 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
39561 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
39562 $as_echo_n "(cached) " >&6
39563 else
39566 ac_ext=cpp
39567 ac_cpp='$CXXCPP $CPPFLAGS'
39568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39573 /* end confdefs.h. */
39574 #include <stdlib.h>
39576 main ()
39578 quick_exit(0);
39580 return 0;
39582 _ACEOF
39583 if ac_fn_cxx_try_compile "$LINENO"; then :
39584 glibcxx_cv_func_quick_exit_use=yes
39585 else
39586 glibcxx_cv_func_quick_exit_use=no
39588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39589 ac_ext=c
39590 ac_cpp='$CPP $CPPFLAGS'
39591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
39600 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
39601 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
39602 for ac_func in quick_exit
39603 do :
39604 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
39605 if test "x$ac_cv_func_quick_exit" = x""yes; then :
39606 cat >>confdefs.h <<_ACEOF
39607 #define HAVE_QUICK_EXIT 1
39608 _ACEOF
39611 done
39616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
39617 $as_echo_n "checking for strtold declaration... " >&6; }
39618 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
39619 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
39620 $as_echo_n "(cached) " >&6
39621 else
39624 ac_ext=cpp
39625 ac_cpp='$CXXCPP $CPPFLAGS'
39626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39631 /* end confdefs.h. */
39632 #include <stdlib.h>
39634 main ()
39636 strtold(0, 0);
39638 return 0;
39640 _ACEOF
39641 if ac_fn_cxx_try_compile "$LINENO"; then :
39642 glibcxx_cv_func_strtold_use=yes
39643 else
39644 glibcxx_cv_func_strtold_use=no
39646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39647 ac_ext=c
39648 ac_cpp='$CPP $CPPFLAGS'
39649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
39658 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
39659 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
39660 for ac_func in strtold
39661 do :
39662 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
39663 if test "x$ac_cv_func_strtold" = x""yes; then :
39664 cat >>confdefs.h <<_ACEOF
39665 #define HAVE_STRTOLD 1
39666 _ACEOF
39669 done
39676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
39677 $as_echo_n "checking for strtof declaration... " >&6; }
39678 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
39679 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
39680 $as_echo_n "(cached) " >&6
39681 else
39684 ac_ext=cpp
39685 ac_cpp='$CXXCPP $CPPFLAGS'
39686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39691 /* end confdefs.h. */
39692 #include <stdlib.h>
39694 main ()
39696 strtof(0, 0);
39698 return 0;
39700 _ACEOF
39701 if ac_fn_cxx_try_compile "$LINENO"; then :
39702 glibcxx_cv_func_strtof_use=yes
39703 else
39704 glibcxx_cv_func_strtof_use=no
39706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39707 ac_ext=c
39708 ac_cpp='$CPP $CPPFLAGS'
39709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39718 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39719 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39720 for ac_func in strtof
39721 do :
39722 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39723 if test "x$ac_cv_func_strtof" = x""yes; then :
39724 cat >>confdefs.h <<_ACEOF
39725 #define HAVE_STRTOF 1
39726 _ACEOF
39729 done
39736 CXXFLAGS="$ac_save_CXXFLAGS"
39738 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
39740 # We don't yet support AIX's TLS ABI.
39741 #GCC_CHECK_TLS
39747 am_save_CPPFLAGS="$CPPFLAGS"
39749 for element in $INCICONV; do
39750 haveit=
39751 for x in $CPPFLAGS; do
39753 acl_save_prefix="$prefix"
39754 prefix="$acl_final_prefix"
39755 acl_save_exec_prefix="$exec_prefix"
39756 exec_prefix="$acl_final_exec_prefix"
39757 eval x=\"$x\"
39758 exec_prefix="$acl_save_exec_prefix"
39759 prefix="$acl_save_prefix"
39761 if test "X$x" = "X$element"; then
39762 haveit=yes
39763 break
39765 done
39766 if test -z "$haveit"; then
39767 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39769 done
39772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39773 $as_echo_n "checking for iconv... " >&6; }
39774 if test "${am_cv_func_iconv+set}" = set; then :
39775 $as_echo_n "(cached) " >&6
39776 else
39778 am_cv_func_iconv="no, consider installing GNU libiconv"
39779 am_cv_lib_iconv=no
39780 if test x$gcc_no_link = xyes; then
39781 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39784 /* end confdefs.h. */
39785 #include <stdlib.h>
39786 #include <iconv.h>
39788 main ()
39790 iconv_t cd = iconv_open("","");
39791 iconv(cd,NULL,NULL,NULL,NULL);
39792 iconv_close(cd);
39794 return 0;
39796 _ACEOF
39797 if ac_fn_c_try_link "$LINENO"; then :
39798 am_cv_func_iconv=yes
39800 rm -f core conftest.err conftest.$ac_objext \
39801 conftest$ac_exeext conftest.$ac_ext
39802 if test "$am_cv_func_iconv" != yes; then
39803 am_save_LIBS="$LIBS"
39804 LIBS="$LIBS $LIBICONV"
39805 if test x$gcc_no_link = xyes; then
39806 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39809 /* end confdefs.h. */
39810 #include <stdlib.h>
39811 #include <iconv.h>
39813 main ()
39815 iconv_t cd = iconv_open("","");
39816 iconv(cd,NULL,NULL,NULL,NULL);
39817 iconv_close(cd);
39819 return 0;
39821 _ACEOF
39822 if ac_fn_c_try_link "$LINENO"; then :
39823 am_cv_lib_iconv=yes
39824 am_cv_func_iconv=yes
39826 rm -f core conftest.err conftest.$ac_objext \
39827 conftest$ac_exeext conftest.$ac_ext
39828 LIBS="$am_save_LIBS"
39832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39833 $as_echo "$am_cv_func_iconv" >&6; }
39834 if test "$am_cv_func_iconv" = yes; then
39836 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39839 if test "$am_cv_lib_iconv" = yes; then
39840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39841 $as_echo_n "checking how to link with libiconv... " >&6; }
39842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39843 $as_echo "$LIBICONV" >&6; }
39844 else
39845 CPPFLAGS="$am_save_CPPFLAGS"
39846 LIBICONV=
39847 LTLIBICONV=
39852 if test "$am_cv_func_iconv" = yes; then
39853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39854 $as_echo_n "checking for iconv declaration... " >&6; }
39855 if test "${am_cv_proto_iconv+set}" = set; then :
39856 $as_echo_n "(cached) " >&6
39857 else
39859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39860 /* end confdefs.h. */
39862 #include <stdlib.h>
39863 #include <iconv.h>
39864 extern
39865 #ifdef __cplusplus
39867 #endif
39868 #if defined(__STDC__) || defined(__cplusplus)
39869 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39870 #else
39871 size_t iconv();
39872 #endif
39875 main ()
39879 return 0;
39881 _ACEOF
39882 if ac_fn_c_try_compile "$LINENO"; then :
39883 am_cv_proto_iconv_arg1=""
39884 else
39885 am_cv_proto_iconv_arg1="const"
39887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39888 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);"
39891 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39893 }$am_cv_proto_iconv" >&5
39894 $as_echo "${ac_t:-
39895 }$am_cv_proto_iconv" >&6; }
39897 cat >>confdefs.h <<_ACEOF
39898 #define ICONV_CONST $am_cv_proto_iconv_arg1
39899 _ACEOF
39905 *-darwin*)
39906 # Darwin versions vary, but the linker should work in a cross environment,
39907 # so we just check for all the features here.
39908 # Check for available headers.
39910 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39912 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39913 ac_save_CXXFLAGS="$CXXFLAGS"
39914 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39917 $as_echo_n "checking for sin in -lm... " >&6; }
39918 if test "${ac_cv_lib_m_sin+set}" = set; then :
39919 $as_echo_n "(cached) " >&6
39920 else
39921 ac_check_lib_save_LIBS=$LIBS
39922 LIBS="-lm $LIBS"
39923 if test x$gcc_no_link = xyes; then
39924 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39927 /* end confdefs.h. */
39929 /* Override any GCC internal prototype to avoid an error.
39930 Use char because int might match the return type of a GCC
39931 builtin and then its argument prototype would still apply. */
39932 #ifdef __cplusplus
39933 extern "C"
39934 #endif
39935 char sin ();
39937 main ()
39939 return sin ();
39941 return 0;
39943 _ACEOF
39944 if ac_fn_c_try_link "$LINENO"; then :
39945 ac_cv_lib_m_sin=yes
39946 else
39947 ac_cv_lib_m_sin=no
39949 rm -f core conftest.err conftest.$ac_objext \
39950 conftest$ac_exeext conftest.$ac_ext
39951 LIBS=$ac_check_lib_save_LIBS
39953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39954 $as_echo "$ac_cv_lib_m_sin" >&6; }
39955 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39956 libm="-lm"
39959 ac_save_LIBS="$LIBS"
39960 LIBS="$LIBS $libm"
39964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39965 $as_echo_n "checking for isinf declaration... " >&6; }
39966 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39967 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39968 $as_echo_n "(cached) " >&6
39969 else
39972 ac_ext=cpp
39973 ac_cpp='$CXXCPP $CPPFLAGS'
39974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39979 /* end confdefs.h. */
39980 #include <math.h>
39981 #ifdef HAVE_IEEEFP_H
39982 #include <ieeefp.h>
39983 #endif
39986 main ()
39988 isinf(0);
39990 return 0;
39992 _ACEOF
39993 if ac_fn_cxx_try_compile "$LINENO"; then :
39994 glibcxx_cv_func_isinf_use=yes
39995 else
39996 glibcxx_cv_func_isinf_use=no
39998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39999 ac_ext=c
40000 ac_cpp='$CPP $CPPFLAGS'
40001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
40010 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
40012 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
40013 for ac_func in isinf
40014 do :
40015 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
40016 if test "x$ac_cv_func_isinf" = x""yes; then :
40017 cat >>confdefs.h <<_ACEOF
40018 #define HAVE_ISINF 1
40019 _ACEOF
40022 done
40024 else
40026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
40027 $as_echo_n "checking for _isinf declaration... " >&6; }
40028 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
40029 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
40030 $as_echo_n "(cached) " >&6
40031 else
40034 ac_ext=cpp
40035 ac_cpp='$CXXCPP $CPPFLAGS'
40036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40041 /* end confdefs.h. */
40042 #include <math.h>
40043 #ifdef HAVE_IEEEFP_H
40044 #include <ieeefp.h>
40045 #endif
40048 main ()
40050 _isinf(0);
40052 return 0;
40054 _ACEOF
40055 if ac_fn_cxx_try_compile "$LINENO"; then :
40056 glibcxx_cv_func__isinf_use=yes
40057 else
40058 glibcxx_cv_func__isinf_use=no
40060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40061 ac_ext=c
40062 ac_cpp='$CPP $CPPFLAGS'
40063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
40072 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
40074 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
40075 for ac_func in _isinf
40076 do :
40077 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
40078 if test "x$ac_cv_func__isinf" = x""yes; then :
40079 cat >>confdefs.h <<_ACEOF
40080 #define HAVE__ISINF 1
40081 _ACEOF
40084 done
40093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
40094 $as_echo_n "checking for isnan declaration... " >&6; }
40095 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
40096 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
40097 $as_echo_n "(cached) " >&6
40098 else
40101 ac_ext=cpp
40102 ac_cpp='$CXXCPP $CPPFLAGS'
40103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40108 /* end confdefs.h. */
40109 #include <math.h>
40110 #ifdef HAVE_IEEEFP_H
40111 #include <ieeefp.h>
40112 #endif
40115 main ()
40117 isnan(0);
40119 return 0;
40121 _ACEOF
40122 if ac_fn_cxx_try_compile "$LINENO"; then :
40123 glibcxx_cv_func_isnan_use=yes
40124 else
40125 glibcxx_cv_func_isnan_use=no
40127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40128 ac_ext=c
40129 ac_cpp='$CPP $CPPFLAGS'
40130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
40139 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
40141 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
40142 for ac_func in isnan
40143 do :
40144 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
40145 if test "x$ac_cv_func_isnan" = x""yes; then :
40146 cat >>confdefs.h <<_ACEOF
40147 #define HAVE_ISNAN 1
40148 _ACEOF
40151 done
40153 else
40155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
40156 $as_echo_n "checking for _isnan declaration... " >&6; }
40157 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
40158 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
40159 $as_echo_n "(cached) " >&6
40160 else
40163 ac_ext=cpp
40164 ac_cpp='$CXXCPP $CPPFLAGS'
40165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40170 /* end confdefs.h. */
40171 #include <math.h>
40172 #ifdef HAVE_IEEEFP_H
40173 #include <ieeefp.h>
40174 #endif
40177 main ()
40179 _isnan(0);
40181 return 0;
40183 _ACEOF
40184 if ac_fn_cxx_try_compile "$LINENO"; then :
40185 glibcxx_cv_func__isnan_use=yes
40186 else
40187 glibcxx_cv_func__isnan_use=no
40189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40190 ac_ext=c
40191 ac_cpp='$CPP $CPPFLAGS'
40192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
40201 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
40203 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
40204 for ac_func in _isnan
40205 do :
40206 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
40207 if test "x$ac_cv_func__isnan" = x""yes; then :
40208 cat >>confdefs.h <<_ACEOF
40209 #define HAVE__ISNAN 1
40210 _ACEOF
40213 done
40222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
40223 $as_echo_n "checking for finite declaration... " >&6; }
40224 if test x${glibcxx_cv_func_finite_use+set} != xset; then
40225 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
40226 $as_echo_n "(cached) " >&6
40227 else
40230 ac_ext=cpp
40231 ac_cpp='$CXXCPP $CPPFLAGS'
40232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40237 /* end confdefs.h. */
40238 #include <math.h>
40239 #ifdef HAVE_IEEEFP_H
40240 #include <ieeefp.h>
40241 #endif
40244 main ()
40246 finite(0);
40248 return 0;
40250 _ACEOF
40251 if ac_fn_cxx_try_compile "$LINENO"; then :
40252 glibcxx_cv_func_finite_use=yes
40253 else
40254 glibcxx_cv_func_finite_use=no
40256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40257 ac_ext=c
40258 ac_cpp='$CPP $CPPFLAGS'
40259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
40268 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
40270 if test x$glibcxx_cv_func_finite_use = x"yes"; then
40271 for ac_func in finite
40272 do :
40273 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
40274 if test "x$ac_cv_func_finite" = x""yes; then :
40275 cat >>confdefs.h <<_ACEOF
40276 #define HAVE_FINITE 1
40277 _ACEOF
40280 done
40282 else
40284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
40285 $as_echo_n "checking for _finite declaration... " >&6; }
40286 if test x${glibcxx_cv_func__finite_use+set} != xset; then
40287 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
40288 $as_echo_n "(cached) " >&6
40289 else
40292 ac_ext=cpp
40293 ac_cpp='$CXXCPP $CPPFLAGS'
40294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40299 /* end confdefs.h. */
40300 #include <math.h>
40301 #ifdef HAVE_IEEEFP_H
40302 #include <ieeefp.h>
40303 #endif
40306 main ()
40308 _finite(0);
40310 return 0;
40312 _ACEOF
40313 if ac_fn_cxx_try_compile "$LINENO"; then :
40314 glibcxx_cv_func__finite_use=yes
40315 else
40316 glibcxx_cv_func__finite_use=no
40318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40319 ac_ext=c
40320 ac_cpp='$CPP $CPPFLAGS'
40321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
40330 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
40332 if test x$glibcxx_cv_func__finite_use = x"yes"; then
40333 for ac_func in _finite
40334 do :
40335 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
40336 if test "x$ac_cv_func__finite" = x""yes; then :
40337 cat >>confdefs.h <<_ACEOF
40338 #define HAVE__FINITE 1
40339 _ACEOF
40342 done
40351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
40352 $as_echo_n "checking for sincos declaration... " >&6; }
40353 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
40354 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
40355 $as_echo_n "(cached) " >&6
40356 else
40359 ac_ext=cpp
40360 ac_cpp='$CXXCPP $CPPFLAGS'
40361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40366 /* end confdefs.h. */
40367 #include <math.h>
40369 main ()
40371 sincos(0, 0, 0);
40373 return 0;
40375 _ACEOF
40376 if ac_fn_cxx_try_compile "$LINENO"; then :
40377 glibcxx_cv_func_sincos_use=yes
40378 else
40379 glibcxx_cv_func_sincos_use=no
40381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40382 ac_ext=c
40383 ac_cpp='$CPP $CPPFLAGS'
40384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
40393 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
40395 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
40396 for ac_func in sincos
40397 do :
40398 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
40399 if test "x$ac_cv_func_sincos" = x""yes; then :
40400 cat >>confdefs.h <<_ACEOF
40401 #define HAVE_SINCOS 1
40402 _ACEOF
40405 done
40407 else
40409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
40410 $as_echo_n "checking for _sincos declaration... " >&6; }
40411 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
40412 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
40413 $as_echo_n "(cached) " >&6
40414 else
40417 ac_ext=cpp
40418 ac_cpp='$CXXCPP $CPPFLAGS'
40419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40424 /* end confdefs.h. */
40425 #include <math.h>
40427 main ()
40429 _sincos(0, 0, 0);
40431 return 0;
40433 _ACEOF
40434 if ac_fn_cxx_try_compile "$LINENO"; then :
40435 glibcxx_cv_func__sincos_use=yes
40436 else
40437 glibcxx_cv_func__sincos_use=no
40439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40440 ac_ext=c
40441 ac_cpp='$CPP $CPPFLAGS'
40442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
40451 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
40453 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
40454 for ac_func in _sincos
40455 do :
40456 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
40457 if test "x$ac_cv_func__sincos" = x""yes; then :
40458 cat >>confdefs.h <<_ACEOF
40459 #define HAVE__SINCOS 1
40460 _ACEOF
40463 done
40472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
40473 $as_echo_n "checking for fpclass declaration... " >&6; }
40474 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
40475 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
40476 $as_echo_n "(cached) " >&6
40477 else
40480 ac_ext=cpp
40481 ac_cpp='$CXXCPP $CPPFLAGS'
40482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40487 /* end confdefs.h. */
40488 #include <math.h>
40489 #ifdef HAVE_IEEEFP_H
40490 #include <ieeefp.h>
40491 #endif
40494 main ()
40496 fpclass(0);
40498 return 0;
40500 _ACEOF
40501 if ac_fn_cxx_try_compile "$LINENO"; then :
40502 glibcxx_cv_func_fpclass_use=yes
40503 else
40504 glibcxx_cv_func_fpclass_use=no
40506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40507 ac_ext=c
40508 ac_cpp='$CPP $CPPFLAGS'
40509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
40518 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
40520 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
40521 for ac_func in fpclass
40522 do :
40523 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
40524 if test "x$ac_cv_func_fpclass" = x""yes; then :
40525 cat >>confdefs.h <<_ACEOF
40526 #define HAVE_FPCLASS 1
40527 _ACEOF
40530 done
40532 else
40534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
40535 $as_echo_n "checking for _fpclass declaration... " >&6; }
40536 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
40537 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
40538 $as_echo_n "(cached) " >&6
40539 else
40542 ac_ext=cpp
40543 ac_cpp='$CXXCPP $CPPFLAGS'
40544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40549 /* end confdefs.h. */
40550 #include <math.h>
40551 #ifdef HAVE_IEEEFP_H
40552 #include <ieeefp.h>
40553 #endif
40556 main ()
40558 _fpclass(0);
40560 return 0;
40562 _ACEOF
40563 if ac_fn_cxx_try_compile "$LINENO"; then :
40564 glibcxx_cv_func__fpclass_use=yes
40565 else
40566 glibcxx_cv_func__fpclass_use=no
40568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40569 ac_ext=c
40570 ac_cpp='$CPP $CPPFLAGS'
40571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
40580 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
40582 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
40583 for ac_func in _fpclass
40584 do :
40585 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
40586 if test "x$ac_cv_func__fpclass" = x""yes; then :
40587 cat >>confdefs.h <<_ACEOF
40588 #define HAVE__FPCLASS 1
40589 _ACEOF
40592 done
40601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
40602 $as_echo_n "checking for qfpclass declaration... " >&6; }
40603 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
40604 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
40605 $as_echo_n "(cached) " >&6
40606 else
40609 ac_ext=cpp
40610 ac_cpp='$CXXCPP $CPPFLAGS'
40611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40616 /* end confdefs.h. */
40617 #include <math.h>
40618 #ifdef HAVE_IEEEFP_H
40619 #include <ieeefp.h>
40620 #endif
40623 main ()
40625 qfpclass(0);
40627 return 0;
40629 _ACEOF
40630 if ac_fn_cxx_try_compile "$LINENO"; then :
40631 glibcxx_cv_func_qfpclass_use=yes
40632 else
40633 glibcxx_cv_func_qfpclass_use=no
40635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40636 ac_ext=c
40637 ac_cpp='$CPP $CPPFLAGS'
40638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
40647 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
40649 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
40650 for ac_func in qfpclass
40651 do :
40652 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
40653 if test "x$ac_cv_func_qfpclass" = x""yes; then :
40654 cat >>confdefs.h <<_ACEOF
40655 #define HAVE_QFPCLASS 1
40656 _ACEOF
40659 done
40661 else
40663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
40664 $as_echo_n "checking for _qfpclass declaration... " >&6; }
40665 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
40666 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
40667 $as_echo_n "(cached) " >&6
40668 else
40671 ac_ext=cpp
40672 ac_cpp='$CXXCPP $CPPFLAGS'
40673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40678 /* end confdefs.h. */
40679 #include <math.h>
40680 #ifdef HAVE_IEEEFP_H
40681 #include <ieeefp.h>
40682 #endif
40685 main ()
40687 _qfpclass(0);
40689 return 0;
40691 _ACEOF
40692 if ac_fn_cxx_try_compile "$LINENO"; then :
40693 glibcxx_cv_func__qfpclass_use=yes
40694 else
40695 glibcxx_cv_func__qfpclass_use=no
40697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40698 ac_ext=c
40699 ac_cpp='$CPP $CPPFLAGS'
40700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
40709 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
40711 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
40712 for ac_func in _qfpclass
40713 do :
40714 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
40715 if test "x$ac_cv_func__qfpclass" = x""yes; then :
40716 cat >>confdefs.h <<_ACEOF
40717 #define HAVE__QFPCLASS 1
40718 _ACEOF
40721 done
40730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
40731 $as_echo_n "checking for hypot declaration... " >&6; }
40732 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
40733 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40734 $as_echo_n "(cached) " >&6
40735 else
40738 ac_ext=cpp
40739 ac_cpp='$CXXCPP $CPPFLAGS'
40740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40745 /* end confdefs.h. */
40746 #include <math.h>
40748 main ()
40750 hypot(0, 0);
40752 return 0;
40754 _ACEOF
40755 if ac_fn_cxx_try_compile "$LINENO"; then :
40756 glibcxx_cv_func_hypot_use=yes
40757 else
40758 glibcxx_cv_func_hypot_use=no
40760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40761 ac_ext=c
40762 ac_cpp='$CPP $CPPFLAGS'
40763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
40772 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40774 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40775 for ac_func in hypot
40776 do :
40777 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40778 if test "x$ac_cv_func_hypot" = x""yes; then :
40779 cat >>confdefs.h <<_ACEOF
40780 #define HAVE_HYPOT 1
40781 _ACEOF
40784 done
40786 else
40788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
40789 $as_echo_n "checking for _hypot declaration... " >&6; }
40790 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
40791 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
40792 $as_echo_n "(cached) " >&6
40793 else
40796 ac_ext=cpp
40797 ac_cpp='$CXXCPP $CPPFLAGS'
40798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40803 /* end confdefs.h. */
40804 #include <math.h>
40806 main ()
40808 _hypot(0, 0);
40810 return 0;
40812 _ACEOF
40813 if ac_fn_cxx_try_compile "$LINENO"; then :
40814 glibcxx_cv_func__hypot_use=yes
40815 else
40816 glibcxx_cv_func__hypot_use=no
40818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40819 ac_ext=c
40820 ac_cpp='$CPP $CPPFLAGS'
40821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
40830 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
40832 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
40833 for ac_func in _hypot
40834 do :
40835 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
40836 if test "x$ac_cv_func__hypot" = x""yes; then :
40837 cat >>confdefs.h <<_ACEOF
40838 #define HAVE__HYPOT 1
40839 _ACEOF
40842 done
40851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40852 $as_echo_n "checking for float trig functions... " >&6; }
40853 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
40854 $as_echo_n "(cached) " >&6
40855 else
40858 ac_ext=cpp
40859 ac_cpp='$CXXCPP $CPPFLAGS'
40860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40865 /* end confdefs.h. */
40866 #include <math.h>
40868 main ()
40870 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40872 return 0;
40874 _ACEOF
40875 if ac_fn_cxx_try_compile "$LINENO"; then :
40876 glibcxx_cv_func_float_trig_use=yes
40877 else
40878 glibcxx_cv_func_float_trig_use=no
40880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40881 ac_ext=c
40882 ac_cpp='$CPP $CPPFLAGS'
40883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40890 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40891 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40892 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40893 do :
40894 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40895 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40896 eval as_val=\$$as_ac_var
40897 if test "x$as_val" = x""yes; then :
40898 cat >>confdefs.h <<_ACEOF
40899 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40900 _ACEOF
40903 done
40905 else
40906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40907 $as_echo_n "checking for _float trig functions... " >&6; }
40908 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40909 $as_echo_n "(cached) " >&6
40910 else
40913 ac_ext=cpp
40914 ac_cpp='$CXXCPP $CPPFLAGS'
40915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40920 /* end confdefs.h. */
40921 #include <math.h>
40923 main ()
40925 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40927 return 0;
40929 _ACEOF
40930 if ac_fn_cxx_try_compile "$LINENO"; then :
40931 glibcxx_cv_func__float_trig_use=yes
40932 else
40933 glibcxx_cv_func__float_trig_use=no
40935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40936 ac_ext=c
40937 ac_cpp='$CPP $CPPFLAGS'
40938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40945 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40946 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40947 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40948 do :
40949 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40950 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40951 eval as_val=\$$as_ac_var
40952 if test "x$as_val" = x""yes; then :
40953 cat >>confdefs.h <<_ACEOF
40954 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40955 _ACEOF
40958 done
40967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40968 $as_echo_n "checking for float round functions... " >&6; }
40969 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40970 $as_echo_n "(cached) " >&6
40971 else
40974 ac_ext=cpp
40975 ac_cpp='$CXXCPP $CPPFLAGS'
40976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40981 /* end confdefs.h. */
40982 #include <math.h>
40984 main ()
40986 ceilf (0); floorf (0);
40988 return 0;
40990 _ACEOF
40991 if ac_fn_cxx_try_compile "$LINENO"; then :
40992 glibcxx_cv_func_float_round_use=yes
40993 else
40994 glibcxx_cv_func_float_round_use=no
40996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40997 ac_ext=c
40998 ac_cpp='$CPP $CPPFLAGS'
40999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
41006 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
41007 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
41008 for ac_func in ceilf floorf
41009 do :
41010 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41011 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41012 eval as_val=\$$as_ac_var
41013 if test "x$as_val" = x""yes; then :
41014 cat >>confdefs.h <<_ACEOF
41015 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41016 _ACEOF
41019 done
41021 else
41022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
41023 $as_echo_n "checking for _float round functions... " >&6; }
41024 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
41025 $as_echo_n "(cached) " >&6
41026 else
41029 ac_ext=cpp
41030 ac_cpp='$CXXCPP $CPPFLAGS'
41031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41036 /* end confdefs.h. */
41037 #include <math.h>
41039 main ()
41041 _ceilf (0); _floorf (0);
41043 return 0;
41045 _ACEOF
41046 if ac_fn_cxx_try_compile "$LINENO"; then :
41047 glibcxx_cv_func__float_round_use=yes
41048 else
41049 glibcxx_cv_func__float_round_use=no
41051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41052 ac_ext=c
41053 ac_cpp='$CPP $CPPFLAGS'
41054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
41061 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
41062 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
41063 for ac_func in _ceilf _floorf
41064 do :
41065 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41066 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41067 eval as_val=\$$as_ac_var
41068 if test "x$as_val" = x""yes; then :
41069 cat >>confdefs.h <<_ACEOF
41070 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41071 _ACEOF
41074 done
41084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
41085 $as_echo_n "checking for expf declaration... " >&6; }
41086 if test x${glibcxx_cv_func_expf_use+set} != xset; then
41087 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
41088 $as_echo_n "(cached) " >&6
41089 else
41092 ac_ext=cpp
41093 ac_cpp='$CXXCPP $CPPFLAGS'
41094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41099 /* end confdefs.h. */
41100 #include <math.h>
41101 #ifdef HAVE_IEEEFP_H
41102 #include <ieeefp.h>
41103 #endif
41106 main ()
41108 expf(0);
41110 return 0;
41112 _ACEOF
41113 if ac_fn_cxx_try_compile "$LINENO"; then :
41114 glibcxx_cv_func_expf_use=yes
41115 else
41116 glibcxx_cv_func_expf_use=no
41118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41119 ac_ext=c
41120 ac_cpp='$CPP $CPPFLAGS'
41121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
41130 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
41132 if test x$glibcxx_cv_func_expf_use = x"yes"; then
41133 for ac_func in expf
41134 do :
41135 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
41136 if test "x$ac_cv_func_expf" = x""yes; then :
41137 cat >>confdefs.h <<_ACEOF
41138 #define HAVE_EXPF 1
41139 _ACEOF
41142 done
41144 else
41146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
41147 $as_echo_n "checking for _expf declaration... " >&6; }
41148 if test x${glibcxx_cv_func__expf_use+set} != xset; then
41149 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
41150 $as_echo_n "(cached) " >&6
41151 else
41154 ac_ext=cpp
41155 ac_cpp='$CXXCPP $CPPFLAGS'
41156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41161 /* end confdefs.h. */
41162 #include <math.h>
41163 #ifdef HAVE_IEEEFP_H
41164 #include <ieeefp.h>
41165 #endif
41168 main ()
41170 _expf(0);
41172 return 0;
41174 _ACEOF
41175 if ac_fn_cxx_try_compile "$LINENO"; then :
41176 glibcxx_cv_func__expf_use=yes
41177 else
41178 glibcxx_cv_func__expf_use=no
41180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41181 ac_ext=c
41182 ac_cpp='$CPP $CPPFLAGS'
41183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
41192 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
41194 if test x$glibcxx_cv_func__expf_use = x"yes"; then
41195 for ac_func in _expf
41196 do :
41197 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
41198 if test "x$ac_cv_func__expf" = x""yes; then :
41199 cat >>confdefs.h <<_ACEOF
41200 #define HAVE__EXPF 1
41201 _ACEOF
41204 done
41213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
41214 $as_echo_n "checking for isnanf declaration... " >&6; }
41215 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
41216 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
41217 $as_echo_n "(cached) " >&6
41218 else
41221 ac_ext=cpp
41222 ac_cpp='$CXXCPP $CPPFLAGS'
41223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41228 /* end confdefs.h. */
41229 #include <math.h>
41230 #ifdef HAVE_IEEEFP_H
41231 #include <ieeefp.h>
41232 #endif
41235 main ()
41237 isnanf(0);
41239 return 0;
41241 _ACEOF
41242 if ac_fn_cxx_try_compile "$LINENO"; then :
41243 glibcxx_cv_func_isnanf_use=yes
41244 else
41245 glibcxx_cv_func_isnanf_use=no
41247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41248 ac_ext=c
41249 ac_cpp='$CPP $CPPFLAGS'
41250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
41259 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
41261 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
41262 for ac_func in isnanf
41263 do :
41264 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
41265 if test "x$ac_cv_func_isnanf" = x""yes; then :
41266 cat >>confdefs.h <<_ACEOF
41267 #define HAVE_ISNANF 1
41268 _ACEOF
41271 done
41273 else
41275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
41276 $as_echo_n "checking for _isnanf declaration... " >&6; }
41277 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
41278 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
41279 $as_echo_n "(cached) " >&6
41280 else
41283 ac_ext=cpp
41284 ac_cpp='$CXXCPP $CPPFLAGS'
41285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41290 /* end confdefs.h. */
41291 #include <math.h>
41292 #ifdef HAVE_IEEEFP_H
41293 #include <ieeefp.h>
41294 #endif
41297 main ()
41299 _isnanf(0);
41301 return 0;
41303 _ACEOF
41304 if ac_fn_cxx_try_compile "$LINENO"; then :
41305 glibcxx_cv_func__isnanf_use=yes
41306 else
41307 glibcxx_cv_func__isnanf_use=no
41309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41310 ac_ext=c
41311 ac_cpp='$CPP $CPPFLAGS'
41312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
41321 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
41323 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
41324 for ac_func in _isnanf
41325 do :
41326 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
41327 if test "x$ac_cv_func__isnanf" = x""yes; then :
41328 cat >>confdefs.h <<_ACEOF
41329 #define HAVE__ISNANF 1
41330 _ACEOF
41333 done
41342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
41343 $as_echo_n "checking for isinff declaration... " >&6; }
41344 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
41345 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
41346 $as_echo_n "(cached) " >&6
41347 else
41350 ac_ext=cpp
41351 ac_cpp='$CXXCPP $CPPFLAGS'
41352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41357 /* end confdefs.h. */
41358 #include <math.h>
41359 #ifdef HAVE_IEEEFP_H
41360 #include <ieeefp.h>
41361 #endif
41364 main ()
41366 isinff(0);
41368 return 0;
41370 _ACEOF
41371 if ac_fn_cxx_try_compile "$LINENO"; then :
41372 glibcxx_cv_func_isinff_use=yes
41373 else
41374 glibcxx_cv_func_isinff_use=no
41376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41377 ac_ext=c
41378 ac_cpp='$CPP $CPPFLAGS'
41379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
41388 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
41390 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
41391 for ac_func in isinff
41392 do :
41393 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
41394 if test "x$ac_cv_func_isinff" = x""yes; then :
41395 cat >>confdefs.h <<_ACEOF
41396 #define HAVE_ISINFF 1
41397 _ACEOF
41400 done
41402 else
41404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
41405 $as_echo_n "checking for _isinff declaration... " >&6; }
41406 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
41407 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
41408 $as_echo_n "(cached) " >&6
41409 else
41412 ac_ext=cpp
41413 ac_cpp='$CXXCPP $CPPFLAGS'
41414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41419 /* end confdefs.h. */
41420 #include <math.h>
41421 #ifdef HAVE_IEEEFP_H
41422 #include <ieeefp.h>
41423 #endif
41426 main ()
41428 _isinff(0);
41430 return 0;
41432 _ACEOF
41433 if ac_fn_cxx_try_compile "$LINENO"; then :
41434 glibcxx_cv_func__isinff_use=yes
41435 else
41436 glibcxx_cv_func__isinff_use=no
41438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41439 ac_ext=c
41440 ac_cpp='$CPP $CPPFLAGS'
41441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
41450 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
41452 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
41453 for ac_func in _isinff
41454 do :
41455 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
41456 if test "x$ac_cv_func__isinff" = x""yes; then :
41457 cat >>confdefs.h <<_ACEOF
41458 #define HAVE__ISINFF 1
41459 _ACEOF
41462 done
41471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
41472 $as_echo_n "checking for atan2f declaration... " >&6; }
41473 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
41474 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
41475 $as_echo_n "(cached) " >&6
41476 else
41479 ac_ext=cpp
41480 ac_cpp='$CXXCPP $CPPFLAGS'
41481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41486 /* end confdefs.h. */
41487 #include <math.h>
41489 main ()
41491 atan2f(0, 0);
41493 return 0;
41495 _ACEOF
41496 if ac_fn_cxx_try_compile "$LINENO"; then :
41497 glibcxx_cv_func_atan2f_use=yes
41498 else
41499 glibcxx_cv_func_atan2f_use=no
41501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41502 ac_ext=c
41503 ac_cpp='$CPP $CPPFLAGS'
41504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
41513 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
41515 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
41516 for ac_func in atan2f
41517 do :
41518 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
41519 if test "x$ac_cv_func_atan2f" = x""yes; then :
41520 cat >>confdefs.h <<_ACEOF
41521 #define HAVE_ATAN2F 1
41522 _ACEOF
41525 done
41527 else
41529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
41530 $as_echo_n "checking for _atan2f declaration... " >&6; }
41531 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
41532 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
41533 $as_echo_n "(cached) " >&6
41534 else
41537 ac_ext=cpp
41538 ac_cpp='$CXXCPP $CPPFLAGS'
41539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41544 /* end confdefs.h. */
41545 #include <math.h>
41547 main ()
41549 _atan2f(0, 0);
41551 return 0;
41553 _ACEOF
41554 if ac_fn_cxx_try_compile "$LINENO"; then :
41555 glibcxx_cv_func__atan2f_use=yes
41556 else
41557 glibcxx_cv_func__atan2f_use=no
41559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41560 ac_ext=c
41561 ac_cpp='$CPP $CPPFLAGS'
41562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
41571 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
41573 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
41574 for ac_func in _atan2f
41575 do :
41576 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
41577 if test "x$ac_cv_func__atan2f" = x""yes; then :
41578 cat >>confdefs.h <<_ACEOF
41579 #define HAVE__ATAN2F 1
41580 _ACEOF
41583 done
41592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
41593 $as_echo_n "checking for fabsf declaration... " >&6; }
41594 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
41595 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
41596 $as_echo_n "(cached) " >&6
41597 else
41600 ac_ext=cpp
41601 ac_cpp='$CXXCPP $CPPFLAGS'
41602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41607 /* end confdefs.h. */
41608 #include <math.h>
41609 #ifdef HAVE_IEEEFP_H
41610 #include <ieeefp.h>
41611 #endif
41614 main ()
41616 fabsf(0);
41618 return 0;
41620 _ACEOF
41621 if ac_fn_cxx_try_compile "$LINENO"; then :
41622 glibcxx_cv_func_fabsf_use=yes
41623 else
41624 glibcxx_cv_func_fabsf_use=no
41626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41627 ac_ext=c
41628 ac_cpp='$CPP $CPPFLAGS'
41629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
41638 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
41640 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
41641 for ac_func in fabsf
41642 do :
41643 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
41644 if test "x$ac_cv_func_fabsf" = x""yes; then :
41645 cat >>confdefs.h <<_ACEOF
41646 #define HAVE_FABSF 1
41647 _ACEOF
41650 done
41652 else
41654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
41655 $as_echo_n "checking for _fabsf declaration... " >&6; }
41656 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
41657 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
41658 $as_echo_n "(cached) " >&6
41659 else
41662 ac_ext=cpp
41663 ac_cpp='$CXXCPP $CPPFLAGS'
41664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41669 /* end confdefs.h. */
41670 #include <math.h>
41671 #ifdef HAVE_IEEEFP_H
41672 #include <ieeefp.h>
41673 #endif
41676 main ()
41678 _fabsf(0);
41680 return 0;
41682 _ACEOF
41683 if ac_fn_cxx_try_compile "$LINENO"; then :
41684 glibcxx_cv_func__fabsf_use=yes
41685 else
41686 glibcxx_cv_func__fabsf_use=no
41688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41689 ac_ext=c
41690 ac_cpp='$CPP $CPPFLAGS'
41691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
41700 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
41702 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
41703 for ac_func in _fabsf
41704 do :
41705 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
41706 if test "x$ac_cv_func__fabsf" = x""yes; then :
41707 cat >>confdefs.h <<_ACEOF
41708 #define HAVE__FABSF 1
41709 _ACEOF
41712 done
41721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
41722 $as_echo_n "checking for fmodf declaration... " >&6; }
41723 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
41724 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
41725 $as_echo_n "(cached) " >&6
41726 else
41729 ac_ext=cpp
41730 ac_cpp='$CXXCPP $CPPFLAGS'
41731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41736 /* end confdefs.h. */
41737 #include <math.h>
41739 main ()
41741 fmodf(0, 0);
41743 return 0;
41745 _ACEOF
41746 if ac_fn_cxx_try_compile "$LINENO"; then :
41747 glibcxx_cv_func_fmodf_use=yes
41748 else
41749 glibcxx_cv_func_fmodf_use=no
41751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41752 ac_ext=c
41753 ac_cpp='$CPP $CPPFLAGS'
41754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
41763 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41765 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41766 for ac_func in fmodf
41767 do :
41768 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41769 if test "x$ac_cv_func_fmodf" = x""yes; then :
41770 cat >>confdefs.h <<_ACEOF
41771 #define HAVE_FMODF 1
41772 _ACEOF
41775 done
41777 else
41779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41780 $as_echo_n "checking for _fmodf declaration... " >&6; }
41781 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
41782 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
41783 $as_echo_n "(cached) " >&6
41784 else
41787 ac_ext=cpp
41788 ac_cpp='$CXXCPP $CPPFLAGS'
41789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41794 /* end confdefs.h. */
41795 #include <math.h>
41797 main ()
41799 _fmodf(0, 0);
41801 return 0;
41803 _ACEOF
41804 if ac_fn_cxx_try_compile "$LINENO"; then :
41805 glibcxx_cv_func__fmodf_use=yes
41806 else
41807 glibcxx_cv_func__fmodf_use=no
41809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41810 ac_ext=c
41811 ac_cpp='$CPP $CPPFLAGS'
41812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
41821 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
41823 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
41824 for ac_func in _fmodf
41825 do :
41826 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
41827 if test "x$ac_cv_func__fmodf" = x""yes; then :
41828 cat >>confdefs.h <<_ACEOF
41829 #define HAVE__FMODF 1
41830 _ACEOF
41833 done
41842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
41843 $as_echo_n "checking for frexpf declaration... " >&6; }
41844 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41845 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
41846 $as_echo_n "(cached) " >&6
41847 else
41850 ac_ext=cpp
41851 ac_cpp='$CXXCPP $CPPFLAGS'
41852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41857 /* end confdefs.h. */
41858 #include <math.h>
41860 main ()
41862 frexpf(0, 0);
41864 return 0;
41866 _ACEOF
41867 if ac_fn_cxx_try_compile "$LINENO"; then :
41868 glibcxx_cv_func_frexpf_use=yes
41869 else
41870 glibcxx_cv_func_frexpf_use=no
41872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41873 ac_ext=c
41874 ac_cpp='$CPP $CPPFLAGS'
41875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
41884 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41886 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41887 for ac_func in frexpf
41888 do :
41889 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41890 if test "x$ac_cv_func_frexpf" = x""yes; then :
41891 cat >>confdefs.h <<_ACEOF
41892 #define HAVE_FREXPF 1
41893 _ACEOF
41896 done
41898 else
41900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41901 $as_echo_n "checking for _frexpf declaration... " >&6; }
41902 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41903 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41904 $as_echo_n "(cached) " >&6
41905 else
41908 ac_ext=cpp
41909 ac_cpp='$CXXCPP $CPPFLAGS'
41910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41915 /* end confdefs.h. */
41916 #include <math.h>
41918 main ()
41920 _frexpf(0, 0);
41922 return 0;
41924 _ACEOF
41925 if ac_fn_cxx_try_compile "$LINENO"; then :
41926 glibcxx_cv_func__frexpf_use=yes
41927 else
41928 glibcxx_cv_func__frexpf_use=no
41930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41931 ac_ext=c
41932 ac_cpp='$CPP $CPPFLAGS'
41933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41942 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41944 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41945 for ac_func in _frexpf
41946 do :
41947 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41948 if test "x$ac_cv_func__frexpf" = x""yes; then :
41949 cat >>confdefs.h <<_ACEOF
41950 #define HAVE__FREXPF 1
41951 _ACEOF
41954 done
41963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41964 $as_echo_n "checking for hypotf declaration... " >&6; }
41965 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41966 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41967 $as_echo_n "(cached) " >&6
41968 else
41971 ac_ext=cpp
41972 ac_cpp='$CXXCPP $CPPFLAGS'
41973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41978 /* end confdefs.h. */
41979 #include <math.h>
41981 main ()
41983 hypotf(0, 0);
41985 return 0;
41987 _ACEOF
41988 if ac_fn_cxx_try_compile "$LINENO"; then :
41989 glibcxx_cv_func_hypotf_use=yes
41990 else
41991 glibcxx_cv_func_hypotf_use=no
41993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41994 ac_ext=c
41995 ac_cpp='$CPP $CPPFLAGS'
41996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
42005 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
42007 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
42008 for ac_func in hypotf
42009 do :
42010 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
42011 if test "x$ac_cv_func_hypotf" = x""yes; then :
42012 cat >>confdefs.h <<_ACEOF
42013 #define HAVE_HYPOTF 1
42014 _ACEOF
42017 done
42019 else
42021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
42022 $as_echo_n "checking for _hypotf declaration... " >&6; }
42023 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
42024 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
42025 $as_echo_n "(cached) " >&6
42026 else
42029 ac_ext=cpp
42030 ac_cpp='$CXXCPP $CPPFLAGS'
42031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42036 /* end confdefs.h. */
42037 #include <math.h>
42039 main ()
42041 _hypotf(0, 0);
42043 return 0;
42045 _ACEOF
42046 if ac_fn_cxx_try_compile "$LINENO"; then :
42047 glibcxx_cv_func__hypotf_use=yes
42048 else
42049 glibcxx_cv_func__hypotf_use=no
42051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42052 ac_ext=c
42053 ac_cpp='$CPP $CPPFLAGS'
42054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
42063 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
42065 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
42066 for ac_func in _hypotf
42067 do :
42068 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
42069 if test "x$ac_cv_func__hypotf" = x""yes; then :
42070 cat >>confdefs.h <<_ACEOF
42071 #define HAVE__HYPOTF 1
42072 _ACEOF
42075 done
42084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
42085 $as_echo_n "checking for ldexpf declaration... " >&6; }
42086 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
42087 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
42088 $as_echo_n "(cached) " >&6
42089 else
42092 ac_ext=cpp
42093 ac_cpp='$CXXCPP $CPPFLAGS'
42094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42099 /* end confdefs.h. */
42100 #include <math.h>
42102 main ()
42104 ldexpf(0, 0);
42106 return 0;
42108 _ACEOF
42109 if ac_fn_cxx_try_compile "$LINENO"; then :
42110 glibcxx_cv_func_ldexpf_use=yes
42111 else
42112 glibcxx_cv_func_ldexpf_use=no
42114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42115 ac_ext=c
42116 ac_cpp='$CPP $CPPFLAGS'
42117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
42126 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
42128 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
42129 for ac_func in ldexpf
42130 do :
42131 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
42132 if test "x$ac_cv_func_ldexpf" = x""yes; then :
42133 cat >>confdefs.h <<_ACEOF
42134 #define HAVE_LDEXPF 1
42135 _ACEOF
42138 done
42140 else
42142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
42143 $as_echo_n "checking for _ldexpf declaration... " >&6; }
42144 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
42145 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
42146 $as_echo_n "(cached) " >&6
42147 else
42150 ac_ext=cpp
42151 ac_cpp='$CXXCPP $CPPFLAGS'
42152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42157 /* end confdefs.h. */
42158 #include <math.h>
42160 main ()
42162 _ldexpf(0, 0);
42164 return 0;
42166 _ACEOF
42167 if ac_fn_cxx_try_compile "$LINENO"; then :
42168 glibcxx_cv_func__ldexpf_use=yes
42169 else
42170 glibcxx_cv_func__ldexpf_use=no
42172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42173 ac_ext=c
42174 ac_cpp='$CPP $CPPFLAGS'
42175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
42184 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
42186 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
42187 for ac_func in _ldexpf
42188 do :
42189 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
42190 if test "x$ac_cv_func__ldexpf" = x""yes; then :
42191 cat >>confdefs.h <<_ACEOF
42192 #define HAVE__LDEXPF 1
42193 _ACEOF
42196 done
42205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
42206 $as_echo_n "checking for logf declaration... " >&6; }
42207 if test x${glibcxx_cv_func_logf_use+set} != xset; then
42208 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
42209 $as_echo_n "(cached) " >&6
42210 else
42213 ac_ext=cpp
42214 ac_cpp='$CXXCPP $CPPFLAGS'
42215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42220 /* end confdefs.h. */
42221 #include <math.h>
42222 #ifdef HAVE_IEEEFP_H
42223 #include <ieeefp.h>
42224 #endif
42227 main ()
42229 logf(0);
42231 return 0;
42233 _ACEOF
42234 if ac_fn_cxx_try_compile "$LINENO"; then :
42235 glibcxx_cv_func_logf_use=yes
42236 else
42237 glibcxx_cv_func_logf_use=no
42239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42240 ac_ext=c
42241 ac_cpp='$CPP $CPPFLAGS'
42242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
42251 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
42253 if test x$glibcxx_cv_func_logf_use = x"yes"; then
42254 for ac_func in logf
42255 do :
42256 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
42257 if test "x$ac_cv_func_logf" = x""yes; then :
42258 cat >>confdefs.h <<_ACEOF
42259 #define HAVE_LOGF 1
42260 _ACEOF
42263 done
42265 else
42267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
42268 $as_echo_n "checking for _logf declaration... " >&6; }
42269 if test x${glibcxx_cv_func__logf_use+set} != xset; then
42270 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
42271 $as_echo_n "(cached) " >&6
42272 else
42275 ac_ext=cpp
42276 ac_cpp='$CXXCPP $CPPFLAGS'
42277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42282 /* end confdefs.h. */
42283 #include <math.h>
42284 #ifdef HAVE_IEEEFP_H
42285 #include <ieeefp.h>
42286 #endif
42289 main ()
42291 _logf(0);
42293 return 0;
42295 _ACEOF
42296 if ac_fn_cxx_try_compile "$LINENO"; then :
42297 glibcxx_cv_func__logf_use=yes
42298 else
42299 glibcxx_cv_func__logf_use=no
42301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42302 ac_ext=c
42303 ac_cpp='$CPP $CPPFLAGS'
42304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
42313 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
42315 if test x$glibcxx_cv_func__logf_use = x"yes"; then
42316 for ac_func in _logf
42317 do :
42318 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
42319 if test "x$ac_cv_func__logf" = x""yes; then :
42320 cat >>confdefs.h <<_ACEOF
42321 #define HAVE__LOGF 1
42322 _ACEOF
42325 done
42334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
42335 $as_echo_n "checking for log10f declaration... " >&6; }
42336 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
42337 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
42338 $as_echo_n "(cached) " >&6
42339 else
42342 ac_ext=cpp
42343 ac_cpp='$CXXCPP $CPPFLAGS'
42344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42349 /* end confdefs.h. */
42350 #include <math.h>
42351 #ifdef HAVE_IEEEFP_H
42352 #include <ieeefp.h>
42353 #endif
42356 main ()
42358 log10f(0);
42360 return 0;
42362 _ACEOF
42363 if ac_fn_cxx_try_compile "$LINENO"; then :
42364 glibcxx_cv_func_log10f_use=yes
42365 else
42366 glibcxx_cv_func_log10f_use=no
42368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42369 ac_ext=c
42370 ac_cpp='$CPP $CPPFLAGS'
42371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
42380 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
42382 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
42383 for ac_func in log10f
42384 do :
42385 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
42386 if test "x$ac_cv_func_log10f" = x""yes; then :
42387 cat >>confdefs.h <<_ACEOF
42388 #define HAVE_LOG10F 1
42389 _ACEOF
42392 done
42394 else
42396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
42397 $as_echo_n "checking for _log10f declaration... " >&6; }
42398 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
42399 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
42400 $as_echo_n "(cached) " >&6
42401 else
42404 ac_ext=cpp
42405 ac_cpp='$CXXCPP $CPPFLAGS'
42406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42411 /* end confdefs.h. */
42412 #include <math.h>
42413 #ifdef HAVE_IEEEFP_H
42414 #include <ieeefp.h>
42415 #endif
42418 main ()
42420 _log10f(0);
42422 return 0;
42424 _ACEOF
42425 if ac_fn_cxx_try_compile "$LINENO"; then :
42426 glibcxx_cv_func__log10f_use=yes
42427 else
42428 glibcxx_cv_func__log10f_use=no
42430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42431 ac_ext=c
42432 ac_cpp='$CPP $CPPFLAGS'
42433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
42442 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
42444 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
42445 for ac_func in _log10f
42446 do :
42447 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
42448 if test "x$ac_cv_func__log10f" = x""yes; then :
42449 cat >>confdefs.h <<_ACEOF
42450 #define HAVE__LOG10F 1
42451 _ACEOF
42454 done
42463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
42464 $as_echo_n "checking for modff declaration... " >&6; }
42465 if test x${glibcxx_cv_func_modff_use+set} != xset; then
42466 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
42467 $as_echo_n "(cached) " >&6
42468 else
42471 ac_ext=cpp
42472 ac_cpp='$CXXCPP $CPPFLAGS'
42473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42478 /* end confdefs.h. */
42479 #include <math.h>
42481 main ()
42483 modff(0, 0);
42485 return 0;
42487 _ACEOF
42488 if ac_fn_cxx_try_compile "$LINENO"; then :
42489 glibcxx_cv_func_modff_use=yes
42490 else
42491 glibcxx_cv_func_modff_use=no
42493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42494 ac_ext=c
42495 ac_cpp='$CPP $CPPFLAGS'
42496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
42505 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
42507 if test x$glibcxx_cv_func_modff_use = x"yes"; then
42508 for ac_func in modff
42509 do :
42510 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
42511 if test "x$ac_cv_func_modff" = x""yes; then :
42512 cat >>confdefs.h <<_ACEOF
42513 #define HAVE_MODFF 1
42514 _ACEOF
42517 done
42519 else
42521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
42522 $as_echo_n "checking for _modff declaration... " >&6; }
42523 if test x${glibcxx_cv_func__modff_use+set} != xset; then
42524 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
42525 $as_echo_n "(cached) " >&6
42526 else
42529 ac_ext=cpp
42530 ac_cpp='$CXXCPP $CPPFLAGS'
42531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42536 /* end confdefs.h. */
42537 #include <math.h>
42539 main ()
42541 _modff(0, 0);
42543 return 0;
42545 _ACEOF
42546 if ac_fn_cxx_try_compile "$LINENO"; then :
42547 glibcxx_cv_func__modff_use=yes
42548 else
42549 glibcxx_cv_func__modff_use=no
42551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42552 ac_ext=c
42553 ac_cpp='$CPP $CPPFLAGS'
42554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
42563 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
42565 if test x$glibcxx_cv_func__modff_use = x"yes"; then
42566 for ac_func in _modff
42567 do :
42568 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
42569 if test "x$ac_cv_func__modff" = x""yes; then :
42570 cat >>confdefs.h <<_ACEOF
42571 #define HAVE__MODFF 1
42572 _ACEOF
42575 done
42584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
42585 $as_echo_n "checking for modf declaration... " >&6; }
42586 if test x${glibcxx_cv_func_modf_use+set} != xset; then
42587 if test "${glibcxx_cv_func_modf_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>
42602 main ()
42604 modf(0, 0);
42606 return 0;
42608 _ACEOF
42609 if ac_fn_cxx_try_compile "$LINENO"; then :
42610 glibcxx_cv_func_modf_use=yes
42611 else
42612 glibcxx_cv_func_modf_use=no
42614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42615 ac_ext=c
42616 ac_cpp='$CPP $CPPFLAGS'
42617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
42626 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
42628 if test x$glibcxx_cv_func_modf_use = x"yes"; then
42629 for ac_func in modf
42630 do :
42631 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
42632 if test "x$ac_cv_func_modf" = x""yes; then :
42633 cat >>confdefs.h <<_ACEOF
42634 #define HAVE_MODF 1
42635 _ACEOF
42638 done
42640 else
42642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
42643 $as_echo_n "checking for _modf declaration... " >&6; }
42644 if test x${glibcxx_cv_func__modf_use+set} != xset; then
42645 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
42646 $as_echo_n "(cached) " >&6
42647 else
42650 ac_ext=cpp
42651 ac_cpp='$CXXCPP $CPPFLAGS'
42652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42657 /* end confdefs.h. */
42658 #include <math.h>
42660 main ()
42662 _modf(0, 0);
42664 return 0;
42666 _ACEOF
42667 if ac_fn_cxx_try_compile "$LINENO"; then :
42668 glibcxx_cv_func__modf_use=yes
42669 else
42670 glibcxx_cv_func__modf_use=no
42672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42673 ac_ext=c
42674 ac_cpp='$CPP $CPPFLAGS'
42675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
42684 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
42686 if test x$glibcxx_cv_func__modf_use = x"yes"; then
42687 for ac_func in _modf
42688 do :
42689 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
42690 if test "x$ac_cv_func__modf" = x""yes; then :
42691 cat >>confdefs.h <<_ACEOF
42692 #define HAVE__MODF 1
42693 _ACEOF
42696 done
42705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
42706 $as_echo_n "checking for powf declaration... " >&6; }
42707 if test x${glibcxx_cv_func_powf_use+set} != xset; then
42708 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
42709 $as_echo_n "(cached) " >&6
42710 else
42713 ac_ext=cpp
42714 ac_cpp='$CXXCPP $CPPFLAGS'
42715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42720 /* end confdefs.h. */
42721 #include <math.h>
42723 main ()
42725 powf(0, 0);
42727 return 0;
42729 _ACEOF
42730 if ac_fn_cxx_try_compile "$LINENO"; then :
42731 glibcxx_cv_func_powf_use=yes
42732 else
42733 glibcxx_cv_func_powf_use=no
42735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42736 ac_ext=c
42737 ac_cpp='$CPP $CPPFLAGS'
42738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42747 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42749 if test x$glibcxx_cv_func_powf_use = x"yes"; then
42750 for ac_func in powf
42751 do :
42752 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
42753 if test "x$ac_cv_func_powf" = x""yes; then :
42754 cat >>confdefs.h <<_ACEOF
42755 #define HAVE_POWF 1
42756 _ACEOF
42759 done
42761 else
42763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42764 $as_echo_n "checking for _powf declaration... " >&6; }
42765 if test x${glibcxx_cv_func__powf_use+set} != xset; then
42766 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42767 $as_echo_n "(cached) " >&6
42768 else
42771 ac_ext=cpp
42772 ac_cpp='$CXXCPP $CPPFLAGS'
42773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42778 /* end confdefs.h. */
42779 #include <math.h>
42781 main ()
42783 _powf(0, 0);
42785 return 0;
42787 _ACEOF
42788 if ac_fn_cxx_try_compile "$LINENO"; then :
42789 glibcxx_cv_func__powf_use=yes
42790 else
42791 glibcxx_cv_func__powf_use=no
42793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42794 ac_ext=c
42795 ac_cpp='$CPP $CPPFLAGS'
42796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
42805 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
42807 if test x$glibcxx_cv_func__powf_use = x"yes"; then
42808 for ac_func in _powf
42809 do :
42810 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
42811 if test "x$ac_cv_func__powf" = x""yes; then :
42812 cat >>confdefs.h <<_ACEOF
42813 #define HAVE__POWF 1
42814 _ACEOF
42817 done
42826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
42827 $as_echo_n "checking for sqrtf declaration... " >&6; }
42828 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
42829 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
42830 $as_echo_n "(cached) " >&6
42831 else
42834 ac_ext=cpp
42835 ac_cpp='$CXXCPP $CPPFLAGS'
42836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42841 /* end confdefs.h. */
42842 #include <math.h>
42843 #ifdef HAVE_IEEEFP_H
42844 #include <ieeefp.h>
42845 #endif
42848 main ()
42850 sqrtf(0);
42852 return 0;
42854 _ACEOF
42855 if ac_fn_cxx_try_compile "$LINENO"; then :
42856 glibcxx_cv_func_sqrtf_use=yes
42857 else
42858 glibcxx_cv_func_sqrtf_use=no
42860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42861 ac_ext=c
42862 ac_cpp='$CPP $CPPFLAGS'
42863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42872 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42874 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42875 for ac_func in sqrtf
42876 do :
42877 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42878 if test "x$ac_cv_func_sqrtf" = x""yes; then :
42879 cat >>confdefs.h <<_ACEOF
42880 #define HAVE_SQRTF 1
42881 _ACEOF
42884 done
42886 else
42888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42889 $as_echo_n "checking for _sqrtf declaration... " >&6; }
42890 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42891 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
42892 $as_echo_n "(cached) " >&6
42893 else
42896 ac_ext=cpp
42897 ac_cpp='$CXXCPP $CPPFLAGS'
42898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42903 /* end confdefs.h. */
42904 #include <math.h>
42905 #ifdef HAVE_IEEEFP_H
42906 #include <ieeefp.h>
42907 #endif
42910 main ()
42912 _sqrtf(0);
42914 return 0;
42916 _ACEOF
42917 if ac_fn_cxx_try_compile "$LINENO"; then :
42918 glibcxx_cv_func__sqrtf_use=yes
42919 else
42920 glibcxx_cv_func__sqrtf_use=no
42922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42923 ac_ext=c
42924 ac_cpp='$CPP $CPPFLAGS'
42925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
42934 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42936 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42937 for ac_func in _sqrtf
42938 do :
42939 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42940 if test "x$ac_cv_func__sqrtf" = x""yes; then :
42941 cat >>confdefs.h <<_ACEOF
42942 #define HAVE__SQRTF 1
42943 _ACEOF
42946 done
42955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42956 $as_echo_n "checking for sincosf declaration... " >&6; }
42957 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42958 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42959 $as_echo_n "(cached) " >&6
42960 else
42963 ac_ext=cpp
42964 ac_cpp='$CXXCPP $CPPFLAGS'
42965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42970 /* end confdefs.h. */
42971 #include <math.h>
42973 main ()
42975 sincosf(0, 0, 0);
42977 return 0;
42979 _ACEOF
42980 if ac_fn_cxx_try_compile "$LINENO"; then :
42981 glibcxx_cv_func_sincosf_use=yes
42982 else
42983 glibcxx_cv_func_sincosf_use=no
42985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42986 ac_ext=c
42987 ac_cpp='$CPP $CPPFLAGS'
42988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42997 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42999 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
43000 for ac_func in sincosf
43001 do :
43002 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
43003 if test "x$ac_cv_func_sincosf" = x""yes; then :
43004 cat >>confdefs.h <<_ACEOF
43005 #define HAVE_SINCOSF 1
43006 _ACEOF
43009 done
43011 else
43013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
43014 $as_echo_n "checking for _sincosf declaration... " >&6; }
43015 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
43016 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
43017 $as_echo_n "(cached) " >&6
43018 else
43021 ac_ext=cpp
43022 ac_cpp='$CXXCPP $CPPFLAGS'
43023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43028 /* end confdefs.h. */
43029 #include <math.h>
43031 main ()
43033 _sincosf(0, 0, 0);
43035 return 0;
43037 _ACEOF
43038 if ac_fn_cxx_try_compile "$LINENO"; then :
43039 glibcxx_cv_func__sincosf_use=yes
43040 else
43041 glibcxx_cv_func__sincosf_use=no
43043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43044 ac_ext=c
43045 ac_cpp='$CPP $CPPFLAGS'
43046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
43055 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
43057 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
43058 for ac_func in _sincosf
43059 do :
43060 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
43061 if test "x$ac_cv_func__sincosf" = x""yes; then :
43062 cat >>confdefs.h <<_ACEOF
43063 #define HAVE__SINCOSF 1
43064 _ACEOF
43067 done
43076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
43077 $as_echo_n "checking for finitef declaration... " >&6; }
43078 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
43079 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
43080 $as_echo_n "(cached) " >&6
43081 else
43084 ac_ext=cpp
43085 ac_cpp='$CXXCPP $CPPFLAGS'
43086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43091 /* end confdefs.h. */
43092 #include <math.h>
43093 #ifdef HAVE_IEEEFP_H
43094 #include <ieeefp.h>
43095 #endif
43098 main ()
43100 finitef(0);
43102 return 0;
43104 _ACEOF
43105 if ac_fn_cxx_try_compile "$LINENO"; then :
43106 glibcxx_cv_func_finitef_use=yes
43107 else
43108 glibcxx_cv_func_finitef_use=no
43110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43111 ac_ext=c
43112 ac_cpp='$CPP $CPPFLAGS'
43113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
43122 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
43124 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
43125 for ac_func in finitef
43126 do :
43127 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
43128 if test "x$ac_cv_func_finitef" = x""yes; then :
43129 cat >>confdefs.h <<_ACEOF
43130 #define HAVE_FINITEF 1
43131 _ACEOF
43134 done
43136 else
43138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
43139 $as_echo_n "checking for _finitef declaration... " >&6; }
43140 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
43141 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
43142 $as_echo_n "(cached) " >&6
43143 else
43146 ac_ext=cpp
43147 ac_cpp='$CXXCPP $CPPFLAGS'
43148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43153 /* end confdefs.h. */
43154 #include <math.h>
43155 #ifdef HAVE_IEEEFP_H
43156 #include <ieeefp.h>
43157 #endif
43160 main ()
43162 _finitef(0);
43164 return 0;
43166 _ACEOF
43167 if ac_fn_cxx_try_compile "$LINENO"; then :
43168 glibcxx_cv_func__finitef_use=yes
43169 else
43170 glibcxx_cv_func__finitef_use=no
43172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43173 ac_ext=c
43174 ac_cpp='$CPP $CPPFLAGS'
43175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
43184 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
43186 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
43187 for ac_func in _finitef
43188 do :
43189 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
43190 if test "x$ac_cv_func__finitef" = x""yes; then :
43191 cat >>confdefs.h <<_ACEOF
43192 #define HAVE__FINITEF 1
43193 _ACEOF
43196 done
43205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
43206 $as_echo_n "checking for long double trig functions... " >&6; }
43207 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
43208 $as_echo_n "(cached) " >&6
43209 else
43212 ac_ext=cpp
43213 ac_cpp='$CXXCPP $CPPFLAGS'
43214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43219 /* end confdefs.h. */
43220 #include <math.h>
43222 main ()
43224 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
43226 return 0;
43228 _ACEOF
43229 if ac_fn_cxx_try_compile "$LINENO"; then :
43230 glibcxx_cv_func_long_double_trig_use=yes
43231 else
43232 glibcxx_cv_func_long_double_trig_use=no
43234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43235 ac_ext=c
43236 ac_cpp='$CPP $CPPFLAGS'
43237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
43244 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
43245 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43246 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43247 do :
43248 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43249 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43250 eval as_val=\$$as_ac_var
43251 if test "x$as_val" = x""yes; then :
43252 cat >>confdefs.h <<_ACEOF
43253 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43254 _ACEOF
43257 done
43259 else
43260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
43261 $as_echo_n "checking for _long double trig functions... " >&6; }
43262 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
43263 $as_echo_n "(cached) " >&6
43264 else
43267 ac_ext=cpp
43268 ac_cpp='$CXXCPP $CPPFLAGS'
43269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43274 /* end confdefs.h. */
43275 #include <math.h>
43277 main ()
43279 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43281 return 0;
43283 _ACEOF
43284 if ac_fn_cxx_try_compile "$LINENO"; then :
43285 glibcxx_cv_func__long_double_trig_use=yes
43286 else
43287 glibcxx_cv_func__long_double_trig_use=no
43289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43290 ac_ext=c
43291 ac_cpp='$CPP $CPPFLAGS'
43292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
43299 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
43300 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43301 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43302 do :
43303 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43304 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43305 eval as_val=\$$as_ac_var
43306 if test "x$as_val" = x""yes; then :
43307 cat >>confdefs.h <<_ACEOF
43308 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43309 _ACEOF
43312 done
43321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
43322 $as_echo_n "checking for long double round functions... " >&6; }
43323 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
43324 $as_echo_n "(cached) " >&6
43325 else
43328 ac_ext=cpp
43329 ac_cpp='$CXXCPP $CPPFLAGS'
43330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43335 /* end confdefs.h. */
43336 #include <math.h>
43338 main ()
43340 ceill (0); floorl (0);
43342 return 0;
43344 _ACEOF
43345 if ac_fn_cxx_try_compile "$LINENO"; then :
43346 glibcxx_cv_func_long_double_round_use=yes
43347 else
43348 glibcxx_cv_func_long_double_round_use=no
43350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43351 ac_ext=c
43352 ac_cpp='$CPP $CPPFLAGS'
43353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
43360 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
43361 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43362 for ac_func in ceill floorl
43363 do :
43364 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43365 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43366 eval as_val=\$$as_ac_var
43367 if test "x$as_val" = x""yes; then :
43368 cat >>confdefs.h <<_ACEOF
43369 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43370 _ACEOF
43373 done
43375 else
43376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
43377 $as_echo_n "checking for _long double round functions... " >&6; }
43378 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
43379 $as_echo_n "(cached) " >&6
43380 else
43383 ac_ext=cpp
43384 ac_cpp='$CXXCPP $CPPFLAGS'
43385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43390 /* end confdefs.h. */
43391 #include <math.h>
43393 main ()
43395 _ceill (0); _floorl (0);
43397 return 0;
43399 _ACEOF
43400 if ac_fn_cxx_try_compile "$LINENO"; then :
43401 glibcxx_cv_func__long_double_round_use=yes
43402 else
43403 glibcxx_cv_func__long_double_round_use=no
43405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43406 ac_ext=c
43407 ac_cpp='$CPP $CPPFLAGS'
43408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
43415 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
43416 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43417 for ac_func in _ceill _floorl
43418 do :
43419 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43420 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43421 eval as_val=\$$as_ac_var
43422 if test "x$as_val" = x""yes; then :
43423 cat >>confdefs.h <<_ACEOF
43424 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43425 _ACEOF
43428 done
43438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
43439 $as_echo_n "checking for isnanl declaration... " >&6; }
43440 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43441 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
43442 $as_echo_n "(cached) " >&6
43443 else
43446 ac_ext=cpp
43447 ac_cpp='$CXXCPP $CPPFLAGS'
43448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43453 /* end confdefs.h. */
43454 #include <math.h>
43455 #ifdef HAVE_IEEEFP_H
43456 #include <ieeefp.h>
43457 #endif
43460 main ()
43462 isnanl(0);
43464 return 0;
43466 _ACEOF
43467 if ac_fn_cxx_try_compile "$LINENO"; then :
43468 glibcxx_cv_func_isnanl_use=yes
43469 else
43470 glibcxx_cv_func_isnanl_use=no
43472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43473 ac_ext=c
43474 ac_cpp='$CPP $CPPFLAGS'
43475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
43484 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
43486 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43487 for ac_func in isnanl
43488 do :
43489 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
43490 if test "x$ac_cv_func_isnanl" = x""yes; then :
43491 cat >>confdefs.h <<_ACEOF
43492 #define HAVE_ISNANL 1
43493 _ACEOF
43496 done
43498 else
43500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
43501 $as_echo_n "checking for _isnanl declaration... " >&6; }
43502 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43503 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
43504 $as_echo_n "(cached) " >&6
43505 else
43508 ac_ext=cpp
43509 ac_cpp='$CXXCPP $CPPFLAGS'
43510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43515 /* end confdefs.h. */
43516 #include <math.h>
43517 #ifdef HAVE_IEEEFP_H
43518 #include <ieeefp.h>
43519 #endif
43522 main ()
43524 _isnanl(0);
43526 return 0;
43528 _ACEOF
43529 if ac_fn_cxx_try_compile "$LINENO"; then :
43530 glibcxx_cv_func__isnanl_use=yes
43531 else
43532 glibcxx_cv_func__isnanl_use=no
43534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43535 ac_ext=c
43536 ac_cpp='$CPP $CPPFLAGS'
43537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
43546 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
43548 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43549 for ac_func in _isnanl
43550 do :
43551 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
43552 if test "x$ac_cv_func__isnanl" = x""yes; then :
43553 cat >>confdefs.h <<_ACEOF
43554 #define HAVE__ISNANL 1
43555 _ACEOF
43558 done
43567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
43568 $as_echo_n "checking for isinfl declaration... " >&6; }
43569 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43570 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
43571 $as_echo_n "(cached) " >&6
43572 else
43575 ac_ext=cpp
43576 ac_cpp='$CXXCPP $CPPFLAGS'
43577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43582 /* end confdefs.h. */
43583 #include <math.h>
43584 #ifdef HAVE_IEEEFP_H
43585 #include <ieeefp.h>
43586 #endif
43589 main ()
43591 isinfl(0);
43593 return 0;
43595 _ACEOF
43596 if ac_fn_cxx_try_compile "$LINENO"; then :
43597 glibcxx_cv_func_isinfl_use=yes
43598 else
43599 glibcxx_cv_func_isinfl_use=no
43601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43602 ac_ext=c
43603 ac_cpp='$CPP $CPPFLAGS'
43604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
43613 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
43615 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43616 for ac_func in isinfl
43617 do :
43618 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
43619 if test "x$ac_cv_func_isinfl" = x""yes; then :
43620 cat >>confdefs.h <<_ACEOF
43621 #define HAVE_ISINFL 1
43622 _ACEOF
43625 done
43627 else
43629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
43630 $as_echo_n "checking for _isinfl declaration... " >&6; }
43631 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43632 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
43633 $as_echo_n "(cached) " >&6
43634 else
43637 ac_ext=cpp
43638 ac_cpp='$CXXCPP $CPPFLAGS'
43639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43644 /* end confdefs.h. */
43645 #include <math.h>
43646 #ifdef HAVE_IEEEFP_H
43647 #include <ieeefp.h>
43648 #endif
43651 main ()
43653 _isinfl(0);
43655 return 0;
43657 _ACEOF
43658 if ac_fn_cxx_try_compile "$LINENO"; then :
43659 glibcxx_cv_func__isinfl_use=yes
43660 else
43661 glibcxx_cv_func__isinfl_use=no
43663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43664 ac_ext=c
43665 ac_cpp='$CPP $CPPFLAGS'
43666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
43675 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
43677 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
43678 for ac_func in _isinfl
43679 do :
43680 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
43681 if test "x$ac_cv_func__isinfl" = x""yes; then :
43682 cat >>confdefs.h <<_ACEOF
43683 #define HAVE__ISINFL 1
43684 _ACEOF
43687 done
43696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
43697 $as_echo_n "checking for atan2l declaration... " >&6; }
43698 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43699 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
43700 $as_echo_n "(cached) " >&6
43701 else
43704 ac_ext=cpp
43705 ac_cpp='$CXXCPP $CPPFLAGS'
43706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43711 /* end confdefs.h. */
43712 #include <math.h>
43714 main ()
43716 atan2l(0, 0);
43718 return 0;
43720 _ACEOF
43721 if ac_fn_cxx_try_compile "$LINENO"; then :
43722 glibcxx_cv_func_atan2l_use=yes
43723 else
43724 glibcxx_cv_func_atan2l_use=no
43726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43727 ac_ext=c
43728 ac_cpp='$CPP $CPPFLAGS'
43729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
43738 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43740 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43741 for ac_func in atan2l
43742 do :
43743 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43744 if test "x$ac_cv_func_atan2l" = x""yes; then :
43745 cat >>confdefs.h <<_ACEOF
43746 #define HAVE_ATAN2L 1
43747 _ACEOF
43750 done
43752 else
43754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
43755 $as_echo_n "checking for _atan2l declaration... " >&6; }
43756 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43757 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
43758 $as_echo_n "(cached) " >&6
43759 else
43762 ac_ext=cpp
43763 ac_cpp='$CXXCPP $CPPFLAGS'
43764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43769 /* end confdefs.h. */
43770 #include <math.h>
43772 main ()
43774 _atan2l(0, 0);
43776 return 0;
43778 _ACEOF
43779 if ac_fn_cxx_try_compile "$LINENO"; then :
43780 glibcxx_cv_func__atan2l_use=yes
43781 else
43782 glibcxx_cv_func__atan2l_use=no
43784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43785 ac_ext=c
43786 ac_cpp='$CPP $CPPFLAGS'
43787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
43796 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
43798 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43799 for ac_func in _atan2l
43800 do :
43801 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
43802 if test "x$ac_cv_func__atan2l" = x""yes; then :
43803 cat >>confdefs.h <<_ACEOF
43804 #define HAVE__ATAN2L 1
43805 _ACEOF
43808 done
43817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
43818 $as_echo_n "checking for expl declaration... " >&6; }
43819 if test x${glibcxx_cv_func_expl_use+set} != xset; then
43820 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
43821 $as_echo_n "(cached) " >&6
43822 else
43825 ac_ext=cpp
43826 ac_cpp='$CXXCPP $CPPFLAGS'
43827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43832 /* end confdefs.h. */
43833 #include <math.h>
43834 #ifdef HAVE_IEEEFP_H
43835 #include <ieeefp.h>
43836 #endif
43839 main ()
43841 expl(0);
43843 return 0;
43845 _ACEOF
43846 if ac_fn_cxx_try_compile "$LINENO"; then :
43847 glibcxx_cv_func_expl_use=yes
43848 else
43849 glibcxx_cv_func_expl_use=no
43851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43852 ac_ext=c
43853 ac_cpp='$CPP $CPPFLAGS'
43854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43863 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
43865 if test x$glibcxx_cv_func_expl_use = x"yes"; then
43866 for ac_func in expl
43867 do :
43868 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43869 if test "x$ac_cv_func_expl" = x""yes; then :
43870 cat >>confdefs.h <<_ACEOF
43871 #define HAVE_EXPL 1
43872 _ACEOF
43875 done
43877 else
43879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43880 $as_echo_n "checking for _expl declaration... " >&6; }
43881 if test x${glibcxx_cv_func__expl_use+set} != xset; then
43882 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43883 $as_echo_n "(cached) " >&6
43884 else
43887 ac_ext=cpp
43888 ac_cpp='$CXXCPP $CPPFLAGS'
43889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43894 /* end confdefs.h. */
43895 #include <math.h>
43896 #ifdef HAVE_IEEEFP_H
43897 #include <ieeefp.h>
43898 #endif
43901 main ()
43903 _expl(0);
43905 return 0;
43907 _ACEOF
43908 if ac_fn_cxx_try_compile "$LINENO"; then :
43909 glibcxx_cv_func__expl_use=yes
43910 else
43911 glibcxx_cv_func__expl_use=no
43913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43914 ac_ext=c
43915 ac_cpp='$CPP $CPPFLAGS'
43916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43925 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
43927 if test x$glibcxx_cv_func__expl_use = x"yes"; then
43928 for ac_func in _expl
43929 do :
43930 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43931 if test "x$ac_cv_func__expl" = x""yes; then :
43932 cat >>confdefs.h <<_ACEOF
43933 #define HAVE__EXPL 1
43934 _ACEOF
43937 done
43946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43947 $as_echo_n "checking for fabsl declaration... " >&6; }
43948 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43949 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43950 $as_echo_n "(cached) " >&6
43951 else
43954 ac_ext=cpp
43955 ac_cpp='$CXXCPP $CPPFLAGS'
43956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43961 /* end confdefs.h. */
43962 #include <math.h>
43963 #ifdef HAVE_IEEEFP_H
43964 #include <ieeefp.h>
43965 #endif
43968 main ()
43970 fabsl(0);
43972 return 0;
43974 _ACEOF
43975 if ac_fn_cxx_try_compile "$LINENO"; then :
43976 glibcxx_cv_func_fabsl_use=yes
43977 else
43978 glibcxx_cv_func_fabsl_use=no
43980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43981 ac_ext=c
43982 ac_cpp='$CPP $CPPFLAGS'
43983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43992 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43994 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43995 for ac_func in fabsl
43996 do :
43997 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43998 if test "x$ac_cv_func_fabsl" = x""yes; then :
43999 cat >>confdefs.h <<_ACEOF
44000 #define HAVE_FABSL 1
44001 _ACEOF
44004 done
44006 else
44008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
44009 $as_echo_n "checking for _fabsl declaration... " >&6; }
44010 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
44011 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
44012 $as_echo_n "(cached) " >&6
44013 else
44016 ac_ext=cpp
44017 ac_cpp='$CXXCPP $CPPFLAGS'
44018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44023 /* end confdefs.h. */
44024 #include <math.h>
44025 #ifdef HAVE_IEEEFP_H
44026 #include <ieeefp.h>
44027 #endif
44030 main ()
44032 _fabsl(0);
44034 return 0;
44036 _ACEOF
44037 if ac_fn_cxx_try_compile "$LINENO"; then :
44038 glibcxx_cv_func__fabsl_use=yes
44039 else
44040 glibcxx_cv_func__fabsl_use=no
44042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44043 ac_ext=c
44044 ac_cpp='$CPP $CPPFLAGS'
44045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
44054 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
44056 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
44057 for ac_func in _fabsl
44058 do :
44059 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
44060 if test "x$ac_cv_func__fabsl" = x""yes; then :
44061 cat >>confdefs.h <<_ACEOF
44062 #define HAVE__FABSL 1
44063 _ACEOF
44066 done
44075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
44076 $as_echo_n "checking for fmodl declaration... " >&6; }
44077 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
44078 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
44079 $as_echo_n "(cached) " >&6
44080 else
44083 ac_ext=cpp
44084 ac_cpp='$CXXCPP $CPPFLAGS'
44085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44090 /* end confdefs.h. */
44091 #include <math.h>
44093 main ()
44095 fmodl(0, 0);
44097 return 0;
44099 _ACEOF
44100 if ac_fn_cxx_try_compile "$LINENO"; then :
44101 glibcxx_cv_func_fmodl_use=yes
44102 else
44103 glibcxx_cv_func_fmodl_use=no
44105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44106 ac_ext=c
44107 ac_cpp='$CPP $CPPFLAGS'
44108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
44117 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
44119 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
44120 for ac_func in fmodl
44121 do :
44122 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
44123 if test "x$ac_cv_func_fmodl" = x""yes; then :
44124 cat >>confdefs.h <<_ACEOF
44125 #define HAVE_FMODL 1
44126 _ACEOF
44129 done
44131 else
44133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
44134 $as_echo_n "checking for _fmodl declaration... " >&6; }
44135 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
44136 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
44137 $as_echo_n "(cached) " >&6
44138 else
44141 ac_ext=cpp
44142 ac_cpp='$CXXCPP $CPPFLAGS'
44143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44148 /* end confdefs.h. */
44149 #include <math.h>
44151 main ()
44153 _fmodl(0, 0);
44155 return 0;
44157 _ACEOF
44158 if ac_fn_cxx_try_compile "$LINENO"; then :
44159 glibcxx_cv_func__fmodl_use=yes
44160 else
44161 glibcxx_cv_func__fmodl_use=no
44163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44164 ac_ext=c
44165 ac_cpp='$CPP $CPPFLAGS'
44166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
44175 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
44177 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44178 for ac_func in _fmodl
44179 do :
44180 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
44181 if test "x$ac_cv_func__fmodl" = x""yes; then :
44182 cat >>confdefs.h <<_ACEOF
44183 #define HAVE__FMODL 1
44184 _ACEOF
44187 done
44196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
44197 $as_echo_n "checking for frexpl declaration... " >&6; }
44198 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44199 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
44200 $as_echo_n "(cached) " >&6
44201 else
44204 ac_ext=cpp
44205 ac_cpp='$CXXCPP $CPPFLAGS'
44206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44211 /* end confdefs.h. */
44212 #include <math.h>
44214 main ()
44216 frexpl(0, 0);
44218 return 0;
44220 _ACEOF
44221 if ac_fn_cxx_try_compile "$LINENO"; then :
44222 glibcxx_cv_func_frexpl_use=yes
44223 else
44224 glibcxx_cv_func_frexpl_use=no
44226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44227 ac_ext=c
44228 ac_cpp='$CPP $CPPFLAGS'
44229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
44238 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
44240 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44241 for ac_func in frexpl
44242 do :
44243 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
44244 if test "x$ac_cv_func_frexpl" = x""yes; then :
44245 cat >>confdefs.h <<_ACEOF
44246 #define HAVE_FREXPL 1
44247 _ACEOF
44250 done
44252 else
44254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
44255 $as_echo_n "checking for _frexpl declaration... " >&6; }
44256 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44257 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
44258 $as_echo_n "(cached) " >&6
44259 else
44262 ac_ext=cpp
44263 ac_cpp='$CXXCPP $CPPFLAGS'
44264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44269 /* end confdefs.h. */
44270 #include <math.h>
44272 main ()
44274 _frexpl(0, 0);
44276 return 0;
44278 _ACEOF
44279 if ac_fn_cxx_try_compile "$LINENO"; then :
44280 glibcxx_cv_func__frexpl_use=yes
44281 else
44282 glibcxx_cv_func__frexpl_use=no
44284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44285 ac_ext=c
44286 ac_cpp='$CPP $CPPFLAGS'
44287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
44296 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
44298 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44299 for ac_func in _frexpl
44300 do :
44301 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
44302 if test "x$ac_cv_func__frexpl" = x""yes; then :
44303 cat >>confdefs.h <<_ACEOF
44304 #define HAVE__FREXPL 1
44305 _ACEOF
44308 done
44317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
44318 $as_echo_n "checking for hypotl declaration... " >&6; }
44319 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44320 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
44321 $as_echo_n "(cached) " >&6
44322 else
44325 ac_ext=cpp
44326 ac_cpp='$CXXCPP $CPPFLAGS'
44327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44332 /* end confdefs.h. */
44333 #include <math.h>
44335 main ()
44337 hypotl(0, 0);
44339 return 0;
44341 _ACEOF
44342 if ac_fn_cxx_try_compile "$LINENO"; then :
44343 glibcxx_cv_func_hypotl_use=yes
44344 else
44345 glibcxx_cv_func_hypotl_use=no
44347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44348 ac_ext=c
44349 ac_cpp='$CPP $CPPFLAGS'
44350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
44359 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
44361 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44362 for ac_func in hypotl
44363 do :
44364 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
44365 if test "x$ac_cv_func_hypotl" = x""yes; then :
44366 cat >>confdefs.h <<_ACEOF
44367 #define HAVE_HYPOTL 1
44368 _ACEOF
44371 done
44373 else
44375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
44376 $as_echo_n "checking for _hypotl declaration... " >&6; }
44377 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44378 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
44379 $as_echo_n "(cached) " >&6
44380 else
44383 ac_ext=cpp
44384 ac_cpp='$CXXCPP $CPPFLAGS'
44385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44390 /* end confdefs.h. */
44391 #include <math.h>
44393 main ()
44395 _hypotl(0, 0);
44397 return 0;
44399 _ACEOF
44400 if ac_fn_cxx_try_compile "$LINENO"; then :
44401 glibcxx_cv_func__hypotl_use=yes
44402 else
44403 glibcxx_cv_func__hypotl_use=no
44405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44406 ac_ext=c
44407 ac_cpp='$CPP $CPPFLAGS'
44408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
44417 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
44419 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44420 for ac_func in _hypotl
44421 do :
44422 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
44423 if test "x$ac_cv_func__hypotl" = x""yes; then :
44424 cat >>confdefs.h <<_ACEOF
44425 #define HAVE__HYPOTL 1
44426 _ACEOF
44429 done
44438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
44439 $as_echo_n "checking for ldexpl declaration... " >&6; }
44440 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44441 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
44442 $as_echo_n "(cached) " >&6
44443 else
44446 ac_ext=cpp
44447 ac_cpp='$CXXCPP $CPPFLAGS'
44448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44453 /* end confdefs.h. */
44454 #include <math.h>
44456 main ()
44458 ldexpl(0, 0);
44460 return 0;
44462 _ACEOF
44463 if ac_fn_cxx_try_compile "$LINENO"; then :
44464 glibcxx_cv_func_ldexpl_use=yes
44465 else
44466 glibcxx_cv_func_ldexpl_use=no
44468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44469 ac_ext=c
44470 ac_cpp='$CPP $CPPFLAGS'
44471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
44480 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
44482 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44483 for ac_func in ldexpl
44484 do :
44485 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
44486 if test "x$ac_cv_func_ldexpl" = x""yes; then :
44487 cat >>confdefs.h <<_ACEOF
44488 #define HAVE_LDEXPL 1
44489 _ACEOF
44492 done
44494 else
44496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
44497 $as_echo_n "checking for _ldexpl declaration... " >&6; }
44498 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44499 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
44500 $as_echo_n "(cached) " >&6
44501 else
44504 ac_ext=cpp
44505 ac_cpp='$CXXCPP $CPPFLAGS'
44506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44511 /* end confdefs.h. */
44512 #include <math.h>
44514 main ()
44516 _ldexpl(0, 0);
44518 return 0;
44520 _ACEOF
44521 if ac_fn_cxx_try_compile "$LINENO"; then :
44522 glibcxx_cv_func__ldexpl_use=yes
44523 else
44524 glibcxx_cv_func__ldexpl_use=no
44526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44527 ac_ext=c
44528 ac_cpp='$CPP $CPPFLAGS'
44529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
44538 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
44540 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44541 for ac_func in _ldexpl
44542 do :
44543 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
44544 if test "x$ac_cv_func__ldexpl" = x""yes; then :
44545 cat >>confdefs.h <<_ACEOF
44546 #define HAVE__LDEXPL 1
44547 _ACEOF
44550 done
44559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
44560 $as_echo_n "checking for logl declaration... " >&6; }
44561 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44562 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
44563 $as_echo_n "(cached) " >&6
44564 else
44567 ac_ext=cpp
44568 ac_cpp='$CXXCPP $CPPFLAGS'
44569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44574 /* end confdefs.h. */
44575 #include <math.h>
44576 #ifdef HAVE_IEEEFP_H
44577 #include <ieeefp.h>
44578 #endif
44581 main ()
44583 logl(0);
44585 return 0;
44587 _ACEOF
44588 if ac_fn_cxx_try_compile "$LINENO"; then :
44589 glibcxx_cv_func_logl_use=yes
44590 else
44591 glibcxx_cv_func_logl_use=no
44593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44594 ac_ext=c
44595 ac_cpp='$CPP $CPPFLAGS'
44596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
44605 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
44607 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44608 for ac_func in logl
44609 do :
44610 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
44611 if test "x$ac_cv_func_logl" = x""yes; then :
44612 cat >>confdefs.h <<_ACEOF
44613 #define HAVE_LOGL 1
44614 _ACEOF
44617 done
44619 else
44621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
44622 $as_echo_n "checking for _logl declaration... " >&6; }
44623 if test x${glibcxx_cv_func__logl_use+set} != xset; then
44624 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
44625 $as_echo_n "(cached) " >&6
44626 else
44629 ac_ext=cpp
44630 ac_cpp='$CXXCPP $CPPFLAGS'
44631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44636 /* end confdefs.h. */
44637 #include <math.h>
44638 #ifdef HAVE_IEEEFP_H
44639 #include <ieeefp.h>
44640 #endif
44643 main ()
44645 _logl(0);
44647 return 0;
44649 _ACEOF
44650 if ac_fn_cxx_try_compile "$LINENO"; then :
44651 glibcxx_cv_func__logl_use=yes
44652 else
44653 glibcxx_cv_func__logl_use=no
44655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44656 ac_ext=c
44657 ac_cpp='$CPP $CPPFLAGS'
44658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
44667 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
44669 if test x$glibcxx_cv_func__logl_use = x"yes"; then
44670 for ac_func in _logl
44671 do :
44672 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
44673 if test "x$ac_cv_func__logl" = x""yes; then :
44674 cat >>confdefs.h <<_ACEOF
44675 #define HAVE__LOGL 1
44676 _ACEOF
44679 done
44688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
44689 $as_echo_n "checking for log10l declaration... " >&6; }
44690 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
44691 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
44692 $as_echo_n "(cached) " >&6
44693 else
44696 ac_ext=cpp
44697 ac_cpp='$CXXCPP $CPPFLAGS'
44698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44703 /* end confdefs.h. */
44704 #include <math.h>
44705 #ifdef HAVE_IEEEFP_H
44706 #include <ieeefp.h>
44707 #endif
44710 main ()
44712 log10l(0);
44714 return 0;
44716 _ACEOF
44717 if ac_fn_cxx_try_compile "$LINENO"; then :
44718 glibcxx_cv_func_log10l_use=yes
44719 else
44720 glibcxx_cv_func_log10l_use=no
44722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44723 ac_ext=c
44724 ac_cpp='$CPP $CPPFLAGS'
44725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44734 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44736 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44737 for ac_func in log10l
44738 do :
44739 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44740 if test "x$ac_cv_func_log10l" = x""yes; then :
44741 cat >>confdefs.h <<_ACEOF
44742 #define HAVE_LOG10L 1
44743 _ACEOF
44746 done
44748 else
44750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
44751 $as_echo_n "checking for _log10l declaration... " >&6; }
44752 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44753 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
44754 $as_echo_n "(cached) " >&6
44755 else
44758 ac_ext=cpp
44759 ac_cpp='$CXXCPP $CPPFLAGS'
44760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44765 /* end confdefs.h. */
44766 #include <math.h>
44767 #ifdef HAVE_IEEEFP_H
44768 #include <ieeefp.h>
44769 #endif
44772 main ()
44774 _log10l(0);
44776 return 0;
44778 _ACEOF
44779 if ac_fn_cxx_try_compile "$LINENO"; then :
44780 glibcxx_cv_func__log10l_use=yes
44781 else
44782 glibcxx_cv_func__log10l_use=no
44784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44785 ac_ext=c
44786 ac_cpp='$CPP $CPPFLAGS'
44787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
44796 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
44798 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
44799 for ac_func in _log10l
44800 do :
44801 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
44802 if test "x$ac_cv_func__log10l" = x""yes; then :
44803 cat >>confdefs.h <<_ACEOF
44804 #define HAVE__LOG10L 1
44805 _ACEOF
44808 done
44817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
44818 $as_echo_n "checking for modfl declaration... " >&6; }
44819 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
44820 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
44821 $as_echo_n "(cached) " >&6
44822 else
44825 ac_ext=cpp
44826 ac_cpp='$CXXCPP $CPPFLAGS'
44827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44832 /* end confdefs.h. */
44833 #include <math.h>
44835 main ()
44837 modfl(0, 0);
44839 return 0;
44841 _ACEOF
44842 if ac_fn_cxx_try_compile "$LINENO"; then :
44843 glibcxx_cv_func_modfl_use=yes
44844 else
44845 glibcxx_cv_func_modfl_use=no
44847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44848 ac_ext=c
44849 ac_cpp='$CPP $CPPFLAGS'
44850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44859 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44861 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44862 for ac_func in modfl
44863 do :
44864 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44865 if test "x$ac_cv_func_modfl" = x""yes; then :
44866 cat >>confdefs.h <<_ACEOF
44867 #define HAVE_MODFL 1
44868 _ACEOF
44871 done
44873 else
44875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44876 $as_echo_n "checking for _modfl declaration... " >&6; }
44877 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44878 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
44879 $as_echo_n "(cached) " >&6
44880 else
44883 ac_ext=cpp
44884 ac_cpp='$CXXCPP $CPPFLAGS'
44885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44890 /* end confdefs.h. */
44891 #include <math.h>
44893 main ()
44895 _modfl(0, 0);
44897 return 0;
44899 _ACEOF
44900 if ac_fn_cxx_try_compile "$LINENO"; then :
44901 glibcxx_cv_func__modfl_use=yes
44902 else
44903 glibcxx_cv_func__modfl_use=no
44905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44906 ac_ext=c
44907 ac_cpp='$CPP $CPPFLAGS'
44908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44917 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44919 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44920 for ac_func in _modfl
44921 do :
44922 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44923 if test "x$ac_cv_func__modfl" = x""yes; then :
44924 cat >>confdefs.h <<_ACEOF
44925 #define HAVE__MODFL 1
44926 _ACEOF
44929 done
44938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44939 $as_echo_n "checking for powl declaration... " >&6; }
44940 if test x${glibcxx_cv_func_powl_use+set} != xset; then
44941 if test "${glibcxx_cv_func_powl_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>
44956 main ()
44958 powl(0, 0);
44960 return 0;
44962 _ACEOF
44963 if ac_fn_cxx_try_compile "$LINENO"; then :
44964 glibcxx_cv_func_powl_use=yes
44965 else
44966 glibcxx_cv_func_powl_use=no
44968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44969 ac_ext=c
44970 ac_cpp='$CPP $CPPFLAGS'
44971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44980 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44982 if test x$glibcxx_cv_func_powl_use = x"yes"; then
44983 for ac_func in powl
44984 do :
44985 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44986 if test "x$ac_cv_func_powl" = x""yes; then :
44987 cat >>confdefs.h <<_ACEOF
44988 #define HAVE_POWL 1
44989 _ACEOF
44992 done
44994 else
44996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44997 $as_echo_n "checking for _powl declaration... " >&6; }
44998 if test x${glibcxx_cv_func__powl_use+set} != xset; then
44999 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
45000 $as_echo_n "(cached) " >&6
45001 else
45004 ac_ext=cpp
45005 ac_cpp='$CXXCPP $CPPFLAGS'
45006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45011 /* end confdefs.h. */
45012 #include <math.h>
45014 main ()
45016 _powl(0, 0);
45018 return 0;
45020 _ACEOF
45021 if ac_fn_cxx_try_compile "$LINENO"; then :
45022 glibcxx_cv_func__powl_use=yes
45023 else
45024 glibcxx_cv_func__powl_use=no
45026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45027 ac_ext=c
45028 ac_cpp='$CPP $CPPFLAGS'
45029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
45038 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
45040 if test x$glibcxx_cv_func__powl_use = x"yes"; then
45041 for ac_func in _powl
45042 do :
45043 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
45044 if test "x$ac_cv_func__powl" = x""yes; then :
45045 cat >>confdefs.h <<_ACEOF
45046 #define HAVE__POWL 1
45047 _ACEOF
45050 done
45059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
45060 $as_echo_n "checking for sqrtl declaration... " >&6; }
45061 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
45062 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
45063 $as_echo_n "(cached) " >&6
45064 else
45067 ac_ext=cpp
45068 ac_cpp='$CXXCPP $CPPFLAGS'
45069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45074 /* end confdefs.h. */
45075 #include <math.h>
45076 #ifdef HAVE_IEEEFP_H
45077 #include <ieeefp.h>
45078 #endif
45081 main ()
45083 sqrtl(0);
45085 return 0;
45087 _ACEOF
45088 if ac_fn_cxx_try_compile "$LINENO"; then :
45089 glibcxx_cv_func_sqrtl_use=yes
45090 else
45091 glibcxx_cv_func_sqrtl_use=no
45093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45094 ac_ext=c
45095 ac_cpp='$CPP $CPPFLAGS'
45096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
45105 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
45107 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
45108 for ac_func in sqrtl
45109 do :
45110 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
45111 if test "x$ac_cv_func_sqrtl" = x""yes; then :
45112 cat >>confdefs.h <<_ACEOF
45113 #define HAVE_SQRTL 1
45114 _ACEOF
45117 done
45119 else
45121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
45122 $as_echo_n "checking for _sqrtl declaration... " >&6; }
45123 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
45124 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
45125 $as_echo_n "(cached) " >&6
45126 else
45129 ac_ext=cpp
45130 ac_cpp='$CXXCPP $CPPFLAGS'
45131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45136 /* end confdefs.h. */
45137 #include <math.h>
45138 #ifdef HAVE_IEEEFP_H
45139 #include <ieeefp.h>
45140 #endif
45143 main ()
45145 _sqrtl(0);
45147 return 0;
45149 _ACEOF
45150 if ac_fn_cxx_try_compile "$LINENO"; then :
45151 glibcxx_cv_func__sqrtl_use=yes
45152 else
45153 glibcxx_cv_func__sqrtl_use=no
45155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45156 ac_ext=c
45157 ac_cpp='$CPP $CPPFLAGS'
45158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
45167 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
45169 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
45170 for ac_func in _sqrtl
45171 do :
45172 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
45173 if test "x$ac_cv_func__sqrtl" = x""yes; then :
45174 cat >>confdefs.h <<_ACEOF
45175 #define HAVE__SQRTL 1
45176 _ACEOF
45179 done
45188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
45189 $as_echo_n "checking for sincosl declaration... " >&6; }
45190 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
45191 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
45192 $as_echo_n "(cached) " >&6
45193 else
45196 ac_ext=cpp
45197 ac_cpp='$CXXCPP $CPPFLAGS'
45198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45203 /* end confdefs.h. */
45204 #include <math.h>
45206 main ()
45208 sincosl(0, 0, 0);
45210 return 0;
45212 _ACEOF
45213 if ac_fn_cxx_try_compile "$LINENO"; then :
45214 glibcxx_cv_func_sincosl_use=yes
45215 else
45216 glibcxx_cv_func_sincosl_use=no
45218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45219 ac_ext=c
45220 ac_cpp='$CPP $CPPFLAGS'
45221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
45230 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
45232 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
45233 for ac_func in sincosl
45234 do :
45235 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
45236 if test "x$ac_cv_func_sincosl" = x""yes; then :
45237 cat >>confdefs.h <<_ACEOF
45238 #define HAVE_SINCOSL 1
45239 _ACEOF
45242 done
45244 else
45246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
45247 $as_echo_n "checking for _sincosl declaration... " >&6; }
45248 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
45249 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
45250 $as_echo_n "(cached) " >&6
45251 else
45254 ac_ext=cpp
45255 ac_cpp='$CXXCPP $CPPFLAGS'
45256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45261 /* end confdefs.h. */
45262 #include <math.h>
45264 main ()
45266 _sincosl(0, 0, 0);
45268 return 0;
45270 _ACEOF
45271 if ac_fn_cxx_try_compile "$LINENO"; then :
45272 glibcxx_cv_func__sincosl_use=yes
45273 else
45274 glibcxx_cv_func__sincosl_use=no
45276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45277 ac_ext=c
45278 ac_cpp='$CPP $CPPFLAGS'
45279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
45288 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
45290 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
45291 for ac_func in _sincosl
45292 do :
45293 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
45294 if test "x$ac_cv_func__sincosl" = x""yes; then :
45295 cat >>confdefs.h <<_ACEOF
45296 #define HAVE__SINCOSL 1
45297 _ACEOF
45300 done
45309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
45310 $as_echo_n "checking for finitel declaration... " >&6; }
45311 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
45312 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
45313 $as_echo_n "(cached) " >&6
45314 else
45317 ac_ext=cpp
45318 ac_cpp='$CXXCPP $CPPFLAGS'
45319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45324 /* end confdefs.h. */
45325 #include <math.h>
45326 #ifdef HAVE_IEEEFP_H
45327 #include <ieeefp.h>
45328 #endif
45331 main ()
45333 finitel(0);
45335 return 0;
45337 _ACEOF
45338 if ac_fn_cxx_try_compile "$LINENO"; then :
45339 glibcxx_cv_func_finitel_use=yes
45340 else
45341 glibcxx_cv_func_finitel_use=no
45343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45344 ac_ext=c
45345 ac_cpp='$CPP $CPPFLAGS'
45346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
45355 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
45357 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
45358 for ac_func in finitel
45359 do :
45360 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
45361 if test "x$ac_cv_func_finitel" = x""yes; then :
45362 cat >>confdefs.h <<_ACEOF
45363 #define HAVE_FINITEL 1
45364 _ACEOF
45367 done
45369 else
45371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
45372 $as_echo_n "checking for _finitel declaration... " >&6; }
45373 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
45374 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
45375 $as_echo_n "(cached) " >&6
45376 else
45379 ac_ext=cpp
45380 ac_cpp='$CXXCPP $CPPFLAGS'
45381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45386 /* end confdefs.h. */
45387 #include <math.h>
45388 #ifdef HAVE_IEEEFP_H
45389 #include <ieeefp.h>
45390 #endif
45393 main ()
45395 _finitel(0);
45397 return 0;
45399 _ACEOF
45400 if ac_fn_cxx_try_compile "$LINENO"; then :
45401 glibcxx_cv_func__finitel_use=yes
45402 else
45403 glibcxx_cv_func__finitel_use=no
45405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45406 ac_ext=c
45407 ac_cpp='$CPP $CPPFLAGS'
45408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
45417 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
45419 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
45420 for ac_func in _finitel
45421 do :
45422 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
45423 if test "x$ac_cv_func__finitel" = x""yes; then :
45424 cat >>confdefs.h <<_ACEOF
45425 #define HAVE__FINITEL 1
45426 _ACEOF
45429 done
45437 LIBS="$ac_save_LIBS"
45438 CXXFLAGS="$ac_save_CXXFLAGS"
45441 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45442 ac_save_CXXFLAGS="$CXXFLAGS"
45443 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
45447 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
45448 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
45449 if test "${glibcxx_cv_func_at_quick_exit_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 <stdlib.h>
45464 main ()
45466 at_quick_exit(0);
45468 return 0;
45470 _ACEOF
45471 if ac_fn_cxx_try_compile "$LINENO"; then :
45472 glibcxx_cv_func_at_quick_exit_use=yes
45473 else
45474 glibcxx_cv_func_at_quick_exit_use=no
45476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45477 ac_ext=c
45478 ac_cpp='$CPP $CPPFLAGS'
45479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
45488 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
45489 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
45490 for ac_func in at_quick_exit
45491 do :
45492 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
45493 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
45494 cat >>confdefs.h <<_ACEOF
45495 #define HAVE_AT_QUICK_EXIT 1
45496 _ACEOF
45499 done
45504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
45505 $as_echo_n "checking for quick_exit declaration... " >&6; }
45506 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
45507 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
45508 $as_echo_n "(cached) " >&6
45509 else
45512 ac_ext=cpp
45513 ac_cpp='$CXXCPP $CPPFLAGS'
45514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45519 /* end confdefs.h. */
45520 #include <stdlib.h>
45522 main ()
45524 quick_exit(0);
45526 return 0;
45528 _ACEOF
45529 if ac_fn_cxx_try_compile "$LINENO"; then :
45530 glibcxx_cv_func_quick_exit_use=yes
45531 else
45532 glibcxx_cv_func_quick_exit_use=no
45534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45535 ac_ext=c
45536 ac_cpp='$CPP $CPPFLAGS'
45537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
45546 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
45547 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
45548 for ac_func in quick_exit
45549 do :
45550 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
45551 if test "x$ac_cv_func_quick_exit" = x""yes; then :
45552 cat >>confdefs.h <<_ACEOF
45553 #define HAVE_QUICK_EXIT 1
45554 _ACEOF
45557 done
45562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
45563 $as_echo_n "checking for strtold declaration... " >&6; }
45564 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45565 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
45566 $as_echo_n "(cached) " >&6
45567 else
45570 ac_ext=cpp
45571 ac_cpp='$CXXCPP $CPPFLAGS'
45572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45577 /* end confdefs.h. */
45578 #include <stdlib.h>
45580 main ()
45582 strtold(0, 0);
45584 return 0;
45586 _ACEOF
45587 if ac_fn_cxx_try_compile "$LINENO"; then :
45588 glibcxx_cv_func_strtold_use=yes
45589 else
45590 glibcxx_cv_func_strtold_use=no
45592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45593 ac_ext=c
45594 ac_cpp='$CPP $CPPFLAGS'
45595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
45604 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
45605 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45606 for ac_func in strtold
45607 do :
45608 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
45609 if test "x$ac_cv_func_strtold" = x""yes; then :
45610 cat >>confdefs.h <<_ACEOF
45611 #define HAVE_STRTOLD 1
45612 _ACEOF
45615 done
45622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
45623 $as_echo_n "checking for strtof declaration... " >&6; }
45624 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
45625 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
45626 $as_echo_n "(cached) " >&6
45627 else
45630 ac_ext=cpp
45631 ac_cpp='$CXXCPP $CPPFLAGS'
45632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45637 /* end confdefs.h. */
45638 #include <stdlib.h>
45640 main ()
45642 strtof(0, 0);
45644 return 0;
45646 _ACEOF
45647 if ac_fn_cxx_try_compile "$LINENO"; then :
45648 glibcxx_cv_func_strtof_use=yes
45649 else
45650 glibcxx_cv_func_strtof_use=no
45652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45653 ac_ext=c
45654 ac_cpp='$CPP $CPPFLAGS'
45655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
45664 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
45665 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
45666 for ac_func in strtof
45667 do :
45668 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
45669 if test "x$ac_cv_func_strtof" = x""yes; then :
45670 cat >>confdefs.h <<_ACEOF
45671 #define HAVE_STRTOF 1
45672 _ACEOF
45675 done
45682 CXXFLAGS="$ac_save_CXXFLAGS"
45686 *djgpp)
45687 # GLIBCXX_CHECK_MATH_SUPPORT
45688 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45690 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45692 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45694 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
45696 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45700 *-freebsd*)
45701 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45704 # If we're not using GNU ld, then there's no point in even trying these
45705 # tests. Check for that first. We should have already tested for gld
45706 # by now (in libtool), but require it now just to be safe...
45707 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45708 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45712 # The name set by libtool depends on the version of libtool. Shame on us
45713 # for depending on an impl detail, but c'est la vie. Older versions used
45714 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45715 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45716 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45717 # set (hence we're using an older libtool), then set it.
45718 if test x${with_gnu_ld+set} != xset; then
45719 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45720 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45721 with_gnu_ld=no
45722 else
45723 with_gnu_ld=$ac_cv_prog_gnu_ld
45727 # Start by getting the version number. I think the libtool test already
45728 # does some of this, but throws away the result.
45729 glibcxx_ld_is_gold=no
45730 if test x"$with_gnu_ld" = x"yes"; then
45731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45732 $as_echo_n "checking for ld version... " >&6; }
45734 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45735 glibcxx_ld_is_gold=yes
45737 ldver=`$LD --version 2>/dev/null |
45738 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'`
45740 glibcxx_gnu_ld_version=`echo $ldver | \
45741 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45743 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45746 # Set --gc-sections.
45747 glibcxx_have_gc_sections=no
45748 if test "$glibcxx_ld_is_gold" = "yes"; then
45749 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45750 glibcxx_have_gc_sections=yes
45752 else
45753 glibcxx_gcsections_min_ld=21602
45754 if test x"$with_gnu_ld" = x"yes" &&
45755 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45756 glibcxx_have_gc_sections=yes
45759 if test "$glibcxx_have_gc_sections" = "yes"; then
45760 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45761 # NB: This flag only works reliably after 2.16.1. Configure tests
45762 # for this are difficult, so hard wire a value that should work.
45764 ac_test_CFLAGS="${CFLAGS+set}"
45765 ac_save_CFLAGS="$CFLAGS"
45766 CFLAGS='-Wl,--gc-sections'
45768 # Check for -Wl,--gc-sections
45769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45770 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45771 if test x$gcc_no_link = xyes; then
45772 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45775 /* end confdefs.h. */
45776 int one(void) { return 1; }
45777 int two(void) { return 2; }
45780 main ()
45782 two();
45784 return 0;
45786 _ACEOF
45787 if ac_fn_c_try_link "$LINENO"; then :
45788 ac_gcsections=yes
45789 else
45790 ac_gcsections=no
45792 rm -f core conftest.err conftest.$ac_objext \
45793 conftest$ac_exeext conftest.$ac_ext
45794 if test "$ac_gcsections" = "yes"; then
45795 rm -f conftest.c
45796 touch conftest.c
45797 if $CC -c conftest.c; then
45798 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45799 grep "Warning: gc-sections option ignored" > /dev/null; then
45800 ac_gcsections=no
45803 rm -f conftest.c conftest.o conftest
45805 if test "$ac_gcsections" = "yes"; then
45806 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45809 $as_echo "$ac_gcsections" >&6; }
45811 if test "$ac_test_CFLAGS" = set; then
45812 CFLAGS="$ac_save_CFLAGS"
45813 else
45814 # this is the suspicious part
45815 CFLAGS=''
45819 # Set -z,relro.
45820 # Note this is only for shared objects.
45821 ac_ld_relro=no
45822 if test x"$with_gnu_ld" = x"yes"; then
45823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45824 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45825 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45826 if test -n "$cxx_z_relo"; then
45827 OPT_LDFLAGS="-Wl,-z,relro"
45828 ac_ld_relro=yes
45830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45831 $as_echo "$ac_ld_relro" >&6; }
45834 # Set linker optimization flags.
45835 if test x"$with_gnu_ld" = x"yes"; then
45836 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45842 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
45844 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45846 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45848 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45850 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45852 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
45854 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45856 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45858 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45861 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45863 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45865 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45867 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45869 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
45871 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45873 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45875 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45877 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45879 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
45881 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45883 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45885 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
45887 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45889 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45891 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
45893 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45895 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45897 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45899 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45901 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45903 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45905 if test x"long_double_math_on_this_cpu" = x"yes"; then
45906 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
45908 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
45910 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
45914 *-hpux*)
45915 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45918 # If we're not using GNU ld, then there's no point in even trying these
45919 # tests. Check for that first. We should have already tested for gld
45920 # by now (in libtool), but require it now just to be safe...
45921 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45922 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45926 # The name set by libtool depends on the version of libtool. Shame on us
45927 # for depending on an impl detail, but c'est la vie. Older versions used
45928 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45929 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45930 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45931 # set (hence we're using an older libtool), then set it.
45932 if test x${with_gnu_ld+set} != xset; then
45933 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45934 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45935 with_gnu_ld=no
45936 else
45937 with_gnu_ld=$ac_cv_prog_gnu_ld
45941 # Start by getting the version number. I think the libtool test already
45942 # does some of this, but throws away the result.
45943 glibcxx_ld_is_gold=no
45944 if test x"$with_gnu_ld" = x"yes"; then
45945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45946 $as_echo_n "checking for ld version... " >&6; }
45948 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45949 glibcxx_ld_is_gold=yes
45951 ldver=`$LD --version 2>/dev/null |
45952 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'`
45954 glibcxx_gnu_ld_version=`echo $ldver | \
45955 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45957 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45960 # Set --gc-sections.
45961 glibcxx_have_gc_sections=no
45962 if test "$glibcxx_ld_is_gold" = "yes"; then
45963 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45964 glibcxx_have_gc_sections=yes
45966 else
45967 glibcxx_gcsections_min_ld=21602
45968 if test x"$with_gnu_ld" = x"yes" &&
45969 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45970 glibcxx_have_gc_sections=yes
45973 if test "$glibcxx_have_gc_sections" = "yes"; then
45974 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45975 # NB: This flag only works reliably after 2.16.1. Configure tests
45976 # for this are difficult, so hard wire a value that should work.
45978 ac_test_CFLAGS="${CFLAGS+set}"
45979 ac_save_CFLAGS="$CFLAGS"
45980 CFLAGS='-Wl,--gc-sections'
45982 # Check for -Wl,--gc-sections
45983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45984 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45985 if test x$gcc_no_link = xyes; then
45986 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45989 /* end confdefs.h. */
45990 int one(void) { return 1; }
45991 int two(void) { return 2; }
45994 main ()
45996 two();
45998 return 0;
46000 _ACEOF
46001 if ac_fn_c_try_link "$LINENO"; then :
46002 ac_gcsections=yes
46003 else
46004 ac_gcsections=no
46006 rm -f core conftest.err conftest.$ac_objext \
46007 conftest$ac_exeext conftest.$ac_ext
46008 if test "$ac_gcsections" = "yes"; then
46009 rm -f conftest.c
46010 touch conftest.c
46011 if $CC -c conftest.c; then
46012 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
46013 grep "Warning: gc-sections option ignored" > /dev/null; then
46014 ac_gcsections=no
46017 rm -f conftest.c conftest.o conftest
46019 if test "$ac_gcsections" = "yes"; then
46020 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
46022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
46023 $as_echo "$ac_gcsections" >&6; }
46025 if test "$ac_test_CFLAGS" = set; then
46026 CFLAGS="$ac_save_CFLAGS"
46027 else
46028 # this is the suspicious part
46029 CFLAGS=''
46033 # Set -z,relro.
46034 # Note this is only for shared objects.
46035 ac_ld_relro=no
46036 if test x"$with_gnu_ld" = x"yes"; then
46037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
46038 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
46039 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
46040 if test -n "$cxx_z_relo"; then
46041 OPT_LDFLAGS="-Wl,-z,relro"
46042 ac_ld_relro=yes
46044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
46045 $as_echo "$ac_ld_relro" >&6; }
46048 # Set linker optimization flags.
46049 if test x"$with_gnu_ld" = x"yes"; then
46050 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
46057 # GLIBCXX_CHECK_MATH_SUPPORT
46058 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
46060 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
46062 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
46064 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
46066 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
46068 $as_echo "#define HAVE_COSF 1" >>confdefs.h
46070 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
46072 $as_echo "#define HAVE_SINF 1" >>confdefs.h
46074 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
46076 $as_echo "#define HAVE_TANF 1" >>confdefs.h
46078 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
46080 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
46082 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
46084 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
46086 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
46088 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
46090 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
46092 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
46094 $as_echo "#define HAVE_MODF 1" >>confdefs.h
46096 $as_echo "#define HAVE_POWF 1" >>confdefs.h
46098 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
46101 # GLIBCXX_CHECK_STDLIB_SUPPORT
46102 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
46107 # Check whether --enable-tls was given.
46108 if test "${enable_tls+set}" = set; then :
46109 enableval=$enable_tls;
46110 case "$enableval" in
46111 yes|no) ;;
46112 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
46113 esac
46115 else
46116 enable_tls=yes
46120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
46121 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
46122 if test "${gcc_cv_have_tls+set}" = set; then :
46123 $as_echo_n "(cached) " >&6
46124 else
46126 if test "$cross_compiling" = yes; then :
46127 if test x$gcc_no_link = xyes; then
46128 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46131 /* end confdefs.h. */
46132 __thread int a; int b; int main() { return a = b; }
46133 _ACEOF
46134 if ac_fn_c_try_link "$LINENO"; then :
46135 chktls_save_LDFLAGS="$LDFLAGS"
46136 case $host in
46137 *-*-linux*)
46138 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
46140 esac
46141 chktls_save_CFLAGS="$CFLAGS"
46142 CFLAGS="-fPIC $CFLAGS"
46143 if test x$gcc_no_link = xyes; then
46144 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46147 /* end confdefs.h. */
46148 int f() { return 0; }
46149 _ACEOF
46150 if ac_fn_c_try_link "$LINENO"; then :
46151 if test x$gcc_no_link = xyes; then
46152 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46155 /* end confdefs.h. */
46156 __thread int a; int b; int f() { return a = b; }
46157 _ACEOF
46158 if ac_fn_c_try_link "$LINENO"; then :
46159 gcc_cv_have_tls=yes
46160 else
46161 gcc_cv_have_tls=no
46163 rm -f core conftest.err conftest.$ac_objext \
46164 conftest$ac_exeext conftest.$ac_ext
46165 else
46166 gcc_cv_have_tls=yes
46168 rm -f core conftest.err conftest.$ac_objext \
46169 conftest$ac_exeext conftest.$ac_ext
46170 CFLAGS="$chktls_save_CFLAGS"
46171 LDFLAGS="$chktls_save_LDFLAGS"
46172 else
46173 gcc_cv_have_tls=no
46175 rm -f core conftest.err conftest.$ac_objext \
46176 conftest$ac_exeext conftest.$ac_ext
46179 else
46180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46181 /* end confdefs.h. */
46182 __thread int a; int b; int main() { return a = b; }
46183 _ACEOF
46184 if ac_fn_c_try_run "$LINENO"; then :
46185 chktls_save_LDFLAGS="$LDFLAGS"
46186 LDFLAGS="-static $LDFLAGS"
46187 if test x$gcc_no_link = xyes; then
46188 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46191 /* end confdefs.h. */
46192 int main() { return 0; }
46193 _ACEOF
46194 if ac_fn_c_try_link "$LINENO"; then :
46195 if test "$cross_compiling" = yes; then :
46196 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
46197 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
46198 as_fn_error "cannot run test program while cross compiling
46199 See \`config.log' for more details." "$LINENO" 5; }
46200 else
46201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46202 /* end confdefs.h. */
46203 __thread int a; int b; int main() { return a = b; }
46204 _ACEOF
46205 if ac_fn_c_try_run "$LINENO"; then :
46206 gcc_cv_have_tls=yes
46207 else
46208 gcc_cv_have_tls=no
46210 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46211 conftest.$ac_objext conftest.beam conftest.$ac_ext
46214 else
46215 gcc_cv_have_tls=yes
46217 rm -f core conftest.err conftest.$ac_objext \
46218 conftest$ac_exeext conftest.$ac_ext
46219 LDFLAGS="$chktls_save_LDFLAGS"
46220 if test $gcc_cv_have_tls = yes; then
46221 chktls_save_CFLAGS="$CFLAGS"
46222 thread_CFLAGS=failed
46223 for flag in '' '-pthread' '-lpthread'; do
46224 CFLAGS="$flag $chktls_save_CFLAGS"
46225 if test x$gcc_no_link = xyes; then
46226 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46229 /* end confdefs.h. */
46230 #include <pthread.h>
46231 void *g(void *d) { return NULL; }
46233 main ()
46235 pthread_t t; pthread_create(&t,NULL,g,NULL);
46237 return 0;
46239 _ACEOF
46240 if ac_fn_c_try_link "$LINENO"; then :
46241 thread_CFLAGS="$flag"
46243 rm -f core conftest.err conftest.$ac_objext \
46244 conftest$ac_exeext conftest.$ac_ext
46245 if test "X$thread_CFLAGS" != Xfailed; then
46246 break
46248 done
46249 CFLAGS="$chktls_save_CFLAGS"
46250 if test "X$thread_CFLAGS" != Xfailed; then
46251 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
46252 if test "$cross_compiling" = yes; then :
46253 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
46254 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
46255 as_fn_error "cannot run test program while cross compiling
46256 See \`config.log' for more details." "$LINENO" 5; }
46257 else
46258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46259 /* end confdefs.h. */
46260 #include <pthread.h>
46261 __thread int a;
46262 static int *volatile a_in_other_thread;
46263 static void *
46264 thread_func (void *arg)
46266 a_in_other_thread = &a;
46267 return (void *)0;
46270 main ()
46272 pthread_t thread;
46273 void *thread_retval;
46274 int *volatile a_in_main_thread;
46275 a_in_main_thread = &a;
46276 if (pthread_create (&thread, (pthread_attr_t *)0,
46277 thread_func, (void *)0))
46278 return 0;
46279 if (pthread_join (thread, &thread_retval))
46280 return 0;
46281 return (a_in_other_thread == a_in_main_thread);
46283 return 0;
46285 _ACEOF
46286 if ac_fn_c_try_run "$LINENO"; then :
46287 gcc_cv_have_tls=yes
46288 else
46289 gcc_cv_have_tls=no
46291 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46292 conftest.$ac_objext conftest.beam conftest.$ac_ext
46295 CFLAGS="$chktls_save_CFLAGS"
46298 else
46299 gcc_cv_have_tls=no
46301 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46302 conftest.$ac_objext conftest.beam conftest.$ac_ext
46306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
46307 $as_echo "$gcc_cv_have_tls" >&6; }
46308 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
46310 $as_echo "#define HAVE_TLS 1" >>confdefs.h
46313 case "$target" in
46314 *-hpux10*)
46315 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
46317 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
46319 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
46321 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
46323 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
46326 esac
46328 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
46330 # All these tests are for C++; save the language and the compiler flags.
46331 # The CXXFLAGS thing is suspicious, but based on similar bits previously
46332 # found in GLIBCXX_CONFIGURE.
46334 ac_ext=cpp
46335 ac_cpp='$CXXCPP $CPPFLAGS'
46336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46340 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46341 ac_save_CXXFLAGS="$CXXFLAGS"
46343 # Check for maintainer-mode bits.
46344 if test x"$USE_MAINTAINER_MODE" = xno; then
46345 WERROR=''
46346 else
46347 WERROR='-Werror'
46350 # Check for -ffunction-sections -fdata-sections
46351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
46352 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
46353 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
46354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46355 /* end confdefs.h. */
46356 int foo; void bar() { };
46358 main ()
46362 return 0;
46364 _ACEOF
46365 if ac_fn_cxx_try_compile "$LINENO"; then :
46366 ac_fdsections=yes
46367 else
46368 ac_fdsections=no
46370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46371 if test "$ac_test_CXXFLAGS" = set; then
46372 CXXFLAGS="$ac_save_CXXFLAGS"
46373 else
46374 # this is the suspicious part
46375 CXXFLAGS=''
46377 if test x"$ac_fdsections" = x"yes"; then
46378 SECTION_FLAGS='-ffunction-sections -fdata-sections'
46380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
46381 $as_echo "$ac_fdsections" >&6; }
46383 ac_ext=c
46384 ac_cpp='$CPP $CPPFLAGS'
46385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46393 # If we're not using GNU ld, then there's no point in even trying these
46394 # tests. Check for that first. We should have already tested for gld
46395 # by now (in libtool), but require it now just to be safe...
46396 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
46397 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
46401 # The name set by libtool depends on the version of libtool. Shame on us
46402 # for depending on an impl detail, but c'est la vie. Older versions used
46403 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
46404 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
46405 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
46406 # set (hence we're using an older libtool), then set it.
46407 if test x${with_gnu_ld+set} != xset; then
46408 if test x${ac_cv_prog_gnu_ld+set} != xset; then
46409 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
46410 with_gnu_ld=no
46411 else
46412 with_gnu_ld=$ac_cv_prog_gnu_ld
46416 # Start by getting the version number. I think the libtool test already
46417 # does some of this, but throws away the result.
46418 glibcxx_ld_is_gold=no
46419 if test x"$with_gnu_ld" = x"yes"; then
46420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
46421 $as_echo_n "checking for ld version... " >&6; }
46423 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
46424 glibcxx_ld_is_gold=yes
46426 ldver=`$LD --version 2>/dev/null |
46427 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'`
46429 glibcxx_gnu_ld_version=`echo $ldver | \
46430 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
46431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
46432 $as_echo "$glibcxx_gnu_ld_version" >&6; }
46435 # Set --gc-sections.
46436 glibcxx_have_gc_sections=no
46437 if test "$glibcxx_ld_is_gold" = "yes"; then
46438 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
46439 glibcxx_have_gc_sections=yes
46441 else
46442 glibcxx_gcsections_min_ld=21602
46443 if test x"$with_gnu_ld" = x"yes" &&
46444 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
46445 glibcxx_have_gc_sections=yes
46448 if test "$glibcxx_have_gc_sections" = "yes"; then
46449 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
46450 # NB: This flag only works reliably after 2.16.1. Configure tests
46451 # for this are difficult, so hard wire a value that should work.
46453 ac_test_CFLAGS="${CFLAGS+set}"
46454 ac_save_CFLAGS="$CFLAGS"
46455 CFLAGS='-Wl,--gc-sections'
46457 # Check for -Wl,--gc-sections
46458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
46459 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
46460 if test x$gcc_no_link = xyes; then
46461 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46464 /* end confdefs.h. */
46465 int one(void) { return 1; }
46466 int two(void) { return 2; }
46469 main ()
46471 two();
46473 return 0;
46475 _ACEOF
46476 if ac_fn_c_try_link "$LINENO"; then :
46477 ac_gcsections=yes
46478 else
46479 ac_gcsections=no
46481 rm -f core conftest.err conftest.$ac_objext \
46482 conftest$ac_exeext conftest.$ac_ext
46483 if test "$ac_gcsections" = "yes"; then
46484 rm -f conftest.c
46485 touch conftest.c
46486 if $CC -c conftest.c; then
46487 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
46488 grep "Warning: gc-sections option ignored" > /dev/null; then
46489 ac_gcsections=no
46492 rm -f conftest.c conftest.o conftest
46494 if test "$ac_gcsections" = "yes"; then
46495 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
46497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
46498 $as_echo "$ac_gcsections" >&6; }
46500 if test "$ac_test_CFLAGS" = set; then
46501 CFLAGS="$ac_save_CFLAGS"
46502 else
46503 # this is the suspicious part
46504 CFLAGS=''
46508 # Set -z,relro.
46509 # Note this is only for shared objects.
46510 ac_ld_relro=no
46511 if test x"$with_gnu_ld" = x"yes"; then
46512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
46513 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
46514 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
46515 if test -n "$cxx_z_relo"; then
46516 OPT_LDFLAGS="-Wl,-z,relro"
46517 ac_ld_relro=yes
46519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
46520 $as_echo "$ac_ld_relro" >&6; }
46523 # Set linker optimization flags.
46524 if test x"$with_gnu_ld" = x"yes"; then
46525 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
46532 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46533 ac_save_CXXFLAGS="$CXXFLAGS"
46534 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
46537 $as_echo_n "checking for sin in -lm... " >&6; }
46538 if test "${ac_cv_lib_m_sin+set}" = set; then :
46539 $as_echo_n "(cached) " >&6
46540 else
46541 ac_check_lib_save_LIBS=$LIBS
46542 LIBS="-lm $LIBS"
46543 if test x$gcc_no_link = xyes; then
46544 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46547 /* end confdefs.h. */
46549 /* Override any GCC internal prototype to avoid an error.
46550 Use char because int might match the return type of a GCC
46551 builtin and then its argument prototype would still apply. */
46552 #ifdef __cplusplus
46553 extern "C"
46554 #endif
46555 char sin ();
46557 main ()
46559 return sin ();
46561 return 0;
46563 _ACEOF
46564 if ac_fn_c_try_link "$LINENO"; then :
46565 ac_cv_lib_m_sin=yes
46566 else
46567 ac_cv_lib_m_sin=no
46569 rm -f core conftest.err conftest.$ac_objext \
46570 conftest$ac_exeext conftest.$ac_ext
46571 LIBS=$ac_check_lib_save_LIBS
46573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
46574 $as_echo "$ac_cv_lib_m_sin" >&6; }
46575 if test "x$ac_cv_lib_m_sin" = x""yes; then :
46576 libm="-lm"
46579 ac_save_LIBS="$LIBS"
46580 LIBS="$LIBS $libm"
46584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
46585 $as_echo_n "checking for isinf declaration... " >&6; }
46586 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
46587 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
46588 $as_echo_n "(cached) " >&6
46589 else
46592 ac_ext=cpp
46593 ac_cpp='$CXXCPP $CPPFLAGS'
46594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46599 /* end confdefs.h. */
46600 #include <math.h>
46601 #ifdef HAVE_IEEEFP_H
46602 #include <ieeefp.h>
46603 #endif
46606 main ()
46608 isinf(0);
46610 return 0;
46612 _ACEOF
46613 if ac_fn_cxx_try_compile "$LINENO"; then :
46614 glibcxx_cv_func_isinf_use=yes
46615 else
46616 glibcxx_cv_func_isinf_use=no
46618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46619 ac_ext=c
46620 ac_cpp='$CPP $CPPFLAGS'
46621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
46630 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
46632 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
46633 for ac_func in isinf
46634 do :
46635 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
46636 if test "x$ac_cv_func_isinf" = x""yes; then :
46637 cat >>confdefs.h <<_ACEOF
46638 #define HAVE_ISINF 1
46639 _ACEOF
46642 done
46644 else
46646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
46647 $as_echo_n "checking for _isinf declaration... " >&6; }
46648 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
46649 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
46650 $as_echo_n "(cached) " >&6
46651 else
46654 ac_ext=cpp
46655 ac_cpp='$CXXCPP $CPPFLAGS'
46656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46661 /* end confdefs.h. */
46662 #include <math.h>
46663 #ifdef HAVE_IEEEFP_H
46664 #include <ieeefp.h>
46665 #endif
46668 main ()
46670 _isinf(0);
46672 return 0;
46674 _ACEOF
46675 if ac_fn_cxx_try_compile "$LINENO"; then :
46676 glibcxx_cv_func__isinf_use=yes
46677 else
46678 glibcxx_cv_func__isinf_use=no
46680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46681 ac_ext=c
46682 ac_cpp='$CPP $CPPFLAGS'
46683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
46692 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
46694 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
46695 for ac_func in _isinf
46696 do :
46697 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
46698 if test "x$ac_cv_func__isinf" = x""yes; then :
46699 cat >>confdefs.h <<_ACEOF
46700 #define HAVE__ISINF 1
46701 _ACEOF
46704 done
46713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
46714 $as_echo_n "checking for isnan declaration... " >&6; }
46715 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
46716 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
46717 $as_echo_n "(cached) " >&6
46718 else
46721 ac_ext=cpp
46722 ac_cpp='$CXXCPP $CPPFLAGS'
46723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46728 /* end confdefs.h. */
46729 #include <math.h>
46730 #ifdef HAVE_IEEEFP_H
46731 #include <ieeefp.h>
46732 #endif
46735 main ()
46737 isnan(0);
46739 return 0;
46741 _ACEOF
46742 if ac_fn_cxx_try_compile "$LINENO"; then :
46743 glibcxx_cv_func_isnan_use=yes
46744 else
46745 glibcxx_cv_func_isnan_use=no
46747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46748 ac_ext=c
46749 ac_cpp='$CPP $CPPFLAGS'
46750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
46759 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
46761 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
46762 for ac_func in isnan
46763 do :
46764 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
46765 if test "x$ac_cv_func_isnan" = x""yes; then :
46766 cat >>confdefs.h <<_ACEOF
46767 #define HAVE_ISNAN 1
46768 _ACEOF
46771 done
46773 else
46775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
46776 $as_echo_n "checking for _isnan declaration... " >&6; }
46777 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
46778 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
46779 $as_echo_n "(cached) " >&6
46780 else
46783 ac_ext=cpp
46784 ac_cpp='$CXXCPP $CPPFLAGS'
46785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46790 /* end confdefs.h. */
46791 #include <math.h>
46792 #ifdef HAVE_IEEEFP_H
46793 #include <ieeefp.h>
46794 #endif
46797 main ()
46799 _isnan(0);
46801 return 0;
46803 _ACEOF
46804 if ac_fn_cxx_try_compile "$LINENO"; then :
46805 glibcxx_cv_func__isnan_use=yes
46806 else
46807 glibcxx_cv_func__isnan_use=no
46809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46810 ac_ext=c
46811 ac_cpp='$CPP $CPPFLAGS'
46812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46821 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46823 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46824 for ac_func in _isnan
46825 do :
46826 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46827 if test "x$ac_cv_func__isnan" = x""yes; then :
46828 cat >>confdefs.h <<_ACEOF
46829 #define HAVE__ISNAN 1
46830 _ACEOF
46833 done
46842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46843 $as_echo_n "checking for finite declaration... " >&6; }
46844 if test x${glibcxx_cv_func_finite_use+set} != xset; then
46845 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46846 $as_echo_n "(cached) " >&6
46847 else
46850 ac_ext=cpp
46851 ac_cpp='$CXXCPP $CPPFLAGS'
46852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46857 /* end confdefs.h. */
46858 #include <math.h>
46859 #ifdef HAVE_IEEEFP_H
46860 #include <ieeefp.h>
46861 #endif
46864 main ()
46866 finite(0);
46868 return 0;
46870 _ACEOF
46871 if ac_fn_cxx_try_compile "$LINENO"; then :
46872 glibcxx_cv_func_finite_use=yes
46873 else
46874 glibcxx_cv_func_finite_use=no
46876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46877 ac_ext=c
46878 ac_cpp='$CPP $CPPFLAGS'
46879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46888 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46890 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46891 for ac_func in finite
46892 do :
46893 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46894 if test "x$ac_cv_func_finite" = x""yes; then :
46895 cat >>confdefs.h <<_ACEOF
46896 #define HAVE_FINITE 1
46897 _ACEOF
46900 done
46902 else
46904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46905 $as_echo_n "checking for _finite declaration... " >&6; }
46906 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46907 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46908 $as_echo_n "(cached) " >&6
46909 else
46912 ac_ext=cpp
46913 ac_cpp='$CXXCPP $CPPFLAGS'
46914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46919 /* end confdefs.h. */
46920 #include <math.h>
46921 #ifdef HAVE_IEEEFP_H
46922 #include <ieeefp.h>
46923 #endif
46926 main ()
46928 _finite(0);
46930 return 0;
46932 _ACEOF
46933 if ac_fn_cxx_try_compile "$LINENO"; then :
46934 glibcxx_cv_func__finite_use=yes
46935 else
46936 glibcxx_cv_func__finite_use=no
46938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46939 ac_ext=c
46940 ac_cpp='$CPP $CPPFLAGS'
46941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46950 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46952 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46953 for ac_func in _finite
46954 do :
46955 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46956 if test "x$ac_cv_func__finite" = x""yes; then :
46957 cat >>confdefs.h <<_ACEOF
46958 #define HAVE__FINITE 1
46959 _ACEOF
46962 done
46971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46972 $as_echo_n "checking for sincos declaration... " >&6; }
46973 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46974 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46975 $as_echo_n "(cached) " >&6
46976 else
46979 ac_ext=cpp
46980 ac_cpp='$CXXCPP $CPPFLAGS'
46981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46986 /* end confdefs.h. */
46987 #include <math.h>
46989 main ()
46991 sincos(0, 0, 0);
46993 return 0;
46995 _ACEOF
46996 if ac_fn_cxx_try_compile "$LINENO"; then :
46997 glibcxx_cv_func_sincos_use=yes
46998 else
46999 glibcxx_cv_func_sincos_use=no
47001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47002 ac_ext=c
47003 ac_cpp='$CPP $CPPFLAGS'
47004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
47013 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
47015 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
47016 for ac_func in sincos
47017 do :
47018 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
47019 if test "x$ac_cv_func_sincos" = x""yes; then :
47020 cat >>confdefs.h <<_ACEOF
47021 #define HAVE_SINCOS 1
47022 _ACEOF
47025 done
47027 else
47029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
47030 $as_echo_n "checking for _sincos declaration... " >&6; }
47031 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
47032 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
47033 $as_echo_n "(cached) " >&6
47034 else
47037 ac_ext=cpp
47038 ac_cpp='$CXXCPP $CPPFLAGS'
47039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47044 /* end confdefs.h. */
47045 #include <math.h>
47047 main ()
47049 _sincos(0, 0, 0);
47051 return 0;
47053 _ACEOF
47054 if ac_fn_cxx_try_compile "$LINENO"; then :
47055 glibcxx_cv_func__sincos_use=yes
47056 else
47057 glibcxx_cv_func__sincos_use=no
47059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47060 ac_ext=c
47061 ac_cpp='$CPP $CPPFLAGS'
47062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
47071 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
47073 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
47074 for ac_func in _sincos
47075 do :
47076 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
47077 if test "x$ac_cv_func__sincos" = x""yes; then :
47078 cat >>confdefs.h <<_ACEOF
47079 #define HAVE__SINCOS 1
47080 _ACEOF
47083 done
47092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
47093 $as_echo_n "checking for fpclass declaration... " >&6; }
47094 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
47095 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
47096 $as_echo_n "(cached) " >&6
47097 else
47100 ac_ext=cpp
47101 ac_cpp='$CXXCPP $CPPFLAGS'
47102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47107 /* end confdefs.h. */
47108 #include <math.h>
47109 #ifdef HAVE_IEEEFP_H
47110 #include <ieeefp.h>
47111 #endif
47114 main ()
47116 fpclass(0);
47118 return 0;
47120 _ACEOF
47121 if ac_fn_cxx_try_compile "$LINENO"; then :
47122 glibcxx_cv_func_fpclass_use=yes
47123 else
47124 glibcxx_cv_func_fpclass_use=no
47126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47127 ac_ext=c
47128 ac_cpp='$CPP $CPPFLAGS'
47129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
47138 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
47140 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
47141 for ac_func in fpclass
47142 do :
47143 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
47144 if test "x$ac_cv_func_fpclass" = x""yes; then :
47145 cat >>confdefs.h <<_ACEOF
47146 #define HAVE_FPCLASS 1
47147 _ACEOF
47150 done
47152 else
47154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
47155 $as_echo_n "checking for _fpclass declaration... " >&6; }
47156 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
47157 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
47158 $as_echo_n "(cached) " >&6
47159 else
47162 ac_ext=cpp
47163 ac_cpp='$CXXCPP $CPPFLAGS'
47164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47169 /* end confdefs.h. */
47170 #include <math.h>
47171 #ifdef HAVE_IEEEFP_H
47172 #include <ieeefp.h>
47173 #endif
47176 main ()
47178 _fpclass(0);
47180 return 0;
47182 _ACEOF
47183 if ac_fn_cxx_try_compile "$LINENO"; then :
47184 glibcxx_cv_func__fpclass_use=yes
47185 else
47186 glibcxx_cv_func__fpclass_use=no
47188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47189 ac_ext=c
47190 ac_cpp='$CPP $CPPFLAGS'
47191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
47200 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
47202 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
47203 for ac_func in _fpclass
47204 do :
47205 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
47206 if test "x$ac_cv_func__fpclass" = x""yes; then :
47207 cat >>confdefs.h <<_ACEOF
47208 #define HAVE__FPCLASS 1
47209 _ACEOF
47212 done
47221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
47222 $as_echo_n "checking for qfpclass declaration... " >&6; }
47223 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
47224 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
47225 $as_echo_n "(cached) " >&6
47226 else
47229 ac_ext=cpp
47230 ac_cpp='$CXXCPP $CPPFLAGS'
47231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47236 /* end confdefs.h. */
47237 #include <math.h>
47238 #ifdef HAVE_IEEEFP_H
47239 #include <ieeefp.h>
47240 #endif
47243 main ()
47245 qfpclass(0);
47247 return 0;
47249 _ACEOF
47250 if ac_fn_cxx_try_compile "$LINENO"; then :
47251 glibcxx_cv_func_qfpclass_use=yes
47252 else
47253 glibcxx_cv_func_qfpclass_use=no
47255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47256 ac_ext=c
47257 ac_cpp='$CPP $CPPFLAGS'
47258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
47267 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
47269 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
47270 for ac_func in qfpclass
47271 do :
47272 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
47273 if test "x$ac_cv_func_qfpclass" = x""yes; then :
47274 cat >>confdefs.h <<_ACEOF
47275 #define HAVE_QFPCLASS 1
47276 _ACEOF
47279 done
47281 else
47283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
47284 $as_echo_n "checking for _qfpclass declaration... " >&6; }
47285 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
47286 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
47287 $as_echo_n "(cached) " >&6
47288 else
47291 ac_ext=cpp
47292 ac_cpp='$CXXCPP $CPPFLAGS'
47293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47298 /* end confdefs.h. */
47299 #include <math.h>
47300 #ifdef HAVE_IEEEFP_H
47301 #include <ieeefp.h>
47302 #endif
47305 main ()
47307 _qfpclass(0);
47309 return 0;
47311 _ACEOF
47312 if ac_fn_cxx_try_compile "$LINENO"; then :
47313 glibcxx_cv_func__qfpclass_use=yes
47314 else
47315 glibcxx_cv_func__qfpclass_use=no
47317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47318 ac_ext=c
47319 ac_cpp='$CPP $CPPFLAGS'
47320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
47329 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
47331 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
47332 for ac_func in _qfpclass
47333 do :
47334 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
47335 if test "x$ac_cv_func__qfpclass" = x""yes; then :
47336 cat >>confdefs.h <<_ACEOF
47337 #define HAVE__QFPCLASS 1
47338 _ACEOF
47341 done
47350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
47351 $as_echo_n "checking for hypot declaration... " >&6; }
47352 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
47353 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
47354 $as_echo_n "(cached) " >&6
47355 else
47358 ac_ext=cpp
47359 ac_cpp='$CXXCPP $CPPFLAGS'
47360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47365 /* end confdefs.h. */
47366 #include <math.h>
47368 main ()
47370 hypot(0, 0);
47372 return 0;
47374 _ACEOF
47375 if ac_fn_cxx_try_compile "$LINENO"; then :
47376 glibcxx_cv_func_hypot_use=yes
47377 else
47378 glibcxx_cv_func_hypot_use=no
47380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47381 ac_ext=c
47382 ac_cpp='$CPP $CPPFLAGS'
47383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
47392 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
47394 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
47395 for ac_func in hypot
47396 do :
47397 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
47398 if test "x$ac_cv_func_hypot" = x""yes; then :
47399 cat >>confdefs.h <<_ACEOF
47400 #define HAVE_HYPOT 1
47401 _ACEOF
47404 done
47406 else
47408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
47409 $as_echo_n "checking for _hypot declaration... " >&6; }
47410 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
47411 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
47412 $as_echo_n "(cached) " >&6
47413 else
47416 ac_ext=cpp
47417 ac_cpp='$CXXCPP $CPPFLAGS'
47418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47423 /* end confdefs.h. */
47424 #include <math.h>
47426 main ()
47428 _hypot(0, 0);
47430 return 0;
47432 _ACEOF
47433 if ac_fn_cxx_try_compile "$LINENO"; then :
47434 glibcxx_cv_func__hypot_use=yes
47435 else
47436 glibcxx_cv_func__hypot_use=no
47438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47439 ac_ext=c
47440 ac_cpp='$CPP $CPPFLAGS'
47441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
47450 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
47452 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
47453 for ac_func in _hypot
47454 do :
47455 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
47456 if test "x$ac_cv_func__hypot" = x""yes; then :
47457 cat >>confdefs.h <<_ACEOF
47458 #define HAVE__HYPOT 1
47459 _ACEOF
47462 done
47471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
47472 $as_echo_n "checking for float trig functions... " >&6; }
47473 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
47474 $as_echo_n "(cached) " >&6
47475 else
47478 ac_ext=cpp
47479 ac_cpp='$CXXCPP $CPPFLAGS'
47480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47485 /* end confdefs.h. */
47486 #include <math.h>
47488 main ()
47490 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47492 return 0;
47494 _ACEOF
47495 if ac_fn_cxx_try_compile "$LINENO"; then :
47496 glibcxx_cv_func_float_trig_use=yes
47497 else
47498 glibcxx_cv_func_float_trig_use=no
47500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47501 ac_ext=c
47502 ac_cpp='$CPP $CPPFLAGS'
47503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
47510 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
47511 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47512 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47513 do :
47514 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47515 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47516 eval as_val=\$$as_ac_var
47517 if test "x$as_val" = x""yes; then :
47518 cat >>confdefs.h <<_ACEOF
47519 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47520 _ACEOF
47523 done
47525 else
47526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
47527 $as_echo_n "checking for _float trig functions... " >&6; }
47528 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
47529 $as_echo_n "(cached) " >&6
47530 else
47533 ac_ext=cpp
47534 ac_cpp='$CXXCPP $CPPFLAGS'
47535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47540 /* end confdefs.h. */
47541 #include <math.h>
47543 main ()
47545 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47547 return 0;
47549 _ACEOF
47550 if ac_fn_cxx_try_compile "$LINENO"; then :
47551 glibcxx_cv_func__float_trig_use=yes
47552 else
47553 glibcxx_cv_func__float_trig_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
47564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
47565 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
47566 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47567 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47568 do :
47569 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47570 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47571 eval as_val=\$$as_ac_var
47572 if test "x$as_val" = x""yes; then :
47573 cat >>confdefs.h <<_ACEOF
47574 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47575 _ACEOF
47578 done
47587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
47588 $as_echo_n "checking for float round functions... " >&6; }
47589 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
47590 $as_echo_n "(cached) " >&6
47591 else
47594 ac_ext=cpp
47595 ac_cpp='$CXXCPP $CPPFLAGS'
47596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47601 /* end confdefs.h. */
47602 #include <math.h>
47604 main ()
47606 ceilf (0); floorf (0);
47608 return 0;
47610 _ACEOF
47611 if ac_fn_cxx_try_compile "$LINENO"; then :
47612 glibcxx_cv_func_float_round_use=yes
47613 else
47614 glibcxx_cv_func_float_round_use=no
47616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47617 ac_ext=c
47618 ac_cpp='$CPP $CPPFLAGS'
47619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
47626 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
47627 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47628 for ac_func in ceilf floorf
47629 do :
47630 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47631 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47632 eval as_val=\$$as_ac_var
47633 if test "x$as_val" = x""yes; then :
47634 cat >>confdefs.h <<_ACEOF
47635 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47636 _ACEOF
47639 done
47641 else
47642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
47643 $as_echo_n "checking for _float round functions... " >&6; }
47644 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
47645 $as_echo_n "(cached) " >&6
47646 else
47649 ac_ext=cpp
47650 ac_cpp='$CXXCPP $CPPFLAGS'
47651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47656 /* end confdefs.h. */
47657 #include <math.h>
47659 main ()
47661 _ceilf (0); _floorf (0);
47663 return 0;
47665 _ACEOF
47666 if ac_fn_cxx_try_compile "$LINENO"; then :
47667 glibcxx_cv_func__float_round_use=yes
47668 else
47669 glibcxx_cv_func__float_round_use=no
47671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47672 ac_ext=c
47673 ac_cpp='$CPP $CPPFLAGS'
47674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
47681 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
47682 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47683 for ac_func in _ceilf _floorf
47684 do :
47685 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47686 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47687 eval as_val=\$$as_ac_var
47688 if test "x$as_val" = x""yes; then :
47689 cat >>confdefs.h <<_ACEOF
47690 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47691 _ACEOF
47694 done
47704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
47705 $as_echo_n "checking for expf declaration... " >&6; }
47706 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47707 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
47708 $as_echo_n "(cached) " >&6
47709 else
47712 ac_ext=cpp
47713 ac_cpp='$CXXCPP $CPPFLAGS'
47714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47719 /* end confdefs.h. */
47720 #include <math.h>
47721 #ifdef HAVE_IEEEFP_H
47722 #include <ieeefp.h>
47723 #endif
47726 main ()
47728 expf(0);
47730 return 0;
47732 _ACEOF
47733 if ac_fn_cxx_try_compile "$LINENO"; then :
47734 glibcxx_cv_func_expf_use=yes
47735 else
47736 glibcxx_cv_func_expf_use=no
47738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47739 ac_ext=c
47740 ac_cpp='$CPP $CPPFLAGS'
47741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
47750 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
47752 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47753 for ac_func in expf
47754 do :
47755 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
47756 if test "x$ac_cv_func_expf" = x""yes; then :
47757 cat >>confdefs.h <<_ACEOF
47758 #define HAVE_EXPF 1
47759 _ACEOF
47762 done
47764 else
47766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
47767 $as_echo_n "checking for _expf declaration... " >&6; }
47768 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47769 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
47770 $as_echo_n "(cached) " >&6
47771 else
47774 ac_ext=cpp
47775 ac_cpp='$CXXCPP $CPPFLAGS'
47776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47781 /* end confdefs.h. */
47782 #include <math.h>
47783 #ifdef HAVE_IEEEFP_H
47784 #include <ieeefp.h>
47785 #endif
47788 main ()
47790 _expf(0);
47792 return 0;
47794 _ACEOF
47795 if ac_fn_cxx_try_compile "$LINENO"; then :
47796 glibcxx_cv_func__expf_use=yes
47797 else
47798 glibcxx_cv_func__expf_use=no
47800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47801 ac_ext=c
47802 ac_cpp='$CPP $CPPFLAGS'
47803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
47812 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47814 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47815 for ac_func in _expf
47816 do :
47817 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47818 if test "x$ac_cv_func__expf" = x""yes; then :
47819 cat >>confdefs.h <<_ACEOF
47820 #define HAVE__EXPF 1
47821 _ACEOF
47824 done
47833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47834 $as_echo_n "checking for isnanf declaration... " >&6; }
47835 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47836 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47837 $as_echo_n "(cached) " >&6
47838 else
47841 ac_ext=cpp
47842 ac_cpp='$CXXCPP $CPPFLAGS'
47843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47848 /* end confdefs.h. */
47849 #include <math.h>
47850 #ifdef HAVE_IEEEFP_H
47851 #include <ieeefp.h>
47852 #endif
47855 main ()
47857 isnanf(0);
47859 return 0;
47861 _ACEOF
47862 if ac_fn_cxx_try_compile "$LINENO"; then :
47863 glibcxx_cv_func_isnanf_use=yes
47864 else
47865 glibcxx_cv_func_isnanf_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_isnanf_use" >&5
47879 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47881 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47882 for ac_func in isnanf
47883 do :
47884 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47885 if test "x$ac_cv_func_isnanf" = x""yes; then :
47886 cat >>confdefs.h <<_ACEOF
47887 #define HAVE_ISNANF 1
47888 _ACEOF
47891 done
47893 else
47895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47896 $as_echo_n "checking for _isnanf declaration... " >&6; }
47897 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47898 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47899 $as_echo_n "(cached) " >&6
47900 else
47903 ac_ext=cpp
47904 ac_cpp='$CXXCPP $CPPFLAGS'
47905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47910 /* end confdefs.h. */
47911 #include <math.h>
47912 #ifdef HAVE_IEEEFP_H
47913 #include <ieeefp.h>
47914 #endif
47917 main ()
47919 _isnanf(0);
47921 return 0;
47923 _ACEOF
47924 if ac_fn_cxx_try_compile "$LINENO"; then :
47925 glibcxx_cv_func__isnanf_use=yes
47926 else
47927 glibcxx_cv_func__isnanf_use=no
47929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47930 ac_ext=c
47931 ac_cpp='$CPP $CPPFLAGS'
47932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47941 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47943 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47944 for ac_func in _isnanf
47945 do :
47946 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47947 if test "x$ac_cv_func__isnanf" = x""yes; then :
47948 cat >>confdefs.h <<_ACEOF
47949 #define HAVE__ISNANF 1
47950 _ACEOF
47953 done
47962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47963 $as_echo_n "checking for isinff declaration... " >&6; }
47964 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47965 if test "${glibcxx_cv_func_isinff_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 isinff(0);
47988 return 0;
47990 _ACEOF
47991 if ac_fn_cxx_try_compile "$LINENO"; then :
47992 glibcxx_cv_func_isinff_use=yes
47993 else
47994 glibcxx_cv_func_isinff_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_isinff_use" >&5
48008 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
48010 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
48011 for ac_func in isinff
48012 do :
48013 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
48014 if test "x$ac_cv_func_isinff" = x""yes; then :
48015 cat >>confdefs.h <<_ACEOF
48016 #define HAVE_ISINFF 1
48017 _ACEOF
48020 done
48022 else
48024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
48025 $as_echo_n "checking for _isinff declaration... " >&6; }
48026 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48027 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
48028 $as_echo_n "(cached) " >&6
48029 else
48032 ac_ext=cpp
48033 ac_cpp='$CXXCPP $CPPFLAGS'
48034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48039 /* end confdefs.h. */
48040 #include <math.h>
48041 #ifdef HAVE_IEEEFP_H
48042 #include <ieeefp.h>
48043 #endif
48046 main ()
48048 _isinff(0);
48050 return 0;
48052 _ACEOF
48053 if ac_fn_cxx_try_compile "$LINENO"; then :
48054 glibcxx_cv_func__isinff_use=yes
48055 else
48056 glibcxx_cv_func__isinff_use=no
48058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48059 ac_ext=c
48060 ac_cpp='$CPP $CPPFLAGS'
48061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
48070 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
48072 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48073 for ac_func in _isinff
48074 do :
48075 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
48076 if test "x$ac_cv_func__isinff" = x""yes; then :
48077 cat >>confdefs.h <<_ACEOF
48078 #define HAVE__ISINFF 1
48079 _ACEOF
48082 done
48091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
48092 $as_echo_n "checking for atan2f declaration... " >&6; }
48093 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48094 if test "${glibcxx_cv_func_atan2f_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>
48109 main ()
48111 atan2f(0, 0);
48113 return 0;
48115 _ACEOF
48116 if ac_fn_cxx_try_compile "$LINENO"; then :
48117 glibcxx_cv_func_atan2f_use=yes
48118 else
48119 glibcxx_cv_func_atan2f_use=no
48121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48122 ac_ext=c
48123 ac_cpp='$CPP $CPPFLAGS'
48124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
48133 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
48135 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48136 for ac_func in atan2f
48137 do :
48138 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
48139 if test "x$ac_cv_func_atan2f" = x""yes; then :
48140 cat >>confdefs.h <<_ACEOF
48141 #define HAVE_ATAN2F 1
48142 _ACEOF
48145 done
48147 else
48149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
48150 $as_echo_n "checking for _atan2f declaration... " >&6; }
48151 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48152 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
48153 $as_echo_n "(cached) " >&6
48154 else
48157 ac_ext=cpp
48158 ac_cpp='$CXXCPP $CPPFLAGS'
48159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48164 /* end confdefs.h. */
48165 #include <math.h>
48167 main ()
48169 _atan2f(0, 0);
48171 return 0;
48173 _ACEOF
48174 if ac_fn_cxx_try_compile "$LINENO"; then :
48175 glibcxx_cv_func__atan2f_use=yes
48176 else
48177 glibcxx_cv_func__atan2f_use=no
48179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48180 ac_ext=c
48181 ac_cpp='$CPP $CPPFLAGS'
48182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
48191 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
48193 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48194 for ac_func in _atan2f
48195 do :
48196 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
48197 if test "x$ac_cv_func__atan2f" = x""yes; then :
48198 cat >>confdefs.h <<_ACEOF
48199 #define HAVE__ATAN2F 1
48200 _ACEOF
48203 done
48212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
48213 $as_echo_n "checking for fabsf declaration... " >&6; }
48214 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48215 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
48216 $as_echo_n "(cached) " >&6
48217 else
48220 ac_ext=cpp
48221 ac_cpp='$CXXCPP $CPPFLAGS'
48222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48227 /* end confdefs.h. */
48228 #include <math.h>
48229 #ifdef HAVE_IEEEFP_H
48230 #include <ieeefp.h>
48231 #endif
48234 main ()
48236 fabsf(0);
48238 return 0;
48240 _ACEOF
48241 if ac_fn_cxx_try_compile "$LINENO"; then :
48242 glibcxx_cv_func_fabsf_use=yes
48243 else
48244 glibcxx_cv_func_fabsf_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_fabsf_use" >&5
48258 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
48260 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48261 for ac_func in fabsf
48262 do :
48263 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
48264 if test "x$ac_cv_func_fabsf" = x""yes; then :
48265 cat >>confdefs.h <<_ACEOF
48266 #define HAVE_FABSF 1
48267 _ACEOF
48270 done
48272 else
48274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
48275 $as_echo_n "checking for _fabsf declaration... " >&6; }
48276 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48277 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
48278 $as_echo_n "(cached) " >&6
48279 else
48282 ac_ext=cpp
48283 ac_cpp='$CXXCPP $CPPFLAGS'
48284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48289 /* end confdefs.h. */
48290 #include <math.h>
48291 #ifdef HAVE_IEEEFP_H
48292 #include <ieeefp.h>
48293 #endif
48296 main ()
48298 _fabsf(0);
48300 return 0;
48302 _ACEOF
48303 if ac_fn_cxx_try_compile "$LINENO"; then :
48304 glibcxx_cv_func__fabsf_use=yes
48305 else
48306 glibcxx_cv_func__fabsf_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
48319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
48320 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
48322 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48323 for ac_func in _fabsf
48324 do :
48325 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
48326 if test "x$ac_cv_func__fabsf" = x""yes; then :
48327 cat >>confdefs.h <<_ACEOF
48328 #define HAVE__FABSF 1
48329 _ACEOF
48332 done
48341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
48342 $as_echo_n "checking for fmodf declaration... " >&6; }
48343 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
48344 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
48345 $as_echo_n "(cached) " >&6
48346 else
48349 ac_ext=cpp
48350 ac_cpp='$CXXCPP $CPPFLAGS'
48351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48356 /* end confdefs.h. */
48357 #include <math.h>
48359 main ()
48361 fmodf(0, 0);
48363 return 0;
48365 _ACEOF
48366 if ac_fn_cxx_try_compile "$LINENO"; then :
48367 glibcxx_cv_func_fmodf_use=yes
48368 else
48369 glibcxx_cv_func_fmodf_use=no
48371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48372 ac_ext=c
48373 ac_cpp='$CPP $CPPFLAGS'
48374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
48383 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
48385 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
48386 for ac_func in fmodf
48387 do :
48388 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
48389 if test "x$ac_cv_func_fmodf" = x""yes; then :
48390 cat >>confdefs.h <<_ACEOF
48391 #define HAVE_FMODF 1
48392 _ACEOF
48395 done
48397 else
48399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
48400 $as_echo_n "checking for _fmodf declaration... " >&6; }
48401 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
48402 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
48403 $as_echo_n "(cached) " >&6
48404 else
48407 ac_ext=cpp
48408 ac_cpp='$CXXCPP $CPPFLAGS'
48409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48414 /* end confdefs.h. */
48415 #include <math.h>
48417 main ()
48419 _fmodf(0, 0);
48421 return 0;
48423 _ACEOF
48424 if ac_fn_cxx_try_compile "$LINENO"; then :
48425 glibcxx_cv_func__fmodf_use=yes
48426 else
48427 glibcxx_cv_func__fmodf_use=no
48429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48430 ac_ext=c
48431 ac_cpp='$CPP $CPPFLAGS'
48432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
48441 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
48443 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
48444 for ac_func in _fmodf
48445 do :
48446 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
48447 if test "x$ac_cv_func__fmodf" = x""yes; then :
48448 cat >>confdefs.h <<_ACEOF
48449 #define HAVE__FMODF 1
48450 _ACEOF
48453 done
48462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
48463 $as_echo_n "checking for frexpf declaration... " >&6; }
48464 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48465 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
48466 $as_echo_n "(cached) " >&6
48467 else
48470 ac_ext=cpp
48471 ac_cpp='$CXXCPP $CPPFLAGS'
48472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48477 /* end confdefs.h. */
48478 #include <math.h>
48480 main ()
48482 frexpf(0, 0);
48484 return 0;
48486 _ACEOF
48487 if ac_fn_cxx_try_compile "$LINENO"; then :
48488 glibcxx_cv_func_frexpf_use=yes
48489 else
48490 glibcxx_cv_func_frexpf_use=no
48492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48493 ac_ext=c
48494 ac_cpp='$CPP $CPPFLAGS'
48495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
48504 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
48506 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48507 for ac_func in frexpf
48508 do :
48509 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
48510 if test "x$ac_cv_func_frexpf" = x""yes; then :
48511 cat >>confdefs.h <<_ACEOF
48512 #define HAVE_FREXPF 1
48513 _ACEOF
48516 done
48518 else
48520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
48521 $as_echo_n "checking for _frexpf declaration... " >&6; }
48522 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48523 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
48524 $as_echo_n "(cached) " >&6
48525 else
48528 ac_ext=cpp
48529 ac_cpp='$CXXCPP $CPPFLAGS'
48530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48535 /* end confdefs.h. */
48536 #include <math.h>
48538 main ()
48540 _frexpf(0, 0);
48542 return 0;
48544 _ACEOF
48545 if ac_fn_cxx_try_compile "$LINENO"; then :
48546 glibcxx_cv_func__frexpf_use=yes
48547 else
48548 glibcxx_cv_func__frexpf_use=no
48550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48551 ac_ext=c
48552 ac_cpp='$CPP $CPPFLAGS'
48553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
48562 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
48564 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48565 for ac_func in _frexpf
48566 do :
48567 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
48568 if test "x$ac_cv_func__frexpf" = x""yes; then :
48569 cat >>confdefs.h <<_ACEOF
48570 #define HAVE__FREXPF 1
48571 _ACEOF
48574 done
48583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
48584 $as_echo_n "checking for hypotf declaration... " >&6; }
48585 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48586 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
48587 $as_echo_n "(cached) " >&6
48588 else
48591 ac_ext=cpp
48592 ac_cpp='$CXXCPP $CPPFLAGS'
48593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48598 /* end confdefs.h. */
48599 #include <math.h>
48601 main ()
48603 hypotf(0, 0);
48605 return 0;
48607 _ACEOF
48608 if ac_fn_cxx_try_compile "$LINENO"; then :
48609 glibcxx_cv_func_hypotf_use=yes
48610 else
48611 glibcxx_cv_func_hypotf_use=no
48613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48614 ac_ext=c
48615 ac_cpp='$CPP $CPPFLAGS'
48616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
48625 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
48627 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48628 for ac_func in hypotf
48629 do :
48630 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
48631 if test "x$ac_cv_func_hypotf" = x""yes; then :
48632 cat >>confdefs.h <<_ACEOF
48633 #define HAVE_HYPOTF 1
48634 _ACEOF
48637 done
48639 else
48641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
48642 $as_echo_n "checking for _hypotf declaration... " >&6; }
48643 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48644 if test "${glibcxx_cv_func__hypotf_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>
48659 main ()
48661 _hypotf(0, 0);
48663 return 0;
48665 _ACEOF
48666 if ac_fn_cxx_try_compile "$LINENO"; then :
48667 glibcxx_cv_func__hypotf_use=yes
48668 else
48669 glibcxx_cv_func__hypotf_use=no
48671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48672 ac_ext=c
48673 ac_cpp='$CPP $CPPFLAGS'
48674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
48683 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
48685 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48686 for ac_func in _hypotf
48687 do :
48688 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
48689 if test "x$ac_cv_func__hypotf" = x""yes; then :
48690 cat >>confdefs.h <<_ACEOF
48691 #define HAVE__HYPOTF 1
48692 _ACEOF
48695 done
48704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
48705 $as_echo_n "checking for ldexpf declaration... " >&6; }
48706 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48707 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
48708 $as_echo_n "(cached) " >&6
48709 else
48712 ac_ext=cpp
48713 ac_cpp='$CXXCPP $CPPFLAGS'
48714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48719 /* end confdefs.h. */
48720 #include <math.h>
48722 main ()
48724 ldexpf(0, 0);
48726 return 0;
48728 _ACEOF
48729 if ac_fn_cxx_try_compile "$LINENO"; then :
48730 glibcxx_cv_func_ldexpf_use=yes
48731 else
48732 glibcxx_cv_func_ldexpf_use=no
48734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48735 ac_ext=c
48736 ac_cpp='$CPP $CPPFLAGS'
48737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
48746 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
48748 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48749 for ac_func in ldexpf
48750 do :
48751 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
48752 if test "x$ac_cv_func_ldexpf" = x""yes; then :
48753 cat >>confdefs.h <<_ACEOF
48754 #define HAVE_LDEXPF 1
48755 _ACEOF
48758 done
48760 else
48762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
48763 $as_echo_n "checking for _ldexpf declaration... " >&6; }
48764 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48765 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
48766 $as_echo_n "(cached) " >&6
48767 else
48770 ac_ext=cpp
48771 ac_cpp='$CXXCPP $CPPFLAGS'
48772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48777 /* end confdefs.h. */
48778 #include <math.h>
48780 main ()
48782 _ldexpf(0, 0);
48784 return 0;
48786 _ACEOF
48787 if ac_fn_cxx_try_compile "$LINENO"; then :
48788 glibcxx_cv_func__ldexpf_use=yes
48789 else
48790 glibcxx_cv_func__ldexpf_use=no
48792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48793 ac_ext=c
48794 ac_cpp='$CPP $CPPFLAGS'
48795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
48804 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
48806 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48807 for ac_func in _ldexpf
48808 do :
48809 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
48810 if test "x$ac_cv_func__ldexpf" = x""yes; then :
48811 cat >>confdefs.h <<_ACEOF
48812 #define HAVE__LDEXPF 1
48813 _ACEOF
48816 done
48825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48826 $as_echo_n "checking for logf declaration... " >&6; }
48827 if test x${glibcxx_cv_func_logf_use+set} != xset; then
48828 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48829 $as_echo_n "(cached) " >&6
48830 else
48833 ac_ext=cpp
48834 ac_cpp='$CXXCPP $CPPFLAGS'
48835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48840 /* end confdefs.h. */
48841 #include <math.h>
48842 #ifdef HAVE_IEEEFP_H
48843 #include <ieeefp.h>
48844 #endif
48847 main ()
48849 logf(0);
48851 return 0;
48853 _ACEOF
48854 if ac_fn_cxx_try_compile "$LINENO"; then :
48855 glibcxx_cv_func_logf_use=yes
48856 else
48857 glibcxx_cv_func_logf_use=no
48859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48860 ac_ext=c
48861 ac_cpp='$CPP $CPPFLAGS'
48862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48871 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48873 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48874 for ac_func in logf
48875 do :
48876 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48877 if test "x$ac_cv_func_logf" = x""yes; then :
48878 cat >>confdefs.h <<_ACEOF
48879 #define HAVE_LOGF 1
48880 _ACEOF
48883 done
48885 else
48887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48888 $as_echo_n "checking for _logf declaration... " >&6; }
48889 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48890 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48891 $as_echo_n "(cached) " >&6
48892 else
48895 ac_ext=cpp
48896 ac_cpp='$CXXCPP $CPPFLAGS'
48897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48902 /* end confdefs.h. */
48903 #include <math.h>
48904 #ifdef HAVE_IEEEFP_H
48905 #include <ieeefp.h>
48906 #endif
48909 main ()
48911 _logf(0);
48913 return 0;
48915 _ACEOF
48916 if ac_fn_cxx_try_compile "$LINENO"; then :
48917 glibcxx_cv_func__logf_use=yes
48918 else
48919 glibcxx_cv_func__logf_use=no
48921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48922 ac_ext=c
48923 ac_cpp='$CPP $CPPFLAGS'
48924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48933 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48935 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48936 for ac_func in _logf
48937 do :
48938 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48939 if test "x$ac_cv_func__logf" = x""yes; then :
48940 cat >>confdefs.h <<_ACEOF
48941 #define HAVE__LOGF 1
48942 _ACEOF
48945 done
48954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48955 $as_echo_n "checking for log10f declaration... " >&6; }
48956 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48957 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48958 $as_echo_n "(cached) " >&6
48959 else
48962 ac_ext=cpp
48963 ac_cpp='$CXXCPP $CPPFLAGS'
48964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48969 /* end confdefs.h. */
48970 #include <math.h>
48971 #ifdef HAVE_IEEEFP_H
48972 #include <ieeefp.h>
48973 #endif
48976 main ()
48978 log10f(0);
48980 return 0;
48982 _ACEOF
48983 if ac_fn_cxx_try_compile "$LINENO"; then :
48984 glibcxx_cv_func_log10f_use=yes
48985 else
48986 glibcxx_cv_func_log10f_use=no
48988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48989 ac_ext=c
48990 ac_cpp='$CPP $CPPFLAGS'
48991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
49000 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
49002 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
49003 for ac_func in log10f
49004 do :
49005 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
49006 if test "x$ac_cv_func_log10f" = x""yes; then :
49007 cat >>confdefs.h <<_ACEOF
49008 #define HAVE_LOG10F 1
49009 _ACEOF
49012 done
49014 else
49016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
49017 $as_echo_n "checking for _log10f declaration... " >&6; }
49018 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
49019 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
49020 $as_echo_n "(cached) " >&6
49021 else
49024 ac_ext=cpp
49025 ac_cpp='$CXXCPP $CPPFLAGS'
49026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49031 /* end confdefs.h. */
49032 #include <math.h>
49033 #ifdef HAVE_IEEEFP_H
49034 #include <ieeefp.h>
49035 #endif
49038 main ()
49040 _log10f(0);
49042 return 0;
49044 _ACEOF
49045 if ac_fn_cxx_try_compile "$LINENO"; then :
49046 glibcxx_cv_func__log10f_use=yes
49047 else
49048 glibcxx_cv_func__log10f_use=no
49050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49051 ac_ext=c
49052 ac_cpp='$CPP $CPPFLAGS'
49053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
49062 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
49064 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
49065 for ac_func in _log10f
49066 do :
49067 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
49068 if test "x$ac_cv_func__log10f" = x""yes; then :
49069 cat >>confdefs.h <<_ACEOF
49070 #define HAVE__LOG10F 1
49071 _ACEOF
49074 done
49083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
49084 $as_echo_n "checking for modff declaration... " >&6; }
49085 if test x${glibcxx_cv_func_modff_use+set} != xset; then
49086 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
49087 $as_echo_n "(cached) " >&6
49088 else
49091 ac_ext=cpp
49092 ac_cpp='$CXXCPP $CPPFLAGS'
49093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49098 /* end confdefs.h. */
49099 #include <math.h>
49101 main ()
49103 modff(0, 0);
49105 return 0;
49107 _ACEOF
49108 if ac_fn_cxx_try_compile "$LINENO"; then :
49109 glibcxx_cv_func_modff_use=yes
49110 else
49111 glibcxx_cv_func_modff_use=no
49113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49114 ac_ext=c
49115 ac_cpp='$CPP $CPPFLAGS'
49116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
49125 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
49127 if test x$glibcxx_cv_func_modff_use = x"yes"; then
49128 for ac_func in modff
49129 do :
49130 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
49131 if test "x$ac_cv_func_modff" = x""yes; then :
49132 cat >>confdefs.h <<_ACEOF
49133 #define HAVE_MODFF 1
49134 _ACEOF
49137 done
49139 else
49141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
49142 $as_echo_n "checking for _modff declaration... " >&6; }
49143 if test x${glibcxx_cv_func__modff_use+set} != xset; then
49144 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
49145 $as_echo_n "(cached) " >&6
49146 else
49149 ac_ext=cpp
49150 ac_cpp='$CXXCPP $CPPFLAGS'
49151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49156 /* end confdefs.h. */
49157 #include <math.h>
49159 main ()
49161 _modff(0, 0);
49163 return 0;
49165 _ACEOF
49166 if ac_fn_cxx_try_compile "$LINENO"; then :
49167 glibcxx_cv_func__modff_use=yes
49168 else
49169 glibcxx_cv_func__modff_use=no
49171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49172 ac_ext=c
49173 ac_cpp='$CPP $CPPFLAGS'
49174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
49183 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
49185 if test x$glibcxx_cv_func__modff_use = x"yes"; then
49186 for ac_func in _modff
49187 do :
49188 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
49189 if test "x$ac_cv_func__modff" = x""yes; then :
49190 cat >>confdefs.h <<_ACEOF
49191 #define HAVE__MODFF 1
49192 _ACEOF
49195 done
49204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
49205 $as_echo_n "checking for modf declaration... " >&6; }
49206 if test x${glibcxx_cv_func_modf_use+set} != xset; then
49207 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
49208 $as_echo_n "(cached) " >&6
49209 else
49212 ac_ext=cpp
49213 ac_cpp='$CXXCPP $CPPFLAGS'
49214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49219 /* end confdefs.h. */
49220 #include <math.h>
49222 main ()
49224 modf(0, 0);
49226 return 0;
49228 _ACEOF
49229 if ac_fn_cxx_try_compile "$LINENO"; then :
49230 glibcxx_cv_func_modf_use=yes
49231 else
49232 glibcxx_cv_func_modf_use=no
49234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49235 ac_ext=c
49236 ac_cpp='$CPP $CPPFLAGS'
49237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
49246 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
49248 if test x$glibcxx_cv_func_modf_use = x"yes"; then
49249 for ac_func in modf
49250 do :
49251 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
49252 if test "x$ac_cv_func_modf" = x""yes; then :
49253 cat >>confdefs.h <<_ACEOF
49254 #define HAVE_MODF 1
49255 _ACEOF
49258 done
49260 else
49262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
49263 $as_echo_n "checking for _modf declaration... " >&6; }
49264 if test x${glibcxx_cv_func__modf_use+set} != xset; then
49265 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
49266 $as_echo_n "(cached) " >&6
49267 else
49270 ac_ext=cpp
49271 ac_cpp='$CXXCPP $CPPFLAGS'
49272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49277 /* end confdefs.h. */
49278 #include <math.h>
49280 main ()
49282 _modf(0, 0);
49284 return 0;
49286 _ACEOF
49287 if ac_fn_cxx_try_compile "$LINENO"; then :
49288 glibcxx_cv_func__modf_use=yes
49289 else
49290 glibcxx_cv_func__modf_use=no
49292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49293 ac_ext=c
49294 ac_cpp='$CPP $CPPFLAGS'
49295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
49304 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
49306 if test x$glibcxx_cv_func__modf_use = x"yes"; then
49307 for ac_func in _modf
49308 do :
49309 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
49310 if test "x$ac_cv_func__modf" = x""yes; then :
49311 cat >>confdefs.h <<_ACEOF
49312 #define HAVE__MODF 1
49313 _ACEOF
49316 done
49325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
49326 $as_echo_n "checking for powf declaration... " >&6; }
49327 if test x${glibcxx_cv_func_powf_use+set} != xset; then
49328 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
49329 $as_echo_n "(cached) " >&6
49330 else
49333 ac_ext=cpp
49334 ac_cpp='$CXXCPP $CPPFLAGS'
49335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49340 /* end confdefs.h. */
49341 #include <math.h>
49343 main ()
49345 powf(0, 0);
49347 return 0;
49349 _ACEOF
49350 if ac_fn_cxx_try_compile "$LINENO"; then :
49351 glibcxx_cv_func_powf_use=yes
49352 else
49353 glibcxx_cv_func_powf_use=no
49355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49356 ac_ext=c
49357 ac_cpp='$CPP $CPPFLAGS'
49358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
49367 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
49369 if test x$glibcxx_cv_func_powf_use = x"yes"; then
49370 for ac_func in powf
49371 do :
49372 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
49373 if test "x$ac_cv_func_powf" = x""yes; then :
49374 cat >>confdefs.h <<_ACEOF
49375 #define HAVE_POWF 1
49376 _ACEOF
49379 done
49381 else
49383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
49384 $as_echo_n "checking for _powf declaration... " >&6; }
49385 if test x${glibcxx_cv_func__powf_use+set} != xset; then
49386 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
49387 $as_echo_n "(cached) " >&6
49388 else
49391 ac_ext=cpp
49392 ac_cpp='$CXXCPP $CPPFLAGS'
49393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49398 /* end confdefs.h. */
49399 #include <math.h>
49401 main ()
49403 _powf(0, 0);
49405 return 0;
49407 _ACEOF
49408 if ac_fn_cxx_try_compile "$LINENO"; then :
49409 glibcxx_cv_func__powf_use=yes
49410 else
49411 glibcxx_cv_func__powf_use=no
49413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49414 ac_ext=c
49415 ac_cpp='$CPP $CPPFLAGS'
49416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
49425 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
49427 if test x$glibcxx_cv_func__powf_use = x"yes"; then
49428 for ac_func in _powf
49429 do :
49430 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
49431 if test "x$ac_cv_func__powf" = x""yes; then :
49432 cat >>confdefs.h <<_ACEOF
49433 #define HAVE__POWF 1
49434 _ACEOF
49437 done
49446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
49447 $as_echo_n "checking for sqrtf declaration... " >&6; }
49448 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
49449 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
49450 $as_echo_n "(cached) " >&6
49451 else
49454 ac_ext=cpp
49455 ac_cpp='$CXXCPP $CPPFLAGS'
49456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49461 /* end confdefs.h. */
49462 #include <math.h>
49463 #ifdef HAVE_IEEEFP_H
49464 #include <ieeefp.h>
49465 #endif
49468 main ()
49470 sqrtf(0);
49472 return 0;
49474 _ACEOF
49475 if ac_fn_cxx_try_compile "$LINENO"; then :
49476 glibcxx_cv_func_sqrtf_use=yes
49477 else
49478 glibcxx_cv_func_sqrtf_use=no
49480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49481 ac_ext=c
49482 ac_cpp='$CPP $CPPFLAGS'
49483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
49492 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
49494 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
49495 for ac_func in sqrtf
49496 do :
49497 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
49498 if test "x$ac_cv_func_sqrtf" = x""yes; then :
49499 cat >>confdefs.h <<_ACEOF
49500 #define HAVE_SQRTF 1
49501 _ACEOF
49504 done
49506 else
49508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
49509 $as_echo_n "checking for _sqrtf declaration... " >&6; }
49510 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
49511 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
49512 $as_echo_n "(cached) " >&6
49513 else
49516 ac_ext=cpp
49517 ac_cpp='$CXXCPP $CPPFLAGS'
49518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49523 /* end confdefs.h. */
49524 #include <math.h>
49525 #ifdef HAVE_IEEEFP_H
49526 #include <ieeefp.h>
49527 #endif
49530 main ()
49532 _sqrtf(0);
49534 return 0;
49536 _ACEOF
49537 if ac_fn_cxx_try_compile "$LINENO"; then :
49538 glibcxx_cv_func__sqrtf_use=yes
49539 else
49540 glibcxx_cv_func__sqrtf_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__sqrtf_use" >&5
49554 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
49556 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
49557 for ac_func in _sqrtf
49558 do :
49559 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
49560 if test "x$ac_cv_func__sqrtf" = x""yes; then :
49561 cat >>confdefs.h <<_ACEOF
49562 #define HAVE__SQRTF 1
49563 _ACEOF
49566 done
49575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
49576 $as_echo_n "checking for sincosf declaration... " >&6; }
49577 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
49578 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
49579 $as_echo_n "(cached) " >&6
49580 else
49583 ac_ext=cpp
49584 ac_cpp='$CXXCPP $CPPFLAGS'
49585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49590 /* end confdefs.h. */
49591 #include <math.h>
49593 main ()
49595 sincosf(0, 0, 0);
49597 return 0;
49599 _ACEOF
49600 if ac_fn_cxx_try_compile "$LINENO"; then :
49601 glibcxx_cv_func_sincosf_use=yes
49602 else
49603 glibcxx_cv_func_sincosf_use=no
49605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49606 ac_ext=c
49607 ac_cpp='$CPP $CPPFLAGS'
49608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
49617 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
49619 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
49620 for ac_func in sincosf
49621 do :
49622 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
49623 if test "x$ac_cv_func_sincosf" = x""yes; then :
49624 cat >>confdefs.h <<_ACEOF
49625 #define HAVE_SINCOSF 1
49626 _ACEOF
49629 done
49631 else
49633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
49634 $as_echo_n "checking for _sincosf declaration... " >&6; }
49635 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
49636 if test "${glibcxx_cv_func__sincosf_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>
49651 main ()
49653 _sincosf(0, 0, 0);
49655 return 0;
49657 _ACEOF
49658 if ac_fn_cxx_try_compile "$LINENO"; then :
49659 glibcxx_cv_func__sincosf_use=yes
49660 else
49661 glibcxx_cv_func__sincosf_use=no
49663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49664 ac_ext=c
49665 ac_cpp='$CPP $CPPFLAGS'
49666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
49675 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
49677 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
49678 for ac_func in _sincosf
49679 do :
49680 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
49681 if test "x$ac_cv_func__sincosf" = x""yes; then :
49682 cat >>confdefs.h <<_ACEOF
49683 #define HAVE__SINCOSF 1
49684 _ACEOF
49687 done
49696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
49697 $as_echo_n "checking for finitef declaration... " >&6; }
49698 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
49699 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
49700 $as_echo_n "(cached) " >&6
49701 else
49704 ac_ext=cpp
49705 ac_cpp='$CXXCPP $CPPFLAGS'
49706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49711 /* end confdefs.h. */
49712 #include <math.h>
49713 #ifdef HAVE_IEEEFP_H
49714 #include <ieeefp.h>
49715 #endif
49718 main ()
49720 finitef(0);
49722 return 0;
49724 _ACEOF
49725 if ac_fn_cxx_try_compile "$LINENO"; then :
49726 glibcxx_cv_func_finitef_use=yes
49727 else
49728 glibcxx_cv_func_finitef_use=no
49730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49731 ac_ext=c
49732 ac_cpp='$CPP $CPPFLAGS'
49733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
49742 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
49744 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
49745 for ac_func in finitef
49746 do :
49747 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
49748 if test "x$ac_cv_func_finitef" = x""yes; then :
49749 cat >>confdefs.h <<_ACEOF
49750 #define HAVE_FINITEF 1
49751 _ACEOF
49754 done
49756 else
49758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
49759 $as_echo_n "checking for _finitef declaration... " >&6; }
49760 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
49761 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
49762 $as_echo_n "(cached) " >&6
49763 else
49766 ac_ext=cpp
49767 ac_cpp='$CXXCPP $CPPFLAGS'
49768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49773 /* end confdefs.h. */
49774 #include <math.h>
49775 #ifdef HAVE_IEEEFP_H
49776 #include <ieeefp.h>
49777 #endif
49780 main ()
49782 _finitef(0);
49784 return 0;
49786 _ACEOF
49787 if ac_fn_cxx_try_compile "$LINENO"; then :
49788 glibcxx_cv_func__finitef_use=yes
49789 else
49790 glibcxx_cv_func__finitef_use=no
49792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49793 ac_ext=c
49794 ac_cpp='$CPP $CPPFLAGS'
49795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
49804 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
49806 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
49807 for ac_func in _finitef
49808 do :
49809 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
49810 if test "x$ac_cv_func__finitef" = x""yes; then :
49811 cat >>confdefs.h <<_ACEOF
49812 #define HAVE__FINITEF 1
49813 _ACEOF
49816 done
49825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49826 $as_echo_n "checking for long double trig functions... " >&6; }
49827 if test "${glibcxx_cv_func_long_double_trig_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>
49842 main ()
49844 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49846 return 0;
49848 _ACEOF
49849 if ac_fn_cxx_try_compile "$LINENO"; then :
49850 glibcxx_cv_func_long_double_trig_use=yes
49851 else
49852 glibcxx_cv_func_long_double_trig_use=no
49854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49855 ac_ext=c
49856 ac_cpp='$CPP $CPPFLAGS'
49857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49864 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49865 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49866 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49867 do :
49868 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49869 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49870 eval as_val=\$$as_ac_var
49871 if test "x$as_val" = x""yes; then :
49872 cat >>confdefs.h <<_ACEOF
49873 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49874 _ACEOF
49877 done
49879 else
49880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49881 $as_echo_n "checking for _long double trig functions... " >&6; }
49882 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49883 $as_echo_n "(cached) " >&6
49884 else
49887 ac_ext=cpp
49888 ac_cpp='$CXXCPP $CPPFLAGS'
49889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49894 /* end confdefs.h. */
49895 #include <math.h>
49897 main ()
49899 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49901 return 0;
49903 _ACEOF
49904 if ac_fn_cxx_try_compile "$LINENO"; then :
49905 glibcxx_cv_func__long_double_trig_use=yes
49906 else
49907 glibcxx_cv_func__long_double_trig_use=no
49909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49910 ac_ext=c
49911 ac_cpp='$CPP $CPPFLAGS'
49912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49919 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49920 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49921 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49922 do :
49923 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49924 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49925 eval as_val=\$$as_ac_var
49926 if test "x$as_val" = x""yes; then :
49927 cat >>confdefs.h <<_ACEOF
49928 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49929 _ACEOF
49932 done
49941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49942 $as_echo_n "checking for long double round functions... " >&6; }
49943 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49944 $as_echo_n "(cached) " >&6
49945 else
49948 ac_ext=cpp
49949 ac_cpp='$CXXCPP $CPPFLAGS'
49950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49955 /* end confdefs.h. */
49956 #include <math.h>
49958 main ()
49960 ceill (0); floorl (0);
49962 return 0;
49964 _ACEOF
49965 if ac_fn_cxx_try_compile "$LINENO"; then :
49966 glibcxx_cv_func_long_double_round_use=yes
49967 else
49968 glibcxx_cv_func_long_double_round_use=no
49970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49971 ac_ext=c
49972 ac_cpp='$CPP $CPPFLAGS'
49973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49980 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49981 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49982 for ac_func in ceill floorl
49983 do :
49984 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49985 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49986 eval as_val=\$$as_ac_var
49987 if test "x$as_val" = x""yes; then :
49988 cat >>confdefs.h <<_ACEOF
49989 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49990 _ACEOF
49993 done
49995 else
49996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49997 $as_echo_n "checking for _long double round functions... " >&6; }
49998 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49999 $as_echo_n "(cached) " >&6
50000 else
50003 ac_ext=cpp
50004 ac_cpp='$CXXCPP $CPPFLAGS'
50005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50010 /* end confdefs.h. */
50011 #include <math.h>
50013 main ()
50015 _ceill (0); _floorl (0);
50017 return 0;
50019 _ACEOF
50020 if ac_fn_cxx_try_compile "$LINENO"; then :
50021 glibcxx_cv_func__long_double_round_use=yes
50022 else
50023 glibcxx_cv_func__long_double_round_use=no
50025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50026 ac_ext=c
50027 ac_cpp='$CPP $CPPFLAGS'
50028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
50035 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
50036 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
50037 for ac_func in _ceill _floorl
50038 do :
50039 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50040 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50041 eval as_val=\$$as_ac_var
50042 if test "x$as_val" = x""yes; then :
50043 cat >>confdefs.h <<_ACEOF
50044 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50045 _ACEOF
50048 done
50058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
50059 $as_echo_n "checking for isnanl declaration... " >&6; }
50060 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
50061 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
50062 $as_echo_n "(cached) " >&6
50063 else
50066 ac_ext=cpp
50067 ac_cpp='$CXXCPP $CPPFLAGS'
50068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50073 /* end confdefs.h. */
50074 #include <math.h>
50075 #ifdef HAVE_IEEEFP_H
50076 #include <ieeefp.h>
50077 #endif
50080 main ()
50082 isnanl(0);
50084 return 0;
50086 _ACEOF
50087 if ac_fn_cxx_try_compile "$LINENO"; then :
50088 glibcxx_cv_func_isnanl_use=yes
50089 else
50090 glibcxx_cv_func_isnanl_use=no
50092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50093 ac_ext=c
50094 ac_cpp='$CPP $CPPFLAGS'
50095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
50104 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
50106 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
50107 for ac_func in isnanl
50108 do :
50109 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
50110 if test "x$ac_cv_func_isnanl" = x""yes; then :
50111 cat >>confdefs.h <<_ACEOF
50112 #define HAVE_ISNANL 1
50113 _ACEOF
50116 done
50118 else
50120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
50121 $as_echo_n "checking for _isnanl declaration... " >&6; }
50122 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
50123 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
50124 $as_echo_n "(cached) " >&6
50125 else
50128 ac_ext=cpp
50129 ac_cpp='$CXXCPP $CPPFLAGS'
50130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50135 /* end confdefs.h. */
50136 #include <math.h>
50137 #ifdef HAVE_IEEEFP_H
50138 #include <ieeefp.h>
50139 #endif
50142 main ()
50144 _isnanl(0);
50146 return 0;
50148 _ACEOF
50149 if ac_fn_cxx_try_compile "$LINENO"; then :
50150 glibcxx_cv_func__isnanl_use=yes
50151 else
50152 glibcxx_cv_func__isnanl_use=no
50154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50155 ac_ext=c
50156 ac_cpp='$CPP $CPPFLAGS'
50157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
50166 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
50168 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
50169 for ac_func in _isnanl
50170 do :
50171 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
50172 if test "x$ac_cv_func__isnanl" = x""yes; then :
50173 cat >>confdefs.h <<_ACEOF
50174 #define HAVE__ISNANL 1
50175 _ACEOF
50178 done
50187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
50188 $as_echo_n "checking for isinfl declaration... " >&6; }
50189 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
50190 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
50191 $as_echo_n "(cached) " >&6
50192 else
50195 ac_ext=cpp
50196 ac_cpp='$CXXCPP $CPPFLAGS'
50197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50202 /* end confdefs.h. */
50203 #include <math.h>
50204 #ifdef HAVE_IEEEFP_H
50205 #include <ieeefp.h>
50206 #endif
50209 main ()
50211 isinfl(0);
50213 return 0;
50215 _ACEOF
50216 if ac_fn_cxx_try_compile "$LINENO"; then :
50217 glibcxx_cv_func_isinfl_use=yes
50218 else
50219 glibcxx_cv_func_isinfl_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_isinfl_use" >&5
50233 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
50235 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
50236 for ac_func in isinfl
50237 do :
50238 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
50239 if test "x$ac_cv_func_isinfl" = x""yes; then :
50240 cat >>confdefs.h <<_ACEOF
50241 #define HAVE_ISINFL 1
50242 _ACEOF
50245 done
50247 else
50249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
50250 $as_echo_n "checking for _isinfl declaration... " >&6; }
50251 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
50252 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
50253 $as_echo_n "(cached) " >&6
50254 else
50257 ac_ext=cpp
50258 ac_cpp='$CXXCPP $CPPFLAGS'
50259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50264 /* end confdefs.h. */
50265 #include <math.h>
50266 #ifdef HAVE_IEEEFP_H
50267 #include <ieeefp.h>
50268 #endif
50271 main ()
50273 _isinfl(0);
50275 return 0;
50277 _ACEOF
50278 if ac_fn_cxx_try_compile "$LINENO"; then :
50279 glibcxx_cv_func__isinfl_use=yes
50280 else
50281 glibcxx_cv_func__isinfl_use=no
50283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50284 ac_ext=c
50285 ac_cpp='$CPP $CPPFLAGS'
50286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
50295 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
50297 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
50298 for ac_func in _isinfl
50299 do :
50300 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
50301 if test "x$ac_cv_func__isinfl" = x""yes; then :
50302 cat >>confdefs.h <<_ACEOF
50303 #define HAVE__ISINFL 1
50304 _ACEOF
50307 done
50316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
50317 $as_echo_n "checking for atan2l declaration... " >&6; }
50318 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
50319 if test "${glibcxx_cv_func_atan2l_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>
50334 main ()
50336 atan2l(0, 0);
50338 return 0;
50340 _ACEOF
50341 if ac_fn_cxx_try_compile "$LINENO"; then :
50342 glibcxx_cv_func_atan2l_use=yes
50343 else
50344 glibcxx_cv_func_atan2l_use=no
50346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50347 ac_ext=c
50348 ac_cpp='$CPP $CPPFLAGS'
50349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
50358 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
50360 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
50361 for ac_func in atan2l
50362 do :
50363 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
50364 if test "x$ac_cv_func_atan2l" = x""yes; then :
50365 cat >>confdefs.h <<_ACEOF
50366 #define HAVE_ATAN2L 1
50367 _ACEOF
50370 done
50372 else
50374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
50375 $as_echo_n "checking for _atan2l declaration... " >&6; }
50376 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
50377 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
50378 $as_echo_n "(cached) " >&6
50379 else
50382 ac_ext=cpp
50383 ac_cpp='$CXXCPP $CPPFLAGS'
50384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50389 /* end confdefs.h. */
50390 #include <math.h>
50392 main ()
50394 _atan2l(0, 0);
50396 return 0;
50398 _ACEOF
50399 if ac_fn_cxx_try_compile "$LINENO"; then :
50400 glibcxx_cv_func__atan2l_use=yes
50401 else
50402 glibcxx_cv_func__atan2l_use=no
50404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50405 ac_ext=c
50406 ac_cpp='$CPP $CPPFLAGS'
50407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
50416 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
50418 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
50419 for ac_func in _atan2l
50420 do :
50421 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
50422 if test "x$ac_cv_func__atan2l" = x""yes; then :
50423 cat >>confdefs.h <<_ACEOF
50424 #define HAVE__ATAN2L 1
50425 _ACEOF
50428 done
50437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
50438 $as_echo_n "checking for expl declaration... " >&6; }
50439 if test x${glibcxx_cv_func_expl_use+set} != xset; then
50440 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
50441 $as_echo_n "(cached) " >&6
50442 else
50445 ac_ext=cpp
50446 ac_cpp='$CXXCPP $CPPFLAGS'
50447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50452 /* end confdefs.h. */
50453 #include <math.h>
50454 #ifdef HAVE_IEEEFP_H
50455 #include <ieeefp.h>
50456 #endif
50459 main ()
50461 expl(0);
50463 return 0;
50465 _ACEOF
50466 if ac_fn_cxx_try_compile "$LINENO"; then :
50467 glibcxx_cv_func_expl_use=yes
50468 else
50469 glibcxx_cv_func_expl_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_expl_use" >&5
50483 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
50485 if test x$glibcxx_cv_func_expl_use = x"yes"; then
50486 for ac_func in expl
50487 do :
50488 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50489 if test "x$ac_cv_func_expl" = x""yes; then :
50490 cat >>confdefs.h <<_ACEOF
50491 #define HAVE_EXPL 1
50492 _ACEOF
50495 done
50497 else
50499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
50500 $as_echo_n "checking for _expl declaration... " >&6; }
50501 if test x${glibcxx_cv_func__expl_use+set} != xset; then
50502 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
50503 $as_echo_n "(cached) " >&6
50504 else
50507 ac_ext=cpp
50508 ac_cpp='$CXXCPP $CPPFLAGS'
50509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50514 /* end confdefs.h. */
50515 #include <math.h>
50516 #ifdef HAVE_IEEEFP_H
50517 #include <ieeefp.h>
50518 #endif
50521 main ()
50523 _expl(0);
50525 return 0;
50527 _ACEOF
50528 if ac_fn_cxx_try_compile "$LINENO"; then :
50529 glibcxx_cv_func__expl_use=yes
50530 else
50531 glibcxx_cv_func__expl_use=no
50533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50534 ac_ext=c
50535 ac_cpp='$CPP $CPPFLAGS'
50536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
50545 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
50547 if test x$glibcxx_cv_func__expl_use = x"yes"; then
50548 for ac_func in _expl
50549 do :
50550 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
50551 if test "x$ac_cv_func__expl" = x""yes; then :
50552 cat >>confdefs.h <<_ACEOF
50553 #define HAVE__EXPL 1
50554 _ACEOF
50557 done
50566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
50567 $as_echo_n "checking for fabsl declaration... " >&6; }
50568 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
50569 if test "${glibcxx_cv_func_fabsl_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 fabsl(0);
50592 return 0;
50594 _ACEOF
50595 if ac_fn_cxx_try_compile "$LINENO"; then :
50596 glibcxx_cv_func_fabsl_use=yes
50597 else
50598 glibcxx_cv_func_fabsl_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_fabsl_use" >&5
50612 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
50614 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
50615 for ac_func in fabsl
50616 do :
50617 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
50618 if test "x$ac_cv_func_fabsl" = x""yes; then :
50619 cat >>confdefs.h <<_ACEOF
50620 #define HAVE_FABSL 1
50621 _ACEOF
50624 done
50626 else
50628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
50629 $as_echo_n "checking for _fabsl declaration... " >&6; }
50630 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
50631 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
50632 $as_echo_n "(cached) " >&6
50633 else
50636 ac_ext=cpp
50637 ac_cpp='$CXXCPP $CPPFLAGS'
50638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50643 /* end confdefs.h. */
50644 #include <math.h>
50645 #ifdef HAVE_IEEEFP_H
50646 #include <ieeefp.h>
50647 #endif
50650 main ()
50652 _fabsl(0);
50654 return 0;
50656 _ACEOF
50657 if ac_fn_cxx_try_compile "$LINENO"; then :
50658 glibcxx_cv_func__fabsl_use=yes
50659 else
50660 glibcxx_cv_func__fabsl_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
50673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
50674 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
50676 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
50677 for ac_func in _fabsl
50678 do :
50679 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
50680 if test "x$ac_cv_func__fabsl" = x""yes; then :
50681 cat >>confdefs.h <<_ACEOF
50682 #define HAVE__FABSL 1
50683 _ACEOF
50686 done
50695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
50696 $as_echo_n "checking for fmodl declaration... " >&6; }
50697 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
50698 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
50699 $as_echo_n "(cached) " >&6
50700 else
50703 ac_ext=cpp
50704 ac_cpp='$CXXCPP $CPPFLAGS'
50705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50710 /* end confdefs.h. */
50711 #include <math.h>
50713 main ()
50715 fmodl(0, 0);
50717 return 0;
50719 _ACEOF
50720 if ac_fn_cxx_try_compile "$LINENO"; then :
50721 glibcxx_cv_func_fmodl_use=yes
50722 else
50723 glibcxx_cv_func_fmodl_use=no
50725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50726 ac_ext=c
50727 ac_cpp='$CPP $CPPFLAGS'
50728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
50737 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
50739 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
50740 for ac_func in fmodl
50741 do :
50742 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
50743 if test "x$ac_cv_func_fmodl" = x""yes; then :
50744 cat >>confdefs.h <<_ACEOF
50745 #define HAVE_FMODL 1
50746 _ACEOF
50749 done
50751 else
50753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
50754 $as_echo_n "checking for _fmodl declaration... " >&6; }
50755 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
50756 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
50757 $as_echo_n "(cached) " >&6
50758 else
50761 ac_ext=cpp
50762 ac_cpp='$CXXCPP $CPPFLAGS'
50763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50768 /* end confdefs.h. */
50769 #include <math.h>
50771 main ()
50773 _fmodl(0, 0);
50775 return 0;
50777 _ACEOF
50778 if ac_fn_cxx_try_compile "$LINENO"; then :
50779 glibcxx_cv_func__fmodl_use=yes
50780 else
50781 glibcxx_cv_func__fmodl_use=no
50783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50784 ac_ext=c
50785 ac_cpp='$CPP $CPPFLAGS'
50786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
50795 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
50797 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
50798 for ac_func in _fmodl
50799 do :
50800 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
50801 if test "x$ac_cv_func__fmodl" = x""yes; then :
50802 cat >>confdefs.h <<_ACEOF
50803 #define HAVE__FMODL 1
50804 _ACEOF
50807 done
50816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50817 $as_echo_n "checking for frexpl declaration... " >&6; }
50818 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50819 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50820 $as_echo_n "(cached) " >&6
50821 else
50824 ac_ext=cpp
50825 ac_cpp='$CXXCPP $CPPFLAGS'
50826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50831 /* end confdefs.h. */
50832 #include <math.h>
50834 main ()
50836 frexpl(0, 0);
50838 return 0;
50840 _ACEOF
50841 if ac_fn_cxx_try_compile "$LINENO"; then :
50842 glibcxx_cv_func_frexpl_use=yes
50843 else
50844 glibcxx_cv_func_frexpl_use=no
50846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50847 ac_ext=c
50848 ac_cpp='$CPP $CPPFLAGS'
50849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50858 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50860 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50861 for ac_func in frexpl
50862 do :
50863 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50864 if test "x$ac_cv_func_frexpl" = x""yes; then :
50865 cat >>confdefs.h <<_ACEOF
50866 #define HAVE_FREXPL 1
50867 _ACEOF
50870 done
50872 else
50874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50875 $as_echo_n "checking for _frexpl declaration... " >&6; }
50876 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50877 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50878 $as_echo_n "(cached) " >&6
50879 else
50882 ac_ext=cpp
50883 ac_cpp='$CXXCPP $CPPFLAGS'
50884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50889 /* end confdefs.h. */
50890 #include <math.h>
50892 main ()
50894 _frexpl(0, 0);
50896 return 0;
50898 _ACEOF
50899 if ac_fn_cxx_try_compile "$LINENO"; then :
50900 glibcxx_cv_func__frexpl_use=yes
50901 else
50902 glibcxx_cv_func__frexpl_use=no
50904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50905 ac_ext=c
50906 ac_cpp='$CPP $CPPFLAGS'
50907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50916 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50918 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50919 for ac_func in _frexpl
50920 do :
50921 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50922 if test "x$ac_cv_func__frexpl" = x""yes; then :
50923 cat >>confdefs.h <<_ACEOF
50924 #define HAVE__FREXPL 1
50925 _ACEOF
50928 done
50937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50938 $as_echo_n "checking for hypotl declaration... " >&6; }
50939 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50940 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50941 $as_echo_n "(cached) " >&6
50942 else
50945 ac_ext=cpp
50946 ac_cpp='$CXXCPP $CPPFLAGS'
50947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50952 /* end confdefs.h. */
50953 #include <math.h>
50955 main ()
50957 hypotl(0, 0);
50959 return 0;
50961 _ACEOF
50962 if ac_fn_cxx_try_compile "$LINENO"; then :
50963 glibcxx_cv_func_hypotl_use=yes
50964 else
50965 glibcxx_cv_func_hypotl_use=no
50967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50968 ac_ext=c
50969 ac_cpp='$CPP $CPPFLAGS'
50970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50979 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50981 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50982 for ac_func in hypotl
50983 do :
50984 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50985 if test "x$ac_cv_func_hypotl" = x""yes; then :
50986 cat >>confdefs.h <<_ACEOF
50987 #define HAVE_HYPOTL 1
50988 _ACEOF
50991 done
50993 else
50995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50996 $as_echo_n "checking for _hypotl declaration... " >&6; }
50997 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50998 if test "${glibcxx_cv_func__hypotl_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>
51013 main ()
51015 _hypotl(0, 0);
51017 return 0;
51019 _ACEOF
51020 if ac_fn_cxx_try_compile "$LINENO"; then :
51021 glibcxx_cv_func__hypotl_use=yes
51022 else
51023 glibcxx_cv_func__hypotl_use=no
51025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51026 ac_ext=c
51027 ac_cpp='$CPP $CPPFLAGS'
51028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
51037 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
51039 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
51040 for ac_func in _hypotl
51041 do :
51042 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
51043 if test "x$ac_cv_func__hypotl" = x""yes; then :
51044 cat >>confdefs.h <<_ACEOF
51045 #define HAVE__HYPOTL 1
51046 _ACEOF
51049 done
51058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
51059 $as_echo_n "checking for ldexpl declaration... " >&6; }
51060 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
51061 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
51062 $as_echo_n "(cached) " >&6
51063 else
51066 ac_ext=cpp
51067 ac_cpp='$CXXCPP $CPPFLAGS'
51068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51073 /* end confdefs.h. */
51074 #include <math.h>
51076 main ()
51078 ldexpl(0, 0);
51080 return 0;
51082 _ACEOF
51083 if ac_fn_cxx_try_compile "$LINENO"; then :
51084 glibcxx_cv_func_ldexpl_use=yes
51085 else
51086 glibcxx_cv_func_ldexpl_use=no
51088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51089 ac_ext=c
51090 ac_cpp='$CPP $CPPFLAGS'
51091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
51100 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
51102 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
51103 for ac_func in ldexpl
51104 do :
51105 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
51106 if test "x$ac_cv_func_ldexpl" = x""yes; then :
51107 cat >>confdefs.h <<_ACEOF
51108 #define HAVE_LDEXPL 1
51109 _ACEOF
51112 done
51114 else
51116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
51117 $as_echo_n "checking for _ldexpl declaration... " >&6; }
51118 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
51119 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
51120 $as_echo_n "(cached) " >&6
51121 else
51124 ac_ext=cpp
51125 ac_cpp='$CXXCPP $CPPFLAGS'
51126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51131 /* end confdefs.h. */
51132 #include <math.h>
51134 main ()
51136 _ldexpl(0, 0);
51138 return 0;
51140 _ACEOF
51141 if ac_fn_cxx_try_compile "$LINENO"; then :
51142 glibcxx_cv_func__ldexpl_use=yes
51143 else
51144 glibcxx_cv_func__ldexpl_use=no
51146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51147 ac_ext=c
51148 ac_cpp='$CPP $CPPFLAGS'
51149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
51158 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
51160 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
51161 for ac_func in _ldexpl
51162 do :
51163 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
51164 if test "x$ac_cv_func__ldexpl" = x""yes; then :
51165 cat >>confdefs.h <<_ACEOF
51166 #define HAVE__LDEXPL 1
51167 _ACEOF
51170 done
51179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
51180 $as_echo_n "checking for logl declaration... " >&6; }
51181 if test x${glibcxx_cv_func_logl_use+set} != xset; then
51182 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
51183 $as_echo_n "(cached) " >&6
51184 else
51187 ac_ext=cpp
51188 ac_cpp='$CXXCPP $CPPFLAGS'
51189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51194 /* end confdefs.h. */
51195 #include <math.h>
51196 #ifdef HAVE_IEEEFP_H
51197 #include <ieeefp.h>
51198 #endif
51201 main ()
51203 logl(0);
51205 return 0;
51207 _ACEOF
51208 if ac_fn_cxx_try_compile "$LINENO"; then :
51209 glibcxx_cv_func_logl_use=yes
51210 else
51211 glibcxx_cv_func_logl_use=no
51213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51214 ac_ext=c
51215 ac_cpp='$CPP $CPPFLAGS'
51216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
51225 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
51227 if test x$glibcxx_cv_func_logl_use = x"yes"; then
51228 for ac_func in logl
51229 do :
51230 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
51231 if test "x$ac_cv_func_logl" = x""yes; then :
51232 cat >>confdefs.h <<_ACEOF
51233 #define HAVE_LOGL 1
51234 _ACEOF
51237 done
51239 else
51241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
51242 $as_echo_n "checking for _logl declaration... " >&6; }
51243 if test x${glibcxx_cv_func__logl_use+set} != xset; then
51244 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
51245 $as_echo_n "(cached) " >&6
51246 else
51249 ac_ext=cpp
51250 ac_cpp='$CXXCPP $CPPFLAGS'
51251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51256 /* end confdefs.h. */
51257 #include <math.h>
51258 #ifdef HAVE_IEEEFP_H
51259 #include <ieeefp.h>
51260 #endif
51263 main ()
51265 _logl(0);
51267 return 0;
51269 _ACEOF
51270 if ac_fn_cxx_try_compile "$LINENO"; then :
51271 glibcxx_cv_func__logl_use=yes
51272 else
51273 glibcxx_cv_func__logl_use=no
51275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51276 ac_ext=c
51277 ac_cpp='$CPP $CPPFLAGS'
51278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
51287 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
51289 if test x$glibcxx_cv_func__logl_use = x"yes"; then
51290 for ac_func in _logl
51291 do :
51292 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
51293 if test "x$ac_cv_func__logl" = x""yes; then :
51294 cat >>confdefs.h <<_ACEOF
51295 #define HAVE__LOGL 1
51296 _ACEOF
51299 done
51308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
51309 $as_echo_n "checking for log10l declaration... " >&6; }
51310 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
51311 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
51312 $as_echo_n "(cached) " >&6
51313 else
51316 ac_ext=cpp
51317 ac_cpp='$CXXCPP $CPPFLAGS'
51318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51323 /* end confdefs.h. */
51324 #include <math.h>
51325 #ifdef HAVE_IEEEFP_H
51326 #include <ieeefp.h>
51327 #endif
51330 main ()
51332 log10l(0);
51334 return 0;
51336 _ACEOF
51337 if ac_fn_cxx_try_compile "$LINENO"; then :
51338 glibcxx_cv_func_log10l_use=yes
51339 else
51340 glibcxx_cv_func_log10l_use=no
51342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51343 ac_ext=c
51344 ac_cpp='$CPP $CPPFLAGS'
51345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
51354 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
51356 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
51357 for ac_func in log10l
51358 do :
51359 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
51360 if test "x$ac_cv_func_log10l" = x""yes; then :
51361 cat >>confdefs.h <<_ACEOF
51362 #define HAVE_LOG10L 1
51363 _ACEOF
51366 done
51368 else
51370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
51371 $as_echo_n "checking for _log10l declaration... " >&6; }
51372 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
51373 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
51374 $as_echo_n "(cached) " >&6
51375 else
51378 ac_ext=cpp
51379 ac_cpp='$CXXCPP $CPPFLAGS'
51380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51385 /* end confdefs.h. */
51386 #include <math.h>
51387 #ifdef HAVE_IEEEFP_H
51388 #include <ieeefp.h>
51389 #endif
51392 main ()
51394 _log10l(0);
51396 return 0;
51398 _ACEOF
51399 if ac_fn_cxx_try_compile "$LINENO"; then :
51400 glibcxx_cv_func__log10l_use=yes
51401 else
51402 glibcxx_cv_func__log10l_use=no
51404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51405 ac_ext=c
51406 ac_cpp='$CPP $CPPFLAGS'
51407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
51416 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
51418 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
51419 for ac_func in _log10l
51420 do :
51421 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
51422 if test "x$ac_cv_func__log10l" = x""yes; then :
51423 cat >>confdefs.h <<_ACEOF
51424 #define HAVE__LOG10L 1
51425 _ACEOF
51428 done
51437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
51438 $as_echo_n "checking for modfl declaration... " >&6; }
51439 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
51440 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
51441 $as_echo_n "(cached) " >&6
51442 else
51445 ac_ext=cpp
51446 ac_cpp='$CXXCPP $CPPFLAGS'
51447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51452 /* end confdefs.h. */
51453 #include <math.h>
51455 main ()
51457 modfl(0, 0);
51459 return 0;
51461 _ACEOF
51462 if ac_fn_cxx_try_compile "$LINENO"; then :
51463 glibcxx_cv_func_modfl_use=yes
51464 else
51465 glibcxx_cv_func_modfl_use=no
51467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51468 ac_ext=c
51469 ac_cpp='$CPP $CPPFLAGS'
51470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
51479 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51481 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51482 for ac_func in modfl
51483 do :
51484 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51485 if test "x$ac_cv_func_modfl" = x""yes; then :
51486 cat >>confdefs.h <<_ACEOF
51487 #define HAVE_MODFL 1
51488 _ACEOF
51491 done
51493 else
51495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
51496 $as_echo_n "checking for _modfl declaration... " >&6; }
51497 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
51498 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
51499 $as_echo_n "(cached) " >&6
51500 else
51503 ac_ext=cpp
51504 ac_cpp='$CXXCPP $CPPFLAGS'
51505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51510 /* end confdefs.h. */
51511 #include <math.h>
51513 main ()
51515 _modfl(0, 0);
51517 return 0;
51519 _ACEOF
51520 if ac_fn_cxx_try_compile "$LINENO"; then :
51521 glibcxx_cv_func__modfl_use=yes
51522 else
51523 glibcxx_cv_func__modfl_use=no
51525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51526 ac_ext=c
51527 ac_cpp='$CPP $CPPFLAGS'
51528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
51537 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
51539 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
51540 for ac_func in _modfl
51541 do :
51542 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
51543 if test "x$ac_cv_func__modfl" = x""yes; then :
51544 cat >>confdefs.h <<_ACEOF
51545 #define HAVE__MODFL 1
51546 _ACEOF
51549 done
51558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
51559 $as_echo_n "checking for powl declaration... " >&6; }
51560 if test x${glibcxx_cv_func_powl_use+set} != xset; then
51561 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
51562 $as_echo_n "(cached) " >&6
51563 else
51566 ac_ext=cpp
51567 ac_cpp='$CXXCPP $CPPFLAGS'
51568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51573 /* end confdefs.h. */
51574 #include <math.h>
51576 main ()
51578 powl(0, 0);
51580 return 0;
51582 _ACEOF
51583 if ac_fn_cxx_try_compile "$LINENO"; then :
51584 glibcxx_cv_func_powl_use=yes
51585 else
51586 glibcxx_cv_func_powl_use=no
51588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51589 ac_ext=c
51590 ac_cpp='$CPP $CPPFLAGS'
51591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
51600 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
51602 if test x$glibcxx_cv_func_powl_use = x"yes"; then
51603 for ac_func in powl
51604 do :
51605 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
51606 if test "x$ac_cv_func_powl" = x""yes; then :
51607 cat >>confdefs.h <<_ACEOF
51608 #define HAVE_POWL 1
51609 _ACEOF
51612 done
51614 else
51616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
51617 $as_echo_n "checking for _powl declaration... " >&6; }
51618 if test x${glibcxx_cv_func__powl_use+set} != xset; then
51619 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
51620 $as_echo_n "(cached) " >&6
51621 else
51624 ac_ext=cpp
51625 ac_cpp='$CXXCPP $CPPFLAGS'
51626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51631 /* end confdefs.h. */
51632 #include <math.h>
51634 main ()
51636 _powl(0, 0);
51638 return 0;
51640 _ACEOF
51641 if ac_fn_cxx_try_compile "$LINENO"; then :
51642 glibcxx_cv_func__powl_use=yes
51643 else
51644 glibcxx_cv_func__powl_use=no
51646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51647 ac_ext=c
51648 ac_cpp='$CPP $CPPFLAGS'
51649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
51658 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
51660 if test x$glibcxx_cv_func__powl_use = x"yes"; then
51661 for ac_func in _powl
51662 do :
51663 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
51664 if test "x$ac_cv_func__powl" = x""yes; then :
51665 cat >>confdefs.h <<_ACEOF
51666 #define HAVE__POWL 1
51667 _ACEOF
51670 done
51679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
51680 $as_echo_n "checking for sqrtl declaration... " >&6; }
51681 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
51682 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
51683 $as_echo_n "(cached) " >&6
51684 else
51687 ac_ext=cpp
51688 ac_cpp='$CXXCPP $CPPFLAGS'
51689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51694 /* end confdefs.h. */
51695 #include <math.h>
51696 #ifdef HAVE_IEEEFP_H
51697 #include <ieeefp.h>
51698 #endif
51701 main ()
51703 sqrtl(0);
51705 return 0;
51707 _ACEOF
51708 if ac_fn_cxx_try_compile "$LINENO"; then :
51709 glibcxx_cv_func_sqrtl_use=yes
51710 else
51711 glibcxx_cv_func_sqrtl_use=no
51713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51714 ac_ext=c
51715 ac_cpp='$CPP $CPPFLAGS'
51716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
51725 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
51727 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
51728 for ac_func in sqrtl
51729 do :
51730 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
51731 if test "x$ac_cv_func_sqrtl" = x""yes; then :
51732 cat >>confdefs.h <<_ACEOF
51733 #define HAVE_SQRTL 1
51734 _ACEOF
51737 done
51739 else
51741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
51742 $as_echo_n "checking for _sqrtl declaration... " >&6; }
51743 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
51744 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
51745 $as_echo_n "(cached) " >&6
51746 else
51749 ac_ext=cpp
51750 ac_cpp='$CXXCPP $CPPFLAGS'
51751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51756 /* end confdefs.h. */
51757 #include <math.h>
51758 #ifdef HAVE_IEEEFP_H
51759 #include <ieeefp.h>
51760 #endif
51763 main ()
51765 _sqrtl(0);
51767 return 0;
51769 _ACEOF
51770 if ac_fn_cxx_try_compile "$LINENO"; then :
51771 glibcxx_cv_func__sqrtl_use=yes
51772 else
51773 glibcxx_cv_func__sqrtl_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__sqrtl_use" >&5
51787 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
51789 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
51790 for ac_func in _sqrtl
51791 do :
51792 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
51793 if test "x$ac_cv_func__sqrtl" = x""yes; then :
51794 cat >>confdefs.h <<_ACEOF
51795 #define HAVE__SQRTL 1
51796 _ACEOF
51799 done
51808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
51809 $as_echo_n "checking for sincosl declaration... " >&6; }
51810 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
51811 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
51812 $as_echo_n "(cached) " >&6
51813 else
51816 ac_ext=cpp
51817 ac_cpp='$CXXCPP $CPPFLAGS'
51818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51823 /* end confdefs.h. */
51824 #include <math.h>
51826 main ()
51828 sincosl(0, 0, 0);
51830 return 0;
51832 _ACEOF
51833 if ac_fn_cxx_try_compile "$LINENO"; then :
51834 glibcxx_cv_func_sincosl_use=yes
51835 else
51836 glibcxx_cv_func_sincosl_use=no
51838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51839 ac_ext=c
51840 ac_cpp='$CPP $CPPFLAGS'
51841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51850 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51852 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51853 for ac_func in sincosl
51854 do :
51855 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51856 if test "x$ac_cv_func_sincosl" = x""yes; then :
51857 cat >>confdefs.h <<_ACEOF
51858 #define HAVE_SINCOSL 1
51859 _ACEOF
51862 done
51864 else
51866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51867 $as_echo_n "checking for _sincosl declaration... " >&6; }
51868 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51869 if test "${glibcxx_cv_func__sincosl_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 _sincosl(0, 0, 0);
51888 return 0;
51890 _ACEOF
51891 if ac_fn_cxx_try_compile "$LINENO"; then :
51892 glibcxx_cv_func__sincosl_use=yes
51893 else
51894 glibcxx_cv_func__sincosl_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__sincosl_use" >&5
51908 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51910 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51911 for ac_func in _sincosl
51912 do :
51913 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51914 if test "x$ac_cv_func__sincosl" = x""yes; then :
51915 cat >>confdefs.h <<_ACEOF
51916 #define HAVE__SINCOSL 1
51917 _ACEOF
51920 done
51929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51930 $as_echo_n "checking for finitel declaration... " >&6; }
51931 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51932 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51933 $as_echo_n "(cached) " >&6
51934 else
51937 ac_ext=cpp
51938 ac_cpp='$CXXCPP $CPPFLAGS'
51939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51944 /* end confdefs.h. */
51945 #include <math.h>
51946 #ifdef HAVE_IEEEFP_H
51947 #include <ieeefp.h>
51948 #endif
51951 main ()
51953 finitel(0);
51955 return 0;
51957 _ACEOF
51958 if ac_fn_cxx_try_compile "$LINENO"; then :
51959 glibcxx_cv_func_finitel_use=yes
51960 else
51961 glibcxx_cv_func_finitel_use=no
51963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51964 ac_ext=c
51965 ac_cpp='$CPP $CPPFLAGS'
51966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51975 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51977 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51978 for ac_func in finitel
51979 do :
51980 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51981 if test "x$ac_cv_func_finitel" = x""yes; then :
51982 cat >>confdefs.h <<_ACEOF
51983 #define HAVE_FINITEL 1
51984 _ACEOF
51987 done
51989 else
51991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51992 $as_echo_n "checking for _finitel declaration... " >&6; }
51993 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51994 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51995 $as_echo_n "(cached) " >&6
51996 else
51999 ac_ext=cpp
52000 ac_cpp='$CXXCPP $CPPFLAGS'
52001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52006 /* end confdefs.h. */
52007 #include <math.h>
52008 #ifdef HAVE_IEEEFP_H
52009 #include <ieeefp.h>
52010 #endif
52013 main ()
52015 _finitel(0);
52017 return 0;
52019 _ACEOF
52020 if ac_fn_cxx_try_compile "$LINENO"; then :
52021 glibcxx_cv_func__finitel_use=yes
52022 else
52023 glibcxx_cv_func__finitel_use=no
52025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52026 ac_ext=c
52027 ac_cpp='$CPP $CPPFLAGS'
52028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
52037 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
52039 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
52040 for ac_func in _finitel
52041 do :
52042 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
52043 if test "x$ac_cv_func__finitel" = x""yes; then :
52044 cat >>confdefs.h <<_ACEOF
52045 #define HAVE__FINITEL 1
52046 _ACEOF
52049 done
52057 LIBS="$ac_save_LIBS"
52058 CXXFLAGS="$ac_save_CXXFLAGS"
52061 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52062 ac_save_CXXFLAGS="$CXXFLAGS"
52063 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
52067 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
52068 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
52069 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
52070 $as_echo_n "(cached) " >&6
52071 else
52074 ac_ext=cpp
52075 ac_cpp='$CXXCPP $CPPFLAGS'
52076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52081 /* end confdefs.h. */
52082 #include <stdlib.h>
52084 main ()
52086 at_quick_exit(0);
52088 return 0;
52090 _ACEOF
52091 if ac_fn_cxx_try_compile "$LINENO"; then :
52092 glibcxx_cv_func_at_quick_exit_use=yes
52093 else
52094 glibcxx_cv_func_at_quick_exit_use=no
52096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52097 ac_ext=c
52098 ac_cpp='$CPP $CPPFLAGS'
52099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
52108 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
52109 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
52110 for ac_func in at_quick_exit
52111 do :
52112 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
52113 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
52114 cat >>confdefs.h <<_ACEOF
52115 #define HAVE_AT_QUICK_EXIT 1
52116 _ACEOF
52119 done
52124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
52125 $as_echo_n "checking for quick_exit declaration... " >&6; }
52126 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
52127 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
52128 $as_echo_n "(cached) " >&6
52129 else
52132 ac_ext=cpp
52133 ac_cpp='$CXXCPP $CPPFLAGS'
52134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52139 /* end confdefs.h. */
52140 #include <stdlib.h>
52142 main ()
52144 quick_exit(0);
52146 return 0;
52148 _ACEOF
52149 if ac_fn_cxx_try_compile "$LINENO"; then :
52150 glibcxx_cv_func_quick_exit_use=yes
52151 else
52152 glibcxx_cv_func_quick_exit_use=no
52154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52155 ac_ext=c
52156 ac_cpp='$CPP $CPPFLAGS'
52157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
52166 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
52167 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
52168 for ac_func in quick_exit
52169 do :
52170 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
52171 if test "x$ac_cv_func_quick_exit" = x""yes; then :
52172 cat >>confdefs.h <<_ACEOF
52173 #define HAVE_QUICK_EXIT 1
52174 _ACEOF
52177 done
52182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
52183 $as_echo_n "checking for strtold declaration... " >&6; }
52184 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52185 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
52186 $as_echo_n "(cached) " >&6
52187 else
52190 ac_ext=cpp
52191 ac_cpp='$CXXCPP $CPPFLAGS'
52192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52197 /* end confdefs.h. */
52198 #include <stdlib.h>
52200 main ()
52202 strtold(0, 0);
52204 return 0;
52206 _ACEOF
52207 if ac_fn_cxx_try_compile "$LINENO"; then :
52208 glibcxx_cv_func_strtold_use=yes
52209 else
52210 glibcxx_cv_func_strtold_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_strtold_use" >&5
52224 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
52225 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52226 for ac_func in strtold
52227 do :
52228 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
52229 if test "x$ac_cv_func_strtold" = x""yes; then :
52230 cat >>confdefs.h <<_ACEOF
52231 #define HAVE_STRTOLD 1
52232 _ACEOF
52235 done
52242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
52243 $as_echo_n "checking for strtof declaration... " >&6; }
52244 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52245 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
52246 $as_echo_n "(cached) " >&6
52247 else
52250 ac_ext=cpp
52251 ac_cpp='$CXXCPP $CPPFLAGS'
52252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52257 /* end confdefs.h. */
52258 #include <stdlib.h>
52260 main ()
52262 strtof(0, 0);
52264 return 0;
52266 _ACEOF
52267 if ac_fn_cxx_try_compile "$LINENO"; then :
52268 glibcxx_cv_func_strtof_use=yes
52269 else
52270 glibcxx_cv_func_strtof_use=no
52272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52273 ac_ext=c
52274 ac_cpp='$CPP $CPPFLAGS'
52275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
52284 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
52285 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52286 for ac_func in strtof
52287 do :
52288 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
52289 if test "x$ac_cv_func_strtof" = x""yes; then :
52290 cat >>confdefs.h <<_ACEOF
52291 #define HAVE_STRTOF 1
52292 _ACEOF
52295 done
52302 CXXFLAGS="$ac_save_CXXFLAGS"
52304 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
52308 # Check whether --enable-tls was given.
52309 if test "${enable_tls+set}" = set; then :
52310 enableval=$enable_tls;
52311 case "$enableval" in
52312 yes|no) ;;
52313 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
52314 esac
52316 else
52317 enable_tls=yes
52321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
52322 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
52323 if test "${gcc_cv_have_tls+set}" = set; then :
52324 $as_echo_n "(cached) " >&6
52325 else
52327 if test "$cross_compiling" = yes; then :
52328 if test x$gcc_no_link = xyes; then
52329 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52332 /* end confdefs.h. */
52333 __thread int a; int b; int main() { return a = b; }
52334 _ACEOF
52335 if ac_fn_c_try_link "$LINENO"; then :
52336 chktls_save_LDFLAGS="$LDFLAGS"
52337 case $host in
52338 *-*-linux*)
52339 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
52341 esac
52342 chktls_save_CFLAGS="$CFLAGS"
52343 CFLAGS="-fPIC $CFLAGS"
52344 if test x$gcc_no_link = xyes; then
52345 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52348 /* end confdefs.h. */
52349 int f() { return 0; }
52350 _ACEOF
52351 if ac_fn_c_try_link "$LINENO"; then :
52352 if test x$gcc_no_link = xyes; then
52353 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52356 /* end confdefs.h. */
52357 __thread int a; int b; int f() { return a = b; }
52358 _ACEOF
52359 if ac_fn_c_try_link "$LINENO"; then :
52360 gcc_cv_have_tls=yes
52361 else
52362 gcc_cv_have_tls=no
52364 rm -f core conftest.err conftest.$ac_objext \
52365 conftest$ac_exeext conftest.$ac_ext
52366 else
52367 gcc_cv_have_tls=yes
52369 rm -f core conftest.err conftest.$ac_objext \
52370 conftest$ac_exeext conftest.$ac_ext
52371 CFLAGS="$chktls_save_CFLAGS"
52372 LDFLAGS="$chktls_save_LDFLAGS"
52373 else
52374 gcc_cv_have_tls=no
52376 rm -f core conftest.err conftest.$ac_objext \
52377 conftest$ac_exeext conftest.$ac_ext
52380 else
52381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52382 /* end confdefs.h. */
52383 __thread int a; int b; int main() { return a = b; }
52384 _ACEOF
52385 if ac_fn_c_try_run "$LINENO"; then :
52386 chktls_save_LDFLAGS="$LDFLAGS"
52387 LDFLAGS="-static $LDFLAGS"
52388 if test x$gcc_no_link = xyes; then
52389 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52392 /* end confdefs.h. */
52393 int main() { return 0; }
52394 _ACEOF
52395 if ac_fn_c_try_link "$LINENO"; then :
52396 if test "$cross_compiling" = yes; then :
52397 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52399 as_fn_error "cannot run test program while cross compiling
52400 See \`config.log' for more details." "$LINENO" 5; }
52401 else
52402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52403 /* end confdefs.h. */
52404 __thread int a; int b; int main() { return a = b; }
52405 _ACEOF
52406 if ac_fn_c_try_run "$LINENO"; then :
52407 gcc_cv_have_tls=yes
52408 else
52409 gcc_cv_have_tls=no
52411 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52412 conftest.$ac_objext conftest.beam conftest.$ac_ext
52415 else
52416 gcc_cv_have_tls=yes
52418 rm -f core conftest.err conftest.$ac_objext \
52419 conftest$ac_exeext conftest.$ac_ext
52420 LDFLAGS="$chktls_save_LDFLAGS"
52421 if test $gcc_cv_have_tls = yes; then
52422 chktls_save_CFLAGS="$CFLAGS"
52423 thread_CFLAGS=failed
52424 for flag in '' '-pthread' '-lpthread'; do
52425 CFLAGS="$flag $chktls_save_CFLAGS"
52426 if test x$gcc_no_link = xyes; then
52427 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52430 /* end confdefs.h. */
52431 #include <pthread.h>
52432 void *g(void *d) { return NULL; }
52434 main ()
52436 pthread_t t; pthread_create(&t,NULL,g,NULL);
52438 return 0;
52440 _ACEOF
52441 if ac_fn_c_try_link "$LINENO"; then :
52442 thread_CFLAGS="$flag"
52444 rm -f core conftest.err conftest.$ac_objext \
52445 conftest$ac_exeext conftest.$ac_ext
52446 if test "X$thread_CFLAGS" != Xfailed; then
52447 break
52449 done
52450 CFLAGS="$chktls_save_CFLAGS"
52451 if test "X$thread_CFLAGS" != Xfailed; then
52452 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
52453 if test "$cross_compiling" = yes; then :
52454 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52455 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52456 as_fn_error "cannot run test program while cross compiling
52457 See \`config.log' for more details." "$LINENO" 5; }
52458 else
52459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52460 /* end confdefs.h. */
52461 #include <pthread.h>
52462 __thread int a;
52463 static int *volatile a_in_other_thread;
52464 static void *
52465 thread_func (void *arg)
52467 a_in_other_thread = &a;
52468 return (void *)0;
52471 main ()
52473 pthread_t thread;
52474 void *thread_retval;
52475 int *volatile a_in_main_thread;
52476 a_in_main_thread = &a;
52477 if (pthread_create (&thread, (pthread_attr_t *)0,
52478 thread_func, (void *)0))
52479 return 0;
52480 if (pthread_join (thread, &thread_retval))
52481 return 0;
52482 return (a_in_other_thread == a_in_main_thread);
52484 return 0;
52486 _ACEOF
52487 if ac_fn_c_try_run "$LINENO"; then :
52488 gcc_cv_have_tls=yes
52489 else
52490 gcc_cv_have_tls=no
52492 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52493 conftest.$ac_objext conftest.beam conftest.$ac_ext
52496 CFLAGS="$chktls_save_CFLAGS"
52499 else
52500 gcc_cv_have_tls=no
52502 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52503 conftest.$ac_objext conftest.beam conftest.$ac_ext
52507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
52508 $as_echo "$gcc_cv_have_tls" >&6; }
52509 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
52511 $as_echo "#define HAVE_TLS 1" >>confdefs.h
52519 am_save_CPPFLAGS="$CPPFLAGS"
52521 for element in $INCICONV; do
52522 haveit=
52523 for x in $CPPFLAGS; do
52525 acl_save_prefix="$prefix"
52526 prefix="$acl_final_prefix"
52527 acl_save_exec_prefix="$exec_prefix"
52528 exec_prefix="$acl_final_exec_prefix"
52529 eval x=\"$x\"
52530 exec_prefix="$acl_save_exec_prefix"
52531 prefix="$acl_save_prefix"
52533 if test "X$x" = "X$element"; then
52534 haveit=yes
52535 break
52537 done
52538 if test -z "$haveit"; then
52539 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
52541 done
52544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
52545 $as_echo_n "checking for iconv... " >&6; }
52546 if test "${am_cv_func_iconv+set}" = set; then :
52547 $as_echo_n "(cached) " >&6
52548 else
52550 am_cv_func_iconv="no, consider installing GNU libiconv"
52551 am_cv_lib_iconv=no
52552 if test x$gcc_no_link = xyes; then
52553 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52556 /* end confdefs.h. */
52557 #include <stdlib.h>
52558 #include <iconv.h>
52560 main ()
52562 iconv_t cd = iconv_open("","");
52563 iconv(cd,NULL,NULL,NULL,NULL);
52564 iconv_close(cd);
52566 return 0;
52568 _ACEOF
52569 if ac_fn_c_try_link "$LINENO"; then :
52570 am_cv_func_iconv=yes
52572 rm -f core conftest.err conftest.$ac_objext \
52573 conftest$ac_exeext conftest.$ac_ext
52574 if test "$am_cv_func_iconv" != yes; then
52575 am_save_LIBS="$LIBS"
52576 LIBS="$LIBS $LIBICONV"
52577 if test x$gcc_no_link = xyes; then
52578 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52581 /* end confdefs.h. */
52582 #include <stdlib.h>
52583 #include <iconv.h>
52585 main ()
52587 iconv_t cd = iconv_open("","");
52588 iconv(cd,NULL,NULL,NULL,NULL);
52589 iconv_close(cd);
52591 return 0;
52593 _ACEOF
52594 if ac_fn_c_try_link "$LINENO"; then :
52595 am_cv_lib_iconv=yes
52596 am_cv_func_iconv=yes
52598 rm -f core conftest.err conftest.$ac_objext \
52599 conftest$ac_exeext conftest.$ac_ext
52600 LIBS="$am_save_LIBS"
52604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
52605 $as_echo "$am_cv_func_iconv" >&6; }
52606 if test "$am_cv_func_iconv" = yes; then
52608 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
52611 if test "$am_cv_lib_iconv" = yes; then
52612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
52613 $as_echo_n "checking how to link with libiconv... " >&6; }
52614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
52615 $as_echo "$LIBICONV" >&6; }
52616 else
52617 CPPFLAGS="$am_save_CPPFLAGS"
52618 LIBICONV=
52619 LTLIBICONV=
52624 if test "$am_cv_func_iconv" = yes; then
52625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
52626 $as_echo_n "checking for iconv declaration... " >&6; }
52627 if test "${am_cv_proto_iconv+set}" = set; then :
52628 $as_echo_n "(cached) " >&6
52629 else
52631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52632 /* end confdefs.h. */
52634 #include <stdlib.h>
52635 #include <iconv.h>
52636 extern
52637 #ifdef __cplusplus
52639 #endif
52640 #if defined(__STDC__) || defined(__cplusplus)
52641 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
52642 #else
52643 size_t iconv();
52644 #endif
52647 main ()
52651 return 0;
52653 _ACEOF
52654 if ac_fn_c_try_compile "$LINENO"; then :
52655 am_cv_proto_iconv_arg1=""
52656 else
52657 am_cv_proto_iconv_arg1="const"
52659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52660 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);"
52663 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
52664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
52665 }$am_cv_proto_iconv" >&5
52666 $as_echo "${ac_t:-
52667 }$am_cv_proto_iconv" >&6; }
52669 cat >>confdefs.h <<_ACEOF
52670 #define ICONV_CONST $am_cv_proto_iconv_arg1
52671 _ACEOF
52676 *-mingw32*)
52678 # If we're not using GNU ld, then there's no point in even trying these
52679 # tests. Check for that first. We should have already tested for gld
52680 # by now (in libtool), but require it now just to be safe...
52681 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52682 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52686 # The name set by libtool depends on the version of libtool. Shame on us
52687 # for depending on an impl detail, but c'est la vie. Older versions used
52688 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52689 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52690 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52691 # set (hence we're using an older libtool), then set it.
52692 if test x${with_gnu_ld+set} != xset; then
52693 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52694 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52695 with_gnu_ld=no
52696 else
52697 with_gnu_ld=$ac_cv_prog_gnu_ld
52701 # Start by getting the version number. I think the libtool test already
52702 # does some of this, but throws away the result.
52703 glibcxx_ld_is_gold=no
52704 if test x"$with_gnu_ld" = x"yes"; then
52705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52706 $as_echo_n "checking for ld version... " >&6; }
52708 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52709 glibcxx_ld_is_gold=yes
52711 ldver=`$LD --version 2>/dev/null |
52712 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'`
52714 glibcxx_gnu_ld_version=`echo $ldver | \
52715 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52717 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52720 # Set --gc-sections.
52721 glibcxx_have_gc_sections=no
52722 if test "$glibcxx_ld_is_gold" = "yes"; then
52723 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52724 glibcxx_have_gc_sections=yes
52726 else
52727 glibcxx_gcsections_min_ld=21602
52728 if test x"$with_gnu_ld" = x"yes" &&
52729 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52730 glibcxx_have_gc_sections=yes
52733 if test "$glibcxx_have_gc_sections" = "yes"; then
52734 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52735 # NB: This flag only works reliably after 2.16.1. Configure tests
52736 # for this are difficult, so hard wire a value that should work.
52738 ac_test_CFLAGS="${CFLAGS+set}"
52739 ac_save_CFLAGS="$CFLAGS"
52740 CFLAGS='-Wl,--gc-sections'
52742 # Check for -Wl,--gc-sections
52743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52744 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52745 if test x$gcc_no_link = xyes; then
52746 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52749 /* end confdefs.h. */
52750 int one(void) { return 1; }
52751 int two(void) { return 2; }
52754 main ()
52756 two();
52758 return 0;
52760 _ACEOF
52761 if ac_fn_c_try_link "$LINENO"; then :
52762 ac_gcsections=yes
52763 else
52764 ac_gcsections=no
52766 rm -f core conftest.err conftest.$ac_objext \
52767 conftest$ac_exeext conftest.$ac_ext
52768 if test "$ac_gcsections" = "yes"; then
52769 rm -f conftest.c
52770 touch conftest.c
52771 if $CC -c conftest.c; then
52772 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52773 grep "Warning: gc-sections option ignored" > /dev/null; then
52774 ac_gcsections=no
52777 rm -f conftest.c conftest.o conftest
52779 if test "$ac_gcsections" = "yes"; then
52780 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52783 $as_echo "$ac_gcsections" >&6; }
52785 if test "$ac_test_CFLAGS" = set; then
52786 CFLAGS="$ac_save_CFLAGS"
52787 else
52788 # this is the suspicious part
52789 CFLAGS=''
52793 # Set -z,relro.
52794 # Note this is only for shared objects.
52795 ac_ld_relro=no
52796 if test x"$with_gnu_ld" = x"yes"; then
52797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52798 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52799 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52800 if test -n "$cxx_z_relo"; then
52801 OPT_LDFLAGS="-Wl,-z,relro"
52802 ac_ld_relro=yes
52804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52805 $as_echo "$ac_ld_relro" >&6; }
52808 # Set linker optimization flags.
52809 if test x"$with_gnu_ld" = x"yes"; then
52810 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52817 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52818 ac_save_CXXFLAGS="$CXXFLAGS"
52819 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
52822 $as_echo_n "checking for sin in -lm... " >&6; }
52823 if test "${ac_cv_lib_m_sin+set}" = set; then :
52824 $as_echo_n "(cached) " >&6
52825 else
52826 ac_check_lib_save_LIBS=$LIBS
52827 LIBS="-lm $LIBS"
52828 if test x$gcc_no_link = xyes; then
52829 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52832 /* end confdefs.h. */
52834 /* Override any GCC internal prototype to avoid an error.
52835 Use char because int might match the return type of a GCC
52836 builtin and then its argument prototype would still apply. */
52837 #ifdef __cplusplus
52838 extern "C"
52839 #endif
52840 char sin ();
52842 main ()
52844 return sin ();
52846 return 0;
52848 _ACEOF
52849 if ac_fn_c_try_link "$LINENO"; then :
52850 ac_cv_lib_m_sin=yes
52851 else
52852 ac_cv_lib_m_sin=no
52854 rm -f core conftest.err conftest.$ac_objext \
52855 conftest$ac_exeext conftest.$ac_ext
52856 LIBS=$ac_check_lib_save_LIBS
52858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
52859 $as_echo "$ac_cv_lib_m_sin" >&6; }
52860 if test "x$ac_cv_lib_m_sin" = x""yes; then :
52861 libm="-lm"
52864 ac_save_LIBS="$LIBS"
52865 LIBS="$LIBS $libm"
52869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
52870 $as_echo_n "checking for isinf declaration... " >&6; }
52871 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
52872 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
52873 $as_echo_n "(cached) " >&6
52874 else
52877 ac_ext=cpp
52878 ac_cpp='$CXXCPP $CPPFLAGS'
52879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52884 /* end confdefs.h. */
52885 #include <math.h>
52886 #ifdef HAVE_IEEEFP_H
52887 #include <ieeefp.h>
52888 #endif
52891 main ()
52893 isinf(0);
52895 return 0;
52897 _ACEOF
52898 if ac_fn_cxx_try_compile "$LINENO"; then :
52899 glibcxx_cv_func_isinf_use=yes
52900 else
52901 glibcxx_cv_func_isinf_use=no
52903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52904 ac_ext=c
52905 ac_cpp='$CPP $CPPFLAGS'
52906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
52915 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
52917 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
52918 for ac_func in isinf
52919 do :
52920 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
52921 if test "x$ac_cv_func_isinf" = x""yes; then :
52922 cat >>confdefs.h <<_ACEOF
52923 #define HAVE_ISINF 1
52924 _ACEOF
52927 done
52929 else
52931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
52932 $as_echo_n "checking for _isinf declaration... " >&6; }
52933 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52934 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52935 $as_echo_n "(cached) " >&6
52936 else
52939 ac_ext=cpp
52940 ac_cpp='$CXXCPP $CPPFLAGS'
52941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52946 /* end confdefs.h. */
52947 #include <math.h>
52948 #ifdef HAVE_IEEEFP_H
52949 #include <ieeefp.h>
52950 #endif
52953 main ()
52955 _isinf(0);
52957 return 0;
52959 _ACEOF
52960 if ac_fn_cxx_try_compile "$LINENO"; then :
52961 glibcxx_cv_func__isinf_use=yes
52962 else
52963 glibcxx_cv_func__isinf_use=no
52965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52966 ac_ext=c
52967 ac_cpp='$CPP $CPPFLAGS'
52968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52977 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52979 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52980 for ac_func in _isinf
52981 do :
52982 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52983 if test "x$ac_cv_func__isinf" = x""yes; then :
52984 cat >>confdefs.h <<_ACEOF
52985 #define HAVE__ISINF 1
52986 _ACEOF
52989 done
52998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52999 $as_echo_n "checking for isnan declaration... " >&6; }
53000 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
53001 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
53002 $as_echo_n "(cached) " >&6
53003 else
53006 ac_ext=cpp
53007 ac_cpp='$CXXCPP $CPPFLAGS'
53008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53013 /* end confdefs.h. */
53014 #include <math.h>
53015 #ifdef HAVE_IEEEFP_H
53016 #include <ieeefp.h>
53017 #endif
53020 main ()
53022 isnan(0);
53024 return 0;
53026 _ACEOF
53027 if ac_fn_cxx_try_compile "$LINENO"; then :
53028 glibcxx_cv_func_isnan_use=yes
53029 else
53030 glibcxx_cv_func_isnan_use=no
53032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53033 ac_ext=c
53034 ac_cpp='$CPP $CPPFLAGS'
53035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
53044 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
53046 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
53047 for ac_func in isnan
53048 do :
53049 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
53050 if test "x$ac_cv_func_isnan" = x""yes; then :
53051 cat >>confdefs.h <<_ACEOF
53052 #define HAVE_ISNAN 1
53053 _ACEOF
53056 done
53058 else
53060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
53061 $as_echo_n "checking for _isnan declaration... " >&6; }
53062 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
53063 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
53064 $as_echo_n "(cached) " >&6
53065 else
53068 ac_ext=cpp
53069 ac_cpp='$CXXCPP $CPPFLAGS'
53070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53075 /* end confdefs.h. */
53076 #include <math.h>
53077 #ifdef HAVE_IEEEFP_H
53078 #include <ieeefp.h>
53079 #endif
53082 main ()
53084 _isnan(0);
53086 return 0;
53088 _ACEOF
53089 if ac_fn_cxx_try_compile "$LINENO"; then :
53090 glibcxx_cv_func__isnan_use=yes
53091 else
53092 glibcxx_cv_func__isnan_use=no
53094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53095 ac_ext=c
53096 ac_cpp='$CPP $CPPFLAGS'
53097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
53106 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
53108 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
53109 for ac_func in _isnan
53110 do :
53111 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
53112 if test "x$ac_cv_func__isnan" = x""yes; then :
53113 cat >>confdefs.h <<_ACEOF
53114 #define HAVE__ISNAN 1
53115 _ACEOF
53118 done
53127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
53128 $as_echo_n "checking for finite declaration... " >&6; }
53129 if test x${glibcxx_cv_func_finite_use+set} != xset; then
53130 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
53131 $as_echo_n "(cached) " >&6
53132 else
53135 ac_ext=cpp
53136 ac_cpp='$CXXCPP $CPPFLAGS'
53137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53142 /* end confdefs.h. */
53143 #include <math.h>
53144 #ifdef HAVE_IEEEFP_H
53145 #include <ieeefp.h>
53146 #endif
53149 main ()
53151 finite(0);
53153 return 0;
53155 _ACEOF
53156 if ac_fn_cxx_try_compile "$LINENO"; then :
53157 glibcxx_cv_func_finite_use=yes
53158 else
53159 glibcxx_cv_func_finite_use=no
53161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53162 ac_ext=c
53163 ac_cpp='$CPP $CPPFLAGS'
53164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
53173 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
53175 if test x$glibcxx_cv_func_finite_use = x"yes"; then
53176 for ac_func in finite
53177 do :
53178 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
53179 if test "x$ac_cv_func_finite" = x""yes; then :
53180 cat >>confdefs.h <<_ACEOF
53181 #define HAVE_FINITE 1
53182 _ACEOF
53185 done
53187 else
53189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
53190 $as_echo_n "checking for _finite declaration... " >&6; }
53191 if test x${glibcxx_cv_func__finite_use+set} != xset; then
53192 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
53193 $as_echo_n "(cached) " >&6
53194 else
53197 ac_ext=cpp
53198 ac_cpp='$CXXCPP $CPPFLAGS'
53199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53204 /* end confdefs.h. */
53205 #include <math.h>
53206 #ifdef HAVE_IEEEFP_H
53207 #include <ieeefp.h>
53208 #endif
53211 main ()
53213 _finite(0);
53215 return 0;
53217 _ACEOF
53218 if ac_fn_cxx_try_compile "$LINENO"; then :
53219 glibcxx_cv_func__finite_use=yes
53220 else
53221 glibcxx_cv_func__finite_use=no
53223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53224 ac_ext=c
53225 ac_cpp='$CPP $CPPFLAGS'
53226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
53235 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
53237 if test x$glibcxx_cv_func__finite_use = x"yes"; then
53238 for ac_func in _finite
53239 do :
53240 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
53241 if test "x$ac_cv_func__finite" = x""yes; then :
53242 cat >>confdefs.h <<_ACEOF
53243 #define HAVE__FINITE 1
53244 _ACEOF
53247 done
53256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
53257 $as_echo_n "checking for sincos declaration... " >&6; }
53258 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
53259 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
53260 $as_echo_n "(cached) " >&6
53261 else
53264 ac_ext=cpp
53265 ac_cpp='$CXXCPP $CPPFLAGS'
53266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53271 /* end confdefs.h. */
53272 #include <math.h>
53274 main ()
53276 sincos(0, 0, 0);
53278 return 0;
53280 _ACEOF
53281 if ac_fn_cxx_try_compile "$LINENO"; then :
53282 glibcxx_cv_func_sincos_use=yes
53283 else
53284 glibcxx_cv_func_sincos_use=no
53286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53287 ac_ext=c
53288 ac_cpp='$CPP $CPPFLAGS'
53289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
53298 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
53300 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
53301 for ac_func in sincos
53302 do :
53303 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
53304 if test "x$ac_cv_func_sincos" = x""yes; then :
53305 cat >>confdefs.h <<_ACEOF
53306 #define HAVE_SINCOS 1
53307 _ACEOF
53310 done
53312 else
53314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
53315 $as_echo_n "checking for _sincos declaration... " >&6; }
53316 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
53317 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
53318 $as_echo_n "(cached) " >&6
53319 else
53322 ac_ext=cpp
53323 ac_cpp='$CXXCPP $CPPFLAGS'
53324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53329 /* end confdefs.h. */
53330 #include <math.h>
53332 main ()
53334 _sincos(0, 0, 0);
53336 return 0;
53338 _ACEOF
53339 if ac_fn_cxx_try_compile "$LINENO"; then :
53340 glibcxx_cv_func__sincos_use=yes
53341 else
53342 glibcxx_cv_func__sincos_use=no
53344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53345 ac_ext=c
53346 ac_cpp='$CPP $CPPFLAGS'
53347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
53356 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
53358 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
53359 for ac_func in _sincos
53360 do :
53361 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
53362 if test "x$ac_cv_func__sincos" = x""yes; then :
53363 cat >>confdefs.h <<_ACEOF
53364 #define HAVE__SINCOS 1
53365 _ACEOF
53368 done
53377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
53378 $as_echo_n "checking for fpclass declaration... " >&6; }
53379 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
53380 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
53381 $as_echo_n "(cached) " >&6
53382 else
53385 ac_ext=cpp
53386 ac_cpp='$CXXCPP $CPPFLAGS'
53387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53392 /* end confdefs.h. */
53393 #include <math.h>
53394 #ifdef HAVE_IEEEFP_H
53395 #include <ieeefp.h>
53396 #endif
53399 main ()
53401 fpclass(0);
53403 return 0;
53405 _ACEOF
53406 if ac_fn_cxx_try_compile "$LINENO"; then :
53407 glibcxx_cv_func_fpclass_use=yes
53408 else
53409 glibcxx_cv_func_fpclass_use=no
53411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53412 ac_ext=c
53413 ac_cpp='$CPP $CPPFLAGS'
53414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
53423 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
53425 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
53426 for ac_func in fpclass
53427 do :
53428 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
53429 if test "x$ac_cv_func_fpclass" = x""yes; then :
53430 cat >>confdefs.h <<_ACEOF
53431 #define HAVE_FPCLASS 1
53432 _ACEOF
53435 done
53437 else
53439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
53440 $as_echo_n "checking for _fpclass declaration... " >&6; }
53441 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
53442 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
53443 $as_echo_n "(cached) " >&6
53444 else
53447 ac_ext=cpp
53448 ac_cpp='$CXXCPP $CPPFLAGS'
53449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53454 /* end confdefs.h. */
53455 #include <math.h>
53456 #ifdef HAVE_IEEEFP_H
53457 #include <ieeefp.h>
53458 #endif
53461 main ()
53463 _fpclass(0);
53465 return 0;
53467 _ACEOF
53468 if ac_fn_cxx_try_compile "$LINENO"; then :
53469 glibcxx_cv_func__fpclass_use=yes
53470 else
53471 glibcxx_cv_func__fpclass_use=no
53473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53474 ac_ext=c
53475 ac_cpp='$CPP $CPPFLAGS'
53476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
53485 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
53487 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
53488 for ac_func in _fpclass
53489 do :
53490 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
53491 if test "x$ac_cv_func__fpclass" = x""yes; then :
53492 cat >>confdefs.h <<_ACEOF
53493 #define HAVE__FPCLASS 1
53494 _ACEOF
53497 done
53506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
53507 $as_echo_n "checking for qfpclass declaration... " >&6; }
53508 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
53509 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
53510 $as_echo_n "(cached) " >&6
53511 else
53514 ac_ext=cpp
53515 ac_cpp='$CXXCPP $CPPFLAGS'
53516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53521 /* end confdefs.h. */
53522 #include <math.h>
53523 #ifdef HAVE_IEEEFP_H
53524 #include <ieeefp.h>
53525 #endif
53528 main ()
53530 qfpclass(0);
53532 return 0;
53534 _ACEOF
53535 if ac_fn_cxx_try_compile "$LINENO"; then :
53536 glibcxx_cv_func_qfpclass_use=yes
53537 else
53538 glibcxx_cv_func_qfpclass_use=no
53540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53541 ac_ext=c
53542 ac_cpp='$CPP $CPPFLAGS'
53543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
53552 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
53554 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
53555 for ac_func in qfpclass
53556 do :
53557 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
53558 if test "x$ac_cv_func_qfpclass" = x""yes; then :
53559 cat >>confdefs.h <<_ACEOF
53560 #define HAVE_QFPCLASS 1
53561 _ACEOF
53564 done
53566 else
53568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
53569 $as_echo_n "checking for _qfpclass declaration... " >&6; }
53570 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
53571 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
53572 $as_echo_n "(cached) " >&6
53573 else
53576 ac_ext=cpp
53577 ac_cpp='$CXXCPP $CPPFLAGS'
53578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53583 /* end confdefs.h. */
53584 #include <math.h>
53585 #ifdef HAVE_IEEEFP_H
53586 #include <ieeefp.h>
53587 #endif
53590 main ()
53592 _qfpclass(0);
53594 return 0;
53596 _ACEOF
53597 if ac_fn_cxx_try_compile "$LINENO"; then :
53598 glibcxx_cv_func__qfpclass_use=yes
53599 else
53600 glibcxx_cv_func__qfpclass_use=no
53602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53603 ac_ext=c
53604 ac_cpp='$CPP $CPPFLAGS'
53605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
53614 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
53616 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
53617 for ac_func in _qfpclass
53618 do :
53619 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
53620 if test "x$ac_cv_func__qfpclass" = x""yes; then :
53621 cat >>confdefs.h <<_ACEOF
53622 #define HAVE__QFPCLASS 1
53623 _ACEOF
53626 done
53635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
53636 $as_echo_n "checking for hypot declaration... " >&6; }
53637 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
53638 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
53639 $as_echo_n "(cached) " >&6
53640 else
53643 ac_ext=cpp
53644 ac_cpp='$CXXCPP $CPPFLAGS'
53645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53650 /* end confdefs.h. */
53651 #include <math.h>
53653 main ()
53655 hypot(0, 0);
53657 return 0;
53659 _ACEOF
53660 if ac_fn_cxx_try_compile "$LINENO"; then :
53661 glibcxx_cv_func_hypot_use=yes
53662 else
53663 glibcxx_cv_func_hypot_use=no
53665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53666 ac_ext=c
53667 ac_cpp='$CPP $CPPFLAGS'
53668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
53677 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
53679 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
53680 for ac_func in hypot
53681 do :
53682 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
53683 if test "x$ac_cv_func_hypot" = x""yes; then :
53684 cat >>confdefs.h <<_ACEOF
53685 #define HAVE_HYPOT 1
53686 _ACEOF
53689 done
53691 else
53693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
53694 $as_echo_n "checking for _hypot declaration... " >&6; }
53695 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
53696 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
53697 $as_echo_n "(cached) " >&6
53698 else
53701 ac_ext=cpp
53702 ac_cpp='$CXXCPP $CPPFLAGS'
53703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53708 /* end confdefs.h. */
53709 #include <math.h>
53711 main ()
53713 _hypot(0, 0);
53715 return 0;
53717 _ACEOF
53718 if ac_fn_cxx_try_compile "$LINENO"; then :
53719 glibcxx_cv_func__hypot_use=yes
53720 else
53721 glibcxx_cv_func__hypot_use=no
53723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53724 ac_ext=c
53725 ac_cpp='$CPP $CPPFLAGS'
53726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
53735 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
53737 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
53738 for ac_func in _hypot
53739 do :
53740 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
53741 if test "x$ac_cv_func__hypot" = x""yes; then :
53742 cat >>confdefs.h <<_ACEOF
53743 #define HAVE__HYPOT 1
53744 _ACEOF
53747 done
53756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
53757 $as_echo_n "checking for float trig functions... " >&6; }
53758 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
53759 $as_echo_n "(cached) " >&6
53760 else
53763 ac_ext=cpp
53764 ac_cpp='$CXXCPP $CPPFLAGS'
53765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53770 /* end confdefs.h. */
53771 #include <math.h>
53773 main ()
53775 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
53777 return 0;
53779 _ACEOF
53780 if ac_fn_cxx_try_compile "$LINENO"; then :
53781 glibcxx_cv_func_float_trig_use=yes
53782 else
53783 glibcxx_cv_func_float_trig_use=no
53785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53786 ac_ext=c
53787 ac_cpp='$CPP $CPPFLAGS'
53788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
53795 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
53796 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
53797 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
53798 do :
53799 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53800 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53801 eval as_val=\$$as_ac_var
53802 if test "x$as_val" = x""yes; then :
53803 cat >>confdefs.h <<_ACEOF
53804 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53805 _ACEOF
53808 done
53810 else
53811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
53812 $as_echo_n "checking for _float trig functions... " >&6; }
53813 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
53814 $as_echo_n "(cached) " >&6
53815 else
53818 ac_ext=cpp
53819 ac_cpp='$CXXCPP $CPPFLAGS'
53820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53825 /* end confdefs.h. */
53826 #include <math.h>
53828 main ()
53830 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
53832 return 0;
53834 _ACEOF
53835 if ac_fn_cxx_try_compile "$LINENO"; then :
53836 glibcxx_cv_func__float_trig_use=yes
53837 else
53838 glibcxx_cv_func__float_trig_use=no
53840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
53849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
53850 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
53851 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
53852 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
53853 do :
53854 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53855 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53856 eval as_val=\$$as_ac_var
53857 if test "x$as_val" = x""yes; then :
53858 cat >>confdefs.h <<_ACEOF
53859 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53860 _ACEOF
53863 done
53872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
53873 $as_echo_n "checking for float round functions... " >&6; }
53874 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
53875 $as_echo_n "(cached) " >&6
53876 else
53879 ac_ext=cpp
53880 ac_cpp='$CXXCPP $CPPFLAGS'
53881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53886 /* end confdefs.h. */
53887 #include <math.h>
53889 main ()
53891 ceilf (0); floorf (0);
53893 return 0;
53895 _ACEOF
53896 if ac_fn_cxx_try_compile "$LINENO"; then :
53897 glibcxx_cv_func_float_round_use=yes
53898 else
53899 glibcxx_cv_func_float_round_use=no
53901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53902 ac_ext=c
53903 ac_cpp='$CPP $CPPFLAGS'
53904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
53911 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
53912 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
53913 for ac_func in ceilf floorf
53914 do :
53915 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53916 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53917 eval as_val=\$$as_ac_var
53918 if test "x$as_val" = x""yes; then :
53919 cat >>confdefs.h <<_ACEOF
53920 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53921 _ACEOF
53924 done
53926 else
53927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
53928 $as_echo_n "checking for _float round functions... " >&6; }
53929 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
53930 $as_echo_n "(cached) " >&6
53931 else
53934 ac_ext=cpp
53935 ac_cpp='$CXXCPP $CPPFLAGS'
53936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53941 /* end confdefs.h. */
53942 #include <math.h>
53944 main ()
53946 _ceilf (0); _floorf (0);
53948 return 0;
53950 _ACEOF
53951 if ac_fn_cxx_try_compile "$LINENO"; then :
53952 glibcxx_cv_func__float_round_use=yes
53953 else
53954 glibcxx_cv_func__float_round_use=no
53956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53957 ac_ext=c
53958 ac_cpp='$CPP $CPPFLAGS'
53959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53966 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53967 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53968 for ac_func in _ceilf _floorf
53969 do :
53970 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53971 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53972 eval as_val=\$$as_ac_var
53973 if test "x$as_val" = x""yes; then :
53974 cat >>confdefs.h <<_ACEOF
53975 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53976 _ACEOF
53979 done
53989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53990 $as_echo_n "checking for expf declaration... " >&6; }
53991 if test x${glibcxx_cv_func_expf_use+set} != xset; then
53992 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53993 $as_echo_n "(cached) " >&6
53994 else
53997 ac_ext=cpp
53998 ac_cpp='$CXXCPP $CPPFLAGS'
53999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54004 /* end confdefs.h. */
54005 #include <math.h>
54006 #ifdef HAVE_IEEEFP_H
54007 #include <ieeefp.h>
54008 #endif
54011 main ()
54013 expf(0);
54015 return 0;
54017 _ACEOF
54018 if ac_fn_cxx_try_compile "$LINENO"; then :
54019 glibcxx_cv_func_expf_use=yes
54020 else
54021 glibcxx_cv_func_expf_use=no
54023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54024 ac_ext=c
54025 ac_cpp='$CPP $CPPFLAGS'
54026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
54035 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
54037 if test x$glibcxx_cv_func_expf_use = x"yes"; then
54038 for ac_func in expf
54039 do :
54040 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
54041 if test "x$ac_cv_func_expf" = x""yes; then :
54042 cat >>confdefs.h <<_ACEOF
54043 #define HAVE_EXPF 1
54044 _ACEOF
54047 done
54049 else
54051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
54052 $as_echo_n "checking for _expf declaration... " >&6; }
54053 if test x${glibcxx_cv_func__expf_use+set} != xset; then
54054 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
54055 $as_echo_n "(cached) " >&6
54056 else
54059 ac_ext=cpp
54060 ac_cpp='$CXXCPP $CPPFLAGS'
54061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54066 /* end confdefs.h. */
54067 #include <math.h>
54068 #ifdef HAVE_IEEEFP_H
54069 #include <ieeefp.h>
54070 #endif
54073 main ()
54075 _expf(0);
54077 return 0;
54079 _ACEOF
54080 if ac_fn_cxx_try_compile "$LINENO"; then :
54081 glibcxx_cv_func__expf_use=yes
54082 else
54083 glibcxx_cv_func__expf_use=no
54085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54086 ac_ext=c
54087 ac_cpp='$CPP $CPPFLAGS'
54088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
54097 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
54099 if test x$glibcxx_cv_func__expf_use = x"yes"; then
54100 for ac_func in _expf
54101 do :
54102 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
54103 if test "x$ac_cv_func__expf" = x""yes; then :
54104 cat >>confdefs.h <<_ACEOF
54105 #define HAVE__EXPF 1
54106 _ACEOF
54109 done
54118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
54119 $as_echo_n "checking for isnanf declaration... " >&6; }
54120 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
54121 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
54122 $as_echo_n "(cached) " >&6
54123 else
54126 ac_ext=cpp
54127 ac_cpp='$CXXCPP $CPPFLAGS'
54128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54133 /* end confdefs.h. */
54134 #include <math.h>
54135 #ifdef HAVE_IEEEFP_H
54136 #include <ieeefp.h>
54137 #endif
54140 main ()
54142 isnanf(0);
54144 return 0;
54146 _ACEOF
54147 if ac_fn_cxx_try_compile "$LINENO"; then :
54148 glibcxx_cv_func_isnanf_use=yes
54149 else
54150 glibcxx_cv_func_isnanf_use=no
54152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54153 ac_ext=c
54154 ac_cpp='$CPP $CPPFLAGS'
54155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
54164 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
54166 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
54167 for ac_func in isnanf
54168 do :
54169 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
54170 if test "x$ac_cv_func_isnanf" = x""yes; then :
54171 cat >>confdefs.h <<_ACEOF
54172 #define HAVE_ISNANF 1
54173 _ACEOF
54176 done
54178 else
54180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
54181 $as_echo_n "checking for _isnanf declaration... " >&6; }
54182 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
54183 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
54184 $as_echo_n "(cached) " >&6
54185 else
54188 ac_ext=cpp
54189 ac_cpp='$CXXCPP $CPPFLAGS'
54190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54195 /* end confdefs.h. */
54196 #include <math.h>
54197 #ifdef HAVE_IEEEFP_H
54198 #include <ieeefp.h>
54199 #endif
54202 main ()
54204 _isnanf(0);
54206 return 0;
54208 _ACEOF
54209 if ac_fn_cxx_try_compile "$LINENO"; then :
54210 glibcxx_cv_func__isnanf_use=yes
54211 else
54212 glibcxx_cv_func__isnanf_use=no
54214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54215 ac_ext=c
54216 ac_cpp='$CPP $CPPFLAGS'
54217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
54226 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
54228 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
54229 for ac_func in _isnanf
54230 do :
54231 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
54232 if test "x$ac_cv_func__isnanf" = x""yes; then :
54233 cat >>confdefs.h <<_ACEOF
54234 #define HAVE__ISNANF 1
54235 _ACEOF
54238 done
54247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
54248 $as_echo_n "checking for isinff declaration... " >&6; }
54249 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
54250 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
54251 $as_echo_n "(cached) " >&6
54252 else
54255 ac_ext=cpp
54256 ac_cpp='$CXXCPP $CPPFLAGS'
54257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54262 /* end confdefs.h. */
54263 #include <math.h>
54264 #ifdef HAVE_IEEEFP_H
54265 #include <ieeefp.h>
54266 #endif
54269 main ()
54271 isinff(0);
54273 return 0;
54275 _ACEOF
54276 if ac_fn_cxx_try_compile "$LINENO"; then :
54277 glibcxx_cv_func_isinff_use=yes
54278 else
54279 glibcxx_cv_func_isinff_use=no
54281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54282 ac_ext=c
54283 ac_cpp='$CPP $CPPFLAGS'
54284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
54293 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
54295 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
54296 for ac_func in isinff
54297 do :
54298 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
54299 if test "x$ac_cv_func_isinff" = x""yes; then :
54300 cat >>confdefs.h <<_ACEOF
54301 #define HAVE_ISINFF 1
54302 _ACEOF
54305 done
54307 else
54309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
54310 $as_echo_n "checking for _isinff declaration... " >&6; }
54311 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
54312 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
54313 $as_echo_n "(cached) " >&6
54314 else
54317 ac_ext=cpp
54318 ac_cpp='$CXXCPP $CPPFLAGS'
54319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54324 /* end confdefs.h. */
54325 #include <math.h>
54326 #ifdef HAVE_IEEEFP_H
54327 #include <ieeefp.h>
54328 #endif
54331 main ()
54333 _isinff(0);
54335 return 0;
54337 _ACEOF
54338 if ac_fn_cxx_try_compile "$LINENO"; then :
54339 glibcxx_cv_func__isinff_use=yes
54340 else
54341 glibcxx_cv_func__isinff_use=no
54343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54344 ac_ext=c
54345 ac_cpp='$CPP $CPPFLAGS'
54346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
54355 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
54357 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
54358 for ac_func in _isinff
54359 do :
54360 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
54361 if test "x$ac_cv_func__isinff" = x""yes; then :
54362 cat >>confdefs.h <<_ACEOF
54363 #define HAVE__ISINFF 1
54364 _ACEOF
54367 done
54376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
54377 $as_echo_n "checking for atan2f declaration... " >&6; }
54378 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
54379 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
54380 $as_echo_n "(cached) " >&6
54381 else
54384 ac_ext=cpp
54385 ac_cpp='$CXXCPP $CPPFLAGS'
54386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54391 /* end confdefs.h. */
54392 #include <math.h>
54394 main ()
54396 atan2f(0, 0);
54398 return 0;
54400 _ACEOF
54401 if ac_fn_cxx_try_compile "$LINENO"; then :
54402 glibcxx_cv_func_atan2f_use=yes
54403 else
54404 glibcxx_cv_func_atan2f_use=no
54406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54407 ac_ext=c
54408 ac_cpp='$CPP $CPPFLAGS'
54409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
54418 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
54420 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
54421 for ac_func in atan2f
54422 do :
54423 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
54424 if test "x$ac_cv_func_atan2f" = x""yes; then :
54425 cat >>confdefs.h <<_ACEOF
54426 #define HAVE_ATAN2F 1
54427 _ACEOF
54430 done
54432 else
54434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
54435 $as_echo_n "checking for _atan2f declaration... " >&6; }
54436 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
54437 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
54438 $as_echo_n "(cached) " >&6
54439 else
54442 ac_ext=cpp
54443 ac_cpp='$CXXCPP $CPPFLAGS'
54444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54449 /* end confdefs.h. */
54450 #include <math.h>
54452 main ()
54454 _atan2f(0, 0);
54456 return 0;
54458 _ACEOF
54459 if ac_fn_cxx_try_compile "$LINENO"; then :
54460 glibcxx_cv_func__atan2f_use=yes
54461 else
54462 glibcxx_cv_func__atan2f_use=no
54464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54465 ac_ext=c
54466 ac_cpp='$CPP $CPPFLAGS'
54467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
54476 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
54478 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
54479 for ac_func in _atan2f
54480 do :
54481 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
54482 if test "x$ac_cv_func__atan2f" = x""yes; then :
54483 cat >>confdefs.h <<_ACEOF
54484 #define HAVE__ATAN2F 1
54485 _ACEOF
54488 done
54497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
54498 $as_echo_n "checking for fabsf declaration... " >&6; }
54499 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
54500 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
54501 $as_echo_n "(cached) " >&6
54502 else
54505 ac_ext=cpp
54506 ac_cpp='$CXXCPP $CPPFLAGS'
54507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54512 /* end confdefs.h. */
54513 #include <math.h>
54514 #ifdef HAVE_IEEEFP_H
54515 #include <ieeefp.h>
54516 #endif
54519 main ()
54521 fabsf(0);
54523 return 0;
54525 _ACEOF
54526 if ac_fn_cxx_try_compile "$LINENO"; then :
54527 glibcxx_cv_func_fabsf_use=yes
54528 else
54529 glibcxx_cv_func_fabsf_use=no
54531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54532 ac_ext=c
54533 ac_cpp='$CPP $CPPFLAGS'
54534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
54543 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
54545 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
54546 for ac_func in fabsf
54547 do :
54548 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
54549 if test "x$ac_cv_func_fabsf" = x""yes; then :
54550 cat >>confdefs.h <<_ACEOF
54551 #define HAVE_FABSF 1
54552 _ACEOF
54555 done
54557 else
54559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
54560 $as_echo_n "checking for _fabsf declaration... " >&6; }
54561 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
54562 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
54563 $as_echo_n "(cached) " >&6
54564 else
54567 ac_ext=cpp
54568 ac_cpp='$CXXCPP $CPPFLAGS'
54569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54574 /* end confdefs.h. */
54575 #include <math.h>
54576 #ifdef HAVE_IEEEFP_H
54577 #include <ieeefp.h>
54578 #endif
54581 main ()
54583 _fabsf(0);
54585 return 0;
54587 _ACEOF
54588 if ac_fn_cxx_try_compile "$LINENO"; then :
54589 glibcxx_cv_func__fabsf_use=yes
54590 else
54591 glibcxx_cv_func__fabsf_use=no
54593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54594 ac_ext=c
54595 ac_cpp='$CPP $CPPFLAGS'
54596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
54605 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
54607 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
54608 for ac_func in _fabsf
54609 do :
54610 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
54611 if test "x$ac_cv_func__fabsf" = x""yes; then :
54612 cat >>confdefs.h <<_ACEOF
54613 #define HAVE__FABSF 1
54614 _ACEOF
54617 done
54626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
54627 $as_echo_n "checking for fmodf declaration... " >&6; }
54628 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
54629 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
54630 $as_echo_n "(cached) " >&6
54631 else
54634 ac_ext=cpp
54635 ac_cpp='$CXXCPP $CPPFLAGS'
54636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54641 /* end confdefs.h. */
54642 #include <math.h>
54644 main ()
54646 fmodf(0, 0);
54648 return 0;
54650 _ACEOF
54651 if ac_fn_cxx_try_compile "$LINENO"; then :
54652 glibcxx_cv_func_fmodf_use=yes
54653 else
54654 glibcxx_cv_func_fmodf_use=no
54656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54657 ac_ext=c
54658 ac_cpp='$CPP $CPPFLAGS'
54659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
54668 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
54670 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
54671 for ac_func in fmodf
54672 do :
54673 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
54674 if test "x$ac_cv_func_fmodf" = x""yes; then :
54675 cat >>confdefs.h <<_ACEOF
54676 #define HAVE_FMODF 1
54677 _ACEOF
54680 done
54682 else
54684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
54685 $as_echo_n "checking for _fmodf declaration... " >&6; }
54686 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
54687 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
54688 $as_echo_n "(cached) " >&6
54689 else
54692 ac_ext=cpp
54693 ac_cpp='$CXXCPP $CPPFLAGS'
54694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54699 /* end confdefs.h. */
54700 #include <math.h>
54702 main ()
54704 _fmodf(0, 0);
54706 return 0;
54708 _ACEOF
54709 if ac_fn_cxx_try_compile "$LINENO"; then :
54710 glibcxx_cv_func__fmodf_use=yes
54711 else
54712 glibcxx_cv_func__fmodf_use=no
54714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54715 ac_ext=c
54716 ac_cpp='$CPP $CPPFLAGS'
54717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
54726 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
54728 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
54729 for ac_func in _fmodf
54730 do :
54731 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
54732 if test "x$ac_cv_func__fmodf" = x""yes; then :
54733 cat >>confdefs.h <<_ACEOF
54734 #define HAVE__FMODF 1
54735 _ACEOF
54738 done
54747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
54748 $as_echo_n "checking for frexpf declaration... " >&6; }
54749 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
54750 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
54751 $as_echo_n "(cached) " >&6
54752 else
54755 ac_ext=cpp
54756 ac_cpp='$CXXCPP $CPPFLAGS'
54757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54762 /* end confdefs.h. */
54763 #include <math.h>
54765 main ()
54767 frexpf(0, 0);
54769 return 0;
54771 _ACEOF
54772 if ac_fn_cxx_try_compile "$LINENO"; then :
54773 glibcxx_cv_func_frexpf_use=yes
54774 else
54775 glibcxx_cv_func_frexpf_use=no
54777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54778 ac_ext=c
54779 ac_cpp='$CPP $CPPFLAGS'
54780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
54789 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
54791 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
54792 for ac_func in frexpf
54793 do :
54794 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
54795 if test "x$ac_cv_func_frexpf" = x""yes; then :
54796 cat >>confdefs.h <<_ACEOF
54797 #define HAVE_FREXPF 1
54798 _ACEOF
54801 done
54803 else
54805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
54806 $as_echo_n "checking for _frexpf declaration... " >&6; }
54807 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
54808 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
54809 $as_echo_n "(cached) " >&6
54810 else
54813 ac_ext=cpp
54814 ac_cpp='$CXXCPP $CPPFLAGS'
54815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54820 /* end confdefs.h. */
54821 #include <math.h>
54823 main ()
54825 _frexpf(0, 0);
54827 return 0;
54829 _ACEOF
54830 if ac_fn_cxx_try_compile "$LINENO"; then :
54831 glibcxx_cv_func__frexpf_use=yes
54832 else
54833 glibcxx_cv_func__frexpf_use=no
54835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54836 ac_ext=c
54837 ac_cpp='$CPP $CPPFLAGS'
54838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
54847 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
54849 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
54850 for ac_func in _frexpf
54851 do :
54852 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
54853 if test "x$ac_cv_func__frexpf" = x""yes; then :
54854 cat >>confdefs.h <<_ACEOF
54855 #define HAVE__FREXPF 1
54856 _ACEOF
54859 done
54868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
54869 $as_echo_n "checking for hypotf declaration... " >&6; }
54870 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
54871 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
54872 $as_echo_n "(cached) " >&6
54873 else
54876 ac_ext=cpp
54877 ac_cpp='$CXXCPP $CPPFLAGS'
54878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54883 /* end confdefs.h. */
54884 #include <math.h>
54886 main ()
54888 hypotf(0, 0);
54890 return 0;
54892 _ACEOF
54893 if ac_fn_cxx_try_compile "$LINENO"; then :
54894 glibcxx_cv_func_hypotf_use=yes
54895 else
54896 glibcxx_cv_func_hypotf_use=no
54898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54899 ac_ext=c
54900 ac_cpp='$CPP $CPPFLAGS'
54901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
54910 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
54912 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
54913 for ac_func in hypotf
54914 do :
54915 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
54916 if test "x$ac_cv_func_hypotf" = x""yes; then :
54917 cat >>confdefs.h <<_ACEOF
54918 #define HAVE_HYPOTF 1
54919 _ACEOF
54922 done
54924 else
54926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
54927 $as_echo_n "checking for _hypotf declaration... " >&6; }
54928 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
54929 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
54930 $as_echo_n "(cached) " >&6
54931 else
54934 ac_ext=cpp
54935 ac_cpp='$CXXCPP $CPPFLAGS'
54936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54941 /* end confdefs.h. */
54942 #include <math.h>
54944 main ()
54946 _hypotf(0, 0);
54948 return 0;
54950 _ACEOF
54951 if ac_fn_cxx_try_compile "$LINENO"; then :
54952 glibcxx_cv_func__hypotf_use=yes
54953 else
54954 glibcxx_cv_func__hypotf_use=no
54956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54957 ac_ext=c
54958 ac_cpp='$CPP $CPPFLAGS'
54959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54968 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54970 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54971 for ac_func in _hypotf
54972 do :
54973 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54974 if test "x$ac_cv_func__hypotf" = x""yes; then :
54975 cat >>confdefs.h <<_ACEOF
54976 #define HAVE__HYPOTF 1
54977 _ACEOF
54980 done
54989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54990 $as_echo_n "checking for ldexpf declaration... " >&6; }
54991 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54992 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54993 $as_echo_n "(cached) " >&6
54994 else
54997 ac_ext=cpp
54998 ac_cpp='$CXXCPP $CPPFLAGS'
54999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55004 /* end confdefs.h. */
55005 #include <math.h>
55007 main ()
55009 ldexpf(0, 0);
55011 return 0;
55013 _ACEOF
55014 if ac_fn_cxx_try_compile "$LINENO"; then :
55015 glibcxx_cv_func_ldexpf_use=yes
55016 else
55017 glibcxx_cv_func_ldexpf_use=no
55019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55020 ac_ext=c
55021 ac_cpp='$CPP $CPPFLAGS'
55022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
55031 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
55033 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
55034 for ac_func in ldexpf
55035 do :
55036 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
55037 if test "x$ac_cv_func_ldexpf" = x""yes; then :
55038 cat >>confdefs.h <<_ACEOF
55039 #define HAVE_LDEXPF 1
55040 _ACEOF
55043 done
55045 else
55047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
55048 $as_echo_n "checking for _ldexpf declaration... " >&6; }
55049 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
55050 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
55051 $as_echo_n "(cached) " >&6
55052 else
55055 ac_ext=cpp
55056 ac_cpp='$CXXCPP $CPPFLAGS'
55057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55062 /* end confdefs.h. */
55063 #include <math.h>
55065 main ()
55067 _ldexpf(0, 0);
55069 return 0;
55071 _ACEOF
55072 if ac_fn_cxx_try_compile "$LINENO"; then :
55073 glibcxx_cv_func__ldexpf_use=yes
55074 else
55075 glibcxx_cv_func__ldexpf_use=no
55077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55078 ac_ext=c
55079 ac_cpp='$CPP $CPPFLAGS'
55080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
55089 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
55091 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
55092 for ac_func in _ldexpf
55093 do :
55094 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
55095 if test "x$ac_cv_func__ldexpf" = x""yes; then :
55096 cat >>confdefs.h <<_ACEOF
55097 #define HAVE__LDEXPF 1
55098 _ACEOF
55101 done
55110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
55111 $as_echo_n "checking for logf declaration... " >&6; }
55112 if test x${glibcxx_cv_func_logf_use+set} != xset; then
55113 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
55114 $as_echo_n "(cached) " >&6
55115 else
55118 ac_ext=cpp
55119 ac_cpp='$CXXCPP $CPPFLAGS'
55120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55125 /* end confdefs.h. */
55126 #include <math.h>
55127 #ifdef HAVE_IEEEFP_H
55128 #include <ieeefp.h>
55129 #endif
55132 main ()
55134 logf(0);
55136 return 0;
55138 _ACEOF
55139 if ac_fn_cxx_try_compile "$LINENO"; then :
55140 glibcxx_cv_func_logf_use=yes
55141 else
55142 glibcxx_cv_func_logf_use=no
55144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55145 ac_ext=c
55146 ac_cpp='$CPP $CPPFLAGS'
55147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
55156 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
55158 if test x$glibcxx_cv_func_logf_use = x"yes"; then
55159 for ac_func in logf
55160 do :
55161 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
55162 if test "x$ac_cv_func_logf" = x""yes; then :
55163 cat >>confdefs.h <<_ACEOF
55164 #define HAVE_LOGF 1
55165 _ACEOF
55168 done
55170 else
55172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
55173 $as_echo_n "checking for _logf declaration... " >&6; }
55174 if test x${glibcxx_cv_func__logf_use+set} != xset; then
55175 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
55176 $as_echo_n "(cached) " >&6
55177 else
55180 ac_ext=cpp
55181 ac_cpp='$CXXCPP $CPPFLAGS'
55182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55187 /* end confdefs.h. */
55188 #include <math.h>
55189 #ifdef HAVE_IEEEFP_H
55190 #include <ieeefp.h>
55191 #endif
55194 main ()
55196 _logf(0);
55198 return 0;
55200 _ACEOF
55201 if ac_fn_cxx_try_compile "$LINENO"; then :
55202 glibcxx_cv_func__logf_use=yes
55203 else
55204 glibcxx_cv_func__logf_use=no
55206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55207 ac_ext=c
55208 ac_cpp='$CPP $CPPFLAGS'
55209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
55218 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
55220 if test x$glibcxx_cv_func__logf_use = x"yes"; then
55221 for ac_func in _logf
55222 do :
55223 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
55224 if test "x$ac_cv_func__logf" = x""yes; then :
55225 cat >>confdefs.h <<_ACEOF
55226 #define HAVE__LOGF 1
55227 _ACEOF
55230 done
55239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
55240 $as_echo_n "checking for log10f declaration... " >&6; }
55241 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
55242 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
55243 $as_echo_n "(cached) " >&6
55244 else
55247 ac_ext=cpp
55248 ac_cpp='$CXXCPP $CPPFLAGS'
55249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55254 /* end confdefs.h. */
55255 #include <math.h>
55256 #ifdef HAVE_IEEEFP_H
55257 #include <ieeefp.h>
55258 #endif
55261 main ()
55263 log10f(0);
55265 return 0;
55267 _ACEOF
55268 if ac_fn_cxx_try_compile "$LINENO"; then :
55269 glibcxx_cv_func_log10f_use=yes
55270 else
55271 glibcxx_cv_func_log10f_use=no
55273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55274 ac_ext=c
55275 ac_cpp='$CPP $CPPFLAGS'
55276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
55285 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
55287 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
55288 for ac_func in log10f
55289 do :
55290 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
55291 if test "x$ac_cv_func_log10f" = x""yes; then :
55292 cat >>confdefs.h <<_ACEOF
55293 #define HAVE_LOG10F 1
55294 _ACEOF
55297 done
55299 else
55301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
55302 $as_echo_n "checking for _log10f declaration... " >&6; }
55303 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
55304 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
55305 $as_echo_n "(cached) " >&6
55306 else
55309 ac_ext=cpp
55310 ac_cpp='$CXXCPP $CPPFLAGS'
55311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55316 /* end confdefs.h. */
55317 #include <math.h>
55318 #ifdef HAVE_IEEEFP_H
55319 #include <ieeefp.h>
55320 #endif
55323 main ()
55325 _log10f(0);
55327 return 0;
55329 _ACEOF
55330 if ac_fn_cxx_try_compile "$LINENO"; then :
55331 glibcxx_cv_func__log10f_use=yes
55332 else
55333 glibcxx_cv_func__log10f_use=no
55335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55336 ac_ext=c
55337 ac_cpp='$CPP $CPPFLAGS'
55338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
55347 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
55349 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
55350 for ac_func in _log10f
55351 do :
55352 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
55353 if test "x$ac_cv_func__log10f" = x""yes; then :
55354 cat >>confdefs.h <<_ACEOF
55355 #define HAVE__LOG10F 1
55356 _ACEOF
55359 done
55368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
55369 $as_echo_n "checking for modff declaration... " >&6; }
55370 if test x${glibcxx_cv_func_modff_use+set} != xset; then
55371 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
55372 $as_echo_n "(cached) " >&6
55373 else
55376 ac_ext=cpp
55377 ac_cpp='$CXXCPP $CPPFLAGS'
55378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55383 /* end confdefs.h. */
55384 #include <math.h>
55386 main ()
55388 modff(0, 0);
55390 return 0;
55392 _ACEOF
55393 if ac_fn_cxx_try_compile "$LINENO"; then :
55394 glibcxx_cv_func_modff_use=yes
55395 else
55396 glibcxx_cv_func_modff_use=no
55398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55399 ac_ext=c
55400 ac_cpp='$CPP $CPPFLAGS'
55401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
55410 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
55412 if test x$glibcxx_cv_func_modff_use = x"yes"; then
55413 for ac_func in modff
55414 do :
55415 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
55416 if test "x$ac_cv_func_modff" = x""yes; then :
55417 cat >>confdefs.h <<_ACEOF
55418 #define HAVE_MODFF 1
55419 _ACEOF
55422 done
55424 else
55426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
55427 $as_echo_n "checking for _modff declaration... " >&6; }
55428 if test x${glibcxx_cv_func__modff_use+set} != xset; then
55429 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
55430 $as_echo_n "(cached) " >&6
55431 else
55434 ac_ext=cpp
55435 ac_cpp='$CXXCPP $CPPFLAGS'
55436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55441 /* end confdefs.h. */
55442 #include <math.h>
55444 main ()
55446 _modff(0, 0);
55448 return 0;
55450 _ACEOF
55451 if ac_fn_cxx_try_compile "$LINENO"; then :
55452 glibcxx_cv_func__modff_use=yes
55453 else
55454 glibcxx_cv_func__modff_use=no
55456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55457 ac_ext=c
55458 ac_cpp='$CPP $CPPFLAGS'
55459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
55468 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
55470 if test x$glibcxx_cv_func__modff_use = x"yes"; then
55471 for ac_func in _modff
55472 do :
55473 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
55474 if test "x$ac_cv_func__modff" = x""yes; then :
55475 cat >>confdefs.h <<_ACEOF
55476 #define HAVE__MODFF 1
55477 _ACEOF
55480 done
55489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
55490 $as_echo_n "checking for modf declaration... " >&6; }
55491 if test x${glibcxx_cv_func_modf_use+set} != xset; then
55492 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
55493 $as_echo_n "(cached) " >&6
55494 else
55497 ac_ext=cpp
55498 ac_cpp='$CXXCPP $CPPFLAGS'
55499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55504 /* end confdefs.h. */
55505 #include <math.h>
55507 main ()
55509 modf(0, 0);
55511 return 0;
55513 _ACEOF
55514 if ac_fn_cxx_try_compile "$LINENO"; then :
55515 glibcxx_cv_func_modf_use=yes
55516 else
55517 glibcxx_cv_func_modf_use=no
55519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55520 ac_ext=c
55521 ac_cpp='$CPP $CPPFLAGS'
55522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
55531 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
55533 if test x$glibcxx_cv_func_modf_use = x"yes"; then
55534 for ac_func in modf
55535 do :
55536 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
55537 if test "x$ac_cv_func_modf" = x""yes; then :
55538 cat >>confdefs.h <<_ACEOF
55539 #define HAVE_MODF 1
55540 _ACEOF
55543 done
55545 else
55547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
55548 $as_echo_n "checking for _modf declaration... " >&6; }
55549 if test x${glibcxx_cv_func__modf_use+set} != xset; then
55550 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
55551 $as_echo_n "(cached) " >&6
55552 else
55555 ac_ext=cpp
55556 ac_cpp='$CXXCPP $CPPFLAGS'
55557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55562 /* end confdefs.h. */
55563 #include <math.h>
55565 main ()
55567 _modf(0, 0);
55569 return 0;
55571 _ACEOF
55572 if ac_fn_cxx_try_compile "$LINENO"; then :
55573 glibcxx_cv_func__modf_use=yes
55574 else
55575 glibcxx_cv_func__modf_use=no
55577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55578 ac_ext=c
55579 ac_cpp='$CPP $CPPFLAGS'
55580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
55589 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
55591 if test x$glibcxx_cv_func__modf_use = x"yes"; then
55592 for ac_func in _modf
55593 do :
55594 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
55595 if test "x$ac_cv_func__modf" = x""yes; then :
55596 cat >>confdefs.h <<_ACEOF
55597 #define HAVE__MODF 1
55598 _ACEOF
55601 done
55610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
55611 $as_echo_n "checking for powf declaration... " >&6; }
55612 if test x${glibcxx_cv_func_powf_use+set} != xset; then
55613 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
55614 $as_echo_n "(cached) " >&6
55615 else
55618 ac_ext=cpp
55619 ac_cpp='$CXXCPP $CPPFLAGS'
55620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55625 /* end confdefs.h. */
55626 #include <math.h>
55628 main ()
55630 powf(0, 0);
55632 return 0;
55634 _ACEOF
55635 if ac_fn_cxx_try_compile "$LINENO"; then :
55636 glibcxx_cv_func_powf_use=yes
55637 else
55638 glibcxx_cv_func_powf_use=no
55640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55641 ac_ext=c
55642 ac_cpp='$CPP $CPPFLAGS'
55643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
55652 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
55654 if test x$glibcxx_cv_func_powf_use = x"yes"; then
55655 for ac_func in powf
55656 do :
55657 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
55658 if test "x$ac_cv_func_powf" = x""yes; then :
55659 cat >>confdefs.h <<_ACEOF
55660 #define HAVE_POWF 1
55661 _ACEOF
55664 done
55666 else
55668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
55669 $as_echo_n "checking for _powf declaration... " >&6; }
55670 if test x${glibcxx_cv_func__powf_use+set} != xset; then
55671 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
55672 $as_echo_n "(cached) " >&6
55673 else
55676 ac_ext=cpp
55677 ac_cpp='$CXXCPP $CPPFLAGS'
55678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55683 /* end confdefs.h. */
55684 #include <math.h>
55686 main ()
55688 _powf(0, 0);
55690 return 0;
55692 _ACEOF
55693 if ac_fn_cxx_try_compile "$LINENO"; then :
55694 glibcxx_cv_func__powf_use=yes
55695 else
55696 glibcxx_cv_func__powf_use=no
55698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55699 ac_ext=c
55700 ac_cpp='$CPP $CPPFLAGS'
55701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
55710 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
55712 if test x$glibcxx_cv_func__powf_use = x"yes"; then
55713 for ac_func in _powf
55714 do :
55715 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
55716 if test "x$ac_cv_func__powf" = x""yes; then :
55717 cat >>confdefs.h <<_ACEOF
55718 #define HAVE__POWF 1
55719 _ACEOF
55722 done
55731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
55732 $as_echo_n "checking for sqrtf declaration... " >&6; }
55733 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
55734 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
55735 $as_echo_n "(cached) " >&6
55736 else
55739 ac_ext=cpp
55740 ac_cpp='$CXXCPP $CPPFLAGS'
55741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55746 /* end confdefs.h. */
55747 #include <math.h>
55748 #ifdef HAVE_IEEEFP_H
55749 #include <ieeefp.h>
55750 #endif
55753 main ()
55755 sqrtf(0);
55757 return 0;
55759 _ACEOF
55760 if ac_fn_cxx_try_compile "$LINENO"; then :
55761 glibcxx_cv_func_sqrtf_use=yes
55762 else
55763 glibcxx_cv_func_sqrtf_use=no
55765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55766 ac_ext=c
55767 ac_cpp='$CPP $CPPFLAGS'
55768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
55777 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
55779 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
55780 for ac_func in sqrtf
55781 do :
55782 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
55783 if test "x$ac_cv_func_sqrtf" = x""yes; then :
55784 cat >>confdefs.h <<_ACEOF
55785 #define HAVE_SQRTF 1
55786 _ACEOF
55789 done
55791 else
55793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
55794 $as_echo_n "checking for _sqrtf declaration... " >&6; }
55795 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
55796 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
55797 $as_echo_n "(cached) " >&6
55798 else
55801 ac_ext=cpp
55802 ac_cpp='$CXXCPP $CPPFLAGS'
55803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55808 /* end confdefs.h. */
55809 #include <math.h>
55810 #ifdef HAVE_IEEEFP_H
55811 #include <ieeefp.h>
55812 #endif
55815 main ()
55817 _sqrtf(0);
55819 return 0;
55821 _ACEOF
55822 if ac_fn_cxx_try_compile "$LINENO"; then :
55823 glibcxx_cv_func__sqrtf_use=yes
55824 else
55825 glibcxx_cv_func__sqrtf_use=no
55827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55828 ac_ext=c
55829 ac_cpp='$CPP $CPPFLAGS'
55830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
55839 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
55841 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
55842 for ac_func in _sqrtf
55843 do :
55844 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
55845 if test "x$ac_cv_func__sqrtf" = x""yes; then :
55846 cat >>confdefs.h <<_ACEOF
55847 #define HAVE__SQRTF 1
55848 _ACEOF
55851 done
55860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
55861 $as_echo_n "checking for sincosf declaration... " >&6; }
55862 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
55863 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
55864 $as_echo_n "(cached) " >&6
55865 else
55868 ac_ext=cpp
55869 ac_cpp='$CXXCPP $CPPFLAGS'
55870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55875 /* end confdefs.h. */
55876 #include <math.h>
55878 main ()
55880 sincosf(0, 0, 0);
55882 return 0;
55884 _ACEOF
55885 if ac_fn_cxx_try_compile "$LINENO"; then :
55886 glibcxx_cv_func_sincosf_use=yes
55887 else
55888 glibcxx_cv_func_sincosf_use=no
55890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55891 ac_ext=c
55892 ac_cpp='$CPP $CPPFLAGS'
55893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
55902 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
55904 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
55905 for ac_func in sincosf
55906 do :
55907 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
55908 if test "x$ac_cv_func_sincosf" = x""yes; then :
55909 cat >>confdefs.h <<_ACEOF
55910 #define HAVE_SINCOSF 1
55911 _ACEOF
55914 done
55916 else
55918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
55919 $as_echo_n "checking for _sincosf declaration... " >&6; }
55920 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
55921 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
55922 $as_echo_n "(cached) " >&6
55923 else
55926 ac_ext=cpp
55927 ac_cpp='$CXXCPP $CPPFLAGS'
55928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55933 /* end confdefs.h. */
55934 #include <math.h>
55936 main ()
55938 _sincosf(0, 0, 0);
55940 return 0;
55942 _ACEOF
55943 if ac_fn_cxx_try_compile "$LINENO"; then :
55944 glibcxx_cv_func__sincosf_use=yes
55945 else
55946 glibcxx_cv_func__sincosf_use=no
55948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55949 ac_ext=c
55950 ac_cpp='$CPP $CPPFLAGS'
55951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55960 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55962 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55963 for ac_func in _sincosf
55964 do :
55965 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55966 if test "x$ac_cv_func__sincosf" = x""yes; then :
55967 cat >>confdefs.h <<_ACEOF
55968 #define HAVE__SINCOSF 1
55969 _ACEOF
55972 done
55981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55982 $as_echo_n "checking for finitef declaration... " >&6; }
55983 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55984 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55985 $as_echo_n "(cached) " >&6
55986 else
55989 ac_ext=cpp
55990 ac_cpp='$CXXCPP $CPPFLAGS'
55991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55996 /* end confdefs.h. */
55997 #include <math.h>
55998 #ifdef HAVE_IEEEFP_H
55999 #include <ieeefp.h>
56000 #endif
56003 main ()
56005 finitef(0);
56007 return 0;
56009 _ACEOF
56010 if ac_fn_cxx_try_compile "$LINENO"; then :
56011 glibcxx_cv_func_finitef_use=yes
56012 else
56013 glibcxx_cv_func_finitef_use=no
56015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56016 ac_ext=c
56017 ac_cpp='$CPP $CPPFLAGS'
56018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
56027 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
56029 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
56030 for ac_func in finitef
56031 do :
56032 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
56033 if test "x$ac_cv_func_finitef" = x""yes; then :
56034 cat >>confdefs.h <<_ACEOF
56035 #define HAVE_FINITEF 1
56036 _ACEOF
56039 done
56041 else
56043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
56044 $as_echo_n "checking for _finitef declaration... " >&6; }
56045 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
56046 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
56047 $as_echo_n "(cached) " >&6
56048 else
56051 ac_ext=cpp
56052 ac_cpp='$CXXCPP $CPPFLAGS'
56053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56058 /* end confdefs.h. */
56059 #include <math.h>
56060 #ifdef HAVE_IEEEFP_H
56061 #include <ieeefp.h>
56062 #endif
56065 main ()
56067 _finitef(0);
56069 return 0;
56071 _ACEOF
56072 if ac_fn_cxx_try_compile "$LINENO"; then :
56073 glibcxx_cv_func__finitef_use=yes
56074 else
56075 glibcxx_cv_func__finitef_use=no
56077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56078 ac_ext=c
56079 ac_cpp='$CPP $CPPFLAGS'
56080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
56089 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
56091 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
56092 for ac_func in _finitef
56093 do :
56094 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
56095 if test "x$ac_cv_func__finitef" = x""yes; then :
56096 cat >>confdefs.h <<_ACEOF
56097 #define HAVE__FINITEF 1
56098 _ACEOF
56101 done
56110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
56111 $as_echo_n "checking for long double trig functions... " >&6; }
56112 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
56113 $as_echo_n "(cached) " >&6
56114 else
56117 ac_ext=cpp
56118 ac_cpp='$CXXCPP $CPPFLAGS'
56119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56124 /* end confdefs.h. */
56125 #include <math.h>
56127 main ()
56129 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
56131 return 0;
56133 _ACEOF
56134 if ac_fn_cxx_try_compile "$LINENO"; then :
56135 glibcxx_cv_func_long_double_trig_use=yes
56136 else
56137 glibcxx_cv_func_long_double_trig_use=no
56139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56140 ac_ext=c
56141 ac_cpp='$CPP $CPPFLAGS'
56142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
56149 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
56150 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
56151 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
56152 do :
56153 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56154 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56155 eval as_val=\$$as_ac_var
56156 if test "x$as_val" = x""yes; then :
56157 cat >>confdefs.h <<_ACEOF
56158 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56159 _ACEOF
56162 done
56164 else
56165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
56166 $as_echo_n "checking for _long double trig functions... " >&6; }
56167 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
56168 $as_echo_n "(cached) " >&6
56169 else
56172 ac_ext=cpp
56173 ac_cpp='$CXXCPP $CPPFLAGS'
56174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56179 /* end confdefs.h. */
56180 #include <math.h>
56182 main ()
56184 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
56186 return 0;
56188 _ACEOF
56189 if ac_fn_cxx_try_compile "$LINENO"; then :
56190 glibcxx_cv_func__long_double_trig_use=yes
56191 else
56192 glibcxx_cv_func__long_double_trig_use=no
56194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56195 ac_ext=c
56196 ac_cpp='$CPP $CPPFLAGS'
56197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
56204 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
56205 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
56206 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
56207 do :
56208 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56209 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56210 eval as_val=\$$as_ac_var
56211 if test "x$as_val" = x""yes; then :
56212 cat >>confdefs.h <<_ACEOF
56213 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56214 _ACEOF
56217 done
56226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
56227 $as_echo_n "checking for long double round functions... " >&6; }
56228 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
56229 $as_echo_n "(cached) " >&6
56230 else
56233 ac_ext=cpp
56234 ac_cpp='$CXXCPP $CPPFLAGS'
56235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56240 /* end confdefs.h. */
56241 #include <math.h>
56243 main ()
56245 ceill (0); floorl (0);
56247 return 0;
56249 _ACEOF
56250 if ac_fn_cxx_try_compile "$LINENO"; then :
56251 glibcxx_cv_func_long_double_round_use=yes
56252 else
56253 glibcxx_cv_func_long_double_round_use=no
56255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56256 ac_ext=c
56257 ac_cpp='$CPP $CPPFLAGS'
56258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
56265 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
56266 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
56267 for ac_func in ceill floorl
56268 do :
56269 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56270 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56271 eval as_val=\$$as_ac_var
56272 if test "x$as_val" = x""yes; then :
56273 cat >>confdefs.h <<_ACEOF
56274 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56275 _ACEOF
56278 done
56280 else
56281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
56282 $as_echo_n "checking for _long double round functions... " >&6; }
56283 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
56284 $as_echo_n "(cached) " >&6
56285 else
56288 ac_ext=cpp
56289 ac_cpp='$CXXCPP $CPPFLAGS'
56290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56295 /* end confdefs.h. */
56296 #include <math.h>
56298 main ()
56300 _ceill (0); _floorl (0);
56302 return 0;
56304 _ACEOF
56305 if ac_fn_cxx_try_compile "$LINENO"; then :
56306 glibcxx_cv_func__long_double_round_use=yes
56307 else
56308 glibcxx_cv_func__long_double_round_use=no
56310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56311 ac_ext=c
56312 ac_cpp='$CPP $CPPFLAGS'
56313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
56320 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
56321 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
56322 for ac_func in _ceill _floorl
56323 do :
56324 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56325 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56326 eval as_val=\$$as_ac_var
56327 if test "x$as_val" = x""yes; then :
56328 cat >>confdefs.h <<_ACEOF
56329 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56330 _ACEOF
56333 done
56343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
56344 $as_echo_n "checking for isnanl declaration... " >&6; }
56345 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
56346 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
56347 $as_echo_n "(cached) " >&6
56348 else
56351 ac_ext=cpp
56352 ac_cpp='$CXXCPP $CPPFLAGS'
56353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56358 /* end confdefs.h. */
56359 #include <math.h>
56360 #ifdef HAVE_IEEEFP_H
56361 #include <ieeefp.h>
56362 #endif
56365 main ()
56367 isnanl(0);
56369 return 0;
56371 _ACEOF
56372 if ac_fn_cxx_try_compile "$LINENO"; then :
56373 glibcxx_cv_func_isnanl_use=yes
56374 else
56375 glibcxx_cv_func_isnanl_use=no
56377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56378 ac_ext=c
56379 ac_cpp='$CPP $CPPFLAGS'
56380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
56389 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
56391 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
56392 for ac_func in isnanl
56393 do :
56394 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
56395 if test "x$ac_cv_func_isnanl" = x""yes; then :
56396 cat >>confdefs.h <<_ACEOF
56397 #define HAVE_ISNANL 1
56398 _ACEOF
56401 done
56403 else
56405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
56406 $as_echo_n "checking for _isnanl declaration... " >&6; }
56407 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
56408 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
56409 $as_echo_n "(cached) " >&6
56410 else
56413 ac_ext=cpp
56414 ac_cpp='$CXXCPP $CPPFLAGS'
56415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56420 /* end confdefs.h. */
56421 #include <math.h>
56422 #ifdef HAVE_IEEEFP_H
56423 #include <ieeefp.h>
56424 #endif
56427 main ()
56429 _isnanl(0);
56431 return 0;
56433 _ACEOF
56434 if ac_fn_cxx_try_compile "$LINENO"; then :
56435 glibcxx_cv_func__isnanl_use=yes
56436 else
56437 glibcxx_cv_func__isnanl_use=no
56439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56440 ac_ext=c
56441 ac_cpp='$CPP $CPPFLAGS'
56442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
56451 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
56453 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
56454 for ac_func in _isnanl
56455 do :
56456 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
56457 if test "x$ac_cv_func__isnanl" = x""yes; then :
56458 cat >>confdefs.h <<_ACEOF
56459 #define HAVE__ISNANL 1
56460 _ACEOF
56463 done
56472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
56473 $as_echo_n "checking for isinfl declaration... " >&6; }
56474 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
56475 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
56476 $as_echo_n "(cached) " >&6
56477 else
56480 ac_ext=cpp
56481 ac_cpp='$CXXCPP $CPPFLAGS'
56482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56487 /* end confdefs.h. */
56488 #include <math.h>
56489 #ifdef HAVE_IEEEFP_H
56490 #include <ieeefp.h>
56491 #endif
56494 main ()
56496 isinfl(0);
56498 return 0;
56500 _ACEOF
56501 if ac_fn_cxx_try_compile "$LINENO"; then :
56502 glibcxx_cv_func_isinfl_use=yes
56503 else
56504 glibcxx_cv_func_isinfl_use=no
56506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56507 ac_ext=c
56508 ac_cpp='$CPP $CPPFLAGS'
56509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
56518 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
56520 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
56521 for ac_func in isinfl
56522 do :
56523 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
56524 if test "x$ac_cv_func_isinfl" = x""yes; then :
56525 cat >>confdefs.h <<_ACEOF
56526 #define HAVE_ISINFL 1
56527 _ACEOF
56530 done
56532 else
56534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
56535 $as_echo_n "checking for _isinfl declaration... " >&6; }
56536 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
56537 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
56538 $as_echo_n "(cached) " >&6
56539 else
56542 ac_ext=cpp
56543 ac_cpp='$CXXCPP $CPPFLAGS'
56544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56549 /* end confdefs.h. */
56550 #include <math.h>
56551 #ifdef HAVE_IEEEFP_H
56552 #include <ieeefp.h>
56553 #endif
56556 main ()
56558 _isinfl(0);
56560 return 0;
56562 _ACEOF
56563 if ac_fn_cxx_try_compile "$LINENO"; then :
56564 glibcxx_cv_func__isinfl_use=yes
56565 else
56566 glibcxx_cv_func__isinfl_use=no
56568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56569 ac_ext=c
56570 ac_cpp='$CPP $CPPFLAGS'
56571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
56580 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
56582 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
56583 for ac_func in _isinfl
56584 do :
56585 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
56586 if test "x$ac_cv_func__isinfl" = x""yes; then :
56587 cat >>confdefs.h <<_ACEOF
56588 #define HAVE__ISINFL 1
56589 _ACEOF
56592 done
56601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
56602 $as_echo_n "checking for atan2l declaration... " >&6; }
56603 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56604 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
56605 $as_echo_n "(cached) " >&6
56606 else
56609 ac_ext=cpp
56610 ac_cpp='$CXXCPP $CPPFLAGS'
56611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56616 /* end confdefs.h. */
56617 #include <math.h>
56619 main ()
56621 atan2l(0, 0);
56623 return 0;
56625 _ACEOF
56626 if ac_fn_cxx_try_compile "$LINENO"; then :
56627 glibcxx_cv_func_atan2l_use=yes
56628 else
56629 glibcxx_cv_func_atan2l_use=no
56631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56632 ac_ext=c
56633 ac_cpp='$CPP $CPPFLAGS'
56634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
56643 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
56645 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56646 for ac_func in atan2l
56647 do :
56648 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
56649 if test "x$ac_cv_func_atan2l" = x""yes; then :
56650 cat >>confdefs.h <<_ACEOF
56651 #define HAVE_ATAN2L 1
56652 _ACEOF
56655 done
56657 else
56659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
56660 $as_echo_n "checking for _atan2l declaration... " >&6; }
56661 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56662 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
56663 $as_echo_n "(cached) " >&6
56664 else
56667 ac_ext=cpp
56668 ac_cpp='$CXXCPP $CPPFLAGS'
56669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56674 /* end confdefs.h. */
56675 #include <math.h>
56677 main ()
56679 _atan2l(0, 0);
56681 return 0;
56683 _ACEOF
56684 if ac_fn_cxx_try_compile "$LINENO"; then :
56685 glibcxx_cv_func__atan2l_use=yes
56686 else
56687 glibcxx_cv_func__atan2l_use=no
56689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56690 ac_ext=c
56691 ac_cpp='$CPP $CPPFLAGS'
56692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
56701 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
56703 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56704 for ac_func in _atan2l
56705 do :
56706 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
56707 if test "x$ac_cv_func__atan2l" = x""yes; then :
56708 cat >>confdefs.h <<_ACEOF
56709 #define HAVE__ATAN2L 1
56710 _ACEOF
56713 done
56722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
56723 $as_echo_n "checking for expl declaration... " >&6; }
56724 if test x${glibcxx_cv_func_expl_use+set} != xset; then
56725 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
56726 $as_echo_n "(cached) " >&6
56727 else
56730 ac_ext=cpp
56731 ac_cpp='$CXXCPP $CPPFLAGS'
56732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56737 /* end confdefs.h. */
56738 #include <math.h>
56739 #ifdef HAVE_IEEEFP_H
56740 #include <ieeefp.h>
56741 #endif
56744 main ()
56746 expl(0);
56748 return 0;
56750 _ACEOF
56751 if ac_fn_cxx_try_compile "$LINENO"; then :
56752 glibcxx_cv_func_expl_use=yes
56753 else
56754 glibcxx_cv_func_expl_use=no
56756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56757 ac_ext=c
56758 ac_cpp='$CPP $CPPFLAGS'
56759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
56768 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
56770 if test x$glibcxx_cv_func_expl_use = x"yes"; then
56771 for ac_func in expl
56772 do :
56773 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
56774 if test "x$ac_cv_func_expl" = x""yes; then :
56775 cat >>confdefs.h <<_ACEOF
56776 #define HAVE_EXPL 1
56777 _ACEOF
56780 done
56782 else
56784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
56785 $as_echo_n "checking for _expl declaration... " >&6; }
56786 if test x${glibcxx_cv_func__expl_use+set} != xset; then
56787 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
56788 $as_echo_n "(cached) " >&6
56789 else
56792 ac_ext=cpp
56793 ac_cpp='$CXXCPP $CPPFLAGS'
56794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56799 /* end confdefs.h. */
56800 #include <math.h>
56801 #ifdef HAVE_IEEEFP_H
56802 #include <ieeefp.h>
56803 #endif
56806 main ()
56808 _expl(0);
56810 return 0;
56812 _ACEOF
56813 if ac_fn_cxx_try_compile "$LINENO"; then :
56814 glibcxx_cv_func__expl_use=yes
56815 else
56816 glibcxx_cv_func__expl_use=no
56818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56819 ac_ext=c
56820 ac_cpp='$CPP $CPPFLAGS'
56821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
56830 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
56832 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56833 for ac_func in _expl
56834 do :
56835 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
56836 if test "x$ac_cv_func__expl" = x""yes; then :
56837 cat >>confdefs.h <<_ACEOF
56838 #define HAVE__EXPL 1
56839 _ACEOF
56842 done
56851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
56852 $as_echo_n "checking for fabsl declaration... " >&6; }
56853 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56854 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
56855 $as_echo_n "(cached) " >&6
56856 else
56859 ac_ext=cpp
56860 ac_cpp='$CXXCPP $CPPFLAGS'
56861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56866 /* end confdefs.h. */
56867 #include <math.h>
56868 #ifdef HAVE_IEEEFP_H
56869 #include <ieeefp.h>
56870 #endif
56873 main ()
56875 fabsl(0);
56877 return 0;
56879 _ACEOF
56880 if ac_fn_cxx_try_compile "$LINENO"; then :
56881 glibcxx_cv_func_fabsl_use=yes
56882 else
56883 glibcxx_cv_func_fabsl_use=no
56885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56886 ac_ext=c
56887 ac_cpp='$CPP $CPPFLAGS'
56888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
56897 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
56899 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56900 for ac_func in fabsl
56901 do :
56902 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
56903 if test "x$ac_cv_func_fabsl" = x""yes; then :
56904 cat >>confdefs.h <<_ACEOF
56905 #define HAVE_FABSL 1
56906 _ACEOF
56909 done
56911 else
56913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
56914 $as_echo_n "checking for _fabsl declaration... " >&6; }
56915 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56916 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
56917 $as_echo_n "(cached) " >&6
56918 else
56921 ac_ext=cpp
56922 ac_cpp='$CXXCPP $CPPFLAGS'
56923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56928 /* end confdefs.h. */
56929 #include <math.h>
56930 #ifdef HAVE_IEEEFP_H
56931 #include <ieeefp.h>
56932 #endif
56935 main ()
56937 _fabsl(0);
56939 return 0;
56941 _ACEOF
56942 if ac_fn_cxx_try_compile "$LINENO"; then :
56943 glibcxx_cv_func__fabsl_use=yes
56944 else
56945 glibcxx_cv_func__fabsl_use=no
56947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56948 ac_ext=c
56949 ac_cpp='$CPP $CPPFLAGS'
56950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56959 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56961 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56962 for ac_func in _fabsl
56963 do :
56964 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56965 if test "x$ac_cv_func__fabsl" = x""yes; then :
56966 cat >>confdefs.h <<_ACEOF
56967 #define HAVE__FABSL 1
56968 _ACEOF
56971 done
56980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56981 $as_echo_n "checking for fmodl declaration... " >&6; }
56982 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56983 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56984 $as_echo_n "(cached) " >&6
56985 else
56988 ac_ext=cpp
56989 ac_cpp='$CXXCPP $CPPFLAGS'
56990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56995 /* end confdefs.h. */
56996 #include <math.h>
56998 main ()
57000 fmodl(0, 0);
57002 return 0;
57004 _ACEOF
57005 if ac_fn_cxx_try_compile "$LINENO"; then :
57006 glibcxx_cv_func_fmodl_use=yes
57007 else
57008 glibcxx_cv_func_fmodl_use=no
57010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57011 ac_ext=c
57012 ac_cpp='$CPP $CPPFLAGS'
57013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
57022 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
57024 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
57025 for ac_func in fmodl
57026 do :
57027 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
57028 if test "x$ac_cv_func_fmodl" = x""yes; then :
57029 cat >>confdefs.h <<_ACEOF
57030 #define HAVE_FMODL 1
57031 _ACEOF
57034 done
57036 else
57038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
57039 $as_echo_n "checking for _fmodl declaration... " >&6; }
57040 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
57041 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
57042 $as_echo_n "(cached) " >&6
57043 else
57046 ac_ext=cpp
57047 ac_cpp='$CXXCPP $CPPFLAGS'
57048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57053 /* end confdefs.h. */
57054 #include <math.h>
57056 main ()
57058 _fmodl(0, 0);
57060 return 0;
57062 _ACEOF
57063 if ac_fn_cxx_try_compile "$LINENO"; then :
57064 glibcxx_cv_func__fmodl_use=yes
57065 else
57066 glibcxx_cv_func__fmodl_use=no
57068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57069 ac_ext=c
57070 ac_cpp='$CPP $CPPFLAGS'
57071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
57080 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
57082 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
57083 for ac_func in _fmodl
57084 do :
57085 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
57086 if test "x$ac_cv_func__fmodl" = x""yes; then :
57087 cat >>confdefs.h <<_ACEOF
57088 #define HAVE__FMODL 1
57089 _ACEOF
57092 done
57101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
57102 $as_echo_n "checking for frexpl declaration... " >&6; }
57103 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
57104 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
57105 $as_echo_n "(cached) " >&6
57106 else
57109 ac_ext=cpp
57110 ac_cpp='$CXXCPP $CPPFLAGS'
57111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57116 /* end confdefs.h. */
57117 #include <math.h>
57119 main ()
57121 frexpl(0, 0);
57123 return 0;
57125 _ACEOF
57126 if ac_fn_cxx_try_compile "$LINENO"; then :
57127 glibcxx_cv_func_frexpl_use=yes
57128 else
57129 glibcxx_cv_func_frexpl_use=no
57131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57132 ac_ext=c
57133 ac_cpp='$CPP $CPPFLAGS'
57134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
57143 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
57145 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57146 for ac_func in frexpl
57147 do :
57148 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
57149 if test "x$ac_cv_func_frexpl" = x""yes; then :
57150 cat >>confdefs.h <<_ACEOF
57151 #define HAVE_FREXPL 1
57152 _ACEOF
57155 done
57157 else
57159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
57160 $as_echo_n "checking for _frexpl declaration... " >&6; }
57161 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57162 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
57163 $as_echo_n "(cached) " >&6
57164 else
57167 ac_ext=cpp
57168 ac_cpp='$CXXCPP $CPPFLAGS'
57169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57174 /* end confdefs.h. */
57175 #include <math.h>
57177 main ()
57179 _frexpl(0, 0);
57181 return 0;
57183 _ACEOF
57184 if ac_fn_cxx_try_compile "$LINENO"; then :
57185 glibcxx_cv_func__frexpl_use=yes
57186 else
57187 glibcxx_cv_func__frexpl_use=no
57189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57190 ac_ext=c
57191 ac_cpp='$CPP $CPPFLAGS'
57192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
57201 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
57203 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57204 for ac_func in _frexpl
57205 do :
57206 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
57207 if test "x$ac_cv_func__frexpl" = x""yes; then :
57208 cat >>confdefs.h <<_ACEOF
57209 #define HAVE__FREXPL 1
57210 _ACEOF
57213 done
57222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
57223 $as_echo_n "checking for hypotl declaration... " >&6; }
57224 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57225 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
57226 $as_echo_n "(cached) " >&6
57227 else
57230 ac_ext=cpp
57231 ac_cpp='$CXXCPP $CPPFLAGS'
57232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57237 /* end confdefs.h. */
57238 #include <math.h>
57240 main ()
57242 hypotl(0, 0);
57244 return 0;
57246 _ACEOF
57247 if ac_fn_cxx_try_compile "$LINENO"; then :
57248 glibcxx_cv_func_hypotl_use=yes
57249 else
57250 glibcxx_cv_func_hypotl_use=no
57252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57253 ac_ext=c
57254 ac_cpp='$CPP $CPPFLAGS'
57255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
57264 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
57266 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57267 for ac_func in hypotl
57268 do :
57269 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
57270 if test "x$ac_cv_func_hypotl" = x""yes; then :
57271 cat >>confdefs.h <<_ACEOF
57272 #define HAVE_HYPOTL 1
57273 _ACEOF
57276 done
57278 else
57280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
57281 $as_echo_n "checking for _hypotl declaration... " >&6; }
57282 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57283 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
57284 $as_echo_n "(cached) " >&6
57285 else
57288 ac_ext=cpp
57289 ac_cpp='$CXXCPP $CPPFLAGS'
57290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57295 /* end confdefs.h. */
57296 #include <math.h>
57298 main ()
57300 _hypotl(0, 0);
57302 return 0;
57304 _ACEOF
57305 if ac_fn_cxx_try_compile "$LINENO"; then :
57306 glibcxx_cv_func__hypotl_use=yes
57307 else
57308 glibcxx_cv_func__hypotl_use=no
57310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57311 ac_ext=c
57312 ac_cpp='$CPP $CPPFLAGS'
57313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
57322 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
57324 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57325 for ac_func in _hypotl
57326 do :
57327 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
57328 if test "x$ac_cv_func__hypotl" = x""yes; then :
57329 cat >>confdefs.h <<_ACEOF
57330 #define HAVE__HYPOTL 1
57331 _ACEOF
57334 done
57343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
57344 $as_echo_n "checking for ldexpl declaration... " >&6; }
57345 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57346 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
57347 $as_echo_n "(cached) " >&6
57348 else
57351 ac_ext=cpp
57352 ac_cpp='$CXXCPP $CPPFLAGS'
57353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57358 /* end confdefs.h. */
57359 #include <math.h>
57361 main ()
57363 ldexpl(0, 0);
57365 return 0;
57367 _ACEOF
57368 if ac_fn_cxx_try_compile "$LINENO"; then :
57369 glibcxx_cv_func_ldexpl_use=yes
57370 else
57371 glibcxx_cv_func_ldexpl_use=no
57373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57374 ac_ext=c
57375 ac_cpp='$CPP $CPPFLAGS'
57376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
57385 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
57387 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57388 for ac_func in ldexpl
57389 do :
57390 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
57391 if test "x$ac_cv_func_ldexpl" = x""yes; then :
57392 cat >>confdefs.h <<_ACEOF
57393 #define HAVE_LDEXPL 1
57394 _ACEOF
57397 done
57399 else
57401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
57402 $as_echo_n "checking for _ldexpl declaration... " >&6; }
57403 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57404 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
57405 $as_echo_n "(cached) " >&6
57406 else
57409 ac_ext=cpp
57410 ac_cpp='$CXXCPP $CPPFLAGS'
57411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57416 /* end confdefs.h. */
57417 #include <math.h>
57419 main ()
57421 _ldexpl(0, 0);
57423 return 0;
57425 _ACEOF
57426 if ac_fn_cxx_try_compile "$LINENO"; then :
57427 glibcxx_cv_func__ldexpl_use=yes
57428 else
57429 glibcxx_cv_func__ldexpl_use=no
57431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57432 ac_ext=c
57433 ac_cpp='$CPP $CPPFLAGS'
57434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
57443 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
57445 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57446 for ac_func in _ldexpl
57447 do :
57448 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
57449 if test "x$ac_cv_func__ldexpl" = x""yes; then :
57450 cat >>confdefs.h <<_ACEOF
57451 #define HAVE__LDEXPL 1
57452 _ACEOF
57455 done
57464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
57465 $as_echo_n "checking for logl declaration... " >&6; }
57466 if test x${glibcxx_cv_func_logl_use+set} != xset; then
57467 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
57468 $as_echo_n "(cached) " >&6
57469 else
57472 ac_ext=cpp
57473 ac_cpp='$CXXCPP $CPPFLAGS'
57474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57479 /* end confdefs.h. */
57480 #include <math.h>
57481 #ifdef HAVE_IEEEFP_H
57482 #include <ieeefp.h>
57483 #endif
57486 main ()
57488 logl(0);
57490 return 0;
57492 _ACEOF
57493 if ac_fn_cxx_try_compile "$LINENO"; then :
57494 glibcxx_cv_func_logl_use=yes
57495 else
57496 glibcxx_cv_func_logl_use=no
57498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57499 ac_ext=c
57500 ac_cpp='$CPP $CPPFLAGS'
57501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
57510 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
57512 if test x$glibcxx_cv_func_logl_use = x"yes"; then
57513 for ac_func in logl
57514 do :
57515 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
57516 if test "x$ac_cv_func_logl" = x""yes; then :
57517 cat >>confdefs.h <<_ACEOF
57518 #define HAVE_LOGL 1
57519 _ACEOF
57522 done
57524 else
57526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
57527 $as_echo_n "checking for _logl declaration... " >&6; }
57528 if test x${glibcxx_cv_func__logl_use+set} != xset; then
57529 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
57530 $as_echo_n "(cached) " >&6
57531 else
57534 ac_ext=cpp
57535 ac_cpp='$CXXCPP $CPPFLAGS'
57536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57541 /* end confdefs.h. */
57542 #include <math.h>
57543 #ifdef HAVE_IEEEFP_H
57544 #include <ieeefp.h>
57545 #endif
57548 main ()
57550 _logl(0);
57552 return 0;
57554 _ACEOF
57555 if ac_fn_cxx_try_compile "$LINENO"; then :
57556 glibcxx_cv_func__logl_use=yes
57557 else
57558 glibcxx_cv_func__logl_use=no
57560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57561 ac_ext=c
57562 ac_cpp='$CPP $CPPFLAGS'
57563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
57572 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
57574 if test x$glibcxx_cv_func__logl_use = x"yes"; then
57575 for ac_func in _logl
57576 do :
57577 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
57578 if test "x$ac_cv_func__logl" = x""yes; then :
57579 cat >>confdefs.h <<_ACEOF
57580 #define HAVE__LOGL 1
57581 _ACEOF
57584 done
57593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
57594 $as_echo_n "checking for log10l declaration... " >&6; }
57595 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57596 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
57597 $as_echo_n "(cached) " >&6
57598 else
57601 ac_ext=cpp
57602 ac_cpp='$CXXCPP $CPPFLAGS'
57603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57608 /* end confdefs.h. */
57609 #include <math.h>
57610 #ifdef HAVE_IEEEFP_H
57611 #include <ieeefp.h>
57612 #endif
57615 main ()
57617 log10l(0);
57619 return 0;
57621 _ACEOF
57622 if ac_fn_cxx_try_compile "$LINENO"; then :
57623 glibcxx_cv_func_log10l_use=yes
57624 else
57625 glibcxx_cv_func_log10l_use=no
57627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57628 ac_ext=c
57629 ac_cpp='$CPP $CPPFLAGS'
57630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
57639 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
57641 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57642 for ac_func in log10l
57643 do :
57644 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
57645 if test "x$ac_cv_func_log10l" = x""yes; then :
57646 cat >>confdefs.h <<_ACEOF
57647 #define HAVE_LOG10L 1
57648 _ACEOF
57651 done
57653 else
57655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
57656 $as_echo_n "checking for _log10l declaration... " >&6; }
57657 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57658 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
57659 $as_echo_n "(cached) " >&6
57660 else
57663 ac_ext=cpp
57664 ac_cpp='$CXXCPP $CPPFLAGS'
57665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57670 /* end confdefs.h. */
57671 #include <math.h>
57672 #ifdef HAVE_IEEEFP_H
57673 #include <ieeefp.h>
57674 #endif
57677 main ()
57679 _log10l(0);
57681 return 0;
57683 _ACEOF
57684 if ac_fn_cxx_try_compile "$LINENO"; then :
57685 glibcxx_cv_func__log10l_use=yes
57686 else
57687 glibcxx_cv_func__log10l_use=no
57689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57690 ac_ext=c
57691 ac_cpp='$CPP $CPPFLAGS'
57692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
57701 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
57703 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57704 for ac_func in _log10l
57705 do :
57706 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
57707 if test "x$ac_cv_func__log10l" = x""yes; then :
57708 cat >>confdefs.h <<_ACEOF
57709 #define HAVE__LOG10L 1
57710 _ACEOF
57713 done
57722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
57723 $as_echo_n "checking for modfl declaration... " >&6; }
57724 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57725 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
57726 $as_echo_n "(cached) " >&6
57727 else
57730 ac_ext=cpp
57731 ac_cpp='$CXXCPP $CPPFLAGS'
57732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57737 /* end confdefs.h. */
57738 #include <math.h>
57740 main ()
57742 modfl(0, 0);
57744 return 0;
57746 _ACEOF
57747 if ac_fn_cxx_try_compile "$LINENO"; then :
57748 glibcxx_cv_func_modfl_use=yes
57749 else
57750 glibcxx_cv_func_modfl_use=no
57752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57753 ac_ext=c
57754 ac_cpp='$CPP $CPPFLAGS'
57755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
57764 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
57766 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57767 for ac_func in modfl
57768 do :
57769 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
57770 if test "x$ac_cv_func_modfl" = x""yes; then :
57771 cat >>confdefs.h <<_ACEOF
57772 #define HAVE_MODFL 1
57773 _ACEOF
57776 done
57778 else
57780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
57781 $as_echo_n "checking for _modfl declaration... " >&6; }
57782 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57783 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
57784 $as_echo_n "(cached) " >&6
57785 else
57788 ac_ext=cpp
57789 ac_cpp='$CXXCPP $CPPFLAGS'
57790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57795 /* end confdefs.h. */
57796 #include <math.h>
57798 main ()
57800 _modfl(0, 0);
57802 return 0;
57804 _ACEOF
57805 if ac_fn_cxx_try_compile "$LINENO"; then :
57806 glibcxx_cv_func__modfl_use=yes
57807 else
57808 glibcxx_cv_func__modfl_use=no
57810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57811 ac_ext=c
57812 ac_cpp='$CPP $CPPFLAGS'
57813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
57822 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
57824 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57825 for ac_func in _modfl
57826 do :
57827 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
57828 if test "x$ac_cv_func__modfl" = x""yes; then :
57829 cat >>confdefs.h <<_ACEOF
57830 #define HAVE__MODFL 1
57831 _ACEOF
57834 done
57843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
57844 $as_echo_n "checking for powl declaration... " >&6; }
57845 if test x${glibcxx_cv_func_powl_use+set} != xset; then
57846 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
57847 $as_echo_n "(cached) " >&6
57848 else
57851 ac_ext=cpp
57852 ac_cpp='$CXXCPP $CPPFLAGS'
57853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57858 /* end confdefs.h. */
57859 #include <math.h>
57861 main ()
57863 powl(0, 0);
57865 return 0;
57867 _ACEOF
57868 if ac_fn_cxx_try_compile "$LINENO"; then :
57869 glibcxx_cv_func_powl_use=yes
57870 else
57871 glibcxx_cv_func_powl_use=no
57873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57874 ac_ext=c
57875 ac_cpp='$CPP $CPPFLAGS'
57876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
57885 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
57887 if test x$glibcxx_cv_func_powl_use = x"yes"; then
57888 for ac_func in powl
57889 do :
57890 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
57891 if test "x$ac_cv_func_powl" = x""yes; then :
57892 cat >>confdefs.h <<_ACEOF
57893 #define HAVE_POWL 1
57894 _ACEOF
57897 done
57899 else
57901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
57902 $as_echo_n "checking for _powl declaration... " >&6; }
57903 if test x${glibcxx_cv_func__powl_use+set} != xset; then
57904 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
57905 $as_echo_n "(cached) " >&6
57906 else
57909 ac_ext=cpp
57910 ac_cpp='$CXXCPP $CPPFLAGS'
57911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57916 /* end confdefs.h. */
57917 #include <math.h>
57919 main ()
57921 _powl(0, 0);
57923 return 0;
57925 _ACEOF
57926 if ac_fn_cxx_try_compile "$LINENO"; then :
57927 glibcxx_cv_func__powl_use=yes
57928 else
57929 glibcxx_cv_func__powl_use=no
57931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57932 ac_ext=c
57933 ac_cpp='$CPP $CPPFLAGS'
57934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57943 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57945 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57946 for ac_func in _powl
57947 do :
57948 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57949 if test "x$ac_cv_func__powl" = x""yes; then :
57950 cat >>confdefs.h <<_ACEOF
57951 #define HAVE__POWL 1
57952 _ACEOF
57955 done
57964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57965 $as_echo_n "checking for sqrtl declaration... " >&6; }
57966 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57967 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57968 $as_echo_n "(cached) " >&6
57969 else
57972 ac_ext=cpp
57973 ac_cpp='$CXXCPP $CPPFLAGS'
57974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57979 /* end confdefs.h. */
57980 #include <math.h>
57981 #ifdef HAVE_IEEEFP_H
57982 #include <ieeefp.h>
57983 #endif
57986 main ()
57988 sqrtl(0);
57990 return 0;
57992 _ACEOF
57993 if ac_fn_cxx_try_compile "$LINENO"; then :
57994 glibcxx_cv_func_sqrtl_use=yes
57995 else
57996 glibcxx_cv_func_sqrtl_use=no
57998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57999 ac_ext=c
58000 ac_cpp='$CPP $CPPFLAGS'
58001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
58010 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
58012 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
58013 for ac_func in sqrtl
58014 do :
58015 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
58016 if test "x$ac_cv_func_sqrtl" = x""yes; then :
58017 cat >>confdefs.h <<_ACEOF
58018 #define HAVE_SQRTL 1
58019 _ACEOF
58022 done
58024 else
58026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
58027 $as_echo_n "checking for _sqrtl declaration... " >&6; }
58028 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
58029 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
58030 $as_echo_n "(cached) " >&6
58031 else
58034 ac_ext=cpp
58035 ac_cpp='$CXXCPP $CPPFLAGS'
58036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58041 /* end confdefs.h. */
58042 #include <math.h>
58043 #ifdef HAVE_IEEEFP_H
58044 #include <ieeefp.h>
58045 #endif
58048 main ()
58050 _sqrtl(0);
58052 return 0;
58054 _ACEOF
58055 if ac_fn_cxx_try_compile "$LINENO"; then :
58056 glibcxx_cv_func__sqrtl_use=yes
58057 else
58058 glibcxx_cv_func__sqrtl_use=no
58060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58061 ac_ext=c
58062 ac_cpp='$CPP $CPPFLAGS'
58063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
58072 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
58074 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
58075 for ac_func in _sqrtl
58076 do :
58077 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
58078 if test "x$ac_cv_func__sqrtl" = x""yes; then :
58079 cat >>confdefs.h <<_ACEOF
58080 #define HAVE__SQRTL 1
58081 _ACEOF
58084 done
58093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
58094 $as_echo_n "checking for sincosl declaration... " >&6; }
58095 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
58096 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
58097 $as_echo_n "(cached) " >&6
58098 else
58101 ac_ext=cpp
58102 ac_cpp='$CXXCPP $CPPFLAGS'
58103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58108 /* end confdefs.h. */
58109 #include <math.h>
58111 main ()
58113 sincosl(0, 0, 0);
58115 return 0;
58117 _ACEOF
58118 if ac_fn_cxx_try_compile "$LINENO"; then :
58119 glibcxx_cv_func_sincosl_use=yes
58120 else
58121 glibcxx_cv_func_sincosl_use=no
58123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58124 ac_ext=c
58125 ac_cpp='$CPP $CPPFLAGS'
58126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
58135 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
58137 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
58138 for ac_func in sincosl
58139 do :
58140 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
58141 if test "x$ac_cv_func_sincosl" = x""yes; then :
58142 cat >>confdefs.h <<_ACEOF
58143 #define HAVE_SINCOSL 1
58144 _ACEOF
58147 done
58149 else
58151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
58152 $as_echo_n "checking for _sincosl declaration... " >&6; }
58153 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58154 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
58155 $as_echo_n "(cached) " >&6
58156 else
58159 ac_ext=cpp
58160 ac_cpp='$CXXCPP $CPPFLAGS'
58161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58166 /* end confdefs.h. */
58167 #include <math.h>
58169 main ()
58171 _sincosl(0, 0, 0);
58173 return 0;
58175 _ACEOF
58176 if ac_fn_cxx_try_compile "$LINENO"; then :
58177 glibcxx_cv_func__sincosl_use=yes
58178 else
58179 glibcxx_cv_func__sincosl_use=no
58181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58182 ac_ext=c
58183 ac_cpp='$CPP $CPPFLAGS'
58184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
58193 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
58195 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58196 for ac_func in _sincosl
58197 do :
58198 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
58199 if test "x$ac_cv_func__sincosl" = x""yes; then :
58200 cat >>confdefs.h <<_ACEOF
58201 #define HAVE__SINCOSL 1
58202 _ACEOF
58205 done
58214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
58215 $as_echo_n "checking for finitel declaration... " >&6; }
58216 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58217 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
58218 $as_echo_n "(cached) " >&6
58219 else
58222 ac_ext=cpp
58223 ac_cpp='$CXXCPP $CPPFLAGS'
58224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58229 /* end confdefs.h. */
58230 #include <math.h>
58231 #ifdef HAVE_IEEEFP_H
58232 #include <ieeefp.h>
58233 #endif
58236 main ()
58238 finitel(0);
58240 return 0;
58242 _ACEOF
58243 if ac_fn_cxx_try_compile "$LINENO"; then :
58244 glibcxx_cv_func_finitel_use=yes
58245 else
58246 glibcxx_cv_func_finitel_use=no
58248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58249 ac_ext=c
58250 ac_cpp='$CPP $CPPFLAGS'
58251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
58260 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
58262 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58263 for ac_func in finitel
58264 do :
58265 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
58266 if test "x$ac_cv_func_finitel" = x""yes; then :
58267 cat >>confdefs.h <<_ACEOF
58268 #define HAVE_FINITEL 1
58269 _ACEOF
58272 done
58274 else
58276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
58277 $as_echo_n "checking for _finitel declaration... " >&6; }
58278 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58279 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
58280 $as_echo_n "(cached) " >&6
58281 else
58284 ac_ext=cpp
58285 ac_cpp='$CXXCPP $CPPFLAGS'
58286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58291 /* end confdefs.h. */
58292 #include <math.h>
58293 #ifdef HAVE_IEEEFP_H
58294 #include <ieeefp.h>
58295 #endif
58298 main ()
58300 _finitel(0);
58302 return 0;
58304 _ACEOF
58305 if ac_fn_cxx_try_compile "$LINENO"; then :
58306 glibcxx_cv_func__finitel_use=yes
58307 else
58308 glibcxx_cv_func__finitel_use=no
58310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58311 ac_ext=c
58312 ac_cpp='$CPP $CPPFLAGS'
58313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
58322 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
58324 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58325 for ac_func in _finitel
58326 do :
58327 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
58328 if test "x$ac_cv_func__finitel" = x""yes; then :
58329 cat >>confdefs.h <<_ACEOF
58330 #define HAVE__FINITEL 1
58331 _ACEOF
58334 done
58342 LIBS="$ac_save_LIBS"
58343 CXXFLAGS="$ac_save_CXXFLAGS"
58346 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58347 ac_save_CXXFLAGS="$CXXFLAGS"
58348 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
58352 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
58353 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
58354 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
58355 $as_echo_n "(cached) " >&6
58356 else
58359 ac_ext=cpp
58360 ac_cpp='$CXXCPP $CPPFLAGS'
58361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58366 /* end confdefs.h. */
58367 #include <stdlib.h>
58369 main ()
58371 at_quick_exit(0);
58373 return 0;
58375 _ACEOF
58376 if ac_fn_cxx_try_compile "$LINENO"; then :
58377 glibcxx_cv_func_at_quick_exit_use=yes
58378 else
58379 glibcxx_cv_func_at_quick_exit_use=no
58381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58382 ac_ext=c
58383 ac_cpp='$CPP $CPPFLAGS'
58384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
58393 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
58394 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
58395 for ac_func in at_quick_exit
58396 do :
58397 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
58398 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
58399 cat >>confdefs.h <<_ACEOF
58400 #define HAVE_AT_QUICK_EXIT 1
58401 _ACEOF
58404 done
58409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
58410 $as_echo_n "checking for quick_exit declaration... " >&6; }
58411 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
58412 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
58413 $as_echo_n "(cached) " >&6
58414 else
58417 ac_ext=cpp
58418 ac_cpp='$CXXCPP $CPPFLAGS'
58419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58424 /* end confdefs.h. */
58425 #include <stdlib.h>
58427 main ()
58429 quick_exit(0);
58431 return 0;
58433 _ACEOF
58434 if ac_fn_cxx_try_compile "$LINENO"; then :
58435 glibcxx_cv_func_quick_exit_use=yes
58436 else
58437 glibcxx_cv_func_quick_exit_use=no
58439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58440 ac_ext=c
58441 ac_cpp='$CPP $CPPFLAGS'
58442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
58451 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
58452 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
58453 for ac_func in quick_exit
58454 do :
58455 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
58456 if test "x$ac_cv_func_quick_exit" = x""yes; then :
58457 cat >>confdefs.h <<_ACEOF
58458 #define HAVE_QUICK_EXIT 1
58459 _ACEOF
58462 done
58467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
58468 $as_echo_n "checking for strtold declaration... " >&6; }
58469 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
58470 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
58471 $as_echo_n "(cached) " >&6
58472 else
58475 ac_ext=cpp
58476 ac_cpp='$CXXCPP $CPPFLAGS'
58477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58482 /* end confdefs.h. */
58483 #include <stdlib.h>
58485 main ()
58487 strtold(0, 0);
58489 return 0;
58491 _ACEOF
58492 if ac_fn_cxx_try_compile "$LINENO"; then :
58493 glibcxx_cv_func_strtold_use=yes
58494 else
58495 glibcxx_cv_func_strtold_use=no
58497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58498 ac_ext=c
58499 ac_cpp='$CPP $CPPFLAGS'
58500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
58509 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
58510 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
58511 for ac_func in strtold
58512 do :
58513 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
58514 if test "x$ac_cv_func_strtold" = x""yes; then :
58515 cat >>confdefs.h <<_ACEOF
58516 #define HAVE_STRTOLD 1
58517 _ACEOF
58520 done
58527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
58528 $as_echo_n "checking for strtof declaration... " >&6; }
58529 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
58530 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
58531 $as_echo_n "(cached) " >&6
58532 else
58535 ac_ext=cpp
58536 ac_cpp='$CXXCPP $CPPFLAGS'
58537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58542 /* end confdefs.h. */
58543 #include <stdlib.h>
58545 main ()
58547 strtof(0, 0);
58549 return 0;
58551 _ACEOF
58552 if ac_fn_cxx_try_compile "$LINENO"; then :
58553 glibcxx_cv_func_strtof_use=yes
58554 else
58555 glibcxx_cv_func_strtof_use=no
58557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58558 ac_ext=c
58559 ac_cpp='$CPP $CPPFLAGS'
58560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
58569 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
58570 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
58571 for ac_func in strtof
58572 do :
58573 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
58574 if test "x$ac_cv_func_strtof" = x""yes; then :
58575 cat >>confdefs.h <<_ACEOF
58576 #define HAVE_STRTOF 1
58577 _ACEOF
58580 done
58587 CXXFLAGS="$ac_save_CXXFLAGS"
58590 *-netbsd*)
58591 SECTION_FLAGS='-ffunction-sections -fdata-sections'
58594 # If we're not using GNU ld, then there's no point in even trying these
58595 # tests. Check for that first. We should have already tested for gld
58596 # by now (in libtool), but require it now just to be safe...
58597 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58598 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58602 # The name set by libtool depends on the version of libtool. Shame on us
58603 # for depending on an impl detail, but c'est la vie. Older versions used
58604 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58605 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58606 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58607 # set (hence we're using an older libtool), then set it.
58608 if test x${with_gnu_ld+set} != xset; then
58609 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58610 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58611 with_gnu_ld=no
58612 else
58613 with_gnu_ld=$ac_cv_prog_gnu_ld
58617 # Start by getting the version number. I think the libtool test already
58618 # does some of this, but throws away the result.
58619 glibcxx_ld_is_gold=no
58620 if test x"$with_gnu_ld" = x"yes"; then
58621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58622 $as_echo_n "checking for ld version... " >&6; }
58624 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58625 glibcxx_ld_is_gold=yes
58627 ldver=`$LD --version 2>/dev/null |
58628 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'`
58630 glibcxx_gnu_ld_version=`echo $ldver | \
58631 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58633 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58636 # Set --gc-sections.
58637 glibcxx_have_gc_sections=no
58638 if test "$glibcxx_ld_is_gold" = "yes"; then
58639 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58640 glibcxx_have_gc_sections=yes
58642 else
58643 glibcxx_gcsections_min_ld=21602
58644 if test x"$with_gnu_ld" = x"yes" &&
58645 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58646 glibcxx_have_gc_sections=yes
58649 if test "$glibcxx_have_gc_sections" = "yes"; then
58650 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58651 # NB: This flag only works reliably after 2.16.1. Configure tests
58652 # for this are difficult, so hard wire a value that should work.
58654 ac_test_CFLAGS="${CFLAGS+set}"
58655 ac_save_CFLAGS="$CFLAGS"
58656 CFLAGS='-Wl,--gc-sections'
58658 # Check for -Wl,--gc-sections
58659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58660 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58661 if test x$gcc_no_link = xyes; then
58662 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58665 /* end confdefs.h. */
58666 int one(void) { return 1; }
58667 int two(void) { return 2; }
58670 main ()
58672 two();
58674 return 0;
58676 _ACEOF
58677 if ac_fn_c_try_link "$LINENO"; then :
58678 ac_gcsections=yes
58679 else
58680 ac_gcsections=no
58682 rm -f core conftest.err conftest.$ac_objext \
58683 conftest$ac_exeext conftest.$ac_ext
58684 if test "$ac_gcsections" = "yes"; then
58685 rm -f conftest.c
58686 touch conftest.c
58687 if $CC -c conftest.c; then
58688 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58689 grep "Warning: gc-sections option ignored" > /dev/null; then
58690 ac_gcsections=no
58693 rm -f conftest.c conftest.o conftest
58695 if test "$ac_gcsections" = "yes"; then
58696 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58699 $as_echo "$ac_gcsections" >&6; }
58701 if test "$ac_test_CFLAGS" = set; then
58702 CFLAGS="$ac_save_CFLAGS"
58703 else
58704 # this is the suspicious part
58705 CFLAGS=''
58709 # Set -z,relro.
58710 # Note this is only for shared objects.
58711 ac_ld_relro=no
58712 if test x"$with_gnu_ld" = x"yes"; then
58713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58714 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58715 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58716 if test -n "$cxx_z_relo"; then
58717 OPT_LDFLAGS="-Wl,-z,relro"
58718 ac_ld_relro=yes
58720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58721 $as_echo "$ac_ld_relro" >&6; }
58724 # Set linker optimization flags.
58725 if test x"$with_gnu_ld" = x"yes"; then
58726 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58732 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
58734 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
58736 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
58738 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
58740 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
58742 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
58744 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
58746 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
58748 if test x"long_double_math_on_this_cpu" = x"yes"; then
58749 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
58751 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
58753 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
58757 *-qnx6.1* | *-qnx6.2*)
58758 SECTION_FLAGS='-ffunction-sections -fdata-sections'
58761 # If we're not using GNU ld, then there's no point in even trying these
58762 # tests. Check for that first. We should have already tested for gld
58763 # by now (in libtool), but require it now just to be safe...
58764 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58765 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58769 # The name set by libtool depends on the version of libtool. Shame on us
58770 # for depending on an impl detail, but c'est la vie. Older versions used
58771 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58772 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58773 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58774 # set (hence we're using an older libtool), then set it.
58775 if test x${with_gnu_ld+set} != xset; then
58776 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58777 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58778 with_gnu_ld=no
58779 else
58780 with_gnu_ld=$ac_cv_prog_gnu_ld
58784 # Start by getting the version number. I think the libtool test already
58785 # does some of this, but throws away the result.
58786 glibcxx_ld_is_gold=no
58787 if test x"$with_gnu_ld" = x"yes"; then
58788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58789 $as_echo_n "checking for ld version... " >&6; }
58791 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58792 glibcxx_ld_is_gold=yes
58794 ldver=`$LD --version 2>/dev/null |
58795 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'`
58797 glibcxx_gnu_ld_version=`echo $ldver | \
58798 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58800 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58803 # Set --gc-sections.
58804 glibcxx_have_gc_sections=no
58805 if test "$glibcxx_ld_is_gold" = "yes"; then
58806 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58807 glibcxx_have_gc_sections=yes
58809 else
58810 glibcxx_gcsections_min_ld=21602
58811 if test x"$with_gnu_ld" = x"yes" &&
58812 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58813 glibcxx_have_gc_sections=yes
58816 if test "$glibcxx_have_gc_sections" = "yes"; then
58817 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58818 # NB: This flag only works reliably after 2.16.1. Configure tests
58819 # for this are difficult, so hard wire a value that should work.
58821 ac_test_CFLAGS="${CFLAGS+set}"
58822 ac_save_CFLAGS="$CFLAGS"
58823 CFLAGS='-Wl,--gc-sections'
58825 # Check for -Wl,--gc-sections
58826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58827 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58828 if test x$gcc_no_link = xyes; then
58829 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58832 /* end confdefs.h. */
58833 int one(void) { return 1; }
58834 int two(void) { return 2; }
58837 main ()
58839 two();
58841 return 0;
58843 _ACEOF
58844 if ac_fn_c_try_link "$LINENO"; then :
58845 ac_gcsections=yes
58846 else
58847 ac_gcsections=no
58849 rm -f core conftest.err conftest.$ac_objext \
58850 conftest$ac_exeext conftest.$ac_ext
58851 if test "$ac_gcsections" = "yes"; then
58852 rm -f conftest.c
58853 touch conftest.c
58854 if $CC -c conftest.c; then
58855 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58856 grep "Warning: gc-sections option ignored" > /dev/null; then
58857 ac_gcsections=no
58860 rm -f conftest.c conftest.o conftest
58862 if test "$ac_gcsections" = "yes"; then
58863 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58866 $as_echo "$ac_gcsections" >&6; }
58868 if test "$ac_test_CFLAGS" = set; then
58869 CFLAGS="$ac_save_CFLAGS"
58870 else
58871 # this is the suspicious part
58872 CFLAGS=''
58876 # Set -z,relro.
58877 # Note this is only for shared objects.
58878 ac_ld_relro=no
58879 if test x"$with_gnu_ld" = x"yes"; then
58880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58881 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58882 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58883 if test -n "$cxx_z_relo"; then
58884 OPT_LDFLAGS="-Wl,-z,relro"
58885 ac_ld_relro=yes
58887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58888 $as_echo "$ac_ld_relro" >&6; }
58891 # Set linker optimization flags.
58892 if test x"$with_gnu_ld" = x"yes"; then
58893 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58899 $as_echo "#define HAVE_COSF 1" >>confdefs.h
58901 $as_echo "#define HAVE_COSL 1" >>confdefs.h
58903 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
58905 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
58907 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
58909 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
58911 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
58913 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
58915 $as_echo "#define HAVE_SINF 1" >>confdefs.h
58917 $as_echo "#define HAVE_SINL 1" >>confdefs.h
58919 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
58921 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
58924 *-rtems*)
58926 # All these tests are for C++; save the language and the compiler flags.
58927 # The CXXFLAGS thing is suspicious, but based on similar bits previously
58928 # found in GLIBCXX_CONFIGURE.
58930 ac_ext=cpp
58931 ac_cpp='$CXXCPP $CPPFLAGS'
58932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58936 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58937 ac_save_CXXFLAGS="$CXXFLAGS"
58939 # Check for maintainer-mode bits.
58940 if test x"$USE_MAINTAINER_MODE" = xno; then
58941 WERROR=''
58942 else
58943 WERROR='-Werror'
58946 # Check for -ffunction-sections -fdata-sections
58947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
58948 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
58949 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
58950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58951 /* end confdefs.h. */
58952 int foo; void bar() { };
58954 main ()
58958 return 0;
58960 _ACEOF
58961 if ac_fn_cxx_try_compile "$LINENO"; then :
58962 ac_fdsections=yes
58963 else
58964 ac_fdsections=no
58966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58967 if test "$ac_test_CXXFLAGS" = set; then
58968 CXXFLAGS="$ac_save_CXXFLAGS"
58969 else
58970 # this is the suspicious part
58971 CXXFLAGS=''
58973 if test x"$ac_fdsections" = x"yes"; then
58974 SECTION_FLAGS='-ffunction-sections -fdata-sections'
58976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
58977 $as_echo "$ac_fdsections" >&6; }
58979 ac_ext=c
58980 ac_cpp='$CPP $CPPFLAGS'
58981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58989 # If we're not using GNU ld, then there's no point in even trying these
58990 # tests. Check for that first. We should have already tested for gld
58991 # by now (in libtool), but require it now just to be safe...
58992 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58993 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58997 # The name set by libtool depends on the version of libtool. Shame on us
58998 # for depending on an impl detail, but c'est la vie. Older versions used
58999 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
59000 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
59001 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
59002 # set (hence we're using an older libtool), then set it.
59003 if test x${with_gnu_ld+set} != xset; then
59004 if test x${ac_cv_prog_gnu_ld+set} != xset; then
59005 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
59006 with_gnu_ld=no
59007 else
59008 with_gnu_ld=$ac_cv_prog_gnu_ld
59012 # Start by getting the version number. I think the libtool test already
59013 # does some of this, but throws away the result.
59014 glibcxx_ld_is_gold=no
59015 if test x"$with_gnu_ld" = x"yes"; then
59016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
59017 $as_echo_n "checking for ld version... " >&6; }
59019 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
59020 glibcxx_ld_is_gold=yes
59022 ldver=`$LD --version 2>/dev/null |
59023 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'`
59025 glibcxx_gnu_ld_version=`echo $ldver | \
59026 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
59027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
59028 $as_echo "$glibcxx_gnu_ld_version" >&6; }
59031 # Set --gc-sections.
59032 glibcxx_have_gc_sections=no
59033 if test "$glibcxx_ld_is_gold" = "yes"; then
59034 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
59035 glibcxx_have_gc_sections=yes
59037 else
59038 glibcxx_gcsections_min_ld=21602
59039 if test x"$with_gnu_ld" = x"yes" &&
59040 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
59041 glibcxx_have_gc_sections=yes
59044 if test "$glibcxx_have_gc_sections" = "yes"; then
59045 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
59046 # NB: This flag only works reliably after 2.16.1. Configure tests
59047 # for this are difficult, so hard wire a value that should work.
59049 ac_test_CFLAGS="${CFLAGS+set}"
59050 ac_save_CFLAGS="$CFLAGS"
59051 CFLAGS='-Wl,--gc-sections'
59053 # Check for -Wl,--gc-sections
59054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
59055 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
59056 if test x$gcc_no_link = xyes; then
59057 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59060 /* end confdefs.h. */
59061 int one(void) { return 1; }
59062 int two(void) { return 2; }
59065 main ()
59067 two();
59069 return 0;
59071 _ACEOF
59072 if ac_fn_c_try_link "$LINENO"; then :
59073 ac_gcsections=yes
59074 else
59075 ac_gcsections=no
59077 rm -f core conftest.err conftest.$ac_objext \
59078 conftest$ac_exeext conftest.$ac_ext
59079 if test "$ac_gcsections" = "yes"; then
59080 rm -f conftest.c
59081 touch conftest.c
59082 if $CC -c conftest.c; then
59083 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
59084 grep "Warning: gc-sections option ignored" > /dev/null; then
59085 ac_gcsections=no
59088 rm -f conftest.c conftest.o conftest
59090 if test "$ac_gcsections" = "yes"; then
59091 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
59093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
59094 $as_echo "$ac_gcsections" >&6; }
59096 if test "$ac_test_CFLAGS" = set; then
59097 CFLAGS="$ac_save_CFLAGS"
59098 else
59099 # this is the suspicious part
59100 CFLAGS=''
59104 # Set -z,relro.
59105 # Note this is only for shared objects.
59106 ac_ld_relro=no
59107 if test x"$with_gnu_ld" = x"yes"; then
59108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
59109 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
59110 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
59111 if test -n "$cxx_z_relo"; then
59112 OPT_LDFLAGS="-Wl,-z,relro"
59113 ac_ld_relro=yes
59115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
59116 $as_echo "$ac_ld_relro" >&6; }
59119 # Set linker optimization flags.
59120 if test x"$with_gnu_ld" = x"yes"; then
59121 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
59128 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59129 ac_save_CXXFLAGS="$CXXFLAGS"
59130 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
59133 $as_echo_n "checking for sin in -lm... " >&6; }
59134 if test "${ac_cv_lib_m_sin+set}" = set; then :
59135 $as_echo_n "(cached) " >&6
59136 else
59137 ac_check_lib_save_LIBS=$LIBS
59138 LIBS="-lm $LIBS"
59139 if test x$gcc_no_link = xyes; then
59140 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59143 /* end confdefs.h. */
59145 /* Override any GCC internal prototype to avoid an error.
59146 Use char because int might match the return type of a GCC
59147 builtin and then its argument prototype would still apply. */
59148 #ifdef __cplusplus
59149 extern "C"
59150 #endif
59151 char sin ();
59153 main ()
59155 return sin ();
59157 return 0;
59159 _ACEOF
59160 if ac_fn_c_try_link "$LINENO"; then :
59161 ac_cv_lib_m_sin=yes
59162 else
59163 ac_cv_lib_m_sin=no
59165 rm -f core conftest.err conftest.$ac_objext \
59166 conftest$ac_exeext conftest.$ac_ext
59167 LIBS=$ac_check_lib_save_LIBS
59169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
59170 $as_echo "$ac_cv_lib_m_sin" >&6; }
59171 if test "x$ac_cv_lib_m_sin" = x""yes; then :
59172 libm="-lm"
59175 ac_save_LIBS="$LIBS"
59176 LIBS="$LIBS $libm"
59180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
59181 $as_echo_n "checking for isinf declaration... " >&6; }
59182 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
59183 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
59184 $as_echo_n "(cached) " >&6
59185 else
59188 ac_ext=cpp
59189 ac_cpp='$CXXCPP $CPPFLAGS'
59190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59195 /* end confdefs.h. */
59196 #include <math.h>
59197 #ifdef HAVE_IEEEFP_H
59198 #include <ieeefp.h>
59199 #endif
59202 main ()
59204 isinf(0);
59206 return 0;
59208 _ACEOF
59209 if ac_fn_cxx_try_compile "$LINENO"; then :
59210 glibcxx_cv_func_isinf_use=yes
59211 else
59212 glibcxx_cv_func_isinf_use=no
59214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59215 ac_ext=c
59216 ac_cpp='$CPP $CPPFLAGS'
59217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
59226 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
59228 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
59229 for ac_func in isinf
59230 do :
59231 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
59232 if test "x$ac_cv_func_isinf" = x""yes; then :
59233 cat >>confdefs.h <<_ACEOF
59234 #define HAVE_ISINF 1
59235 _ACEOF
59238 done
59240 else
59242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
59243 $as_echo_n "checking for _isinf declaration... " >&6; }
59244 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
59245 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
59246 $as_echo_n "(cached) " >&6
59247 else
59250 ac_ext=cpp
59251 ac_cpp='$CXXCPP $CPPFLAGS'
59252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59257 /* end confdefs.h. */
59258 #include <math.h>
59259 #ifdef HAVE_IEEEFP_H
59260 #include <ieeefp.h>
59261 #endif
59264 main ()
59266 _isinf(0);
59268 return 0;
59270 _ACEOF
59271 if ac_fn_cxx_try_compile "$LINENO"; then :
59272 glibcxx_cv_func__isinf_use=yes
59273 else
59274 glibcxx_cv_func__isinf_use=no
59276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59277 ac_ext=c
59278 ac_cpp='$CPP $CPPFLAGS'
59279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
59288 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
59290 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
59291 for ac_func in _isinf
59292 do :
59293 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
59294 if test "x$ac_cv_func__isinf" = x""yes; then :
59295 cat >>confdefs.h <<_ACEOF
59296 #define HAVE__ISINF 1
59297 _ACEOF
59300 done
59309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
59310 $as_echo_n "checking for isnan declaration... " >&6; }
59311 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
59312 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
59313 $as_echo_n "(cached) " >&6
59314 else
59317 ac_ext=cpp
59318 ac_cpp='$CXXCPP $CPPFLAGS'
59319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59324 /* end confdefs.h. */
59325 #include <math.h>
59326 #ifdef HAVE_IEEEFP_H
59327 #include <ieeefp.h>
59328 #endif
59331 main ()
59333 isnan(0);
59335 return 0;
59337 _ACEOF
59338 if ac_fn_cxx_try_compile "$LINENO"; then :
59339 glibcxx_cv_func_isnan_use=yes
59340 else
59341 glibcxx_cv_func_isnan_use=no
59343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59344 ac_ext=c
59345 ac_cpp='$CPP $CPPFLAGS'
59346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
59355 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
59357 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
59358 for ac_func in isnan
59359 do :
59360 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
59361 if test "x$ac_cv_func_isnan" = x""yes; then :
59362 cat >>confdefs.h <<_ACEOF
59363 #define HAVE_ISNAN 1
59364 _ACEOF
59367 done
59369 else
59371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
59372 $as_echo_n "checking for _isnan declaration... " >&6; }
59373 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
59374 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
59375 $as_echo_n "(cached) " >&6
59376 else
59379 ac_ext=cpp
59380 ac_cpp='$CXXCPP $CPPFLAGS'
59381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59386 /* end confdefs.h. */
59387 #include <math.h>
59388 #ifdef HAVE_IEEEFP_H
59389 #include <ieeefp.h>
59390 #endif
59393 main ()
59395 _isnan(0);
59397 return 0;
59399 _ACEOF
59400 if ac_fn_cxx_try_compile "$LINENO"; then :
59401 glibcxx_cv_func__isnan_use=yes
59402 else
59403 glibcxx_cv_func__isnan_use=no
59405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59406 ac_ext=c
59407 ac_cpp='$CPP $CPPFLAGS'
59408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
59417 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
59419 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
59420 for ac_func in _isnan
59421 do :
59422 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
59423 if test "x$ac_cv_func__isnan" = x""yes; then :
59424 cat >>confdefs.h <<_ACEOF
59425 #define HAVE__ISNAN 1
59426 _ACEOF
59429 done
59438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
59439 $as_echo_n "checking for finite declaration... " >&6; }
59440 if test x${glibcxx_cv_func_finite_use+set} != xset; then
59441 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
59442 $as_echo_n "(cached) " >&6
59443 else
59446 ac_ext=cpp
59447 ac_cpp='$CXXCPP $CPPFLAGS'
59448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59453 /* end confdefs.h. */
59454 #include <math.h>
59455 #ifdef HAVE_IEEEFP_H
59456 #include <ieeefp.h>
59457 #endif
59460 main ()
59462 finite(0);
59464 return 0;
59466 _ACEOF
59467 if ac_fn_cxx_try_compile "$LINENO"; then :
59468 glibcxx_cv_func_finite_use=yes
59469 else
59470 glibcxx_cv_func_finite_use=no
59472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59473 ac_ext=c
59474 ac_cpp='$CPP $CPPFLAGS'
59475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
59484 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
59486 if test x$glibcxx_cv_func_finite_use = x"yes"; then
59487 for ac_func in finite
59488 do :
59489 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
59490 if test "x$ac_cv_func_finite" = x""yes; then :
59491 cat >>confdefs.h <<_ACEOF
59492 #define HAVE_FINITE 1
59493 _ACEOF
59496 done
59498 else
59500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
59501 $as_echo_n "checking for _finite declaration... " >&6; }
59502 if test x${glibcxx_cv_func__finite_use+set} != xset; then
59503 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
59504 $as_echo_n "(cached) " >&6
59505 else
59508 ac_ext=cpp
59509 ac_cpp='$CXXCPP $CPPFLAGS'
59510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59515 /* end confdefs.h. */
59516 #include <math.h>
59517 #ifdef HAVE_IEEEFP_H
59518 #include <ieeefp.h>
59519 #endif
59522 main ()
59524 _finite(0);
59526 return 0;
59528 _ACEOF
59529 if ac_fn_cxx_try_compile "$LINENO"; then :
59530 glibcxx_cv_func__finite_use=yes
59531 else
59532 glibcxx_cv_func__finite_use=no
59534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59535 ac_ext=c
59536 ac_cpp='$CPP $CPPFLAGS'
59537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
59546 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
59548 if test x$glibcxx_cv_func__finite_use = x"yes"; then
59549 for ac_func in _finite
59550 do :
59551 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
59552 if test "x$ac_cv_func__finite" = x""yes; then :
59553 cat >>confdefs.h <<_ACEOF
59554 #define HAVE__FINITE 1
59555 _ACEOF
59558 done
59567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
59568 $as_echo_n "checking for sincos declaration... " >&6; }
59569 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
59570 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
59571 $as_echo_n "(cached) " >&6
59572 else
59575 ac_ext=cpp
59576 ac_cpp='$CXXCPP $CPPFLAGS'
59577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59582 /* end confdefs.h. */
59583 #include <math.h>
59585 main ()
59587 sincos(0, 0, 0);
59589 return 0;
59591 _ACEOF
59592 if ac_fn_cxx_try_compile "$LINENO"; then :
59593 glibcxx_cv_func_sincos_use=yes
59594 else
59595 glibcxx_cv_func_sincos_use=no
59597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59598 ac_ext=c
59599 ac_cpp='$CPP $CPPFLAGS'
59600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
59609 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
59611 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
59612 for ac_func in sincos
59613 do :
59614 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
59615 if test "x$ac_cv_func_sincos" = x""yes; then :
59616 cat >>confdefs.h <<_ACEOF
59617 #define HAVE_SINCOS 1
59618 _ACEOF
59621 done
59623 else
59625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
59626 $as_echo_n "checking for _sincos declaration... " >&6; }
59627 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
59628 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
59629 $as_echo_n "(cached) " >&6
59630 else
59633 ac_ext=cpp
59634 ac_cpp='$CXXCPP $CPPFLAGS'
59635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59640 /* end confdefs.h. */
59641 #include <math.h>
59643 main ()
59645 _sincos(0, 0, 0);
59647 return 0;
59649 _ACEOF
59650 if ac_fn_cxx_try_compile "$LINENO"; then :
59651 glibcxx_cv_func__sincos_use=yes
59652 else
59653 glibcxx_cv_func__sincos_use=no
59655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59656 ac_ext=c
59657 ac_cpp='$CPP $CPPFLAGS'
59658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
59667 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
59669 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
59670 for ac_func in _sincos
59671 do :
59672 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
59673 if test "x$ac_cv_func__sincos" = x""yes; then :
59674 cat >>confdefs.h <<_ACEOF
59675 #define HAVE__SINCOS 1
59676 _ACEOF
59679 done
59688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
59689 $as_echo_n "checking for fpclass declaration... " >&6; }
59690 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
59691 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
59692 $as_echo_n "(cached) " >&6
59693 else
59696 ac_ext=cpp
59697 ac_cpp='$CXXCPP $CPPFLAGS'
59698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59703 /* end confdefs.h. */
59704 #include <math.h>
59705 #ifdef HAVE_IEEEFP_H
59706 #include <ieeefp.h>
59707 #endif
59710 main ()
59712 fpclass(0);
59714 return 0;
59716 _ACEOF
59717 if ac_fn_cxx_try_compile "$LINENO"; then :
59718 glibcxx_cv_func_fpclass_use=yes
59719 else
59720 glibcxx_cv_func_fpclass_use=no
59722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59723 ac_ext=c
59724 ac_cpp='$CPP $CPPFLAGS'
59725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
59734 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
59736 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
59737 for ac_func in fpclass
59738 do :
59739 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
59740 if test "x$ac_cv_func_fpclass" = x""yes; then :
59741 cat >>confdefs.h <<_ACEOF
59742 #define HAVE_FPCLASS 1
59743 _ACEOF
59746 done
59748 else
59750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
59751 $as_echo_n "checking for _fpclass declaration... " >&6; }
59752 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
59753 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
59754 $as_echo_n "(cached) " >&6
59755 else
59758 ac_ext=cpp
59759 ac_cpp='$CXXCPP $CPPFLAGS'
59760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59765 /* end confdefs.h. */
59766 #include <math.h>
59767 #ifdef HAVE_IEEEFP_H
59768 #include <ieeefp.h>
59769 #endif
59772 main ()
59774 _fpclass(0);
59776 return 0;
59778 _ACEOF
59779 if ac_fn_cxx_try_compile "$LINENO"; then :
59780 glibcxx_cv_func__fpclass_use=yes
59781 else
59782 glibcxx_cv_func__fpclass_use=no
59784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59785 ac_ext=c
59786 ac_cpp='$CPP $CPPFLAGS'
59787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
59796 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
59798 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
59799 for ac_func in _fpclass
59800 do :
59801 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
59802 if test "x$ac_cv_func__fpclass" = x""yes; then :
59803 cat >>confdefs.h <<_ACEOF
59804 #define HAVE__FPCLASS 1
59805 _ACEOF
59808 done
59817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
59818 $as_echo_n "checking for qfpclass declaration... " >&6; }
59819 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
59820 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
59821 $as_echo_n "(cached) " >&6
59822 else
59825 ac_ext=cpp
59826 ac_cpp='$CXXCPP $CPPFLAGS'
59827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59832 /* end confdefs.h. */
59833 #include <math.h>
59834 #ifdef HAVE_IEEEFP_H
59835 #include <ieeefp.h>
59836 #endif
59839 main ()
59841 qfpclass(0);
59843 return 0;
59845 _ACEOF
59846 if ac_fn_cxx_try_compile "$LINENO"; then :
59847 glibcxx_cv_func_qfpclass_use=yes
59848 else
59849 glibcxx_cv_func_qfpclass_use=no
59851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59852 ac_ext=c
59853 ac_cpp='$CPP $CPPFLAGS'
59854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
59863 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
59865 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
59866 for ac_func in qfpclass
59867 do :
59868 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
59869 if test "x$ac_cv_func_qfpclass" = x""yes; then :
59870 cat >>confdefs.h <<_ACEOF
59871 #define HAVE_QFPCLASS 1
59872 _ACEOF
59875 done
59877 else
59879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
59880 $as_echo_n "checking for _qfpclass declaration... " >&6; }
59881 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
59882 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
59883 $as_echo_n "(cached) " >&6
59884 else
59887 ac_ext=cpp
59888 ac_cpp='$CXXCPP $CPPFLAGS'
59889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59894 /* end confdefs.h. */
59895 #include <math.h>
59896 #ifdef HAVE_IEEEFP_H
59897 #include <ieeefp.h>
59898 #endif
59901 main ()
59903 _qfpclass(0);
59905 return 0;
59907 _ACEOF
59908 if ac_fn_cxx_try_compile "$LINENO"; then :
59909 glibcxx_cv_func__qfpclass_use=yes
59910 else
59911 glibcxx_cv_func__qfpclass_use=no
59913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59914 ac_ext=c
59915 ac_cpp='$CPP $CPPFLAGS'
59916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
59925 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
59927 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
59928 for ac_func in _qfpclass
59929 do :
59930 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
59931 if test "x$ac_cv_func__qfpclass" = x""yes; then :
59932 cat >>confdefs.h <<_ACEOF
59933 #define HAVE__QFPCLASS 1
59934 _ACEOF
59937 done
59946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
59947 $as_echo_n "checking for hypot declaration... " >&6; }
59948 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
59949 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
59950 $as_echo_n "(cached) " >&6
59951 else
59954 ac_ext=cpp
59955 ac_cpp='$CXXCPP $CPPFLAGS'
59956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59961 /* end confdefs.h. */
59962 #include <math.h>
59964 main ()
59966 hypot(0, 0);
59968 return 0;
59970 _ACEOF
59971 if ac_fn_cxx_try_compile "$LINENO"; then :
59972 glibcxx_cv_func_hypot_use=yes
59973 else
59974 glibcxx_cv_func_hypot_use=no
59976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59977 ac_ext=c
59978 ac_cpp='$CPP $CPPFLAGS'
59979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
59988 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
59990 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
59991 for ac_func in hypot
59992 do :
59993 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
59994 if test "x$ac_cv_func_hypot" = x""yes; then :
59995 cat >>confdefs.h <<_ACEOF
59996 #define HAVE_HYPOT 1
59997 _ACEOF
60000 done
60002 else
60004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
60005 $as_echo_n "checking for _hypot declaration... " >&6; }
60006 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
60007 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
60008 $as_echo_n "(cached) " >&6
60009 else
60012 ac_ext=cpp
60013 ac_cpp='$CXXCPP $CPPFLAGS'
60014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60019 /* end confdefs.h. */
60020 #include <math.h>
60022 main ()
60024 _hypot(0, 0);
60026 return 0;
60028 _ACEOF
60029 if ac_fn_cxx_try_compile "$LINENO"; then :
60030 glibcxx_cv_func__hypot_use=yes
60031 else
60032 glibcxx_cv_func__hypot_use=no
60034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60035 ac_ext=c
60036 ac_cpp='$CPP $CPPFLAGS'
60037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
60046 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
60048 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
60049 for ac_func in _hypot
60050 do :
60051 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
60052 if test "x$ac_cv_func__hypot" = x""yes; then :
60053 cat >>confdefs.h <<_ACEOF
60054 #define HAVE__HYPOT 1
60055 _ACEOF
60058 done
60067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
60068 $as_echo_n "checking for float trig functions... " >&6; }
60069 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
60070 $as_echo_n "(cached) " >&6
60071 else
60074 ac_ext=cpp
60075 ac_cpp='$CXXCPP $CPPFLAGS'
60076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60081 /* end confdefs.h. */
60082 #include <math.h>
60084 main ()
60086 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
60088 return 0;
60090 _ACEOF
60091 if ac_fn_cxx_try_compile "$LINENO"; then :
60092 glibcxx_cv_func_float_trig_use=yes
60093 else
60094 glibcxx_cv_func_float_trig_use=no
60096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60097 ac_ext=c
60098 ac_cpp='$CPP $CPPFLAGS'
60099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
60106 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
60107 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
60108 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
60109 do :
60110 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60111 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60112 eval as_val=\$$as_ac_var
60113 if test "x$as_val" = x""yes; then :
60114 cat >>confdefs.h <<_ACEOF
60115 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60116 _ACEOF
60119 done
60121 else
60122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
60123 $as_echo_n "checking for _float trig functions... " >&6; }
60124 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
60125 $as_echo_n "(cached) " >&6
60126 else
60129 ac_ext=cpp
60130 ac_cpp='$CXXCPP $CPPFLAGS'
60131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60136 /* end confdefs.h. */
60137 #include <math.h>
60139 main ()
60141 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
60143 return 0;
60145 _ACEOF
60146 if ac_fn_cxx_try_compile "$LINENO"; then :
60147 glibcxx_cv_func__float_trig_use=yes
60148 else
60149 glibcxx_cv_func__float_trig_use=no
60151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60152 ac_ext=c
60153 ac_cpp='$CPP $CPPFLAGS'
60154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
60161 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
60162 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
60163 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
60164 do :
60165 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60166 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60167 eval as_val=\$$as_ac_var
60168 if test "x$as_val" = x""yes; then :
60169 cat >>confdefs.h <<_ACEOF
60170 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60171 _ACEOF
60174 done
60183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
60184 $as_echo_n "checking for float round functions... " >&6; }
60185 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
60186 $as_echo_n "(cached) " >&6
60187 else
60190 ac_ext=cpp
60191 ac_cpp='$CXXCPP $CPPFLAGS'
60192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60197 /* end confdefs.h. */
60198 #include <math.h>
60200 main ()
60202 ceilf (0); floorf (0);
60204 return 0;
60206 _ACEOF
60207 if ac_fn_cxx_try_compile "$LINENO"; then :
60208 glibcxx_cv_func_float_round_use=yes
60209 else
60210 glibcxx_cv_func_float_round_use=no
60212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60213 ac_ext=c
60214 ac_cpp='$CPP $CPPFLAGS'
60215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
60222 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
60223 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
60224 for ac_func in ceilf floorf
60225 do :
60226 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60227 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60228 eval as_val=\$$as_ac_var
60229 if test "x$as_val" = x""yes; then :
60230 cat >>confdefs.h <<_ACEOF
60231 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60232 _ACEOF
60235 done
60237 else
60238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
60239 $as_echo_n "checking for _float round functions... " >&6; }
60240 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
60241 $as_echo_n "(cached) " >&6
60242 else
60245 ac_ext=cpp
60246 ac_cpp='$CXXCPP $CPPFLAGS'
60247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60252 /* end confdefs.h. */
60253 #include <math.h>
60255 main ()
60257 _ceilf (0); _floorf (0);
60259 return 0;
60261 _ACEOF
60262 if ac_fn_cxx_try_compile "$LINENO"; then :
60263 glibcxx_cv_func__float_round_use=yes
60264 else
60265 glibcxx_cv_func__float_round_use=no
60267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60268 ac_ext=c
60269 ac_cpp='$CPP $CPPFLAGS'
60270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
60277 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
60278 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60279 for ac_func in _ceilf _floorf
60280 do :
60281 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60282 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60283 eval as_val=\$$as_ac_var
60284 if test "x$as_val" = x""yes; then :
60285 cat >>confdefs.h <<_ACEOF
60286 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60287 _ACEOF
60290 done
60300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
60301 $as_echo_n "checking for expf declaration... " >&6; }
60302 if test x${glibcxx_cv_func_expf_use+set} != xset; then
60303 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
60304 $as_echo_n "(cached) " >&6
60305 else
60308 ac_ext=cpp
60309 ac_cpp='$CXXCPP $CPPFLAGS'
60310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60315 /* end confdefs.h. */
60316 #include <math.h>
60317 #ifdef HAVE_IEEEFP_H
60318 #include <ieeefp.h>
60319 #endif
60322 main ()
60324 expf(0);
60326 return 0;
60328 _ACEOF
60329 if ac_fn_cxx_try_compile "$LINENO"; then :
60330 glibcxx_cv_func_expf_use=yes
60331 else
60332 glibcxx_cv_func_expf_use=no
60334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60335 ac_ext=c
60336 ac_cpp='$CPP $CPPFLAGS'
60337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
60346 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
60348 if test x$glibcxx_cv_func_expf_use = x"yes"; then
60349 for ac_func in expf
60350 do :
60351 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
60352 if test "x$ac_cv_func_expf" = x""yes; then :
60353 cat >>confdefs.h <<_ACEOF
60354 #define HAVE_EXPF 1
60355 _ACEOF
60358 done
60360 else
60362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
60363 $as_echo_n "checking for _expf declaration... " >&6; }
60364 if test x${glibcxx_cv_func__expf_use+set} != xset; then
60365 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
60366 $as_echo_n "(cached) " >&6
60367 else
60370 ac_ext=cpp
60371 ac_cpp='$CXXCPP $CPPFLAGS'
60372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60377 /* end confdefs.h. */
60378 #include <math.h>
60379 #ifdef HAVE_IEEEFP_H
60380 #include <ieeefp.h>
60381 #endif
60384 main ()
60386 _expf(0);
60388 return 0;
60390 _ACEOF
60391 if ac_fn_cxx_try_compile "$LINENO"; then :
60392 glibcxx_cv_func__expf_use=yes
60393 else
60394 glibcxx_cv_func__expf_use=no
60396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60397 ac_ext=c
60398 ac_cpp='$CPP $CPPFLAGS'
60399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
60408 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
60410 if test x$glibcxx_cv_func__expf_use = x"yes"; then
60411 for ac_func in _expf
60412 do :
60413 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
60414 if test "x$ac_cv_func__expf" = x""yes; then :
60415 cat >>confdefs.h <<_ACEOF
60416 #define HAVE__EXPF 1
60417 _ACEOF
60420 done
60429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
60430 $as_echo_n "checking for isnanf declaration... " >&6; }
60431 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
60432 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
60433 $as_echo_n "(cached) " >&6
60434 else
60437 ac_ext=cpp
60438 ac_cpp='$CXXCPP $CPPFLAGS'
60439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60444 /* end confdefs.h. */
60445 #include <math.h>
60446 #ifdef HAVE_IEEEFP_H
60447 #include <ieeefp.h>
60448 #endif
60451 main ()
60453 isnanf(0);
60455 return 0;
60457 _ACEOF
60458 if ac_fn_cxx_try_compile "$LINENO"; then :
60459 glibcxx_cv_func_isnanf_use=yes
60460 else
60461 glibcxx_cv_func_isnanf_use=no
60463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60464 ac_ext=c
60465 ac_cpp='$CPP $CPPFLAGS'
60466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
60475 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
60477 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
60478 for ac_func in isnanf
60479 do :
60480 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
60481 if test "x$ac_cv_func_isnanf" = x""yes; then :
60482 cat >>confdefs.h <<_ACEOF
60483 #define HAVE_ISNANF 1
60484 _ACEOF
60487 done
60489 else
60491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
60492 $as_echo_n "checking for _isnanf declaration... " >&6; }
60493 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
60494 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
60495 $as_echo_n "(cached) " >&6
60496 else
60499 ac_ext=cpp
60500 ac_cpp='$CXXCPP $CPPFLAGS'
60501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60506 /* end confdefs.h. */
60507 #include <math.h>
60508 #ifdef HAVE_IEEEFP_H
60509 #include <ieeefp.h>
60510 #endif
60513 main ()
60515 _isnanf(0);
60517 return 0;
60519 _ACEOF
60520 if ac_fn_cxx_try_compile "$LINENO"; then :
60521 glibcxx_cv_func__isnanf_use=yes
60522 else
60523 glibcxx_cv_func__isnanf_use=no
60525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60526 ac_ext=c
60527 ac_cpp='$CPP $CPPFLAGS'
60528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
60537 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
60539 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
60540 for ac_func in _isnanf
60541 do :
60542 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
60543 if test "x$ac_cv_func__isnanf" = x""yes; then :
60544 cat >>confdefs.h <<_ACEOF
60545 #define HAVE__ISNANF 1
60546 _ACEOF
60549 done
60558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
60559 $as_echo_n "checking for isinff declaration... " >&6; }
60560 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
60561 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
60562 $as_echo_n "(cached) " >&6
60563 else
60566 ac_ext=cpp
60567 ac_cpp='$CXXCPP $CPPFLAGS'
60568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60573 /* end confdefs.h. */
60574 #include <math.h>
60575 #ifdef HAVE_IEEEFP_H
60576 #include <ieeefp.h>
60577 #endif
60580 main ()
60582 isinff(0);
60584 return 0;
60586 _ACEOF
60587 if ac_fn_cxx_try_compile "$LINENO"; then :
60588 glibcxx_cv_func_isinff_use=yes
60589 else
60590 glibcxx_cv_func_isinff_use=no
60592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60593 ac_ext=c
60594 ac_cpp='$CPP $CPPFLAGS'
60595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
60604 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
60606 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
60607 for ac_func in isinff
60608 do :
60609 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
60610 if test "x$ac_cv_func_isinff" = x""yes; then :
60611 cat >>confdefs.h <<_ACEOF
60612 #define HAVE_ISINFF 1
60613 _ACEOF
60616 done
60618 else
60620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
60621 $as_echo_n "checking for _isinff declaration... " >&6; }
60622 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
60623 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
60624 $as_echo_n "(cached) " >&6
60625 else
60628 ac_ext=cpp
60629 ac_cpp='$CXXCPP $CPPFLAGS'
60630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60635 /* end confdefs.h. */
60636 #include <math.h>
60637 #ifdef HAVE_IEEEFP_H
60638 #include <ieeefp.h>
60639 #endif
60642 main ()
60644 _isinff(0);
60646 return 0;
60648 _ACEOF
60649 if ac_fn_cxx_try_compile "$LINENO"; then :
60650 glibcxx_cv_func__isinff_use=yes
60651 else
60652 glibcxx_cv_func__isinff_use=no
60654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60655 ac_ext=c
60656 ac_cpp='$CPP $CPPFLAGS'
60657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
60666 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
60668 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
60669 for ac_func in _isinff
60670 do :
60671 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
60672 if test "x$ac_cv_func__isinff" = x""yes; then :
60673 cat >>confdefs.h <<_ACEOF
60674 #define HAVE__ISINFF 1
60675 _ACEOF
60678 done
60687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
60688 $as_echo_n "checking for atan2f declaration... " >&6; }
60689 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
60690 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
60691 $as_echo_n "(cached) " >&6
60692 else
60695 ac_ext=cpp
60696 ac_cpp='$CXXCPP $CPPFLAGS'
60697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60702 /* end confdefs.h. */
60703 #include <math.h>
60705 main ()
60707 atan2f(0, 0);
60709 return 0;
60711 _ACEOF
60712 if ac_fn_cxx_try_compile "$LINENO"; then :
60713 glibcxx_cv_func_atan2f_use=yes
60714 else
60715 glibcxx_cv_func_atan2f_use=no
60717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60718 ac_ext=c
60719 ac_cpp='$CPP $CPPFLAGS'
60720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
60729 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
60731 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
60732 for ac_func in atan2f
60733 do :
60734 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
60735 if test "x$ac_cv_func_atan2f" = x""yes; then :
60736 cat >>confdefs.h <<_ACEOF
60737 #define HAVE_ATAN2F 1
60738 _ACEOF
60741 done
60743 else
60745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
60746 $as_echo_n "checking for _atan2f declaration... " >&6; }
60747 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
60748 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
60749 $as_echo_n "(cached) " >&6
60750 else
60753 ac_ext=cpp
60754 ac_cpp='$CXXCPP $CPPFLAGS'
60755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60760 /* end confdefs.h. */
60761 #include <math.h>
60763 main ()
60765 _atan2f(0, 0);
60767 return 0;
60769 _ACEOF
60770 if ac_fn_cxx_try_compile "$LINENO"; then :
60771 glibcxx_cv_func__atan2f_use=yes
60772 else
60773 glibcxx_cv_func__atan2f_use=no
60775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60776 ac_ext=c
60777 ac_cpp='$CPP $CPPFLAGS'
60778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
60787 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
60789 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
60790 for ac_func in _atan2f
60791 do :
60792 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
60793 if test "x$ac_cv_func__atan2f" = x""yes; then :
60794 cat >>confdefs.h <<_ACEOF
60795 #define HAVE__ATAN2F 1
60796 _ACEOF
60799 done
60808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
60809 $as_echo_n "checking for fabsf declaration... " >&6; }
60810 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
60811 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
60812 $as_echo_n "(cached) " >&6
60813 else
60816 ac_ext=cpp
60817 ac_cpp='$CXXCPP $CPPFLAGS'
60818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60823 /* end confdefs.h. */
60824 #include <math.h>
60825 #ifdef HAVE_IEEEFP_H
60826 #include <ieeefp.h>
60827 #endif
60830 main ()
60832 fabsf(0);
60834 return 0;
60836 _ACEOF
60837 if ac_fn_cxx_try_compile "$LINENO"; then :
60838 glibcxx_cv_func_fabsf_use=yes
60839 else
60840 glibcxx_cv_func_fabsf_use=no
60842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60843 ac_ext=c
60844 ac_cpp='$CPP $CPPFLAGS'
60845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
60854 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
60856 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60857 for ac_func in fabsf
60858 do :
60859 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
60860 if test "x$ac_cv_func_fabsf" = x""yes; then :
60861 cat >>confdefs.h <<_ACEOF
60862 #define HAVE_FABSF 1
60863 _ACEOF
60866 done
60868 else
60870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
60871 $as_echo_n "checking for _fabsf declaration... " >&6; }
60872 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60873 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
60874 $as_echo_n "(cached) " >&6
60875 else
60878 ac_ext=cpp
60879 ac_cpp='$CXXCPP $CPPFLAGS'
60880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60885 /* end confdefs.h. */
60886 #include <math.h>
60887 #ifdef HAVE_IEEEFP_H
60888 #include <ieeefp.h>
60889 #endif
60892 main ()
60894 _fabsf(0);
60896 return 0;
60898 _ACEOF
60899 if ac_fn_cxx_try_compile "$LINENO"; then :
60900 glibcxx_cv_func__fabsf_use=yes
60901 else
60902 glibcxx_cv_func__fabsf_use=no
60904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60905 ac_ext=c
60906 ac_cpp='$CPP $CPPFLAGS'
60907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
60916 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
60918 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60919 for ac_func in _fabsf
60920 do :
60921 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
60922 if test "x$ac_cv_func__fabsf" = x""yes; then :
60923 cat >>confdefs.h <<_ACEOF
60924 #define HAVE__FABSF 1
60925 _ACEOF
60928 done
60937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
60938 $as_echo_n "checking for fmodf declaration... " >&6; }
60939 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60940 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
60941 $as_echo_n "(cached) " >&6
60942 else
60945 ac_ext=cpp
60946 ac_cpp='$CXXCPP $CPPFLAGS'
60947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60952 /* end confdefs.h. */
60953 #include <math.h>
60955 main ()
60957 fmodf(0, 0);
60959 return 0;
60961 _ACEOF
60962 if ac_fn_cxx_try_compile "$LINENO"; then :
60963 glibcxx_cv_func_fmodf_use=yes
60964 else
60965 glibcxx_cv_func_fmodf_use=no
60967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60968 ac_ext=c
60969 ac_cpp='$CPP $CPPFLAGS'
60970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
60979 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
60981 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60982 for ac_func in fmodf
60983 do :
60984 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
60985 if test "x$ac_cv_func_fmodf" = x""yes; then :
60986 cat >>confdefs.h <<_ACEOF
60987 #define HAVE_FMODF 1
60988 _ACEOF
60991 done
60993 else
60995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
60996 $as_echo_n "checking for _fmodf declaration... " >&6; }
60997 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60998 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
60999 $as_echo_n "(cached) " >&6
61000 else
61003 ac_ext=cpp
61004 ac_cpp='$CXXCPP $CPPFLAGS'
61005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61010 /* end confdefs.h. */
61011 #include <math.h>
61013 main ()
61015 _fmodf(0, 0);
61017 return 0;
61019 _ACEOF
61020 if ac_fn_cxx_try_compile "$LINENO"; then :
61021 glibcxx_cv_func__fmodf_use=yes
61022 else
61023 glibcxx_cv_func__fmodf_use=no
61025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61026 ac_ext=c
61027 ac_cpp='$CPP $CPPFLAGS'
61028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
61037 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
61039 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
61040 for ac_func in _fmodf
61041 do :
61042 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
61043 if test "x$ac_cv_func__fmodf" = x""yes; then :
61044 cat >>confdefs.h <<_ACEOF
61045 #define HAVE__FMODF 1
61046 _ACEOF
61049 done
61058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
61059 $as_echo_n "checking for frexpf declaration... " >&6; }
61060 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
61061 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
61062 $as_echo_n "(cached) " >&6
61063 else
61066 ac_ext=cpp
61067 ac_cpp='$CXXCPP $CPPFLAGS'
61068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61073 /* end confdefs.h. */
61074 #include <math.h>
61076 main ()
61078 frexpf(0, 0);
61080 return 0;
61082 _ACEOF
61083 if ac_fn_cxx_try_compile "$LINENO"; then :
61084 glibcxx_cv_func_frexpf_use=yes
61085 else
61086 glibcxx_cv_func_frexpf_use=no
61088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61089 ac_ext=c
61090 ac_cpp='$CPP $CPPFLAGS'
61091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
61100 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
61102 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
61103 for ac_func in frexpf
61104 do :
61105 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
61106 if test "x$ac_cv_func_frexpf" = x""yes; then :
61107 cat >>confdefs.h <<_ACEOF
61108 #define HAVE_FREXPF 1
61109 _ACEOF
61112 done
61114 else
61116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
61117 $as_echo_n "checking for _frexpf declaration... " >&6; }
61118 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
61119 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
61120 $as_echo_n "(cached) " >&6
61121 else
61124 ac_ext=cpp
61125 ac_cpp='$CXXCPP $CPPFLAGS'
61126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61131 /* end confdefs.h. */
61132 #include <math.h>
61134 main ()
61136 _frexpf(0, 0);
61138 return 0;
61140 _ACEOF
61141 if ac_fn_cxx_try_compile "$LINENO"; then :
61142 glibcxx_cv_func__frexpf_use=yes
61143 else
61144 glibcxx_cv_func__frexpf_use=no
61146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61147 ac_ext=c
61148 ac_cpp='$CPP $CPPFLAGS'
61149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
61158 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
61160 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
61161 for ac_func in _frexpf
61162 do :
61163 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
61164 if test "x$ac_cv_func__frexpf" = x""yes; then :
61165 cat >>confdefs.h <<_ACEOF
61166 #define HAVE__FREXPF 1
61167 _ACEOF
61170 done
61179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
61180 $as_echo_n "checking for hypotf declaration... " >&6; }
61181 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
61182 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
61183 $as_echo_n "(cached) " >&6
61184 else
61187 ac_ext=cpp
61188 ac_cpp='$CXXCPP $CPPFLAGS'
61189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61194 /* end confdefs.h. */
61195 #include <math.h>
61197 main ()
61199 hypotf(0, 0);
61201 return 0;
61203 _ACEOF
61204 if ac_fn_cxx_try_compile "$LINENO"; then :
61205 glibcxx_cv_func_hypotf_use=yes
61206 else
61207 glibcxx_cv_func_hypotf_use=no
61209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61210 ac_ext=c
61211 ac_cpp='$CPP $CPPFLAGS'
61212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
61221 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
61223 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
61224 for ac_func in hypotf
61225 do :
61226 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
61227 if test "x$ac_cv_func_hypotf" = x""yes; then :
61228 cat >>confdefs.h <<_ACEOF
61229 #define HAVE_HYPOTF 1
61230 _ACEOF
61233 done
61235 else
61237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
61238 $as_echo_n "checking for _hypotf declaration... " >&6; }
61239 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61240 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
61241 $as_echo_n "(cached) " >&6
61242 else
61245 ac_ext=cpp
61246 ac_cpp='$CXXCPP $CPPFLAGS'
61247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61252 /* end confdefs.h. */
61253 #include <math.h>
61255 main ()
61257 _hypotf(0, 0);
61259 return 0;
61261 _ACEOF
61262 if ac_fn_cxx_try_compile "$LINENO"; then :
61263 glibcxx_cv_func__hypotf_use=yes
61264 else
61265 glibcxx_cv_func__hypotf_use=no
61267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61268 ac_ext=c
61269 ac_cpp='$CPP $CPPFLAGS'
61270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
61279 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
61281 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61282 for ac_func in _hypotf
61283 do :
61284 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
61285 if test "x$ac_cv_func__hypotf" = x""yes; then :
61286 cat >>confdefs.h <<_ACEOF
61287 #define HAVE__HYPOTF 1
61288 _ACEOF
61291 done
61300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
61301 $as_echo_n "checking for ldexpf declaration... " >&6; }
61302 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61303 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
61304 $as_echo_n "(cached) " >&6
61305 else
61308 ac_ext=cpp
61309 ac_cpp='$CXXCPP $CPPFLAGS'
61310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61315 /* end confdefs.h. */
61316 #include <math.h>
61318 main ()
61320 ldexpf(0, 0);
61322 return 0;
61324 _ACEOF
61325 if ac_fn_cxx_try_compile "$LINENO"; then :
61326 glibcxx_cv_func_ldexpf_use=yes
61327 else
61328 glibcxx_cv_func_ldexpf_use=no
61330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61331 ac_ext=c
61332 ac_cpp='$CPP $CPPFLAGS'
61333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
61342 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
61344 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61345 for ac_func in ldexpf
61346 do :
61347 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
61348 if test "x$ac_cv_func_ldexpf" = x""yes; then :
61349 cat >>confdefs.h <<_ACEOF
61350 #define HAVE_LDEXPF 1
61351 _ACEOF
61354 done
61356 else
61358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
61359 $as_echo_n "checking for _ldexpf declaration... " >&6; }
61360 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61361 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
61362 $as_echo_n "(cached) " >&6
61363 else
61366 ac_ext=cpp
61367 ac_cpp='$CXXCPP $CPPFLAGS'
61368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61373 /* end confdefs.h. */
61374 #include <math.h>
61376 main ()
61378 _ldexpf(0, 0);
61380 return 0;
61382 _ACEOF
61383 if ac_fn_cxx_try_compile "$LINENO"; then :
61384 glibcxx_cv_func__ldexpf_use=yes
61385 else
61386 glibcxx_cv_func__ldexpf_use=no
61388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61389 ac_ext=c
61390 ac_cpp='$CPP $CPPFLAGS'
61391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
61400 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
61402 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61403 for ac_func in _ldexpf
61404 do :
61405 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
61406 if test "x$ac_cv_func__ldexpf" = x""yes; then :
61407 cat >>confdefs.h <<_ACEOF
61408 #define HAVE__LDEXPF 1
61409 _ACEOF
61412 done
61421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
61422 $as_echo_n "checking for logf declaration... " >&6; }
61423 if test x${glibcxx_cv_func_logf_use+set} != xset; then
61424 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
61425 $as_echo_n "(cached) " >&6
61426 else
61429 ac_ext=cpp
61430 ac_cpp='$CXXCPP $CPPFLAGS'
61431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61436 /* end confdefs.h. */
61437 #include <math.h>
61438 #ifdef HAVE_IEEEFP_H
61439 #include <ieeefp.h>
61440 #endif
61443 main ()
61445 logf(0);
61447 return 0;
61449 _ACEOF
61450 if ac_fn_cxx_try_compile "$LINENO"; then :
61451 glibcxx_cv_func_logf_use=yes
61452 else
61453 glibcxx_cv_func_logf_use=no
61455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61456 ac_ext=c
61457 ac_cpp='$CPP $CPPFLAGS'
61458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
61467 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
61469 if test x$glibcxx_cv_func_logf_use = x"yes"; then
61470 for ac_func in logf
61471 do :
61472 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
61473 if test "x$ac_cv_func_logf" = x""yes; then :
61474 cat >>confdefs.h <<_ACEOF
61475 #define HAVE_LOGF 1
61476 _ACEOF
61479 done
61481 else
61483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
61484 $as_echo_n "checking for _logf declaration... " >&6; }
61485 if test x${glibcxx_cv_func__logf_use+set} != xset; then
61486 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
61487 $as_echo_n "(cached) " >&6
61488 else
61491 ac_ext=cpp
61492 ac_cpp='$CXXCPP $CPPFLAGS'
61493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61498 /* end confdefs.h. */
61499 #include <math.h>
61500 #ifdef HAVE_IEEEFP_H
61501 #include <ieeefp.h>
61502 #endif
61505 main ()
61507 _logf(0);
61509 return 0;
61511 _ACEOF
61512 if ac_fn_cxx_try_compile "$LINENO"; then :
61513 glibcxx_cv_func__logf_use=yes
61514 else
61515 glibcxx_cv_func__logf_use=no
61517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61518 ac_ext=c
61519 ac_cpp='$CPP $CPPFLAGS'
61520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
61529 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
61531 if test x$glibcxx_cv_func__logf_use = x"yes"; then
61532 for ac_func in _logf
61533 do :
61534 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
61535 if test "x$ac_cv_func__logf" = x""yes; then :
61536 cat >>confdefs.h <<_ACEOF
61537 #define HAVE__LOGF 1
61538 _ACEOF
61541 done
61550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
61551 $as_echo_n "checking for log10f declaration... " >&6; }
61552 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61553 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
61554 $as_echo_n "(cached) " >&6
61555 else
61558 ac_ext=cpp
61559 ac_cpp='$CXXCPP $CPPFLAGS'
61560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61565 /* end confdefs.h. */
61566 #include <math.h>
61567 #ifdef HAVE_IEEEFP_H
61568 #include <ieeefp.h>
61569 #endif
61572 main ()
61574 log10f(0);
61576 return 0;
61578 _ACEOF
61579 if ac_fn_cxx_try_compile "$LINENO"; then :
61580 glibcxx_cv_func_log10f_use=yes
61581 else
61582 glibcxx_cv_func_log10f_use=no
61584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61585 ac_ext=c
61586 ac_cpp='$CPP $CPPFLAGS'
61587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
61596 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
61598 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61599 for ac_func in log10f
61600 do :
61601 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
61602 if test "x$ac_cv_func_log10f" = x""yes; then :
61603 cat >>confdefs.h <<_ACEOF
61604 #define HAVE_LOG10F 1
61605 _ACEOF
61608 done
61610 else
61612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
61613 $as_echo_n "checking for _log10f declaration... " >&6; }
61614 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61615 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
61616 $as_echo_n "(cached) " >&6
61617 else
61620 ac_ext=cpp
61621 ac_cpp='$CXXCPP $CPPFLAGS'
61622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61627 /* end confdefs.h. */
61628 #include <math.h>
61629 #ifdef HAVE_IEEEFP_H
61630 #include <ieeefp.h>
61631 #endif
61634 main ()
61636 _log10f(0);
61638 return 0;
61640 _ACEOF
61641 if ac_fn_cxx_try_compile "$LINENO"; then :
61642 glibcxx_cv_func__log10f_use=yes
61643 else
61644 glibcxx_cv_func__log10f_use=no
61646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61647 ac_ext=c
61648 ac_cpp='$CPP $CPPFLAGS'
61649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
61658 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
61660 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61661 for ac_func in _log10f
61662 do :
61663 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
61664 if test "x$ac_cv_func__log10f" = x""yes; then :
61665 cat >>confdefs.h <<_ACEOF
61666 #define HAVE__LOG10F 1
61667 _ACEOF
61670 done
61679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
61680 $as_echo_n "checking for modff declaration... " >&6; }
61681 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61682 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
61683 $as_echo_n "(cached) " >&6
61684 else
61687 ac_ext=cpp
61688 ac_cpp='$CXXCPP $CPPFLAGS'
61689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61694 /* end confdefs.h. */
61695 #include <math.h>
61697 main ()
61699 modff(0, 0);
61701 return 0;
61703 _ACEOF
61704 if ac_fn_cxx_try_compile "$LINENO"; then :
61705 glibcxx_cv_func_modff_use=yes
61706 else
61707 glibcxx_cv_func_modff_use=no
61709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61710 ac_ext=c
61711 ac_cpp='$CPP $CPPFLAGS'
61712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
61721 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
61723 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61724 for ac_func in modff
61725 do :
61726 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
61727 if test "x$ac_cv_func_modff" = x""yes; then :
61728 cat >>confdefs.h <<_ACEOF
61729 #define HAVE_MODFF 1
61730 _ACEOF
61733 done
61735 else
61737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
61738 $as_echo_n "checking for _modff declaration... " >&6; }
61739 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61740 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
61741 $as_echo_n "(cached) " >&6
61742 else
61745 ac_ext=cpp
61746 ac_cpp='$CXXCPP $CPPFLAGS'
61747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61752 /* end confdefs.h. */
61753 #include <math.h>
61755 main ()
61757 _modff(0, 0);
61759 return 0;
61761 _ACEOF
61762 if ac_fn_cxx_try_compile "$LINENO"; then :
61763 glibcxx_cv_func__modff_use=yes
61764 else
61765 glibcxx_cv_func__modff_use=no
61767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61768 ac_ext=c
61769 ac_cpp='$CPP $CPPFLAGS'
61770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
61779 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
61781 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61782 for ac_func in _modff
61783 do :
61784 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
61785 if test "x$ac_cv_func__modff" = x""yes; then :
61786 cat >>confdefs.h <<_ACEOF
61787 #define HAVE__MODFF 1
61788 _ACEOF
61791 done
61800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
61801 $as_echo_n "checking for modf declaration... " >&6; }
61802 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61803 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
61804 $as_echo_n "(cached) " >&6
61805 else
61808 ac_ext=cpp
61809 ac_cpp='$CXXCPP $CPPFLAGS'
61810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61815 /* end confdefs.h. */
61816 #include <math.h>
61818 main ()
61820 modf(0, 0);
61822 return 0;
61824 _ACEOF
61825 if ac_fn_cxx_try_compile "$LINENO"; then :
61826 glibcxx_cv_func_modf_use=yes
61827 else
61828 glibcxx_cv_func_modf_use=no
61830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61831 ac_ext=c
61832 ac_cpp='$CPP $CPPFLAGS'
61833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
61842 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
61844 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61845 for ac_func in modf
61846 do :
61847 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
61848 if test "x$ac_cv_func_modf" = x""yes; then :
61849 cat >>confdefs.h <<_ACEOF
61850 #define HAVE_MODF 1
61851 _ACEOF
61854 done
61856 else
61858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
61859 $as_echo_n "checking for _modf declaration... " >&6; }
61860 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61861 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
61862 $as_echo_n "(cached) " >&6
61863 else
61866 ac_ext=cpp
61867 ac_cpp='$CXXCPP $CPPFLAGS'
61868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61873 /* end confdefs.h. */
61874 #include <math.h>
61876 main ()
61878 _modf(0, 0);
61880 return 0;
61882 _ACEOF
61883 if ac_fn_cxx_try_compile "$LINENO"; then :
61884 glibcxx_cv_func__modf_use=yes
61885 else
61886 glibcxx_cv_func__modf_use=no
61888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61889 ac_ext=c
61890 ac_cpp='$CPP $CPPFLAGS'
61891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
61900 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
61902 if test x$glibcxx_cv_func__modf_use = x"yes"; then
61903 for ac_func in _modf
61904 do :
61905 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
61906 if test "x$ac_cv_func__modf" = x""yes; then :
61907 cat >>confdefs.h <<_ACEOF
61908 #define HAVE__MODF 1
61909 _ACEOF
61912 done
61921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
61922 $as_echo_n "checking for powf declaration... " >&6; }
61923 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61924 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
61925 $as_echo_n "(cached) " >&6
61926 else
61929 ac_ext=cpp
61930 ac_cpp='$CXXCPP $CPPFLAGS'
61931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61936 /* end confdefs.h. */
61937 #include <math.h>
61939 main ()
61941 powf(0, 0);
61943 return 0;
61945 _ACEOF
61946 if ac_fn_cxx_try_compile "$LINENO"; then :
61947 glibcxx_cv_func_powf_use=yes
61948 else
61949 glibcxx_cv_func_powf_use=no
61951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61952 ac_ext=c
61953 ac_cpp='$CPP $CPPFLAGS'
61954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
61963 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
61965 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61966 for ac_func in powf
61967 do :
61968 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
61969 if test "x$ac_cv_func_powf" = x""yes; then :
61970 cat >>confdefs.h <<_ACEOF
61971 #define HAVE_POWF 1
61972 _ACEOF
61975 done
61977 else
61979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
61980 $as_echo_n "checking for _powf declaration... " >&6; }
61981 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61982 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
61983 $as_echo_n "(cached) " >&6
61984 else
61987 ac_ext=cpp
61988 ac_cpp='$CXXCPP $CPPFLAGS'
61989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61994 /* end confdefs.h. */
61995 #include <math.h>
61997 main ()
61999 _powf(0, 0);
62001 return 0;
62003 _ACEOF
62004 if ac_fn_cxx_try_compile "$LINENO"; then :
62005 glibcxx_cv_func__powf_use=yes
62006 else
62007 glibcxx_cv_func__powf_use=no
62009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62010 ac_ext=c
62011 ac_cpp='$CPP $CPPFLAGS'
62012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
62021 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
62023 if test x$glibcxx_cv_func__powf_use = x"yes"; then
62024 for ac_func in _powf
62025 do :
62026 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
62027 if test "x$ac_cv_func__powf" = x""yes; then :
62028 cat >>confdefs.h <<_ACEOF
62029 #define HAVE__POWF 1
62030 _ACEOF
62033 done
62042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
62043 $as_echo_n "checking for sqrtf declaration... " >&6; }
62044 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
62045 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
62046 $as_echo_n "(cached) " >&6
62047 else
62050 ac_ext=cpp
62051 ac_cpp='$CXXCPP $CPPFLAGS'
62052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62057 /* end confdefs.h. */
62058 #include <math.h>
62059 #ifdef HAVE_IEEEFP_H
62060 #include <ieeefp.h>
62061 #endif
62064 main ()
62066 sqrtf(0);
62068 return 0;
62070 _ACEOF
62071 if ac_fn_cxx_try_compile "$LINENO"; then :
62072 glibcxx_cv_func_sqrtf_use=yes
62073 else
62074 glibcxx_cv_func_sqrtf_use=no
62076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62077 ac_ext=c
62078 ac_cpp='$CPP $CPPFLAGS'
62079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
62088 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
62090 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
62091 for ac_func in sqrtf
62092 do :
62093 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
62094 if test "x$ac_cv_func_sqrtf" = x""yes; then :
62095 cat >>confdefs.h <<_ACEOF
62096 #define HAVE_SQRTF 1
62097 _ACEOF
62100 done
62102 else
62104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
62105 $as_echo_n "checking for _sqrtf declaration... " >&6; }
62106 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
62107 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
62108 $as_echo_n "(cached) " >&6
62109 else
62112 ac_ext=cpp
62113 ac_cpp='$CXXCPP $CPPFLAGS'
62114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62119 /* end confdefs.h. */
62120 #include <math.h>
62121 #ifdef HAVE_IEEEFP_H
62122 #include <ieeefp.h>
62123 #endif
62126 main ()
62128 _sqrtf(0);
62130 return 0;
62132 _ACEOF
62133 if ac_fn_cxx_try_compile "$LINENO"; then :
62134 glibcxx_cv_func__sqrtf_use=yes
62135 else
62136 glibcxx_cv_func__sqrtf_use=no
62138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62139 ac_ext=c
62140 ac_cpp='$CPP $CPPFLAGS'
62141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
62150 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
62152 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62153 for ac_func in _sqrtf
62154 do :
62155 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
62156 if test "x$ac_cv_func__sqrtf" = x""yes; then :
62157 cat >>confdefs.h <<_ACEOF
62158 #define HAVE__SQRTF 1
62159 _ACEOF
62162 done
62171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
62172 $as_echo_n "checking for sincosf declaration... " >&6; }
62173 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62174 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
62175 $as_echo_n "(cached) " >&6
62176 else
62179 ac_ext=cpp
62180 ac_cpp='$CXXCPP $CPPFLAGS'
62181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62186 /* end confdefs.h. */
62187 #include <math.h>
62189 main ()
62191 sincosf(0, 0, 0);
62193 return 0;
62195 _ACEOF
62196 if ac_fn_cxx_try_compile "$LINENO"; then :
62197 glibcxx_cv_func_sincosf_use=yes
62198 else
62199 glibcxx_cv_func_sincosf_use=no
62201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62202 ac_ext=c
62203 ac_cpp='$CPP $CPPFLAGS'
62204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
62213 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
62215 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62216 for ac_func in sincosf
62217 do :
62218 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
62219 if test "x$ac_cv_func_sincosf" = x""yes; then :
62220 cat >>confdefs.h <<_ACEOF
62221 #define HAVE_SINCOSF 1
62222 _ACEOF
62225 done
62227 else
62229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
62230 $as_echo_n "checking for _sincosf declaration... " >&6; }
62231 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62232 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
62233 $as_echo_n "(cached) " >&6
62234 else
62237 ac_ext=cpp
62238 ac_cpp='$CXXCPP $CPPFLAGS'
62239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62244 /* end confdefs.h. */
62245 #include <math.h>
62247 main ()
62249 _sincosf(0, 0, 0);
62251 return 0;
62253 _ACEOF
62254 if ac_fn_cxx_try_compile "$LINENO"; then :
62255 glibcxx_cv_func__sincosf_use=yes
62256 else
62257 glibcxx_cv_func__sincosf_use=no
62259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62260 ac_ext=c
62261 ac_cpp='$CPP $CPPFLAGS'
62262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
62271 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
62273 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62274 for ac_func in _sincosf
62275 do :
62276 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
62277 if test "x$ac_cv_func__sincosf" = x""yes; then :
62278 cat >>confdefs.h <<_ACEOF
62279 #define HAVE__SINCOSF 1
62280 _ACEOF
62283 done
62292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
62293 $as_echo_n "checking for finitef declaration... " >&6; }
62294 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62295 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
62296 $as_echo_n "(cached) " >&6
62297 else
62300 ac_ext=cpp
62301 ac_cpp='$CXXCPP $CPPFLAGS'
62302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62307 /* end confdefs.h. */
62308 #include <math.h>
62309 #ifdef HAVE_IEEEFP_H
62310 #include <ieeefp.h>
62311 #endif
62314 main ()
62316 finitef(0);
62318 return 0;
62320 _ACEOF
62321 if ac_fn_cxx_try_compile "$LINENO"; then :
62322 glibcxx_cv_func_finitef_use=yes
62323 else
62324 glibcxx_cv_func_finitef_use=no
62326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62327 ac_ext=c
62328 ac_cpp='$CPP $CPPFLAGS'
62329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
62338 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
62340 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62341 for ac_func in finitef
62342 do :
62343 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
62344 if test "x$ac_cv_func_finitef" = x""yes; then :
62345 cat >>confdefs.h <<_ACEOF
62346 #define HAVE_FINITEF 1
62347 _ACEOF
62350 done
62352 else
62354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
62355 $as_echo_n "checking for _finitef declaration... " >&6; }
62356 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62357 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
62358 $as_echo_n "(cached) " >&6
62359 else
62362 ac_ext=cpp
62363 ac_cpp='$CXXCPP $CPPFLAGS'
62364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62369 /* end confdefs.h. */
62370 #include <math.h>
62371 #ifdef HAVE_IEEEFP_H
62372 #include <ieeefp.h>
62373 #endif
62376 main ()
62378 _finitef(0);
62380 return 0;
62382 _ACEOF
62383 if ac_fn_cxx_try_compile "$LINENO"; then :
62384 glibcxx_cv_func__finitef_use=yes
62385 else
62386 glibcxx_cv_func__finitef_use=no
62388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62389 ac_ext=c
62390 ac_cpp='$CPP $CPPFLAGS'
62391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
62400 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
62402 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62403 for ac_func in _finitef
62404 do :
62405 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
62406 if test "x$ac_cv_func__finitef" = x""yes; then :
62407 cat >>confdefs.h <<_ACEOF
62408 #define HAVE__FINITEF 1
62409 _ACEOF
62412 done
62421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
62422 $as_echo_n "checking for long double trig functions... " >&6; }
62423 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
62424 $as_echo_n "(cached) " >&6
62425 else
62428 ac_ext=cpp
62429 ac_cpp='$CXXCPP $CPPFLAGS'
62430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62435 /* end confdefs.h. */
62436 #include <math.h>
62438 main ()
62440 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
62442 return 0;
62444 _ACEOF
62445 if ac_fn_cxx_try_compile "$LINENO"; then :
62446 glibcxx_cv_func_long_double_trig_use=yes
62447 else
62448 glibcxx_cv_func_long_double_trig_use=no
62450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62451 ac_ext=c
62452 ac_cpp='$CPP $CPPFLAGS'
62453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
62460 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
62461 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
62462 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
62463 do :
62464 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62465 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62466 eval as_val=\$$as_ac_var
62467 if test "x$as_val" = x""yes; then :
62468 cat >>confdefs.h <<_ACEOF
62469 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62470 _ACEOF
62473 done
62475 else
62476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
62477 $as_echo_n "checking for _long double trig functions... " >&6; }
62478 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
62479 $as_echo_n "(cached) " >&6
62480 else
62483 ac_ext=cpp
62484 ac_cpp='$CXXCPP $CPPFLAGS'
62485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62490 /* end confdefs.h. */
62491 #include <math.h>
62493 main ()
62495 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
62497 return 0;
62499 _ACEOF
62500 if ac_fn_cxx_try_compile "$LINENO"; then :
62501 glibcxx_cv_func__long_double_trig_use=yes
62502 else
62503 glibcxx_cv_func__long_double_trig_use=no
62505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62506 ac_ext=c
62507 ac_cpp='$CPP $CPPFLAGS'
62508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
62515 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
62516 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
62517 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
62518 do :
62519 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62520 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62521 eval as_val=\$$as_ac_var
62522 if test "x$as_val" = x""yes; then :
62523 cat >>confdefs.h <<_ACEOF
62524 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62525 _ACEOF
62528 done
62537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
62538 $as_echo_n "checking for long double round functions... " >&6; }
62539 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
62540 $as_echo_n "(cached) " >&6
62541 else
62544 ac_ext=cpp
62545 ac_cpp='$CXXCPP $CPPFLAGS'
62546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62551 /* end confdefs.h. */
62552 #include <math.h>
62554 main ()
62556 ceill (0); floorl (0);
62558 return 0;
62560 _ACEOF
62561 if ac_fn_cxx_try_compile "$LINENO"; then :
62562 glibcxx_cv_func_long_double_round_use=yes
62563 else
62564 glibcxx_cv_func_long_double_round_use=no
62566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62567 ac_ext=c
62568 ac_cpp='$CPP $CPPFLAGS'
62569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
62576 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
62577 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
62578 for ac_func in ceill floorl
62579 do :
62580 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62581 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62582 eval as_val=\$$as_ac_var
62583 if test "x$as_val" = x""yes; then :
62584 cat >>confdefs.h <<_ACEOF
62585 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62586 _ACEOF
62589 done
62591 else
62592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
62593 $as_echo_n "checking for _long double round functions... " >&6; }
62594 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
62595 $as_echo_n "(cached) " >&6
62596 else
62599 ac_ext=cpp
62600 ac_cpp='$CXXCPP $CPPFLAGS'
62601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62606 /* end confdefs.h. */
62607 #include <math.h>
62609 main ()
62611 _ceill (0); _floorl (0);
62613 return 0;
62615 _ACEOF
62616 if ac_fn_cxx_try_compile "$LINENO"; then :
62617 glibcxx_cv_func__long_double_round_use=yes
62618 else
62619 glibcxx_cv_func__long_double_round_use=no
62621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62622 ac_ext=c
62623 ac_cpp='$CPP $CPPFLAGS'
62624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
62631 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
62632 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
62633 for ac_func in _ceill _floorl
62634 do :
62635 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62636 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62637 eval as_val=\$$as_ac_var
62638 if test "x$as_val" = x""yes; then :
62639 cat >>confdefs.h <<_ACEOF
62640 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62641 _ACEOF
62644 done
62654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
62655 $as_echo_n "checking for isnanl declaration... " >&6; }
62656 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
62657 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
62658 $as_echo_n "(cached) " >&6
62659 else
62662 ac_ext=cpp
62663 ac_cpp='$CXXCPP $CPPFLAGS'
62664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62669 /* end confdefs.h. */
62670 #include <math.h>
62671 #ifdef HAVE_IEEEFP_H
62672 #include <ieeefp.h>
62673 #endif
62676 main ()
62678 isnanl(0);
62680 return 0;
62682 _ACEOF
62683 if ac_fn_cxx_try_compile "$LINENO"; then :
62684 glibcxx_cv_func_isnanl_use=yes
62685 else
62686 glibcxx_cv_func_isnanl_use=no
62688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62689 ac_ext=c
62690 ac_cpp='$CPP $CPPFLAGS'
62691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
62700 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
62702 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
62703 for ac_func in isnanl
62704 do :
62705 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
62706 if test "x$ac_cv_func_isnanl" = x""yes; then :
62707 cat >>confdefs.h <<_ACEOF
62708 #define HAVE_ISNANL 1
62709 _ACEOF
62712 done
62714 else
62716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
62717 $as_echo_n "checking for _isnanl declaration... " >&6; }
62718 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
62719 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
62720 $as_echo_n "(cached) " >&6
62721 else
62724 ac_ext=cpp
62725 ac_cpp='$CXXCPP $CPPFLAGS'
62726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62731 /* end confdefs.h. */
62732 #include <math.h>
62733 #ifdef HAVE_IEEEFP_H
62734 #include <ieeefp.h>
62735 #endif
62738 main ()
62740 _isnanl(0);
62742 return 0;
62744 _ACEOF
62745 if ac_fn_cxx_try_compile "$LINENO"; then :
62746 glibcxx_cv_func__isnanl_use=yes
62747 else
62748 glibcxx_cv_func__isnanl_use=no
62750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62751 ac_ext=c
62752 ac_cpp='$CPP $CPPFLAGS'
62753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
62762 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
62764 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
62765 for ac_func in _isnanl
62766 do :
62767 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
62768 if test "x$ac_cv_func__isnanl" = x""yes; then :
62769 cat >>confdefs.h <<_ACEOF
62770 #define HAVE__ISNANL 1
62771 _ACEOF
62774 done
62783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
62784 $as_echo_n "checking for isinfl declaration... " >&6; }
62785 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
62786 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
62787 $as_echo_n "(cached) " >&6
62788 else
62791 ac_ext=cpp
62792 ac_cpp='$CXXCPP $CPPFLAGS'
62793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62798 /* end confdefs.h. */
62799 #include <math.h>
62800 #ifdef HAVE_IEEEFP_H
62801 #include <ieeefp.h>
62802 #endif
62805 main ()
62807 isinfl(0);
62809 return 0;
62811 _ACEOF
62812 if ac_fn_cxx_try_compile "$LINENO"; then :
62813 glibcxx_cv_func_isinfl_use=yes
62814 else
62815 glibcxx_cv_func_isinfl_use=no
62817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62818 ac_ext=c
62819 ac_cpp='$CPP $CPPFLAGS'
62820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
62829 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
62831 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
62832 for ac_func in isinfl
62833 do :
62834 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
62835 if test "x$ac_cv_func_isinfl" = x""yes; then :
62836 cat >>confdefs.h <<_ACEOF
62837 #define HAVE_ISINFL 1
62838 _ACEOF
62841 done
62843 else
62845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
62846 $as_echo_n "checking for _isinfl declaration... " >&6; }
62847 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
62848 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
62849 $as_echo_n "(cached) " >&6
62850 else
62853 ac_ext=cpp
62854 ac_cpp='$CXXCPP $CPPFLAGS'
62855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62860 /* end confdefs.h. */
62861 #include <math.h>
62862 #ifdef HAVE_IEEEFP_H
62863 #include <ieeefp.h>
62864 #endif
62867 main ()
62869 _isinfl(0);
62871 return 0;
62873 _ACEOF
62874 if ac_fn_cxx_try_compile "$LINENO"; then :
62875 glibcxx_cv_func__isinfl_use=yes
62876 else
62877 glibcxx_cv_func__isinfl_use=no
62879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62880 ac_ext=c
62881 ac_cpp='$CPP $CPPFLAGS'
62882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
62891 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
62893 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
62894 for ac_func in _isinfl
62895 do :
62896 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
62897 if test "x$ac_cv_func__isinfl" = x""yes; then :
62898 cat >>confdefs.h <<_ACEOF
62899 #define HAVE__ISINFL 1
62900 _ACEOF
62903 done
62912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
62913 $as_echo_n "checking for atan2l declaration... " >&6; }
62914 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
62915 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
62916 $as_echo_n "(cached) " >&6
62917 else
62920 ac_ext=cpp
62921 ac_cpp='$CXXCPP $CPPFLAGS'
62922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62927 /* end confdefs.h. */
62928 #include <math.h>
62930 main ()
62932 atan2l(0, 0);
62934 return 0;
62936 _ACEOF
62937 if ac_fn_cxx_try_compile "$LINENO"; then :
62938 glibcxx_cv_func_atan2l_use=yes
62939 else
62940 glibcxx_cv_func_atan2l_use=no
62942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62943 ac_ext=c
62944 ac_cpp='$CPP $CPPFLAGS'
62945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
62954 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
62956 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
62957 for ac_func in atan2l
62958 do :
62959 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
62960 if test "x$ac_cv_func_atan2l" = x""yes; then :
62961 cat >>confdefs.h <<_ACEOF
62962 #define HAVE_ATAN2L 1
62963 _ACEOF
62966 done
62968 else
62970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
62971 $as_echo_n "checking for _atan2l declaration... " >&6; }
62972 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
62973 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
62974 $as_echo_n "(cached) " >&6
62975 else
62978 ac_ext=cpp
62979 ac_cpp='$CXXCPP $CPPFLAGS'
62980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62985 /* end confdefs.h. */
62986 #include <math.h>
62988 main ()
62990 _atan2l(0, 0);
62992 return 0;
62994 _ACEOF
62995 if ac_fn_cxx_try_compile "$LINENO"; then :
62996 glibcxx_cv_func__atan2l_use=yes
62997 else
62998 glibcxx_cv_func__atan2l_use=no
63000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63001 ac_ext=c
63002 ac_cpp='$CPP $CPPFLAGS'
63003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
63012 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
63014 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
63015 for ac_func in _atan2l
63016 do :
63017 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
63018 if test "x$ac_cv_func__atan2l" = x""yes; then :
63019 cat >>confdefs.h <<_ACEOF
63020 #define HAVE__ATAN2L 1
63021 _ACEOF
63024 done
63033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
63034 $as_echo_n "checking for expl declaration... " >&6; }
63035 if test x${glibcxx_cv_func_expl_use+set} != xset; then
63036 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
63037 $as_echo_n "(cached) " >&6
63038 else
63041 ac_ext=cpp
63042 ac_cpp='$CXXCPP $CPPFLAGS'
63043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63048 /* end confdefs.h. */
63049 #include <math.h>
63050 #ifdef HAVE_IEEEFP_H
63051 #include <ieeefp.h>
63052 #endif
63055 main ()
63057 expl(0);
63059 return 0;
63061 _ACEOF
63062 if ac_fn_cxx_try_compile "$LINENO"; then :
63063 glibcxx_cv_func_expl_use=yes
63064 else
63065 glibcxx_cv_func_expl_use=no
63067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63068 ac_ext=c
63069 ac_cpp='$CPP $CPPFLAGS'
63070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
63079 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
63081 if test x$glibcxx_cv_func_expl_use = x"yes"; then
63082 for ac_func in expl
63083 do :
63084 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
63085 if test "x$ac_cv_func_expl" = x""yes; then :
63086 cat >>confdefs.h <<_ACEOF
63087 #define HAVE_EXPL 1
63088 _ACEOF
63091 done
63093 else
63095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
63096 $as_echo_n "checking for _expl declaration... " >&6; }
63097 if test x${glibcxx_cv_func__expl_use+set} != xset; then
63098 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
63099 $as_echo_n "(cached) " >&6
63100 else
63103 ac_ext=cpp
63104 ac_cpp='$CXXCPP $CPPFLAGS'
63105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63110 /* end confdefs.h. */
63111 #include <math.h>
63112 #ifdef HAVE_IEEEFP_H
63113 #include <ieeefp.h>
63114 #endif
63117 main ()
63119 _expl(0);
63121 return 0;
63123 _ACEOF
63124 if ac_fn_cxx_try_compile "$LINENO"; then :
63125 glibcxx_cv_func__expl_use=yes
63126 else
63127 glibcxx_cv_func__expl_use=no
63129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63130 ac_ext=c
63131 ac_cpp='$CPP $CPPFLAGS'
63132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
63141 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
63143 if test x$glibcxx_cv_func__expl_use = x"yes"; then
63144 for ac_func in _expl
63145 do :
63146 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
63147 if test "x$ac_cv_func__expl" = x""yes; then :
63148 cat >>confdefs.h <<_ACEOF
63149 #define HAVE__EXPL 1
63150 _ACEOF
63153 done
63162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
63163 $as_echo_n "checking for fabsl declaration... " >&6; }
63164 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
63165 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
63166 $as_echo_n "(cached) " >&6
63167 else
63170 ac_ext=cpp
63171 ac_cpp='$CXXCPP $CPPFLAGS'
63172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63177 /* end confdefs.h. */
63178 #include <math.h>
63179 #ifdef HAVE_IEEEFP_H
63180 #include <ieeefp.h>
63181 #endif
63184 main ()
63186 fabsl(0);
63188 return 0;
63190 _ACEOF
63191 if ac_fn_cxx_try_compile "$LINENO"; then :
63192 glibcxx_cv_func_fabsl_use=yes
63193 else
63194 glibcxx_cv_func_fabsl_use=no
63196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63197 ac_ext=c
63198 ac_cpp='$CPP $CPPFLAGS'
63199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
63208 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
63210 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
63211 for ac_func in fabsl
63212 do :
63213 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
63214 if test "x$ac_cv_func_fabsl" = x""yes; then :
63215 cat >>confdefs.h <<_ACEOF
63216 #define HAVE_FABSL 1
63217 _ACEOF
63220 done
63222 else
63224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
63225 $as_echo_n "checking for _fabsl declaration... " >&6; }
63226 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
63227 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
63228 $as_echo_n "(cached) " >&6
63229 else
63232 ac_ext=cpp
63233 ac_cpp='$CXXCPP $CPPFLAGS'
63234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63239 /* end confdefs.h. */
63240 #include <math.h>
63241 #ifdef HAVE_IEEEFP_H
63242 #include <ieeefp.h>
63243 #endif
63246 main ()
63248 _fabsl(0);
63250 return 0;
63252 _ACEOF
63253 if ac_fn_cxx_try_compile "$LINENO"; then :
63254 glibcxx_cv_func__fabsl_use=yes
63255 else
63256 glibcxx_cv_func__fabsl_use=no
63258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63259 ac_ext=c
63260 ac_cpp='$CPP $CPPFLAGS'
63261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
63270 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
63272 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
63273 for ac_func in _fabsl
63274 do :
63275 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
63276 if test "x$ac_cv_func__fabsl" = x""yes; then :
63277 cat >>confdefs.h <<_ACEOF
63278 #define HAVE__FABSL 1
63279 _ACEOF
63282 done
63291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
63292 $as_echo_n "checking for fmodl declaration... " >&6; }
63293 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
63294 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
63295 $as_echo_n "(cached) " >&6
63296 else
63299 ac_ext=cpp
63300 ac_cpp='$CXXCPP $CPPFLAGS'
63301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63306 /* end confdefs.h. */
63307 #include <math.h>
63309 main ()
63311 fmodl(0, 0);
63313 return 0;
63315 _ACEOF
63316 if ac_fn_cxx_try_compile "$LINENO"; then :
63317 glibcxx_cv_func_fmodl_use=yes
63318 else
63319 glibcxx_cv_func_fmodl_use=no
63321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63322 ac_ext=c
63323 ac_cpp='$CPP $CPPFLAGS'
63324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
63333 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
63335 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
63336 for ac_func in fmodl
63337 do :
63338 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
63339 if test "x$ac_cv_func_fmodl" = x""yes; then :
63340 cat >>confdefs.h <<_ACEOF
63341 #define HAVE_FMODL 1
63342 _ACEOF
63345 done
63347 else
63349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
63350 $as_echo_n "checking for _fmodl declaration... " >&6; }
63351 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
63352 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
63353 $as_echo_n "(cached) " >&6
63354 else
63357 ac_ext=cpp
63358 ac_cpp='$CXXCPP $CPPFLAGS'
63359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63364 /* end confdefs.h. */
63365 #include <math.h>
63367 main ()
63369 _fmodl(0, 0);
63371 return 0;
63373 _ACEOF
63374 if ac_fn_cxx_try_compile "$LINENO"; then :
63375 glibcxx_cv_func__fmodl_use=yes
63376 else
63377 glibcxx_cv_func__fmodl_use=no
63379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63380 ac_ext=c
63381 ac_cpp='$CPP $CPPFLAGS'
63382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
63391 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
63393 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
63394 for ac_func in _fmodl
63395 do :
63396 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
63397 if test "x$ac_cv_func__fmodl" = x""yes; then :
63398 cat >>confdefs.h <<_ACEOF
63399 #define HAVE__FMODL 1
63400 _ACEOF
63403 done
63412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
63413 $as_echo_n "checking for frexpl declaration... " >&6; }
63414 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
63415 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
63416 $as_echo_n "(cached) " >&6
63417 else
63420 ac_ext=cpp
63421 ac_cpp='$CXXCPP $CPPFLAGS'
63422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63427 /* end confdefs.h. */
63428 #include <math.h>
63430 main ()
63432 frexpl(0, 0);
63434 return 0;
63436 _ACEOF
63437 if ac_fn_cxx_try_compile "$LINENO"; then :
63438 glibcxx_cv_func_frexpl_use=yes
63439 else
63440 glibcxx_cv_func_frexpl_use=no
63442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63443 ac_ext=c
63444 ac_cpp='$CPP $CPPFLAGS'
63445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
63454 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
63456 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
63457 for ac_func in frexpl
63458 do :
63459 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
63460 if test "x$ac_cv_func_frexpl" = x""yes; then :
63461 cat >>confdefs.h <<_ACEOF
63462 #define HAVE_FREXPL 1
63463 _ACEOF
63466 done
63468 else
63470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
63471 $as_echo_n "checking for _frexpl declaration... " >&6; }
63472 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
63473 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
63474 $as_echo_n "(cached) " >&6
63475 else
63478 ac_ext=cpp
63479 ac_cpp='$CXXCPP $CPPFLAGS'
63480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63485 /* end confdefs.h. */
63486 #include <math.h>
63488 main ()
63490 _frexpl(0, 0);
63492 return 0;
63494 _ACEOF
63495 if ac_fn_cxx_try_compile "$LINENO"; then :
63496 glibcxx_cv_func__frexpl_use=yes
63497 else
63498 glibcxx_cv_func__frexpl_use=no
63500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63501 ac_ext=c
63502 ac_cpp='$CPP $CPPFLAGS'
63503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
63512 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
63514 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
63515 for ac_func in _frexpl
63516 do :
63517 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
63518 if test "x$ac_cv_func__frexpl" = x""yes; then :
63519 cat >>confdefs.h <<_ACEOF
63520 #define HAVE__FREXPL 1
63521 _ACEOF
63524 done
63533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
63534 $as_echo_n "checking for hypotl declaration... " >&6; }
63535 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
63536 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
63537 $as_echo_n "(cached) " >&6
63538 else
63541 ac_ext=cpp
63542 ac_cpp='$CXXCPP $CPPFLAGS'
63543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63548 /* end confdefs.h. */
63549 #include <math.h>
63551 main ()
63553 hypotl(0, 0);
63555 return 0;
63557 _ACEOF
63558 if ac_fn_cxx_try_compile "$LINENO"; then :
63559 glibcxx_cv_func_hypotl_use=yes
63560 else
63561 glibcxx_cv_func_hypotl_use=no
63563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63564 ac_ext=c
63565 ac_cpp='$CPP $CPPFLAGS'
63566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
63575 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
63577 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
63578 for ac_func in hypotl
63579 do :
63580 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
63581 if test "x$ac_cv_func_hypotl" = x""yes; then :
63582 cat >>confdefs.h <<_ACEOF
63583 #define HAVE_HYPOTL 1
63584 _ACEOF
63587 done
63589 else
63591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
63592 $as_echo_n "checking for _hypotl declaration... " >&6; }
63593 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
63594 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
63595 $as_echo_n "(cached) " >&6
63596 else
63599 ac_ext=cpp
63600 ac_cpp='$CXXCPP $CPPFLAGS'
63601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63606 /* end confdefs.h. */
63607 #include <math.h>
63609 main ()
63611 _hypotl(0, 0);
63613 return 0;
63615 _ACEOF
63616 if ac_fn_cxx_try_compile "$LINENO"; then :
63617 glibcxx_cv_func__hypotl_use=yes
63618 else
63619 glibcxx_cv_func__hypotl_use=no
63621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63622 ac_ext=c
63623 ac_cpp='$CPP $CPPFLAGS'
63624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
63633 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
63635 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
63636 for ac_func in _hypotl
63637 do :
63638 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
63639 if test "x$ac_cv_func__hypotl" = x""yes; then :
63640 cat >>confdefs.h <<_ACEOF
63641 #define HAVE__HYPOTL 1
63642 _ACEOF
63645 done
63654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
63655 $as_echo_n "checking for ldexpl declaration... " >&6; }
63656 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
63657 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
63658 $as_echo_n "(cached) " >&6
63659 else
63662 ac_ext=cpp
63663 ac_cpp='$CXXCPP $CPPFLAGS'
63664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63669 /* end confdefs.h. */
63670 #include <math.h>
63672 main ()
63674 ldexpl(0, 0);
63676 return 0;
63678 _ACEOF
63679 if ac_fn_cxx_try_compile "$LINENO"; then :
63680 glibcxx_cv_func_ldexpl_use=yes
63681 else
63682 glibcxx_cv_func_ldexpl_use=no
63684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63685 ac_ext=c
63686 ac_cpp='$CPP $CPPFLAGS'
63687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
63696 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
63698 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
63699 for ac_func in ldexpl
63700 do :
63701 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
63702 if test "x$ac_cv_func_ldexpl" = x""yes; then :
63703 cat >>confdefs.h <<_ACEOF
63704 #define HAVE_LDEXPL 1
63705 _ACEOF
63708 done
63710 else
63712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
63713 $as_echo_n "checking for _ldexpl declaration... " >&6; }
63714 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
63715 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
63716 $as_echo_n "(cached) " >&6
63717 else
63720 ac_ext=cpp
63721 ac_cpp='$CXXCPP $CPPFLAGS'
63722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63727 /* end confdefs.h. */
63728 #include <math.h>
63730 main ()
63732 _ldexpl(0, 0);
63734 return 0;
63736 _ACEOF
63737 if ac_fn_cxx_try_compile "$LINENO"; then :
63738 glibcxx_cv_func__ldexpl_use=yes
63739 else
63740 glibcxx_cv_func__ldexpl_use=no
63742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63743 ac_ext=c
63744 ac_cpp='$CPP $CPPFLAGS'
63745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
63754 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
63756 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
63757 for ac_func in _ldexpl
63758 do :
63759 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
63760 if test "x$ac_cv_func__ldexpl" = x""yes; then :
63761 cat >>confdefs.h <<_ACEOF
63762 #define HAVE__LDEXPL 1
63763 _ACEOF
63766 done
63775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
63776 $as_echo_n "checking for logl declaration... " >&6; }
63777 if test x${glibcxx_cv_func_logl_use+set} != xset; then
63778 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
63779 $as_echo_n "(cached) " >&6
63780 else
63783 ac_ext=cpp
63784 ac_cpp='$CXXCPP $CPPFLAGS'
63785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63790 /* end confdefs.h. */
63791 #include <math.h>
63792 #ifdef HAVE_IEEEFP_H
63793 #include <ieeefp.h>
63794 #endif
63797 main ()
63799 logl(0);
63801 return 0;
63803 _ACEOF
63804 if ac_fn_cxx_try_compile "$LINENO"; then :
63805 glibcxx_cv_func_logl_use=yes
63806 else
63807 glibcxx_cv_func_logl_use=no
63809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63810 ac_ext=c
63811 ac_cpp='$CPP $CPPFLAGS'
63812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
63821 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
63823 if test x$glibcxx_cv_func_logl_use = x"yes"; then
63824 for ac_func in logl
63825 do :
63826 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
63827 if test "x$ac_cv_func_logl" = x""yes; then :
63828 cat >>confdefs.h <<_ACEOF
63829 #define HAVE_LOGL 1
63830 _ACEOF
63833 done
63835 else
63837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
63838 $as_echo_n "checking for _logl declaration... " >&6; }
63839 if test x${glibcxx_cv_func__logl_use+set} != xset; then
63840 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
63841 $as_echo_n "(cached) " >&6
63842 else
63845 ac_ext=cpp
63846 ac_cpp='$CXXCPP $CPPFLAGS'
63847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63852 /* end confdefs.h. */
63853 #include <math.h>
63854 #ifdef HAVE_IEEEFP_H
63855 #include <ieeefp.h>
63856 #endif
63859 main ()
63861 _logl(0);
63863 return 0;
63865 _ACEOF
63866 if ac_fn_cxx_try_compile "$LINENO"; then :
63867 glibcxx_cv_func__logl_use=yes
63868 else
63869 glibcxx_cv_func__logl_use=no
63871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63872 ac_ext=c
63873 ac_cpp='$CPP $CPPFLAGS'
63874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
63883 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
63885 if test x$glibcxx_cv_func__logl_use = x"yes"; then
63886 for ac_func in _logl
63887 do :
63888 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
63889 if test "x$ac_cv_func__logl" = x""yes; then :
63890 cat >>confdefs.h <<_ACEOF
63891 #define HAVE__LOGL 1
63892 _ACEOF
63895 done
63904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
63905 $as_echo_n "checking for log10l declaration... " >&6; }
63906 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
63907 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
63908 $as_echo_n "(cached) " >&6
63909 else
63912 ac_ext=cpp
63913 ac_cpp='$CXXCPP $CPPFLAGS'
63914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63919 /* end confdefs.h. */
63920 #include <math.h>
63921 #ifdef HAVE_IEEEFP_H
63922 #include <ieeefp.h>
63923 #endif
63926 main ()
63928 log10l(0);
63930 return 0;
63932 _ACEOF
63933 if ac_fn_cxx_try_compile "$LINENO"; then :
63934 glibcxx_cv_func_log10l_use=yes
63935 else
63936 glibcxx_cv_func_log10l_use=no
63938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63939 ac_ext=c
63940 ac_cpp='$CPP $CPPFLAGS'
63941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
63950 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
63952 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
63953 for ac_func in log10l
63954 do :
63955 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
63956 if test "x$ac_cv_func_log10l" = x""yes; then :
63957 cat >>confdefs.h <<_ACEOF
63958 #define HAVE_LOG10L 1
63959 _ACEOF
63962 done
63964 else
63966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
63967 $as_echo_n "checking for _log10l declaration... " >&6; }
63968 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
63969 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
63970 $as_echo_n "(cached) " >&6
63971 else
63974 ac_ext=cpp
63975 ac_cpp='$CXXCPP $CPPFLAGS'
63976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63981 /* end confdefs.h. */
63982 #include <math.h>
63983 #ifdef HAVE_IEEEFP_H
63984 #include <ieeefp.h>
63985 #endif
63988 main ()
63990 _log10l(0);
63992 return 0;
63994 _ACEOF
63995 if ac_fn_cxx_try_compile "$LINENO"; then :
63996 glibcxx_cv_func__log10l_use=yes
63997 else
63998 glibcxx_cv_func__log10l_use=no
64000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64001 ac_ext=c
64002 ac_cpp='$CPP $CPPFLAGS'
64003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
64012 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
64014 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
64015 for ac_func in _log10l
64016 do :
64017 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
64018 if test "x$ac_cv_func__log10l" = x""yes; then :
64019 cat >>confdefs.h <<_ACEOF
64020 #define HAVE__LOG10L 1
64021 _ACEOF
64024 done
64033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
64034 $as_echo_n "checking for modfl declaration... " >&6; }
64035 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
64036 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
64037 $as_echo_n "(cached) " >&6
64038 else
64041 ac_ext=cpp
64042 ac_cpp='$CXXCPP $CPPFLAGS'
64043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64048 /* end confdefs.h. */
64049 #include <math.h>
64051 main ()
64053 modfl(0, 0);
64055 return 0;
64057 _ACEOF
64058 if ac_fn_cxx_try_compile "$LINENO"; then :
64059 glibcxx_cv_func_modfl_use=yes
64060 else
64061 glibcxx_cv_func_modfl_use=no
64063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64064 ac_ext=c
64065 ac_cpp='$CPP $CPPFLAGS'
64066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
64075 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
64077 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
64078 for ac_func in modfl
64079 do :
64080 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
64081 if test "x$ac_cv_func_modfl" = x""yes; then :
64082 cat >>confdefs.h <<_ACEOF
64083 #define HAVE_MODFL 1
64084 _ACEOF
64087 done
64089 else
64091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
64092 $as_echo_n "checking for _modfl declaration... " >&6; }
64093 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
64094 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
64095 $as_echo_n "(cached) " >&6
64096 else
64099 ac_ext=cpp
64100 ac_cpp='$CXXCPP $CPPFLAGS'
64101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64106 /* end confdefs.h. */
64107 #include <math.h>
64109 main ()
64111 _modfl(0, 0);
64113 return 0;
64115 _ACEOF
64116 if ac_fn_cxx_try_compile "$LINENO"; then :
64117 glibcxx_cv_func__modfl_use=yes
64118 else
64119 glibcxx_cv_func__modfl_use=no
64121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64122 ac_ext=c
64123 ac_cpp='$CPP $CPPFLAGS'
64124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
64133 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
64135 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
64136 for ac_func in _modfl
64137 do :
64138 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
64139 if test "x$ac_cv_func__modfl" = x""yes; then :
64140 cat >>confdefs.h <<_ACEOF
64141 #define HAVE__MODFL 1
64142 _ACEOF
64145 done
64154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
64155 $as_echo_n "checking for powl declaration... " >&6; }
64156 if test x${glibcxx_cv_func_powl_use+set} != xset; then
64157 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
64158 $as_echo_n "(cached) " >&6
64159 else
64162 ac_ext=cpp
64163 ac_cpp='$CXXCPP $CPPFLAGS'
64164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64169 /* end confdefs.h. */
64170 #include <math.h>
64172 main ()
64174 powl(0, 0);
64176 return 0;
64178 _ACEOF
64179 if ac_fn_cxx_try_compile "$LINENO"; then :
64180 glibcxx_cv_func_powl_use=yes
64181 else
64182 glibcxx_cv_func_powl_use=no
64184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64185 ac_ext=c
64186 ac_cpp='$CPP $CPPFLAGS'
64187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
64196 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
64198 if test x$glibcxx_cv_func_powl_use = x"yes"; then
64199 for ac_func in powl
64200 do :
64201 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
64202 if test "x$ac_cv_func_powl" = x""yes; then :
64203 cat >>confdefs.h <<_ACEOF
64204 #define HAVE_POWL 1
64205 _ACEOF
64208 done
64210 else
64212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
64213 $as_echo_n "checking for _powl declaration... " >&6; }
64214 if test x${glibcxx_cv_func__powl_use+set} != xset; then
64215 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
64216 $as_echo_n "(cached) " >&6
64217 else
64220 ac_ext=cpp
64221 ac_cpp='$CXXCPP $CPPFLAGS'
64222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64227 /* end confdefs.h. */
64228 #include <math.h>
64230 main ()
64232 _powl(0, 0);
64234 return 0;
64236 _ACEOF
64237 if ac_fn_cxx_try_compile "$LINENO"; then :
64238 glibcxx_cv_func__powl_use=yes
64239 else
64240 glibcxx_cv_func__powl_use=no
64242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64243 ac_ext=c
64244 ac_cpp='$CPP $CPPFLAGS'
64245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
64254 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
64256 if test x$glibcxx_cv_func__powl_use = x"yes"; then
64257 for ac_func in _powl
64258 do :
64259 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
64260 if test "x$ac_cv_func__powl" = x""yes; then :
64261 cat >>confdefs.h <<_ACEOF
64262 #define HAVE__POWL 1
64263 _ACEOF
64266 done
64275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
64276 $as_echo_n "checking for sqrtl declaration... " >&6; }
64277 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
64278 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
64279 $as_echo_n "(cached) " >&6
64280 else
64283 ac_ext=cpp
64284 ac_cpp='$CXXCPP $CPPFLAGS'
64285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64290 /* end confdefs.h. */
64291 #include <math.h>
64292 #ifdef HAVE_IEEEFP_H
64293 #include <ieeefp.h>
64294 #endif
64297 main ()
64299 sqrtl(0);
64301 return 0;
64303 _ACEOF
64304 if ac_fn_cxx_try_compile "$LINENO"; then :
64305 glibcxx_cv_func_sqrtl_use=yes
64306 else
64307 glibcxx_cv_func_sqrtl_use=no
64309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64310 ac_ext=c
64311 ac_cpp='$CPP $CPPFLAGS'
64312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
64321 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
64323 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
64324 for ac_func in sqrtl
64325 do :
64326 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
64327 if test "x$ac_cv_func_sqrtl" = x""yes; then :
64328 cat >>confdefs.h <<_ACEOF
64329 #define HAVE_SQRTL 1
64330 _ACEOF
64333 done
64335 else
64337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
64338 $as_echo_n "checking for _sqrtl declaration... " >&6; }
64339 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
64340 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
64341 $as_echo_n "(cached) " >&6
64342 else
64345 ac_ext=cpp
64346 ac_cpp='$CXXCPP $CPPFLAGS'
64347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64352 /* end confdefs.h. */
64353 #include <math.h>
64354 #ifdef HAVE_IEEEFP_H
64355 #include <ieeefp.h>
64356 #endif
64359 main ()
64361 _sqrtl(0);
64363 return 0;
64365 _ACEOF
64366 if ac_fn_cxx_try_compile "$LINENO"; then :
64367 glibcxx_cv_func__sqrtl_use=yes
64368 else
64369 glibcxx_cv_func__sqrtl_use=no
64371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64372 ac_ext=c
64373 ac_cpp='$CPP $CPPFLAGS'
64374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
64383 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
64385 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
64386 for ac_func in _sqrtl
64387 do :
64388 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
64389 if test "x$ac_cv_func__sqrtl" = x""yes; then :
64390 cat >>confdefs.h <<_ACEOF
64391 #define HAVE__SQRTL 1
64392 _ACEOF
64395 done
64404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
64405 $as_echo_n "checking for sincosl declaration... " >&6; }
64406 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
64407 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
64408 $as_echo_n "(cached) " >&6
64409 else
64412 ac_ext=cpp
64413 ac_cpp='$CXXCPP $CPPFLAGS'
64414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64419 /* end confdefs.h. */
64420 #include <math.h>
64422 main ()
64424 sincosl(0, 0, 0);
64426 return 0;
64428 _ACEOF
64429 if ac_fn_cxx_try_compile "$LINENO"; then :
64430 glibcxx_cv_func_sincosl_use=yes
64431 else
64432 glibcxx_cv_func_sincosl_use=no
64434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64435 ac_ext=c
64436 ac_cpp='$CPP $CPPFLAGS'
64437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
64446 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
64448 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
64449 for ac_func in sincosl
64450 do :
64451 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
64452 if test "x$ac_cv_func_sincosl" = x""yes; then :
64453 cat >>confdefs.h <<_ACEOF
64454 #define HAVE_SINCOSL 1
64455 _ACEOF
64458 done
64460 else
64462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
64463 $as_echo_n "checking for _sincosl declaration... " >&6; }
64464 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
64465 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
64466 $as_echo_n "(cached) " >&6
64467 else
64470 ac_ext=cpp
64471 ac_cpp='$CXXCPP $CPPFLAGS'
64472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64477 /* end confdefs.h. */
64478 #include <math.h>
64480 main ()
64482 _sincosl(0, 0, 0);
64484 return 0;
64486 _ACEOF
64487 if ac_fn_cxx_try_compile "$LINENO"; then :
64488 glibcxx_cv_func__sincosl_use=yes
64489 else
64490 glibcxx_cv_func__sincosl_use=no
64492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64493 ac_ext=c
64494 ac_cpp='$CPP $CPPFLAGS'
64495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
64504 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
64506 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
64507 for ac_func in _sincosl
64508 do :
64509 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
64510 if test "x$ac_cv_func__sincosl" = x""yes; then :
64511 cat >>confdefs.h <<_ACEOF
64512 #define HAVE__SINCOSL 1
64513 _ACEOF
64516 done
64525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
64526 $as_echo_n "checking for finitel declaration... " >&6; }
64527 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
64528 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
64529 $as_echo_n "(cached) " >&6
64530 else
64533 ac_ext=cpp
64534 ac_cpp='$CXXCPP $CPPFLAGS'
64535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64540 /* end confdefs.h. */
64541 #include <math.h>
64542 #ifdef HAVE_IEEEFP_H
64543 #include <ieeefp.h>
64544 #endif
64547 main ()
64549 finitel(0);
64551 return 0;
64553 _ACEOF
64554 if ac_fn_cxx_try_compile "$LINENO"; then :
64555 glibcxx_cv_func_finitel_use=yes
64556 else
64557 glibcxx_cv_func_finitel_use=no
64559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64560 ac_ext=c
64561 ac_cpp='$CPP $CPPFLAGS'
64562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
64571 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
64573 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
64574 for ac_func in finitel
64575 do :
64576 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
64577 if test "x$ac_cv_func_finitel" = x""yes; then :
64578 cat >>confdefs.h <<_ACEOF
64579 #define HAVE_FINITEL 1
64580 _ACEOF
64583 done
64585 else
64587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
64588 $as_echo_n "checking for _finitel declaration... " >&6; }
64589 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
64590 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
64591 $as_echo_n "(cached) " >&6
64592 else
64595 ac_ext=cpp
64596 ac_cpp='$CXXCPP $CPPFLAGS'
64597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64602 /* end confdefs.h. */
64603 #include <math.h>
64604 #ifdef HAVE_IEEEFP_H
64605 #include <ieeefp.h>
64606 #endif
64609 main ()
64611 _finitel(0);
64613 return 0;
64615 _ACEOF
64616 if ac_fn_cxx_try_compile "$LINENO"; then :
64617 glibcxx_cv_func__finitel_use=yes
64618 else
64619 glibcxx_cv_func__finitel_use=no
64621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64622 ac_ext=c
64623 ac_cpp='$CPP $CPPFLAGS'
64624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
64633 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
64635 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
64636 for ac_func in _finitel
64637 do :
64638 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
64639 if test "x$ac_cv_func__finitel" = x""yes; then :
64640 cat >>confdefs.h <<_ACEOF
64641 #define HAVE__FINITEL 1
64642 _ACEOF
64645 done
64653 LIBS="$ac_save_LIBS"
64654 CXXFLAGS="$ac_save_CXXFLAGS"
64657 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64658 ac_save_CXXFLAGS="$CXXFLAGS"
64659 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
64663 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
64664 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
64665 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
64666 $as_echo_n "(cached) " >&6
64667 else
64670 ac_ext=cpp
64671 ac_cpp='$CXXCPP $CPPFLAGS'
64672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64677 /* end confdefs.h. */
64678 #include <stdlib.h>
64680 main ()
64682 at_quick_exit(0);
64684 return 0;
64686 _ACEOF
64687 if ac_fn_cxx_try_compile "$LINENO"; then :
64688 glibcxx_cv_func_at_quick_exit_use=yes
64689 else
64690 glibcxx_cv_func_at_quick_exit_use=no
64692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64693 ac_ext=c
64694 ac_cpp='$CPP $CPPFLAGS'
64695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
64704 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
64705 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
64706 for ac_func in at_quick_exit
64707 do :
64708 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
64709 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
64710 cat >>confdefs.h <<_ACEOF
64711 #define HAVE_AT_QUICK_EXIT 1
64712 _ACEOF
64715 done
64720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
64721 $as_echo_n "checking for quick_exit declaration... " >&6; }
64722 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
64723 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
64724 $as_echo_n "(cached) " >&6
64725 else
64728 ac_ext=cpp
64729 ac_cpp='$CXXCPP $CPPFLAGS'
64730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64735 /* end confdefs.h. */
64736 #include <stdlib.h>
64738 main ()
64740 quick_exit(0);
64742 return 0;
64744 _ACEOF
64745 if ac_fn_cxx_try_compile "$LINENO"; then :
64746 glibcxx_cv_func_quick_exit_use=yes
64747 else
64748 glibcxx_cv_func_quick_exit_use=no
64750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64751 ac_ext=c
64752 ac_cpp='$CPP $CPPFLAGS'
64753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
64762 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
64763 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
64764 for ac_func in quick_exit
64765 do :
64766 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
64767 if test "x$ac_cv_func_quick_exit" = x""yes; then :
64768 cat >>confdefs.h <<_ACEOF
64769 #define HAVE_QUICK_EXIT 1
64770 _ACEOF
64773 done
64778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
64779 $as_echo_n "checking for strtold declaration... " >&6; }
64780 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64781 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
64782 $as_echo_n "(cached) " >&6
64783 else
64786 ac_ext=cpp
64787 ac_cpp='$CXXCPP $CPPFLAGS'
64788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64793 /* end confdefs.h. */
64794 #include <stdlib.h>
64796 main ()
64798 strtold(0, 0);
64800 return 0;
64802 _ACEOF
64803 if ac_fn_cxx_try_compile "$LINENO"; then :
64804 glibcxx_cv_func_strtold_use=yes
64805 else
64806 glibcxx_cv_func_strtold_use=no
64808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64809 ac_ext=c
64810 ac_cpp='$CPP $CPPFLAGS'
64811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
64820 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
64821 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64822 for ac_func in strtold
64823 do :
64824 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
64825 if test "x$ac_cv_func_strtold" = x""yes; then :
64826 cat >>confdefs.h <<_ACEOF
64827 #define HAVE_STRTOLD 1
64828 _ACEOF
64831 done
64838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
64839 $as_echo_n "checking for strtof declaration... " >&6; }
64840 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64841 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
64842 $as_echo_n "(cached) " >&6
64843 else
64846 ac_ext=cpp
64847 ac_cpp='$CXXCPP $CPPFLAGS'
64848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64853 /* end confdefs.h. */
64854 #include <stdlib.h>
64856 main ()
64858 strtof(0, 0);
64860 return 0;
64862 _ACEOF
64863 if ac_fn_cxx_try_compile "$LINENO"; then :
64864 glibcxx_cv_func_strtof_use=yes
64865 else
64866 glibcxx_cv_func_strtof_use=no
64868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64869 ac_ext=c
64870 ac_cpp='$CPP $CPPFLAGS'
64871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
64880 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
64881 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64882 for ac_func in strtof
64883 do :
64884 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
64885 if test "x$ac_cv_func_strtof" = x""yes; then :
64886 cat >>confdefs.h <<_ACEOF
64887 #define HAVE_STRTOF 1
64888 _ACEOF
64891 done
64898 CXXFLAGS="$ac_save_CXXFLAGS"
64901 *-solaris*)
64902 case "$target" in
64903 *-solaris2.9 | *-solaris2.10)
64905 # If we're not using GNU ld, then there's no point in even trying these
64906 # tests. Check for that first. We should have already tested for gld
64907 # by now (in libtool), but require it now just to be safe...
64908 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64909 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64913 # The name set by libtool depends on the version of libtool. Shame on us
64914 # for depending on an impl detail, but c'est la vie. Older versions used
64915 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64916 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64917 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64918 # set (hence we're using an older libtool), then set it.
64919 if test x${with_gnu_ld+set} != xset; then
64920 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64921 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64922 with_gnu_ld=no
64923 else
64924 with_gnu_ld=$ac_cv_prog_gnu_ld
64928 # Start by getting the version number. I think the libtool test already
64929 # does some of this, but throws away the result.
64930 glibcxx_ld_is_gold=no
64931 if test x"$with_gnu_ld" = x"yes"; then
64932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64933 $as_echo_n "checking for ld version... " >&6; }
64935 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64936 glibcxx_ld_is_gold=yes
64938 ldver=`$LD --version 2>/dev/null |
64939 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'`
64941 glibcxx_gnu_ld_version=`echo $ldver | \
64942 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64944 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64947 # Set --gc-sections.
64948 glibcxx_have_gc_sections=no
64949 if test "$glibcxx_ld_is_gold" = "yes"; then
64950 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64951 glibcxx_have_gc_sections=yes
64953 else
64954 glibcxx_gcsections_min_ld=21602
64955 if test x"$with_gnu_ld" = x"yes" &&
64956 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64957 glibcxx_have_gc_sections=yes
64960 if test "$glibcxx_have_gc_sections" = "yes"; then
64961 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64962 # NB: This flag only works reliably after 2.16.1. Configure tests
64963 # for this are difficult, so hard wire a value that should work.
64965 ac_test_CFLAGS="${CFLAGS+set}"
64966 ac_save_CFLAGS="$CFLAGS"
64967 CFLAGS='-Wl,--gc-sections'
64969 # Check for -Wl,--gc-sections
64970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64971 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64972 if test x$gcc_no_link = xyes; then
64973 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64976 /* end confdefs.h. */
64977 int one(void) { return 1; }
64978 int two(void) { return 2; }
64981 main ()
64983 two();
64985 return 0;
64987 _ACEOF
64988 if ac_fn_c_try_link "$LINENO"; then :
64989 ac_gcsections=yes
64990 else
64991 ac_gcsections=no
64993 rm -f core conftest.err conftest.$ac_objext \
64994 conftest$ac_exeext conftest.$ac_ext
64995 if test "$ac_gcsections" = "yes"; then
64996 rm -f conftest.c
64997 touch conftest.c
64998 if $CC -c conftest.c; then
64999 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65000 grep "Warning: gc-sections option ignored" > /dev/null; then
65001 ac_gcsections=no
65004 rm -f conftest.c conftest.o conftest
65006 if test "$ac_gcsections" = "yes"; then
65007 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65010 $as_echo "$ac_gcsections" >&6; }
65012 if test "$ac_test_CFLAGS" = set; then
65013 CFLAGS="$ac_save_CFLAGS"
65014 else
65015 # this is the suspicious part
65016 CFLAGS=''
65020 # Set -z,relro.
65021 # Note this is only for shared objects.
65022 ac_ld_relro=no
65023 if test x"$with_gnu_ld" = x"yes"; then
65024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65025 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65026 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65027 if test -n "$cxx_z_relo"; then
65028 OPT_LDFLAGS="-Wl,-z,relro"
65029 ac_ld_relro=yes
65031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65032 $as_echo "$ac_ld_relro" >&6; }
65035 # Set linker optimization flags.
65036 if test x"$with_gnu_ld" = x"yes"; then
65037 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65043 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
65045 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
65047 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
65049 # All of the dependencies for wide character support are here, so
65050 # turn it on.
65051 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
65054 esac
65055 case "$target" in
65056 *-*-solaris2.10)
65057 # These two C99 functions are present only in Solaris >= 10
65058 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
65060 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
65063 esac
65064 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
65066 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
65068 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
65070 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
65073 *-tpf)
65074 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65075 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
65077 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
65079 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
65081 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
65083 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
65085 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
65087 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
65089 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
65091 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
65093 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
65095 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
65097 if test x"long_double_math_on_this_cpu" = x"yes"; then
65098 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
65100 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
65102 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
65104 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
65108 *-*vms*)
65109 # Check for available headers.
65110 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
65112 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65113 ac_save_CXXFLAGS="$CXXFLAGS"
65114 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
65117 $as_echo_n "checking for sin in -lm... " >&6; }
65118 if test "${ac_cv_lib_m_sin+set}" = set; then :
65119 $as_echo_n "(cached) " >&6
65120 else
65121 ac_check_lib_save_LIBS=$LIBS
65122 LIBS="-lm $LIBS"
65123 if test x$gcc_no_link = xyes; then
65124 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65127 /* end confdefs.h. */
65129 /* Override any GCC internal prototype to avoid an error.
65130 Use char because int might match the return type of a GCC
65131 builtin and then its argument prototype would still apply. */
65132 #ifdef __cplusplus
65133 extern "C"
65134 #endif
65135 char sin ();
65137 main ()
65139 return sin ();
65141 return 0;
65143 _ACEOF
65144 if ac_fn_c_try_link "$LINENO"; then :
65145 ac_cv_lib_m_sin=yes
65146 else
65147 ac_cv_lib_m_sin=no
65149 rm -f core conftest.err conftest.$ac_objext \
65150 conftest$ac_exeext conftest.$ac_ext
65151 LIBS=$ac_check_lib_save_LIBS
65153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
65154 $as_echo "$ac_cv_lib_m_sin" >&6; }
65155 if test "x$ac_cv_lib_m_sin" = x""yes; then :
65156 libm="-lm"
65159 ac_save_LIBS="$LIBS"
65160 LIBS="$LIBS $libm"
65164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
65165 $as_echo_n "checking for isinf declaration... " >&6; }
65166 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
65167 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
65168 $as_echo_n "(cached) " >&6
65169 else
65172 ac_ext=cpp
65173 ac_cpp='$CXXCPP $CPPFLAGS'
65174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65179 /* end confdefs.h. */
65180 #include <math.h>
65181 #ifdef HAVE_IEEEFP_H
65182 #include <ieeefp.h>
65183 #endif
65186 main ()
65188 isinf(0);
65190 return 0;
65192 _ACEOF
65193 if ac_fn_cxx_try_compile "$LINENO"; then :
65194 glibcxx_cv_func_isinf_use=yes
65195 else
65196 glibcxx_cv_func_isinf_use=no
65198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65199 ac_ext=c
65200 ac_cpp='$CPP $CPPFLAGS'
65201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
65210 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
65212 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
65213 for ac_func in isinf
65214 do :
65215 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
65216 if test "x$ac_cv_func_isinf" = x""yes; then :
65217 cat >>confdefs.h <<_ACEOF
65218 #define HAVE_ISINF 1
65219 _ACEOF
65222 done
65224 else
65226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
65227 $as_echo_n "checking for _isinf declaration... " >&6; }
65228 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65229 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
65230 $as_echo_n "(cached) " >&6
65231 else
65234 ac_ext=cpp
65235 ac_cpp='$CXXCPP $CPPFLAGS'
65236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65241 /* end confdefs.h. */
65242 #include <math.h>
65243 #ifdef HAVE_IEEEFP_H
65244 #include <ieeefp.h>
65245 #endif
65248 main ()
65250 _isinf(0);
65252 return 0;
65254 _ACEOF
65255 if ac_fn_cxx_try_compile "$LINENO"; then :
65256 glibcxx_cv_func__isinf_use=yes
65257 else
65258 glibcxx_cv_func__isinf_use=no
65260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65261 ac_ext=c
65262 ac_cpp='$CPP $CPPFLAGS'
65263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
65272 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
65274 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65275 for ac_func in _isinf
65276 do :
65277 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
65278 if test "x$ac_cv_func__isinf" = x""yes; then :
65279 cat >>confdefs.h <<_ACEOF
65280 #define HAVE__ISINF 1
65281 _ACEOF
65284 done
65293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
65294 $as_echo_n "checking for isnan declaration... " >&6; }
65295 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65296 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
65297 $as_echo_n "(cached) " >&6
65298 else
65301 ac_ext=cpp
65302 ac_cpp='$CXXCPP $CPPFLAGS'
65303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65308 /* end confdefs.h. */
65309 #include <math.h>
65310 #ifdef HAVE_IEEEFP_H
65311 #include <ieeefp.h>
65312 #endif
65315 main ()
65317 isnan(0);
65319 return 0;
65321 _ACEOF
65322 if ac_fn_cxx_try_compile "$LINENO"; then :
65323 glibcxx_cv_func_isnan_use=yes
65324 else
65325 glibcxx_cv_func_isnan_use=no
65327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65328 ac_ext=c
65329 ac_cpp='$CPP $CPPFLAGS'
65330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
65339 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
65341 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65342 for ac_func in isnan
65343 do :
65344 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
65345 if test "x$ac_cv_func_isnan" = x""yes; then :
65346 cat >>confdefs.h <<_ACEOF
65347 #define HAVE_ISNAN 1
65348 _ACEOF
65351 done
65353 else
65355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
65356 $as_echo_n "checking for _isnan declaration... " >&6; }
65357 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65358 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
65359 $as_echo_n "(cached) " >&6
65360 else
65363 ac_ext=cpp
65364 ac_cpp='$CXXCPP $CPPFLAGS'
65365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65370 /* end confdefs.h. */
65371 #include <math.h>
65372 #ifdef HAVE_IEEEFP_H
65373 #include <ieeefp.h>
65374 #endif
65377 main ()
65379 _isnan(0);
65381 return 0;
65383 _ACEOF
65384 if ac_fn_cxx_try_compile "$LINENO"; then :
65385 glibcxx_cv_func__isnan_use=yes
65386 else
65387 glibcxx_cv_func__isnan_use=no
65389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65390 ac_ext=c
65391 ac_cpp='$CPP $CPPFLAGS'
65392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
65401 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
65403 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65404 for ac_func in _isnan
65405 do :
65406 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
65407 if test "x$ac_cv_func__isnan" = x""yes; then :
65408 cat >>confdefs.h <<_ACEOF
65409 #define HAVE__ISNAN 1
65410 _ACEOF
65413 done
65422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
65423 $as_echo_n "checking for finite declaration... " >&6; }
65424 if test x${glibcxx_cv_func_finite_use+set} != xset; then
65425 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
65426 $as_echo_n "(cached) " >&6
65427 else
65430 ac_ext=cpp
65431 ac_cpp='$CXXCPP $CPPFLAGS'
65432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65437 /* end confdefs.h. */
65438 #include <math.h>
65439 #ifdef HAVE_IEEEFP_H
65440 #include <ieeefp.h>
65441 #endif
65444 main ()
65446 finite(0);
65448 return 0;
65450 _ACEOF
65451 if ac_fn_cxx_try_compile "$LINENO"; then :
65452 glibcxx_cv_func_finite_use=yes
65453 else
65454 glibcxx_cv_func_finite_use=no
65456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65457 ac_ext=c
65458 ac_cpp='$CPP $CPPFLAGS'
65459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
65468 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
65470 if test x$glibcxx_cv_func_finite_use = x"yes"; then
65471 for ac_func in finite
65472 do :
65473 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
65474 if test "x$ac_cv_func_finite" = x""yes; then :
65475 cat >>confdefs.h <<_ACEOF
65476 #define HAVE_FINITE 1
65477 _ACEOF
65480 done
65482 else
65484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
65485 $as_echo_n "checking for _finite declaration... " >&6; }
65486 if test x${glibcxx_cv_func__finite_use+set} != xset; then
65487 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
65488 $as_echo_n "(cached) " >&6
65489 else
65492 ac_ext=cpp
65493 ac_cpp='$CXXCPP $CPPFLAGS'
65494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65499 /* end confdefs.h. */
65500 #include <math.h>
65501 #ifdef HAVE_IEEEFP_H
65502 #include <ieeefp.h>
65503 #endif
65506 main ()
65508 _finite(0);
65510 return 0;
65512 _ACEOF
65513 if ac_fn_cxx_try_compile "$LINENO"; then :
65514 glibcxx_cv_func__finite_use=yes
65515 else
65516 glibcxx_cv_func__finite_use=no
65518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65519 ac_ext=c
65520 ac_cpp='$CPP $CPPFLAGS'
65521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
65530 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
65532 if test x$glibcxx_cv_func__finite_use = x"yes"; then
65533 for ac_func in _finite
65534 do :
65535 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
65536 if test "x$ac_cv_func__finite" = x""yes; then :
65537 cat >>confdefs.h <<_ACEOF
65538 #define HAVE__FINITE 1
65539 _ACEOF
65542 done
65551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
65552 $as_echo_n "checking for sincos declaration... " >&6; }
65553 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65554 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
65555 $as_echo_n "(cached) " >&6
65556 else
65559 ac_ext=cpp
65560 ac_cpp='$CXXCPP $CPPFLAGS'
65561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65566 /* end confdefs.h. */
65567 #include <math.h>
65569 main ()
65571 sincos(0, 0, 0);
65573 return 0;
65575 _ACEOF
65576 if ac_fn_cxx_try_compile "$LINENO"; then :
65577 glibcxx_cv_func_sincos_use=yes
65578 else
65579 glibcxx_cv_func_sincos_use=no
65581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65582 ac_ext=c
65583 ac_cpp='$CPP $CPPFLAGS'
65584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
65593 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
65595 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65596 for ac_func in sincos
65597 do :
65598 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
65599 if test "x$ac_cv_func_sincos" = x""yes; then :
65600 cat >>confdefs.h <<_ACEOF
65601 #define HAVE_SINCOS 1
65602 _ACEOF
65605 done
65607 else
65609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
65610 $as_echo_n "checking for _sincos declaration... " >&6; }
65611 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65612 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
65613 $as_echo_n "(cached) " >&6
65614 else
65617 ac_ext=cpp
65618 ac_cpp='$CXXCPP $CPPFLAGS'
65619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65624 /* end confdefs.h. */
65625 #include <math.h>
65627 main ()
65629 _sincos(0, 0, 0);
65631 return 0;
65633 _ACEOF
65634 if ac_fn_cxx_try_compile "$LINENO"; then :
65635 glibcxx_cv_func__sincos_use=yes
65636 else
65637 glibcxx_cv_func__sincos_use=no
65639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65640 ac_ext=c
65641 ac_cpp='$CPP $CPPFLAGS'
65642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
65651 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
65653 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65654 for ac_func in _sincos
65655 do :
65656 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
65657 if test "x$ac_cv_func__sincos" = x""yes; then :
65658 cat >>confdefs.h <<_ACEOF
65659 #define HAVE__SINCOS 1
65660 _ACEOF
65663 done
65672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
65673 $as_echo_n "checking for fpclass declaration... " >&6; }
65674 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
65675 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
65676 $as_echo_n "(cached) " >&6
65677 else
65680 ac_ext=cpp
65681 ac_cpp='$CXXCPP $CPPFLAGS'
65682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65687 /* end confdefs.h. */
65688 #include <math.h>
65689 #ifdef HAVE_IEEEFP_H
65690 #include <ieeefp.h>
65691 #endif
65694 main ()
65696 fpclass(0);
65698 return 0;
65700 _ACEOF
65701 if ac_fn_cxx_try_compile "$LINENO"; then :
65702 glibcxx_cv_func_fpclass_use=yes
65703 else
65704 glibcxx_cv_func_fpclass_use=no
65706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65707 ac_ext=c
65708 ac_cpp='$CPP $CPPFLAGS'
65709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
65718 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
65720 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
65721 for ac_func in fpclass
65722 do :
65723 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
65724 if test "x$ac_cv_func_fpclass" = x""yes; then :
65725 cat >>confdefs.h <<_ACEOF
65726 #define HAVE_FPCLASS 1
65727 _ACEOF
65730 done
65732 else
65734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
65735 $as_echo_n "checking for _fpclass declaration... " >&6; }
65736 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
65737 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
65738 $as_echo_n "(cached) " >&6
65739 else
65742 ac_ext=cpp
65743 ac_cpp='$CXXCPP $CPPFLAGS'
65744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65749 /* end confdefs.h. */
65750 #include <math.h>
65751 #ifdef HAVE_IEEEFP_H
65752 #include <ieeefp.h>
65753 #endif
65756 main ()
65758 _fpclass(0);
65760 return 0;
65762 _ACEOF
65763 if ac_fn_cxx_try_compile "$LINENO"; then :
65764 glibcxx_cv_func__fpclass_use=yes
65765 else
65766 glibcxx_cv_func__fpclass_use=no
65768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65769 ac_ext=c
65770 ac_cpp='$CPP $CPPFLAGS'
65771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
65780 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
65782 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
65783 for ac_func in _fpclass
65784 do :
65785 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
65786 if test "x$ac_cv_func__fpclass" = x""yes; then :
65787 cat >>confdefs.h <<_ACEOF
65788 #define HAVE__FPCLASS 1
65789 _ACEOF
65792 done
65801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
65802 $as_echo_n "checking for qfpclass declaration... " >&6; }
65803 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
65804 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
65805 $as_echo_n "(cached) " >&6
65806 else
65809 ac_ext=cpp
65810 ac_cpp='$CXXCPP $CPPFLAGS'
65811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65816 /* end confdefs.h. */
65817 #include <math.h>
65818 #ifdef HAVE_IEEEFP_H
65819 #include <ieeefp.h>
65820 #endif
65823 main ()
65825 qfpclass(0);
65827 return 0;
65829 _ACEOF
65830 if ac_fn_cxx_try_compile "$LINENO"; then :
65831 glibcxx_cv_func_qfpclass_use=yes
65832 else
65833 glibcxx_cv_func_qfpclass_use=no
65835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65836 ac_ext=c
65837 ac_cpp='$CPP $CPPFLAGS'
65838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
65847 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
65849 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
65850 for ac_func in qfpclass
65851 do :
65852 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
65853 if test "x$ac_cv_func_qfpclass" = x""yes; then :
65854 cat >>confdefs.h <<_ACEOF
65855 #define HAVE_QFPCLASS 1
65856 _ACEOF
65859 done
65861 else
65863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
65864 $as_echo_n "checking for _qfpclass declaration... " >&6; }
65865 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
65866 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
65867 $as_echo_n "(cached) " >&6
65868 else
65871 ac_ext=cpp
65872 ac_cpp='$CXXCPP $CPPFLAGS'
65873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65878 /* end confdefs.h. */
65879 #include <math.h>
65880 #ifdef HAVE_IEEEFP_H
65881 #include <ieeefp.h>
65882 #endif
65885 main ()
65887 _qfpclass(0);
65889 return 0;
65891 _ACEOF
65892 if ac_fn_cxx_try_compile "$LINENO"; then :
65893 glibcxx_cv_func__qfpclass_use=yes
65894 else
65895 glibcxx_cv_func__qfpclass_use=no
65897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65898 ac_ext=c
65899 ac_cpp='$CPP $CPPFLAGS'
65900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
65909 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
65911 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
65912 for ac_func in _qfpclass
65913 do :
65914 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
65915 if test "x$ac_cv_func__qfpclass" = x""yes; then :
65916 cat >>confdefs.h <<_ACEOF
65917 #define HAVE__QFPCLASS 1
65918 _ACEOF
65921 done
65930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
65931 $as_echo_n "checking for hypot declaration... " >&6; }
65932 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
65933 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
65934 $as_echo_n "(cached) " >&6
65935 else
65938 ac_ext=cpp
65939 ac_cpp='$CXXCPP $CPPFLAGS'
65940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65945 /* end confdefs.h. */
65946 #include <math.h>
65948 main ()
65950 hypot(0, 0);
65952 return 0;
65954 _ACEOF
65955 if ac_fn_cxx_try_compile "$LINENO"; then :
65956 glibcxx_cv_func_hypot_use=yes
65957 else
65958 glibcxx_cv_func_hypot_use=no
65960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65961 ac_ext=c
65962 ac_cpp='$CPP $CPPFLAGS'
65963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
65972 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
65974 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
65975 for ac_func in hypot
65976 do :
65977 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
65978 if test "x$ac_cv_func_hypot" = x""yes; then :
65979 cat >>confdefs.h <<_ACEOF
65980 #define HAVE_HYPOT 1
65981 _ACEOF
65984 done
65986 else
65988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
65989 $as_echo_n "checking for _hypot declaration... " >&6; }
65990 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
65991 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
65992 $as_echo_n "(cached) " >&6
65993 else
65996 ac_ext=cpp
65997 ac_cpp='$CXXCPP $CPPFLAGS'
65998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66003 /* end confdefs.h. */
66004 #include <math.h>
66006 main ()
66008 _hypot(0, 0);
66010 return 0;
66012 _ACEOF
66013 if ac_fn_cxx_try_compile "$LINENO"; then :
66014 glibcxx_cv_func__hypot_use=yes
66015 else
66016 glibcxx_cv_func__hypot_use=no
66018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66019 ac_ext=c
66020 ac_cpp='$CPP $CPPFLAGS'
66021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
66030 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
66032 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
66033 for ac_func in _hypot
66034 do :
66035 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
66036 if test "x$ac_cv_func__hypot" = x""yes; then :
66037 cat >>confdefs.h <<_ACEOF
66038 #define HAVE__HYPOT 1
66039 _ACEOF
66042 done
66051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
66052 $as_echo_n "checking for float trig functions... " >&6; }
66053 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
66054 $as_echo_n "(cached) " >&6
66055 else
66058 ac_ext=cpp
66059 ac_cpp='$CXXCPP $CPPFLAGS'
66060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66065 /* end confdefs.h. */
66066 #include <math.h>
66068 main ()
66070 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
66072 return 0;
66074 _ACEOF
66075 if ac_fn_cxx_try_compile "$LINENO"; then :
66076 glibcxx_cv_func_float_trig_use=yes
66077 else
66078 glibcxx_cv_func_float_trig_use=no
66080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66081 ac_ext=c
66082 ac_cpp='$CPP $CPPFLAGS'
66083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
66090 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
66091 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
66092 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
66093 do :
66094 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66095 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66096 eval as_val=\$$as_ac_var
66097 if test "x$as_val" = x""yes; then :
66098 cat >>confdefs.h <<_ACEOF
66099 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66100 _ACEOF
66103 done
66105 else
66106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
66107 $as_echo_n "checking for _float trig functions... " >&6; }
66108 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
66109 $as_echo_n "(cached) " >&6
66110 else
66113 ac_ext=cpp
66114 ac_cpp='$CXXCPP $CPPFLAGS'
66115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66120 /* end confdefs.h. */
66121 #include <math.h>
66123 main ()
66125 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
66127 return 0;
66129 _ACEOF
66130 if ac_fn_cxx_try_compile "$LINENO"; then :
66131 glibcxx_cv_func__float_trig_use=yes
66132 else
66133 glibcxx_cv_func__float_trig_use=no
66135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66136 ac_ext=c
66137 ac_cpp='$CPP $CPPFLAGS'
66138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
66145 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
66146 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
66147 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
66148 do :
66149 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66150 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66151 eval as_val=\$$as_ac_var
66152 if test "x$as_val" = x""yes; then :
66153 cat >>confdefs.h <<_ACEOF
66154 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66155 _ACEOF
66158 done
66167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
66168 $as_echo_n "checking for float round functions... " >&6; }
66169 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
66170 $as_echo_n "(cached) " >&6
66171 else
66174 ac_ext=cpp
66175 ac_cpp='$CXXCPP $CPPFLAGS'
66176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66181 /* end confdefs.h. */
66182 #include <math.h>
66184 main ()
66186 ceilf (0); floorf (0);
66188 return 0;
66190 _ACEOF
66191 if ac_fn_cxx_try_compile "$LINENO"; then :
66192 glibcxx_cv_func_float_round_use=yes
66193 else
66194 glibcxx_cv_func_float_round_use=no
66196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66197 ac_ext=c
66198 ac_cpp='$CPP $CPPFLAGS'
66199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
66206 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
66207 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
66208 for ac_func in ceilf floorf
66209 do :
66210 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66211 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66212 eval as_val=\$$as_ac_var
66213 if test "x$as_val" = x""yes; then :
66214 cat >>confdefs.h <<_ACEOF
66215 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66216 _ACEOF
66219 done
66221 else
66222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
66223 $as_echo_n "checking for _float round functions... " >&6; }
66224 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
66225 $as_echo_n "(cached) " >&6
66226 else
66229 ac_ext=cpp
66230 ac_cpp='$CXXCPP $CPPFLAGS'
66231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66236 /* end confdefs.h. */
66237 #include <math.h>
66239 main ()
66241 _ceilf (0); _floorf (0);
66243 return 0;
66245 _ACEOF
66246 if ac_fn_cxx_try_compile "$LINENO"; then :
66247 glibcxx_cv_func__float_round_use=yes
66248 else
66249 glibcxx_cv_func__float_round_use=no
66251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66252 ac_ext=c
66253 ac_cpp='$CPP $CPPFLAGS'
66254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
66261 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
66262 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
66263 for ac_func in _ceilf _floorf
66264 do :
66265 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66266 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66267 eval as_val=\$$as_ac_var
66268 if test "x$as_val" = x""yes; then :
66269 cat >>confdefs.h <<_ACEOF
66270 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66271 _ACEOF
66274 done
66284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
66285 $as_echo_n "checking for expf declaration... " >&6; }
66286 if test x${glibcxx_cv_func_expf_use+set} != xset; then
66287 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
66288 $as_echo_n "(cached) " >&6
66289 else
66292 ac_ext=cpp
66293 ac_cpp='$CXXCPP $CPPFLAGS'
66294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66299 /* end confdefs.h. */
66300 #include <math.h>
66301 #ifdef HAVE_IEEEFP_H
66302 #include <ieeefp.h>
66303 #endif
66306 main ()
66308 expf(0);
66310 return 0;
66312 _ACEOF
66313 if ac_fn_cxx_try_compile "$LINENO"; then :
66314 glibcxx_cv_func_expf_use=yes
66315 else
66316 glibcxx_cv_func_expf_use=no
66318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66319 ac_ext=c
66320 ac_cpp='$CPP $CPPFLAGS'
66321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
66330 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
66332 if test x$glibcxx_cv_func_expf_use = x"yes"; then
66333 for ac_func in expf
66334 do :
66335 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
66336 if test "x$ac_cv_func_expf" = x""yes; then :
66337 cat >>confdefs.h <<_ACEOF
66338 #define HAVE_EXPF 1
66339 _ACEOF
66342 done
66344 else
66346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
66347 $as_echo_n "checking for _expf declaration... " >&6; }
66348 if test x${glibcxx_cv_func__expf_use+set} != xset; then
66349 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
66350 $as_echo_n "(cached) " >&6
66351 else
66354 ac_ext=cpp
66355 ac_cpp='$CXXCPP $CPPFLAGS'
66356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66361 /* end confdefs.h. */
66362 #include <math.h>
66363 #ifdef HAVE_IEEEFP_H
66364 #include <ieeefp.h>
66365 #endif
66368 main ()
66370 _expf(0);
66372 return 0;
66374 _ACEOF
66375 if ac_fn_cxx_try_compile "$LINENO"; then :
66376 glibcxx_cv_func__expf_use=yes
66377 else
66378 glibcxx_cv_func__expf_use=no
66380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66381 ac_ext=c
66382 ac_cpp='$CPP $CPPFLAGS'
66383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
66392 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
66394 if test x$glibcxx_cv_func__expf_use = x"yes"; then
66395 for ac_func in _expf
66396 do :
66397 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
66398 if test "x$ac_cv_func__expf" = x""yes; then :
66399 cat >>confdefs.h <<_ACEOF
66400 #define HAVE__EXPF 1
66401 _ACEOF
66404 done
66413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
66414 $as_echo_n "checking for isnanf declaration... " >&6; }
66415 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
66416 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
66417 $as_echo_n "(cached) " >&6
66418 else
66421 ac_ext=cpp
66422 ac_cpp='$CXXCPP $CPPFLAGS'
66423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66428 /* end confdefs.h. */
66429 #include <math.h>
66430 #ifdef HAVE_IEEEFP_H
66431 #include <ieeefp.h>
66432 #endif
66435 main ()
66437 isnanf(0);
66439 return 0;
66441 _ACEOF
66442 if ac_fn_cxx_try_compile "$LINENO"; then :
66443 glibcxx_cv_func_isnanf_use=yes
66444 else
66445 glibcxx_cv_func_isnanf_use=no
66447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66448 ac_ext=c
66449 ac_cpp='$CPP $CPPFLAGS'
66450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
66459 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
66461 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
66462 for ac_func in isnanf
66463 do :
66464 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
66465 if test "x$ac_cv_func_isnanf" = x""yes; then :
66466 cat >>confdefs.h <<_ACEOF
66467 #define HAVE_ISNANF 1
66468 _ACEOF
66471 done
66473 else
66475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
66476 $as_echo_n "checking for _isnanf declaration... " >&6; }
66477 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
66478 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
66479 $as_echo_n "(cached) " >&6
66480 else
66483 ac_ext=cpp
66484 ac_cpp='$CXXCPP $CPPFLAGS'
66485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66490 /* end confdefs.h. */
66491 #include <math.h>
66492 #ifdef HAVE_IEEEFP_H
66493 #include <ieeefp.h>
66494 #endif
66497 main ()
66499 _isnanf(0);
66501 return 0;
66503 _ACEOF
66504 if ac_fn_cxx_try_compile "$LINENO"; then :
66505 glibcxx_cv_func__isnanf_use=yes
66506 else
66507 glibcxx_cv_func__isnanf_use=no
66509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66510 ac_ext=c
66511 ac_cpp='$CPP $CPPFLAGS'
66512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
66521 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
66523 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66524 for ac_func in _isnanf
66525 do :
66526 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
66527 if test "x$ac_cv_func__isnanf" = x""yes; then :
66528 cat >>confdefs.h <<_ACEOF
66529 #define HAVE__ISNANF 1
66530 _ACEOF
66533 done
66542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
66543 $as_echo_n "checking for isinff declaration... " >&6; }
66544 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66545 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
66546 $as_echo_n "(cached) " >&6
66547 else
66550 ac_ext=cpp
66551 ac_cpp='$CXXCPP $CPPFLAGS'
66552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66557 /* end confdefs.h. */
66558 #include <math.h>
66559 #ifdef HAVE_IEEEFP_H
66560 #include <ieeefp.h>
66561 #endif
66564 main ()
66566 isinff(0);
66568 return 0;
66570 _ACEOF
66571 if ac_fn_cxx_try_compile "$LINENO"; then :
66572 glibcxx_cv_func_isinff_use=yes
66573 else
66574 glibcxx_cv_func_isinff_use=no
66576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66577 ac_ext=c
66578 ac_cpp='$CPP $CPPFLAGS'
66579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
66588 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
66590 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
66591 for ac_func in isinff
66592 do :
66593 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
66594 if test "x$ac_cv_func_isinff" = x""yes; then :
66595 cat >>confdefs.h <<_ACEOF
66596 #define HAVE_ISINFF 1
66597 _ACEOF
66600 done
66602 else
66604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
66605 $as_echo_n "checking for _isinff declaration... " >&6; }
66606 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
66607 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
66608 $as_echo_n "(cached) " >&6
66609 else
66612 ac_ext=cpp
66613 ac_cpp='$CXXCPP $CPPFLAGS'
66614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66619 /* end confdefs.h. */
66620 #include <math.h>
66621 #ifdef HAVE_IEEEFP_H
66622 #include <ieeefp.h>
66623 #endif
66626 main ()
66628 _isinff(0);
66630 return 0;
66632 _ACEOF
66633 if ac_fn_cxx_try_compile "$LINENO"; then :
66634 glibcxx_cv_func__isinff_use=yes
66635 else
66636 glibcxx_cv_func__isinff_use=no
66638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66639 ac_ext=c
66640 ac_cpp='$CPP $CPPFLAGS'
66641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
66650 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
66652 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
66653 for ac_func in _isinff
66654 do :
66655 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
66656 if test "x$ac_cv_func__isinff" = x""yes; then :
66657 cat >>confdefs.h <<_ACEOF
66658 #define HAVE__ISINFF 1
66659 _ACEOF
66662 done
66671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
66672 $as_echo_n "checking for atan2f declaration... " >&6; }
66673 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
66674 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
66675 $as_echo_n "(cached) " >&6
66676 else
66679 ac_ext=cpp
66680 ac_cpp='$CXXCPP $CPPFLAGS'
66681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66686 /* end confdefs.h. */
66687 #include <math.h>
66689 main ()
66691 atan2f(0, 0);
66693 return 0;
66695 _ACEOF
66696 if ac_fn_cxx_try_compile "$LINENO"; then :
66697 glibcxx_cv_func_atan2f_use=yes
66698 else
66699 glibcxx_cv_func_atan2f_use=no
66701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66702 ac_ext=c
66703 ac_cpp='$CPP $CPPFLAGS'
66704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
66713 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
66715 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
66716 for ac_func in atan2f
66717 do :
66718 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
66719 if test "x$ac_cv_func_atan2f" = x""yes; then :
66720 cat >>confdefs.h <<_ACEOF
66721 #define HAVE_ATAN2F 1
66722 _ACEOF
66725 done
66727 else
66729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
66730 $as_echo_n "checking for _atan2f declaration... " >&6; }
66731 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
66732 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
66733 $as_echo_n "(cached) " >&6
66734 else
66737 ac_ext=cpp
66738 ac_cpp='$CXXCPP $CPPFLAGS'
66739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66744 /* end confdefs.h. */
66745 #include <math.h>
66747 main ()
66749 _atan2f(0, 0);
66751 return 0;
66753 _ACEOF
66754 if ac_fn_cxx_try_compile "$LINENO"; then :
66755 glibcxx_cv_func__atan2f_use=yes
66756 else
66757 glibcxx_cv_func__atan2f_use=no
66759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66760 ac_ext=c
66761 ac_cpp='$CPP $CPPFLAGS'
66762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
66771 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
66773 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
66774 for ac_func in _atan2f
66775 do :
66776 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
66777 if test "x$ac_cv_func__atan2f" = x""yes; then :
66778 cat >>confdefs.h <<_ACEOF
66779 #define HAVE__ATAN2F 1
66780 _ACEOF
66783 done
66792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
66793 $as_echo_n "checking for fabsf declaration... " >&6; }
66794 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
66795 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
66796 $as_echo_n "(cached) " >&6
66797 else
66800 ac_ext=cpp
66801 ac_cpp='$CXXCPP $CPPFLAGS'
66802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66807 /* end confdefs.h. */
66808 #include <math.h>
66809 #ifdef HAVE_IEEEFP_H
66810 #include <ieeefp.h>
66811 #endif
66814 main ()
66816 fabsf(0);
66818 return 0;
66820 _ACEOF
66821 if ac_fn_cxx_try_compile "$LINENO"; then :
66822 glibcxx_cv_func_fabsf_use=yes
66823 else
66824 glibcxx_cv_func_fabsf_use=no
66826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66827 ac_ext=c
66828 ac_cpp='$CPP $CPPFLAGS'
66829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
66838 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
66840 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
66841 for ac_func in fabsf
66842 do :
66843 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
66844 if test "x$ac_cv_func_fabsf" = x""yes; then :
66845 cat >>confdefs.h <<_ACEOF
66846 #define HAVE_FABSF 1
66847 _ACEOF
66850 done
66852 else
66854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
66855 $as_echo_n "checking for _fabsf declaration... " >&6; }
66856 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
66857 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
66858 $as_echo_n "(cached) " >&6
66859 else
66862 ac_ext=cpp
66863 ac_cpp='$CXXCPP $CPPFLAGS'
66864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66869 /* end confdefs.h. */
66870 #include <math.h>
66871 #ifdef HAVE_IEEEFP_H
66872 #include <ieeefp.h>
66873 #endif
66876 main ()
66878 _fabsf(0);
66880 return 0;
66882 _ACEOF
66883 if ac_fn_cxx_try_compile "$LINENO"; then :
66884 glibcxx_cv_func__fabsf_use=yes
66885 else
66886 glibcxx_cv_func__fabsf_use=no
66888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66889 ac_ext=c
66890 ac_cpp='$CPP $CPPFLAGS'
66891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
66900 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
66902 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
66903 for ac_func in _fabsf
66904 do :
66905 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
66906 if test "x$ac_cv_func__fabsf" = x""yes; then :
66907 cat >>confdefs.h <<_ACEOF
66908 #define HAVE__FABSF 1
66909 _ACEOF
66912 done
66921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
66922 $as_echo_n "checking for fmodf declaration... " >&6; }
66923 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
66924 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
66925 $as_echo_n "(cached) " >&6
66926 else
66929 ac_ext=cpp
66930 ac_cpp='$CXXCPP $CPPFLAGS'
66931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66936 /* end confdefs.h. */
66937 #include <math.h>
66939 main ()
66941 fmodf(0, 0);
66943 return 0;
66945 _ACEOF
66946 if ac_fn_cxx_try_compile "$LINENO"; then :
66947 glibcxx_cv_func_fmodf_use=yes
66948 else
66949 glibcxx_cv_func_fmodf_use=no
66951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66952 ac_ext=c
66953 ac_cpp='$CPP $CPPFLAGS'
66954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
66963 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
66965 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
66966 for ac_func in fmodf
66967 do :
66968 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
66969 if test "x$ac_cv_func_fmodf" = x""yes; then :
66970 cat >>confdefs.h <<_ACEOF
66971 #define HAVE_FMODF 1
66972 _ACEOF
66975 done
66977 else
66979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
66980 $as_echo_n "checking for _fmodf declaration... " >&6; }
66981 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
66982 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
66983 $as_echo_n "(cached) " >&6
66984 else
66987 ac_ext=cpp
66988 ac_cpp='$CXXCPP $CPPFLAGS'
66989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66994 /* end confdefs.h. */
66995 #include <math.h>
66997 main ()
66999 _fmodf(0, 0);
67001 return 0;
67003 _ACEOF
67004 if ac_fn_cxx_try_compile "$LINENO"; then :
67005 glibcxx_cv_func__fmodf_use=yes
67006 else
67007 glibcxx_cv_func__fmodf_use=no
67009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67010 ac_ext=c
67011 ac_cpp='$CPP $CPPFLAGS'
67012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
67021 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
67023 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
67024 for ac_func in _fmodf
67025 do :
67026 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
67027 if test "x$ac_cv_func__fmodf" = x""yes; then :
67028 cat >>confdefs.h <<_ACEOF
67029 #define HAVE__FMODF 1
67030 _ACEOF
67033 done
67042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
67043 $as_echo_n "checking for frexpf declaration... " >&6; }
67044 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
67045 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
67046 $as_echo_n "(cached) " >&6
67047 else
67050 ac_ext=cpp
67051 ac_cpp='$CXXCPP $CPPFLAGS'
67052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67057 /* end confdefs.h. */
67058 #include <math.h>
67060 main ()
67062 frexpf(0, 0);
67064 return 0;
67066 _ACEOF
67067 if ac_fn_cxx_try_compile "$LINENO"; then :
67068 glibcxx_cv_func_frexpf_use=yes
67069 else
67070 glibcxx_cv_func_frexpf_use=no
67072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67073 ac_ext=c
67074 ac_cpp='$CPP $CPPFLAGS'
67075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
67084 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
67086 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
67087 for ac_func in frexpf
67088 do :
67089 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
67090 if test "x$ac_cv_func_frexpf" = x""yes; then :
67091 cat >>confdefs.h <<_ACEOF
67092 #define HAVE_FREXPF 1
67093 _ACEOF
67096 done
67098 else
67100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
67101 $as_echo_n "checking for _frexpf declaration... " >&6; }
67102 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
67103 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
67104 $as_echo_n "(cached) " >&6
67105 else
67108 ac_ext=cpp
67109 ac_cpp='$CXXCPP $CPPFLAGS'
67110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67115 /* end confdefs.h. */
67116 #include <math.h>
67118 main ()
67120 _frexpf(0, 0);
67122 return 0;
67124 _ACEOF
67125 if ac_fn_cxx_try_compile "$LINENO"; then :
67126 glibcxx_cv_func__frexpf_use=yes
67127 else
67128 glibcxx_cv_func__frexpf_use=no
67130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67131 ac_ext=c
67132 ac_cpp='$CPP $CPPFLAGS'
67133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
67142 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
67144 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
67145 for ac_func in _frexpf
67146 do :
67147 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
67148 if test "x$ac_cv_func__frexpf" = x""yes; then :
67149 cat >>confdefs.h <<_ACEOF
67150 #define HAVE__FREXPF 1
67151 _ACEOF
67154 done
67163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
67164 $as_echo_n "checking for hypotf declaration... " >&6; }
67165 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
67166 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
67167 $as_echo_n "(cached) " >&6
67168 else
67171 ac_ext=cpp
67172 ac_cpp='$CXXCPP $CPPFLAGS'
67173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67178 /* end confdefs.h. */
67179 #include <math.h>
67181 main ()
67183 hypotf(0, 0);
67185 return 0;
67187 _ACEOF
67188 if ac_fn_cxx_try_compile "$LINENO"; then :
67189 glibcxx_cv_func_hypotf_use=yes
67190 else
67191 glibcxx_cv_func_hypotf_use=no
67193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67194 ac_ext=c
67195 ac_cpp='$CPP $CPPFLAGS'
67196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
67205 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
67207 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
67208 for ac_func in hypotf
67209 do :
67210 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
67211 if test "x$ac_cv_func_hypotf" = x""yes; then :
67212 cat >>confdefs.h <<_ACEOF
67213 #define HAVE_HYPOTF 1
67214 _ACEOF
67217 done
67219 else
67221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
67222 $as_echo_n "checking for _hypotf declaration... " >&6; }
67223 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
67224 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
67225 $as_echo_n "(cached) " >&6
67226 else
67229 ac_ext=cpp
67230 ac_cpp='$CXXCPP $CPPFLAGS'
67231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67236 /* end confdefs.h. */
67237 #include <math.h>
67239 main ()
67241 _hypotf(0, 0);
67243 return 0;
67245 _ACEOF
67246 if ac_fn_cxx_try_compile "$LINENO"; then :
67247 glibcxx_cv_func__hypotf_use=yes
67248 else
67249 glibcxx_cv_func__hypotf_use=no
67251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67252 ac_ext=c
67253 ac_cpp='$CPP $CPPFLAGS'
67254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
67263 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
67265 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
67266 for ac_func in _hypotf
67267 do :
67268 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
67269 if test "x$ac_cv_func__hypotf" = x""yes; then :
67270 cat >>confdefs.h <<_ACEOF
67271 #define HAVE__HYPOTF 1
67272 _ACEOF
67275 done
67284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
67285 $as_echo_n "checking for ldexpf declaration... " >&6; }
67286 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
67287 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
67288 $as_echo_n "(cached) " >&6
67289 else
67292 ac_ext=cpp
67293 ac_cpp='$CXXCPP $CPPFLAGS'
67294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67299 /* end confdefs.h. */
67300 #include <math.h>
67302 main ()
67304 ldexpf(0, 0);
67306 return 0;
67308 _ACEOF
67309 if ac_fn_cxx_try_compile "$LINENO"; then :
67310 glibcxx_cv_func_ldexpf_use=yes
67311 else
67312 glibcxx_cv_func_ldexpf_use=no
67314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67315 ac_ext=c
67316 ac_cpp='$CPP $CPPFLAGS'
67317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
67326 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
67328 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
67329 for ac_func in ldexpf
67330 do :
67331 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
67332 if test "x$ac_cv_func_ldexpf" = x""yes; then :
67333 cat >>confdefs.h <<_ACEOF
67334 #define HAVE_LDEXPF 1
67335 _ACEOF
67338 done
67340 else
67342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
67343 $as_echo_n "checking for _ldexpf declaration... " >&6; }
67344 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
67345 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
67346 $as_echo_n "(cached) " >&6
67347 else
67350 ac_ext=cpp
67351 ac_cpp='$CXXCPP $CPPFLAGS'
67352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67357 /* end confdefs.h. */
67358 #include <math.h>
67360 main ()
67362 _ldexpf(0, 0);
67364 return 0;
67366 _ACEOF
67367 if ac_fn_cxx_try_compile "$LINENO"; then :
67368 glibcxx_cv_func__ldexpf_use=yes
67369 else
67370 glibcxx_cv_func__ldexpf_use=no
67372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67373 ac_ext=c
67374 ac_cpp='$CPP $CPPFLAGS'
67375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
67384 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
67386 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
67387 for ac_func in _ldexpf
67388 do :
67389 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
67390 if test "x$ac_cv_func__ldexpf" = x""yes; then :
67391 cat >>confdefs.h <<_ACEOF
67392 #define HAVE__LDEXPF 1
67393 _ACEOF
67396 done
67405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
67406 $as_echo_n "checking for logf declaration... " >&6; }
67407 if test x${glibcxx_cv_func_logf_use+set} != xset; then
67408 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
67409 $as_echo_n "(cached) " >&6
67410 else
67413 ac_ext=cpp
67414 ac_cpp='$CXXCPP $CPPFLAGS'
67415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67420 /* end confdefs.h. */
67421 #include <math.h>
67422 #ifdef HAVE_IEEEFP_H
67423 #include <ieeefp.h>
67424 #endif
67427 main ()
67429 logf(0);
67431 return 0;
67433 _ACEOF
67434 if ac_fn_cxx_try_compile "$LINENO"; then :
67435 glibcxx_cv_func_logf_use=yes
67436 else
67437 glibcxx_cv_func_logf_use=no
67439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67440 ac_ext=c
67441 ac_cpp='$CPP $CPPFLAGS'
67442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
67451 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
67453 if test x$glibcxx_cv_func_logf_use = x"yes"; then
67454 for ac_func in logf
67455 do :
67456 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
67457 if test "x$ac_cv_func_logf" = x""yes; then :
67458 cat >>confdefs.h <<_ACEOF
67459 #define HAVE_LOGF 1
67460 _ACEOF
67463 done
67465 else
67467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
67468 $as_echo_n "checking for _logf declaration... " >&6; }
67469 if test x${glibcxx_cv_func__logf_use+set} != xset; then
67470 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
67471 $as_echo_n "(cached) " >&6
67472 else
67475 ac_ext=cpp
67476 ac_cpp='$CXXCPP $CPPFLAGS'
67477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67482 /* end confdefs.h. */
67483 #include <math.h>
67484 #ifdef HAVE_IEEEFP_H
67485 #include <ieeefp.h>
67486 #endif
67489 main ()
67491 _logf(0);
67493 return 0;
67495 _ACEOF
67496 if ac_fn_cxx_try_compile "$LINENO"; then :
67497 glibcxx_cv_func__logf_use=yes
67498 else
67499 glibcxx_cv_func__logf_use=no
67501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67502 ac_ext=c
67503 ac_cpp='$CPP $CPPFLAGS'
67504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
67513 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
67515 if test x$glibcxx_cv_func__logf_use = x"yes"; then
67516 for ac_func in _logf
67517 do :
67518 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
67519 if test "x$ac_cv_func__logf" = x""yes; then :
67520 cat >>confdefs.h <<_ACEOF
67521 #define HAVE__LOGF 1
67522 _ACEOF
67525 done
67534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
67535 $as_echo_n "checking for log10f declaration... " >&6; }
67536 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
67537 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
67538 $as_echo_n "(cached) " >&6
67539 else
67542 ac_ext=cpp
67543 ac_cpp='$CXXCPP $CPPFLAGS'
67544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67549 /* end confdefs.h. */
67550 #include <math.h>
67551 #ifdef HAVE_IEEEFP_H
67552 #include <ieeefp.h>
67553 #endif
67556 main ()
67558 log10f(0);
67560 return 0;
67562 _ACEOF
67563 if ac_fn_cxx_try_compile "$LINENO"; then :
67564 glibcxx_cv_func_log10f_use=yes
67565 else
67566 glibcxx_cv_func_log10f_use=no
67568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67569 ac_ext=c
67570 ac_cpp='$CPP $CPPFLAGS'
67571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
67580 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
67582 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
67583 for ac_func in log10f
67584 do :
67585 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
67586 if test "x$ac_cv_func_log10f" = x""yes; then :
67587 cat >>confdefs.h <<_ACEOF
67588 #define HAVE_LOG10F 1
67589 _ACEOF
67592 done
67594 else
67596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
67597 $as_echo_n "checking for _log10f declaration... " >&6; }
67598 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
67599 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
67600 $as_echo_n "(cached) " >&6
67601 else
67604 ac_ext=cpp
67605 ac_cpp='$CXXCPP $CPPFLAGS'
67606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67611 /* end confdefs.h. */
67612 #include <math.h>
67613 #ifdef HAVE_IEEEFP_H
67614 #include <ieeefp.h>
67615 #endif
67618 main ()
67620 _log10f(0);
67622 return 0;
67624 _ACEOF
67625 if ac_fn_cxx_try_compile "$LINENO"; then :
67626 glibcxx_cv_func__log10f_use=yes
67627 else
67628 glibcxx_cv_func__log10f_use=no
67630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67631 ac_ext=c
67632 ac_cpp='$CPP $CPPFLAGS'
67633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
67642 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
67644 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
67645 for ac_func in _log10f
67646 do :
67647 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
67648 if test "x$ac_cv_func__log10f" = x""yes; then :
67649 cat >>confdefs.h <<_ACEOF
67650 #define HAVE__LOG10F 1
67651 _ACEOF
67654 done
67663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
67664 $as_echo_n "checking for modff declaration... " >&6; }
67665 if test x${glibcxx_cv_func_modff_use+set} != xset; then
67666 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
67667 $as_echo_n "(cached) " >&6
67668 else
67671 ac_ext=cpp
67672 ac_cpp='$CXXCPP $CPPFLAGS'
67673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67678 /* end confdefs.h. */
67679 #include <math.h>
67681 main ()
67683 modff(0, 0);
67685 return 0;
67687 _ACEOF
67688 if ac_fn_cxx_try_compile "$LINENO"; then :
67689 glibcxx_cv_func_modff_use=yes
67690 else
67691 glibcxx_cv_func_modff_use=no
67693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67694 ac_ext=c
67695 ac_cpp='$CPP $CPPFLAGS'
67696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
67705 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
67707 if test x$glibcxx_cv_func_modff_use = x"yes"; then
67708 for ac_func in modff
67709 do :
67710 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
67711 if test "x$ac_cv_func_modff" = x""yes; then :
67712 cat >>confdefs.h <<_ACEOF
67713 #define HAVE_MODFF 1
67714 _ACEOF
67717 done
67719 else
67721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
67722 $as_echo_n "checking for _modff declaration... " >&6; }
67723 if test x${glibcxx_cv_func__modff_use+set} != xset; then
67724 if test "${glibcxx_cv_func__modff_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 _modff(0, 0);
67743 return 0;
67745 _ACEOF
67746 if ac_fn_cxx_try_compile "$LINENO"; then :
67747 glibcxx_cv_func__modff_use=yes
67748 else
67749 glibcxx_cv_func__modff_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
67762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
67763 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
67765 if test x$glibcxx_cv_func__modff_use = x"yes"; then
67766 for ac_func in _modff
67767 do :
67768 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
67769 if test "x$ac_cv_func__modff" = x""yes; then :
67770 cat >>confdefs.h <<_ACEOF
67771 #define HAVE__MODFF 1
67772 _ACEOF
67775 done
67784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
67785 $as_echo_n "checking for modf declaration... " >&6; }
67786 if test x${glibcxx_cv_func_modf_use+set} != xset; then
67787 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
67788 $as_echo_n "(cached) " >&6
67789 else
67792 ac_ext=cpp
67793 ac_cpp='$CXXCPP $CPPFLAGS'
67794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67799 /* end confdefs.h. */
67800 #include <math.h>
67802 main ()
67804 modf(0, 0);
67806 return 0;
67808 _ACEOF
67809 if ac_fn_cxx_try_compile "$LINENO"; then :
67810 glibcxx_cv_func_modf_use=yes
67811 else
67812 glibcxx_cv_func_modf_use=no
67814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67815 ac_ext=c
67816 ac_cpp='$CPP $CPPFLAGS'
67817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
67826 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
67828 if test x$glibcxx_cv_func_modf_use = x"yes"; then
67829 for ac_func in modf
67830 do :
67831 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
67832 if test "x$ac_cv_func_modf" = x""yes; then :
67833 cat >>confdefs.h <<_ACEOF
67834 #define HAVE_MODF 1
67835 _ACEOF
67838 done
67840 else
67842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
67843 $as_echo_n "checking for _modf declaration... " >&6; }
67844 if test x${glibcxx_cv_func__modf_use+set} != xset; then
67845 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
67846 $as_echo_n "(cached) " >&6
67847 else
67850 ac_ext=cpp
67851 ac_cpp='$CXXCPP $CPPFLAGS'
67852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67857 /* end confdefs.h. */
67858 #include <math.h>
67860 main ()
67862 _modf(0, 0);
67864 return 0;
67866 _ACEOF
67867 if ac_fn_cxx_try_compile "$LINENO"; then :
67868 glibcxx_cv_func__modf_use=yes
67869 else
67870 glibcxx_cv_func__modf_use=no
67872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67873 ac_ext=c
67874 ac_cpp='$CPP $CPPFLAGS'
67875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
67884 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
67886 if test x$glibcxx_cv_func__modf_use = x"yes"; then
67887 for ac_func in _modf
67888 do :
67889 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
67890 if test "x$ac_cv_func__modf" = x""yes; then :
67891 cat >>confdefs.h <<_ACEOF
67892 #define HAVE__MODF 1
67893 _ACEOF
67896 done
67905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
67906 $as_echo_n "checking for powf declaration... " >&6; }
67907 if test x${glibcxx_cv_func_powf_use+set} != xset; then
67908 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
67909 $as_echo_n "(cached) " >&6
67910 else
67913 ac_ext=cpp
67914 ac_cpp='$CXXCPP $CPPFLAGS'
67915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67920 /* end confdefs.h. */
67921 #include <math.h>
67923 main ()
67925 powf(0, 0);
67927 return 0;
67929 _ACEOF
67930 if ac_fn_cxx_try_compile "$LINENO"; then :
67931 glibcxx_cv_func_powf_use=yes
67932 else
67933 glibcxx_cv_func_powf_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_powf_use" >&5
67947 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
67949 if test x$glibcxx_cv_func_powf_use = x"yes"; then
67950 for ac_func in powf
67951 do :
67952 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
67953 if test "x$ac_cv_func_powf" = x""yes; then :
67954 cat >>confdefs.h <<_ACEOF
67955 #define HAVE_POWF 1
67956 _ACEOF
67959 done
67961 else
67963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
67964 $as_echo_n "checking for _powf declaration... " >&6; }
67965 if test x${glibcxx_cv_func__powf_use+set} != xset; then
67966 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
67967 $as_echo_n "(cached) " >&6
67968 else
67971 ac_ext=cpp
67972 ac_cpp='$CXXCPP $CPPFLAGS'
67973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67978 /* end confdefs.h. */
67979 #include <math.h>
67981 main ()
67983 _powf(0, 0);
67985 return 0;
67987 _ACEOF
67988 if ac_fn_cxx_try_compile "$LINENO"; then :
67989 glibcxx_cv_func__powf_use=yes
67990 else
67991 glibcxx_cv_func__powf_use=no
67993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67994 ac_ext=c
67995 ac_cpp='$CPP $CPPFLAGS'
67996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
68005 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
68007 if test x$glibcxx_cv_func__powf_use = x"yes"; then
68008 for ac_func in _powf
68009 do :
68010 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
68011 if test "x$ac_cv_func__powf" = x""yes; then :
68012 cat >>confdefs.h <<_ACEOF
68013 #define HAVE__POWF 1
68014 _ACEOF
68017 done
68026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
68027 $as_echo_n "checking for sqrtf declaration... " >&6; }
68028 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
68029 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
68030 $as_echo_n "(cached) " >&6
68031 else
68034 ac_ext=cpp
68035 ac_cpp='$CXXCPP $CPPFLAGS'
68036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68041 /* end confdefs.h. */
68042 #include <math.h>
68043 #ifdef HAVE_IEEEFP_H
68044 #include <ieeefp.h>
68045 #endif
68048 main ()
68050 sqrtf(0);
68052 return 0;
68054 _ACEOF
68055 if ac_fn_cxx_try_compile "$LINENO"; then :
68056 glibcxx_cv_func_sqrtf_use=yes
68057 else
68058 glibcxx_cv_func_sqrtf_use=no
68060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68061 ac_ext=c
68062 ac_cpp='$CPP $CPPFLAGS'
68063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
68072 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
68074 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
68075 for ac_func in sqrtf
68076 do :
68077 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
68078 if test "x$ac_cv_func_sqrtf" = x""yes; then :
68079 cat >>confdefs.h <<_ACEOF
68080 #define HAVE_SQRTF 1
68081 _ACEOF
68084 done
68086 else
68088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
68089 $as_echo_n "checking for _sqrtf declaration... " >&6; }
68090 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
68091 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
68092 $as_echo_n "(cached) " >&6
68093 else
68096 ac_ext=cpp
68097 ac_cpp='$CXXCPP $CPPFLAGS'
68098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68103 /* end confdefs.h. */
68104 #include <math.h>
68105 #ifdef HAVE_IEEEFP_H
68106 #include <ieeefp.h>
68107 #endif
68110 main ()
68112 _sqrtf(0);
68114 return 0;
68116 _ACEOF
68117 if ac_fn_cxx_try_compile "$LINENO"; then :
68118 glibcxx_cv_func__sqrtf_use=yes
68119 else
68120 glibcxx_cv_func__sqrtf_use=no
68122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68123 ac_ext=c
68124 ac_cpp='$CPP $CPPFLAGS'
68125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
68134 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
68136 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
68137 for ac_func in _sqrtf
68138 do :
68139 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
68140 if test "x$ac_cv_func__sqrtf" = x""yes; then :
68141 cat >>confdefs.h <<_ACEOF
68142 #define HAVE__SQRTF 1
68143 _ACEOF
68146 done
68155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
68156 $as_echo_n "checking for sincosf declaration... " >&6; }
68157 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
68158 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
68159 $as_echo_n "(cached) " >&6
68160 else
68163 ac_ext=cpp
68164 ac_cpp='$CXXCPP $CPPFLAGS'
68165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68170 /* end confdefs.h. */
68171 #include <math.h>
68173 main ()
68175 sincosf(0, 0, 0);
68177 return 0;
68179 _ACEOF
68180 if ac_fn_cxx_try_compile "$LINENO"; then :
68181 glibcxx_cv_func_sincosf_use=yes
68182 else
68183 glibcxx_cv_func_sincosf_use=no
68185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68186 ac_ext=c
68187 ac_cpp='$CPP $CPPFLAGS'
68188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
68197 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
68199 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
68200 for ac_func in sincosf
68201 do :
68202 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
68203 if test "x$ac_cv_func_sincosf" = x""yes; then :
68204 cat >>confdefs.h <<_ACEOF
68205 #define HAVE_SINCOSF 1
68206 _ACEOF
68209 done
68211 else
68213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
68214 $as_echo_n "checking for _sincosf declaration... " >&6; }
68215 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
68216 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
68217 $as_echo_n "(cached) " >&6
68218 else
68221 ac_ext=cpp
68222 ac_cpp='$CXXCPP $CPPFLAGS'
68223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68228 /* end confdefs.h. */
68229 #include <math.h>
68231 main ()
68233 _sincosf(0, 0, 0);
68235 return 0;
68237 _ACEOF
68238 if ac_fn_cxx_try_compile "$LINENO"; then :
68239 glibcxx_cv_func__sincosf_use=yes
68240 else
68241 glibcxx_cv_func__sincosf_use=no
68243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68244 ac_ext=c
68245 ac_cpp='$CPP $CPPFLAGS'
68246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
68255 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
68257 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
68258 for ac_func in _sincosf
68259 do :
68260 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
68261 if test "x$ac_cv_func__sincosf" = x""yes; then :
68262 cat >>confdefs.h <<_ACEOF
68263 #define HAVE__SINCOSF 1
68264 _ACEOF
68267 done
68276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
68277 $as_echo_n "checking for finitef declaration... " >&6; }
68278 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
68279 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
68280 $as_echo_n "(cached) " >&6
68281 else
68284 ac_ext=cpp
68285 ac_cpp='$CXXCPP $CPPFLAGS'
68286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68291 /* end confdefs.h. */
68292 #include <math.h>
68293 #ifdef HAVE_IEEEFP_H
68294 #include <ieeefp.h>
68295 #endif
68298 main ()
68300 finitef(0);
68302 return 0;
68304 _ACEOF
68305 if ac_fn_cxx_try_compile "$LINENO"; then :
68306 glibcxx_cv_func_finitef_use=yes
68307 else
68308 glibcxx_cv_func_finitef_use=no
68310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68311 ac_ext=c
68312 ac_cpp='$CPP $CPPFLAGS'
68313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
68322 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
68324 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
68325 for ac_func in finitef
68326 do :
68327 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
68328 if test "x$ac_cv_func_finitef" = x""yes; then :
68329 cat >>confdefs.h <<_ACEOF
68330 #define HAVE_FINITEF 1
68331 _ACEOF
68334 done
68336 else
68338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
68339 $as_echo_n "checking for _finitef declaration... " >&6; }
68340 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
68341 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
68342 $as_echo_n "(cached) " >&6
68343 else
68346 ac_ext=cpp
68347 ac_cpp='$CXXCPP $CPPFLAGS'
68348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68353 /* end confdefs.h. */
68354 #include <math.h>
68355 #ifdef HAVE_IEEEFP_H
68356 #include <ieeefp.h>
68357 #endif
68360 main ()
68362 _finitef(0);
68364 return 0;
68366 _ACEOF
68367 if ac_fn_cxx_try_compile "$LINENO"; then :
68368 glibcxx_cv_func__finitef_use=yes
68369 else
68370 glibcxx_cv_func__finitef_use=no
68372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68373 ac_ext=c
68374 ac_cpp='$CPP $CPPFLAGS'
68375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
68384 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
68386 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
68387 for ac_func in _finitef
68388 do :
68389 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
68390 if test "x$ac_cv_func__finitef" = x""yes; then :
68391 cat >>confdefs.h <<_ACEOF
68392 #define HAVE__FINITEF 1
68393 _ACEOF
68396 done
68405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
68406 $as_echo_n "checking for long double trig functions... " >&6; }
68407 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
68408 $as_echo_n "(cached) " >&6
68409 else
68412 ac_ext=cpp
68413 ac_cpp='$CXXCPP $CPPFLAGS'
68414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68419 /* end confdefs.h. */
68420 #include <math.h>
68422 main ()
68424 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
68426 return 0;
68428 _ACEOF
68429 if ac_fn_cxx_try_compile "$LINENO"; then :
68430 glibcxx_cv_func_long_double_trig_use=yes
68431 else
68432 glibcxx_cv_func_long_double_trig_use=no
68434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68435 ac_ext=c
68436 ac_cpp='$CPP $CPPFLAGS'
68437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
68444 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
68445 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
68446 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
68447 do :
68448 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68449 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68450 eval as_val=\$$as_ac_var
68451 if test "x$as_val" = x""yes; then :
68452 cat >>confdefs.h <<_ACEOF
68453 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68454 _ACEOF
68457 done
68459 else
68460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
68461 $as_echo_n "checking for _long double trig functions... " >&6; }
68462 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
68463 $as_echo_n "(cached) " >&6
68464 else
68467 ac_ext=cpp
68468 ac_cpp='$CXXCPP $CPPFLAGS'
68469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68474 /* end confdefs.h. */
68475 #include <math.h>
68477 main ()
68479 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
68481 return 0;
68483 _ACEOF
68484 if ac_fn_cxx_try_compile "$LINENO"; then :
68485 glibcxx_cv_func__long_double_trig_use=yes
68486 else
68487 glibcxx_cv_func__long_double_trig_use=no
68489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68490 ac_ext=c
68491 ac_cpp='$CPP $CPPFLAGS'
68492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
68499 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
68500 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
68501 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
68502 do :
68503 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68504 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68505 eval as_val=\$$as_ac_var
68506 if test "x$as_val" = x""yes; then :
68507 cat >>confdefs.h <<_ACEOF
68508 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68509 _ACEOF
68512 done
68521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
68522 $as_echo_n "checking for long double round functions... " >&6; }
68523 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
68524 $as_echo_n "(cached) " >&6
68525 else
68528 ac_ext=cpp
68529 ac_cpp='$CXXCPP $CPPFLAGS'
68530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68535 /* end confdefs.h. */
68536 #include <math.h>
68538 main ()
68540 ceill (0); floorl (0);
68542 return 0;
68544 _ACEOF
68545 if ac_fn_cxx_try_compile "$LINENO"; then :
68546 glibcxx_cv_func_long_double_round_use=yes
68547 else
68548 glibcxx_cv_func_long_double_round_use=no
68550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68551 ac_ext=c
68552 ac_cpp='$CPP $CPPFLAGS'
68553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
68560 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
68561 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
68562 for ac_func in ceill floorl
68563 do :
68564 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68565 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68566 eval as_val=\$$as_ac_var
68567 if test "x$as_val" = x""yes; then :
68568 cat >>confdefs.h <<_ACEOF
68569 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68570 _ACEOF
68573 done
68575 else
68576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
68577 $as_echo_n "checking for _long double round functions... " >&6; }
68578 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
68579 $as_echo_n "(cached) " >&6
68580 else
68583 ac_ext=cpp
68584 ac_cpp='$CXXCPP $CPPFLAGS'
68585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68590 /* end confdefs.h. */
68591 #include <math.h>
68593 main ()
68595 _ceill (0); _floorl (0);
68597 return 0;
68599 _ACEOF
68600 if ac_fn_cxx_try_compile "$LINENO"; then :
68601 glibcxx_cv_func__long_double_round_use=yes
68602 else
68603 glibcxx_cv_func__long_double_round_use=no
68605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68606 ac_ext=c
68607 ac_cpp='$CPP $CPPFLAGS'
68608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
68615 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
68616 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
68617 for ac_func in _ceill _floorl
68618 do :
68619 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68620 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68621 eval as_val=\$$as_ac_var
68622 if test "x$as_val" = x""yes; then :
68623 cat >>confdefs.h <<_ACEOF
68624 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68625 _ACEOF
68628 done
68638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
68639 $as_echo_n "checking for isnanl declaration... " >&6; }
68640 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
68641 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
68642 $as_echo_n "(cached) " >&6
68643 else
68646 ac_ext=cpp
68647 ac_cpp='$CXXCPP $CPPFLAGS'
68648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68653 /* end confdefs.h. */
68654 #include <math.h>
68655 #ifdef HAVE_IEEEFP_H
68656 #include <ieeefp.h>
68657 #endif
68660 main ()
68662 isnanl(0);
68664 return 0;
68666 _ACEOF
68667 if ac_fn_cxx_try_compile "$LINENO"; then :
68668 glibcxx_cv_func_isnanl_use=yes
68669 else
68670 glibcxx_cv_func_isnanl_use=no
68672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68673 ac_ext=c
68674 ac_cpp='$CPP $CPPFLAGS'
68675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
68684 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
68686 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
68687 for ac_func in isnanl
68688 do :
68689 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
68690 if test "x$ac_cv_func_isnanl" = x""yes; then :
68691 cat >>confdefs.h <<_ACEOF
68692 #define HAVE_ISNANL 1
68693 _ACEOF
68696 done
68698 else
68700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
68701 $as_echo_n "checking for _isnanl declaration... " >&6; }
68702 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
68703 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
68704 $as_echo_n "(cached) " >&6
68705 else
68708 ac_ext=cpp
68709 ac_cpp='$CXXCPP $CPPFLAGS'
68710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68715 /* end confdefs.h. */
68716 #include <math.h>
68717 #ifdef HAVE_IEEEFP_H
68718 #include <ieeefp.h>
68719 #endif
68722 main ()
68724 _isnanl(0);
68726 return 0;
68728 _ACEOF
68729 if ac_fn_cxx_try_compile "$LINENO"; then :
68730 glibcxx_cv_func__isnanl_use=yes
68731 else
68732 glibcxx_cv_func__isnanl_use=no
68734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68735 ac_ext=c
68736 ac_cpp='$CPP $CPPFLAGS'
68737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
68746 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
68748 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
68749 for ac_func in _isnanl
68750 do :
68751 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
68752 if test "x$ac_cv_func__isnanl" = x""yes; then :
68753 cat >>confdefs.h <<_ACEOF
68754 #define HAVE__ISNANL 1
68755 _ACEOF
68758 done
68767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
68768 $as_echo_n "checking for isinfl declaration... " >&6; }
68769 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
68770 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
68771 $as_echo_n "(cached) " >&6
68772 else
68775 ac_ext=cpp
68776 ac_cpp='$CXXCPP $CPPFLAGS'
68777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68782 /* end confdefs.h. */
68783 #include <math.h>
68784 #ifdef HAVE_IEEEFP_H
68785 #include <ieeefp.h>
68786 #endif
68789 main ()
68791 isinfl(0);
68793 return 0;
68795 _ACEOF
68796 if ac_fn_cxx_try_compile "$LINENO"; then :
68797 glibcxx_cv_func_isinfl_use=yes
68798 else
68799 glibcxx_cv_func_isinfl_use=no
68801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68802 ac_ext=c
68803 ac_cpp='$CPP $CPPFLAGS'
68804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
68813 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
68815 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
68816 for ac_func in isinfl
68817 do :
68818 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
68819 if test "x$ac_cv_func_isinfl" = x""yes; then :
68820 cat >>confdefs.h <<_ACEOF
68821 #define HAVE_ISINFL 1
68822 _ACEOF
68825 done
68827 else
68829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
68830 $as_echo_n "checking for _isinfl declaration... " >&6; }
68831 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
68832 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
68833 $as_echo_n "(cached) " >&6
68834 else
68837 ac_ext=cpp
68838 ac_cpp='$CXXCPP $CPPFLAGS'
68839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68844 /* end confdefs.h. */
68845 #include <math.h>
68846 #ifdef HAVE_IEEEFP_H
68847 #include <ieeefp.h>
68848 #endif
68851 main ()
68853 _isinfl(0);
68855 return 0;
68857 _ACEOF
68858 if ac_fn_cxx_try_compile "$LINENO"; then :
68859 glibcxx_cv_func__isinfl_use=yes
68860 else
68861 glibcxx_cv_func__isinfl_use=no
68863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68864 ac_ext=c
68865 ac_cpp='$CPP $CPPFLAGS'
68866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
68875 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
68877 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
68878 for ac_func in _isinfl
68879 do :
68880 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
68881 if test "x$ac_cv_func__isinfl" = x""yes; then :
68882 cat >>confdefs.h <<_ACEOF
68883 #define HAVE__ISINFL 1
68884 _ACEOF
68887 done
68896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
68897 $as_echo_n "checking for atan2l declaration... " >&6; }
68898 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
68899 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
68900 $as_echo_n "(cached) " >&6
68901 else
68904 ac_ext=cpp
68905 ac_cpp='$CXXCPP $CPPFLAGS'
68906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68911 /* end confdefs.h. */
68912 #include <math.h>
68914 main ()
68916 atan2l(0, 0);
68918 return 0;
68920 _ACEOF
68921 if ac_fn_cxx_try_compile "$LINENO"; then :
68922 glibcxx_cv_func_atan2l_use=yes
68923 else
68924 glibcxx_cv_func_atan2l_use=no
68926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68927 ac_ext=c
68928 ac_cpp='$CPP $CPPFLAGS'
68929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
68938 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
68940 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
68941 for ac_func in atan2l
68942 do :
68943 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
68944 if test "x$ac_cv_func_atan2l" = x""yes; then :
68945 cat >>confdefs.h <<_ACEOF
68946 #define HAVE_ATAN2L 1
68947 _ACEOF
68950 done
68952 else
68954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
68955 $as_echo_n "checking for _atan2l declaration... " >&6; }
68956 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
68957 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
68958 $as_echo_n "(cached) " >&6
68959 else
68962 ac_ext=cpp
68963 ac_cpp='$CXXCPP $CPPFLAGS'
68964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68969 /* end confdefs.h. */
68970 #include <math.h>
68972 main ()
68974 _atan2l(0, 0);
68976 return 0;
68978 _ACEOF
68979 if ac_fn_cxx_try_compile "$LINENO"; then :
68980 glibcxx_cv_func__atan2l_use=yes
68981 else
68982 glibcxx_cv_func__atan2l_use=no
68984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68985 ac_ext=c
68986 ac_cpp='$CPP $CPPFLAGS'
68987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
68996 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
68998 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
68999 for ac_func in _atan2l
69000 do :
69001 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
69002 if test "x$ac_cv_func__atan2l" = x""yes; then :
69003 cat >>confdefs.h <<_ACEOF
69004 #define HAVE__ATAN2L 1
69005 _ACEOF
69008 done
69017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
69018 $as_echo_n "checking for expl declaration... " >&6; }
69019 if test x${glibcxx_cv_func_expl_use+set} != xset; then
69020 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
69021 $as_echo_n "(cached) " >&6
69022 else
69025 ac_ext=cpp
69026 ac_cpp='$CXXCPP $CPPFLAGS'
69027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69032 /* end confdefs.h. */
69033 #include <math.h>
69034 #ifdef HAVE_IEEEFP_H
69035 #include <ieeefp.h>
69036 #endif
69039 main ()
69041 expl(0);
69043 return 0;
69045 _ACEOF
69046 if ac_fn_cxx_try_compile "$LINENO"; then :
69047 glibcxx_cv_func_expl_use=yes
69048 else
69049 glibcxx_cv_func_expl_use=no
69051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69052 ac_ext=c
69053 ac_cpp='$CPP $CPPFLAGS'
69054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
69063 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
69065 if test x$glibcxx_cv_func_expl_use = x"yes"; then
69066 for ac_func in expl
69067 do :
69068 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
69069 if test "x$ac_cv_func_expl" = x""yes; then :
69070 cat >>confdefs.h <<_ACEOF
69071 #define HAVE_EXPL 1
69072 _ACEOF
69075 done
69077 else
69079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
69080 $as_echo_n "checking for _expl declaration... " >&6; }
69081 if test x${glibcxx_cv_func__expl_use+set} != xset; then
69082 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
69083 $as_echo_n "(cached) " >&6
69084 else
69087 ac_ext=cpp
69088 ac_cpp='$CXXCPP $CPPFLAGS'
69089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69094 /* end confdefs.h. */
69095 #include <math.h>
69096 #ifdef HAVE_IEEEFP_H
69097 #include <ieeefp.h>
69098 #endif
69101 main ()
69103 _expl(0);
69105 return 0;
69107 _ACEOF
69108 if ac_fn_cxx_try_compile "$LINENO"; then :
69109 glibcxx_cv_func__expl_use=yes
69110 else
69111 glibcxx_cv_func__expl_use=no
69113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69114 ac_ext=c
69115 ac_cpp='$CPP $CPPFLAGS'
69116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
69125 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
69127 if test x$glibcxx_cv_func__expl_use = x"yes"; then
69128 for ac_func in _expl
69129 do :
69130 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
69131 if test "x$ac_cv_func__expl" = x""yes; then :
69132 cat >>confdefs.h <<_ACEOF
69133 #define HAVE__EXPL 1
69134 _ACEOF
69137 done
69146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
69147 $as_echo_n "checking for fabsl declaration... " >&6; }
69148 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
69149 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
69150 $as_echo_n "(cached) " >&6
69151 else
69154 ac_ext=cpp
69155 ac_cpp='$CXXCPP $CPPFLAGS'
69156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69161 /* end confdefs.h. */
69162 #include <math.h>
69163 #ifdef HAVE_IEEEFP_H
69164 #include <ieeefp.h>
69165 #endif
69168 main ()
69170 fabsl(0);
69172 return 0;
69174 _ACEOF
69175 if ac_fn_cxx_try_compile "$LINENO"; then :
69176 glibcxx_cv_func_fabsl_use=yes
69177 else
69178 glibcxx_cv_func_fabsl_use=no
69180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69181 ac_ext=c
69182 ac_cpp='$CPP $CPPFLAGS'
69183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
69192 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
69194 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
69195 for ac_func in fabsl
69196 do :
69197 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
69198 if test "x$ac_cv_func_fabsl" = x""yes; then :
69199 cat >>confdefs.h <<_ACEOF
69200 #define HAVE_FABSL 1
69201 _ACEOF
69204 done
69206 else
69208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
69209 $as_echo_n "checking for _fabsl declaration... " >&6; }
69210 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
69211 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
69212 $as_echo_n "(cached) " >&6
69213 else
69216 ac_ext=cpp
69217 ac_cpp='$CXXCPP $CPPFLAGS'
69218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69223 /* end confdefs.h. */
69224 #include <math.h>
69225 #ifdef HAVE_IEEEFP_H
69226 #include <ieeefp.h>
69227 #endif
69230 main ()
69232 _fabsl(0);
69234 return 0;
69236 _ACEOF
69237 if ac_fn_cxx_try_compile "$LINENO"; then :
69238 glibcxx_cv_func__fabsl_use=yes
69239 else
69240 glibcxx_cv_func__fabsl_use=no
69242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69243 ac_ext=c
69244 ac_cpp='$CPP $CPPFLAGS'
69245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
69254 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
69256 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
69257 for ac_func in _fabsl
69258 do :
69259 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
69260 if test "x$ac_cv_func__fabsl" = x""yes; then :
69261 cat >>confdefs.h <<_ACEOF
69262 #define HAVE__FABSL 1
69263 _ACEOF
69266 done
69275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
69276 $as_echo_n "checking for fmodl declaration... " >&6; }
69277 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
69278 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
69279 $as_echo_n "(cached) " >&6
69280 else
69283 ac_ext=cpp
69284 ac_cpp='$CXXCPP $CPPFLAGS'
69285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69290 /* end confdefs.h. */
69291 #include <math.h>
69293 main ()
69295 fmodl(0, 0);
69297 return 0;
69299 _ACEOF
69300 if ac_fn_cxx_try_compile "$LINENO"; then :
69301 glibcxx_cv_func_fmodl_use=yes
69302 else
69303 glibcxx_cv_func_fmodl_use=no
69305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69306 ac_ext=c
69307 ac_cpp='$CPP $CPPFLAGS'
69308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
69317 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69319 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
69320 for ac_func in fmodl
69321 do :
69322 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
69323 if test "x$ac_cv_func_fmodl" = x""yes; then :
69324 cat >>confdefs.h <<_ACEOF
69325 #define HAVE_FMODL 1
69326 _ACEOF
69329 done
69331 else
69333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
69334 $as_echo_n "checking for _fmodl declaration... " >&6; }
69335 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
69336 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
69337 $as_echo_n "(cached) " >&6
69338 else
69341 ac_ext=cpp
69342 ac_cpp='$CXXCPP $CPPFLAGS'
69343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69348 /* end confdefs.h. */
69349 #include <math.h>
69351 main ()
69353 _fmodl(0, 0);
69355 return 0;
69357 _ACEOF
69358 if ac_fn_cxx_try_compile "$LINENO"; then :
69359 glibcxx_cv_func__fmodl_use=yes
69360 else
69361 glibcxx_cv_func__fmodl_use=no
69363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69364 ac_ext=c
69365 ac_cpp='$CPP $CPPFLAGS'
69366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
69375 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
69377 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
69378 for ac_func in _fmodl
69379 do :
69380 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
69381 if test "x$ac_cv_func__fmodl" = x""yes; then :
69382 cat >>confdefs.h <<_ACEOF
69383 #define HAVE__FMODL 1
69384 _ACEOF
69387 done
69396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
69397 $as_echo_n "checking for frexpl declaration... " >&6; }
69398 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
69399 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
69400 $as_echo_n "(cached) " >&6
69401 else
69404 ac_ext=cpp
69405 ac_cpp='$CXXCPP $CPPFLAGS'
69406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69411 /* end confdefs.h. */
69412 #include <math.h>
69414 main ()
69416 frexpl(0, 0);
69418 return 0;
69420 _ACEOF
69421 if ac_fn_cxx_try_compile "$LINENO"; then :
69422 glibcxx_cv_func_frexpl_use=yes
69423 else
69424 glibcxx_cv_func_frexpl_use=no
69426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69427 ac_ext=c
69428 ac_cpp='$CPP $CPPFLAGS'
69429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69438 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69440 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
69441 for ac_func in frexpl
69442 do :
69443 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
69444 if test "x$ac_cv_func_frexpl" = x""yes; then :
69445 cat >>confdefs.h <<_ACEOF
69446 #define HAVE_FREXPL 1
69447 _ACEOF
69450 done
69452 else
69454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
69455 $as_echo_n "checking for _frexpl declaration... " >&6; }
69456 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
69457 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
69458 $as_echo_n "(cached) " >&6
69459 else
69462 ac_ext=cpp
69463 ac_cpp='$CXXCPP $CPPFLAGS'
69464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69469 /* end confdefs.h. */
69470 #include <math.h>
69472 main ()
69474 _frexpl(0, 0);
69476 return 0;
69478 _ACEOF
69479 if ac_fn_cxx_try_compile "$LINENO"; then :
69480 glibcxx_cv_func__frexpl_use=yes
69481 else
69482 glibcxx_cv_func__frexpl_use=no
69484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69485 ac_ext=c
69486 ac_cpp='$CPP $CPPFLAGS'
69487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
69496 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
69498 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
69499 for ac_func in _frexpl
69500 do :
69501 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
69502 if test "x$ac_cv_func__frexpl" = x""yes; then :
69503 cat >>confdefs.h <<_ACEOF
69504 #define HAVE__FREXPL 1
69505 _ACEOF
69508 done
69517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69518 $as_echo_n "checking for hypotl declaration... " >&6; }
69519 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
69520 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
69521 $as_echo_n "(cached) " >&6
69522 else
69525 ac_ext=cpp
69526 ac_cpp='$CXXCPP $CPPFLAGS'
69527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69532 /* end confdefs.h. */
69533 #include <math.h>
69535 main ()
69537 hypotl(0, 0);
69539 return 0;
69541 _ACEOF
69542 if ac_fn_cxx_try_compile "$LINENO"; then :
69543 glibcxx_cv_func_hypotl_use=yes
69544 else
69545 glibcxx_cv_func_hypotl_use=no
69547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69548 ac_ext=c
69549 ac_cpp='$CPP $CPPFLAGS'
69550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
69559 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
69561 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
69562 for ac_func in hypotl
69563 do :
69564 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
69565 if test "x$ac_cv_func_hypotl" = x""yes; then :
69566 cat >>confdefs.h <<_ACEOF
69567 #define HAVE_HYPOTL 1
69568 _ACEOF
69571 done
69573 else
69575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
69576 $as_echo_n "checking for _hypotl declaration... " >&6; }
69577 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
69578 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
69579 $as_echo_n "(cached) " >&6
69580 else
69583 ac_ext=cpp
69584 ac_cpp='$CXXCPP $CPPFLAGS'
69585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69590 /* end confdefs.h. */
69591 #include <math.h>
69593 main ()
69595 _hypotl(0, 0);
69597 return 0;
69599 _ACEOF
69600 if ac_fn_cxx_try_compile "$LINENO"; then :
69601 glibcxx_cv_func__hypotl_use=yes
69602 else
69603 glibcxx_cv_func__hypotl_use=no
69605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69606 ac_ext=c
69607 ac_cpp='$CPP $CPPFLAGS'
69608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
69617 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
69619 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
69620 for ac_func in _hypotl
69621 do :
69622 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
69623 if test "x$ac_cv_func__hypotl" = x""yes; then :
69624 cat >>confdefs.h <<_ACEOF
69625 #define HAVE__HYPOTL 1
69626 _ACEOF
69629 done
69638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
69639 $as_echo_n "checking for ldexpl declaration... " >&6; }
69640 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
69641 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
69642 $as_echo_n "(cached) " >&6
69643 else
69646 ac_ext=cpp
69647 ac_cpp='$CXXCPP $CPPFLAGS'
69648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69653 /* end confdefs.h. */
69654 #include <math.h>
69656 main ()
69658 ldexpl(0, 0);
69660 return 0;
69662 _ACEOF
69663 if ac_fn_cxx_try_compile "$LINENO"; then :
69664 glibcxx_cv_func_ldexpl_use=yes
69665 else
69666 glibcxx_cv_func_ldexpl_use=no
69668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69669 ac_ext=c
69670 ac_cpp='$CPP $CPPFLAGS'
69671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
69680 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
69682 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
69683 for ac_func in ldexpl
69684 do :
69685 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
69686 if test "x$ac_cv_func_ldexpl" = x""yes; then :
69687 cat >>confdefs.h <<_ACEOF
69688 #define HAVE_LDEXPL 1
69689 _ACEOF
69692 done
69694 else
69696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
69697 $as_echo_n "checking for _ldexpl declaration... " >&6; }
69698 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
69699 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
69700 $as_echo_n "(cached) " >&6
69701 else
69704 ac_ext=cpp
69705 ac_cpp='$CXXCPP $CPPFLAGS'
69706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69711 /* end confdefs.h. */
69712 #include <math.h>
69714 main ()
69716 _ldexpl(0, 0);
69718 return 0;
69720 _ACEOF
69721 if ac_fn_cxx_try_compile "$LINENO"; then :
69722 glibcxx_cv_func__ldexpl_use=yes
69723 else
69724 glibcxx_cv_func__ldexpl_use=no
69726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69727 ac_ext=c
69728 ac_cpp='$CPP $CPPFLAGS'
69729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
69738 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
69740 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
69741 for ac_func in _ldexpl
69742 do :
69743 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
69744 if test "x$ac_cv_func__ldexpl" = x""yes; then :
69745 cat >>confdefs.h <<_ACEOF
69746 #define HAVE__LDEXPL 1
69747 _ACEOF
69750 done
69759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
69760 $as_echo_n "checking for logl declaration... " >&6; }
69761 if test x${glibcxx_cv_func_logl_use+set} != xset; then
69762 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
69763 $as_echo_n "(cached) " >&6
69764 else
69767 ac_ext=cpp
69768 ac_cpp='$CXXCPP $CPPFLAGS'
69769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69774 /* end confdefs.h. */
69775 #include <math.h>
69776 #ifdef HAVE_IEEEFP_H
69777 #include <ieeefp.h>
69778 #endif
69781 main ()
69783 logl(0);
69785 return 0;
69787 _ACEOF
69788 if ac_fn_cxx_try_compile "$LINENO"; then :
69789 glibcxx_cv_func_logl_use=yes
69790 else
69791 glibcxx_cv_func_logl_use=no
69793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69794 ac_ext=c
69795 ac_cpp='$CPP $CPPFLAGS'
69796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
69805 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
69807 if test x$glibcxx_cv_func_logl_use = x"yes"; then
69808 for ac_func in logl
69809 do :
69810 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
69811 if test "x$ac_cv_func_logl" = x""yes; then :
69812 cat >>confdefs.h <<_ACEOF
69813 #define HAVE_LOGL 1
69814 _ACEOF
69817 done
69819 else
69821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
69822 $as_echo_n "checking for _logl declaration... " >&6; }
69823 if test x${glibcxx_cv_func__logl_use+set} != xset; then
69824 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
69825 $as_echo_n "(cached) " >&6
69826 else
69829 ac_ext=cpp
69830 ac_cpp='$CXXCPP $CPPFLAGS'
69831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69836 /* end confdefs.h. */
69837 #include <math.h>
69838 #ifdef HAVE_IEEEFP_H
69839 #include <ieeefp.h>
69840 #endif
69843 main ()
69845 _logl(0);
69847 return 0;
69849 _ACEOF
69850 if ac_fn_cxx_try_compile "$LINENO"; then :
69851 glibcxx_cv_func__logl_use=yes
69852 else
69853 glibcxx_cv_func__logl_use=no
69855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69856 ac_ext=c
69857 ac_cpp='$CPP $CPPFLAGS'
69858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
69867 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
69869 if test x$glibcxx_cv_func__logl_use = x"yes"; then
69870 for ac_func in _logl
69871 do :
69872 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
69873 if test "x$ac_cv_func__logl" = x""yes; then :
69874 cat >>confdefs.h <<_ACEOF
69875 #define HAVE__LOGL 1
69876 _ACEOF
69879 done
69888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
69889 $as_echo_n "checking for log10l declaration... " >&6; }
69890 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
69891 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
69892 $as_echo_n "(cached) " >&6
69893 else
69896 ac_ext=cpp
69897 ac_cpp='$CXXCPP $CPPFLAGS'
69898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69903 /* end confdefs.h. */
69904 #include <math.h>
69905 #ifdef HAVE_IEEEFP_H
69906 #include <ieeefp.h>
69907 #endif
69910 main ()
69912 log10l(0);
69914 return 0;
69916 _ACEOF
69917 if ac_fn_cxx_try_compile "$LINENO"; then :
69918 glibcxx_cv_func_log10l_use=yes
69919 else
69920 glibcxx_cv_func_log10l_use=no
69922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69923 ac_ext=c
69924 ac_cpp='$CPP $CPPFLAGS'
69925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
69934 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
69936 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
69937 for ac_func in log10l
69938 do :
69939 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
69940 if test "x$ac_cv_func_log10l" = x""yes; then :
69941 cat >>confdefs.h <<_ACEOF
69942 #define HAVE_LOG10L 1
69943 _ACEOF
69946 done
69948 else
69950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
69951 $as_echo_n "checking for _log10l declaration... " >&6; }
69952 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
69953 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
69954 $as_echo_n "(cached) " >&6
69955 else
69958 ac_ext=cpp
69959 ac_cpp='$CXXCPP $CPPFLAGS'
69960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69965 /* end confdefs.h. */
69966 #include <math.h>
69967 #ifdef HAVE_IEEEFP_H
69968 #include <ieeefp.h>
69969 #endif
69972 main ()
69974 _log10l(0);
69976 return 0;
69978 _ACEOF
69979 if ac_fn_cxx_try_compile "$LINENO"; then :
69980 glibcxx_cv_func__log10l_use=yes
69981 else
69982 glibcxx_cv_func__log10l_use=no
69984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69985 ac_ext=c
69986 ac_cpp='$CPP $CPPFLAGS'
69987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
69996 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
69998 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
69999 for ac_func in _log10l
70000 do :
70001 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
70002 if test "x$ac_cv_func__log10l" = x""yes; then :
70003 cat >>confdefs.h <<_ACEOF
70004 #define HAVE__LOG10L 1
70005 _ACEOF
70008 done
70017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
70018 $as_echo_n "checking for modfl declaration... " >&6; }
70019 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
70020 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
70021 $as_echo_n "(cached) " >&6
70022 else
70025 ac_ext=cpp
70026 ac_cpp='$CXXCPP $CPPFLAGS'
70027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70032 /* end confdefs.h. */
70033 #include <math.h>
70035 main ()
70037 modfl(0, 0);
70039 return 0;
70041 _ACEOF
70042 if ac_fn_cxx_try_compile "$LINENO"; then :
70043 glibcxx_cv_func_modfl_use=yes
70044 else
70045 glibcxx_cv_func_modfl_use=no
70047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70048 ac_ext=c
70049 ac_cpp='$CPP $CPPFLAGS'
70050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
70059 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
70061 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
70062 for ac_func in modfl
70063 do :
70064 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
70065 if test "x$ac_cv_func_modfl" = x""yes; then :
70066 cat >>confdefs.h <<_ACEOF
70067 #define HAVE_MODFL 1
70068 _ACEOF
70071 done
70073 else
70075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
70076 $as_echo_n "checking for _modfl declaration... " >&6; }
70077 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
70078 if test "${glibcxx_cv_func__modfl_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 _modfl(0, 0);
70097 return 0;
70099 _ACEOF
70100 if ac_fn_cxx_try_compile "$LINENO"; then :
70101 glibcxx_cv_func__modfl_use=yes
70102 else
70103 glibcxx_cv_func__modfl_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
70116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
70117 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
70119 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
70120 for ac_func in _modfl
70121 do :
70122 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
70123 if test "x$ac_cv_func__modfl" = x""yes; then :
70124 cat >>confdefs.h <<_ACEOF
70125 #define HAVE__MODFL 1
70126 _ACEOF
70129 done
70138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
70139 $as_echo_n "checking for powl declaration... " >&6; }
70140 if test x${glibcxx_cv_func_powl_use+set} != xset; then
70141 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
70142 $as_echo_n "(cached) " >&6
70143 else
70146 ac_ext=cpp
70147 ac_cpp='$CXXCPP $CPPFLAGS'
70148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70153 /* end confdefs.h. */
70154 #include <math.h>
70156 main ()
70158 powl(0, 0);
70160 return 0;
70162 _ACEOF
70163 if ac_fn_cxx_try_compile "$LINENO"; then :
70164 glibcxx_cv_func_powl_use=yes
70165 else
70166 glibcxx_cv_func_powl_use=no
70168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70169 ac_ext=c
70170 ac_cpp='$CPP $CPPFLAGS'
70171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
70180 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
70182 if test x$glibcxx_cv_func_powl_use = x"yes"; then
70183 for ac_func in powl
70184 do :
70185 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
70186 if test "x$ac_cv_func_powl" = x""yes; then :
70187 cat >>confdefs.h <<_ACEOF
70188 #define HAVE_POWL 1
70189 _ACEOF
70192 done
70194 else
70196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
70197 $as_echo_n "checking for _powl declaration... " >&6; }
70198 if test x${glibcxx_cv_func__powl_use+set} != xset; then
70199 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
70200 $as_echo_n "(cached) " >&6
70201 else
70204 ac_ext=cpp
70205 ac_cpp='$CXXCPP $CPPFLAGS'
70206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70211 /* end confdefs.h. */
70212 #include <math.h>
70214 main ()
70216 _powl(0, 0);
70218 return 0;
70220 _ACEOF
70221 if ac_fn_cxx_try_compile "$LINENO"; then :
70222 glibcxx_cv_func__powl_use=yes
70223 else
70224 glibcxx_cv_func__powl_use=no
70226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70227 ac_ext=c
70228 ac_cpp='$CPP $CPPFLAGS'
70229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
70238 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
70240 if test x$glibcxx_cv_func__powl_use = x"yes"; then
70241 for ac_func in _powl
70242 do :
70243 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
70244 if test "x$ac_cv_func__powl" = x""yes; then :
70245 cat >>confdefs.h <<_ACEOF
70246 #define HAVE__POWL 1
70247 _ACEOF
70250 done
70259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
70260 $as_echo_n "checking for sqrtl declaration... " >&6; }
70261 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70262 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
70263 $as_echo_n "(cached) " >&6
70264 else
70267 ac_ext=cpp
70268 ac_cpp='$CXXCPP $CPPFLAGS'
70269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70274 /* end confdefs.h. */
70275 #include <math.h>
70276 #ifdef HAVE_IEEEFP_H
70277 #include <ieeefp.h>
70278 #endif
70281 main ()
70283 sqrtl(0);
70285 return 0;
70287 _ACEOF
70288 if ac_fn_cxx_try_compile "$LINENO"; then :
70289 glibcxx_cv_func_sqrtl_use=yes
70290 else
70291 glibcxx_cv_func_sqrtl_use=no
70293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70294 ac_ext=c
70295 ac_cpp='$CPP $CPPFLAGS'
70296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
70305 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
70307 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70308 for ac_func in sqrtl
70309 do :
70310 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
70311 if test "x$ac_cv_func_sqrtl" = x""yes; then :
70312 cat >>confdefs.h <<_ACEOF
70313 #define HAVE_SQRTL 1
70314 _ACEOF
70317 done
70319 else
70321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
70322 $as_echo_n "checking for _sqrtl declaration... " >&6; }
70323 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70324 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
70325 $as_echo_n "(cached) " >&6
70326 else
70329 ac_ext=cpp
70330 ac_cpp='$CXXCPP $CPPFLAGS'
70331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70336 /* end confdefs.h. */
70337 #include <math.h>
70338 #ifdef HAVE_IEEEFP_H
70339 #include <ieeefp.h>
70340 #endif
70343 main ()
70345 _sqrtl(0);
70347 return 0;
70349 _ACEOF
70350 if ac_fn_cxx_try_compile "$LINENO"; then :
70351 glibcxx_cv_func__sqrtl_use=yes
70352 else
70353 glibcxx_cv_func__sqrtl_use=no
70355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70356 ac_ext=c
70357 ac_cpp='$CPP $CPPFLAGS'
70358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
70367 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
70369 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70370 for ac_func in _sqrtl
70371 do :
70372 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
70373 if test "x$ac_cv_func__sqrtl" = x""yes; then :
70374 cat >>confdefs.h <<_ACEOF
70375 #define HAVE__SQRTL 1
70376 _ACEOF
70379 done
70388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
70389 $as_echo_n "checking for sincosl declaration... " >&6; }
70390 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70391 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
70392 $as_echo_n "(cached) " >&6
70393 else
70396 ac_ext=cpp
70397 ac_cpp='$CXXCPP $CPPFLAGS'
70398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70403 /* end confdefs.h. */
70404 #include <math.h>
70406 main ()
70408 sincosl(0, 0, 0);
70410 return 0;
70412 _ACEOF
70413 if ac_fn_cxx_try_compile "$LINENO"; then :
70414 glibcxx_cv_func_sincosl_use=yes
70415 else
70416 glibcxx_cv_func_sincosl_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_sincosl_use" >&5
70430 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
70432 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70433 for ac_func in sincosl
70434 do :
70435 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
70436 if test "x$ac_cv_func_sincosl" = x""yes; then :
70437 cat >>confdefs.h <<_ACEOF
70438 #define HAVE_SINCOSL 1
70439 _ACEOF
70442 done
70444 else
70446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
70447 $as_echo_n "checking for _sincosl declaration... " >&6; }
70448 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70449 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
70450 $as_echo_n "(cached) " >&6
70451 else
70454 ac_ext=cpp
70455 ac_cpp='$CXXCPP $CPPFLAGS'
70456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70461 /* end confdefs.h. */
70462 #include <math.h>
70464 main ()
70466 _sincosl(0, 0, 0);
70468 return 0;
70470 _ACEOF
70471 if ac_fn_cxx_try_compile "$LINENO"; then :
70472 glibcxx_cv_func__sincosl_use=yes
70473 else
70474 glibcxx_cv_func__sincosl_use=no
70476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70477 ac_ext=c
70478 ac_cpp='$CPP $CPPFLAGS'
70479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
70488 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
70490 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70491 for ac_func in _sincosl
70492 do :
70493 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
70494 if test "x$ac_cv_func__sincosl" = x""yes; then :
70495 cat >>confdefs.h <<_ACEOF
70496 #define HAVE__SINCOSL 1
70497 _ACEOF
70500 done
70509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
70510 $as_echo_n "checking for finitel declaration... " >&6; }
70511 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70512 if test "${glibcxx_cv_func_finitel_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>
70526 #ifdef HAVE_IEEEFP_H
70527 #include <ieeefp.h>
70528 #endif
70531 main ()
70533 finitel(0);
70535 return 0;
70537 _ACEOF
70538 if ac_fn_cxx_try_compile "$LINENO"; then :
70539 glibcxx_cv_func_finitel_use=yes
70540 else
70541 glibcxx_cv_func_finitel_use=no
70543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70544 ac_ext=c
70545 ac_cpp='$CPP $CPPFLAGS'
70546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
70555 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
70557 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70558 for ac_func in finitel
70559 do :
70560 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
70561 if test "x$ac_cv_func_finitel" = x""yes; then :
70562 cat >>confdefs.h <<_ACEOF
70563 #define HAVE_FINITEL 1
70564 _ACEOF
70567 done
70569 else
70571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
70572 $as_echo_n "checking for _finitel declaration... " >&6; }
70573 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70574 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
70575 $as_echo_n "(cached) " >&6
70576 else
70579 ac_ext=cpp
70580 ac_cpp='$CXXCPP $CPPFLAGS'
70581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70586 /* end confdefs.h. */
70587 #include <math.h>
70588 #ifdef HAVE_IEEEFP_H
70589 #include <ieeefp.h>
70590 #endif
70593 main ()
70595 _finitel(0);
70597 return 0;
70599 _ACEOF
70600 if ac_fn_cxx_try_compile "$LINENO"; then :
70601 glibcxx_cv_func__finitel_use=yes
70602 else
70603 glibcxx_cv_func__finitel_use=no
70605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70606 ac_ext=c
70607 ac_cpp='$CPP $CPPFLAGS'
70608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
70617 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
70619 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70620 for ac_func in _finitel
70621 do :
70622 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
70623 if test "x$ac_cv_func__finitel" = x""yes; then :
70624 cat >>confdefs.h <<_ACEOF
70625 #define HAVE__FINITEL 1
70626 _ACEOF
70629 done
70637 LIBS="$ac_save_LIBS"
70638 CXXFLAGS="$ac_save_CXXFLAGS"
70641 ac_test_CXXFLAGS="${CXXFLAGS+set}"
70642 ac_save_CXXFLAGS="$CXXFLAGS"
70643 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
70646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
70647 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
70648 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
70649 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
70650 $as_echo_n "(cached) " >&6
70651 else
70654 ac_ext=cpp
70655 ac_cpp='$CXXCPP $CPPFLAGS'
70656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70661 /* end confdefs.h. */
70662 #include <stdlib.h>
70664 main ()
70666 at_quick_exit(0);
70668 return 0;
70670 _ACEOF
70671 if ac_fn_cxx_try_compile "$LINENO"; then :
70672 glibcxx_cv_func_at_quick_exit_use=yes
70673 else
70674 glibcxx_cv_func_at_quick_exit_use=no
70676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70677 ac_ext=c
70678 ac_cpp='$CPP $CPPFLAGS'
70679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
70688 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
70689 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
70690 for ac_func in at_quick_exit
70691 do :
70692 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
70693 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
70694 cat >>confdefs.h <<_ACEOF
70695 #define HAVE_AT_QUICK_EXIT 1
70696 _ACEOF
70699 done
70704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
70705 $as_echo_n "checking for quick_exit declaration... " >&6; }
70706 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
70707 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
70708 $as_echo_n "(cached) " >&6
70709 else
70712 ac_ext=cpp
70713 ac_cpp='$CXXCPP $CPPFLAGS'
70714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70719 /* end confdefs.h. */
70720 #include <stdlib.h>
70722 main ()
70724 quick_exit(0);
70726 return 0;
70728 _ACEOF
70729 if ac_fn_cxx_try_compile "$LINENO"; then :
70730 glibcxx_cv_func_quick_exit_use=yes
70731 else
70732 glibcxx_cv_func_quick_exit_use=no
70734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70735 ac_ext=c
70736 ac_cpp='$CPP $CPPFLAGS'
70737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
70746 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
70747 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
70748 for ac_func in quick_exit
70749 do :
70750 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
70751 if test "x$ac_cv_func_quick_exit" = x""yes; then :
70752 cat >>confdefs.h <<_ACEOF
70753 #define HAVE_QUICK_EXIT 1
70754 _ACEOF
70757 done
70762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
70763 $as_echo_n "checking for strtold declaration... " >&6; }
70764 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
70765 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
70766 $as_echo_n "(cached) " >&6
70767 else
70770 ac_ext=cpp
70771 ac_cpp='$CXXCPP $CPPFLAGS'
70772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70777 /* end confdefs.h. */
70778 #include <stdlib.h>
70780 main ()
70782 strtold(0, 0);
70784 return 0;
70786 _ACEOF
70787 if ac_fn_cxx_try_compile "$LINENO"; then :
70788 glibcxx_cv_func_strtold_use=yes
70789 else
70790 glibcxx_cv_func_strtold_use=no
70792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70793 ac_ext=c
70794 ac_cpp='$CPP $CPPFLAGS'
70795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
70804 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
70805 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
70806 for ac_func in strtold
70807 do :
70808 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
70809 if test "x$ac_cv_func_strtold" = x""yes; then :
70810 cat >>confdefs.h <<_ACEOF
70811 #define HAVE_STRTOLD 1
70812 _ACEOF
70815 done
70822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
70823 $as_echo_n "checking for strtof declaration... " >&6; }
70824 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
70825 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
70826 $as_echo_n "(cached) " >&6
70827 else
70830 ac_ext=cpp
70831 ac_cpp='$CXXCPP $CPPFLAGS'
70832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70837 /* end confdefs.h. */
70838 #include <stdlib.h>
70840 main ()
70842 strtof(0, 0);
70844 return 0;
70846 _ACEOF
70847 if ac_fn_cxx_try_compile "$LINENO"; then :
70848 glibcxx_cv_func_strtof_use=yes
70849 else
70850 glibcxx_cv_func_strtof_use=no
70852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70853 ac_ext=c
70854 ac_cpp='$CPP $CPPFLAGS'
70855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
70864 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
70865 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
70866 for ac_func in strtof
70867 do :
70868 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
70869 if test "x$ac_cv_func_strtof" = x""yes; then :
70870 cat >>confdefs.h <<_ACEOF
70871 #define HAVE_STRTOF 1
70872 _ACEOF
70875 done
70882 CXXFLAGS="$ac_save_CXXFLAGS"
70885 *-vxworks)
70886 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
70888 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
70890 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
70892 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
70894 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
70896 $as_echo "#define HAVE_COSF 1" >>confdefs.h
70898 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
70900 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
70902 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
70904 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
70906 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
70908 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
70910 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
70912 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
70914 $as_echo "#define HAVE_POWF 1" >>confdefs.h
70916 $as_echo "#define HAVE_SINF 1" >>confdefs.h
70918 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
70920 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
70922 $as_echo "#define HAVE_TANF 1" >>confdefs.h
70924 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
70928 as_fn_error "No support for this host/target combination." "$LINENO" 5
70930 esac
70934 # At some point, we should differentiate between architectures
70935 # like x86, which have long double versions, and alpha/powerpc/etc.,
70936 # which don't. For the time being, punt.
70937 if test x"long_double_math_on_this_cpu" = x"yes"; then
70938 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
70940 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
70942 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
70944 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
70946 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
70948 $as_echo "#define HAVE_COSL 1" >>confdefs.h
70950 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
70952 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
70954 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
70956 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
70958 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
70960 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
70962 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
70964 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
70966 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
70968 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
70970 $as_echo "#define HAVE_POWL 1" >>confdefs.h
70972 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
70974 $as_echo "#define HAVE_SINL 1" >>confdefs.h
70976 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
70978 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
70980 $as_echo "#define HAVE_TANL 1" >>confdefs.h
70982 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
70987 # Check for _Unwind_GetIPInfo.
70990 # Check whether --with-system-libunwind was given.
70991 if test "${with_system_libunwind+set}" = set; then :
70992 withval=$with_system_libunwind;
70995 # If system-libunwind was not specifically set, pick a default setting.
70996 if test x$with_system_libunwind = x; then
70997 case ${target} in
70998 ia64-*-hpux*) with_system_libunwind=yes ;;
70999 *) with_system_libunwind=no ;;
71000 esac
71002 # Based on system-libunwind and target, do we have ipinfo?
71003 if test x$with_system_libunwind = xyes; then
71004 case ${target} in
71005 ia64-*-*) have_unwind_getipinfo=no ;;
71006 *) have_unwind_getipinfo=yes ;;
71007 esac
71008 else
71009 # Darwin before version 9 does not have _Unwind_GetIPInfo.
71011 case ${target} in
71012 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
71013 *) have_unwind_getipinfo=yes ;;
71014 esac
71018 if test x$have_unwind_getipinfo = xyes; then
71020 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
71025 # Check whether --enable-linux-futex was given.
71026 if test "${enable_linux_futex+set}" = set; then :
71027 enableval=$enable_linux_futex;
71028 case "$enableval" in
71029 yes|no|default) ;;
71030 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
71031 esac
71033 else
71034 enable_linux_futex=default
71038 case "$target" in
71039 *-linux*)
71040 case "$enable_linux_futex" in
71041 default)
71042 # If headers don't have gettid/futex syscalls definition, then
71043 # default to no, otherwise there will be compile time failures.
71044 # Otherwise, default to yes. If we don't detect we are
71045 # compiled/linked against NPTL and not cross-compiling, check
71046 # if programs are run by default against NPTL and if not, issue
71047 # a warning.
71048 enable_linux_futex=no
71049 if test x$gcc_no_link = xyes; then
71050 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71053 /* end confdefs.h. */
71054 #include <sys/syscall.h>
71055 int lk;
71057 main ()
71059 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
71061 return 0;
71063 _ACEOF
71064 if ac_fn_c_try_link "$LINENO"; then :
71065 save_LIBS="$LIBS"
71066 LIBS="-lpthread $LIBS"
71067 if test x$gcc_no_link = xyes; then
71068 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71071 /* end confdefs.h. */
71072 #ifndef _GNU_SOURCE
71073 #define _GNU_SOURCE 1
71074 #endif
71075 #include <pthread.h>
71076 pthread_t th; void *status;
71078 main ()
71080 pthread_tryjoin_np (th, &status);
71082 return 0;
71084 _ACEOF
71085 if ac_fn_c_try_link "$LINENO"; then :
71086 enable_linux_futex=yes
71087 else
71088 if test x$cross_compiling = xno; then
71089 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
71090 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
71091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
71092 If so, please configure with --disable-linux-futex" >&5
71093 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
71094 If so, please configure with --disable-linux-futex" >&2;}
71097 enable_linux_futex=yes
71099 rm -f core conftest.err conftest.$ac_objext \
71100 conftest$ac_exeext conftest.$ac_ext
71101 LIBS="$save_LIBS"
71103 rm -f core conftest.err conftest.$ac_objext \
71104 conftest$ac_exeext conftest.$ac_ext
71106 yes)
71107 if test x$gcc_no_link = xyes; then
71108 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71111 /* end confdefs.h. */
71112 #include <sys/syscall.h>
71113 int lk;
71115 main ()
71117 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
71119 return 0;
71121 _ACEOF
71122 if ac_fn_c_try_link "$LINENO"; then :
71124 else
71125 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
71127 rm -f core conftest.err conftest.$ac_objext \
71128 conftest$ac_exeext conftest.$ac_ext
71130 esac
71133 enable_linux_futex=no
71135 esac
71136 if test x$enable_linux_futex = xyes; then
71138 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
71145 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
71147 acx_cv_header_stdint=stddef.h
71148 acx_cv_header_stdint_kind="(already complete)"
71149 for i in stdint.h $inttype_headers; do
71150 unset ac_cv_type_uintptr_t
71151 unset ac_cv_type_uintmax_t
71152 unset ac_cv_type_int_least32_t
71153 unset ac_cv_type_int_fast32_t
71154 unset ac_cv_type_uint64_t
71155 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
71156 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
71157 #include <$i>
71159 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
71160 acx_cv_header_stdint=$i
71161 else
71162 continue
71165 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
71166 #include <$i>
71168 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
71170 else
71171 acx_cv_header_stdint_kind="(mostly complete)"
71174 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
71175 #include <$i>
71177 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
71179 else
71180 acx_cv_header_stdint_kind="(mostly complete)"
71183 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
71184 #include <$i>
71186 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
71188 else
71189 acx_cv_header_stdint_kind="(mostly complete)"
71192 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
71193 #include <$i>
71195 if test "x$ac_cv_type_uint64_t" = x""yes; then :
71197 else
71198 acx_cv_header_stdint_kind="(lacks uint64_t)"
71201 break
71202 done
71203 if test "$acx_cv_header_stdint" = stddef.h; then
71204 acx_cv_header_stdint_kind="(lacks uintmax_t)"
71205 for i in stdint.h $inttype_headers; do
71206 unset ac_cv_type_uintptr_t
71207 unset ac_cv_type_uint32_t
71208 unset ac_cv_type_uint64_t
71209 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
71210 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
71211 #include <$i>
71213 if test "x$ac_cv_type_uint32_t" = x""yes; then :
71214 acx_cv_header_stdint=$i
71215 else
71216 continue
71219 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
71220 #include <$i>
71222 if test "x$ac_cv_type_uint64_t" = x""yes; then :
71226 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
71227 #include <$i>
71229 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
71233 break
71234 done
71236 if test "$acx_cv_header_stdint" = stddef.h; then
71237 acx_cv_header_stdint_kind="(u_intXX_t style)"
71238 for i in sys/types.h $inttype_headers; do
71239 unset ac_cv_type_u_int32_t
71240 unset ac_cv_type_u_int64_t
71241 $as_echo_n "looking for u_intXX_t types in $i, " >&6
71242 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
71243 #include <$i>
71245 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
71246 acx_cv_header_stdint=$i
71247 else
71248 continue
71251 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
71252 #include <$i>
71254 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
71258 break
71259 done
71261 if test "$acx_cv_header_stdint" = stddef.h; then
71262 acx_cv_header_stdint_kind="(using manual detection)"
71265 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
71266 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
71267 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
71268 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
71269 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
71271 # ----------------- Summarize what we found so far
71273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
71274 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
71276 case `$as_basename -- include/gstdint.h ||
71277 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
71278 Xinclude/gstdint.h : 'X\(//\)$' \| \
71279 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
71280 $as_echo X/include/gstdint.h |
71281 sed '/^.*\/\([^/][^/]*\)\/*$/{
71282 s//\1/
71285 /^X\/\(\/\/\)$/{
71286 s//\1/
71289 /^X\/\(\/\).*/{
71290 s//\1/
71293 s/.*/./; q'` in
71294 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
71295 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
71296 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
71297 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
71298 *) ;;
71299 esac
71301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
71302 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
71304 # ----------------- done included file, check C basic types --------
71306 # Lacking an uintptr_t? Test size of void *
71307 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
71308 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
71309 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71310 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71311 # This bug is HP SR number 8606223364.
71312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
71313 $as_echo_n "checking size of void *... " >&6; }
71314 if test "${ac_cv_sizeof_void_p+set}" = set; then :
71315 $as_echo_n "(cached) " >&6
71316 else
71317 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
71319 else
71320 if test "$ac_cv_type_void_p" = yes; then
71321 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71322 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71323 { as_fn_set_status 77
71324 as_fn_error "cannot compute sizeof (void *)
71325 See \`config.log' for more details." "$LINENO" 5; }; }
71326 else
71327 ac_cv_sizeof_void_p=0
71332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
71333 $as_echo "$ac_cv_sizeof_void_p" >&6; }
71337 cat >>confdefs.h <<_ACEOF
71338 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
71339 _ACEOF
71342 esac
71344 # Lacking an uint64_t? Test size of long
71345 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
71346 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
71347 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71348 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71349 # This bug is HP SR number 8606223364.
71350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
71351 $as_echo_n "checking size of long... " >&6; }
71352 if test "${ac_cv_sizeof_long+set}" = set; then :
71353 $as_echo_n "(cached) " >&6
71354 else
71355 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
71357 else
71358 if test "$ac_cv_type_long" = yes; then
71359 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71360 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71361 { as_fn_set_status 77
71362 as_fn_error "cannot compute sizeof (long)
71363 See \`config.log' for more details." "$LINENO" 5; }; }
71364 else
71365 ac_cv_sizeof_long=0
71370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
71371 $as_echo "$ac_cv_sizeof_long" >&6; }
71375 cat >>confdefs.h <<_ACEOF
71376 #define SIZEOF_LONG $ac_cv_sizeof_long
71377 _ACEOF
71380 esac
71382 if test $acx_cv_header_stdint = stddef.h; then
71383 # Lacking a good header? Test size of everything and deduce all types.
71384 # The cast to long int works around a bug in the HP C Compiler
71385 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71386 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71387 # This bug is HP SR number 8606223364.
71388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
71389 $as_echo_n "checking size of int... " >&6; }
71390 if test "${ac_cv_sizeof_int+set}" = set; then :
71391 $as_echo_n "(cached) " >&6
71392 else
71393 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
71395 else
71396 if test "$ac_cv_type_int" = yes; then
71397 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71399 { as_fn_set_status 77
71400 as_fn_error "cannot compute sizeof (int)
71401 See \`config.log' for more details." "$LINENO" 5; }; }
71402 else
71403 ac_cv_sizeof_int=0
71408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
71409 $as_echo "$ac_cv_sizeof_int" >&6; }
71413 cat >>confdefs.h <<_ACEOF
71414 #define SIZEOF_INT $ac_cv_sizeof_int
71415 _ACEOF
71418 # The cast to long int works around a bug in the HP C Compiler
71419 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71420 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71421 # This bug is HP SR number 8606223364.
71422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
71423 $as_echo_n "checking size of short... " >&6; }
71424 if test "${ac_cv_sizeof_short+set}" = set; then :
71425 $as_echo_n "(cached) " >&6
71426 else
71427 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
71429 else
71430 if test "$ac_cv_type_short" = yes; then
71431 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71432 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71433 { as_fn_set_status 77
71434 as_fn_error "cannot compute sizeof (short)
71435 See \`config.log' for more details." "$LINENO" 5; }; }
71436 else
71437 ac_cv_sizeof_short=0
71442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
71443 $as_echo "$ac_cv_sizeof_short" >&6; }
71447 cat >>confdefs.h <<_ACEOF
71448 #define SIZEOF_SHORT $ac_cv_sizeof_short
71449 _ACEOF
71452 # The cast to long int works around a bug in the HP C Compiler
71453 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71454 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71455 # This bug is HP SR number 8606223364.
71456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
71457 $as_echo_n "checking size of char... " >&6; }
71458 if test "${ac_cv_sizeof_char+set}" = set; then :
71459 $as_echo_n "(cached) " >&6
71460 else
71461 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
71463 else
71464 if test "$ac_cv_type_char" = yes; then
71465 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71466 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71467 { as_fn_set_status 77
71468 as_fn_error "cannot compute sizeof (char)
71469 See \`config.log' for more details." "$LINENO" 5; }; }
71470 else
71471 ac_cv_sizeof_char=0
71476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
71477 $as_echo "$ac_cv_sizeof_char" >&6; }
71481 cat >>confdefs.h <<_ACEOF
71482 #define SIZEOF_CHAR $ac_cv_sizeof_char
71483 _ACEOF
71487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
71488 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
71489 case "$ac_cv_sizeof_char" in
71490 1) acx_cv_type_int8_t=char ;;
71491 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
71492 esac
71493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
71494 $as_echo "$acx_cv_type_int8_t" >&6; }
71496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
71497 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
71498 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
71499 2:*) acx_cv_type_int16_t=int ;;
71500 *:2) acx_cv_type_int16_t=short ;;
71501 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
71502 esac
71503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
71504 $as_echo "$acx_cv_type_int16_t" >&6; }
71506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
71507 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
71508 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
71509 4:*) acx_cv_type_int32_t=int ;;
71510 *:4) acx_cv_type_int32_t=long ;;
71511 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
71512 esac
71513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
71514 $as_echo "$acx_cv_type_int32_t" >&6; }
71517 # These tests are here to make the output prettier
71519 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
71520 case "$ac_cv_sizeof_long" in
71521 8) acx_cv_type_int64_t=long ;;
71522 esac
71523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
71524 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
71525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
71526 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
71529 # Now we can use the above types
71531 if test "$ac_cv_type_uintptr_t" != yes; then
71532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
71533 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
71534 case $ac_cv_sizeof_void_p in
71535 2) acx_cv_type_intptr_t=int16_t ;;
71536 4) acx_cv_type_intptr_t=int32_t ;;
71537 8) acx_cv_type_intptr_t=int64_t ;;
71538 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
71539 esac
71540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
71541 $as_echo "$acx_cv_type_intptr_t" >&6; }
71544 # ----------------- done all checks, emit header -------------
71545 ac_config_commands="$ac_config_commands include/gstdint.h"
71551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
71552 $as_echo_n "checking for GNU c++filt... " >&6; }
71553 if test "${ac_cv_path_CXXFILT+set}" = set; then :
71554 $as_echo_n "(cached) " >&6
71555 else
71556 if test -z "$CXXFILT"; then
71557 ac_path_CXXFILT_found=false
71558 # Loop through the user's path and test for each of PROGNAME-LIST
71559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71560 for as_dir in $PATH
71562 IFS=$as_save_IFS
71563 test -z "$as_dir" && as_dir=.
71564 for ac_prog in c++filt gc++filt; do
71565 for ac_exec_ext in '' $ac_executable_extensions; do
71566 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
71567 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
71568 # Check for GNU $ac_path_CXXFILT
71569 case `"$ac_path_CXXFILT" --version 2>&1` in
71570 *GNU*)
71571 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
71572 esac
71574 $ac_path_CXXFILT_found && break 3
71575 done
71576 done
71577 done
71578 IFS=$as_save_IFS
71579 if test -z "$ac_cv_path_CXXFILT"; then
71582 else
71583 ac_cv_path_CXXFILT=$CXXFILT
71587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
71588 $as_echo "$ac_cv_path_CXXFILT" >&6; }
71589 CXXFILT=$ac_cv_path_CXXFILT
71593 # Check whether --enable-symvers was given.
71594 if test "${enable_symvers+set}" = set; then :
71595 enableval=$enable_symvers;
71596 case "$enableval" in
71597 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
71598 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
71599 esac
71601 else
71602 enable_symvers=yes
71607 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
71608 # don't know enough about $LD to do tricks...
71610 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
71611 # with extern "C++" in version scripts.
71614 # Turn a 'yes' into a suitable default.
71615 if test x$enable_symvers = xyes ; then
71616 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
71617 enable_symvers=no
71618 else
71619 if test $with_gnu_ld = yes ; then
71620 case ${target_os} in
71621 hpux*)
71622 enable_symvers=no ;;
71624 enable_symvers=gnu ;;
71625 esac
71626 else
71627 case ${target_os} in
71628 darwin*)
71629 enable_symvers=darwin ;;
71630 # Sun symbol versioning exists since Solaris 2.5.
71631 solaris2.[5-9]* | solaris2.1[0-9]*)
71632 # make_sunver.pl needs GNU c++filt to support extern "C++" in
71633 # version scripts, so disable symbol versioning if none can be
71634 # found.
71635 if test -z "$ac_cv_path_CXXFILT"; then
71636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
71637 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
71638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
71639 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
71640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71641 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71642 enable_symvers=no
71643 else
71644 enable_symvers=sun
71648 enable_symvers=no ;;
71649 esac
71654 # Check to see if 'darwin' or 'darwin-export' can win.
71655 if test x$enable_symvers = xdarwin-export ; then
71656 enable_symvers=darwin
71659 # Check if 'sun' was requested on non-Solaris 2 platforms.
71660 if test x$enable_symvers = xsun ; then
71661 case ${target_os} in
71662 solaris2*)
71663 # All fine.
71666 # Unlikely to work.
71667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
71668 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
71669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
71670 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
71671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71672 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71673 enable_symvers=no
71675 esac
71678 # Check to see if 'gnu' can win.
71679 if test $enable_symvers = gnu ||
71680 test $enable_symvers = gnu-versioned-namespace ||
71681 test $enable_symvers = sun; then
71682 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
71683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
71684 $as_echo_n "checking for shared libgcc... " >&6; }
71685 ac_save_CFLAGS="$CFLAGS"
71686 CFLAGS=' -lgcc_s'
71687 if test x$gcc_no_link = xyes; then
71688 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71691 /* end confdefs.h. */
71694 main ()
71696 return 0;
71698 return 0;
71700 _ACEOF
71701 if ac_fn_c_try_link "$LINENO"; then :
71702 glibcxx_shared_libgcc=yes
71703 else
71704 glibcxx_shared_libgcc=no
71706 rm -f core conftest.err conftest.$ac_objext \
71707 conftest$ac_exeext conftest.$ac_ext
71708 CFLAGS="$ac_save_CFLAGS"
71709 if test $glibcxx_shared_libgcc = no; then
71710 cat > conftest.c <<EOF
71711 int main (void) { return 0; }
71713 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
71714 -shared -shared-libgcc -o conftest.so \
71715 conftest.c -v 2>&1 >/dev/null \
71716 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
71717 rm -f conftest.c conftest.so
71718 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
71719 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
71720 if test x$gcc_no_link = xyes; then
71721 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71724 /* end confdefs.h. */
71727 main ()
71729 return 0;
71731 return 0;
71733 _ACEOF
71734 if ac_fn_c_try_link "$LINENO"; then :
71735 glibcxx_shared_libgcc=yes
71737 rm -f core conftest.err conftest.$ac_objext \
71738 conftest$ac_exeext conftest.$ac_ext
71739 CFLAGS="$ac_save_CFLAGS"
71742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
71743 $as_echo "$glibcxx_shared_libgcc" >&6; }
71745 # For GNU ld, we need at least this version. The format is described in
71746 # GLIBCXX_CHECK_LINKER_FEATURES above.
71747 glibcxx_min_gnu_ld_version=21400
71749 # If no shared libgcc, can't win.
71750 if test $glibcxx_shared_libgcc != yes; then
71751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
71752 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
71753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
71754 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
71755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71756 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71757 enable_symvers=no
71758 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
71759 : All interesting versions of Sun ld support sun style symbol versioning.
71760 elif test $with_gnu_ld != yes ; then
71761 # just fail for now
71762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
71763 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
71764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
71765 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
71766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71767 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71768 enable_symvers=no
71769 elif test $glibcxx_ld_is_gold = yes ; then
71770 : All versions of gold support symbol versioning.
71771 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
71772 # The right tools, the right setup, but too old. Fallbacks?
71773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
71774 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
71775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
71776 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
71777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
71778 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
71779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
71780 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
71781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71782 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71783 enable_symvers=no
71787 # For libtool versioning info, format is CURRENT:REVISION:AGE
71788 libtool_VERSION=6:20:0
71790 # Everything parsed; figure out what files and settings to use.
71791 case $enable_symvers in
71793 SYMVER_FILE=config/abi/pre/none.ver
71795 gnu)
71796 SYMVER_FILE=config/abi/pre/gnu.ver
71798 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
71801 gnu-versioned-namespace)
71802 libtool_VERSION=7:0:0
71803 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
71805 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
71808 darwin)
71809 SYMVER_FILE=config/abi/pre/gnu.ver
71811 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
71814 sun)
71815 SYMVER_FILE=config/abi/pre/gnu.ver
71817 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
71820 esac
71822 if test x$enable_symvers != xno ; then
71824 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
71828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
71829 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
71830 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
71831 $as_echo_n "(cached) " >&6
71832 else
71834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71835 /* end confdefs.h. */
71836 void foo (void); __asm (".symver foo, bar@SYMVER");
71838 main ()
71842 return 0;
71844 _ACEOF
71845 if ac_fn_c_try_compile "$LINENO"; then :
71846 glibcxx_cv_have_as_symver_directive=yes
71847 else
71848 glibcxx_cv_have_as_symver_directive=no
71850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
71853 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
71854 if test $glibcxx_cv_have_as_symver_directive = yes; then
71856 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
71867 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
71868 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
71870 if test $enable_symvers != no ; then
71871 case ${target_os} in
71872 # The Solaris 2 runtime linker doesn't support the GNU extension of
71873 # binding the same symbol to different versions
71874 solaris2*)
71876 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
71879 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
71882 esac
71885 # Now, set up compatibility support, if any.
71886 # In addition, need this to deal with std::size_t mangling in
71887 # src/compatibility.cc. In a perfect world, could use
71888 # typeid(std::size_t).name()[0] to do direct substitution.
71889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
71890 $as_echo_n "checking for size_t as unsigned int... " >&6; }
71891 ac_save_CFLAGS="$CFLAGS"
71892 CFLAGS="-Werror"
71893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71894 /* end confdefs.h. */
71897 main ()
71899 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
71901 return 0;
71903 _ACEOF
71904 if ac_fn_c_try_compile "$LINENO"; then :
71905 glibcxx_size_t_is_i=yes
71906 else
71907 glibcxx_size_t_is_i=no
71909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71910 CFLAGS=$ac_save_CFLAGS
71911 if test "$glibcxx_size_t_is_i" = yes; then
71913 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
71916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
71917 $as_echo "$glibcxx_size_t_is_i" >&6; }
71919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
71920 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
71921 ac_save_CFLAGS="$CFLAGS"
71922 CFLAGS="-Werror"
71923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71924 /* end confdefs.h. */
71927 main ()
71929 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
71931 return 0;
71933 _ACEOF
71934 if ac_fn_c_try_compile "$LINENO"; then :
71935 glibcxx_ptrdiff_t_is_i=yes
71936 else
71937 glibcxx_ptrdiff_t_is_i=no
71939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71940 CFLAGS=$ac_save_CFLAGS
71941 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
71943 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
71946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
71947 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
71952 # Check whether --enable-libstdcxx-visibility was given.
71953 if test "${enable_libstdcxx_visibility+set}" = set; then :
71954 enableval=$enable_libstdcxx_visibility;
71955 case "$enableval" in
71956 yes|no) ;;
71957 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
71958 esac
71960 else
71961 enable_libstdcxx_visibility=yes
71966 if test x$enable_libstdcxx_visibility = xyes ; then
71967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
71968 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
71969 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
71970 $as_echo_n "(cached) " >&6
71971 else
71973 save_CFLAGS="$CFLAGS"
71974 CFLAGS="$CFLAGS -Werror"
71975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71976 /* end confdefs.h. */
71977 void __attribute__((visibility("hidden"))) foo(void) { }
71979 main ()
71983 return 0;
71985 _ACEOF
71986 if ac_fn_c_try_compile "$LINENO"; then :
71987 glibcxx_cv_have_attribute_visibility=yes
71988 else
71989 glibcxx_cv_have_attribute_visibility=no
71991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71992 CFLAGS="$save_CFLAGS"
71994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
71995 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
71996 if test $glibcxx_cv_have_attribute_visibility = no; then
71997 enable_libstdcxx_visibility=no
72002 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
72003 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
72006 ac_ldbl_compat=no
72007 case "$target" in
72008 powerpc*-*-linux* | \
72009 sparc*-*-linux* | \
72010 s390*-*-linux* | \
72011 alpha*-*-linux*)
72012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72013 /* end confdefs.h. */
72016 main ()
72019 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
72020 #error no need for long double compatibility
72021 #endif
72024 return 0;
72026 _ACEOF
72027 if ac_fn_c_try_compile "$LINENO"; then :
72028 ac_ldbl_compat=yes
72029 else
72030 ac_ldbl_compat=no
72032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72033 if test "$ac_ldbl_compat" = yes; then
72035 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
72037 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
72039 esac
72042 # Check if assembler supports disabling hardware capability support.
72044 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
72046 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
72047 # with a different meaning.
72048 case ${target_os} in
72049 solaris2*)
72050 ac_save_CFLAGS="$CFLAGS"
72051 CFLAGS="$CFLAGS -Wa,-nH"
72053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
72054 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
72055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72056 /* end confdefs.h. */
72059 main ()
72061 return 0;
72063 return 0;
72065 _ACEOF
72066 if ac_fn_c_try_compile "$LINENO"; then :
72067 ac_hwcap_flags=yes
72068 else
72069 ac_hwcap_flags=no
72071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72072 if test "$ac_hwcap_flags" = "yes"; then
72073 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
72075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
72076 $as_echo "$ac_hwcap_flags" >&6; }
72078 CFLAGS="$ac_save_CFLAGS"
72080 esac
72085 # Check if assembler supports rdrand opcode.
72087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
72088 $as_echo_n "checking for rdrand support in assembler... " >&6; }
72089 if test "${ac_cv_x86_rdrand+set}" = set; then :
72090 $as_echo_n "(cached) " >&6
72091 else
72093 ac_cv_x86_rdrand=no
72094 case "$target" in
72095 i?86-*-* | \
72096 x86_64-*-*)
72097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72098 /* end confdefs.h. */
72101 main ()
72103 asm("rdrand %eax");
72105 return 0;
72107 _ACEOF
72108 if ac_fn_c_try_compile "$LINENO"; then :
72109 ac_cv_x86_rdrand=yes
72110 else
72111 ac_cv_x86_rdrand=no
72113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72114 esac
72118 if test $ac_cv_x86_rdrand = yes; then
72120 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
72123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
72124 $as_echo "$ac_cv_x86_rdrand" >&6; }
72127 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
72129 if $GLIBCXX_IS_NATIVE ; then
72130 # Do checks for resource limit functions.
72132 setrlimit_have_headers=yes
72133 for ac_header in unistd.h sys/time.h sys/resource.h
72134 do :
72135 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
72136 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
72137 eval as_val=\$$as_ac_Header
72138 if test "x$as_val" = x""yes; then :
72139 cat >>confdefs.h <<_ACEOF
72140 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
72141 _ACEOF
72143 else
72144 setrlimit_have_headers=no
72147 done
72149 # If don't have the headers, then we can't run the tests now, and we
72150 # won't be seeing any of these during testsuite compilation.
72151 if test $setrlimit_have_headers = yes; then
72152 # Can't do these in a loop, else the resulting syntax is wrong.
72154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
72155 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
72156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72157 /* end confdefs.h. */
72158 #include <unistd.h>
72159 #include <sys/time.h>
72160 #include <sys/resource.h>
72163 main ()
72165 int f = RLIMIT_DATA ;
72167 return 0;
72169 _ACEOF
72170 if ac_fn_c_try_compile "$LINENO"; then :
72171 glibcxx_mresult=1
72172 else
72173 glibcxx_mresult=0
72175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72177 cat >>confdefs.h <<_ACEOF
72178 #define HAVE_LIMIT_DATA $glibcxx_mresult
72179 _ACEOF
72181 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72183 $as_echo "$res" >&6; }
72186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
72187 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
72188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72189 /* end confdefs.h. */
72190 #include <unistd.h>
72191 #include <sys/time.h>
72192 #include <sys/resource.h>
72195 main ()
72197 int f = RLIMIT_RSS ;
72199 return 0;
72201 _ACEOF
72202 if ac_fn_c_try_compile "$LINENO"; then :
72203 glibcxx_mresult=1
72204 else
72205 glibcxx_mresult=0
72207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72209 cat >>confdefs.h <<_ACEOF
72210 #define HAVE_LIMIT_RSS $glibcxx_mresult
72211 _ACEOF
72213 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72215 $as_echo "$res" >&6; }
72218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
72219 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
72220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72221 /* end confdefs.h. */
72222 #include <unistd.h>
72223 #include <sys/time.h>
72224 #include <sys/resource.h>
72227 main ()
72229 int f = RLIMIT_VMEM ;
72231 return 0;
72233 _ACEOF
72234 if ac_fn_c_try_compile "$LINENO"; then :
72235 glibcxx_mresult=1
72236 else
72237 glibcxx_mresult=0
72239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72241 cat >>confdefs.h <<_ACEOF
72242 #define HAVE_LIMIT_VMEM $glibcxx_mresult
72243 _ACEOF
72245 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72247 $as_echo "$res" >&6; }
72250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
72251 $as_echo_n "checking for RLIMIT_AS... " >&6; }
72252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72253 /* end confdefs.h. */
72254 #include <unistd.h>
72255 #include <sys/time.h>
72256 #include <sys/resource.h>
72259 main ()
72261 int f = RLIMIT_AS ;
72263 return 0;
72265 _ACEOF
72266 if ac_fn_c_try_compile "$LINENO"; then :
72267 glibcxx_mresult=1
72268 else
72269 glibcxx_mresult=0
72271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72273 cat >>confdefs.h <<_ACEOF
72274 #define HAVE_LIMIT_AS $glibcxx_mresult
72275 _ACEOF
72277 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72279 $as_echo "$res" >&6; }
72282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
72283 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
72284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72285 /* end confdefs.h. */
72286 #include <unistd.h>
72287 #include <sys/time.h>
72288 #include <sys/resource.h>
72291 main ()
72293 int f = RLIMIT_FSIZE ;
72295 return 0;
72297 _ACEOF
72298 if ac_fn_c_try_compile "$LINENO"; then :
72299 glibcxx_mresult=1
72300 else
72301 glibcxx_mresult=0
72303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72305 cat >>confdefs.h <<_ACEOF
72306 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
72307 _ACEOF
72309 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72311 $as_echo "$res" >&6; }
72314 # Check for rlimit, setrlimit.
72315 if test "${glibcxx_cv_setrlimit+set}" = set; then :
72316 $as_echo_n "(cached) " >&6
72317 else
72319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72320 /* end confdefs.h. */
72321 #include <unistd.h>
72322 #include <sys/time.h>
72323 #include <sys/resource.h>
72326 main ()
72328 struct rlimit r;
72329 setrlimit(0, &r);
72331 return 0;
72333 _ACEOF
72334 if ac_fn_c_try_compile "$LINENO"; then :
72335 glibcxx_cv_setrlimit=yes
72336 else
72337 glibcxx_cv_setrlimit=no
72339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
72346 $as_echo_n "checking for testsuite resource limits support... " >&6; }
72347 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
72348 ac_res_limits=yes
72350 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
72352 else
72353 ac_res_limits=no
72355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
72356 $as_echo "$ac_res_limits" >&6; }
72359 # Look for setenv, so that extended locale tests can be performed.
72361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
72362 $as_echo_n "checking for setenv declaration... " >&6; }
72363 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
72364 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
72365 $as_echo_n "(cached) " >&6
72366 else
72369 ac_ext=cpp
72370 ac_cpp='$CXXCPP $CPPFLAGS'
72371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72376 /* end confdefs.h. */
72377 #include <stdlib.h>
72379 main ()
72381 setenv(0, 0, 0);
72383 return 0;
72385 _ACEOF
72386 if ac_fn_cxx_try_compile "$LINENO"; then :
72387 glibcxx_cv_func_setenv_use=yes
72388 else
72389 glibcxx_cv_func_setenv_use=no
72391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72392 ac_ext=c
72393 ac_cpp='$CPP $CPPFLAGS'
72394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
72403 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
72404 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
72405 for ac_func in setenv
72406 do :
72407 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
72408 if test "x$ac_cv_func_setenv" = x""yes; then :
72409 cat >>confdefs.h <<_ACEOF
72410 #define HAVE_SETENV 1
72411 _ACEOF
72414 done
72420 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
72421 test $enable_symvers != no; then
72422 case "$host" in
72423 *-*-cygwin*)
72424 enable_abi_check=no ;;
72426 enable_abi_check=yes ;;
72427 esac
72428 else
72429 # Only build this as native, since automake does not understand
72430 # CXX_FOR_BUILD.
72431 enable_abi_check=no
72434 # Export file names for ABI checking.
72435 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
72437 baseline_subdir_switch="$abi_baseline_subdir_switch"
72441 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
72443 # Check whether --enable-libstdcxx-threads was given.
72444 if test "${enable_libstdcxx_threads+set}" = set; then :
72445 enableval=$enable_libstdcxx_threads;
72446 case "$enableval" in
72447 yes|no) ;;
72448 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
72449 esac
72451 else
72452 enable_libstdcxx_threads=auto
72457 if test x$enable_libstdcxx_threads = xauto ||
72458 test x$enable_libstdcxx_threads = xyes; then
72461 ac_ext=cpp
72462 ac_cpp='$CXXCPP $CPPFLAGS'
72463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72468 ac_save_CXXFLAGS="$CXXFLAGS"
72469 CXXFLAGS="$CXXFLAGS -fno-exceptions \
72470 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
72472 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
72473 case $target_thread_file in
72474 posix)
72475 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
72476 esac
72478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
72479 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
72481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72482 /* end confdefs.h. */
72483 #include <unistd.h>
72485 main ()
72488 // In case of POSIX threads check _POSIX_TIMEOUTS.
72489 #if (defined(_PTHREADS) \
72490 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
72491 #error
72492 #endif
72495 return 0;
72497 _ACEOF
72498 if ac_fn_cxx_try_compile "$LINENO"; then :
72499 ac_gthread_use_mutex_timedlock=1
72500 else
72501 ac_gthread_use_mutex_timedlock=0
72503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72506 cat >>confdefs.h <<_ACEOF
72507 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
72508 _ACEOF
72511 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
72512 else res_mutex_timedlock=no ; fi
72513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
72514 $as_echo "$res_mutex_timedlock" >&6; }
72516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
72517 $as_echo_n "checking for gthreads library... " >&6; }
72519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72520 /* end confdefs.h. */
72521 #include "gthr.h"
72523 main ()
72526 #ifndef __GTHREADS_CXX0X
72527 #error
72528 #endif
72531 return 0;
72533 _ACEOF
72534 if ac_fn_cxx_try_compile "$LINENO"; then :
72535 case $target_os in
72536 # gthreads support breaks symbol versioning on Solaris 9 (PR
72537 # libstdc++/52189).
72538 solaris2.9*)
72539 if test x$enable_symvers = xno; then
72540 ac_has_gthreads=yes
72541 elif test x$enable_libstdcxx_threads = xyes; then
72542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have requested C++11 threads support, but" >&5
72543 $as_echo "$as_me: WARNING: You have requested C++11 threads support, but" >&2;}
72544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: this breaks symbol versioning." >&5
72545 $as_echo "$as_me: WARNING: this breaks symbol versioning." >&2;}
72546 ac_has_gthreads=yes
72547 else
72548 ac_has_gthreads=no
72552 ac_has_gthreads=yes
72554 esac
72555 else
72556 ac_has_gthreads=no
72558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72559 else
72560 ac_has_gthreads=no
72563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
72564 $as_echo "$ac_has_gthreads" >&6; }
72566 if test x"$ac_has_gthreads" = x"yes"; then
72568 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
72572 CXXFLAGS="$ac_save_CXXFLAGS"
72573 ac_ext=c
72574 ac_cpp='$CPP $CPPFLAGS'
72575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72581 # Define documentation rules conditionally.
72583 # See if makeinfo has been installed and is modern enough
72584 # that we can use it.
72586 # Extract the first word of "makeinfo", so it can be a program name with args.
72587 set dummy makeinfo; ac_word=$2
72588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72589 $as_echo_n "checking for $ac_word... " >&6; }
72590 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
72591 $as_echo_n "(cached) " >&6
72592 else
72593 if test -n "$MAKEINFO"; then
72594 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
72595 else
72596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72597 for as_dir in $PATH
72599 IFS=$as_save_IFS
72600 test -z "$as_dir" && as_dir=.
72601 for ac_exec_ext in '' $ac_executable_extensions; do
72602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72603 ac_cv_prog_MAKEINFO="makeinfo"
72604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72605 break 2
72607 done
72608 done
72609 IFS=$as_save_IFS
72613 MAKEINFO=$ac_cv_prog_MAKEINFO
72614 if test -n "$MAKEINFO"; then
72615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
72616 $as_echo "$MAKEINFO" >&6; }
72617 else
72618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72619 $as_echo "no" >&6; }
72623 if test -n "$MAKEINFO"; then
72624 # Found it, now check the version.
72625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
72626 $as_echo_n "checking for modern makeinfo... " >&6; }
72627 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
72628 $as_echo_n "(cached) " >&6
72629 else
72630 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
72631 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
72633 case $ac_prog_version in
72634 '') gcc_cv_prog_makeinfo_modern=no;;
72635 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
72636 *) gcc_cv_prog_makeinfo_modern=no;;
72637 esac
72640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
72641 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
72642 else
72643 gcc_cv_prog_makeinfo_modern=no
72645 if test $gcc_cv_prog_makeinfo_modern = no; then
72646 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
72649 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
72650 BUILD_INFO_TRUE=
72651 BUILD_INFO_FALSE='#'
72652 else
72653 BUILD_INFO_TRUE='#'
72654 BUILD_INFO_FALSE=
72658 # Check for doxygen
72659 # Extract the first word of "doxygen", so it can be a program name with args.
72660 set dummy doxygen; ac_word=$2
72661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72662 $as_echo_n "checking for $ac_word... " >&6; }
72663 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
72664 $as_echo_n "(cached) " >&6
72665 else
72666 if test -n "$DOXYGEN"; then
72667 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
72668 else
72669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72670 for as_dir in $PATH
72672 IFS=$as_save_IFS
72673 test -z "$as_dir" && as_dir=.
72674 for ac_exec_ext in '' $ac_executable_extensions; do
72675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72676 ac_cv_prog_DOXYGEN="yes"
72677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72678 break 2
72680 done
72681 done
72682 IFS=$as_save_IFS
72684 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
72687 DOXYGEN=$ac_cv_prog_DOXYGEN
72688 if test -n "$DOXYGEN"; then
72689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
72690 $as_echo "$DOXYGEN" >&6; }
72691 else
72692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72693 $as_echo "no" >&6; }
72697 # Extract the first word of "dot", so it can be a program name with args.
72698 set dummy dot; ac_word=$2
72699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72700 $as_echo_n "checking for $ac_word... " >&6; }
72701 if test "${ac_cv_prog_DOT+set}" = set; then :
72702 $as_echo_n "(cached) " >&6
72703 else
72704 if test -n "$DOT"; then
72705 ac_cv_prog_DOT="$DOT" # Let the user override the test.
72706 else
72707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72708 for as_dir in $PATH
72710 IFS=$as_save_IFS
72711 test -z "$as_dir" && as_dir=.
72712 for ac_exec_ext in '' $ac_executable_extensions; do
72713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72714 ac_cv_prog_DOT="yes"
72715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72716 break 2
72718 done
72719 done
72720 IFS=$as_save_IFS
72722 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
72725 DOT=$ac_cv_prog_DOT
72726 if test -n "$DOT"; then
72727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
72728 $as_echo "$DOT" >&6; }
72729 else
72730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72731 $as_echo "no" >&6; }
72736 # Check for docbook
72737 # Extract the first word of "xsltproc", so it can be a program name with args.
72738 set dummy xsltproc; ac_word=$2
72739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72740 $as_echo_n "checking for $ac_word... " >&6; }
72741 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
72742 $as_echo_n "(cached) " >&6
72743 else
72744 if test -n "$XSLTPROC"; then
72745 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
72746 else
72747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72748 for as_dir in $PATH
72750 IFS=$as_save_IFS
72751 test -z "$as_dir" && as_dir=.
72752 for ac_exec_ext in '' $ac_executable_extensions; do
72753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72754 ac_cv_prog_XSLTPROC="yes"
72755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72756 break 2
72758 done
72759 done
72760 IFS=$as_save_IFS
72762 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
72765 XSLTPROC=$ac_cv_prog_XSLTPROC
72766 if test -n "$XSLTPROC"; then
72767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
72768 $as_echo "$XSLTPROC" >&6; }
72769 else
72770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72771 $as_echo "no" >&6; }
72775 # Extract the first word of "xmllint", so it can be a program name with args.
72776 set dummy xmllint; ac_word=$2
72777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72778 $as_echo_n "checking for $ac_word... " >&6; }
72779 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
72780 $as_echo_n "(cached) " >&6
72781 else
72782 if test -n "$XMLLINT"; then
72783 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
72784 else
72785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72786 for as_dir in $PATH
72788 IFS=$as_save_IFS
72789 test -z "$as_dir" && as_dir=.
72790 for ac_exec_ext in '' $ac_executable_extensions; do
72791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72792 ac_cv_prog_XMLLINT="yes"
72793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72794 break 2
72796 done
72797 done
72798 IFS=$as_save_IFS
72800 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
72803 XMLLINT=$ac_cv_prog_XMLLINT
72804 if test -n "$XMLLINT"; then
72805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
72806 $as_echo "$XMLLINT" >&6; }
72807 else
72808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72809 $as_echo "no" >&6; }
72815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
72816 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
72817 glibcxx_stylesheets=no
72818 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
72819 glibcxx_stylesheets=yes
72821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
72822 $as_echo "$glibcxx_stylesheets" >&6; }
72824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
72825 $as_echo_n "checking for local stylesheet directory... " >&6; }
72826 glibcxx_local_stylesheets=no
72827 if test x"$glibcxx_stylesheets" = x"yes"; then
72828 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
72829 glibcxx_local_stylesheets=yes
72830 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
72832 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
72833 glibcxx_local_stylesheets=yes
72834 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
72836 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
72837 glibcxx_local_stylesheets=yes
72838 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
72841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
72842 $as_echo "$glibcxx_local_stylesheets" >&6; }
72844 if test x"$glibcxx_local_stylesheets" = x"yes"; then
72846 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
72847 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
72848 else
72849 glibcxx_stylesheets=no
72852 # Check for epub3 dependencies.
72853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
72854 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
72855 glibcxx_epub_stylesheets=no
72856 if test x"$glibcxx_local_stylesheets" = x"yes"; then
72857 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
72858 glibcxx_epub_stylesheets=yes
72861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
72862 $as_echo "$glibcxx_epub_stylesheets" >&6; }
72863 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
72864 BUILD_EPUB_TRUE=
72865 BUILD_EPUB_FALSE='#'
72866 else
72867 BUILD_EPUB_TRUE='#'
72868 BUILD_EPUB_FALSE=
72874 # Check for xml/html dependencies.
72875 if test $ac_cv_prog_DOXYGEN = "yes" &&
72876 test $ac_cv_prog_DOT = "yes" &&
72877 test $ac_cv_prog_XSLTPROC = "yes" &&
72878 test $ac_cv_prog_XMLLINT = "yes" &&
72879 test $glibcxx_stylesheets = "yes"; then
72880 BUILD_XML_TRUE=
72881 BUILD_XML_FALSE='#'
72882 else
72883 BUILD_XML_TRUE='#'
72884 BUILD_XML_FALSE=
72888 if test $ac_cv_prog_DOXYGEN = "yes" &&
72889 test $ac_cv_prog_DOT = "yes" &&
72890 test $ac_cv_prog_XSLTPROC = "yes" &&
72891 test $ac_cv_prog_XMLLINT = "yes" &&
72892 test $glibcxx_stylesheets = "yes"; then
72893 BUILD_HTML_TRUE=
72894 BUILD_HTML_FALSE='#'
72895 else
72896 BUILD_HTML_TRUE='#'
72897 BUILD_HTML_FALSE=
72901 # Check for man dependencies.
72902 if test $ac_cv_prog_DOXYGEN = "yes" &&
72903 test $ac_cv_prog_DOT = "yes"; then
72904 BUILD_MAN_TRUE=
72905 BUILD_MAN_FALSE='#'
72906 else
72907 BUILD_MAN_TRUE='#'
72908 BUILD_MAN_FALSE=
72912 # Check for pdf dependencies.
72913 # Extract the first word of "dblatex", so it can be a program name with args.
72914 set dummy dblatex; ac_word=$2
72915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72916 $as_echo_n "checking for $ac_word... " >&6; }
72917 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
72918 $as_echo_n "(cached) " >&6
72919 else
72920 if test -n "$DBLATEX"; then
72921 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
72922 else
72923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72924 for as_dir in $PATH
72926 IFS=$as_save_IFS
72927 test -z "$as_dir" && as_dir=.
72928 for ac_exec_ext in '' $ac_executable_extensions; do
72929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72930 ac_cv_prog_DBLATEX="yes"
72931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72932 break 2
72934 done
72935 done
72936 IFS=$as_save_IFS
72938 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
72941 DBLATEX=$ac_cv_prog_DBLATEX
72942 if test -n "$DBLATEX"; then
72943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
72944 $as_echo "$DBLATEX" >&6; }
72945 else
72946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72947 $as_echo "no" >&6; }
72951 # Extract the first word of "pdflatex", so it can be a program name with args.
72952 set dummy pdflatex; ac_word=$2
72953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72954 $as_echo_n "checking for $ac_word... " >&6; }
72955 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
72956 $as_echo_n "(cached) " >&6
72957 else
72958 if test -n "$PDFLATEX"; then
72959 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
72960 else
72961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72962 for as_dir in $PATH
72964 IFS=$as_save_IFS
72965 test -z "$as_dir" && as_dir=.
72966 for ac_exec_ext in '' $ac_executable_extensions; do
72967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72968 ac_cv_prog_PDFLATEX="yes"
72969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72970 break 2
72972 done
72973 done
72974 IFS=$as_save_IFS
72976 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
72979 PDFLATEX=$ac_cv_prog_PDFLATEX
72980 if test -n "$PDFLATEX"; then
72981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
72982 $as_echo "$PDFLATEX" >&6; }
72983 else
72984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72985 $as_echo "no" >&6; }
72989 if test $ac_cv_prog_DBLATEX = "yes" &&
72990 test $ac_cv_prog_PDFLATEX = "yes"; then
72991 BUILD_PDF_TRUE=
72992 BUILD_PDF_FALSE='#'
72993 else
72994 BUILD_PDF_TRUE='#'
72995 BUILD_PDF_FALSE=
73000 # Propagate the target-specific source directories through the build chain.
73001 ATOMICITY_SRCDIR=config/${atomicity_dir}
73002 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
73003 ATOMIC_FLAGS=${atomic_flags}
73004 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
73005 OS_INC_SRCDIR=config/${os_include_dir}
73006 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
73007 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
73008 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
73009 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
73021 # Determine cross-compile flags and AM_CONDITIONALs.
73022 #AC_SUBST(GLIBCXX_IS_NATIVE)
73023 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
73024 if test $is_hosted = yes; then
73025 GLIBCXX_HOSTED_TRUE=
73026 GLIBCXX_HOSTED_FALSE='#'
73027 else
73028 GLIBCXX_HOSTED_TRUE='#'
73029 GLIBCXX_HOSTED_FALSE=
73033 if test $enable_libstdcxx_pch = yes; then
73034 GLIBCXX_BUILD_PCH_TRUE=
73035 GLIBCXX_BUILD_PCH_FALSE='#'
73036 else
73037 GLIBCXX_BUILD_PCH_TRUE='#'
73038 GLIBCXX_BUILD_PCH_FALSE=
73042 if test $enable_cheaders = c; then
73043 GLIBCXX_C_HEADERS_C_TRUE=
73044 GLIBCXX_C_HEADERS_C_FALSE='#'
73045 else
73046 GLIBCXX_C_HEADERS_C_TRUE='#'
73047 GLIBCXX_C_HEADERS_C_FALSE=
73051 if test $enable_cheaders = c_std; then
73052 GLIBCXX_C_HEADERS_C_STD_TRUE=
73053 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
73054 else
73055 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
73056 GLIBCXX_C_HEADERS_C_STD_FALSE=
73060 if test $enable_cheaders = c_global; then
73061 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
73062 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
73063 else
73064 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
73065 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
73069 if test $c_compatibility = yes; then
73070 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
73071 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
73072 else
73073 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
73074 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
73078 if test $enable_libstdcxx_debug = yes; then
73079 GLIBCXX_BUILD_DEBUG_TRUE=
73080 GLIBCXX_BUILD_DEBUG_FALSE='#'
73081 else
73082 GLIBCXX_BUILD_DEBUG_TRUE='#'
73083 GLIBCXX_BUILD_DEBUG_FALSE=
73087 if test $enable_extern_template = yes; then
73088 ENABLE_EXTERN_TEMPLATE_TRUE=
73089 ENABLE_EXTERN_TEMPLATE_FALSE='#'
73090 else
73091 ENABLE_EXTERN_TEMPLATE_TRUE='#'
73092 ENABLE_EXTERN_TEMPLATE_FALSE=
73096 if test $python_mod_dir != no; then
73097 ENABLE_PYTHONDIR_TRUE=
73098 ENABLE_PYTHONDIR_FALSE='#'
73099 else
73100 ENABLE_PYTHONDIR_TRUE='#'
73101 ENABLE_PYTHONDIR_FALSE=
73105 if test $enable_werror = yes; then
73106 ENABLE_WERROR_TRUE=
73107 ENABLE_WERROR_FALSE='#'
73108 else
73109 ENABLE_WERROR_TRUE='#'
73110 ENABLE_WERROR_FALSE=
73114 if test $enable_vtable_verify = yes; then
73115 ENABLE_VTABLE_VERIFY_TRUE=
73116 ENABLE_VTABLE_VERIFY_FALSE='#'
73117 else
73118 ENABLE_VTABLE_VERIFY_TRUE='#'
73119 ENABLE_VTABLE_VERIFY_FALSE=
73123 if test $enable_symvers != no; then
73124 ENABLE_SYMVERS_TRUE=
73125 ENABLE_SYMVERS_FALSE='#'
73126 else
73127 ENABLE_SYMVERS_TRUE='#'
73128 ENABLE_SYMVERS_FALSE=
73132 if test $enable_symvers = gnu; then
73133 ENABLE_SYMVERS_GNU_TRUE=
73134 ENABLE_SYMVERS_GNU_FALSE='#'
73135 else
73136 ENABLE_SYMVERS_GNU_TRUE='#'
73137 ENABLE_SYMVERS_GNU_FALSE=
73141 if test $enable_symvers = gnu-versioned-namespace; then
73142 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
73143 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
73144 else
73145 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
73146 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
73150 if test $enable_symvers = darwin; then
73151 ENABLE_SYMVERS_DARWIN_TRUE=
73152 ENABLE_SYMVERS_DARWIN_FALSE='#'
73153 else
73154 ENABLE_SYMVERS_DARWIN_TRUE='#'
73155 ENABLE_SYMVERS_DARWIN_FALSE=
73159 if test $enable_symvers = sun; then
73160 ENABLE_SYMVERS_SUN_TRUE=
73161 ENABLE_SYMVERS_SUN_FALSE='#'
73162 else
73163 ENABLE_SYMVERS_SUN_TRUE='#'
73164 ENABLE_SYMVERS_SUN_FALSE=
73168 if test $enable_libstdcxx_visibility = yes; then
73169 ENABLE_VISIBILITY_TRUE=
73170 ENABLE_VISIBILITY_FALSE='#'
73171 else
73172 ENABLE_VISIBILITY_TRUE='#'
73173 ENABLE_VISIBILITY_FALSE=
73177 if test $ac_ldbl_compat = yes; then
73178 GLIBCXX_LDBL_COMPAT_TRUE=
73179 GLIBCXX_LDBL_COMPAT_FALSE='#'
73180 else
73181 GLIBCXX_LDBL_COMPAT_TRUE='#'
73182 GLIBCXX_LDBL_COMPAT_FALSE=
73188 cat >confcache <<\_ACEOF
73189 # This file is a shell script that caches the results of configure
73190 # tests run on this system so they can be shared between configure
73191 # scripts and configure runs, see configure's option --config-cache.
73192 # It is not useful on other systems. If it contains results you don't
73193 # want to keep, you may remove or edit it.
73195 # config.status only pays attention to the cache file if you give it
73196 # the --recheck option to rerun configure.
73198 # `ac_cv_env_foo' variables (set or unset) will be overridden when
73199 # loading this file, other *unset* `ac_cv_foo' will be assigned the
73200 # following values.
73202 _ACEOF
73204 # The following way of writing the cache mishandles newlines in values,
73205 # but we know of no workaround that is simple, portable, and efficient.
73206 # So, we kill variables containing newlines.
73207 # Ultrix sh set writes to stderr and can't be redirected directly,
73208 # and sets the high bit in the cache file unless we assign to the vars.
73210 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
73211 eval ac_val=\$$ac_var
73212 case $ac_val in #(
73213 *${as_nl}*)
73214 case $ac_var in #(
73215 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
73216 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
73217 esac
73218 case $ac_var in #(
73219 _ | IFS | as_nl) ;; #(
73220 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
73221 *) { eval $ac_var=; unset $ac_var;} ;;
73222 esac ;;
73223 esac
73224 done
73226 (set) 2>&1 |
73227 case $as_nl`(ac_space=' '; set) 2>&1` in #(
73228 *${as_nl}ac_space=\ *)
73229 # `set' does not quote correctly, so add quotes: double-quote
73230 # substitution turns \\\\ into \\, and sed turns \\ into \.
73231 sed -n \
73232 "s/'/'\\\\''/g;
73233 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
73234 ;; #(
73236 # `set' quotes correctly as required by POSIX, so do not add quotes.
73237 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
73239 esac |
73240 sort
73242 sed '
73243 /^ac_cv_env_/b end
73244 t clear
73245 :clear
73246 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
73247 t end
73248 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
73249 :end' >>confcache
73250 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
73251 if test -w "$cache_file"; then
73252 test "x$cache_file" != "x/dev/null" &&
73253 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
73254 $as_echo "$as_me: updating cache $cache_file" >&6;}
73255 cat confcache >$cache_file
73256 else
73257 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
73258 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
73261 rm -f confcache
73263 if test ${multilib} = yes; then
73264 multilib_arg="--enable-multilib"
73265 else
73266 multilib_arg=
73269 # Export all the install information.
73271 glibcxx_toolexecdir=no
73272 glibcxx_toolexeclibdir=no
73273 glibcxx_prefixdir=$prefix
73275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
73276 $as_echo_n "checking for gxx-include-dir... " >&6; }
73278 # Check whether --with-gxx-include-dir was given.
73279 if test "${with_gxx_include_dir+set}" = set; then :
73280 withval=$with_gxx_include_dir; case "$withval" in
73281 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
73282 no) gxx_include_dir=no ;;
73283 *) gxx_include_dir=$withval ;;
73284 esac
73285 else
73286 gxx_include_dir=no
73289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
73290 $as_echo "$gxx_include_dir" >&6; }
73292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
73293 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
73294 # Check whether --enable-version-specific-runtime-libs was given.
73295 if test "${enable_version_specific_runtime_libs+set}" = set; then :
73296 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
73297 yes) version_specific_libs=yes ;;
73298 no) version_specific_libs=no ;;
73299 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
73300 esac
73301 else
73302 version_specific_libs=no
73305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
73306 $as_echo "$version_specific_libs" >&6; }
73308 # Default case for install directory for include files.
73309 if test $version_specific_libs = no && test $gxx_include_dir = no; then
73310 gxx_include_dir='include/c++/${gcc_version}'
73311 if test -n "$with_cross_host" &&
73312 test x"$with_cross_host" != x"no"; then
73313 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
73314 else
73315 gxx_include_dir='${prefix}/'"$gxx_include_dir"
73319 # Version-specific runtime libs processing.
73320 if test $version_specific_libs = yes; then
73321 # Need the gcc compiler version to know where to install libraries
73322 # and header files if --enable-version-specific-runtime-libs option
73323 # is selected. FIXME: these variables are misnamed, there are
73324 # no executables installed in _toolexecdir or _toolexeclibdir.
73325 if test x"$gxx_include_dir" = x"no"; then
73326 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
73328 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
73329 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
73332 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
73333 # Install a library built with a cross compiler in tooldir, not libdir.
73334 if test x"$glibcxx_toolexecdir" = x"no"; then
73335 if test -n "$with_cross_host" &&
73336 test x"$with_cross_host" != x"no"; then
73337 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
73338 glibcxx_toolexeclibdir='${toolexecdir}/lib'
73339 else
73340 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
73341 glibcxx_toolexeclibdir='${libdir}'
73343 multi_os_directory=`$CXX -print-multi-os-directory`
73344 case $multi_os_directory in
73345 .) ;; # Avoid trailing /.
73346 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
73347 esac
73350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
73351 $as_echo_n "checking for install location... " >&6; }
73352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
73353 $as_echo "$gxx_include_dir" >&6; }
73361 # Export all the include and flag information to Makefiles.
73363 # Used for every C++ compile we perform.
73364 GLIBCXX_INCLUDES="\
73365 -I$glibcxx_builddir/include/$host_alias \
73366 -I$glibcxx_builddir/include \
73367 -I$glibcxx_srcdir/libsupc++"
73369 # For Canadian crosses, pick this up too.
73370 if test $CANADIAN = yes; then
73371 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
73374 # Stuff in the actual top level. Currently only used by libsupc++ to
73375 # get unwind* headers from the libgcc dir.
73376 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
73377 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
73379 # Now, export this to all the little Makefiles....
73384 # Optimization flags that are probably a good idea for thrill-seekers. Just
73385 # uncomment the lines below and make, everything else is ready to go...
73386 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
73387 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
73390 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
73394 ac_config_files="$ac_config_files Makefile"
73396 ac_config_files="$ac_config_files scripts/testsuite_flags"
73398 ac_config_files="$ac_config_files scripts/extract_symvers"
73400 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
73403 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
73404 # that multilib installs will end up installed in the correct place.
73405 # The testsuite needs it for multilib-aware ABI baseline files.
73406 # To work around this not being passed down from config-ml.in ->
73407 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
73408 # append it here. Only modify Makefiles that have just been created.
73410 # Also, get rid of this simulated-VPATH thing that automake does.
73411 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile doc/Makefile po/Makefile testsuite/Makefile"
73414 ac_config_commands="$ac_config_commands generate-headers"
73417 cat >confcache <<\_ACEOF
73418 # This file is a shell script that caches the results of configure
73419 # tests run on this system so they can be shared between configure
73420 # scripts and configure runs, see configure's option --config-cache.
73421 # It is not useful on other systems. If it contains results you don't
73422 # want to keep, you may remove or edit it.
73424 # config.status only pays attention to the cache file if you give it
73425 # the --recheck option to rerun configure.
73427 # `ac_cv_env_foo' variables (set or unset) will be overridden when
73428 # loading this file, other *unset* `ac_cv_foo' will be assigned the
73429 # following values.
73431 _ACEOF
73433 # The following way of writing the cache mishandles newlines in values,
73434 # but we know of no workaround that is simple, portable, and efficient.
73435 # So, we kill variables containing newlines.
73436 # Ultrix sh set writes to stderr and can't be redirected directly,
73437 # and sets the high bit in the cache file unless we assign to the vars.
73439 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
73440 eval ac_val=\$$ac_var
73441 case $ac_val in #(
73442 *${as_nl}*)
73443 case $ac_var in #(
73444 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
73445 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
73446 esac
73447 case $ac_var in #(
73448 _ | IFS | as_nl) ;; #(
73449 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
73450 *) { eval $ac_var=; unset $ac_var;} ;;
73451 esac ;;
73452 esac
73453 done
73455 (set) 2>&1 |
73456 case $as_nl`(ac_space=' '; set) 2>&1` in #(
73457 *${as_nl}ac_space=\ *)
73458 # `set' does not quote correctly, so add quotes: double-quote
73459 # substitution turns \\\\ into \\, and sed turns \\ into \.
73460 sed -n \
73461 "s/'/'\\\\''/g;
73462 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
73463 ;; #(
73465 # `set' quotes correctly as required by POSIX, so do not add quotes.
73466 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
73468 esac |
73469 sort
73471 sed '
73472 /^ac_cv_env_/b end
73473 t clear
73474 :clear
73475 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
73476 t end
73477 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
73478 :end' >>confcache
73479 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
73480 if test -w "$cache_file"; then
73481 test "x$cache_file" != "x/dev/null" &&
73482 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
73483 $as_echo "$as_me: updating cache $cache_file" >&6;}
73484 cat confcache >$cache_file
73485 else
73486 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
73487 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
73490 rm -f confcache
73492 test "x$prefix" = xNONE && prefix=$ac_default_prefix
73493 # Let make expand exec_prefix.
73494 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
73496 DEFS=-DHAVE_CONFIG_H
73498 ac_libobjs=
73499 ac_ltlibobjs=
73500 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
73501 # 1. Remove the extension, and $U if already installed.
73502 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
73503 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
73504 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
73505 # will be set to the directory where LIBOBJS objects are built.
73506 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
73507 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
73508 done
73509 LIBOBJS=$ac_libobjs
73511 LTLIBOBJS=$ac_ltlibobjs
73514 if test -n "$EXEEXT"; then
73515 am__EXEEXT_TRUE=
73516 am__EXEEXT_FALSE='#'
73517 else
73518 am__EXEEXT_TRUE='#'
73519 am__EXEEXT_FALSE=
73522 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
73523 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
73524 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73526 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
73527 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
73528 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73530 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
73531 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
73532 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73534 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
73535 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
73536 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73538 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
73539 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
73540 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73542 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
73543 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
73544 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73546 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
73547 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
73548 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73550 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
73551 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
73552 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73554 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
73555 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
73556 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73558 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
73559 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
73560 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73562 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
73563 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
73564 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73566 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
73567 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
73568 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73570 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
73571 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
73572 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73574 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
73575 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
73576 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73578 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
73579 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
73580 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73582 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
73583 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
73584 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73586 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
73587 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
73588 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73590 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
73591 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
73592 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73594 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
73595 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
73596 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73598 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
73599 as_fn_error "conditional \"BUILD_INFO\" was never defined.
73600 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73602 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
73603 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
73604 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73606 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
73607 as_fn_error "conditional \"BUILD_XML\" was never defined.
73608 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73610 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
73611 as_fn_error "conditional \"BUILD_HTML\" was never defined.
73612 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73614 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
73615 as_fn_error "conditional \"BUILD_MAN\" was never defined.
73616 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73618 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
73619 as_fn_error "conditional \"BUILD_PDF\" was never defined.
73620 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73623 : ${CONFIG_STATUS=./config.status}
73624 ac_write_fail=0
73625 ac_clean_files_save=$ac_clean_files
73626 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
73627 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
73628 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
73629 as_write_fail=0
73630 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
73631 #! $SHELL
73632 # Generated by $as_me.
73633 # Run this file to recreate the current configuration.
73634 # Compiler output produced by configure, useful for debugging
73635 # configure, is in config.log if it exists.
73637 debug=false
73638 ac_cs_recheck=false
73639 ac_cs_silent=false
73641 SHELL=\${CONFIG_SHELL-$SHELL}
73642 export SHELL
73643 _ASEOF
73644 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
73645 ## -------------------- ##
73646 ## M4sh Initialization. ##
73647 ## -------------------- ##
73649 # Be more Bourne compatible
73650 DUALCASE=1; export DUALCASE # for MKS sh
73651 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
73652 emulate sh
73653 NULLCMD=:
73654 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
73655 # is contrary to our usage. Disable this feature.
73656 alias -g '${1+"$@"}'='"$@"'
73657 setopt NO_GLOB_SUBST
73658 else
73659 case `(set -o) 2>/dev/null` in #(
73660 *posix*) :
73661 set -o posix ;; #(
73662 *) :
73664 esac
73668 as_nl='
73670 export as_nl
73671 # Printing a long string crashes Solaris 7 /usr/bin/printf.
73672 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
73673 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
73674 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
73675 # Prefer a ksh shell builtin over an external printf program on Solaris,
73676 # but without wasting forks for bash or zsh.
73677 if test -z "$BASH_VERSION$ZSH_VERSION" \
73678 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
73679 as_echo='print -r --'
73680 as_echo_n='print -rn --'
73681 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
73682 as_echo='printf %s\n'
73683 as_echo_n='printf %s'
73684 else
73685 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
73686 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
73687 as_echo_n='/usr/ucb/echo -n'
73688 else
73689 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
73690 as_echo_n_body='eval
73691 arg=$1;
73692 case $arg in #(
73693 *"$as_nl"*)
73694 expr "X$arg" : "X\\(.*\\)$as_nl";
73695 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
73696 esac;
73697 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
73699 export as_echo_n_body
73700 as_echo_n='sh -c $as_echo_n_body as_echo'
73702 export as_echo_body
73703 as_echo='sh -c $as_echo_body as_echo'
73706 # The user is always right.
73707 if test "${PATH_SEPARATOR+set}" != set; then
73708 PATH_SEPARATOR=:
73709 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
73710 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
73711 PATH_SEPARATOR=';'
73716 # IFS
73717 # We need space, tab and new line, in precisely that order. Quoting is
73718 # there to prevent editors from complaining about space-tab.
73719 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
73720 # splitting by setting IFS to empty value.)
73721 IFS=" "" $as_nl"
73723 # Find who we are. Look in the path if we contain no directory separator.
73724 case $0 in #((
73725 *[\\/]* ) as_myself=$0 ;;
73726 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73727 for as_dir in $PATH
73729 IFS=$as_save_IFS
73730 test -z "$as_dir" && as_dir=.
73731 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
73732 done
73733 IFS=$as_save_IFS
73736 esac
73737 # We did not find ourselves, most probably we were run as `sh COMMAND'
73738 # in which case we are not to be found in the path.
73739 if test "x$as_myself" = x; then
73740 as_myself=$0
73742 if test ! -f "$as_myself"; then
73743 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
73744 exit 1
73747 # Unset variables that we do not need and which cause bugs (e.g. in
73748 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
73749 # suppresses any "Segmentation fault" message there. '((' could
73750 # trigger a bug in pdksh 5.2.14.
73751 for as_var in BASH_ENV ENV MAIL MAILPATH
73752 do eval test x\${$as_var+set} = xset \
73753 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
73754 done
73755 PS1='$ '
73756 PS2='> '
73757 PS4='+ '
73759 # NLS nuisances.
73760 LC_ALL=C
73761 export LC_ALL
73762 LANGUAGE=C
73763 export LANGUAGE
73765 # CDPATH.
73766 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
73769 # as_fn_error ERROR [LINENO LOG_FD]
73770 # ---------------------------------
73771 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
73772 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
73773 # script with status $?, using 1 if that was 0.
73774 as_fn_error ()
73776 as_status=$?; test $as_status -eq 0 && as_status=1
73777 if test "$3"; then
73778 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
73779 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
73781 $as_echo "$as_me: error: $1" >&2
73782 as_fn_exit $as_status
73783 } # as_fn_error
73786 # as_fn_set_status STATUS
73787 # -----------------------
73788 # Set $? to STATUS, without forking.
73789 as_fn_set_status ()
73791 return $1
73792 } # as_fn_set_status
73794 # as_fn_exit STATUS
73795 # -----------------
73796 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
73797 as_fn_exit ()
73799 set +e
73800 as_fn_set_status $1
73801 exit $1
73802 } # as_fn_exit
73804 # as_fn_unset VAR
73805 # ---------------
73806 # Portably unset VAR.
73807 as_fn_unset ()
73809 { eval $1=; unset $1;}
73811 as_unset=as_fn_unset
73812 # as_fn_append VAR VALUE
73813 # ----------------------
73814 # Append the text in VALUE to the end of the definition contained in VAR. Take
73815 # advantage of any shell optimizations that allow amortized linear growth over
73816 # repeated appends, instead of the typical quadratic growth present in naive
73817 # implementations.
73818 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
73819 eval 'as_fn_append ()
73821 eval $1+=\$2
73823 else
73824 as_fn_append ()
73826 eval $1=\$$1\$2
73828 fi # as_fn_append
73830 # as_fn_arith ARG...
73831 # ------------------
73832 # Perform arithmetic evaluation on the ARGs, and store the result in the
73833 # global $as_val. Take advantage of shells that can avoid forks. The arguments
73834 # must be portable across $(()) and expr.
73835 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
73836 eval 'as_fn_arith ()
73838 as_val=$(( $* ))
73840 else
73841 as_fn_arith ()
73843 as_val=`expr "$@" || test $? -eq 1`
73845 fi # as_fn_arith
73848 if expr a : '\(a\)' >/dev/null 2>&1 &&
73849 test "X`expr 00001 : '.*\(...\)'`" = X001; then
73850 as_expr=expr
73851 else
73852 as_expr=false
73855 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
73856 as_basename=basename
73857 else
73858 as_basename=false
73861 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
73862 as_dirname=dirname
73863 else
73864 as_dirname=false
73867 as_me=`$as_basename -- "$0" ||
73868 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
73869 X"$0" : 'X\(//\)$' \| \
73870 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
73871 $as_echo X/"$0" |
73872 sed '/^.*\/\([^/][^/]*\)\/*$/{
73873 s//\1/
73876 /^X\/\(\/\/\)$/{
73877 s//\1/
73880 /^X\/\(\/\).*/{
73881 s//\1/
73884 s/.*/./; q'`
73886 # Avoid depending upon Character Ranges.
73887 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
73888 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
73889 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
73890 as_cr_digits='0123456789'
73891 as_cr_alnum=$as_cr_Letters$as_cr_digits
73893 ECHO_C= ECHO_N= ECHO_T=
73894 case `echo -n x` in #(((((
73895 -n*)
73896 case `echo 'xy\c'` in
73897 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
73898 xy) ECHO_C='\c';;
73899 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
73900 ECHO_T=' ';;
73901 esac;;
73903 ECHO_N='-n';;
73904 esac
73906 rm -f conf$$ conf$$.exe conf$$.file
73907 if test -d conf$$.dir; then
73908 rm -f conf$$.dir/conf$$.file
73909 else
73910 rm -f conf$$.dir
73911 mkdir conf$$.dir 2>/dev/null
73913 if (echo >conf$$.file) 2>/dev/null; then
73914 if ln -s conf$$.file conf$$ 2>/dev/null; then
73915 as_ln_s='ln -s'
73916 # ... but there are two gotchas:
73917 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
73918 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
73919 # In both cases, we have to default to `cp -p'.
73920 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
73921 as_ln_s='cp -p'
73922 elif ln conf$$.file conf$$ 2>/dev/null; then
73923 as_ln_s=ln
73924 else
73925 as_ln_s='cp -p'
73927 else
73928 as_ln_s='cp -p'
73930 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
73931 rmdir conf$$.dir 2>/dev/null
73934 # as_fn_mkdir_p
73935 # -------------
73936 # Create "$as_dir" as a directory, including parents if necessary.
73937 as_fn_mkdir_p ()
73940 case $as_dir in #(
73941 -*) as_dir=./$as_dir;;
73942 esac
73943 test -d "$as_dir" || eval $as_mkdir_p || {
73944 as_dirs=
73945 while :; do
73946 case $as_dir in #(
73947 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
73948 *) as_qdir=$as_dir;;
73949 esac
73950 as_dirs="'$as_qdir' $as_dirs"
73951 as_dir=`$as_dirname -- "$as_dir" ||
73952 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73953 X"$as_dir" : 'X\(//\)[^/]' \| \
73954 X"$as_dir" : 'X\(//\)$' \| \
73955 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
73956 $as_echo X"$as_dir" |
73957 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73958 s//\1/
73961 /^X\(\/\/\)[^/].*/{
73962 s//\1/
73965 /^X\(\/\/\)$/{
73966 s//\1/
73969 /^X\(\/\).*/{
73970 s//\1/
73973 s/.*/./; q'`
73974 test -d "$as_dir" && break
73975 done
73976 test -z "$as_dirs" || eval "mkdir $as_dirs"
73977 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
73980 } # as_fn_mkdir_p
73981 if mkdir -p . 2>/dev/null; then
73982 as_mkdir_p='mkdir -p "$as_dir"'
73983 else
73984 test -d ./-p && rmdir ./-p
73985 as_mkdir_p=false
73988 if test -x / >/dev/null 2>&1; then
73989 as_test_x='test -x'
73990 else
73991 if ls -dL / >/dev/null 2>&1; then
73992 as_ls_L_option=L
73993 else
73994 as_ls_L_option=
73996 as_test_x='
73997 eval sh -c '\''
73998 if test -d "$1"; then
73999 test -d "$1/.";
74000 else
74001 case $1 in #(
74002 -*)set "./$1";;
74003 esac;
74004 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
74005 ???[sx]*):;;*)false;;esac;fi
74006 '\'' sh
74009 as_executable_p=$as_test_x
74011 # Sed expression to map a string onto a valid CPP name.
74012 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
74014 # Sed expression to map a string onto a valid variable name.
74015 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
74018 exec 6>&1
74019 ## ----------------------------------- ##
74020 ## Main body of $CONFIG_STATUS script. ##
74021 ## ----------------------------------- ##
74022 _ASEOF
74023 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
74025 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74026 # Save the log message, to keep $0 and so on meaningful, and to
74027 # report actual input values of CONFIG_FILES etc. instead of their
74028 # values after options handling.
74029 ac_log="
74030 This file was extended by package-unused $as_me version-unused, which was
74031 generated by GNU Autoconf 2.64. Invocation command line was
74033 CONFIG_FILES = $CONFIG_FILES
74034 CONFIG_HEADERS = $CONFIG_HEADERS
74035 CONFIG_LINKS = $CONFIG_LINKS
74036 CONFIG_COMMANDS = $CONFIG_COMMANDS
74037 $ $0 $@
74039 on `(hostname || uname -n) 2>/dev/null | sed 1q`
74042 _ACEOF
74044 case $ac_config_files in *"
74045 "*) set x $ac_config_files; shift; ac_config_files=$*;;
74046 esac
74048 case $ac_config_headers in *"
74049 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
74050 esac
74053 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74054 # Files that config.status was made for.
74055 config_files="$ac_config_files"
74056 config_headers="$ac_config_headers"
74057 config_commands="$ac_config_commands"
74059 _ACEOF
74061 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74062 ac_cs_usage="\
74063 \`$as_me' instantiates files and other configuration actions
74064 from templates according to the current configuration. Unless the files
74065 and actions are specified as TAGs, all are instantiated by default.
74067 Usage: $0 [OPTION]... [TAG]...
74069 -h, --help print this help, then exit
74070 -V, --version print version number and configuration settings, then exit
74071 -q, --quiet, --silent
74072 do not print progress messages
74073 -d, --debug don't remove temporary files
74074 --recheck update $as_me by reconfiguring in the same conditions
74075 --file=FILE[:TEMPLATE]
74076 instantiate the configuration file FILE
74077 --header=FILE[:TEMPLATE]
74078 instantiate the configuration header FILE
74080 Configuration files:
74081 $config_files
74083 Configuration headers:
74084 $config_headers
74086 Configuration commands:
74087 $config_commands
74089 Report bugs to the package provider."
74091 _ACEOF
74092 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74093 ac_cs_version="\\
74094 package-unused config.status version-unused
74095 configured by $0, generated by GNU Autoconf 2.64,
74096 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
74098 Copyright (C) 2009 Free Software Foundation, Inc.
74099 This config.status script is free software; the Free Software Foundation
74100 gives unlimited permission to copy, distribute and modify it."
74102 ac_pwd='$ac_pwd'
74103 srcdir='$srcdir'
74104 INSTALL='$INSTALL'
74105 MKDIR_P='$MKDIR_P'
74106 AWK='$AWK'
74107 test -n "\$AWK" || AWK=awk
74108 _ACEOF
74110 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74111 # The default lists apply if the user does not specify any file.
74112 ac_need_defaults=:
74113 while test $# != 0
74115 case $1 in
74116 --*=*)
74117 ac_option=`expr "X$1" : 'X\([^=]*\)='`
74118 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
74119 ac_shift=:
74122 ac_option=$1
74123 ac_optarg=$2
74124 ac_shift=shift
74126 esac
74128 case $ac_option in
74129 # Handling of the options.
74130 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
74131 ac_cs_recheck=: ;;
74132 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
74133 $as_echo "$ac_cs_version"; exit ;;
74134 --debug | --debu | --deb | --de | --d | -d )
74135 debug=: ;;
74136 --file | --fil | --fi | --f )
74137 $ac_shift
74138 case $ac_optarg in
74139 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
74140 esac
74141 as_fn_append CONFIG_FILES " '$ac_optarg'"
74142 ac_need_defaults=false;;
74143 --header | --heade | --head | --hea )
74144 $ac_shift
74145 case $ac_optarg in
74146 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
74147 esac
74148 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
74149 ac_need_defaults=false;;
74150 --he | --h)
74151 # Conflict between --help and --header
74152 as_fn_error "ambiguous option: \`$1'
74153 Try \`$0 --help' for more information.";;
74154 --help | --hel | -h )
74155 $as_echo "$ac_cs_usage"; exit ;;
74156 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
74157 | -silent | --silent | --silen | --sile | --sil | --si | --s)
74158 ac_cs_silent=: ;;
74160 # This is an error.
74161 -*) as_fn_error "unrecognized option: \`$1'
74162 Try \`$0 --help' for more information." ;;
74164 *) as_fn_append ac_config_targets " $1"
74165 ac_need_defaults=false ;;
74167 esac
74168 shift
74169 done
74171 ac_configure_extra_args=
74173 if $ac_cs_silent; then
74174 exec 6>/dev/null
74175 ac_configure_extra_args="$ac_configure_extra_args --silent"
74178 _ACEOF
74179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74180 if \$ac_cs_recheck; then
74181 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
74182 shift
74183 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
74184 CONFIG_SHELL='$SHELL'
74185 export CONFIG_SHELL
74186 exec "\$@"
74189 _ACEOF
74190 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74191 exec 5>>config.log
74193 echo
74194 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
74195 ## Running $as_me. ##
74196 _ASBOX
74197 $as_echo "$ac_log"
74198 } >&5
74200 _ACEOF
74201 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74203 # INIT-COMMANDS
74206 srcdir="$srcdir"
74207 host="$host"
74208 target="$target"
74209 with_multisubdir="$with_multisubdir"
74210 with_multisrctop="$with_multisrctop"
74211 with_target_subdir="$with_target_subdir"
74212 ac_configure_args="${multilib_arg} ${ac_configure_args}"
74213 multi_basedir="$multi_basedir"
74214 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
74215 CC="$CC"
74216 CXX="$CXX"
74217 GFORTRAN="$GFORTRAN"
74218 GCJ="$GCJ"
74221 # The HP-UX ksh and POSIX shell print the target directory to stdout
74222 # if CDPATH is set.
74223 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
74225 sed_quote_subst='$sed_quote_subst'
74226 double_quote_subst='$double_quote_subst'
74227 delay_variable_subst='$delay_variable_subst'
74228 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
74229 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
74230 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
74231 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
74232 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
74233 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
74234 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
74235 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
74236 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
74237 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
74238 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
74239 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
74240 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
74241 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
74242 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
74243 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
74244 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
74245 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
74246 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
74247 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
74248 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
74249 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
74250 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
74251 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
74252 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
74253 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
74254 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
74255 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
74256 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
74257 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
74258 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
74259 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
74260 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
74261 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
74262 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
74263 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
74264 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
74265 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
74266 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
74267 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
74268 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
74269 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
74270 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
74271 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
74272 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
74273 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
74274 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
74275 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
74276 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"`'
74277 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
74278 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
74279 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
74280 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
74281 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
74282 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
74283 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
74284 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
74285 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
74286 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
74287 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
74288 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
74289 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
74290 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
74291 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
74292 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
74293 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
74294 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
74295 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
74296 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
74297 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
74298 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
74299 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
74300 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
74301 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
74302 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
74303 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
74304 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
74305 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
74306 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
74307 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
74308 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
74309 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
74310 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
74311 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
74312 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
74313 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
74314 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
74315 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
74316 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
74317 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
74318 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
74319 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
74320 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
74321 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
74322 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
74323 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
74324 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
74325 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
74326 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
74327 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
74328 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
74329 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
74330 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
74331 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
74332 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
74333 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
74334 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
74335 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
74336 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
74337 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
74338 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
74339 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
74340 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
74341 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
74342 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
74343 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
74344 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
74345 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
74346 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
74347 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
74348 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
74349 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
74350 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
74351 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
74352 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
74353 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
74354 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
74355 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
74356 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74357 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74358 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
74359 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
74360 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
74361 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
74362 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
74363 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
74364 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
74365 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
74366 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
74367 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74368 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74369 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
74370 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74371 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74372 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74373 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74374 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74375 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74376 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
74377 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
74378 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
74379 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74380 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
74381 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
74382 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
74383 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
74384 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
74385 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
74386 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
74387 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
74388 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
74389 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
74390 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
74391 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74392 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
74393 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
74394 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74395 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
74396 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
74397 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
74398 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
74399 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
74400 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
74401 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
74402 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
74404 LTCC='$LTCC'
74405 LTCFLAGS='$LTCFLAGS'
74406 compiler='$compiler_DEFAULT'
74408 # A function that is used when there is no print builtin or printf.
74409 func_fallback_echo ()
74411 eval 'cat <<_LTECHO_EOF
74413 _LTECHO_EOF'
74416 # Quote evaled strings.
74417 for var in SHELL \
74418 ECHO \
74419 SED \
74420 GREP \
74421 EGREP \
74422 FGREP \
74423 LD \
74424 NM \
74425 LN_S \
74426 lt_SP2NL \
74427 lt_NL2SP \
74428 reload_flag \
74429 OBJDUMP \
74430 deplibs_check_method \
74431 file_magic_cmd \
74432 AR \
74433 AR_FLAGS \
74434 STRIP \
74435 RANLIB \
74436 CC \
74437 CFLAGS \
74438 compiler \
74439 lt_cv_sys_global_symbol_pipe \
74440 lt_cv_sys_global_symbol_to_cdecl \
74441 lt_cv_sys_global_symbol_to_c_name_address \
74442 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
74443 lt_prog_compiler_no_builtin_flag \
74444 lt_prog_compiler_wl \
74445 lt_prog_compiler_pic \
74446 lt_prog_compiler_static \
74447 lt_cv_prog_compiler_c_o \
74448 need_locks \
74449 DSYMUTIL \
74450 NMEDIT \
74451 LIPO \
74452 OTOOL \
74453 OTOOL64 \
74454 shrext_cmds \
74455 export_dynamic_flag_spec \
74456 whole_archive_flag_spec \
74457 compiler_needs_object \
74458 with_gnu_ld \
74459 allow_undefined_flag \
74460 no_undefined_flag \
74461 hardcode_libdir_flag_spec \
74462 hardcode_libdir_flag_spec_ld \
74463 hardcode_libdir_separator \
74464 fix_srcfile_path \
74465 exclude_expsyms \
74466 include_expsyms \
74467 file_list_spec \
74468 variables_saved_for_relink \
74469 libname_spec \
74470 library_names_spec \
74471 soname_spec \
74472 install_override_mode \
74473 finish_eval \
74474 old_striplib \
74475 striplib \
74476 compiler_lib_search_dirs \
74477 predep_objects \
74478 postdep_objects \
74479 predeps \
74480 postdeps \
74481 compiler_lib_search_path \
74482 LD_CXX \
74483 reload_flag_CXX \
74484 compiler_CXX \
74485 lt_prog_compiler_no_builtin_flag_CXX \
74486 lt_prog_compiler_wl_CXX \
74487 lt_prog_compiler_pic_CXX \
74488 lt_prog_compiler_static_CXX \
74489 lt_cv_prog_compiler_c_o_CXX \
74490 export_dynamic_flag_spec_CXX \
74491 whole_archive_flag_spec_CXX \
74492 compiler_needs_object_CXX \
74493 with_gnu_ld_CXX \
74494 allow_undefined_flag_CXX \
74495 no_undefined_flag_CXX \
74496 hardcode_libdir_flag_spec_CXX \
74497 hardcode_libdir_flag_spec_ld_CXX \
74498 hardcode_libdir_separator_CXX \
74499 fix_srcfile_path_CXX \
74500 exclude_expsyms_CXX \
74501 include_expsyms_CXX \
74502 file_list_spec_CXX \
74503 compiler_lib_search_dirs_CXX \
74504 predep_objects_CXX \
74505 postdep_objects_CXX \
74506 predeps_CXX \
74507 postdeps_CXX \
74508 compiler_lib_search_path_CXX; do
74509 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
74510 *[\\\\\\\`\\"\\\$]*)
74511 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
74514 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
74516 esac
74517 done
74519 # Double-quote double-evaled strings.
74520 for var in reload_cmds \
74521 old_postinstall_cmds \
74522 old_postuninstall_cmds \
74523 old_archive_cmds \
74524 extract_expsyms_cmds \
74525 old_archive_from_new_cmds \
74526 old_archive_from_expsyms_cmds \
74527 archive_cmds \
74528 archive_expsym_cmds \
74529 module_cmds \
74530 module_expsym_cmds \
74531 export_symbols_cmds \
74532 prelink_cmds \
74533 postinstall_cmds \
74534 postuninstall_cmds \
74535 finish_cmds \
74536 sys_lib_search_path_spec \
74537 sys_lib_dlsearch_path_spec \
74538 reload_cmds_CXX \
74539 old_archive_cmds_CXX \
74540 old_archive_from_new_cmds_CXX \
74541 old_archive_from_expsyms_cmds_CXX \
74542 archive_cmds_CXX \
74543 archive_expsym_cmds_CXX \
74544 module_cmds_CXX \
74545 module_expsym_cmds_CXX \
74546 export_symbols_cmds_CXX \
74547 prelink_cmds_CXX; do
74548 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
74549 *[\\\\\\\`\\"\\\$]*)
74550 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
74553 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
74555 esac
74556 done
74558 ac_aux_dir='$ac_aux_dir'
74559 xsi_shell='$xsi_shell'
74560 lt_shell_append='$lt_shell_append'
74562 # See if we are running on zsh, and set the options which allow our
74563 # commands through without removal of \ escapes INIT.
74564 if test -n "\${ZSH_VERSION+set}" ; then
74565 setopt NO_GLOB_SUBST
74569 PACKAGE='$PACKAGE'
74570 VERSION='$VERSION'
74571 TIMESTAMP='$TIMESTAMP'
74572 RM='$RM'
74573 ofile='$ofile'
74580 GCC="$GCC"
74581 CC="$CC"
74582 acx_cv_header_stdint="$acx_cv_header_stdint"
74583 acx_cv_type_int8_t="$acx_cv_type_int8_t"
74584 acx_cv_type_int16_t="$acx_cv_type_int16_t"
74585 acx_cv_type_int32_t="$acx_cv_type_int32_t"
74586 acx_cv_type_int64_t="$acx_cv_type_int64_t"
74587 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
74588 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
74589 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
74590 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
74591 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
74592 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
74593 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
74594 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
74595 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
74598 _ACEOF
74600 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74602 # Handling of arguments.
74603 for ac_config_target in $ac_config_targets
74605 case $ac_config_target in
74606 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
74607 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
74608 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
74609 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
74610 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
74611 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
74612 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
74613 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
74614 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
74615 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
74616 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
74617 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
74618 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
74619 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
74620 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
74621 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
74622 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
74623 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
74625 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
74626 esac
74627 done
74630 # If the user did not use the arguments to specify the items to instantiate,
74631 # then the envvar interface is used. Set only those that are not.
74632 # We use the long form for the default assignment because of an extremely
74633 # bizarre bug on SunOS 4.1.3.
74634 if $ac_need_defaults; then
74635 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
74636 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
74637 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
74640 # Have a temporary directory for convenience. Make it in the build tree
74641 # simply because there is no reason against having it here, and in addition,
74642 # creating and moving files from /tmp can sometimes cause problems.
74643 # Hook for its removal unless debugging.
74644 # Note that there is a small window in which the directory will not be cleaned:
74645 # after its creation but before its name has been assigned to `$tmp'.
74646 $debug ||
74648 tmp=
74649 trap 'exit_status=$?
74650 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
74652 trap 'as_fn_exit 1' 1 2 13 15
74654 # Create a (secure) tmp directory for tmp files.
74657 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
74658 test -n "$tmp" && test -d "$tmp"
74659 } ||
74661 tmp=./conf$$-$RANDOM
74662 (umask 077 && mkdir "$tmp")
74663 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
74665 # Set up the scripts for CONFIG_FILES section.
74666 # No need to generate them if there are no CONFIG_FILES.
74667 # This happens for instance with `./config.status config.h'.
74668 if test -n "$CONFIG_FILES"; then
74671 ac_cr=`echo X | tr X '\015'`
74672 # On cygwin, bash can eat \r inside `` if the user requested igncr.
74673 # But we know of no other shell where ac_cr would be empty at this
74674 # point, so we can use a bashism as a fallback.
74675 if test "x$ac_cr" = x; then
74676 eval ac_cr=\$\'\\r\'
74678 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
74679 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
74680 ac_cs_awk_cr='\r'
74681 else
74682 ac_cs_awk_cr=$ac_cr
74685 echo 'BEGIN {' >"$tmp/subs1.awk" &&
74686 _ACEOF
74690 echo "cat >conf$$subs.awk <<_ACEOF" &&
74691 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
74692 echo "_ACEOF"
74693 } >conf$$subs.sh ||
74694 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74695 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
74696 ac_delim='%!_!# '
74697 for ac_last_try in false false false false false :; do
74698 . ./conf$$subs.sh ||
74699 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74701 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
74702 if test $ac_delim_n = $ac_delim_num; then
74703 break
74704 elif $ac_last_try; then
74705 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74706 else
74707 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74709 done
74710 rm -f conf$$subs.sh
74712 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74713 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
74714 _ACEOF
74715 sed -n '
74717 s/^/S["/; s/!.*/"]=/
74720 s/^[^!]*!//
74721 :repl
74722 t repl
74723 s/'"$ac_delim"'$//
74724 t delim
74727 s/\(.\{148\}\).*/\1/
74728 t more1
74729 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
74732 b repl
74733 :more1
74734 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74737 s/.\{148\}//
74738 t nl
74739 :delim
74741 s/\(.\{148\}\).*/\1/
74742 t more2
74743 s/["\\]/\\&/g; s/^/"/; s/$/"/
74746 :more2
74747 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74750 s/.\{148\}//
74751 t delim
74752 ' <conf$$subs.awk | sed '
74753 /^[^""]/{
74755 s/\n//
74757 ' >>$CONFIG_STATUS || ac_write_fail=1
74758 rm -f conf$$subs.awk
74759 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74760 _ACAWK
74761 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
74762 for (key in S) S_is_set[key] = 1
74763 FS = "\a"
74767 line = $ 0
74768 nfields = split(line, field, "@")
74769 substed = 0
74770 len = length(field[1])
74771 for (i = 2; i < nfields; i++) {
74772 key = field[i]
74773 keylen = length(key)
74774 if (S_is_set[key]) {
74775 value = S[key]
74776 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
74777 len += length(value) + length(field[++i])
74778 substed = 1
74779 } else
74780 len += 1 + keylen
74783 print line
74786 _ACAWK
74787 _ACEOF
74788 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74789 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
74790 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
74791 else
74793 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
74794 || as_fn_error "could not setup config files machinery" "$LINENO" 5
74795 _ACEOF
74797 # VPATH may cause trouble with some makes, so we remove $(srcdir),
74798 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
74799 # trailing colons and then remove the whole line if VPATH becomes empty
74800 # (actually we leave an empty line to preserve line numbers).
74801 if test "x$srcdir" = x.; then
74802 ac_vpsub='/^[ ]*VPATH[ ]*=/{
74803 s/:*\$(srcdir):*/:/
74804 s/:*\${srcdir}:*/:/
74805 s/:*@srcdir@:*/:/
74806 s/^\([^=]*=[ ]*\):*/\1/
74807 s/:*$//
74808 s/^[^=]*=[ ]*$//
74812 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74813 fi # test -n "$CONFIG_FILES"
74815 # Set up the scripts for CONFIG_HEADERS section.
74816 # No need to generate them if there are no CONFIG_HEADERS.
74817 # This happens for instance with `./config.status Makefile'.
74818 if test -n "$CONFIG_HEADERS"; then
74819 cat >"$tmp/defines.awk" <<\_ACAWK ||
74820 BEGIN {
74821 _ACEOF
74823 # Transform confdefs.h into an awk script `defines.awk', embedded as
74824 # here-document in config.status, that substitutes the proper values into
74825 # config.h.in to produce config.h.
74827 # Create a delimiter string that does not exist in confdefs.h, to ease
74828 # handling of long lines.
74829 ac_delim='%!_!# '
74830 for ac_last_try in false false :; do
74831 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
74832 if test -z "$ac_t"; then
74833 break
74834 elif $ac_last_try; then
74835 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
74836 else
74837 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74839 done
74841 # For the awk script, D is an array of macro values keyed by name,
74842 # likewise P contains macro parameters if any. Preserve backslash
74843 # newline sequences.
74845 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
74846 sed -n '
74847 s/.\{148\}/&'"$ac_delim"'/g
74848 t rset
74849 :rset
74850 s/^[ ]*#[ ]*define[ ][ ]*/ /
74851 t def
74853 :def
74854 s/\\$//
74855 t bsnl
74856 s/["\\]/\\&/g
74857 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
74858 D["\1"]=" \3"/p
74859 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
74861 :bsnl
74862 s/["\\]/\\&/g
74863 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
74864 D["\1"]=" \3\\\\\\n"\\/p
74865 t cont
74866 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
74867 t cont
74869 :cont
74871 s/.\{148\}/&'"$ac_delim"'/g
74872 t clear
74873 :clear
74874 s/\\$//
74875 t bsnlc
74876 s/["\\]/\\&/g; s/^/"/; s/$/"/p
74878 :bsnlc
74879 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
74880 b cont
74881 ' <confdefs.h | sed '
74882 s/'"$ac_delim"'/"\\\
74883 "/g' >>$CONFIG_STATUS || ac_write_fail=1
74885 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74886 for (key in D) D_is_set[key] = 1
74887 FS = "\a"
74889 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
74890 line = \$ 0
74891 split(line, arg, " ")
74892 if (arg[1] == "#") {
74893 defundef = arg[2]
74894 mac1 = arg[3]
74895 } else {
74896 defundef = substr(arg[1], 2)
74897 mac1 = arg[2]
74899 split(mac1, mac2, "(") #)
74900 macro = mac2[1]
74901 prefix = substr(line, 1, index(line, defundef) - 1)
74902 if (D_is_set[macro]) {
74903 # Preserve the white space surrounding the "#".
74904 print prefix "define", macro P[macro] D[macro]
74905 next
74906 } else {
74907 # Replace #undef with comments. This is necessary, for example,
74908 # in the case of _POSIX_SOURCE, which is predefined and required
74909 # on some systems where configure will not decide to define it.
74910 if (defundef == "undef") {
74911 print "/*", prefix defundef, macro, "*/"
74912 next
74916 { print }
74917 _ACAWK
74918 _ACEOF
74919 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74920 as_fn_error "could not setup config headers machinery" "$LINENO" 5
74921 fi # test -n "$CONFIG_HEADERS"
74924 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
74925 shift
74926 for ac_tag
74928 case $ac_tag in
74929 :[FHLC]) ac_mode=$ac_tag; continue;;
74930 esac
74931 case $ac_mode$ac_tag in
74932 :[FHL]*:*);;
74933 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
74934 :[FH]-) ac_tag=-:-;;
74935 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
74936 esac
74937 ac_save_IFS=$IFS
74938 IFS=:
74939 set x $ac_tag
74940 IFS=$ac_save_IFS
74941 shift
74942 ac_file=$1
74943 shift
74945 case $ac_mode in
74946 :L) ac_source=$1;;
74947 :[FH])
74948 ac_file_inputs=
74949 for ac_f
74951 case $ac_f in
74952 -) ac_f="$tmp/stdin";;
74953 *) # Look for the file first in the build tree, then in the source tree
74954 # (if the path is not absolute). The absolute path cannot be DOS-style,
74955 # because $ac_f cannot contain `:'.
74956 test -f "$ac_f" ||
74957 case $ac_f in
74958 [\\/$]*) false;;
74959 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
74960 esac ||
74961 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
74962 esac
74963 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
74964 as_fn_append ac_file_inputs " '$ac_f'"
74965 done
74967 # Let's still pretend it is `configure' which instantiates (i.e., don't
74968 # use $as_me), people would be surprised to read:
74969 # /* config.h. Generated by config.status. */
74970 configure_input='Generated from '`
74971 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
74972 `' by configure.'
74973 if test x"$ac_file" != x-; then
74974 configure_input="$ac_file. $configure_input"
74975 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
74976 $as_echo "$as_me: creating $ac_file" >&6;}
74978 # Neutralize special characters interpreted by sed in replacement strings.
74979 case $configure_input in #(
74980 *\&* | *\|* | *\\* )
74981 ac_sed_conf_input=`$as_echo "$configure_input" |
74982 sed 's/[\\\\&|]/\\\\&/g'`;; #(
74983 *) ac_sed_conf_input=$configure_input;;
74984 esac
74986 case $ac_tag in
74987 *:-:* | *:-) cat >"$tmp/stdin" \
74988 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
74989 esac
74991 esac
74993 ac_dir=`$as_dirname -- "$ac_file" ||
74994 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74995 X"$ac_file" : 'X\(//\)[^/]' \| \
74996 X"$ac_file" : 'X\(//\)$' \| \
74997 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
74998 $as_echo X"$ac_file" |
74999 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
75000 s//\1/
75003 /^X\(\/\/\)[^/].*/{
75004 s//\1/
75007 /^X\(\/\/\)$/{
75008 s//\1/
75011 /^X\(\/\).*/{
75012 s//\1/
75015 s/.*/./; q'`
75016 as_dir="$ac_dir"; as_fn_mkdir_p
75017 ac_builddir=.
75019 case "$ac_dir" in
75020 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
75022 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
75023 # A ".." for each directory in $ac_dir_suffix.
75024 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
75025 case $ac_top_builddir_sub in
75026 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
75027 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
75028 esac ;;
75029 esac
75030 ac_abs_top_builddir=$ac_pwd
75031 ac_abs_builddir=$ac_pwd$ac_dir_suffix
75032 # for backward compatibility:
75033 ac_top_builddir=$ac_top_build_prefix
75035 case $srcdir in
75036 .) # We are building in place.
75037 ac_srcdir=.
75038 ac_top_srcdir=$ac_top_builddir_sub
75039 ac_abs_top_srcdir=$ac_pwd ;;
75040 [\\/]* | ?:[\\/]* ) # Absolute name.
75041 ac_srcdir=$srcdir$ac_dir_suffix;
75042 ac_top_srcdir=$srcdir
75043 ac_abs_top_srcdir=$srcdir ;;
75044 *) # Relative name.
75045 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
75046 ac_top_srcdir=$ac_top_build_prefix$srcdir
75047 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
75048 esac
75049 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
75052 case $ac_mode in
75055 # CONFIG_FILE
75058 case $INSTALL in
75059 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
75060 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
75061 esac
75062 ac_MKDIR_P=$MKDIR_P
75063 case $MKDIR_P in
75064 [\\/$]* | ?:[\\/]* ) ;;
75065 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
75066 esac
75067 _ACEOF
75069 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
75070 # If the template does not know about datarootdir, expand it.
75071 # FIXME: This hack should be removed a few years after 2.60.
75072 ac_datarootdir_hack=; ac_datarootdir_seen=
75073 ac_sed_dataroot='
75074 /datarootdir/ {
75078 /@datadir@/p
75079 /@docdir@/p
75080 /@infodir@/p
75081 /@localedir@/p
75082 /@mandir@/p'
75083 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
75084 *datarootdir*) ac_datarootdir_seen=yes;;
75085 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
75086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
75087 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
75088 _ACEOF
75089 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
75090 ac_datarootdir_hack='
75091 s&@datadir@&$datadir&g
75092 s&@docdir@&$docdir&g
75093 s&@infodir@&$infodir&g
75094 s&@localedir@&$localedir&g
75095 s&@mandir@&$mandir&g
75096 s&\\\${datarootdir}&$datarootdir&g' ;;
75097 esac
75098 _ACEOF
75100 # Neutralize VPATH when `$srcdir' = `.'.
75101 # Shell code in configure.ac might set extrasub.
75102 # FIXME: do we really want to maintain this feature?
75103 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
75104 ac_sed_extra="$ac_vpsub
75105 $extrasub
75106 _ACEOF
75107 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
75109 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
75110 s|@configure_input@|$ac_sed_conf_input|;t t
75111 s&@top_builddir@&$ac_top_builddir_sub&;t t
75112 s&@top_build_prefix@&$ac_top_build_prefix&;t t
75113 s&@srcdir@&$ac_srcdir&;t t
75114 s&@abs_srcdir@&$ac_abs_srcdir&;t t
75115 s&@top_srcdir@&$ac_top_srcdir&;t t
75116 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
75117 s&@builddir@&$ac_builddir&;t t
75118 s&@abs_builddir@&$ac_abs_builddir&;t t
75119 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
75120 s&@INSTALL@&$ac_INSTALL&;t t
75121 s&@MKDIR_P@&$ac_MKDIR_P&;t t
75122 $ac_datarootdir_hack
75124 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
75125 || as_fn_error "could not create $ac_file" "$LINENO" 5
75127 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
75128 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
75129 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
75130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
75131 which seems to be undefined. Please make sure it is defined." >&5
75132 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
75133 which seems to be undefined. Please make sure it is defined." >&2;}
75135 rm -f "$tmp/stdin"
75136 case $ac_file in
75137 -) cat "$tmp/out" && rm -f "$tmp/out";;
75138 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
75139 esac \
75140 || as_fn_error "could not create $ac_file" "$LINENO" 5
75144 # CONFIG_HEADER
75146 if test x"$ac_file" != x-; then
75148 $as_echo "/* $configure_input */" \
75149 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
75150 } >"$tmp/config.h" \
75151 || as_fn_error "could not create $ac_file" "$LINENO" 5
75152 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
75153 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
75154 $as_echo "$as_me: $ac_file is unchanged" >&6;}
75155 else
75156 rm -f "$ac_file"
75157 mv "$tmp/config.h" "$ac_file" \
75158 || as_fn_error "could not create $ac_file" "$LINENO" 5
75160 else
75161 $as_echo "/* $configure_input */" \
75162 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
75163 || as_fn_error "could not create -" "$LINENO" 5
75165 # Compute "$ac_file"'s index in $config_headers.
75166 _am_arg="$ac_file"
75167 _am_stamp_count=1
75168 for _am_header in $config_headers :; do
75169 case $_am_header in
75170 $_am_arg | $_am_arg:* )
75171 break ;;
75173 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
75174 esac
75175 done
75176 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
75177 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
75178 X"$_am_arg" : 'X\(//\)[^/]' \| \
75179 X"$_am_arg" : 'X\(//\)$' \| \
75180 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
75181 $as_echo X"$_am_arg" |
75182 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
75183 s//\1/
75186 /^X\(\/\/\)[^/].*/{
75187 s//\1/
75190 /^X\(\/\/\)$/{
75191 s//\1/
75194 /^X\(\/\).*/{
75195 s//\1/
75198 s/.*/./; q'`/stamp-h$_am_stamp_count
75201 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
75202 $as_echo "$as_me: executing $ac_file commands" >&6;}
75204 esac
75207 case $ac_file$ac_mode in
75208 "default-1":C)
75209 # Only add multilib support code if we just rebuilt the top-level
75210 # Makefile.
75211 case " $CONFIG_FILES " in
75212 *" Makefile "*)
75213 ac_file=Makefile . ${multi_basedir}/config-ml.in
75215 esac ;;
75216 "libtool":C)
75218 # See if we are running on zsh, and set the options which allow our
75219 # commands through without removal of \ escapes.
75220 if test -n "${ZSH_VERSION+set}" ; then
75221 setopt NO_GLOB_SUBST
75224 cfgfile="${ofile}T"
75225 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
75226 $RM "$cfgfile"
75228 cat <<_LT_EOF >> "$cfgfile"
75229 #! $SHELL
75231 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
75232 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
75233 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
75234 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
75236 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
75237 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
75238 # Written by Gordon Matzigkeit, 1996
75240 # This file is part of GNU Libtool.
75242 # GNU Libtool is free software; you can redistribute it and/or
75243 # modify it under the terms of the GNU General Public License as
75244 # published by the Free Software Foundation; either version 2 of
75245 # the License, or (at your option) any later version.
75247 # As a special exception to the GNU General Public License,
75248 # if you distribute this file as part of a program or library that
75249 # is built using GNU Libtool, you may include this file under the
75250 # same distribution terms that you use for the rest of that program.
75252 # GNU Libtool is distributed in the hope that it will be useful,
75253 # but WITHOUT ANY WARRANTY; without even the implied warranty of
75254 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
75255 # GNU General Public License for more details.
75257 # You should have received a copy of the GNU General Public License
75258 # along with GNU Libtool; see the file COPYING. If not, a copy
75259 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
75260 # obtained by writing to the Free Software Foundation, Inc.,
75261 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
75264 # The names of the tagged configurations supported by this script.
75265 available_tags="CXX "
75267 # ### BEGIN LIBTOOL CONFIG
75269 # Which release of libtool.m4 was used?
75270 macro_version=$macro_version
75271 macro_revision=$macro_revision
75273 # Whether or not to build shared libraries.
75274 build_libtool_libs=$enable_shared
75276 # Whether or not to build static libraries.
75277 build_old_libs=$enable_static
75279 # What type of objects to build.
75280 pic_mode=$pic_mode
75282 # Whether or not to optimize for fast installation.
75283 fast_install=$enable_fast_install
75285 # Shell to use when invoking shell scripts.
75286 SHELL=$lt_SHELL
75288 # An echo program that protects backslashes.
75289 ECHO=$lt_ECHO
75291 # The host system.
75292 host_alias=$host_alias
75293 host=$host
75294 host_os=$host_os
75296 # The build system.
75297 build_alias=$build_alias
75298 build=$build
75299 build_os=$build_os
75301 # A sed program that does not truncate output.
75302 SED=$lt_SED
75304 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
75305 Xsed="\$SED -e 1s/^X//"
75307 # A grep program that handles long lines.
75308 GREP=$lt_GREP
75310 # An ERE matcher.
75311 EGREP=$lt_EGREP
75313 # A literal string matcher.
75314 FGREP=$lt_FGREP
75316 # A BSD- or MS-compatible name lister.
75317 NM=$lt_NM
75319 # Whether we need soft or hard links.
75320 LN_S=$lt_LN_S
75322 # What is the maximum length of a command?
75323 max_cmd_len=$max_cmd_len
75325 # Object file suffix (normally "o").
75326 objext=$ac_objext
75328 # Executable file suffix (normally "").
75329 exeext=$exeext
75331 # whether the shell understands "unset".
75332 lt_unset=$lt_unset
75334 # turn spaces into newlines.
75335 SP2NL=$lt_lt_SP2NL
75337 # turn newlines into spaces.
75338 NL2SP=$lt_lt_NL2SP
75340 # An object symbol dumper.
75341 OBJDUMP=$lt_OBJDUMP
75343 # Method to check whether dependent libraries are shared objects.
75344 deplibs_check_method=$lt_deplibs_check_method
75346 # Command to use when deplibs_check_method == "file_magic".
75347 file_magic_cmd=$lt_file_magic_cmd
75349 # The archiver.
75350 AR=$lt_AR
75351 AR_FLAGS=$lt_AR_FLAGS
75353 # A symbol stripping program.
75354 STRIP=$lt_STRIP
75356 # Commands used to install an old-style archive.
75357 RANLIB=$lt_RANLIB
75358 old_postinstall_cmds=$lt_old_postinstall_cmds
75359 old_postuninstall_cmds=$lt_old_postuninstall_cmds
75361 # Whether to use a lock for old archive extraction.
75362 lock_old_archive_extraction=$lock_old_archive_extraction
75364 # A C compiler.
75365 LTCC=$lt_CC
75367 # LTCC compiler flags.
75368 LTCFLAGS=$lt_CFLAGS
75370 # Take the output of nm and produce a listing of raw symbols and C names.
75371 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
75373 # Transform the output of nm in a proper C declaration.
75374 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
75376 # Transform the output of nm in a C name address pair.
75377 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
75379 # Transform the output of nm in a C name address pair when lib prefix is needed.
75380 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
75382 # The name of the directory that contains temporary libtool files.
75383 objdir=$objdir
75385 # Used to examine libraries when file_magic_cmd begins with "file".
75386 MAGIC_CMD=$MAGIC_CMD
75388 # Must we lock files when doing compilation?
75389 need_locks=$lt_need_locks
75391 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
75392 DSYMUTIL=$lt_DSYMUTIL
75394 # Tool to change global to local symbols on Mac OS X.
75395 NMEDIT=$lt_NMEDIT
75397 # Tool to manipulate fat objects and archives on Mac OS X.
75398 LIPO=$lt_LIPO
75400 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
75401 OTOOL=$lt_OTOOL
75403 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
75404 OTOOL64=$lt_OTOOL64
75406 # Old archive suffix (normally "a").
75407 libext=$libext
75409 # Shared library suffix (normally ".so").
75410 shrext_cmds=$lt_shrext_cmds
75412 # The commands to extract the exported symbol list from a shared archive.
75413 extract_expsyms_cmds=$lt_extract_expsyms_cmds
75415 # Variables whose values should be saved in libtool wrapper scripts and
75416 # restored at link time.
75417 variables_saved_for_relink=$lt_variables_saved_for_relink
75419 # Do we need the "lib" prefix for modules?
75420 need_lib_prefix=$need_lib_prefix
75422 # Do we need a version for libraries?
75423 need_version=$need_version
75425 # Library versioning type.
75426 version_type=$version_type
75428 # Shared library runtime path variable.
75429 runpath_var=$runpath_var
75431 # Shared library path variable.
75432 shlibpath_var=$shlibpath_var
75434 # Is shlibpath searched before the hard-coded library search path?
75435 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
75437 # Format of library name prefix.
75438 libname_spec=$lt_libname_spec
75440 # List of archive names. First name is the real one, the rest are links.
75441 # The last name is the one that the linker finds with -lNAME
75442 library_names_spec=$lt_library_names_spec
75444 # The coded name of the library, if different from the real name.
75445 soname_spec=$lt_soname_spec
75447 # Permission mode override for installation of shared libraries.
75448 install_override_mode=$lt_install_override_mode
75450 # Command to use after installation of a shared archive.
75451 postinstall_cmds=$lt_postinstall_cmds
75453 # Command to use after uninstallation of a shared archive.
75454 postuninstall_cmds=$lt_postuninstall_cmds
75456 # Commands used to finish a libtool library installation in a directory.
75457 finish_cmds=$lt_finish_cmds
75459 # As "finish_cmds", except a single script fragment to be evaled but
75460 # not shown.
75461 finish_eval=$lt_finish_eval
75463 # Whether we should hardcode library paths into libraries.
75464 hardcode_into_libs=$hardcode_into_libs
75466 # Compile-time system search path for libraries.
75467 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
75469 # Run-time system search path for libraries.
75470 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
75472 # Whether dlopen is supported.
75473 dlopen_support=$enable_dlopen
75475 # Whether dlopen of programs is supported.
75476 dlopen_self=$enable_dlopen_self
75478 # Whether dlopen of statically linked programs is supported.
75479 dlopen_self_static=$enable_dlopen_self_static
75481 # Commands to strip libraries.
75482 old_striplib=$lt_old_striplib
75483 striplib=$lt_striplib
75486 # The linker used to build libraries.
75487 LD=$lt_LD
75489 # How to create reloadable object files.
75490 reload_flag=$lt_reload_flag
75491 reload_cmds=$lt_reload_cmds
75493 # Commands used to build an old-style archive.
75494 old_archive_cmds=$lt_old_archive_cmds
75496 # A language specific compiler.
75497 CC=$lt_compiler
75499 # Is the compiler the GNU compiler?
75500 with_gcc=$GCC
75502 # Compiler flag to turn off builtin functions.
75503 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
75505 # How to pass a linker flag through the compiler.
75506 wl=$lt_lt_prog_compiler_wl
75508 # Additional compiler flags for building library objects.
75509 pic_flag=$lt_lt_prog_compiler_pic
75511 # Compiler flag to prevent dynamic linking.
75512 link_static_flag=$lt_lt_prog_compiler_static
75514 # Does compiler simultaneously support -c and -o options?
75515 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
75517 # Whether or not to add -lc for building shared libraries.
75518 build_libtool_need_lc=$archive_cmds_need_lc
75520 # Whether or not to disallow shared libs when runtime libs are static.
75521 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
75523 # Compiler flag to allow reflexive dlopens.
75524 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
75526 # Compiler flag to generate shared objects directly from archives.
75527 whole_archive_flag_spec=$lt_whole_archive_flag_spec
75529 # Whether the compiler copes with passing no objects directly.
75530 compiler_needs_object=$lt_compiler_needs_object
75532 # Create an old-style archive from a shared archive.
75533 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
75535 # Create a temporary old-style archive to link instead of a shared archive.
75536 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
75538 # Commands used to build a shared archive.
75539 archive_cmds=$lt_archive_cmds
75540 archive_expsym_cmds=$lt_archive_expsym_cmds
75542 # Commands used to build a loadable module if different from building
75543 # a shared archive.
75544 module_cmds=$lt_module_cmds
75545 module_expsym_cmds=$lt_module_expsym_cmds
75547 # Whether we are building with GNU ld or not.
75548 with_gnu_ld=$lt_with_gnu_ld
75550 # Flag that allows shared libraries with undefined symbols to be built.
75551 allow_undefined_flag=$lt_allow_undefined_flag
75553 # Flag that enforces no undefined symbols.
75554 no_undefined_flag=$lt_no_undefined_flag
75556 # Flag to hardcode \$libdir into a binary during linking.
75557 # This must work even if \$libdir does not exist
75558 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
75560 # If ld is used when linking, flag to hardcode \$libdir into a binary
75561 # during linking. This must work even if \$libdir does not exist.
75562 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
75564 # Whether we need a single "-rpath" flag with a separated argument.
75565 hardcode_libdir_separator=$lt_hardcode_libdir_separator
75567 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75568 # DIR into the resulting binary.
75569 hardcode_direct=$hardcode_direct
75571 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75572 # DIR into the resulting binary and the resulting library dependency is
75573 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
75574 # library is relocated.
75575 hardcode_direct_absolute=$hardcode_direct_absolute
75577 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
75578 # into the resulting binary.
75579 hardcode_minus_L=$hardcode_minus_L
75581 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
75582 # into the resulting binary.
75583 hardcode_shlibpath_var=$hardcode_shlibpath_var
75585 # Set to "yes" if building a shared library automatically hardcodes DIR
75586 # into the library and all subsequent libraries and executables linked
75587 # against it.
75588 hardcode_automatic=$hardcode_automatic
75590 # Set to yes if linker adds runtime paths of dependent libraries
75591 # to runtime path list.
75592 inherit_rpath=$inherit_rpath
75594 # Whether libtool must link a program against all its dependency libraries.
75595 link_all_deplibs=$link_all_deplibs
75597 # Fix the shell variable \$srcfile for the compiler.
75598 fix_srcfile_path=$lt_fix_srcfile_path
75600 # Set to "yes" if exported symbols are required.
75601 always_export_symbols=$always_export_symbols
75603 # The commands to list exported symbols.
75604 export_symbols_cmds=$lt_export_symbols_cmds
75606 # Symbols that should not be listed in the preloaded symbols.
75607 exclude_expsyms=$lt_exclude_expsyms
75609 # Symbols that must always be exported.
75610 include_expsyms=$lt_include_expsyms
75612 # Commands necessary for linking programs (against libraries) with templates.
75613 prelink_cmds=$lt_prelink_cmds
75615 # Specify filename containing input files.
75616 file_list_spec=$lt_file_list_spec
75618 # How to hardcode a shared library path into an executable.
75619 hardcode_action=$hardcode_action
75621 # The directories searched by this compiler when creating a shared library.
75622 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
75624 # Dependencies to place before and after the objects being linked to
75625 # create a shared library.
75626 predep_objects=$lt_predep_objects
75627 postdep_objects=$lt_postdep_objects
75628 predeps=$lt_predeps
75629 postdeps=$lt_postdeps
75631 # The library search path used internally by the compiler when linking
75632 # a shared library.
75633 compiler_lib_search_path=$lt_compiler_lib_search_path
75635 # ### END LIBTOOL CONFIG
75637 _LT_EOF
75639 case $host_os in
75640 aix3*)
75641 cat <<\_LT_EOF >> "$cfgfile"
75642 # AIX sometimes has problems with the GCC collect2 program. For some
75643 # reason, if we set the COLLECT_NAMES environment variable, the problems
75644 # vanish in a puff of smoke.
75645 if test "X${COLLECT_NAMES+set}" != Xset; then
75646 COLLECT_NAMES=
75647 export COLLECT_NAMES
75649 _LT_EOF
75651 esac
75654 ltmain="$ac_aux_dir/ltmain.sh"
75657 # We use sed instead of cat because bash on DJGPP gets confused if
75658 # if finds mixed CR/LF and LF-only lines. Since sed operates in
75659 # text mode, it properly converts lines to CR/LF. This bash problem
75660 # is reportedly fixed, but why not run on old versions too?
75661 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
75662 || (rm -f "$cfgfile"; exit 1)
75664 case $xsi_shell in
75665 yes)
75666 cat << \_LT_EOF >> "$cfgfile"
75668 # func_dirname file append nondir_replacement
75669 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
75670 # otherwise set result to NONDIR_REPLACEMENT.
75671 func_dirname ()
75673 case ${1} in
75674 */*) func_dirname_result="${1%/*}${2}" ;;
75675 * ) func_dirname_result="${3}" ;;
75676 esac
75679 # func_basename file
75680 func_basename ()
75682 func_basename_result="${1##*/}"
75685 # func_dirname_and_basename file append nondir_replacement
75686 # perform func_basename and func_dirname in a single function
75687 # call:
75688 # dirname: Compute the dirname of FILE. If nonempty,
75689 # add APPEND to the result, otherwise set result
75690 # to NONDIR_REPLACEMENT.
75691 # value returned in "$func_dirname_result"
75692 # basename: Compute filename of FILE.
75693 # value retuned in "$func_basename_result"
75694 # Implementation must be kept synchronized with func_dirname
75695 # and func_basename. For efficiency, we do not delegate to
75696 # those functions but instead duplicate the functionality here.
75697 func_dirname_and_basename ()
75699 case ${1} in
75700 */*) func_dirname_result="${1%/*}${2}" ;;
75701 * ) func_dirname_result="${3}" ;;
75702 esac
75703 func_basename_result="${1##*/}"
75706 # func_stripname prefix suffix name
75707 # strip PREFIX and SUFFIX off of NAME.
75708 # PREFIX and SUFFIX must not contain globbing or regex special
75709 # characters, hashes, percent signs, but SUFFIX may contain a leading
75710 # dot (in which case that matches only a dot).
75711 func_stripname ()
75713 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
75714 # positional parameters, so assign one to ordinary parameter first.
75715 func_stripname_result=${3}
75716 func_stripname_result=${func_stripname_result#"${1}"}
75717 func_stripname_result=${func_stripname_result%"${2}"}
75720 # func_opt_split
75721 func_opt_split ()
75723 func_opt_split_opt=${1%%=*}
75724 func_opt_split_arg=${1#*=}
75727 # func_lo2o object
75728 func_lo2o ()
75730 case ${1} in
75731 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
75732 *) func_lo2o_result=${1} ;;
75733 esac
75736 # func_xform libobj-or-source
75737 func_xform ()
75739 func_xform_result=${1%.*}.lo
75742 # func_arith arithmetic-term...
75743 func_arith ()
75745 func_arith_result=$(( $* ))
75748 # func_len string
75749 # STRING may not start with a hyphen.
75750 func_len ()
75752 func_len_result=${#1}
75755 _LT_EOF
75757 *) # Bourne compatible functions.
75758 cat << \_LT_EOF >> "$cfgfile"
75760 # func_dirname file append nondir_replacement
75761 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
75762 # otherwise set result to NONDIR_REPLACEMENT.
75763 func_dirname ()
75765 # Extract subdirectory from the argument.
75766 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
75767 if test "X$func_dirname_result" = "X${1}"; then
75768 func_dirname_result="${3}"
75769 else
75770 func_dirname_result="$func_dirname_result${2}"
75774 # func_basename file
75775 func_basename ()
75777 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
75781 # func_stripname prefix suffix name
75782 # strip PREFIX and SUFFIX off of NAME.
75783 # PREFIX and SUFFIX must not contain globbing or regex special
75784 # characters, hashes, percent signs, but SUFFIX may contain a leading
75785 # dot (in which case that matches only a dot).
75786 # func_strip_suffix prefix name
75787 func_stripname ()
75789 case ${2} in
75790 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
75791 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
75792 esac
75795 # sed scripts:
75796 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
75797 my_sed_long_arg='1s/^-[^=]*=//'
75799 # func_opt_split
75800 func_opt_split ()
75802 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
75803 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
75806 # func_lo2o object
75807 func_lo2o ()
75809 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
75812 # func_xform libobj-or-source
75813 func_xform ()
75815 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
75818 # func_arith arithmetic-term...
75819 func_arith ()
75821 func_arith_result=`expr "$@"`
75824 # func_len string
75825 # STRING may not start with a hyphen.
75826 func_len ()
75828 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
75831 _LT_EOF
75832 esac
75834 case $lt_shell_append in
75835 yes)
75836 cat << \_LT_EOF >> "$cfgfile"
75838 # func_append var value
75839 # Append VALUE to the end of shell variable VAR.
75840 func_append ()
75842 eval "$1+=\$2"
75844 _LT_EOF
75847 cat << \_LT_EOF >> "$cfgfile"
75849 # func_append var value
75850 # Append VALUE to the end of shell variable VAR.
75851 func_append ()
75853 eval "$1=\$$1\$2"
75856 _LT_EOF
75858 esac
75861 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
75862 || (rm -f "$cfgfile"; exit 1)
75864 mv -f "$cfgfile" "$ofile" ||
75865 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
75866 chmod +x "$ofile"
75869 cat <<_LT_EOF >> "$ofile"
75871 # ### BEGIN LIBTOOL TAG CONFIG: CXX
75873 # The linker used to build libraries.
75874 LD=$lt_LD_CXX
75876 # How to create reloadable object files.
75877 reload_flag=$lt_reload_flag_CXX
75878 reload_cmds=$lt_reload_cmds_CXX
75880 # Commands used to build an old-style archive.
75881 old_archive_cmds=$lt_old_archive_cmds_CXX
75883 # A language specific compiler.
75884 CC=$lt_compiler_CXX
75886 # Is the compiler the GNU compiler?
75887 with_gcc=$GCC_CXX
75889 # Compiler flag to turn off builtin functions.
75890 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
75892 # How to pass a linker flag through the compiler.
75893 wl=$lt_lt_prog_compiler_wl_CXX
75895 # Additional compiler flags for building library objects.
75896 pic_flag=$lt_lt_prog_compiler_pic_CXX
75898 # Compiler flag to prevent dynamic linking.
75899 link_static_flag=$lt_lt_prog_compiler_static_CXX
75901 # Does compiler simultaneously support -c and -o options?
75902 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
75904 # Whether or not to add -lc for building shared libraries.
75905 build_libtool_need_lc=$archive_cmds_need_lc_CXX
75907 # Whether or not to disallow shared libs when runtime libs are static.
75908 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
75910 # Compiler flag to allow reflexive dlopens.
75911 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
75913 # Compiler flag to generate shared objects directly from archives.
75914 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
75916 # Whether the compiler copes with passing no objects directly.
75917 compiler_needs_object=$lt_compiler_needs_object_CXX
75919 # Create an old-style archive from a shared archive.
75920 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
75922 # Create a temporary old-style archive to link instead of a shared archive.
75923 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
75925 # Commands used to build a shared archive.
75926 archive_cmds=$lt_archive_cmds_CXX
75927 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
75929 # Commands used to build a loadable module if different from building
75930 # a shared archive.
75931 module_cmds=$lt_module_cmds_CXX
75932 module_expsym_cmds=$lt_module_expsym_cmds_CXX
75934 # Whether we are building with GNU ld or not.
75935 with_gnu_ld=$lt_with_gnu_ld_CXX
75937 # Flag that allows shared libraries with undefined symbols to be built.
75938 allow_undefined_flag=$lt_allow_undefined_flag_CXX
75940 # Flag that enforces no undefined symbols.
75941 no_undefined_flag=$lt_no_undefined_flag_CXX
75943 # Flag to hardcode \$libdir into a binary during linking.
75944 # This must work even if \$libdir does not exist
75945 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
75947 # If ld is used when linking, flag to hardcode \$libdir into a binary
75948 # during linking. This must work even if \$libdir does not exist.
75949 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
75951 # Whether we need a single "-rpath" flag with a separated argument.
75952 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
75954 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75955 # DIR into the resulting binary.
75956 hardcode_direct=$hardcode_direct_CXX
75958 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75959 # DIR into the resulting binary and the resulting library dependency is
75960 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
75961 # library is relocated.
75962 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
75964 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
75965 # into the resulting binary.
75966 hardcode_minus_L=$hardcode_minus_L_CXX
75968 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
75969 # into the resulting binary.
75970 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
75972 # Set to "yes" if building a shared library automatically hardcodes DIR
75973 # into the library and all subsequent libraries and executables linked
75974 # against it.
75975 hardcode_automatic=$hardcode_automatic_CXX
75977 # Set to yes if linker adds runtime paths of dependent libraries
75978 # to runtime path list.
75979 inherit_rpath=$inherit_rpath_CXX
75981 # Whether libtool must link a program against all its dependency libraries.
75982 link_all_deplibs=$link_all_deplibs_CXX
75984 # Fix the shell variable \$srcfile for the compiler.
75985 fix_srcfile_path=$lt_fix_srcfile_path_CXX
75987 # Set to "yes" if exported symbols are required.
75988 always_export_symbols=$always_export_symbols_CXX
75990 # The commands to list exported symbols.
75991 export_symbols_cmds=$lt_export_symbols_cmds_CXX
75993 # Symbols that should not be listed in the preloaded symbols.
75994 exclude_expsyms=$lt_exclude_expsyms_CXX
75996 # Symbols that must always be exported.
75997 include_expsyms=$lt_include_expsyms_CXX
75999 # Commands necessary for linking programs (against libraries) with templates.
76000 prelink_cmds=$lt_prelink_cmds_CXX
76002 # Specify filename containing input files.
76003 file_list_spec=$lt_file_list_spec_CXX
76005 # How to hardcode a shared library path into an executable.
76006 hardcode_action=$hardcode_action_CXX
76008 # The directories searched by this compiler when creating a shared library.
76009 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
76011 # Dependencies to place before and after the objects being linked to
76012 # create a shared library.
76013 predep_objects=$lt_predep_objects_CXX
76014 postdep_objects=$lt_postdep_objects_CXX
76015 predeps=$lt_predeps_CXX
76016 postdeps=$lt_postdeps_CXX
76018 # The library search path used internally by the compiler when linking
76019 # a shared library.
76020 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
76022 # ### END LIBTOOL TAG CONFIG: CXX
76023 _LT_EOF
76026 "include/gstdint.h":C)
76027 if test "$GCC" = yes; then
76028 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
76029 else
76030 echo "/* generated for $CC */" > tmp-stdint.h
76033 sed 's/^ *//' >> tmp-stdint.h <<EOF
76035 #ifndef GCC_GENERATED_STDINT_H
76036 #define GCC_GENERATED_STDINT_H 1
76038 #include <sys/types.h>
76041 if test "$acx_cv_header_stdint" != stdint.h; then
76042 echo "#include <stddef.h>" >> tmp-stdint.h
76044 if test "$acx_cv_header_stdint" != stddef.h; then
76045 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
76048 sed 's/^ *//' >> tmp-stdint.h <<EOF
76049 /* glibc uses these symbols as guards to prevent redefinitions. */
76050 #ifdef __int8_t_defined
76051 #define _INT8_T
76052 #define _INT16_T
76053 #define _INT32_T
76054 #endif
76055 #ifdef __uint32_t_defined
76056 #define _UINT32_T
76057 #endif
76061 # ----------------- done header, emit basic int types -------------
76062 if test "$acx_cv_header_stdint" = stddef.h; then
76063 sed 's/^ *//' >> tmp-stdint.h <<EOF
76065 #ifndef _UINT8_T
76066 #define _UINT8_T
76067 #ifndef __uint8_t_defined
76068 #define __uint8_t_defined
76069 #ifndef uint8_t
76070 typedef unsigned $acx_cv_type_int8_t uint8_t;
76071 #endif
76072 #endif
76073 #endif
76075 #ifndef _UINT16_T
76076 #define _UINT16_T
76077 #ifndef __uint16_t_defined
76078 #define __uint16_t_defined
76079 #ifndef uint16_t
76080 typedef unsigned $acx_cv_type_int16_t uint16_t;
76081 #endif
76082 #endif
76083 #endif
76085 #ifndef _UINT32_T
76086 #define _UINT32_T
76087 #ifndef __uint32_t_defined
76088 #define __uint32_t_defined
76089 #ifndef uint32_t
76090 typedef unsigned $acx_cv_type_int32_t uint32_t;
76091 #endif
76092 #endif
76093 #endif
76095 #ifndef _INT8_T
76096 #define _INT8_T
76097 #ifndef __int8_t_defined
76098 #define __int8_t_defined
76099 #ifndef int8_t
76100 typedef $acx_cv_type_int8_t int8_t;
76101 #endif
76102 #endif
76103 #endif
76105 #ifndef _INT16_T
76106 #define _INT16_T
76107 #ifndef __int16_t_defined
76108 #define __int16_t_defined
76109 #ifndef int16_t
76110 typedef $acx_cv_type_int16_t int16_t;
76111 #endif
76112 #endif
76113 #endif
76115 #ifndef _INT32_T
76116 #define _INT32_T
76117 #ifndef __int32_t_defined
76118 #define __int32_t_defined
76119 #ifndef int32_t
76120 typedef $acx_cv_type_int32_t int32_t;
76121 #endif
76122 #endif
76123 #endif
76125 elif test "$ac_cv_type_u_int32_t" = yes; then
76126 sed 's/^ *//' >> tmp-stdint.h <<EOF
76128 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
76129 #ifndef _INT8_T
76130 #define _INT8_T
76131 #endif
76132 #ifndef _INT16_T
76133 #define _INT16_T
76134 #endif
76135 #ifndef _INT32_T
76136 #define _INT32_T
76137 #endif
76139 #ifndef _UINT8_T
76140 #define _UINT8_T
76141 #ifndef __uint8_t_defined
76142 #define __uint8_t_defined
76143 #ifndef uint8_t
76144 typedef u_int8_t uint8_t;
76145 #endif
76146 #endif
76147 #endif
76149 #ifndef _UINT16_T
76150 #define _UINT16_T
76151 #ifndef __uint16_t_defined
76152 #define __uint16_t_defined
76153 #ifndef uint16_t
76154 typedef u_int16_t uint16_t;
76155 #endif
76156 #endif
76157 #endif
76159 #ifndef _UINT32_T
76160 #define _UINT32_T
76161 #ifndef __uint32_t_defined
76162 #define __uint32_t_defined
76163 #ifndef uint32_t
76164 typedef u_int32_t uint32_t;
76165 #endif
76166 #endif
76167 #endif
76169 else
76170 sed 's/^ *//' >> tmp-stdint.h <<EOF
76172 /* Some systems have guard macros to prevent redefinitions, define them. */
76173 #ifndef _INT8_T
76174 #define _INT8_T
76175 #endif
76176 #ifndef _INT16_T
76177 #define _INT16_T
76178 #endif
76179 #ifndef _INT32_T
76180 #define _INT32_T
76181 #endif
76182 #ifndef _UINT8_T
76183 #define _UINT8_T
76184 #endif
76185 #ifndef _UINT16_T
76186 #define _UINT16_T
76187 #endif
76188 #ifndef _UINT32_T
76189 #define _UINT32_T
76190 #endif
76194 # ------------- done basic int types, emit int64_t types ------------
76195 if test "$ac_cv_type_uint64_t" = yes; then
76196 sed 's/^ *//' >> tmp-stdint.h <<EOF
76198 /* system headers have good uint64_t and int64_t */
76199 #ifndef _INT64_T
76200 #define _INT64_T
76201 #endif
76202 #ifndef _UINT64_T
76203 #define _UINT64_T
76204 #endif
76206 elif test "$ac_cv_type_u_int64_t" = yes; then
76207 sed 's/^ *//' >> tmp-stdint.h <<EOF
76209 /* system headers have an u_int64_t (and int64_t) */
76210 #ifndef _INT64_T
76211 #define _INT64_T
76212 #endif
76213 #ifndef _UINT64_T
76214 #define _UINT64_T
76215 #ifndef __uint64_t_defined
76216 #define __uint64_t_defined
76217 #ifndef uint64_t
76218 typedef u_int64_t uint64_t;
76219 #endif
76220 #endif
76221 #endif
76223 elif test -n "$acx_cv_type_int64_t"; then
76224 sed 's/^ *//' >> tmp-stdint.h <<EOF
76226 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
76227 #ifndef _INT64_T
76228 #define _INT64_T
76229 #ifndef int64_t
76230 typedef $acx_cv_type_int64_t int64_t;
76231 #endif
76232 #endif
76233 #ifndef _UINT64_T
76234 #define _UINT64_T
76235 #ifndef __uint64_t_defined
76236 #define __uint64_t_defined
76237 #ifndef uint64_t
76238 typedef unsigned $acx_cv_type_int64_t uint64_t;
76239 #endif
76240 #endif
76241 #endif
76243 else
76244 sed 's/^ *//' >> tmp-stdint.h <<EOF
76246 /* some common heuristics for int64_t, using compiler-specific tests */
76247 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
76248 #ifndef _INT64_T
76249 #define _INT64_T
76250 #ifndef __int64_t_defined
76251 #ifndef int64_t
76252 typedef long long int64_t;
76253 #endif
76254 #endif
76255 #endif
76256 #ifndef _UINT64_T
76257 #define _UINT64_T
76258 #ifndef uint64_t
76259 typedef unsigned long long uint64_t;
76260 #endif
76261 #endif
76263 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
76264 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
76265 does not implement __extension__. But that compiler doesn't define
76266 __GNUC_MINOR__. */
76267 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
76268 # define __extension__
76269 # endif
76271 # ifndef _INT64_T
76272 # define _INT64_T
76273 # ifndef int64_t
76274 __extension__ typedef long long int64_t;
76275 # endif
76276 # endif
76277 # ifndef _UINT64_T
76278 # define _UINT64_T
76279 # ifndef uint64_t
76280 __extension__ typedef unsigned long long uint64_t;
76281 # endif
76282 # endif
76284 #elif !defined __STRICT_ANSI__
76285 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
76287 # ifndef _INT64_T
76288 # define _INT64_T
76289 # ifndef int64_t
76290 typedef __int64 int64_t;
76291 # endif
76292 # endif
76293 # ifndef _UINT64_T
76294 # define _UINT64_T
76295 # ifndef uint64_t
76296 typedef unsigned __int64 uint64_t;
76297 # endif
76298 # endif
76299 # endif /* compiler */
76301 #endif /* ANSI version */
76305 # ------------- done int64_t types, emit intptr types ------------
76306 if test "$ac_cv_type_uintptr_t" != yes; then
76307 sed 's/^ *//' >> tmp-stdint.h <<EOF
76309 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
76310 #ifndef __uintptr_t_defined
76311 #ifndef uintptr_t
76312 typedef u$acx_cv_type_intptr_t uintptr_t;
76313 #endif
76314 #endif
76315 #ifndef __intptr_t_defined
76316 #ifndef intptr_t
76317 typedef $acx_cv_type_intptr_t intptr_t;
76318 #endif
76319 #endif
76323 # ------------- done intptr types, emit int_least types ------------
76324 if test "$ac_cv_type_int_least32_t" != yes; then
76325 sed 's/^ *//' >> tmp-stdint.h <<EOF
76327 /* Define int_least types */
76328 typedef int8_t int_least8_t;
76329 typedef int16_t int_least16_t;
76330 typedef int32_t int_least32_t;
76331 #ifdef _INT64_T
76332 typedef int64_t int_least64_t;
76333 #endif
76335 typedef uint8_t uint_least8_t;
76336 typedef uint16_t uint_least16_t;
76337 typedef uint32_t uint_least32_t;
76338 #ifdef _UINT64_T
76339 typedef uint64_t uint_least64_t;
76340 #endif
76344 # ------------- done intptr types, emit int_fast types ------------
76345 if test "$ac_cv_type_int_fast32_t" != yes; then
76346 sed 's/^ *//' >> tmp-stdint.h <<EOF
76348 /* Define int_fast types. short is often slow */
76349 typedef int8_t int_fast8_t;
76350 typedef int int_fast16_t;
76351 typedef int32_t int_fast32_t;
76352 #ifdef _INT64_T
76353 typedef int64_t int_fast64_t;
76354 #endif
76356 typedef uint8_t uint_fast8_t;
76357 typedef unsigned int uint_fast16_t;
76358 typedef uint32_t uint_fast32_t;
76359 #ifdef _UINT64_T
76360 typedef uint64_t uint_fast64_t;
76361 #endif
76365 if test "$ac_cv_type_uintmax_t" != yes; then
76366 sed 's/^ *//' >> tmp-stdint.h <<EOF
76368 /* Define intmax based on what we found */
76369 #ifndef intmax_t
76370 #ifdef _INT64_T
76371 typedef int64_t intmax_t;
76372 #else
76373 typedef long intmax_t;
76374 #endif
76375 #endif
76376 #ifndef uintmax_t
76377 #ifdef _UINT64_T
76378 typedef uint64_t uintmax_t;
76379 #else
76380 typedef unsigned long uintmax_t;
76381 #endif
76382 #endif
76386 sed 's/^ *//' >> tmp-stdint.h <<EOF
76388 #endif /* GCC_GENERATED_STDINT_H */
76391 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
76392 rm -f tmp-stdint.h
76393 else
76394 mv -f tmp-stdint.h include/gstdint.h
76398 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
76399 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
76400 "include/Makefile":F) cat > vpsed$$ << \_EOF
76401 s!`test -f '$<' || echo '$(srcdir)/'`!!
76402 _EOF
76403 sed -f vpsed$$ $ac_file > tmp$$
76404 mv tmp$$ $ac_file
76405 rm vpsed$$
76406 echo 'MULTISUBDIR =' >> $ac_file
76407 ml_norecursion=yes
76408 . ${multi_basedir}/config-ml.in
76409 { ml_norecursion=; unset ml_norecursion;}
76411 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
76412 s!`test -f '$<' || echo '$(srcdir)/'`!!
76413 _EOF
76414 sed -f vpsed$$ $ac_file > tmp$$
76415 mv tmp$$ $ac_file
76416 rm vpsed$$
76417 echo 'MULTISUBDIR =' >> $ac_file
76418 ml_norecursion=yes
76419 . ${multi_basedir}/config-ml.in
76420 { ml_norecursion=; unset ml_norecursion;}
76422 "python/Makefile":F) cat > vpsed$$ << \_EOF
76423 s!`test -f '$<' || echo '$(srcdir)/'`!!
76424 _EOF
76425 sed -f vpsed$$ $ac_file > tmp$$
76426 mv tmp$$ $ac_file
76427 rm vpsed$$
76428 echo 'MULTISUBDIR =' >> $ac_file
76429 ml_norecursion=yes
76430 . ${multi_basedir}/config-ml.in
76431 { ml_norecursion=; unset ml_norecursion;}
76433 "src/Makefile":F) cat > vpsed$$ << \_EOF
76434 s!`test -f '$<' || echo '$(srcdir)/'`!!
76435 _EOF
76436 sed -f vpsed$$ $ac_file > tmp$$
76437 mv tmp$$ $ac_file
76438 rm vpsed$$
76439 echo 'MULTISUBDIR =' >> $ac_file
76440 ml_norecursion=yes
76441 . ${multi_basedir}/config-ml.in
76442 { ml_norecursion=; unset ml_norecursion;}
76444 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
76445 s!`test -f '$<' || echo '$(srcdir)/'`!!
76446 _EOF
76447 sed -f vpsed$$ $ac_file > tmp$$
76448 mv tmp$$ $ac_file
76449 rm vpsed$$
76450 echo 'MULTISUBDIR =' >> $ac_file
76451 ml_norecursion=yes
76452 . ${multi_basedir}/config-ml.in
76453 { ml_norecursion=; unset ml_norecursion;}
76455 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
76456 s!`test -f '$<' || echo '$(srcdir)/'`!!
76457 _EOF
76458 sed -f vpsed$$ $ac_file > tmp$$
76459 mv tmp$$ $ac_file
76460 rm vpsed$$
76461 echo 'MULTISUBDIR =' >> $ac_file
76462 ml_norecursion=yes
76463 . ${multi_basedir}/config-ml.in
76464 { ml_norecursion=; unset ml_norecursion;}
76466 "doc/Makefile":F) cat > vpsed$$ << \_EOF
76467 s!`test -f '$<' || echo '$(srcdir)/'`!!
76468 _EOF
76469 sed -f vpsed$$ $ac_file > tmp$$
76470 mv tmp$$ $ac_file
76471 rm vpsed$$
76472 echo 'MULTISUBDIR =' >> $ac_file
76473 ml_norecursion=yes
76474 . ${multi_basedir}/config-ml.in
76475 { ml_norecursion=; unset ml_norecursion;}
76477 "po/Makefile":F) cat > vpsed$$ << \_EOF
76478 s!`test -f '$<' || echo '$(srcdir)/'`!!
76479 _EOF
76480 sed -f vpsed$$ $ac_file > tmp$$
76481 mv tmp$$ $ac_file
76482 rm vpsed$$
76483 echo 'MULTISUBDIR =' >> $ac_file
76484 ml_norecursion=yes
76485 . ${multi_basedir}/config-ml.in
76486 { ml_norecursion=; unset ml_norecursion;}
76488 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
76489 s!`test -f '$<' || echo '$(srcdir)/'`!!
76490 _EOF
76491 sed -f vpsed$$ $ac_file > tmp$$
76492 mv tmp$$ $ac_file
76493 rm vpsed$$
76494 echo 'MULTISUBDIR =' >> $ac_file
76495 ml_norecursion=yes
76496 . ${multi_basedir}/config-ml.in
76497 { ml_norecursion=; unset ml_norecursion;}
76499 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
76501 esac
76502 done # for ac_tag
76505 as_fn_exit 0
76506 _ACEOF
76507 ac_clean_files=$ac_clean_files_save
76509 test $ac_write_fail = 0 ||
76510 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
76513 # configure is writing to config.log, and then calls config.status.
76514 # config.status does its own redirection, appending to config.log.
76515 # Unfortunately, on DOS this fails, as config.log is still kept open
76516 # by configure, so config.status won't be able to write to it; its
76517 # output is simply discarded. So we exec the FD to /dev/null,
76518 # effectively closing config.log, so it can be properly (re)opened and
76519 # appended to by config.status. When coming back to configure, we
76520 # need to make the FD available again.
76521 if test "$no_create" != yes; then
76522 ac_cs_success=:
76523 ac_config_status_args=
76524 test "$silent" = yes &&
76525 ac_config_status_args="$ac_config_status_args --quiet"
76526 exec 5>/dev/null
76527 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
76528 exec 5>>config.log
76529 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
76530 # would make configure fail if this is the last instruction.
76531 $ac_cs_success || as_fn_exit $?
76533 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
76534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
76535 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}